1 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/posix/sysconf.c (__sysconf): Spell
4 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6 2014-08-12 Florian Weimer <fweimer@redhat.com>
8 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10 * iconv/Versions (__gconv_transliterate): Export for use from
12 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13 (struct __gconv_trans_data, __gconv_trans_fct,
14 __gconv_trans_context_fct, __gconv_trans_query_fct,
15 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
17 (struct __gconv_step_data): Remove __trans member.
18 (__gconv_transliterate): Declaration moved from gconv_int.h. No
19 longer hidden. Remove unused trans_data argument.
20 * iconv/gconv_int.h (struct trans_struct): Remove definition.
21 (__gconv_translit_find): Remove declaration.
22 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
24 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26 trans_data argument. Add hidden definition.
27 (__gconv_translit_find): Remove.
28 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30 * iconv/skeleton.c: Remove transliteration initialization.
31 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32 __gconv_step_data initialization.
33 * libio/iofwide.c (__libio_translit_): Remove.
34 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35 * wcsmbs/btowc.c (__btowc): Likewise.
36 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
41 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43 * wcsmbs/wctob.c (wctob): Likewise.
45 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
49 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
51 * sysdeps/x86/Makefile: Adjust.
53 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
54 Roland McGrath <roland@hack.frob.com>
56 * locale/weight.h: Add include guard.
57 (findidx): Make static rather than auto; take new parameters
58 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
59 * locale/weightwc.h: Likewise.
60 * posix/fnmatch_loop.c
61 (FCT): Change type of EXTRA from int32_t to wint_t.
62 Don't include either header inside the function.
63 Call FINDIDX rather than findidx, and pass new arguments.
64 #undef FINDIDX at the end of the file.
65 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
66 FINDIDX before including fnmatch_loop.c for the non-wide version.
67 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
68 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
70 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
71 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
72 Pass new arguments to findidx.
73 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
74 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
75 Don't #include it inside the function. Pass new arguments to findidx.
76 * posix/regex_internal.h
77 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
78 (re_string_elem_size_at): Don't #include it inside the function.
79 Pass new arguments to findidx.
80 * string/strcoll_l.c: #include WEIGHT_H at top level.
81 (get_next_seq): Don't #include it inside the function.
82 Pass new arguments to findidx.
83 (get_next_seq_nocache): Likewise.
84 * string/strxfrm_l.c: #include WEIGHT_H at top level.
85 (STRXFRM): Don't #include it inside the function.
86 Pass new arguments to findidx.
88 2014-09-11 Florian Weimer <fweimer@redhat.com>
91 * malloc/malloc.c (unlink): Turn asserts into a call to
94 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
97 * libio/wfileops (do_ftell_wide): Free OUT.
99 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
101 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
103 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
106 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
107 group if the current group is empty.
109 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
111 * benchtests/bench-memset.c (test_main): Add more test from size
112 from 32 to 512 bytes.
113 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
114 Add POWER8 memset object.
115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
116 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
117 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
119 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
121 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
122 multiarch POWER8 memset optimization.
123 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
124 POWER8 memset optimization.
126 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
127 Remove bzero multiarch objects.
128 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
129 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
130 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
131 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
133 [__bzero]: Redefine to specific name.
134 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
135 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
136 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
138 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
139 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
141 2014-09-10 Florian Weimer <fweimer@redhat.com>
143 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
144 warnings into errors.
146 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
147 __cxa_thread_atexit_impl prototype.
149 2014-09-09 Steve Ellcey <sellcey@mips.com>
151 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
152 Fix capitalization of error message.
154 2014-09-09 Steve Ellcey <sellcey@mips.com>
156 * sysdeps/mips/preconfigure: Modify ABI tests.
158 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
160 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
162 2014-09-07 Roland McGrath <roland@hack.frob.com>
163 Carlos O'Donell <carlos@systemhalted.org>
165 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
166 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
167 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
168 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
169 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
170 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
171 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
172 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
173 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
174 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
175 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
176 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
177 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
178 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
179 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
180 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
181 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
182 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
183 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
184 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
185 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
186 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
187 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
188 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
189 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
190 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
191 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
192 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
193 Deconditionalize the code that was previously under [RESET_PID].
194 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
195 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
196 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
197 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
200 2014-09-08 Allan McRae <allan@archlinux.org>
202 * version.h (RELEASE): Set to "development".
203 (VERSION): Set to "2.20.90"
205 2014-09-07 Allan McRae <allan@archlinux.org
207 * version.h (RELEASE): Set to "stable".
208 (VERSION): Set to "2.20"
209 * include/features.h (__GLIBC_MINOR__): Set to 20.
211 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
214 * po/ko.po: Update Korean translation from translation project.
216 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
219 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
220 macro for handling signed relocations.
222 2014-09-03 Florian Weimer <fweimer@redhat.com>
225 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
226 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
228 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
229 * iconvdata/ibm935.c (BODY): Likewise.
230 * iconvdata/ibm937.c (BODY): Likewise.
231 * iconvdata/ibm939.c (BODY): Likewise.
232 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
234 * iconvdata/Makefile (iconv-test.out): Pass module list to test
236 * iconvdata/run-iconv-test.sh: New test loop for checking for
239 2014-09-02 Khem Raj <raj.khem@gmail.com>
241 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
244 2014-09-01 Allan McRae <allan@archlinux.org>
246 * po/eo.po: Update Esperanto translation from translation project.
248 * po/ca.po: Update Catalan translation from translation project.
250 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
252 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
255 2014-08-27 Mark Wielaard <mjw@redhat.com>
258 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
259 to call set_thread_area instead of hand written asm.
260 (__NR_set_thread_area): Removed define.
261 (TLS_FLAG_WRITABLE): Likewise.
262 (__ASSUME_SET_THREAD_AREA): Remove check.
263 (TLS_EBX_ARG): Remove define.
264 (TLS_LOAD_EBX): Likewise.
266 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
268 Simplify atomicity of socket creation in bind.
270 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
271 looking up the name after linking the file.
273 2014-08-27 Allan McRae <allan@archlinux.org>
275 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
277 2014-08-26 Florian Weimer <fweimer@redhat.com>
280 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
281 trans_compare, open_translit, __gconv_translit_find):
282 Remove module loading code.
284 2014-08-26 Allan McRae <allan@archlinux.org>
286 * po/vi.po: Update Vietnamese translation from translation project.
288 * po/uk.po: Update Ukrainian translation from translation project.
290 * po/fr.po: Update French translation from translation project.
292 * po/ru.po: Update Russian translation from translation project.
294 * po/pl.po: Update Polish translation from translation project.
296 * po/cs.po: Update Czech translation from translation project.
298 * po/de.po: Update German translation from translation project.
300 * po/bg.po: Update Bulgarian translation from translation project.
302 * po/sv.po: Update Sweedish translation from translation project.
304 * po/nl.po: Update Dutch translation from translation project.
306 * po/es.po: Update Spanish translation from translation project.
308 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
310 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
312 * catgets/Makefile (CPPFLAGS-gencat): Remove.
313 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
314 (CPPFLAGS-iconvconfig): Likewise.
315 * timezone/Makefile (CPPFLAGS-zic): Likewise.
317 * include/libc-symbols.h: Remove unnecessary check for
319 * nptl/pthreadP.h: Likewise.
320 * sysdeps/aarch64/setjmp.S: Likewise.
321 * sysdeps/alpha/setjmp.S: Likewise.
322 * sysdeps/arm/sysdep.h: Likewise.
323 * sysdeps/i386/setjmp.S: Likewise.
324 * sysdeps/m68k/setjmp.c: Likewise.
325 * sysdeps/posix/getcwd.c: Likewise.
326 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
327 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
328 * sysdeps/s390/s390-32/setjmp.S: Likewise.
329 * sysdeps/s390/s390-64/setjmp.S: Likewise.
330 * sysdeps/sh/sh3/setjmp.S: Likewise.
331 * sysdeps/sh/sh4/setjmp.S: Likewise.
332 * sysdeps/unix/alpha/sysdep.h: Likewise.
333 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
334 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
335 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
336 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
341 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
344 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
346 * sysdeps/x86_64/setjmp.S: Likewise.
348 2014-08-13 Joseph Myers <joseph@codesourcery.com>
351 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
353 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
354 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
356 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
358 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
361 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
362 and __x86_64__ when disabling x87 inline functions.
364 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
368 asm statement with __cpuid_count.
370 2014-08-12 Mike Frysinger <vapier@gentoo.org>
372 * configure.ac: Change __ehdr_start code to dereference the struct.
373 Run readelf on the output to look for relocations.
374 * configure: Regenerated.
376 2014-08-12 Joseph Myers <joseph@codesourcery.com>
379 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
381 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
383 2014-08-12 Roland McGrath <roland@hack.frob.com>
385 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
387 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
390 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
391 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
393 2014-08-12 Sean Anderson <seanga2@gmail.com>
395 * malloc/malloc.c: Fix typo in comment.
397 2014-08-09 Allan McRae <allan@archlinux.org>
399 * Regenerate libc.po.
401 2014-08-08 Mike Frysinger <vapier@gentoo.org>
403 * intl/tst-gettext2.sh: Check every lang file for creation.
405 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
407 * sysdeps/aarch64/fpu/math_private.h
408 (libc_feholdsetround_noex_aarch64_ctx): New function.
410 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
412 * sysdeps/arm/armv6/strcpy.S (strcpy):
413 Fix performance issue in misaligned cases.
415 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
417 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
418 Move definition from termios.h.
419 (struct termio): Likewise.
420 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
421 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
422 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
423 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
425 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
426 Move definition to ioctl-types.h
427 (struct termio): Likewise.
428 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
429 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
430 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
431 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
434 2014-08-05 Richard Henderson <rth@redhat.com>
436 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
438 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
440 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
442 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
443 Protect libm symbols with IS_IN_libm.
445 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
447 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
449 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
451 2014-08-04 Will Newton <will.newton@linaro.org>
453 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
456 2014-08-04 Mike Frysinger <vapier@gentoo.org>
458 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
459 variants for each function.
461 2014-08-04 Roland McGrath <roland@hack.frob.com>
463 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
465 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
466 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
468 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
469 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
470 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
471 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
472 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
473 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
474 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
475 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
476 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
477 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
479 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
481 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
482 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
483 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
484 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
485 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
486 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
487 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
489 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
490 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
491 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
492 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
493 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
495 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
497 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
499 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
500 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
501 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
503 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
504 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
505 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
506 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
507 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
508 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
509 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
510 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
511 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
512 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
513 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
514 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
515 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
516 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
517 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
518 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
519 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
520 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
522 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
523 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
525 2014-08-04 Roland McGrath <roland@hack.frob.com>
527 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
528 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
529 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
530 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
531 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
532 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
534 2014-08-04 Roland McGrath <roland@hack.frob.com>
536 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
537 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
538 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
539 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
541 2014-08-04 Roland McGrath <roland@hack.frob.com>
543 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
544 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
545 (__libc_vfork): Define function under this name.
546 (__vfork): Define as an alias.
547 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
548 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
550 2014-08-04 Roland McGrath <roland@hack.frob.com>
552 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
553 that was previously under [RESET_PID].
554 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
556 2014-08-04 Andreas Schwab <schwab@suse.de>
558 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
560 2014-08-03 Mike Frysinger <vapier@gentoo.org>
562 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
565 2014-08-01 Roland McGrath <roland@hack.frob.com>
567 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
569 2014-08-01 Richard Henderon <rth@redhat.com>
571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
572 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
573 typo in exact zero test.
574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
575 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
578 2014-08-01 Roland McGrath <roland@hack.frob.com>
580 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
581 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
582 * sysdeps/arm/sysdep.h: ... here.
583 [!__ASSEMBLER__]: Include <stdint.h>.
585 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
587 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
588 (HAVE_WCTYPE_H): Likewise.
589 (HAVE_ISWCTYPE): Likewise.
590 (ENABLE_NLS): Likewise.
591 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
592 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
594 * posix/regex_internal.c: Check if DEBUG is defined and is
597 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
598 (HAVE_MBSRTOWCS): Likewise.
599 * posix/fnmatch.c: Include string.h unconditionally.
601 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
603 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
606 2014-07-31 Roland McGrath <roland@hack.frob.com>
608 * sysdeps/generic/safe-fatal.h: New file.
609 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
610 * nptl/forward.c: Include it.
611 (__pthread_unwind): Use __safe_fatal as default action, rather
612 than a bogus use of INTERNAL_SYSCALL that could never work.
614 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
615 * configure.ac (libc_cv_builtin_trap): New test.
616 * configure: Regenerated.
617 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
618 (ABORT_INSTRUCTION): Define using __builtin_trap.
620 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
621 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
622 * sysdeps/nptl/nptl-signals.h: New file.
623 * nptl/pthreadP.h: Include <nptl-signals.h>.
625 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
627 * sysdeps/s390/s390-64/utf16-utf32-z9.c
628 (ONE_DIRECTION): Define.
629 * sysdeps/s390/s390-64/utf8-utf16-z9.c
630 (ONE_DIRECTION): Define.
631 * sysdeps/s390/s390-64/utf8-utf32-z9.c
632 (ONE_DIRECTION): Define.
634 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
636 * sysdeps/s390/Makefile: Delete file.
637 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
638 * sysdeps/s390/__longjmp.c: Delete file.
639 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
640 Remove fields __flags and __reserved.
641 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
643 * sysdeps/s390/rtld-__longjmp.c: Delete file.
644 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
645 * sysdeps/s390/rtld-setjmp.S: Likewise.
646 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
647 * sysdeps/s390/s390-32/__longjmp.c: ... here.
648 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
649 * sysdeps/s390/s390-32/setjmp.S: ... here.
651 (__sigsetjmp): Remove setting __flags field.
652 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
653 * sysdeps/s390/s390-64/__longjmp.c: ... here.
654 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
655 * sysdeps/s390/s390-64/setjmp.S: ... here.
657 (__sigsetjmp): Remove setting __flags field.
658 * sysdeps/s390/setjmp.S: Delete file.
659 * sysdeps/s390/sigjmp.c: Likewise.
660 * sysdeps/s390/v1-longjmp.c: Likewise.
661 * sysdeps/s390/v1-setjmp.h: Likewise.
662 * sysdeps/s390/v1-sigjmp.c: Likewise.
663 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
664 Remove v1-longjmp_chk.
665 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
666 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
667 Include debug/longjmp_chk.c and add versioning.
668 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
669 Include nptl/pt-longjmp.c and add versioning.
670 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
671 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
673 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
676 (__getcontext): Remove setting __flags field.
678 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
679 Don't restore upper high grps.
680 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
682 (__swapcontext): Remove setting uc_flags field.
683 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
685 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
687 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
689 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
690 (__getcontext): Remove setting __flags field.
692 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
693 (__swapcontext): Remove setting uc_flags field.
694 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
695 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
696 Remove fields uc_high_gprs and __reserved.
697 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
698 New file with reverted content.
699 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
700 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
702 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
705 2014-07-31 Andreas Schwab <schwab@suse.de>
707 * config.h.in (HAVE_IFUNC): Define to 0.
708 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
711 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
714 memmove-avx-unaligned, memcpy-avx-unaligned and
715 mempcpy-avx-unaligned.
716 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
717 Add tests for AVX memcpy functions.
718 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
719 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
721 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
722 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
724 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
725 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
727 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
728 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
729 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
731 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
734 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
737 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
740 * manual/llio.texi: Add section about open file description locks.
741 * manual/examples/ofdlocks.c: Example of open file description
743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
744 F_OFD_SETLK, and F_OFD_SETLKW.
746 2014-07-23 Allan McRae <allan@archlinux.org>
748 * po/es.po: Update Spanish translation from translation project.
750 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
752 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
754 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
757 * sysdeps/arm/dl-machine.h (elf_machine_rela)
758 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
759 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
761 2014-07-17 Joseph Myers <joseph@codesourcery.com>
764 * math/fesetenv.c (__fesetenv)
765 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
766 * math/feupdateenv.c (__feupdateenv)
767 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
769 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
770 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
771 (__ASSUME_SOCKETCALL): Do not define.
773 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
774 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
775 (__ASSUME_SOCKETCALL): Do not define.
776 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
777 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
778 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
779 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
780 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
781 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
782 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
783 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
785 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
786 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
787 (__ASSUME_SOCKETCALL): Do not define.
788 (__ASSUME_IPC64): Define unconditionally.
789 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
790 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
791 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
792 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
793 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
794 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
795 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
798 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
799 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
800 (__ASSUME_SOCKETCALL): Do not define.
801 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
802 (__ASSUME_FUTEX_LOCK_PI): Likewise.
803 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
804 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
805 (__ASSUME_REQUEUE_PI): Define unconditionally.
806 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
807 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
808 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
809 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
810 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
811 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
813 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
814 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
815 (__ASSUME_SOCKETCALL): Do not define.
816 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
817 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
818 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
819 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
820 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
821 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
823 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
824 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
825 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
826 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
827 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
828 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
829 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
830 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
831 (__ASSUME_GETCPU_SYSCALL): Likewise.
833 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
834 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
835 cases for individual architectures.
836 * sysdeps/gnu/configure: Regenerated.
837 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
838 LIBC_SLIBDIR_RTLDDIR.
839 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
840 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
841 LIBC_SLIBDIR_RTLDDIR.
842 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
844 LIBC_SLIBDIR_RTLDDIR.
845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
847 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
848 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
850 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
851 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
853 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
854 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
855 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
856 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
858 * sysdeps/aarch64/shlib-versions: Move to ...
859 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
860 * sysdeps/alpha/shlib-versions: Move to ...
861 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
862 * sysdeps/arm/shlib-versions: Move to ...
863 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
864 * sysdeps/hppa/shlib-versions: Move all contents except for
865 libgcc_s entry to ...
866 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
868 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
869 * sysdeps/ia64/shlib-versions: Move to ...
870 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
872 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
873 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
874 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
875 * sysdeps/microblaze/shlib-versions: Move to ...
876 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
877 * sysdeps/mips/shlib-versions: Move to ...
878 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
880 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
881 * sysdeps/tile/shlib-versions: Move to ...
882 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
883 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
885 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
886 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
888 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
890 2014-07-17 Will Newton <will.newton@linaro.org>
892 * sysdeps/arm/bits/atomic.h
893 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
894 (__arch_compare_and_exchange_bool_16_int): Likewise.
895 (__arch_compare_and_exchange_bool_64_int): Likewise.
897 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
900 2014-07-16 Roland McGrath <roland@hack.frob.com>
902 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
903 just Linux configurations. Test empirically that the compiler sets
904 __ARM_EABI__, rather than using the tuple to decide.
905 * sysdeps/arm/preconfigure: Regenerated.
906 * sysdeps/unix/sysv/linux/arm/configure: File removed.
907 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
908 contents appended ...
909 * sysdeps/arm/configure.ac: ... here.
910 * sysdeps/arm/configure: Regenerated.
912 2014-07-15 Roland McGrath <roland@hack.frob.com>
914 * nptl/pthread_kill.c: New file.
915 * nptl/pthread_sigmask.c: New file.
916 * nptl/pthread_sigqueue.c: New file.
918 * sysdeps/nptl/lowlevellock.h: New file.
919 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
920 * sysdeps/nptl/lowlevellock-futex.h: New file.
922 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
923 Remove dead declarations.
925 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
927 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
928 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
930 * sysdeps/x86_64/configure.ac: Likewise.
931 * sysdeps/i386/configure: Regenerated.
932 * sysdeps/x86_64/configure: Likewise.
933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
934 memset-avx2 only if config-cflags-avx2 is yes.
935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
936 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
938 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
939 only if HAVE_AVX2_SUPPORT is defined.
940 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
942 2014-07-14 Alan Modra <amodra@gmail.com>
945 * elf/elf.h (DT_PPC64_NUM): Correct value.
946 * NEWS: Add to fixed bug list.
948 2014-07-13 Jim Meyering <meyering@fb.com>
951 regex: don't deref NULL upon heap allocation failure
952 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
953 failure in one more place.
954 To trigger the segfault, configure grep -with-included-regex,
955 build it, and run these commands:
956 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
958 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
960 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
962 2014-07-11 Richard Henderson <rth@redhat.com>
964 * sysdeps/aarch64/libm-test-ulps: Update.
966 2014-07-10 Florian Weimer <fweimer@redhat.com>
969 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
970 * nptl/allocatestack.c (__nptl_setxid_error): New function.
971 (__nptl_setxid): Initialize error member. Call
973 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
974 * nptl/descr.h (struct xid_command): Add error member.
975 * nptl/tst-setuid3.c: New file.
976 * nptl/Makefile (tests): Add it.
978 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
980 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
982 (__lll_trylock): Use __lll_base_trylock.
983 (__lll_cond_trylock): Likewise.
985 2014-07-10 Roland McGrath <roland@hack.frob.com>
987 * nptl/pthread_create.c (start_thread): Use atomic_or and
988 lll_futex_wake directly rather than lll_robust_dead.
989 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
990 (lll_robust_dead): Macro removed.
991 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
992 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
993 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
994 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
995 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
996 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
997 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
998 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
999 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1000 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1001 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1002 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1003 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1004 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1005 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1007 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1008 Use atomic_compare_and_exchange_val_acq directly rather than
1010 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1011 (__lll_robust_trylock, lll_robust_trylock): Removed.
1012 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1013 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1014 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1015 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1016 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1017 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1018 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1019 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1021 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1022 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1024 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1025 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1027 2014-07-02 Florian Weimer <fweimer@redhat.com>
1029 * manual/locale.texi (Locale Names): New section documenting
1030 locale name syntax. Adjust menu and node chaining accordingly.
1031 (Choosing Locale): Reference Locale Names, Locale Categories.
1032 Mention setting LC_ALL=C. Reflect that name syntax is now
1034 (Locale Categories): New section title. Reference Locale Names.
1035 LC_ALL is an environment variable, but not a category.
1036 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1037 description, now in Locale Name. Reference that section. Locale
1038 name syntax is now documented.
1040 2014-07-02 Florian Weimer <fweimer@redhat.com>
1043 * locale/findlocale.c (name_present, valid_locale_name): New
1045 (_nl_find_locale): Use the loc_name variable to store name
1046 candidates. Call name_present and valid_locale_name to check and
1047 validate locale names. Return an error if the locale is invalid.
1049 2014-07-02 Florian Weimer <fweimer@redhat.com>
1051 * locale/setlocale.c (setlocale): Use strdup for allocating
1052 composite name copy.
1054 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1056 Sync up with gnulib.
1057 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1058 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1059 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1060 and _GL_ARG_NONNULL.
1061 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1062 [!_LIBC]: Include code for Windows and Cygwin.
1063 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1064 Include prototype for int strerror_r.
1065 [!_LIBC] (is_open): New function.
1066 (flush_stdout): New function.
1067 (print_errno_message): Use it.
1069 (error_at_line): Likewise.
1070 (error_tail) Add function attribute macros. Use
1073 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1075 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1077 * io/ftw.c: Include sys/param.h unconditionally.
1079 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1082 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1084 (freecache): New function to free CACHE on exit.
1086 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1089 2014-07-09 David S. Miller <davem@davemloft.net>
1091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1093 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1094 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1095 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1096 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1097 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1098 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1099 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1100 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1101 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1102 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1103 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1104 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1105 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1107 2014-07-09 Andreas Schwab <schwab@suse.de>
1109 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1111 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1112 (do_test): Likewise.
1114 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1116 2014-07-09 Will Newton <will.newton@linaro.org>
1118 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1119 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1120 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1121 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1122 * sysdeps/hppa/start.S (_start): Likewise.
1124 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1126 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1128 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1131 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1133 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1134 after checking that it is non-NULL.
1136 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1138 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140 * sysdeps/powerpc/memmove.c: Remove file.
1141 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1142 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1144 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1145 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1146 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1147 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1148 string memmove instead of removed powerpc one.
1150 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1151 [weak_alias]: Fix compiler warning due trailing data.
1152 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1153 [weak_alias]: Likewise.
1154 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1155 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1158 (__libc_ifunc_impl_list): Add memmove functions.
1160 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1162 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1164 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1166 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1168 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1170 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1172 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1174 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1176 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1178 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1180 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1182 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1184 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1186 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1188 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1190 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1192 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1194 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1197 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1199 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1200 to avoid alignment traps in non-cacheable memory.
1201 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1205 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1206 file: multiarch power7 memmove.
1207 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1208 multiarch default memmove.
1209 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1210 multiarch memove for powerpc32/power4.
1212 * string/bcopy.c: Use full path to include memmove.c.
1213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1215 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1216 bcopy for powerpc64.
1217 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1218 bcopy for powerpc64.
1219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1220 and memmove implementations.
1221 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1222 optimized multiarch memmove for POWER7/powerpc64.
1223 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1224 default multiarch memmove for powerpc64.
1225 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1226 multiarch for powerpc64.
1227 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1228 for POWER7/powerpc64.
1229 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1230 memmove for POWER7/powerpc64.
1232 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1235 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1236 __ELF_NATIVE_CLASS equal to 64.
1238 2014-07-07 Roland McGrath <roland@hack.frob.com>
1240 * sysdeps/nptl/lowlevellock.h: File removed.
1242 * NEWS: NPTL is no longer an add-on!
1243 * nptl/internaltypes.h: Moved ...
1244 * sysdeps/nptl/internaltypes.h: ... here.
1245 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1246 * sysdeps/nptl/fork.c: Likewise.
1247 * sysdeps/nptl/gai_misc.h: Likewise.
1248 * sysdeps/nptl/librt-cancellation.c: Likewise.
1249 * sysdeps/nptl/jmp-unwind.c: Likewise.
1250 * sysdeps/nptl/setxid.h: Likewise.
1251 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1252 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1253 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1254 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1255 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1256 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1257 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1258 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1259 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1260 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1261 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1262 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1263 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1264 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1265 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1266 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1267 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1268 * nptl/Makeconfig: Moved ...
1269 * sysdeps/nptl/Makeconfig: ... here.
1270 * nptl/configure: File removed.
1271 * nptl/ANNOUNCE: File removed.
1272 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1273 * sysdeps/unix/sysv/linux/configure: Regenerated.
1275 * nptl/Makefile (routines): Add libc_pthread_init,
1276 libc_multiple_threads, register-atfork and unregister-atfork.
1277 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1278 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1279 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1280 pthread-pi-defines.sym, structsem.sym.
1281 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1282 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1283 [$(subdir) = nptl] (tests): Add tst-setgetname.
1284 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1285 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1286 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1287 [!LIBC_SIGACTION]: Remove aliases.
1288 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1289 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1290 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1291 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1292 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1293 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1294 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1295 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1296 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1297 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1298 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1299 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1300 __libc_allocate_rtsig_private.
1301 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1302 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1303 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1304 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1305 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1306 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1307 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1308 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1309 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1310 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1311 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1312 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1313 * nptl/internaltypes.h: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1315 * sysdeps/nptl/jmp-unwind.c: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1317 * nptl/libc-lowlevellock.c: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1319 * nptl/libc_multiple_threads.c: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1321 * nptl/libc_pthread_init.c: ... here.
1322 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1323 * nptl/lowlevelbarrier.sym: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1325 * nptl/lowlevelcond.sym: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1327 * nptl/lowlevellock.c: ... here.
1328 * nptl/lowlevellock.h: Moved ...
1329 * sysdeps/nptl/lowlevellock.h: ... here.
1330 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1331 * nptl/lowlevelrobustlock.c: ... here.
1332 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1333 * nptl/lowlevelrobustlock.sym: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1335 * nptl/lowlevelrwlock.sym: ... here.
1336 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1337 * nptl/pt-fork.c: ... here.
1338 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1339 * nptl/pthread-pi-defines.sym: ... here.
1340 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1341 * nptl/pthread_attr_getaffinity.c: ... here.
1342 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1343 * nptl/pthread_attr_setaffinity.c: ... here.
1344 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1345 * nptl/pthread_mutex_cond_lock.c: ... here.
1346 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1348 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1349 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1350 * nptl/pthread_once.c: ... here, replacing old file.
1351 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1352 * nptl/pthread_yield.c: ... here.
1353 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1354 * nptl/register-atfork.c: ... here.
1355 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1356 * nptl/sem_post.c: ... here.
1357 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1358 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1359 * nptl/sem_timedwait.c: ... here.
1360 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1361 * nptl/sem_trywait.c: ... here.
1362 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1363 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1364 * nptl/sem_wait.c: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1366 * nptl/structsem.sym: ... here.
1367 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1368 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1369 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1370 * nptl/unregister-atfork.c: ... here.
1371 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1372 * nptl/unwindbuf.sym: ... here.
1373 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1374 * sysdeps/nptl/fork.c: ... here.
1375 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1376 * sysdeps/nptl/fork.h: ... here.
1377 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1378 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1379 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1380 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1381 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1382 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1383 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1384 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1385 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1386 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1387 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1388 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1389 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1390 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1391 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1393 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1395 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1396 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1397 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1399 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1401 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1403 * sysdeps/unix/sysv/linux/raise.c: ... here.
1404 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1405 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1406 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1407 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1408 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1409 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1410 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1411 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1412 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1413 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1415 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1417 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1418 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1420 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1422 * sysdeps/generic/memcopy.h: Add comment for
1423 MEMCPY_OK_FOR_FWD_MEMMOVE.
1425 2014-07-04 Will Newton <will.newton@linaro.org>
1427 * string/memchr.c: Merge from gnulib.
1428 [_LIBC]: Remove conditionals.
1429 (__ptr_t): Remove define.
1430 (LONG_MAX_32_BITS): Likewise.
1431 (LONG_MAX): Likewise.
1432 (MEMCHR): Use ANSI prototype and optimize algorithm.
1434 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1436 2014-07-03 Roland McGrath <roland@hack.frob.com>
1438 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1439 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1441 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1442 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1443 in a bare environment with no <stdlib.h> installed.
1444 * sysdeps/nptl/configure: Regenerated.
1446 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1448 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1449 AC_EGREP_CPP for kernel header checks, so they only succeed if
1450 including <linux/version.h> actually works right.
1451 * sysdeps/unix/sysv/linux/configure: Regenerated.
1453 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1454 value so it's not diagnosed as unused.
1456 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1457 thing) with "ifeq ($(subdir),rt)".
1459 2014-07-03 Richard Henderson <rth@redhat.com>
1461 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1462 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1463 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1465 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1466 (math_force_eval): New.
1468 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1469 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1471 * sysdeps/alpha/fpu/s_round.c: Remove file.
1472 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1474 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1475 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1476 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1477 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1478 (_dl_start, print_statistics): Likewise.
1479 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1480 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1482 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1483 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1484 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1485 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1486 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1487 (HP_SMALL_TIMING_AVAIL): Define.
1488 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1489 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1490 (HP_SMALL_TIMING_AVAIL): Define.
1491 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1492 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1494 * sysdeps/aarch64/hp-timing.h: New file.
1496 * sysdeps/generic/hp-timing.h: Remove dead comment.
1497 * sysdeps/generic/hp-timing-common.h: New file.
1498 * sysdeps/alpha/hp-timing.h: Include it.
1499 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1500 * sysdeps/i386/i686/hp-timing.h: Likewise.
1501 * sysdeps/ia64/hp-timing.h: Likewise.
1502 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1503 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1504 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1505 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1506 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1507 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1510 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1511 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1512 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1513 * elf/rtld.c (_dl_start_final): Likewise.
1514 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1515 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1516 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1517 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1518 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1519 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1520 (HP_TIMING_DIFF_INIT): Remove.
1521 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1522 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1523 (HP_TIMING_DIFF_INIT): Remove.
1524 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1525 * sysdeps/i386/i686/hp-timing.c: Remove file.
1526 * sysdeps/x86_64/hp-timing.c: Remove file.
1527 * sysdeps/ia64/hp-timing.c: Remove file.
1528 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1529 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1530 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1531 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1533 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1534 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1535 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1536 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1538 (HP_TIMING_ACCUM): Remove.
1539 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1540 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1541 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1543 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1544 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1545 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1546 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1547 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1548 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1549 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1550 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1552 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1554 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1556 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1558 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1560 Sync up with gettext.
1561 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1562 [_MSC_VER]: Include malloc.h
1563 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1564 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1565 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1566 TEMP_FAILURE_RETRY. Cast return of alloca.
1567 [!_LIBC] Call gl_rwlock_init.
1568 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1570 2014-07-02 Roland McGrath <roland@hack.frob.com>
1572 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1573 before checking its value.
1575 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1577 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1579 * debug/memcpy_chk.c: Don't include pagecopy.h.
1580 * debug/mempcpy_chk.c: Likewise.
1581 * string/memcpy.c: Likewise.
1582 * string/memmove.c: Likewise.
1583 * sysdeps/powerpc/memmove.c: Likewise.
1584 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1585 definition of PAGE_COPY_FWD_MAYBE here...
1586 * sysdeps/generic/pagecopy.h: ... from here.
1587 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1589 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1590 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1596 (__libc_ifunc_impl_list): Likewise.
1597 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1598 multiarch strcat for PPC64.
1599 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1600 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1602 2014-07-02 Roland McGrath <roland@hack.frob.com>
1604 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1606 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1608 * intl/loadmsgcat.c: Remove declaration of
1609 get_sysdep_segment_value.
1610 (get_sysdep_segment_value): Use ISO C style.
1611 (_nl_load_domain): Use ISO C style. Get rid of redundant
1612 semicolon. Fix typo and formatting in comment.
1613 (_nl_unload_domain): Use ISO C style.
1615 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1617 2014-07-02 Will Newton <will.newton@linaro.org>
1619 * malloc/obstack.c: Merge from gnulib master.
1620 [HAVE_CONFIG_H]: Remove conditional code.
1621 [!_LIBC]: Include config.h.
1622 [!ELIDE_CODE]: Don't include inttypes.h, include
1623 stdint.h unconditionally.
1624 (print_and_abort): Mark as _Noreturn.
1625 (_obstack_allocated_p): Mark as __attribute_pure__.
1626 (obstack_free): Rename to __obstack_free.
1627 [!__attribute__]: Remove conditional code.
1628 * malloc/obstack.h: Merge from gnulib master.
1629 [__cplusplus]: Move conditional down.
1630 [!__attribute_pure__]: Define __attribute_pure__ here
1631 if it is not already defined.
1632 (_obstack_memory_used): Mark as __attribute_pure__.
1633 [!__obstack_free]: Define as obstack_free.
1634 [__GNUC__]: Remove check for ancient NeXT gcc.
1636 2014-07-02 Will Newton <will.newton@linaro.org>
1637 Paul Eggert <eggert@cs.ucla.edu>
1639 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1641 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1643 * resolv/gethnamaddr.c: Add comment warning that the file is
1646 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1648 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1651 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1652 entry for aio_cancel and aio_cancel64.
1653 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1654 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1655 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1656 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1657 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1658 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1659 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1660 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1661 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1662 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1663 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1664 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1665 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1667 2014-07-01 Roland McGrath <roland@hack.frob.com>
1669 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1670 * nptl/pthread_mutex_lock.c: Likewise.
1671 * nptl/pthread_mutex_timedlock.c: Likewise.
1672 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1674 2014-07-01 Richard henderson <rth@redhat.com>
1676 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1677 (__isnan, __isnanl): Remove.
1678 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1680 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1682 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1684 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1686 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1688 * resolv/nss_dns/dns-host.c (getanswer_r)
1689 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1691 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1693 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1694 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1696 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1697 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1699 2014-07-01 Roland McGrath <roland@hack.frob.com>
1701 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1702 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1704 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1705 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1707 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1708 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1710 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1711 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1713 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1714 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1715 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1716 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1718 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1719 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1720 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1721 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1722 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1724 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1726 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1727 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1731 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1732 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1739 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1740 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1741 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1742 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1743 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1745 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1747 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1748 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1749 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1750 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1751 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1752 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1753 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1754 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1756 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1758 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1759 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1760 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1763 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1767 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1769 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1770 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1772 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1774 * sysdeps/arm/libm-test-ulps: Regenerated.
1776 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1777 Roland McGrath <roland@hack.frob.com>
1779 * test-skeleton.c (signal_handler): Kill the whole process group
1780 before killing the child individually.
1781 (main): Report any failure on `setpgid'.
1783 2014-06-30 Roland McGrath <roland@hack.frob.com>
1785 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1786 from _TLS_H to _ARM_NPTL_TLS_H.
1787 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1788 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1790 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1793 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1794 (__expm1l): Return argument unchanged when small but not
1797 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1799 (_FP_UNPACK_RAW_1_P): Likewise.
1800 (_FP_PACK_RAW_1): Likewise.
1801 (_FP_PACK_RAW_1_P): Likewise.
1802 (_FP_MUL_MEAT_1_wide): Likewise.
1803 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1804 (_FP_MUL_MEAT_1_hard): Likewise.
1805 (_FP_DIV_MEAT_1_imm): Likewise.
1806 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1807 (_FP_DIV_MEAT_1_udiv): Likewise.
1808 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1809 (_FP_UNPACK_RAW_2): Likewise.
1810 (_FP_UNPACK_RAW_2_P): Likewise.
1811 (_FP_PACK_RAW_2): Likewise.
1812 (_FP_PACK_RAW_2_P): Likewise.
1813 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1814 (_FP_MUL_MEAT_2_wide): Likewise.
1815 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1816 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1817 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1818 (_FP_MUL_MEAT_2_gmp): Likewise.
1819 (_FP_DIV_MEAT_2_udiv): Likewise.
1820 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1821 (_FP_FRAC_SRL_4): Likewise.
1822 (_FP_FRAC_SRST_4): Likewise.
1823 (_FP_FRAC_SRS_4): Likewise.
1824 (_FP_UNPACK_RAW_4): Likewise.
1825 (_FP_UNPACK_RAW_4_P): Likewise.
1826 (_FP_PACK_RAW_4): Likewise.
1827 (_FP_PACK_RAW_4_P): Likewise.
1828 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1829 (_FP_MUL_MEAT_4_wide): Likewise.
1830 (_FP_MUL_MEAT_4_gmp): Likewise.
1831 (umul_ppppmnnn): Likewise.
1832 (_FP_DIV_MEAT_4_udiv): Likewise.
1833 (__FP_FRAC_ADD_4): Likewise.
1834 (__FP_FRAC_SUB_3): Likewise.
1835 (__FP_FRAC_SUB_4): Likewise.
1836 (__FP_FRAC_DEC_3): Likewise.
1837 (__FP_FRAC_DEC_4): Likewise.
1838 (__FP_FRAC_ADDI_4): Likewise.
1839 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1840 (_FP_FRAC_SRL_8): Likewise.
1841 (_FP_FRAC_SRS_8): Likewise.
1843 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1845 (FP_UNPACK_RAW_EP): Likewise.
1846 (FP_PACK_RAW_E): Likewise.
1847 (FP_PACK_RAW_EP): Likewise.
1848 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1849 (_FP_ISSIGNAN): Likewise.
1850 (_FP_ADD_INTERNAL): Likewise.
1851 (_FP_FMA): Likewise.
1852 (_FP_CMP): Likewise.
1853 (_FP_SQRT): Likewise.
1854 (_FP_TO_INT): Likewise.
1855 (_FP_FROM_INT): Likewise.
1856 (FP_EXTEND): Likewise.
1857 (_FP_DIV_MEAT_N_loop): Likewise.
1859 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1861 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1864 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1867 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1868 result with correct sign in case of exponents that produce
1869 overflow except for X very close to 1.
1871 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1873 mktime: merge #if/#ifdef usage from glibc
1874 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1875 as that works with both Glibc's and Gnulib's style.
1876 See thread starting at Siddhesh Poyarekar's bug report at:
1877 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1879 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1881 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1882 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1883 * sysdeps/tile/tilegx/memmove.c: Remove file.
1885 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1887 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1888 abi-name definition.
1889 * scripts/soversions.awk: Do not handle or generate ABI lines.
1890 * shlib-versions: Remove ABI entries.
1891 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1892 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1894 2014-06-27 Roland McGrath <roland@hack.frob.com>
1896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1897 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1898 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1899 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1900 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1901 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1904 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1906 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1907 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1909 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1911 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1913 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1915 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1917 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1920 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1927 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1930 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1932 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1933 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1935 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1944 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1946 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1949 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1952 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1953 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1957 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1959 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1960 Identical file removed.
1961 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1963 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1964 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1965 Identical file removed.
1966 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1967 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1970 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1972 Identical file removed.
1973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1976 Identical file removed.
1977 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1978 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1980 Identical file removed.
1981 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1982 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1984 Identical file removed.
1985 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1987 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1989 Identical file removed.
1990 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1992 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1994 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1995 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1996 Identical file removed.
1997 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1999 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2001 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2002 Identical file removed.
2003 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2005 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2007 Identical file removed.
2008 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2010 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2012 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2013 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2014 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2017 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2019 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2021 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2022 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2023 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2024 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2025 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2027 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2030 * nscd/nscd.c (monitor_child): Return exit status of child
2031 instead of return value from wait syscall.
2033 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2035 * configure.ac (libc_commonpagesize): Remove variable.
2036 (libc_relro_required): Likewise.
2037 (libc_cv_z_relro): Remove configure test.
2038 * configure: Regenerated.
2039 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2041 (libc_relro_required): Likewise.
2042 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2043 (libc_relro_required): Likewise.
2044 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2045 (libc_relro_required): Likewise.
2046 * sysdeps/arm/preconfigure: Regenerated.
2047 * sysdeps/ia64/preconfigure: Remove file.
2048 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2050 (libc_relro_required): Likewise.
2054 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2055 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2056 recompute overflowing results in original rounding mode.
2057 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2058 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2059 recompute overflowing results in original rounding mode.
2060 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2061 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2062 recompute overflowing results in original rounding mode.
2063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2064 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2065 recompute overflowing results in original rounding mode.
2066 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2067 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2068 recompute overflowing results in original rounding mode.
2069 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2070 (libc_feholdsetround_ctx): New macro.
2071 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2072 * sysdeps/i386/fpu/libm-test-ulps: Update.
2073 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2075 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2077 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2078 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2079 corresponding .cpsetup call.
2081 2014-06-26 Roland McGrath <roland@hack.frob.com>
2083 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2084 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2085 * sysdeps/arm/Makefile [$(subdir) = csu]
2086 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2087 (static-only-routines): Add aeabi_read_tp here.
2088 (shared-only-routines): Add libc-aeabi_read_tp here.
2089 (CFLAGS-libc-start.c): Add -fexceptions here.
2090 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2091 (sysdep_routines, static-only-routines, shared-only-routines):
2092 Don't add to these here.
2093 (CFLAGS-libc-start.c): Likewise.
2095 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2096 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2097 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2098 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2099 * sysdeps/arm/Makefile [$(subdir) = rt]
2100 (librt-sysdep_routines, librt-shared-only-routines):
2101 Append rt-aeabi_unwind_cpp_pr1 here.
2102 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2103 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2104 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2105 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2106 Append nptl-aeabi_unwind_cpp_pr1 here.
2107 (tests): Filter out tst-cleanupx4 here.
2108 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2109 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2110 Don't do those here.
2112 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2114 * scripts/list-sources.sh: Do not handle ports specially.
2116 2014-06-26 Roland McGrath <roland@hack.frob.com>
2118 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2119 * sysdeps/arm/feupdateenv.c: Likewise.
2121 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2123 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2125 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2126 trailing whitespace removed.
2127 * scripts/config.guess: Update to version 2014-03-23.
2128 * scripts/config.sub: Update to version 2014-05-01
2129 * scripts/install-sh: Update to version 2013-12-25.23.
2130 * scripts/move-if-change: Update from gnulib.
2132 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2134 * debug/memmove_chk.c: Remove pagecopy.h include.
2136 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2138 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2139 identical to gnulib mktime.
2141 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2143 * configure.ac: Do not test for machine being rs6000. Do not test
2145 * configure: Regenerated.
2147 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2149 * configure: Regenerated.
2150 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2151 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2152 Remove configure test.
2153 * sysdeps/arm/configure: Regenerated.
2154 * sysdeps/nptl/configure.ac: Do not check
2155 libc_cv_asm_cfi_directives.
2156 * sysdeps/nptl/configure: Regenerated.
2157 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2158 * sysdeps/x86_64/nptl/configure: Remove generated file.
2159 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2161 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2163 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2165 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2166 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2167 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2170 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2171 instead of whether it is defined.
2172 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2173 * sysdeps/hppa/dl-machine.h: Likewise.
2174 * sysdeps/ia64/dl-machine.h: Likewise.
2175 * sysdeps/m68k/dl-machine.h: Likewise.
2176 * sysdeps/microblaze/dl-machine.h: Likewise.
2177 * sysdeps/mips/dl-machine.: Likewise.
2178 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2179 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2180 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2181 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2182 * sysdeps/sh/dl-machine.h: Likewise.
2183 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2184 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2185 * sysdeps/tile/dl-machine.h: Likewise.
2186 * sysdeps/x86_64/dl-machine.h: Likewise.
2188 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2190 (verify_persistent_db): Likewise.
2192 2014-06-26 Roland McGrath <roland@hack.frob.com>
2194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2195 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2197 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2200 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2203 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2205 Identical file removed.
2206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2209 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2211 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2213 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2215 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2218 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2222 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2225 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2229 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2231 Identical file removed.
2232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2233 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2235 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2238 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2241 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2243 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2245 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2252 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2255 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2257 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2260 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2262 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2264 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2266 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2267 * sysdeps/unix/sysv/linux/s390/Versions
2268 (libpthread: GLIBC_2.19): New version set.
2269 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2270 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2271 (librt: GLIBC_2.3.3): New version set.
2272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2273 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2274 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2275 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2276 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2277 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2278 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2279 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2280 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2281 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2282 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2283 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2284 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2285 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2286 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2287 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2288 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2289 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2290 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2292 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2293 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2294 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2295 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2296 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2297 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2298 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2299 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2300 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2301 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2302 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2303 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2305 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2308 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2310 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2312 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2314 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2316 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2318 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2319 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2320 (__libc_vfork): Define the function under this name.
2321 [!NOT_IN_libc] (__vfork): Make this an alias.
2322 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2324 * sysdeps/unix/sysv/linux/s390/s390-64/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 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2329 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2332 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2334 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2335 code that was previously under [RESET_PID].
2336 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2337 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2340 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2341 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2342 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2343 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2344 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2345 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2346 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2347 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2348 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2352 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2364 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2372 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2376 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2377 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2378 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2379 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2380 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2382 2014-06-25 Roland McGrath <roland@hack.frob.com>
2384 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2385 that was previously under [RESET_PID].
2386 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2388 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2390 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2391 not undefine and redefine.
2392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2393 [O_CLOEXEC]: Make code unconditional.
2394 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2395 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2396 <kernel-features.h>.
2397 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2398 conditional variable definition.
2399 (shm_open) [O_CLOEXEC]: Make code unconditional.
2400 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2403 * configure.ac (USE_REGPARMS): Don't define here.
2404 * configure: Regenerated.
2405 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2406 * sysdeps/i386/configure: Regenerated.
2408 * nptl/createthread.c: Don't include kernel-features.h.
2409 * nptl/pthread_cancel.c: Likewise.
2410 * nptl/pthread_condattr_setclock.c: Likewise.
2411 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2412 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2413 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2414 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2415 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2416 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2417 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2418 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2419 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2420 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2421 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2422 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2423 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2424 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2425 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2426 * nscd/gai.c: Likewise.
2427 * nss/nss_db/db-open.c: Likewise.
2428 * sysdeps/generic/ldsodefs.h: Likewise.
2429 * sysdeps/sh/nptl/tls.h: Likewise.
2430 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2431 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2432 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2433 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2434 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2435 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2436 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2437 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2439 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2440 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2441 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2442 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2443 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2444 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2445 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2446 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2447 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2448 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2449 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2450 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2451 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2452 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2453 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2454 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2455 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2456 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2457 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2458 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2459 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2460 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2461 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2462 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2463 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2464 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2465 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2466 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2467 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2468 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2469 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2470 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2471 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2472 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2473 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2474 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2475 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2476 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2477 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2478 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2479 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2480 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2481 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2482 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2483 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2484 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2485 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2486 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2487 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2510 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2511 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2512 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2513 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2514 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2515 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2516 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2517 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2518 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2519 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2520 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2521 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2522 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2523 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2524 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2525 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2526 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2528 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2529 * sysdeps/unix/sysv/linux/system.c: Likewise.
2530 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2531 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2532 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2533 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2534 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2535 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2536 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2538 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2539 * configure: Regenerated.
2540 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2542 * configure.ac (base_machine): Do not set specially for particular
2544 * configure: Regenerated.
2545 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2546 settings from configure.ac.
2547 * sysdeps/i386/preconfigure: New file.
2548 * sysdeps/s390/preconfigure: Likewise.
2549 * sysdeps/sh/preconfigure: Likewise.
2550 * sysdeps/sparc/preconfigure: Likewise.
2552 2014-06-25 Roland McGrath <roland@hack.frob.com>
2554 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2555 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2556 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2557 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2558 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2559 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2560 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2561 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2562 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2563 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2564 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2565 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2566 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2567 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2568 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2569 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2570 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2571 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2572 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2574 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2575 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2576 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2577 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2578 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2579 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2580 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2581 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2582 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2583 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2584 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2585 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2586 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2587 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2588 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2589 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2590 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2591 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2592 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2593 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2594 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2595 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2597 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2599 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2601 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2602 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2603 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2604 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2605 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2606 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2607 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2608 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2609 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2610 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2611 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2614 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2616 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2619 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2622 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2627 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2631 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2633 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2636 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2639 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2641 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2644 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2646 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2648 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2650 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2652 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2655 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2658 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2660 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2667 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2672 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2675 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2677 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2684 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2686 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2688 * timezone/checktab.awk: Update from tzcode 2014e.
2689 * timezone/private.h: Likewise.
2690 * timezone/tzfile.h: Likewise.
2691 * timezone/zdump.c: Likewise.
2692 * timezone/zic.c: Likewise.
2694 * sysdeps/unix/sysv/linux/kernel-features.h
2695 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2696 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2697 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2698 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2699 Remove conditional code.
2701 2014-06-25 Will Newton <will.newton@linaro.org>
2703 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2704 (_dl_arm_cap_flags): Add HWCAP2 values.
2705 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2706 (_DL_HWCAP_COUNT): Increase to 37.
2707 (_DL_HWCAP_LAST): New define.
2708 (_DL_HWCAP2_LAST): New define.
2709 (_dl_procinfo): Add support for printing
2711 (_dl_string_hwcap): Use _dl_hwcap_string.
2713 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2717 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2719 * README: Do not mention ports directory.
2721 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2723 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2724 <kernel-features.h>.
2725 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2726 conditional variable definition.
2727 (__futimes): Update comment.
2728 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2729 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2732 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2733 arguments close to 0.
2734 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2736 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2738 * math/auto-libm-test-in: Add more tests of exp10.
2739 * math/auto-libm-test-out: Regenerated.
2740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2742 * sysdeps/unix/sysv/linux/kernel-features.h
2743 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2744 * sysdeps/unix/sysv/linux/readv.c: Do not include
2745 <kernel-features.h>.
2746 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2747 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2748 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2750 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2752 * sysdeps/unix/sysv/linux/writev.c: Do not include
2753 <kernel-features.h>.
2754 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2755 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2756 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2758 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2761 2014-06-25 Will Newton <will.newton@linaro.org>
2763 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2764 comment changes throughout the file. Remove checks
2765 for HAVE_*_H definitions that are not required.
2766 (__gen_tempname): Call abort if an unknown kind value is
2769 2014-06-25 Andreas Schwab <schwab@suse.de>
2772 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2773 scalbln, scalblnf, scalblnl in libc.
2775 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2778 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2779 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2780 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2782 2014-06-24 Roland McGrath <roland@hack.frob.com>
2784 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2785 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2786 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2787 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2789 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2790 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2792 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2793 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2794 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2795 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2796 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2797 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2798 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2799 * sysdeps/x86/bits/semaphore.h: ... here.
2800 * sysdeps/x86/nptl/elide.h: Moved ...
2801 * sysdeps/x86/elide.h: ... here.
2802 * sysdeps/x86_64/nptl/Implies: File removed.
2803 * sysdeps/i386/nptl/Implies: File removed.
2805 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2808 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2809 return the argument for normal arguments with exponent below -64.
2810 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2812 * math/auto-libm-test-in: Add another test of expm1.
2813 * math/auto-libm-test-out: Regenerated.
2816 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2817 calling __erfcl for arguments at least 16.
2818 * math/auto-libm-test-in: Add more tests of erf.
2819 * math/auto-libm-test-out: Regenerated.
2821 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2822 individual architectures.
2823 * sysdeps/unix/sysv/linux/configure: Regenerated.
2824 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2825 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2826 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2827 (ldd_rewrite_script): Define variable.
2828 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2833 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2834 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2835 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2836 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2837 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2838 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2839 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2840 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2842 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2845 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2846 Rename member __data.d to __data.__elision_data.
2848 2014-06-24 Wilco <wdijkstr@arm.com>
2850 * NEWS: Add 16918 to fixed bug list.
2852 2014-06-24 Wilco <wdijkstr@arm.com>
2854 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2856 2014-06-24 Wilco <wdijkstr@arm.com>
2858 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2859 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2860 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2861 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2862 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2863 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2864 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2867 2014-06-24 Wilco <wdijkstr@arm.com>
2869 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2871 2014-06-24 Wilco <wdijkstr@arm.com>
2873 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2874 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2875 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2876 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2878 2014-06-24 Wilco <wdijkstr@arm.com>
2881 * sysdeps/arm/feupdateenv.c (feupdateenv):
2882 Rewrite to reduce FPSCR accesses and fix return value.
2884 2014-06-24 Wilco <wdijkstr@arm.com>
2886 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2887 Optimize to avoid unnecessary FPSCR writes.
2888 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2889 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2890 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2891 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2893 2014-06-24 Wilco <wdijkstr@arm.com>
2895 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2896 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2897 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2898 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2899 Call libc_fetestexcept_vfp.
2900 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2901 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2902 __SOFTFP__ ifdef so that they can be built for softfp.
2904 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2906 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2907 argument type signed char.
2909 * Makerules (check-abi): Dump diff of symlist if the test
2912 2014-06-23 Roland McGrath <roland@hack.frob.com>
2914 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2917 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2918 Remove unused variable ST.
2920 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2924 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2925 small arguments before calling __expm1.
2926 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2927 small arguments before calling __expm1f.
2928 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2929 small arguments before calling __expm1l.
2930 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2932 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2933 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2934 spurious underflow for some cosh tests.
2935 * math/auto-libm-test-out: Regenerated.
2936 * sysdeps/i386/fpu/libm-test-ulps: Update.
2939 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2940 (__ieee754_y1): Set errno if return value overflows.
2941 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2942 (__ieee754_y1f): Set errno if return value overflows.
2943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2944 (__ieee754_y1l): Set errno if return value overflows.
2945 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2946 (__ieee754_y1l): Set errno if return value overflows.
2947 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2948 * math/auto-libm-test-out: Regenerated.
2950 * math/gen-auto-libm-tests.c: Document use of
2951 ignore-zero-inf-sign.
2952 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2953 (input_flags): Add ignore-zero-inf-sign.
2954 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2955 * math/gen-libm-test.pl (generate_testfile): Handle
2956 ignore-zero-inf-sign.
2957 * math/auto-libm-test-in: Mark some cpow tests with
2958 ignore-zero-inf-sign and some with xfail-rounding.
2959 * math/auto-libm-test-out: Regenerated.
2960 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2961 * sysdeps/i386/fpu/libm-test-ulps: Update.
2962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2965 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2966 overflowing or underflowing operations take place with sign of
2968 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2969 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2970 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2971 (__ieee754_pow): Recompute overflowing and underflowing results in
2972 original rounding mode.
2973 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2974 (__powl_helper): Allow negative argument X and scale negated value
2975 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2976 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2977 overflowing or underflowing operations take place with sign of
2979 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2981 * math/auto-libm-test-in: Add more tests of pow.
2982 * math/auto-libm-test-out: Regenerated.
2983 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2984 (pow_tonearest_test_data): Remove.
2985 (pow_test_tonearest): Likewise.
2986 (pow_towardzero_test_data): Likewise.
2987 (pow_test_towardzero): Likewise.
2988 (pow_downward_test_data): Likewise.
2989 (pow_test_downward): Likewise.
2990 (pow_upward_test_data): Likewise.
2991 (pow_test_upward): Likewise.
2992 (main): Don't call removed functions.
2993 * sysdeps/i386/fpu/libm-test-ulps: Update.
2994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2996 2014-06-23 Roland McGrath <roland@hack.frob.com>
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3172 2014-06-23 Will Newton <will.newton@linaro.org>
3173 Wilco <wdijkstr@arm.com>
3175 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3176 implementation. Include get-rounding-mode.h.
3177 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3178 [!libc_feholdsetround_noex_ctx]: Define
3179 libc_feholdsetround_noex_ctx.
3180 [!libc_feholdsetround_noexf_ctx]: Define
3181 libc_feholdsetround_noexf_ctx.
3182 [!libc_feholdsetround_noexl_ctx]: Define
3183 libc_feholdsetround_noexl_ctx.
3184 (libc_feholdsetround_ctx): New function.
3185 (libc_feresetround_ctx): New function.
3186 (libc_feholdsetround_noex_ctx): New function.
3187 (libc_feresetround_noex_ctx): New function.
3189 2014-06-23 Roland McGrath <roland@hack.frob.com>
3191 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3192 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3193 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3194 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3195 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3196 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3198 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3199 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3200 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3201 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3202 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3203 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3205 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3206 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3207 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3208 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3210 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3213 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3215 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3218 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3220 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3222 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3224 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3225 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3227 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3230 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3232 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3235 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3237 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3238 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3239 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3240 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3241 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3242 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3243 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3244 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3246 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3248 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3249 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3251 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3252 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3253 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3254 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3255 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3257 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3259 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3262 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3264 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3266 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3269 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3271 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3273 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3275 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3276 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3277 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3278 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3279 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3280 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3281 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3282 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3283 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3284 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3285 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3286 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3287 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3288 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3289 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3290 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3291 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3292 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3293 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3294 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3295 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3296 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3297 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3298 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3299 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3300 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3301 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3302 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3304 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3307 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3308 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3309 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3310 (IPV6_PMTUDISC_INTERFACE): Likewise.
3311 (IPV6_PMTUDISC_OMIT): Likewise.
3313 2014-06-23 Andreas Schwab <schwab@suse.de>
3315 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3316 Remove unused errout label.
3318 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3320 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3321 macro: hardware supports Vector Crypto instructions.
3323 2014-06-23 Will Newton <will.newton@linaro.org>
3325 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3326 rather than __builtin_expect.
3328 * elf/dl-lookup.c (undefined_msg): Remove variable.
3329 (_dl_lookup_symbol_x): Replace undefined_msg with string
3332 * elf/dl-lookup.c (do_lookup_unique): New function.
3333 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3334 to a separate function.
3336 2014-06-23 Andreas Schwab <schwab@suse.de>
3339 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3340 before reading the next line.
3342 2014-06-23 Will Newton <will.newton@linaro.org>
3344 * test-skeleton.c (signal_handler): Use printf and %m
3345 rather than perror. Use printf rather than fprintf to
3346 stderr. Use puts rather than fputs to stderr.
3349 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3351 * nscd/nscd.c (thread_info_t): Remove typedef.
3352 (thread_info): Remove variable.
3354 2014-06-21 Allan McRae <allan@archlinux.org>
3356 * NEWS: Mention CVE-2014-4043.
3358 2014-06-20 Roland McGrath <roland@hack.frob.com>
3360 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3361 * nptl/smp.h: ... here.
3363 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3365 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3366 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3367 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3368 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3370 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3371 * nptl/stack-aliasing.h: New file.
3372 * sysdeps/i386/i686/stack-aliasing.h: New file.
3373 * sysdeps/i386/i686/nptl/Makefile: File removed.
3374 * sysdeps/x86_64/stack-aliasing.h: New file.
3375 * sysdeps/x86_64/nptl/Makefile
3376 (CFLAGS-pthread_create.c): Variable removed.
3378 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3379 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3381 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3382 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3385 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3387 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3388 (__ASSUME_SIGFRAME_V2): Remove macro.
3389 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3390 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3391 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3392 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3393 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3394 Declare as function. Remove conditional macro definitions.
3395 (__default_rt_sa_restorer): Likewise.
3396 (__default_sa_restorer_v1): Remove declaration.
3397 (__default_sa_restorer_v2): Likewise.
3398 (__default_rt_sa_restorer_v1): Likewise.
3399 (__default_rt_sa_restorer_v2): Likewise.
3400 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3401 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3402 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3404 2014-06-20 Roland McGrath <roland@hack.frob.com>
3406 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3407 (libpthread-routines): Add sysdep.
3408 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3409 * sysdeps/unix/sysv/linux/sparc/Versions
3410 (libpthread: GLIBC_2.3.3): New version set.
3411 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3412 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3413 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3414 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3415 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3416 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3418 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3419 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3420 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3421 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3422 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3424 * sysdeps/sparc/nptl/sem_init.c: ... here.
3425 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3426 * sysdeps/sparc/nptl/sem_post.c: ... here.
3427 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3428 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3430 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3432 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3433 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3434 (libpthread-routines): Add cpu_relax.
3435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3437 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3438 (librt: GLIBC_2.3.3): New version set.
3439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3440 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3441 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3442 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3445 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3448 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3450 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3452 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3454 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3456 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3459 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3463 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3467 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3471 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3475 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3479 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3482 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3488 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3490 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3493 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3495 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3497 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3499 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3501 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3502 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3503 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3504 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3505 * nscd/nscd.c: Likewise.
3506 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3507 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3508 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3509 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3511 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3512 <kernel-features.h>.
3513 (init_mq_netlink): Remove conditional have_sock_cloexec
3514 definitions. Remove code conditional on have_sock_cloexec < 0.
3515 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3516 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3517 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3518 <kernel-features.h>.
3519 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3520 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3522 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3525 Add tests for memset_chk and memset.
3527 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3530 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3533 * elf/tst-dl-iter-static.c: New file.
3534 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3536 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3539 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3541 * sysdeps/unix/sysv/linux/kernel-features.h
3542 (__ASSUME_F_GETOWN_EX): Remove macro.
3543 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3544 <kernel-features.h>.
3545 (miss_F_GETOWN_EX): Remove variable or macro.
3546 (do_fcntl): Do not check miss_F_GETOWN_EX.
3547 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3549 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3552 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3553 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3555 * sysdeps/unix/sysv/linux/kernel-features.h
3556 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3557 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3558 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3559 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3561 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3564 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3565 Fix calculation of the symbol's value.
3566 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3567 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3568 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3569 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3570 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3571 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3572 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3573 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3574 (modules-names): Add `tst-armtlsdescmod',
3575 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3576 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3577 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3578 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3579 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3580 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3581 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3582 ($(objpfx)tst-armtlsdescloc): New dependency.
3583 ($(objpfx)tst-armtlsdescextnow): Likewise.
3584 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3585 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3587 * sysdeps/arm/configure: Regenerate.
3589 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3591 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3592 (__atfct_seterrno_2): Likewise.
3593 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3594 <kernel-features.h>.
3595 (__ASSUME_ATFCTS): Do not undefine and redefine.
3596 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3597 (__have_atfcts): Remove conditional definition.
3598 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3599 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3600 unreachable if [__ASSUME_ATFCTS].
3601 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3602 not undefine and redefine.
3603 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3604 <kernel-features.h>.
3605 (faccessat) [__NR_faccessat]: Make code unconditional.
3606 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3607 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3608 <kernel-features.h>.
3609 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3610 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3611 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3612 <kernel-features.h>.
3613 (fchownat) [__NR_fchownat]: Make code unconditional.
3614 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3615 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3616 <kernel-features.h>.
3617 (futimesat) [__NR_futimesat]: Make code unconditional.
3618 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3619 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3620 <kernel-features.h>.
3621 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3622 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3623 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3624 <kernel-features.h>.
3625 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3626 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3627 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3628 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3629 <kernel-features.h>.
3630 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3631 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3632 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3633 <kernel-features.h>.
3634 (linkat) [__NR_linkat]: Make code unconditional.
3635 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3636 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3637 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3638 <kernel-features.h>.
3639 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3640 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3641 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3642 <kernel-features.h>.
3643 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3644 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3645 * sysdeps/unix/sysv/linux/openat.c: Do not include
3646 <kernel-features.h>.
3647 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3648 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3649 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3650 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3651 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3652 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3653 <kernel-features.h>.
3654 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3655 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3656 result of INLINE_SYSCALL directly, not via int variable.
3657 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3658 <kernel-features.h>.
3659 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3660 (renameat) [__NR_renameat]: Make code unconditional.
3661 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3662 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3663 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3664 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3665 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3666 (__ASSUME_ATFCTS): Do not undefine and redefine.
3667 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3668 <kernel-features.h>.
3669 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3670 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3671 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3672 <kernel-features.h>.
3673 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3674 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3675 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3676 (__ASSUME_ATFCTS): Do not undefine and redefine.
3677 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3678 <kernel-features.h>.
3679 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3680 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3681 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3682 <kernel-features.h>.
3683 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3684 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3686 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3688 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3690 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3693 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3694 constructed tree before returning error.
3695 * posix/bug-regexp36.c: Expand test case.
3697 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3700 * math/libm-test.inc (scalbln_test_date):
3701 Add errno expectations.
3702 * math/w_scalblnf.c: New File.
3703 Add wrapper which checks for setting errno to ERANGE.
3704 Add weak_alias for corresponding scalbln function.
3705 * math/w_scalbln.c: Likewise.
3706 * math/w_scalblnl.c: Likewise.
3707 * math/Makefile (libm-calls): Add w_scalbln.
3708 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3709 Remove weak_alias for corresponding scalbln function.
3710 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3714 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3715 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3716 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3717 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3718 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3719 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3720 Remove long_double_symbol for scalblnl function in libm, libc.
3721 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3722 Add wrapper which checks for setting errno to ERANGE.
3723 Add long_double_symbol for scalblnl function in libm, libc.
3724 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3725 Remove long_double_symbol for scalblnl in libm.
3726 * sysdeps/ieee754/ldbl-128ibm/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.
3729 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3730 Do not use wrapper because of own implementation.
3732 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3734 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3735 3 bytes for __pad1 for x32.
3736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3738 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3739 H.J. Lu <hongjiu.lu@intel.com>
3741 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3742 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3743 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3744 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3745 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3747 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3750 * posix/regcomp.c (parse_expression): Deallocate partially
3751 constructed tree before returning error.
3752 * posix/Makefile.c (tests): Add bug-regex36.
3753 (generated): Add bug-regex36.mtrace.
3754 (tests-special): Add $(objpfx)bug-regex36-mem.out
3755 (bug-regex36-ENV): New variable.
3756 ($(objpfx)bug-regex36-mem.out): New rule.
3757 * posix/bug-regex36.c: New file.
3759 2014-06-19 Will Newton <will.newton@linaro.org>
3761 * malloc/malloc.c (systrim): If extra is zero then return
3764 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3766 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3768 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3770 * sysdeps/aarch64/strchr.S: New file.
3772 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3775 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3776 from arguments -2 or below.
3777 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3778 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3780 2014-06-18 Andreas Schwab <schwab@suse.de>
3783 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3784 of a bracket expr not to run off the end of the string.
3785 * posix/Makefile (tests): Add tst-fnmatch3.
3786 * posix/tst-fnmatch3.c: New file.
3788 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3790 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3791 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3792 [$(cross-compiling) = no]: Likewise.
3793 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3794 [$(cross-compiling) = no]: Likewise.
3796 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3800 double, adjusted for any remainder from the high double.
3801 * math/libm-test.inc (nearbyint): Add tests.
3804 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3806 * nptl/sysdeps/powerpc/Makefile: Moved ...
3807 * sysdeps/powerpc/nptl/Makefile: ... here.
3808 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3809 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3810 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3811 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3812 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3813 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3814 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3815 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3816 * nptl/sysdeps/powerpc/tls.h: Moved ...
3817 * sysdeps/powerpc/nptl/tls.h: ... here.
3819 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3822 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3823 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3824 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3825 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3826 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3827 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3828 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3829 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3830 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3832 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3834 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3836 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3838 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3841 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3844 2014-06-16 Florian Weimer <fweimer@redhat.com>
3847 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3848 non-executed part of the test.
3850 2014-06-16 Andreas Schwab <schwab@suse.de>
3852 * string/bits/string2.h (strdup, strndup): Update feature guard.
3854 2014-06-14 David S. Miller <davem@davemloft.net>
3856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3858 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3860 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3861 that was previously under [RESET_PID].
3862 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3864 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3865 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3866 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3867 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3868 (__libc_vfork): New strong alias.
3869 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3871 2014-06-14 Andi Kleen <ak@linux.intel.com>
3873 * sysdeps/generic/elide.h: New file.
3875 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3877 * Makefile (installed-headers): Adjust path of pthread.h header.
3879 2014-06-13 Roland McGrath <roland@hack.frob.com>
3881 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3882 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3883 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3884 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3886 * nptl/sysdeps/s390/Makefile: Moved ...
3887 * sysdeps/s390/nptl/Makefile: ... here.
3888 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3889 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3890 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3891 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3892 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3893 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3894 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3895 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3896 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3897 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3898 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3899 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3900 * nptl/sysdeps/s390/tls.h: Moved ...
3901 * sysdeps/s390/nptl/tls.h: ... here.
3903 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3904 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3906 2014-06-13 David S. Miller <davem@davemloft.net>
3908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3911 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3915 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3916 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3917 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3918 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3919 Remove RESET_PID cpp guards.
3920 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3921 Remove RESET_PID cpp guards.
3922 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3924 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3926 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3929 2014-06-13 Andi Kleen <ak@linux.intel.com>
3931 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3932 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3934 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3936 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3941 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3942 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3944 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3945 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3946 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3948 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3949 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3950 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3952 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3953 (pthread_rwlock_rdlock): Add elision.
3954 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3955 (pthread_rwlock_wrlock): Add elision.
3956 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3957 (pthread_rwlock_trywrlock): Add elision.
3958 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3959 (pthread_rwlock_tryrdlock): Add elision.
3960 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3961 (pthread_rwlock_tryrdlock): Add elision unlock.
3962 * nptl/sysdeps/pthread/pthread.h:
3963 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3964 (PTHREAD_RWLOCK_INITIALIZER,
3965 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3966 Handle new elision field.
3967 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3968 * sysdeps/arm/nptl/bits/pthreadtypes.h
3969 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3970 * sysdeps/sh/nptl/bits/pthreadtypes.h
3971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3972 * sysdeps/tile/nptl/bits/pthreadtypes.h
3973 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3974 * sysdeps/a/nptl/bits/pthreadtypes.h
3975 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3976 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3977 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3978 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3980 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3982 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3984 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3986 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3988 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3990 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3992 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3993 (elision_init): Set try_xbegin to zero when no RTM.
3994 * sysdeps/x86/nptl/bits/pthreadtypes.h
3995 (pthread_rwlock_t): Change __pad1 to __rwelision.
3996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3998 2014-06-13 Andi Kleen <ak@linux.intel.com>
4000 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4001 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4002 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4003 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4005 2014-06-13 Meador Inge <meadori@codesourcery.com>
4008 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4009 that the cached result has been set before returning it.
4011 2014-06-12 Roland McGrath <roland@hack.frob.com>
4013 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4014 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4015 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4016 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4017 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4018 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4020 * nptl/sysdeps/sparc/Makefile: Moved ...
4021 * sysdeps/sparc/nptl/Makefile: ... here.
4022 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4023 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4024 * nptl/sysdeps/sparc/tls.h: Moved ...
4025 * sysdeps/sparc/nptl/tls.h: ... here.
4026 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4027 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4028 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4029 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4030 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4031 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4032 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4033 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4034 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4035 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4036 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4037 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4038 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4039 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4040 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4041 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4042 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4045 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4046 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4048 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4051 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4052 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4055 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4057 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4058 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4060 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4061 (struct list_links): Type removed.
4062 (struct thread_node, struct timer_node): Replace struct list_links
4063 with struct list_head.
4064 (list_unlink_ip): Likewise.
4065 * sysdeps/pthread/timer_routines.c
4066 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4067 (list_append, list_insbefore): Likewise.
4068 (list_init): Function removed.
4069 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4070 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4071 * sysdeps/pthread/Makefile: ... here, new file.
4073 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4074 * sysdeps/nptl/Implies: ... here.
4075 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4076 * nptl/sysdeps/pthread/list.h: Moved ...
4077 * include/list.h: ... here.
4078 * nptl/sysdeps/pthread/createthread.c: Moved ...
4079 * nptl/createthread.c: ... here.
4080 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4081 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4082 * nptl/pt-longjmp.c: ... here.
4083 * nptl/sysdeps/pthread/Makefile: Moved ...
4084 * sysdeps/nptl/Makefile: ... here.
4085 * nptl/sysdeps/pthread/Subdirs: Moved ...
4086 * sysdeps/nptl/Subdirs: ... here.
4087 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4088 * sysdeps/nptl/aio_misc.h: ... here.
4089 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4090 * sysdeps/nptl/bits/libc-lock.h: ... here.
4091 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4092 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4093 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4094 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4095 * nptl/sysdeps/pthread/configure: Moved ...
4096 * sysdeps/nptl/configure: ... here.
4097 * nptl/sysdeps/pthread/configure.ac: Moved ...
4098 * sysdeps/nptl/configure.ac: ... here.
4099 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4100 * sysdeps/nptl/gai_misc.h: ... here.
4101 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4102 * sysdeps/nptl/librt-cancellation.c: ... here.
4103 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4104 * sysdeps/nptl/malloc-machine.h: ... here.
4105 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4106 * sysdeps/nptl/pthread-functions.h: ... here.
4107 * nptl/sysdeps/pthread/pthread.h: Moved ...
4108 * sysdeps/nptl/pthread.h: ... here.
4109 * nptl/sysdeps/pthread/setxid.h: Moved ...
4110 * sysdeps/nptl/setxid.h: ... here.
4111 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4112 * sysdeps/nptl/sigfillset.c: ... here.
4113 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4114 * sysdeps/nptl/tcb-offsets.h: ... here.
4115 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4116 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4117 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4118 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4119 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4120 * sysdeps/pthread/allocalim.h: ... here.
4121 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4122 * sysdeps/pthread/bits/sigthread.h: ... here.
4123 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4124 * sysdeps/pthread/flockfile.c: ... here.
4125 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4126 * sysdeps/pthread/ftrylockfile.c: ... here.
4127 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4128 * sysdeps/pthread/funlockfile.c: ... here.
4129 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4130 * sysdeps/pthread/posix-timer.h: ... here.
4131 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4132 * sysdeps/pthread/timer_create.c: ... here.
4133 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4134 * sysdeps/pthread/timer_delete.c: ... here.
4135 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4136 * sysdeps/pthread/timer_getoverr.c: ... here.
4137 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4138 * sysdeps/pthread/timer_gettime.c: ... here.
4139 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4140 * sysdeps/pthread/timer_routines.c: ... here.
4141 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4142 * sysdeps/pthread/timer_settime.c: ... here.
4143 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4144 * sysdeps/pthread/tst-timer.c: ... here.
4145 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4146 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4148 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4149 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4151 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4152 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4153 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4154 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4155 Update #include target.
4156 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4157 * sysdeps/i386/i686/nptl/Makefile: ... here.
4158 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4159 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4160 Update #include target.
4161 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4162 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4163 * nptl/sysdeps/i386/Makefile: Moved ...
4164 * sysdeps/i386/nptl/Makefile: ... here.
4165 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4166 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4167 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4168 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4169 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4170 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4171 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4172 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4173 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4174 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4175 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4176 * nptl/sysdeps/i386/tls.h: Moved ...
4177 * sysdeps/i386/nptl/tls.h: ... here.
4179 * sysdeps/sh/Makefile [$(subdir) = csu]
4180 (gen-as-const-headers): Add tcb-offsets.sym.
4181 * nptl/sysdeps/sh/Makefile: File removed.
4182 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4183 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4184 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4185 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4186 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4187 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4188 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4189 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4190 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4191 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4192 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4193 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4194 * nptl/sysdeps/sh/tls.h: Moved ...
4195 * sysdeps/sh/nptl/tls.h: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4197 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4198 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4199 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4200 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4201 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4202 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4203 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4204 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4205 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4207 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4208 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4209 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4210 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4211 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4212 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4213 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4215 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4216 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4217 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4218 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4219 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4220 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4222 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4223 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4225 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4227 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4229 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4231 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4232 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4233 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4234 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4235 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4236 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4237 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4239 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4240 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4241 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4242 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4243 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4245 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4247 * posix/spawn_faction_addopen.c: Include string.h.
4249 2014-06-11 Roland McGrath <roland@hack.frob.com>
4251 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4252 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4253 * nptl/sysdeps/x86_64/Makefile: Moved ...
4254 * sysdeps/x86_64/nptl/Makefile: ... here.
4255 * nptl/sysdeps/x86_64/configure: Moved ...
4256 * sysdeps/x86_64/nptl/configure: ... here.
4257 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4258 * sysdeps/x86_64/nptl/configure.ac: ... here.
4259 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4260 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4261 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4262 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4263 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4264 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4265 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4266 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4267 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4268 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4269 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4270 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4271 * nptl/sysdeps/x86_64/tls.h: Moved ...
4272 * sysdeps/x86_64/nptl/tls.h: ... here.
4273 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4274 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4275 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4276 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4278 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4280 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4284 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4286 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4288 [POSIX] (off_t): Likewise.
4289 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4290 [POSIX] (S_ISBLK): Require macro.
4291 [POSIX] (S_ISCHR): Likewise.
4292 [POSIX] (S_ISDIR): Likewise.
4293 [POSIX] (S_ISFIFO): Likewise.
4294 [POSIX] (S_ISREG): Likewise.
4295 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4297 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4299 [POSIX] (time_t): Likewise.
4300 [POSIX] (timer_t): Likewise.
4302 2014-06-11 Florian Weimer <fweimer@redhat.com>
4305 * posix/spawn_int.h (struct __spawn_action): Make the path string
4306 non-const to support deallocation.
4307 * posix/spawn_faction_addopen.c
4308 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4309 * posix/spawn_faction_destroy.c
4310 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4311 path in all spawn_do_open actions.
4312 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4313 posix_spawn_file_actions_addopen.
4315 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4317 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4318 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4319 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4320 conditional code always true.
4321 (__libc_vfork): New alias.
4323 2014-06-11 Roland McGrath <roland@hack.frob.com>
4325 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4326 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4328 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4330 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4331 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4333 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4334 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4336 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4337 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4339 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4341 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4342 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4343 multiarch strcmp for PPC64.
4344 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4345 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4347 multiarch optimizations.
4348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4349 (__libc_ifunc_impl_list): Likewise.
4351 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4353 * benchtests/scripts/validate_benchout.py: New script.
4354 * benchtests/Makefile (bench-func): Call it.
4355 * benchtests/scripts/benchout.schema.json: New file.
4357 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4359 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4360 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4361 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4362 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4363 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4364 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4365 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4366 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4367 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4368 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4369 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4370 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4371 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4372 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4373 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4374 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4479 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4481 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4482 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4484 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4487 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4489 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4491 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4493 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4495 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4496 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4497 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4500 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4503 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4504 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4505 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4508 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4510 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4512 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4513 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4514 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4516 2014-06-10 Wilco <wdijkstr@arm.com>
4518 * math/test-fenv-return.c: New file.
4519 * math/Makefile: Add new test test-fenv-return.
4521 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4524 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4526 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4527 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4528 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4529 0.0L for an argument of 1.0L.
4530 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4532 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4533 value when x - 1 is zero.
4534 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4535 * sysdeps/i386/fpu/libm-test-ulps: Update.
4536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4538 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4541 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4543 2014-06-09 Roland McGrath <roland@hack.frob.com>
4545 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4546 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4548 2014-06-09 Roland McGrath <roland@hack.frob.com>
4550 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4551 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4553 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4554 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4556 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4557 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4559 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4560 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4562 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4563 if not already defined.
4564 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4565 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4566 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4567 (TLS_INIT_TP): Use it.
4568 (TLS_DEFINE_INIT_TP): New macro.
4569 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4571 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4573 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4575 [POSIX] (IXANY): Likewise.
4576 [POSIX] (OLCUC): Likewise.
4577 [POSIX || POSIX2008] (CBAUD): Do not allow.
4578 [POSIX || POSIX2008] (DEFECHO): Likewise.
4579 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4580 [POSIX || POSIX2008] (ECHOKE): Likewise.
4581 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4582 [POSIX || POSIX2008] (EXTA): Likewise.
4583 [POSIX || POSIX2008] (EXTB): Likewise.
4584 [POSIX || POSIX2008] (FLUSHO): Likewise.
4585 [POSIX || POSIX2008] (LOBLK): Likewise.
4586 [POSIX || POSIX2008] (PENDIN): Likewise.
4587 [POSIX || POSIX2008] (SWTCH): Likewise.
4588 [POSIX || POSIX2008] (VDISCARD): Likewise.
4589 [POSIX || POSIX2008] (VDSUSP): Likewise.
4590 [POSIX || POSIX2008] (VLNEXT): Likewise.
4591 [POSIX || POSIX2008] (VREPRINT): Likewise.
4592 [POSIX || POSIX2008] (VSTATUS): Likewise.
4593 [POSIX || POSIX2008] (VWERASE): Likewise.
4594 (B*): Change to B[0123456789]*.
4595 * conform/data/time.h-data [POSIX || UNIX98]
4596 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4597 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4598 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4599 [POSIX] (tm_*): Do not allow.
4601 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4603 * Makefile (install): Don't set LANGUAGE.
4604 * Makefile.in (install): Likewise.
4605 * assert/Makefile (test-assert-ENV): Remove variable.
4606 (test-assert-perr-ENV): Likewise.
4607 * elf/Makefile (neededtest4-ENV): Likewise.
4608 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4609 [$(cross-compiling) = no]: Don't set LANGUAGE.
4610 * io/ftwtest-sh (LANG): Remove variable.
4611 * libio/Makefile (tst-widetext-ENV): Likewise.
4612 * manual/install.texi (Running make install): Don't refer to
4613 environment settings for make install.
4614 * INSTALL: Regenerated.
4615 * nptl/tst-tls6.sh: Don't set LANG.
4616 * posix/globtest.sh (LANG): Remove variable.
4617 * string/Makefile (tester-ENV): Likewise.
4618 (inl-tester-ENV): Likewise.
4619 (noinl-tester-ENV): Likewise.
4620 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4621 [$(cross-compiling) = no]: Don't set LANGUAGE.
4622 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4623 without explicit environment settings.
4625 2014-06-06 Roland McGrath <roland@hack.frob.com>
4627 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4628 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4629 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4630 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4632 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4634 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4635 other files in the crypt directory.
4636 * crypt/crypt.c: Remove duplicate includes.
4637 * crypt/crypt-entry.c: Likewise.
4638 * crypt/crypt_util.c: Likewise.
4640 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4642 * Makeconfig (run-program-env): New variable.
4643 (run-program-prefix-before-env): Likewise.
4644 (run-program-prefix-after-env): Likewise.
4645 (run-program-prefix): Define in terms of new variables.
4646 (built-program-cmd-before-env): New variable.
4647 (built-program-cmd-after-env): Likewise.
4648 (built-program-cmd): Define in terms of new variables.
4649 (test-program-prefix-before-env): New variable.
4650 (test-program-prefix-after-env): Likewise.
4651 (test-program-prefix): Define in terms of new variables.
4652 (test-program-cmd-before-env): New variable.
4653 (test-program-cmd-after-env): Likewise.
4654 (test-program-cmd): Define in terms of new variables.
4655 * Rules (make-test-out): Use $(run-program-env).
4656 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4657 (help): Do not mention environment variables. Mention
4658 --timeoutfactor option.
4659 (timeoutfactor): New variable.
4660 (blacklist_exports): Remove function.
4661 (exports): Remove variable.
4662 (command): Do not include ${exports}.
4663 * manual/install.texi (Configuring and compiling): Do not mention
4664 test wrappers preserving environment variables. Mention that last
4665 assignment to a variable must take precedence.
4666 * INSTALL: Regenerated.
4667 * benchtests/Makefile (run-bench): Use $(run-program-env).
4668 * catgets/Makefile ($(objpfx)test1.cat): Use
4669 $(built-program-cmd-before-env), $(run-program-env) and
4670 $(built-program-cmd-after-env).
4671 ($(objpfx)test2.cat): Do not specify environment variables
4673 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4674 $(run-program-env) and $(built-program-cmd-after-env).
4675 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4676 $(run-program-env) and $(test-program-cmd-after-env).
4677 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4679 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4680 run_program_env and test_program_cmd_after_env arguments.
4681 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4682 * elf/tst-pathopt.sh: Use run_program_env argument.
4683 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4684 $(test-wrapper-env) and $(run-program-env).
4685 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4686 run_program_env arguments.
4687 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4688 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4689 $(test-program-prefix-before-env), $(run-program-env) and
4690 $(test-program-prefix-after-env).
4691 ($(objpfx)tst-gettext2.out): Likewise.
4692 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4693 run_program_env and test_program_prefix_after_env arguments.
4694 * intl/tst-gettext2.sh: Likewise.
4695 * intl/tst-gettext4.sh: Do not set environment variables
4697 * intl/tst-gettext6.sh: Likewise.
4698 * intl/tst-translit.sh: Likewise.
4699 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4700 $(test-program-prefix-before-env), $(run-program-env) and
4701 $(test-program-prefix-after-env).
4702 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4703 run_program_env and test_program_prefix_after_env arguments.
4704 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4705 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4706 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4707 explicitly with each use of ${test_wrapper_env}.
4708 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4709 $(test-program-prefix-before-env), $(run-program-env) and
4710 $(test-program-prefix-after-env).
4711 * posix/tst-getconf.sh: Do not set environment variables
4713 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4714 run_program_env and test_program_prefix_after_env arguments.
4715 * stdio-common/tst-printf.sh: Do not set environment variables
4717 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4718 $(test-program-prefix-before-env), $(run-program-env) and
4719 $(test-program-prefix-after-env).
4720 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4721 run_program_env and test_program_prefix_after_env arguments.
4722 Split $test calls into $test_pre and $test.
4723 * timezone/Makefile (build-testdata): Use
4724 $(built-program-cmd-before-env), $(run-program-env) and
4725 $(built-program-cmd-after-env).
4727 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4729 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4730 strlen for non SHARED builds.
4732 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4734 * nptl/allocatestack.c (check_list): Inlined function...
4735 (__reclaim_stacks): ... here.
4737 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4740 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4743 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4745 * Rules (make-test-out): Include
4746 LOCPATH=$(common-objpfx)localedata in default environment.
4747 * debug/Makefile (tst-chk1-ENV): Remove variable.
4748 (tst-chk2-ENV): Likewise.
4749 (tst-chk3-ENV): Likewise.
4750 (tst-chk4-ENV): Likewise.
4751 (tst-chk5-ENV): Likewise.
4752 (tst-chk6-ENV): Likewise.
4753 (tst-lfschk1-ENV): Likewise.
4754 (tst-lfschk2-ENV): Likewise.
4755 (tst-lfschk3-ENV): Likewise.
4756 (tst-lfschk4-ENV): Likewise.
4757 (tst-lfschk5-ENV): Likewise.
4758 (tst-lfschk6-ENV): Likewise.
4759 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4760 (tst-iconv7-ENV): Likewise.
4761 * intl/Makefile (LOCPATH-ENV): Likewise.
4762 (tst-codeset-ENV): Likewise.
4763 (tst-gettext3-ENV): Likewise.
4764 (tst-gettext5-ENV): Likewise.
4765 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4766 (tst-fopenloc-ENV): Likewise.
4767 (tst-fgetws-ENV): Remove variable.
4768 (tst-ungetwc1-ENV): Likewise.
4769 (tst-ungetwc2-ENV): Likewise.
4770 (bug-ungetwc2-ENV): Likewise.
4771 (tst-swscanf-ENV): Likewise.
4772 (bug-ftell-ENV): Likewise.
4773 (tst-fgetwc-ENV): Likewise.
4774 (tst-fseek-ENV): Likewise.
4775 (tst-ftell-partial-wide-ENV): Likewise.
4776 (tst-ftell-active-handler-ENV): Likewise.
4777 (tst-ftell-append-ENV): Likewise.
4778 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4779 (tst-regexloc-ENV): Likewise.
4780 (bug-regex1-ENV): Likewise.
4781 (tst-regex-ENV): Likewise.
4782 (tst-regex2-ENV): Likewise.
4783 (bug-regex5-ENV): Likewise.
4784 (bug-regex6-ENV): Likewise.
4785 (bug-regex17-ENV): Likewise.
4786 (bug-regex18-ENV): Likewise.
4787 (bug-regex19-ENV): Likewise.
4788 (bug-regex20-ENV): Likewise.
4789 (bug-regex22-ENV): Likewise.
4790 (bug-regex23-ENV): Likewise.
4791 (bug-regex25-ENV): Likewise.
4792 (bug-regex26-ENV): Likewise.
4793 (bug-regex30-ENV): Likewise.
4794 (bug-regex32-ENV): Likewise.
4795 (bug-regex33-ENV): Likewise.
4796 (bug-regex34-ENV): Likewise.
4797 (bug-regex35-ENV): Likewise.
4798 (tst-rxspencer-ENV): Likewise.
4799 (tst-rxspencer-no-utf8-ENV): Likewise.
4800 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4801 (tst-sscanf-ENV): Likewise.
4802 (tst-swprintf-ENV): Likewise.
4803 (tst-swscanf-ENV): Likewise.
4804 (test-vfprintf-ENV): Likewise.
4805 (scanf13-ENV): Likewise.
4806 (bug14-ENV): Likewise.
4807 (tst-grouping-ENV): Likewise.
4808 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4809 (tst-strtod3-ENV): Likewise.
4810 (tst-strtod4-ENV): Likewise.
4811 (tst-strtod5-ENV): Likewise.
4812 (testmb2-ENV): Likewise./
4813 * string/Makefile (tst-strxfrm-ENV): Likewise.
4814 (tst-strxfrm2-ENV): Likewise.
4815 (bug-strcoll1-ENV): Likewise.
4816 (test-strcasecmp-ENV): Likewise.
4817 (test-strncasecmp-ENV): Likewise.
4818 * time/Makefile (tst-strptime-ENV): Likewise.
4819 (tst-ftime_l-ENV): Likewise.
4820 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4821 (tst-mbrtowc-ENV): Likewise.
4822 (tst-wcrtomb-ENV): Likewise.
4823 (tst-mbrtowc2-ENV): Likewise.
4824 (tst-c16c32-1-ENV): Likewise.
4825 (tst-mbsnrtowcs-ENV): Likewise.
4827 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4829 * manual/resource.texi (How to get information about the memory
4830 subsystem?): Fix typo.
4831 Reported by Peon de la Parra Ivan <peon@keba.com>
4833 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4836 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4837 (pthread_spin_lock): Branch out of spin loop to proper location.
4838 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4839 (pthread_spin_lock): Likewise.
4841 * nptl/tst-spin4.c: New test.
4842 * nptl/Makefile (tests): Add tst-spin4.
4844 2014-06-03 Andreas Schwab <schwab@suse.de>
4847 * resolv/res_send.c (send_dg): Reload file descriptor after
4850 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4852 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4854 2014-06-03 Richard Henderson <rth@redhat.com>
4856 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4857 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4858 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4859 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4860 in the SAVE_PID block.
4861 (__libc_vfork): New alias.
4862 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4864 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4865 child in registers, not on the stack. Remove RESET_PID conditionals.
4866 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4868 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4870 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4872 2014-06-03 Wilco <wdijkstr@arm.com>
4874 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4875 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4876 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4877 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4878 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4881 2014-06-03 Wilco <wdijkstr@arm.com>
4883 * sysdeps/aarch64/fpu/math_private.h
4884 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4885 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4886 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4887 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4890 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4892 * crypt/crypt-private.h: Include ufc-crypt.h.
4893 (__b64_from_24bit): Declare extern.
4894 * crypt/crypt_util.c(__b64_from_24bit): New function.
4895 (b64t): New static const variable.
4896 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4897 (b64t): Remove variable.
4898 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4899 * crypt/sha256-crypt.c: Include crypt-private.h.
4900 (b64t): Remove variable.
4901 (__sha256_crypt_r): Remove b64_from_24bit and replace
4902 with __b64_from_24bit.
4903 * crypt/sha512-crypt.c: Likewise.
4905 2014-06-02 Roland McGrath <roland@hack.frob.com>
4907 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4908 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4909 Label the code __libc_vfork rather than __vfork.
4910 [!NOT_IN_libc] (vfork): Define as weak alias.
4911 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4912 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4913 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4915 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4917 * malloc/malloc.c (malloc_info): Fix format specifier for
4920 2014-06-02 Wilco <wdijkstr@arm.com>
4922 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4925 2014-06-02 Wilco <wdijkstr@arm.com>
4928 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4929 Rewrite to reduce FPCR/FPSR accesses.
4931 2014-06-01 David S. Miller <davem@davemloft.net>
4933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4935 2014-05-31 David S. Miller <davem@davemloft.net>
4937 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4938 to occur in round to nearest mode when |x| >= 2.0
4940 2014-05-30 Richard Henderson <rth@twiddle.net>
4942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4943 (PSEUDO_RET_NOERRNO): Remove.
4944 (ret): Don't redefine.
4945 (ret_NOERRNO): Define in terms of ret.
4946 (ret_ERRVAL): Likewise.
4948 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4949 use of PSEUDO_RET; perform the error check directly.
4951 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4953 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4956 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4958 * malloc/malloc (malloc_info): Fix formatting.
4960 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4961 Roland McGrath <roland@hack.frob.com>
4963 * malloc/malloc (malloc_info): Also print mmapped statistics.
4965 2014-05-30 Roland McGrath <roland@hack.frob.com>
4967 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4968 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4970 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4972 * malloc/malloc.c (malloc_info): Inline mi_arena.
4974 2014-05-29 Richard Henderson <rth@twiddle.net>
4976 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4977 Remove comma before expanding ASM_ARGS_##nr.
4978 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4979 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4981 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4982 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4983 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4984 (ASM_ARGS_1): Add leading comma.
4986 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4987 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4988 to __errno_location.
4989 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4990 Remove the expected plt for __errno_location.
4992 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4993 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4996 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4997 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4998 it and break it down.
4999 (DOCARGS_0, DOCARGS_1): Do nothing.
5000 (DOCARGS_2): Update to store into the new stack frame.
5001 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5002 (UNDOCARGS_1): Update to restore from the new stack frame.
5003 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5004 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5006 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5007 (SINGLE_THREAD_P): New parameter for result regno.
5008 (PSEUDO): Update to match; use cbz instead of beq.
5010 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5011 Use ENTRY to define the _nocancel entry point. Share the syscall
5012 and syscall error check paths with the cancel path.
5015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5016 whitespace; tabs before and after asm mnemonics.
5018 2014-05-29 Eric Wong <normalperson@yhbt.net>
5021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5022 Call fstat64 or stat64 internally, depending on arguments passed.
5023 Replace stat buffer argument with file descriptor argument.
5024 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5025 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5026 Pass fd to __internal_statvfs instead of calling fstat64.
5027 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5028 Pass fd to __internal_statvfs64 instead of calling fstat64.
5029 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5030 Pass -1 to __internal_statvfs instead of calling stat64.
5031 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5032 Pass -1 to __internal_statvfs64 instead of calling stat64.
5034 2014-05-28 Roland McGrath <roland@hack.frob.com>
5036 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5037 that was previously under [RESET_PID].
5038 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5040 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5041 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5043 2014-05-27 Roland McGrath <roland@hack.frob.com>
5045 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5047 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5048 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5050 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5052 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5054 2014-05-27 Andreas Schwab <schwab@suse.de>
5056 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5058 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5059 * elf/rtld.c (init_tls, dl_main): Likewise.
5060 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5061 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5062 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5063 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5064 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5065 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5066 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5067 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5068 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5069 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5070 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5071 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5072 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5073 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5074 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5075 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5076 * sysdeps/generic/tls.h: Update description.
5078 2014-05-27 Will Newton <will.newton@linaro.org>
5081 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5082 and restore r2 rather than just restoring.
5084 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5087 * libio/tst-ftell-append.c: New test case.
5088 * libio/Makefile (tests): Add test case.
5089 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5091 * libio/wfileops.c (do_ftell_wide): Likewise.
5093 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5097 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5101 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5102 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5103 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5104 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5105 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5106 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5107 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5113 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5114 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5115 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5116 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5117 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5119 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5120 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5122 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5124 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5126 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5127 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5128 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5130 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5131 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5132 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5133 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5144 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5156 conditional [RESET_PID].
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5165 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5166 (__libc_vfork): New strong alias.
5167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5174 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5175 (__libc_vfork): New strong alias.
5176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5181 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5183 * malloc/malloc.c (mi_arena): New function.
5184 (malloc_info): Remove nested function mi_arena. Call non-nosted
5187 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5189 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5191 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5192 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5193 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5194 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5195 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5196 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5197 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5199 2014-05-26 Andreas Schwab <schwab@suse.de>
5202 * locale/programs/repertoire.c (repertoire_read): Add slash
5203 between I18NPATH element and file name.
5204 * locale/programs/locfile.c (locfile_read): Likewise.
5206 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5208 * nptl/pthread_mutexattr_settype.c
5209 (__pthread_mutexattr_settype):
5210 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5212 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5214 * nptl/tst-mutex5 (do_test):
5215 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5217 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5219 * benchtests/README: Document 'init' directive.
5220 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5222 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5223 (parse_file): Recognize 'init' directive.
5225 2014-05-26 Kyle McMartin <kyle@redhat.com>
5228 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5229 alignment of struct pthread.
5231 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5234 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5235 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5236 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5237 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5239 2014-05-25 Richard Henderson <rth@twiddle.net>
5241 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5242 (SINGLE_THREAD_P_PIC): Remove.
5243 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5244 (SINGLE_THREAD_P_PIC): Remove.
5246 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5247 branch to syscall error ...
5249 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5250 from __local_syscall_error to .Lsyscall_error.
5251 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5252 (SYSCALL_ERROR): Update label name.
5254 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5255 Do not use DOARGS/UNDOARGS.
5256 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5257 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5258 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5259 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5260 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5265 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5266 define if !NOT_IN_libc.
5267 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5268 define with non-default symbol versions.
5270 2014-05-23 Richard Henderson <rth@twiddle.net>
5272 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5273 (vfork, __vfork): Define via compat_symbol.
5275 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5276 [!HAVE_IFUNC] (vfork_compat): Remove.
5277 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5279 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5282 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5283 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5286 2014-05-23 Richard Henderson <rth@twiddle.net>
5288 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5289 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5290 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5291 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5293 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5294 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5295 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5296 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5297 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5298 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5299 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5300 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5301 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5302 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5303 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5304 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5305 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5306 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5307 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5308 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5309 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5310 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5312 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5314 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5316 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5317 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5318 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5319 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5320 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5322 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5323 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5324 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5325 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5326 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5327 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5328 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5329 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5330 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5331 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5332 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5333 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5334 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5335 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5336 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5337 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5338 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5339 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5340 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5341 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5342 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5343 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5344 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5345 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5346 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5347 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5348 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5350 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5351 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5352 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5353 before exiting on error.
5354 (__libc_vfork): New strong alias.
5355 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5356 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5358 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5359 that was previously under [RESET_PID].
5360 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5362 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5364 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5367 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5368 value when x - 1 is zero.
5369 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5370 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5371 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5372 0.0L for an argument of 1.0L.
5373 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5375 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5376 value when x - 1 is zero.
5377 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5378 * sysdeps/i386/fpu/libm-test-ulps: Update.
5379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5381 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5383 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5384 alphasort and versionsort.
5386 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5388 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5390 [copysignf]: Likewise.
5392 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5394 * crypt/md5-crypt.c: Fix formatting.
5396 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5398 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5399 (b64_from_24bit): New function.
5401 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5403 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5404 libc_hidden_builtin_def to ifunc.
5405 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5406 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5408 2014-05-21 Roland McGrath <roland@hack.frob.com>
5410 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5411 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5413 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5415 * nscd/Depend (linuxthreads): Remove.
5417 * resolv/Depend (linuxthreads): Remove.
5418 * rt/Depend (linuxthreads): Remove.
5420 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5421 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5422 $(common-objpfx)elf/.
5423 (link-libc-before-gnulib): Likewise.
5424 (elfobjdir): Remove variable.
5425 * Makefile (install): Use $(elf-objpfx) instead of
5426 $(common-objpfx)elf/.
5427 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5429 (link-libc-deps): Likewise.
5430 ($(common-objpfx)libc.so): Likewise.
5431 ($(common-objpfx)linkobj/libc.so): Likewise.
5432 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5433 instead of $(common-objpfx)elf/.
5434 (symbolic-link-list): Likewise.
5435 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5436 [$(cross-compiling) = no]: Likewise.
5437 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5439 (static-gnulib-arch): Likewise.
5440 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5441 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5442 $(common-objpfx)elf/.
5444 2014-05-21 Richard Henderson <rth@redhat.com>
5446 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5447 (SINGLE_THREAD_P): Use the correct width load. Fold
5448 into the ldr offset.
5450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5451 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5453 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5455 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5456 (libgcc_s_resume): Use __attribute_used__.
5457 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5460 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5462 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5463 optimization when used with float constants.
5465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5467 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5470 * locale/nl_langinfo_l.c: Make direct reference to every
5471 _nl_current_CATEGORY symbol.
5472 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5473 (tests-static): Add tst-langinfo-static.
5474 (tests-special): Add tst-langinfo-static.out.
5475 ($(objpfx)tst-langinfo.out): Redirect output.
5476 ($(objpfx)tst-langinfo-static.out): New.
5477 * localedata/tst-langinfo.sh: Send output to stdout.
5478 * localedata/tst-langinfo-static.c: New file.
5481 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5482 when the shift amount is modulo the limb size.
5484 2014-05-20 Richard Henderson <rth@redhat.com>
5487 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5488 Change type of sa_flags from unsigned int to int.
5491 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5493 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5495 2014-05-20 Will Newton <will.newton@linaro.org>
5497 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5498 Test the return value of the system call in the nocancel case.
5500 2014-05-20 Will Newton <will.newton@linaro.org>
5501 Yvan Roux <yvan.roux@linaro.org>
5503 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5504 #include of asm/ptrace.h.
5505 (PTRACE_GET_THREAD_AREA): Remove #undef.
5506 (PTRACE_GETHBPREGS): Likewise.
5507 (PTRACE_SETHBPREGS): Likewise.
5508 (struct user_regs_struct): New structure.
5509 (struct user_fpsimd_struct): New structure.
5510 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5511 #include of asm/ptrace.h and second #include of sys/user.h.
5512 (PTRACE_GET_THREAD_AREA): Remove #undef.
5513 (PTRACE_GETHBPREGS): Likewise.
5514 (PTRACE_SETHBPREGS): Likewise.
5515 (ELF_NGREG): Use new struct user_regs_struct.
5516 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5518 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5523 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5527 membar to avoid block loads/stores to overlap previous stores.
5529 2014-05-17 Richard Henderson <rth@redhat.com>
5531 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5532 Create the __##syscall_name##_nocancel entry point.
5533 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5534 Remove; let the sysdep-cancel.h code create it.
5536 2014-05-17 David S. Miller <davem@davemloft.net>
5538 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5539 Protect with __USE_GNU.
5540 (TIOCSET_TEMPT): Likewise.
5541 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5542 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5543 these are already provided in bits/ioctl-types.h
5545 2014-05-16 Roland McGrath <roland@hack.frob.com>
5547 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5548 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5550 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5551 Use wait4 regardless of [__NR_waitpid].
5553 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5556 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5557 (_FP_NANSIGN_Q): Set the quiet bit.
5559 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5561 * benchtests/Makefile
5562 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5563 not $(common-objpfx)math/libm.so.
5564 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5565 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5566 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5567 $(common-objpfx)dlfcn/libdl.so.
5568 ($(objpfx)tst-audit8): Depend on $(libm), not
5569 $(common-objpfx)math/libm.so.
5570 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5571 not $(common-objpfx)dlfcn/libdl.so.
5573 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5574 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5575 [$(build-shared) = yes].
5576 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5577 $(common-objpfx)nptl/libpthread.so.
5578 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5579 $(common-objpfx)math/libm.so$(libm.so-version) or
5580 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5581 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5582 $(common-objpfx)dlfcn/libdl.so.
5583 * setjmp/Makefile (link-libm): Remove variable.
5584 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5585 * stdio-common/Makefile (link-libm): Remove variable.
5586 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5587 * stdlib/Makefile (link-libm): Remove variable.
5588 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5589 ($(objpfx)tst-strtod-round): Likewise.
5590 ($(objpfx)tst-tininess): Likewise.
5591 ($(objpfx)tst-strtod-underflow): Likewise.
5592 ($(objpfx)tst-strtod6): Likewise.
5593 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5594 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5595 $(common-objpfx)dlfcn/libdl.so.
5597 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5600 BSD terminal modes definitions.
5602 2014-05-16 Roland McGrath <roland@hack.frob.com>
5604 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5605 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5607 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5608 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5609 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5610 Don't do #include_next.
5611 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5612 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5613 Don't do #include_next.
5614 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5615 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5616 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5617 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5619 2014-05-16 Allan McRae <allan@archlinux.org>
5621 * po/sv.po: Update Swedish translation from translation project.
5623 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5626 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5629 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5630 errno if the TIOCGPTN ioctl fails with an error different than
5632 * login/tst-ptsname.c: New file.
5633 * login/Makefile (tests): Add tst-ptsname.
5636 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5639 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5643 herrno to return EAI_AGAIN.
5645 2014-05-14 Roland McGrath <roland@hack.frob.com>
5647 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5648 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5649 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5650 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5651 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5652 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5654 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5655 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5656 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5657 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5658 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5659 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5660 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5661 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5662 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5663 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5664 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5665 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5666 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5667 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5668 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5669 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5670 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5671 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5672 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5673 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5674 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5676 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5678 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5680 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5683 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5685 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5687 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5689 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5691 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5693 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5695 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5697 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5699 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5701 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5703 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5705 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5707 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5712 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5720 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5724 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5726 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5728 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5730 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5733 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5735 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5737 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5738 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5739 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5740 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5741 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5742 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5743 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5744 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5745 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5746 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5747 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5748 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5749 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5750 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5751 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5752 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5753 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5754 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5755 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5756 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5757 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5758 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5759 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5760 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5761 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5762 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5763 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5764 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5765 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5766 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5767 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5769 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5770 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5772 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5773 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5774 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5775 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5776 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5779 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5780 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5782 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5785 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5786 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5788 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5789 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5790 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5793 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5794 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5795 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5797 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5798 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5799 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5800 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5802 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5805 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5807 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5808 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5809 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5810 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5811 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5813 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5815 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5817 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5818 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5819 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5820 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5821 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5825 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5827 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5830 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5831 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5834 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5835 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5838 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5839 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5840 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5842 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5843 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5844 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5845 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5847 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5850 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5852 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5853 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5854 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5855 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5856 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5858 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5860 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5862 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5863 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5864 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5865 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5866 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5867 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5868 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5870 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5871 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5873 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5874 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5876 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5877 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5879 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5880 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5882 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5883 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5884 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5885 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5886 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5889 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5890 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5891 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5893 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5894 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5895 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5896 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5898 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5901 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5903 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5904 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5905 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5906 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5911 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5913 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5915 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5916 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5917 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5918 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5919 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5920 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5921 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5922 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5923 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5925 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5926 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5928 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5929 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5931 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5932 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5933 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5934 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5935 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5936 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5937 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5938 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5939 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5942 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5943 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5944 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5945 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5947 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5950 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5952 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5955 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5959 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5961 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5962 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5964 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5967 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5971 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5973 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5974 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5975 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5977 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5978 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5979 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5981 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5983 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5986 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5987 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5988 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5989 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5991 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5992 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5993 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5994 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5995 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5996 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5997 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5998 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5999 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6000 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6003 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6005 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6006 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6007 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6008 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6009 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6010 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6011 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6012 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6013 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6014 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6015 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6016 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6017 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6018 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6021 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6039 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6040 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6041 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6042 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6043 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6044 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6045 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6047 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6048 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6049 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6050 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6051 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6052 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6053 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6055 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6056 that was previously under [RESET_PID].
6057 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6058 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6059 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6061 * sysdeps/i386/nptl/Implies: New file.
6062 * sysdeps/x86_64/nptl/Implies: New file.
6063 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6064 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6065 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6066 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6068 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6069 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6070 (__libc_vfork): New strong alias.
6071 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6072 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6074 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6075 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6076 (__libc_vfork): New strong alias.
6077 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6078 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6080 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6081 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6082 (__libc_vfork): New strong alias.
6083 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6084 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6085 * nptl/pt-vfork.c: New file.
6086 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6087 (libpthread: GLIBC_2.20): New version set (empty).
6089 2014-05-14 Will Newton <will.newton@linaro.org>
6091 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6094 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6097 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6098 arguments with exponent 65 or above.
6099 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6100 arguments 0x1p113L or above.
6101 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6102 to arguments 0x1p107L or above.
6103 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6104 positive arguments with exponent 65 or above.
6105 * math/auto-libm-test-in: Add more tests of log1p.
6106 * math/auto-libm-test-out: Regenerated.
6109 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6110 non-finite arguments is +0.
6111 * math/s_cacosf.c (__cacosf): Likewise.
6112 * math/s_cacosl.c (__cacosl): Likewise.
6113 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6114 * sysdeps/i386/fpu/libm-test-ulps: Update.
6115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6118 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6120 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6121 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6122 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6123 for explicit high bit of mantissa when testing for argument equal
6125 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6126 * sysdeps/i386/fpu/libm-test-ulps: Update.
6127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6130 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6131 (__erf): Scale by 16 instead of 8 in potentially underflowing
6132 case. Ensure exception if result actually underflows.
6133 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6134 (__erff): Scale by 16 instead of 8 in potentially underflowing
6135 case. Ensure exception if result actually underflows.
6136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6137 (efx8): Remove variable.
6138 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6139 case. Ensure exception if result actually underflows.
6140 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6141 (efx8): Remove variable.
6142 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6143 case. Ensure exception if result actually underflows.
6144 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6145 (efx8): Remove variable.
6146 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6147 case. Ensure exception if result actually underflows.
6148 * math/auto-libm-test-in: Add more tests of erf.
6149 * math/auto-libm-test-out: Regenerated.
6151 2014-05-14 Andreas Schwab <schwab@suse.de>
6153 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6154 Remove code conditionalized on USE___THREAD.
6156 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6157 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6160 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6163 Define unconditionally.
6164 (__ASSUME_O_CLOEXEC): Likewise.
6165 (__ASSUME_SOCK_CLOEXEC): Likewise.
6166 (__ASSUME_IN_NONBLOCK): Likewise.
6167 (__ASSUME_PIPE2): Likewise.
6168 (__ASSUME_EVENTFD2): Likewise.
6169 (__ASSUME_SIGNALFD4): Likewise.
6170 (__ASSUME_DUP3): Likewise.
6171 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6172 (__ASSUME_DUP3): Do not define.
6173 (__ASSUME_EVENTFD2): Likewise.
6174 (__ASSUME_IN_NONBLOCK): Likewise.
6175 (__ASSUME_O_CLOEXEC): Likewise.
6176 (__ASSUME_PIPE2): Likewise.
6177 (__ASSUME_SIGNALFD4): Likewise.
6178 (__ASSUME_SOCK_CLOEXEC): Likewise.
6179 (__ASSUME_UTIMES): Undefine.
6180 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6181 (__ASSUME_UTIMES): Do not define.
6182 (__ASSUME_O_CLOEXEC): Likewise.
6183 (__ASSUME_SOCK_CLOEXEC): Likewise.
6184 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6185 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6187 (__ASSUME_PIPE2): Likewise.
6188 (__ASSUME_EVENTFD2): Likewise.
6189 (__ASSUME_SIGNALFD4): Likewise.
6190 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6191 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6193 (__ASSUME_EVENTFD2): Likewise.
6194 (__ASSUME_SIGNALFD4): Likewise.
6195 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6196 (__ASSUME_32BITUIDS): Likewise.
6197 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6198 (__ASSUME_IPC64): Likewise.
6199 (__ASSUME_ST_INO_64_BIT): Likewise.
6200 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6201 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6202 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6203 (__ASSUME_UTIMES): Do not define.
6204 (__ASSUME_PSELECT): Likewise.
6205 (__ASSUME_PPOLL): Likewise.
6206 (__ASSUME_O_CLOEXEC): Likewise.
6207 (__ASSUME_SOCK_CLOEXEC): Likewise.
6208 (__ASSUME_IN_NONBLOCK): Likewise.
6209 (__ASSUME_PIPE2): Likewise.
6210 (__ASSUME_EVENTFD2): Likewise.
6211 (__ASSUME_SIGNALFD4): Likewise.
6212 (__ASSUME_DUP3): Likewise.
6213 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6214 (__ASSUME_UTIMES): Likewise.
6215 (__ASSUME_O_CLOEXEC): Likewise.
6216 (__ASSUME_SOCK_CLOEXEC): Likewise.
6217 (__ASSUME_IN_NONBLOCK): Likewise.
6218 (__ASSUME_PIPE2): Likewise.
6219 (__ASSUME_EVENTFD2): Likewise.
6220 (__ASSUME_SIGNALFD4): Likewise.
6221 (__ASSUME_DUP3): Likewise.
6222 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6223 (__ASSUME_UTIMES): Likewise.
6224 (__ASSUME_O_CLOEXEC): Likewise.
6225 (__ASSUME_SOCK_CLOEXEC): Likewise.
6226 (__ASSUME_IN_NONBLOCK): Likewise.
6227 (__ASSUME_PIPE2): Likewise.
6228 (__ASSUME_EVENTFD2): Likewise.
6229 (__ASSUME_SIGNALFD4): Likewise.
6230 (__ASSUME_DUP3): Likewise.
6231 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6233 (__ASSUME_UTIMES): Likewise.
6234 (__ASSUME_EVENTFD2): Likewise.
6235 (__ASSUME_SIGNALFD4): Likewise.
6236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6237 (__ASSUME_O_CLOEXEC): Likewise.
6238 (__ASSUME_SOCK_CLOEXEC): Likewise.
6239 (__ASSUME_IN_NONBLOCK): Likewise.
6240 (__ASSUME_PIPE2): Likewise.
6241 (__ASSUME_EVENTFD2): Likewise.
6242 (__ASSUME_SIGNALFD4): Likewise.
6243 (__ASSUME_DUP3): Likewise.
6244 (__ASSUME_UTIMES): Undefine.
6246 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6247 feclearexcept. Remove symbol versioning code.
6248 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6249 symbol versioning code.
6250 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6251 symbol versioning code.
6252 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6253 feupdateenv. Remove symbol versioning code.
6254 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6255 fegetexceptflag. Remove symbol versioning code.
6256 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6257 fesetexceptflag. Remove symbol versioning code.
6258 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6259 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6260 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6261 (__posix_fadvise64_l32): Remove prototype.
6262 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6265 2014-05-13 Roland McGrath <roland@hack.frob.com>
6267 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6268 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6269 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6270 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6272 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6274 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6275 current working directory
6277 2014-05-13 Roland McGrath <roland@hack.frob.com>
6279 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6280 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6281 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6282 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6283 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6284 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6285 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6286 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6287 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6288 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6289 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6290 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6291 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6292 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6293 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6294 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6295 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6296 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6297 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6298 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6299 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6300 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6301 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6302 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6303 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6304 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6305 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6306 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6307 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6308 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6309 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6310 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6311 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6312 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6313 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6314 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6315 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6316 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6317 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6318 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6319 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6320 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6322 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6323 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6325 * sysdeps/unix/sysv/linux/arm/Makefile
6326 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6327 Add rt-aeabi_unwind_cpp_pr1.
6328 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6329 Add nptl-aeabi_unwind_cpp_pr1.
6330 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6331 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6332 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6333 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6334 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6335 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6337 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6338 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6339 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6340 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6342 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6343 Deconditionalize the code that was previously under [RESET_PID].
6344 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6346 * sysdeps/generic/exit-thread.h: New file.
6347 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6348 * include/unistd.h (__exit_thread): Remove declaration.
6349 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6350 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6351 * csu/libc-start.c: Include <exit-thread.h>.
6352 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6353 * nptl/pthread_create.c: Include <exit-thread.h>.
6354 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6355 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6356 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6357 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6358 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6359 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6360 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6361 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6362 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6363 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6364 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6365 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6366 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6367 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6368 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6369 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6370 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6372 2014-05-13 Andreas Schwab <schwab@suse.de>
6374 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6376 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6378 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6379 (__ASSUME_UTIMES): Do not condition on kernel version.
6380 (__ASSUME_PSELECT): Define unconditionally.
6381 (__ASSUME_PPOLL): Likewise.
6382 (__ASSUME_ATFCTS): Likewise.
6383 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6384 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6385 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6386 (__ASSUME_UTIMENSAT): Define unconditionally.
6387 (__ASSUME_PRIVATE_FUTEX): Likewise.
6388 (__ASSUME_FALLOCATE): Likewise.
6389 (__ASSUME_O_CLOEXEC): Likewise.
6390 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6391 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6392 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6393 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6394 (__ASSUME_IN_NONBLOCK): Likewise.
6395 (__ASSUME_PIPE2): Likewise.
6396 (__ASSUME_EVENTFD2): Likewise.
6397 (__ASSUME_SIGNALFD4): Likewise.
6398 (__ASSUME_DUP3): Likewise.
6399 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6400 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6401 (__ASSUME_AT_RANDOM): Likewise.
6402 (__ASSUME_PREADV): Likewise.
6403 (__ASSUME_PWRITEV): Likewise.
6404 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6405 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6406 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6407 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6408 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6410 (__ASSUME_O_CLOEXEC): Define unconditionally.
6411 (__ASSUME_PSELECT): Do not undefine conditionally.
6412 (__ASSUME_PPOLL): Likewise.
6413 (__ASSUME_ATFCTS): Likewise.
6414 (__ASSUME_SET_ROBUST_LIST): Likewise.
6415 (__ASSUME_UTIMENSAT): Likewise.
6416 (__ASSUME_FDATASYNC): Define unconditionally.
6417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6418 (__ASSUME_SIGFRAME_V2): Likewise.
6419 )__ASSUME_EVENTFD2): Likewise.
6420 (__ASSUME_SIGNALFD4): Likewise.
6421 (__ASSUME_PSELECT): Do not undefine conditionally.
6422 (__ASSUME_PPOLL): Likewise.
6423 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6424 (__ASSUME_PSELECT): Define unconditionally.
6425 (__ASSUME_PPOLL): Likewise.
6426 (__ASSUME_O_CLOEXEC): Likewise.
6427 (__ASSUME_SOCK_CLOEXEC): Likewise.
6428 (__ASSUME_IN_NONBLOCK): Likewise.
6429 (__ASSUME_PIPE2): Likewise.
6430 (__ASSUME_EVENTFD2): Likewise.
6431 (__ASSUME_SIGNALFD4): Likewise.
6432 (__ASSUME_DUP3): Likewise.
6433 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6434 (__ASSUME_O_CLOEXEC): Likewise.
6435 (__ASSUME_SOCK_CLOEXEC): Likewise.
6436 (__ASSUME_IN_NONBLOCK): Likewise.
6437 (__ASSUME_PIPE2): Likewise.
6438 (__ASSUME_EVENTFD2): Likewise.
6439 (__ASSUME_SIGNALFD4): Likewise.
6440 (__ASSUME_DUP3): Likewise.
6441 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6442 (__ASSUME_EVENTFD2): Likewise.
6443 (__ASSUME_SIGNALFD4): Likewise.
6444 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6446 2014-05-12 Andreas Schwab <schwab@suse.de>
6449 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6450 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6451 than maximum RPC packet size.
6452 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6453 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6454 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6455 (_nss_nis_getservbyport_r): Likewise.
6457 2014-05-12 Will Newton <will.newton@linaro.org>
6459 * malloc/Makefile (tests): Add tst-mallopt.
6460 * malloc/tst-mallopt.c: New file.
6462 2014-05-09 Roland McGrath <roland@hack.frob.com>
6464 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6465 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6467 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6469 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6470 (tst-tlsmod6.so): Likewise.
6472 2014-05-09 Roland McGrath <roland@hack.frob.com>
6474 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6476 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6479 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6480 and <dl-procinfo.h>.
6481 (__fegetenv): Save SSE state in envp->__eip if supported.
6482 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6483 envp->__eip if supported.
6484 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6485 and <dl-procinfo.h>.
6486 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6487 __data_offset and __data_selector in environment to 0. Set SSE
6489 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6491 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6493 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6495 2014-05-09 Will Newton <will.newton@linaro.org>
6497 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6498 and libc_relro_required for ARM.
6499 * sysdeps/arm/preconfigure: Regenerate.
6501 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6502 Stefan Liebler <stli@linux.vnet.ibm.com>
6504 * config.make.in (enable-lock-elision): New Makefile variable.
6505 * configure.ac: Likewise.
6506 * configure: Regenerate.
6507 * sysdeps/s390/configure.ac:
6508 Add check for gcc transactions support.
6509 * sysdeps/s390/configure: Regenerate.
6510 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6511 Build elision files if enabled.
6512 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6513 Add lock elision support for s390.
6514 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6515 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6516 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6517 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6518 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6519 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6520 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6524 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6526 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6528 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6529 (__lll_timedlock_elision, __lll_lock_elision)
6530 (__lll_unlock_elision, __lll_trylock_elision)
6531 (lll_timedlock_elision, lll_lock_elision)
6532 (lll_unlock_elision, lll_trylock_elision): Add.
6533 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6534 (pthread_mutex_t): Add lock elision support for s390.
6536 2014-05-14 Wilco <wdijkstr@arm.com>
6538 * sysdeps/arm/fclrexcpt.c: Cleanup.
6539 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6540 * sysdeps/arm/feenablxcpt.c: Cleanup.
6541 * sysdeps/arm/fegetenv.c: Cleanup.
6542 * sysdeps/arm/fegetexcept.c: Cleanup.
6543 * sysdeps/arm/fegetround.c: Cleanup.
6544 * sysdeps/arm/feholdexcpt.c: Cleanup.
6545 * sysdeps/arm/fesetenv.c: Cleanup.
6546 * sysdeps/arm/fesetround.c: Cleanup.
6547 * sysdeps/arm/feupdateenv.c: Cleanup.
6548 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6549 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6550 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6551 * sysdeps/arm/ftestexcept.c: Cleanup.
6552 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6553 * sysdeps/arm/setfpucw.c: Cleanup.
6555 2014-05-09 Will Newton <will.newton@linaro.org>
6557 * sysdeps/arm/armv7/strcmp.S: New file.
6558 * NEWS: Mention addition of ARMv7 optimized strcmp.
6560 2014-05-08 Roland McGrath <roland@hack.frob.com>
6562 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6563 look for %.ac rather than %.in.
6565 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6566 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6567 * sysdeps/mach/hurd/configure: Regenerated.
6568 * sysdeps/unix/sysv/linux/configure: Regenerated.
6570 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6572 2014-05-07 Steve Ellcey <sellcey@mips.com>
6575 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6579 2014-05-07 Andreas Schwab <schwab@suse.de>
6581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6582 when skipping over non-matching result from nscd.
6584 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6587 * nptl/sockperf.c (client): Check socket return value.
6590 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6591 nscd security class.
6593 2014-05-06 Roland McGrath <roland@hack.frob.com>
6595 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6596 * sysdeps/arm/unwind.h: ... here.
6598 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6601 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6604 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6606 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6607 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6608 multiarch strncpy for PPC64.
6609 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6610 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6612 multiarch optimizations.
6613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6614 (__libc_ifunc_impl_list): Likewise.
6615 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6616 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6617 multiarch stpncpy for PPC64.
6618 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6619 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6621 2014-05-06 Andreas Schwab <schwab@suse.de>
6624 * gmon/mcount.c (_MCOUNT_DECL): Use
6625 atomic_compare_and_exchange_bool_acq instead of
6626 catomic_compare_and_exchange_bool_acq.
6628 2014-05-05 Roland McGrath <roland@hack.frob.com>
6630 * elf/Makefile (others, install-bin): Remove pldd.
6631 (pldd-modules): Variable removed.
6632 ($(objpfx)pldd): Target removed.
6633 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6634 (others, install-bin): Append pldd here.
6635 ($(objpfx)pldd): New target.
6637 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6638 to 0, so the first #if test emitted later doesn't see it undefined.
6639 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6640 * sysdeps/gnu/errlist.c: Regenerated.
6642 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6644 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6645 [libc_hidden_builtin_def]: Define to empty value.
6646 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6647 [libc_hidden_builtin_def]: Likewise.
6648 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6649 [libc_hidden_builtin_def]: Likewise.
6650 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6651 [libc_hidden_builtin_def]: Likewise.
6652 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6653 __redirect_memcpy and define ifunc as default hidden symbol.
6654 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6655 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6657 2014-05-04 Adam Conrad <adconrad@0c3.net>
6659 * locale/iso-4217.def: Reintroduce XDR currency.
6661 2014-05-04 Allan McRae <allan@archlinux.org>
6663 * po/eo.po: Update Esperanto translation from translation project.
6665 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6667 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6668 and FEATURE_INDEX_MAX to 1.
6669 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6671 2014-05-01 Steve Ellcey <sellcey@mips.com>
6673 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6674 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6675 * iconvdata/big5.c (ONE_DIRECTION): Define.
6676 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6677 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6678 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6679 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6680 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6681 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6682 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6683 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6684 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6685 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6686 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6687 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6688 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6689 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6690 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6691 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6692 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6693 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6694 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6695 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6696 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6697 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6698 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6699 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6700 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6701 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6702 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6703 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6704 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6705 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6706 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6707 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6708 * iconvdata/johab.c (ONE_DIRECTION): Define.
6709 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6710 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6711 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6712 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6713 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6714 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6715 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6716 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6717 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6718 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6720 2014-05-01 Roland McGrath <roland@hack.frob.com>
6722 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6723 (_IO_JUMPS_OFFSET): Define to 0.
6725 * nptl/sysdeps/pthread/bits/libc-lock.h
6726 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6727 (__libc_lock_define_initialized_recursive): Always define using
6728 initializer. Modern compilers treat uninitialized (implicit zero) and
6729 explicit zero initializers the same (i.e. put the datum in bss).
6731 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6733 * nscd/nscd-client.h: Include <string.h>.
6735 2014-05-01 David S. Miller <davem@davemloft.net>
6738 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6739 multiple zero bytes exist at the end of a string.
6740 Reported by Aurelien Jarno <aurelien@aurel32.net>
6742 * string/test-strcmp.c (check): Add explicit test for situations where
6743 there are multiple zero bytes after the first.
6745 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6748 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6749 when compiling wprintf.
6750 * stdio-common/tstdiomisc.c (t3): New function.
6753 2014-05-01 Steve Ellcey <sellcey@mips.com>
6755 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6756 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6757 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6758 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6760 2014-05-01 Steve Ellcey <sellcey@mips.com>
6762 * stdlib/longlong.h: Updated from GCC.
6764 2014-05-01 Will Newton <will.newton@linaro.org>
6765 Bernard Ogden <bernie.ogden@linaro.org>
6767 * NEWS: Update fixed bug list.
6770 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6772 2014-04-30 David S. Miller <davem@davemloft.net>
6774 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6775 (libc_feholdexcept_setround_sparc_ctx): New function.
6776 (libc_fesetenv_sparc_ctx): Likewise.
6777 (libc_feupdateenv_sparc_ctx): Likewise.
6778 (libc_feholdsetround_sparc_ctx): Likewise.
6779 (libc_feholdexcept_setround_ctx): Define.
6780 (libc_feholdexcept_setroundf_ctx): Likewise.
6781 (libc_feholdexcept_setroundl_ctx): Likewise.
6782 (libc_fesetenv_ctx): Likewise.
6783 (libc_fesetenvf_ctx): Likewise.
6784 (libc_fesetenvl_ctx): Likewise.
6785 (libc_feupdateenv_ctx): Likewise.
6786 (libc_feupdateenvf_ctx): Likewise.
6787 (libc_feupdateenvl_ctx): Likewise.
6788 (libc_feresetround_ctx): Likewise.
6789 (libc_feresetroundf_ctx): Likewise.
6790 (libc_feresetroundl_ctx): Likewise.
6791 (libc_feholdsetround_ctx): Likewise.
6792 (libc_feholdsetroundf_ctx): Likewise.
6793 (libc_feholdsetroundl_ctx): Likewise.
6795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6796 with __USE_GNU instead of XOPEN cpp guards.
6798 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6802 with XOPEN cpp guards.
6804 2014-04-30 Julian Brown <julian@codesourcery.com>
6807 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6810 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6813 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6815 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6816 * sysdeps/unix/sysv/linux/configure: Regenerated.
6817 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6818 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6819 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6820 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6821 * README: Update reference to required Linux kernel version.
6822 * manual/install.texi (Linux): Update reference to required Linux
6823 kernel headers version.
6824 * INSTALL: Regenerated.
6826 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6828 [POSIX] (limits.h): Likewise.
6829 [POSIX] (math.h): Likewise.
6830 [POSIX] (sys/wait.h): Likewise.
6831 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6833 [POSIX] (stddef.h): Do not allow header inclusion.
6835 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6839 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6841 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6842 Return immediately after lll_futex_wake.
6844 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6847 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6849 (datahead_init_pos): Call datahead_init_common early.
6850 (datahead_init_neg): Likewise.
6852 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6853 datahead_init_neg): New functions.
6854 * nscd/aicache.c (addhstaiX): Use them.
6855 * nscd/grpcache.c (cache_addgr): Likewise.
6856 * nscd/hstcache.c (cache_addhst): Likewise.
6857 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6858 * nscd/netgroupcache.c (do_notfound): Likewise.
6859 (addgetnetgrentX): Likewise.
6860 (addinnetgrX): Likewise.
6861 * nscd/pwdcache.c (cache_addpw): Likewise.
6862 * nscd/servicescache.c (cache_addserv): Likewise.
6864 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6865 Atsushi Onoe <atsushi@onoe.org>
6870 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6871 one response is valid.
6872 * resolv/res_send.c (send_dg): Check for validity of other
6873 response if the current response is a referral.
6875 2014-04-29 Steve Ellcey <sellcey@mips.com>
6877 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6879 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6882 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6883 Always divide by positive zero when computing -Inf result.
6884 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6885 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6887 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6889 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6890 FPSCR if value do not change.
6891 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6892 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6893 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6894 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6895 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6896 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6899 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6901 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6902 * sysdeps/unix/sysv/linux/hppa: Move directory from
6903 ports/systeps/unix/sysv/linux/hppa.
6904 * README: Update listing for hppa-*-linux-gnu.
6906 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6909 * manual/stdio.texi (Hook functions): Fix types of stream hook
6912 * socket/sys/socket.h: Fix typo in comment.
6914 2014-04-28 Wilco <wdijkstr@arm.com>
6916 * sysdeps/arm/fenv_private.h: New file.
6917 * sysdeps/arm/math_private.h: New file.
6918 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6920 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6922 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6924 (La_x86_64_retval): Likewise.
6926 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6928 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6929 fpsr if value didn't change.
6930 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6931 to fpcr if value didn't change.
6932 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6933 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6934 fpsr or fpcr if value didn't change.
6935 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6936 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6937 fpcr if value didn't change.
6938 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6939 to fpsr if value didn't change.
6941 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6943 * nptl/tst-sem3.c: Use test-skeleton.c
6944 (main): Rename to do_test. Use return instead of
6946 * nptl/tst-sem4.c: Use test-skeleton.c
6947 (main): Rename to do_test.
6949 2014-04-22 David S. Miller <davem@davemloft.net>
6951 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6952 (struct sigaction): New struct member __glibc_reserved0, change
6953 type of sa_flags to int.
6955 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6957 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6958 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6960 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6962 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6963 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6965 2014-04-22 Will Newton <will.newton@linaro.org>
6966 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6968 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6969 (__longjmp): Add longjmp and longjmp_target SystemTap
6971 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6972 (__sigsetjmp): Add setjmp SystemTap probe.
6974 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6976 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6979 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6983 * sysdeps/powerpc/fpu/fenv_private.h
6984 (libc_feholdexcept_setroundl_ctx): Define to
6985 libc_feholdexcept_setround_ppc_ctx.
6986 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6987 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6988 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6989 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6991 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6993 * sysdeps/aarch64/math-tests.h: New file.
6995 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6997 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7000 Check and set bit_AVX2_Usable.
7001 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7003 (bit_AVX2): Likewise.
7004 (index_AVX2_Usable): Likewise.
7005 (CPUID_AVX2): Likewise.
7006 (HAS_AVX2): Likewise.
7008 2014-04-17 Will Newton <will.newton@linaro.org>
7010 * manual/setjmp.texi (System V contexts): Add note that
7011 calling setcontext on a context created by a call to a
7012 signal handler is undefined. Update text to note that
7013 setcontext from a signal handler is possible but not
7017 * stdlib/tst-setcontext.c: Include signal.h.
7018 (main): Check that the signal stack before and
7019 after swapcontext is the same.
7021 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7022 Re-implement to restore registers in user code and avoid
7023 rt_sigreturn system call.
7025 2014-04-17 Wilco <wdijkstr@arm.com>
7027 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7028 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7029 * math/test-fenv.c: Skip exception trap tests on targets which only
7030 support non-stop mode.
7032 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7033 Wilco Dijkstra <wilco.dijkstra@arm.com>
7035 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7036 (libc_feholdsetround_aarch64_ctx)
7037 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7038 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7039 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7040 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7041 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7042 (libc_feresetround_noexl_ctx): Define.
7044 2014-04-16 Richard Henderson <rth@redhat.com>
7046 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7048 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7051 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7052 const from the non-libc, non-ldso copy.
7054 * sysdeps/alpha/libm-test-ulps: Regenerate.
7056 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7057 Wilco Dijkstra <wilco.dijkstra@arm.com>
7059 * sysdeps/aarch64/fpu/math_private.h: New file.
7061 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7063 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7065 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7068 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7069 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7071 Intel MPX bound registers before _dl_profile_fixup.
7072 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7073 registers after _dl_profile_fixup. Save and restore bound
7074 registers bnd0/bnd1 when calling _dl_call_pltexit.
7075 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7076 (LR_BND_OFFSET): Likewise.
7077 (LRV_BND0_OFFSET): Likewise.
7078 (LRV_BND1_OFFSET): Likewise.
7080 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7082 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7084 * sysdeps/mach/hurd/i386/tls.h: ... here.
7085 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7086 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7089 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7091 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7093 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7095 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7097 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7100 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7101 * sysdeps/s390/configure: Regenerate.
7104 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7105 Set round-to-nearest internally to reduce error accumulation.
7107 2014-04-16 Alan Modra <amodra@gmail.com>
7111 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7112 * math/libm-test.inc (frexp_test_data): Add tests.
7113 * NEWS: Update fixed bug list.
7115 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7117 * benchtests/Makefile: Depend on libraries in build directory.
7118 (bench-math): Separate out math tests.
7119 (bench-pthread): Separate out pthread tests.
7120 (bench): Include math and pthread tests.
7122 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7125 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7126 _dl_debug_initialize.
7128 * configure.ac: Remove SELinux header check.
7129 * configure: Regenerate.
7130 * nscd/selinux.c (perms): Array of const char* to permission names.
7131 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7132 default policy. Call string_to_security_class and string_to_av_perm to
7133 translate strings. Enforce default policy and call avs_has_perm with
7134 results of translated strings.
7136 2014-04-13 David S. Miller <davem@davemloft.net>
7138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7140 2014-04-12 Allan McRae <allan@archlinux.org>
7143 * manual/string.texi (Collation Functions): Fix qsort argument
7145 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7147 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7149 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7150 Make the test a no-op if there are no exceptions defined.
7152 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7154 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7155 enable-hardcoded-path-in-tests
7157 2014-04-11 Will Newton <will.newton@linaro.org>
7159 * benchtests/Makefile (extra-objs): Add json-lib.o.
7160 (bench-func): Tidy up JSON output.
7161 * benchtests/bench-skeleton.c: Include json-lib.h.
7162 (main): Use JSON library functions to do output of
7164 * benchtests/bench-timing-type.c (main): Output the
7165 timing type simply, leaving formatting to the user.
7166 * benchtests/json-lib.c: New file.
7167 * benchtests/json-lib.h: Likewise.
7169 2014-04-11 Torvald Riegel <triegel@redhat.com>
7172 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7173 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7174 memory barriers. Add comments.
7175 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7176 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7177 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7178 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7179 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7180 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7182 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7184 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7185 * sysdeps/s390/s390-64/configure.ac: ... this ...
7186 * sysdeps/s390/configure.ac: ... to here.
7187 * sysdeps/s390/s390-32/configure: Delete file.
7188 * sysdeps/s390/s390-64/configure: Delete file.
7189 * sysdeps/s390/configure: Regenerate.
7191 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7193 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7195 2014-04-11 Will Newton <will.newton@linaro.org>
7197 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7198 to zero if it is not defined elsewhere. (mtrim): Test
7199 the value of MALLOC_DEBUG with #if rather than #ifdef.
7201 2014-04-10 Torvald Riegel <triegel@redhat.com>
7203 * benchtests/pthread_once-inputs: New file.
7204 * benchtests/pthread_once-source.c: New file.
7205 * benchtests/README: Update documentation.
7207 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7208 H.J. Lu <hongjiu.lu@intel.com>
7211 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7212 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7213 * sysdeps/x86_64/configure: Regenerated.
7214 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7216 (REGISTER_SAVE_RAX): Likewise.
7217 (REGISTER_SAVE_RCX): Likewise.
7218 (REGISTER_SAVE_RDX): Likewise.
7219 (REGISTER_SAVE_RSI): Likewise.
7220 (REGISTER_SAVE_RDI): Likewise.
7221 (REGISTER_SAVE_R8): Likewise.
7222 (REGISTER_SAVE_R9): Likewise.
7223 (REGISTER_SAVE_BND0): Likewise.
7224 (REGISTER_SAVE_BND1): Likewise.
7225 (REGISTER_SAVE_BND2): Likewise.
7226 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7227 bound registers when calling _dl_fixup.
7229 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7231 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7232 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7234 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7235 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7236 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7237 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7238 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7239 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7240 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7242 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7245 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7246 pathconf(_PC_NAME_MAX).
7248 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7250 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7252 (__PTHREAD_SPINS): Move definition to ...
7253 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7254 (__PTHREAD_SPINS): ... here.
7255 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7256 (__PTHREAD_SPIN): Likewise.
7257 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7258 (__PTHREAD_SPIN): Likewise.
7259 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7260 (__PTHREAD_SPIN): Likewise.
7261 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7262 (__PTHREAD_SPIN): Likewise.
7263 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7264 (__PTHREAD_SPIN): Likewise.
7265 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7266 (__PTHREAD_SPIN): Likewise.
7267 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7268 (__PTHREAD_SPIN): Likewise.
7269 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7270 (__PTHREAD_SPIN): Likewise.
7271 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7272 (__PTHREAD_SPIN): Likewise.
7273 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7274 (__PTHREAD_SPIN): Likewise.
7275 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7276 (__PTHREAD_SPIN): Likewise.
7277 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7278 (__PTHREAD_SPIN): Likewise.
7280 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7281 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7282 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7283 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7285 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7286 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7287 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7288 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7290 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7291 strlen symbol for non multi-arch builds.
7292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7293 missing hidden_def and weak_alias.
7295 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7297 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7299 2014-04-07 Will Newton <will.newton@linaro.org>
7301 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7302 and contents. [!_LIBC] Remove #ifndef and contents.
7303 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7304 * string/memccpy.c (__memccpy): Use ANSI prototype.
7305 * string/memfrob.c (memfrob): Likewise.
7306 * string/strcoll.c (STRCOLL): Likewise.
7307 * string/strlen.c (strlen): Likewise.
7308 * string/strtok.c (STRTOK): Likewise.
7309 * string/strcat.c: Remove unused #include of memcopy.h.
7310 (strcat): Use ANSI prototype.
7311 * string/strchr.c: Remove unused #include of memcopy.h.
7312 (strchr): Use ANSI prototype.
7313 * string/strcmp.c: Remove unused #include of memcopy.h.
7314 (strcmp): Use ANSI prototype.
7315 * string/strcpy.c: Remove unused #include of memcopy.h.
7316 (strcpy): Use ANSI prototype.
7318 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7320 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7321 * config.make.in (config-extra-cppflags): Set it from
7322 libc_extra_cppflags.
7323 * configure.ac (libc_extra_cflags): Make it accumulate over
7324 configure fragments.
7325 (libc_extra_cppflags): New flag.
7326 * configure. Regenerate.
7327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7328 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7329 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7334 result for FE_DOWNWARD rounding mode.
7335 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7339 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7341 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7342 in function argument name.
7344 2014-04-03 David Svoboda <svoboda@cert.org>
7347 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7350 2014-04-03 Roland McGrath <roland@hack.frob.com>
7352 * elf/dl-unmap-segments.h: New file.
7353 * sysdeps/generic/ldsodefs.h
7354 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7355 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7356 * elf/dl-fptr.c: Likewise.
7357 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7358 * sysdeps/aarch64/tlsdesc.c: Likewise.
7359 * sysdeps/arm/tlsdesc.c: Likewise.
7360 * sysdeps/i386/tlsdesc.c: Likewise.
7361 * sysdeps/tile/dl-runtime.c: Likewise.
7362 * sysdeps/x86_64/tlsdesc.c: Likewise.
7363 * elf/dl-load.h: New file.
7364 * elf/dl-load.c: Include it.
7365 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7366 Macros moved to dl-load.h.
7367 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7368 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7369 Use _dl_unmap_segments in place of __munmap.
7370 Break out segment-mapping loop into ...
7371 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7373 2014-04-03 Will Newton <will.newton@linaro.org>
7375 * elf/dl-lookup.c (do_lookup_x): Remove comment
7376 referring to nested function and move variable
7377 declarations down to before first use.
7379 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7383 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7385 * math/s_catanf.c (__catanf): Likewise.
7386 * math/s_catanh.c (__catanh): Likewise.
7387 * math/s_catanhf.c (__catanhf): Likewise.
7388 * math/s_catanhl.c (__catanhl): Likewise.
7389 * math/s_catanl.c (__catanl): Likewise.
7390 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7391 by positive zero when computing -Inf result.
7392 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7393 (catanh_test): Likewise.
7394 * sysdeps/i386/fpu/libm-test-ulps: Update.
7395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7398 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7399 instead of using underflowing value in computing result.
7400 * math/s_clog10.c (__clog10): Likewise.
7401 * math/s_clog10f.c (__clog10f): Likewise.
7402 * math/s_clog10l.c (__clog10l): Likewise.
7403 * math/s_clogf.c (__clogf): Likewise.
7404 * math/s_clogl.c (__clogl): Likewise.
7405 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7406 (clog10_test): Likewise.
7407 * sysdeps/i386/fpu/libm-test-ulps: Update.
7408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7410 2014-04-02 Alan Modra <amodra@gmail.com>
7413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7414 output when value is near a power of two. Use int64_t for lx and
7415 remove casts. Use decimal rather than hex exponent constants.
7416 Don't use long double multiplication when double will suffice.
7417 * math/libm-test.inc (nextafter_test_data): Add tests.
7418 * NEWS: Add 16739 and 16786 to bug list.
7420 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7422 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7424 2014-04-01 Will Newton <will.newton@linaro.org>
7426 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7427 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7429 2014-04-01 Florian Weimer <fweimer@redhat.com>
7432 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7433 * nptl/tst-setuid2.c: New file.
7434 * nptl/Makefile (xtests): Add tst-setuid2.
7436 2014-04-01 Alan Modra <amodra@gmail.com>
7439 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7441 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7445 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7446 set errno as appropriate.
7447 * math/w_scalbf.c (__scalbf): Likewise.
7448 * math/w_scalbl.c (__scalbl): Likewise.
7449 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7450 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7451 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7455 * math/w_atan2.c: Include <errno.h>.
7456 (__atan2): Set errno for result underflowing to zero.
7457 * math/w_atan2f.c: Include <errno.h>.
7458 (__atan2f): Set errno for result underflowing to zero.
7459 * math/w_atan2l.c: Include <errno.h>.
7460 (__atan2l): Set errno for result underflowing to zero.
7461 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7463 * math/auto-libm-test-out: Regenerated.
7465 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7467 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7468 Encode instruction correctly in little endian.
7469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7471 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7473 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7475 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7478 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7481 * sysdeps/unix/sysv/linux/kernel-features.h
7482 [__sparc__ && !__arch64__ && !__sparc_v9__]
7483 (__ASSUME_SET_ROBUST_LIST): Do not define.
7484 [__sparc__ && !__arch64__ && !__sparc_v9__]
7485 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7486 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7488 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7489 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7490 (__ASSUME_REQUEUE_PI): Likewise.
7491 (__ASSUME_SET_ROBUST_LIST): Likewise.
7492 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7493 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7496 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7498 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7500 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7502 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7503 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7505 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7506 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7510 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7511 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7512 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7514 2014-03-31 Will Newton <will.newton@linaro.org>
7516 * benchtests/Makefile (bench): Add ffs and ffsll to list
7518 * benchtests/ffs-inputs: New file.
7519 * benchtests/ffsll-inputs: Likewise.
7521 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7524 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7525 too large before casting to int.
7526 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7527 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7528 * math/libm-test.inc (scalb_test_data): Add more tests.
7530 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7532 * benchtests/Makefile (DETAILED_OPT): New make option.
7533 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7535 * benchtests/bench-skeleton.c: Include stdbool.h.
7536 (main): Store and print timings per input.
7537 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7538 member to each argument value.
7539 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7540 (_print_arg_data): Initialize per-input timing to 0.
7542 * benchtests/Makefile (timing-type): New binary.
7543 (bench-clean): Also remove bench-timing-type.
7544 (bench): New target for timing-type.
7545 (bench-func): Print output in JSON format.
7546 * benchtests/bench-skeleton.c (main): Print output in JSON
7548 * benchtests/bench-timing-type.c: New file.
7549 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7550 (TIMING_PRINT_STATS): Remove.
7551 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7554 * benchtests/bench-modf.c: Remove.
7555 * benchtests/modf-inputs: New inputs file.
7557 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7560 * math/s_clog10.c (M_PI_LOG10E): New macro.
7561 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7562 imaginary parts are 0.
7563 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7564 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7565 imaginary parts are 0.
7566 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7567 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7568 imaginary parts are 0.
7569 * math/libm-test.inc (clog10_test_data): Update expected results
7570 for when real and imaginary parts are 0.
7572 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7574 * elf/dl-load.c: Finish conversion of __builtin_expect into
7577 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7580 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7581 1+x for argument with exponent below -67.
7582 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7584 * math/auto-libm-test-in: Add more tests of exp.
7585 * math/auto-libm-test-out: Regenerated.
7587 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7590 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7591 (nscd_getnetgrent): Use it.
7594 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7597 2014-03-27 Andi Kleen <ak@linux.intel.com>
7599 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7600 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7601 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7602 (lll_robust_unlock): Remove out of line section. Use cfi
7604 (LLL_STUB_UNWIND_INFO*): Remove.
7605 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7606 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7607 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7608 (lll_robust_unlock): Remove out of line section. Use cfi
7610 (LLL_STUB_UNWIND_INFO*): Remove.
7612 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7615 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7618 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7620 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7622 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7625 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7627 * math/test-fenv-preserve.c: New file.
7628 * math/Makefile (tests): Add test-fenv-preserve.
7630 2014-03-26 Will Newton <will.newton@linaro.org>
7632 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7634 2014-03-25 Roland McGrath <roland@hack.frob.com>
7636 * scripts/versionlist.awk: Partition the version sets and emit all
7637 GLIBC_* (sorted) before all others (sorted).
7639 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7641 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7642 GLIBC_2.2.5 version.
7644 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7646 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7649 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7654 2014-03-25 Andreas Schwab <schwab@suse.de>
7656 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7657 label to be used after in6ailist is initialized.
7659 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7661 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7662 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7664 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7668 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7670 (fp_formats): Update initializers.
7671 (init_fp_formats): Initialize new field.
7672 (output_for_one_input_case): Allow underflow for results up to
7674 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7675 * math/auto-libm-test-in: Don't mark some underflows from asin and
7677 * math/auto-libm-test-out: Regenerated.
7678 * sysdeps/i386/fpu/libm-test-ulps: Update.
7679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7681 2014-03-25 Andreas Schwab <schwab@suse.de>
7683 * libio/Makefile (tst-ftell-partial-wide-ENV)
7684 (tst-ftell-active-handler-ENV): Define.
7686 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7688 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7690 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7692 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7694 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7696 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7697 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7698 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7700 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7703 * elf/dl-load.c (open_verify): Add mode parameter.
7704 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7705 (open_path): Change from boolean 'secure' to complete flag 'mode'
7706 (_dl_map_object): Adjust.
7707 * elf/Makefile (tests): Add tst-dlopen-aout.
7708 * elf/tst-dlopen-aout.c: New test.
7710 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7713 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7714 (struct stat): Rename member pad0 to __glibc_reserved0.
7717 * sysdeps/s390/s390-32/bits/wordsize.h
7718 (__WORDSIZE32_SIZE_ULONG): New define.
7719 * sysdeps/s390/s390-64/bits/wordsize.h
7720 (__WORDSIZE32_SIZE_ULONG): Likewise.
7721 * sysdeps/generic/stdint.h (SIZE_MAX):
7722 Define as UL if __WORDSIZE32_SIZE_ULONG.
7725 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7726 (__glibc_reserved0): New variable.
7727 (sa_flags): Change type to int.
7729 * posix/Makefile (before-compile): Use += before-compile instead
7732 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7733 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7735 2014-03-20 Andreas Schwab <schwab@suse.de>
7738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7739 non-matching result from nscd.
7741 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7743 * scripts/bench.py: Moved to ...
7744 * benchtests/scripts/bench.py: ... here.
7745 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7747 2014-03-24 Andreas Schwab <schwab@suse.de>
7750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7751 alloca_account and account alloca use for struct in6ailist.
7753 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7756 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7757 rounding mode to recompute results that overflow to infinity or
7759 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7761 * math/auto-libm-test-out: Regenerated.
7762 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7763 (ccosh_test): Likewise.
7764 (csin_test_data): Use plus_oflow.
7765 (csin_test): Use ALL_RM_TEST.
7766 (csinh_test_data): Use plus_oflow.
7767 (csinh_test): Use ALL_RM_TEST.
7768 * sysdeps/i386/fpu/libm-test-ulps: Update.
7769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7771 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7773 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7774 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7775 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7778 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7780 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7781 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7782 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7783 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7785 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7786 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7788 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7789 * sysdeps/i386/fpu/libm-test-ulps: Update.
7790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7792 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7794 * scripts/bench.pl: Remove file.
7795 * scripts/bench.py: New benchmark script.
7796 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7797 * benchtests/README: Mention python dependency.
7798 * scripts/pylintrc: New file.
7799 * scripts/pylint: New file.
7801 * bits/mathdef.h: Use #ifdef instead of #if.
7802 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7803 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7804 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7805 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7806 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7807 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7809 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7810 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7812 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7814 and strpbrk-ppc64 objects.
7815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7816 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7817 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7818 multiarch strpbrk for POWER7.
7819 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7820 multiarch strpbrk for PPC64.
7821 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7823 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7826 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7828 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7829 (atan_test): Likewise.
7830 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7831 (atanh_test): Use ALL_RM_TEST.
7832 (atan2_test_data): Likewise.
7833 (cabs_test): Likewise.
7834 (cacosh_test): Likewise.
7835 (carg_test): Likewise.
7836 (casin_test): Likewise.
7837 (casinh_test): Likewise.
7838 (cbrt_test): Likewise.
7839 (csqrt_test): Likewise.
7840 (erf_test): Likewise.
7841 (erfc_test): Likewise.
7842 (pow10_test): Likewise.
7843 (exp2_test): Likewise.
7844 (hypot_test): Likewise.
7845 (j0_test): Likewise.
7846 (j1_test): Likewise.
7847 (lgamma_test): Likewise.
7848 (gamma_test): Likewise.
7849 (sincos_test): Likewise.
7850 (tanh_test): Likewise.
7851 (y0_test): Likewise.
7852 (y1_test): Likewise.
7853 * sysdeps/i386/fpu/libm-test-ulps: Update.
7854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7856 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7858 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7860 and strcspn-ppc64 objects.
7861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7862 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7863 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7864 multiarch strcspn for POWER7.
7865 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7866 multiarch strcspn for PPC64.
7867 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7869 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7872 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7874 * math/gen-libm-test.pl (generate_testfile): Expect only function
7875 name as argument to AUTO_TESTS_* and pass results for all rounding
7876 modes to parse_args.
7877 (parse_auto_input): Separate inputs of automatic tests from
7878 outputs before storing in %auto_tests.
7879 * math/libm-test.inc (acos_test_data): Update call to
7881 (acos_test): Use ALL_RM_TEST.
7882 (acos_tonearest_test_data): Remove.
7883 (acos_test_tonearest): Likewise.
7884 (acos_towardzero_test_data): Likewise.
7885 (acos_test_towardzero): Likewise.
7886 (acos_downward_test_data): Likewise.
7887 (acos_test_downward): Likewise.
7888 (acos_upward_test_data): Likewise.
7889 (acos_test_upward): Likewise.
7890 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7891 (asin_test_data): Likewise.
7892 (asin_test): Use ALL_RM_TEST.
7893 (asin_tonearest_test_data): Remove.
7894 (asin_test_tonearest): Likewise.
7895 (asin_towardzero_test_data): Likewise.
7896 (asin_test_towardzero): Likewise.
7897 (asin_downward_test_data): Likewise.
7898 (asin_test_downward): Likewise.
7899 (asin_upward_test_data): Likewise.
7900 (asin_test_upward): Likewise.
7901 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7902 (atan_test_data): Likewise.
7903 (atanh_test_data): Likewise.
7904 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7905 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7906 (carg_test_data): Likewise.
7907 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7908 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7909 (ccosh_test_data): Likewise.
7910 (cexp_test_data): Likewise.
7911 (clog_test_data): Likewise.
7912 (clog10_test_data): Likewise.
7913 (cos_test_data): Update call to AUTO_TESTS_f_f.
7914 (cos_test): Use ALL_RM_TEST.
7915 (cos_tonearest_test_data): Remove.
7916 (cos_test_tonearest): Likewise.
7917 (cos_towardzero_test_data): Likewise.
7918 (cos_test_towardzero): Likewise.
7919 (cos_downward_test_data): Likewise.
7920 (cos_test_downward): Likewise.
7921 (cos_upward_test_data): Likewise.
7922 (cos_test_upward): Likewise.
7923 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7924 (cosh_test): Use ALL_RM_TEST.
7925 (cosh_tonearest_test_data): Remove.
7926 (cosh_test_tonearest): Likewise.
7927 (cosh_towardzero_test_data): Likewise.
7928 (cosh_test_towardzero): Likewise.
7929 (cosh_downward_test_data): Likewise.
7930 (cosh_test_downward): Likewise.
7931 (cosh_upward_test_data): Likewise.
7932 (cosh_test_upward): Likewise.
7933 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7934 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7935 (ctan_test_data): Likewise.
7936 (ctan_test): Use ALL_RM_TEST.
7937 (ctan_tonearest_test_data): Remove.
7938 (ctan_test_tonearest): Likewise.
7939 (ctan_towardzero_test_data): Likewise.
7940 (ctan_test_towardzero): Likewise.
7941 (ctan_downward_test_data): Likewise.
7942 (ctan_test_downward): Likewise.
7943 (ctan_upward_test_data): Likewise.
7944 (ctan_test_upward): Likewise.
7945 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7946 (ctanh_test): Use ALL_RM_TEST.
7947 (ctanh_tonearest_test_data): Remove.
7948 (ctanh_test_tonearest): Likewise.
7949 (ctanh_towardzero_test_data): Likewise.
7950 (ctanh_test_towardzero): Likewise.
7951 (ctanh_downward_test_data): Likewise.
7952 (ctanh_test_downward): Likewise.
7953 (ctanh_upward_test_data): Likewise.
7954 (ctanh_test_upward): Likewise.
7955 (erf_test_data): Update call to AUTO_TESTS_f_f.
7956 (erfc_test_data): Likewise.
7957 (exp_test_data): Likewise.
7958 (exp_test): Use ALL_RM_TEST.
7959 (exp_tonearest_test_data): Remove.
7960 (exp_test_tonearest): Likewise.
7961 (exp_towardzero_test_data): Likewise.
7962 (exp_test_towardzero): Likewise.
7963 (exp_downward_test_data): Likewise.
7964 (exp_test_downward): Likewise.
7965 (exp_upward_test_data): Likewise.
7966 (exp_test_upward): Likewise.
7967 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7968 (exp10_test): Use ALL_RM_TEST.
7969 (exp10_tonearest_test_data): Remove.
7970 (exp10_test_tonearest): Likewise.
7971 (exp10_towardzero_test_data): Likewise.
7972 (exp10_test_towardzero): Likewise.
7973 (exp10_downward_test_data): Likewise.
7974 (exp10_test_downward): Likewise.
7975 (exp10_upward_test_data): Likewise.
7976 (exp10_test_upward): Likewise.
7977 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7978 (expm1_test_data): Likewise.
7979 (expm1_test): Use ALL_RM_TEST.
7980 (expm1_tonearest_test_data): Remove.
7981 (expm1_test_tonearest): Likewise.
7982 (expm1_towardzero_test_data): Likewise.
7983 (expm1_test_towardzero): Likewise.
7984 (expm1_downward_test_data): Likewise.
7985 (expm1_test_downward): Likewise.
7986 (expm1_upward_test_data): Likewise.
7987 (expm1_test_upward): Likewise.
7988 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7989 (fma_test): Use ALL_RM_TEST.
7990 (fma_towardzero_test_data): Remove.
7991 (fma_test_towardzero): Likewise.
7992 (fma_downward_test_data): Likewise.
7993 (fma_test_downward): Likewise.
7994 (fma_upward_test_data): Likewise.
7995 (fma_test_upward): Likewise.
7996 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7997 (j0_test_data): Update call to AUTO_TESTS_f_f.
7998 (j1_test_data): Likewise.
7999 (jn_test_data): Update call to AUTO_TESTS_if_f.
8000 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8001 (log_test_data): Update call to AUTO_TESTS_f_f.
8002 (log10_test_data): Likewise.
8003 (log1p_test_data): Likewise.
8004 (log2_test_data): Likewise.
8005 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8006 (pow_tonearest_test_data): Likewise.
8007 (sin_test_data): Update call to AUTO_TESTS_f_f.
8008 (sin_test): Use ALL_RM_TEST.
8009 (sin_tonearest_test_data): Remove.
8010 (sin_test_tonearest): Likewise.
8011 (sin_towardzero_test_data): Likewise.
8012 (sin_test_towardzero): Likewise.
8013 (sin_downward_test_data): Likewise.
8014 (sin_test_downward): Likewise.
8015 (sin_upward_test_data): Likewise.
8016 (sin_test_upward): Likewise.
8017 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8018 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8019 (sinh_test): Use ALL_RM_TEST.
8020 (sinh_tonearest_test_data): Remove.
8021 (sinh_test_tonearest): Likewise.
8022 (sinh_towardzero_test_data): Likewise.
8023 (sinh_test_towardzero): Likewise.
8024 (sinh_downward_test_data): Likewise.
8025 (sinh_test_downward): Likewise.
8026 (sinh_upward_test_data): Likewise.
8027 (sinh_test_upward): Likewise.
8028 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8029 (sqrt_test): Use ALL_RM_TEST.
8030 (sqrt_tonearest_test_data): Remove.
8031 (sqrt_test_tonearest): Likewise.
8032 (sqrt_towardzero_test_data): Likewise.
8033 (sqrt_test_towardzero): Likewise.
8034 (sqrt_downward_test_data): Likewise.
8035 (sqrt_test_downward): Likewise.
8036 (sqrt_upward_test_data): Likewise.
8037 (sqrt_test_upward): Likewise.
8038 (tan_test_data): Update call to AUTO_TESTS_f_f.
8039 (tan_test): Use ALL_RM_TEST.
8040 (tan_tonearest_test_data): Remove.
8041 (tan_test_tonearest): Likewise.
8042 (tan_towardzero_test_data): Likewise.
8043 (tan_test_towardzero): Likewise.
8044 (tan_downward_test_data): Likewise.
8045 (tan_test_downward): Likewise.
8046 (tan_upward_test_data): Likewise.
8047 (tan_test_upward): Likewise.
8048 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8049 (tgamma_test_data): Likewise.
8050 (y0_test_data): Likewise.
8051 (y1_test_data): Likewise.
8052 (yn_test_data): Update call to AUTO_TESTS_if_f.
8053 (main): Do not call removed functions.
8055 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8057 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8058 (ldexp_test_data): Remove.
8059 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8061 (scalb_test): Use ALL_RM_TEST.
8063 2014-03-19 Andreas Schwab <schwab@suse.de>
8065 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8067 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8070 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8071 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8072 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8074 (__ASSUME_PREADV): Undefine.
8075 (__ASSUME_PWRITEV): Likewise.
8077 2014-03-18 Roland McGrath <roland@hack.frob.com>
8079 * bits/mman-linux.h: Add comment about non-Linux use.
8080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8081 bits/mman-linux.h resting place.
8083 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8084 * bits/mman-linux.h: ... here.
8086 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8088 * conform/conformtest.pl: Add standard definition when calling C
8089 preprocessor on data files.
8090 (checknamespace): Remove unused variable.
8092 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8094 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8095 minus_oflow, plus_uflow and minus_uflow in expected results.
8096 * math/libm-test.inc (scalbn_test_data): Add more tests of
8097 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8099 (scalbn_test): Use ALL_RM_TEST.
8100 (scalbln_test_data): Add more tests of negative arguments. Use
8101 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8102 (scalbln_test): Use ALL_RM_TEST.
8104 2014-03-18 Roland McGrath <roland@hack.frob.com>
8106 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8108 2014-03-18 Will Newton <will.newton@linaro.org>
8110 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8113 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8115 * Makerules [!subdir] (check-abi): Exit with error status if a
8118 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8120 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8121 for rint. Include results for all rounding modes.
8122 (nearbyint_test): Use ALL_RM_TEST.
8123 (rint_test_data): Include all tests used for nearbyint.
8125 2014-03-17 Will Newton <will.newton@linaro.org>
8127 * nptl/sysdeps/pthread/pthread.h: Revert previous
8130 * sysdeps/generic/ldsodefs.h: Revert previous
8133 * libio/genops.c: Revert previous change.
8134 * libio/libioP.h: Likewise.
8135 * stdio-common/vfprintf.c: Likewise.
8137 * sysdeps/generic/math_private.h: Revert previous
8140 * sysdeps/generic/math_private.h: Check whether
8141 HAVE_RM_CTX is defined with #ifdef rather
8144 * argp/argp-fmtstream.h: Check whether
8145 __STRICT_ANSI__ is defined with #ifdef rather
8147 * argp/argp.h: Likewise.
8149 * libio/genops.c: Check whether
8150 _IO_JUMPS_OFFSET is defined with #ifdef rather
8152 * libio/libioP.h: Likewise.
8153 * stdio-common/vfprintf.c: Likewise.
8155 * sysdeps/generic/ldsodefs.h: Check whether
8156 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8159 * nptl/sysdeps/pthread/pthread.h: Check
8160 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8163 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8165 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8167 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8171 * libio/fileops.c (_IO_file_open): Seek to end of file but
8172 don't cache the offset.
8173 (get_file_offset): Remove function.
8174 (do_ftell): Use cached offset when available.
8175 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8176 don't cache the offset.
8177 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8179 (do_one_test): Call it.
8180 (do_ftell_test): Fix up expected old offset for a+ mode.
8181 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8184 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8185 up test status with function return status.
8186 (do_write_test): Likewise.
8187 (do_append_test): Likewise.
8189 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8190 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8193 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8195 * math/gen-libm-test.pl (parse_args): Handle results specified for
8196 each rounding mode separately.
8197 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8198 tests and results from lrint_tonearest_test_data,
8199 lrint_towardzero_test_data, lrint_downward_test_data and
8200 lrint_upward_test_data.
8201 (lrint_test): Use ALL_RM_TEST.
8202 (lrint_tonearest_test_data): Remove.
8203 (lrint_test_tonearest): Likewise.
8204 (lrint_towardzero_test_data): Likewise.
8205 (lrint_test_towardzero): Likewise.
8206 (lrint_downward_test_data): Likewise.
8207 (lrint_test_downward): Likewise.
8208 (lrint_upward_test_data): Likewise.
8209 (lrint_test_upward): Likewise.
8210 (llrint_test_data): Merge in per-rounding-mode tests and results
8211 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8212 llrint_downward_test_data and llrint_upward_test_data.
8213 (llrint_test): Use ALL_RM_TEST.
8214 (llrint_tonearest_test_data): Remove.
8215 (llrint_test_tonearest): Likewise.
8216 (llrint_towardzero_test_data): Likewise.
8217 (llrint_test_towardzero): Likewise.
8218 (llrint_downward_test_data): Likewise.
8219 (llrint_test_downward): Likewise.
8220 (llrint_upward_test_data): Likewise.
8221 (llrint_test_upward): Likewise.
8222 (rint_test_data): Merge in per-rounding-mode tests and results
8223 from rint_tonearest_test_data, rint_towardzero_test_data,
8224 rint_downward_test_data and rint_upward_test_data. Add
8225 per-rounding-mode results for tests not in those arrays.
8226 (rint_test): Use ALL_RM_TEST.
8227 (rint_tonearest_test_data): Remove.
8228 (rint_test_tonearest): Likewise.
8229 (rint_towardzero_test_data): Likewise.
8230 (rint_test_towardzero): Likewise.
8231 (rint_downward_test_data): Likewise.
8232 (rint_test_downward): Likewise.
8233 (rint_upward_test_data): Likewise.
8234 (rint_test_upward): Likewise.
8235 (main): Don't call removed functions.
8237 2014-03-14 Roland McGrath <roland@hack.frob.com>
8239 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8240 "Compiled on ..." crapola. It is anti-useful.
8242 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8244 * scripts/evaluate-test.sh: Handle fourth argument to determine
8245 whether test run should stop on failure.
8246 * Makeconfig (stop-on-test-failure): New variable.
8247 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8248 $(stop-on-test-failure).
8249 * Makefile (tests): Give a summary of results from testing and
8250 exit with failure status if they include an ERROR or FAIL.
8252 * manual/install.texi (Configuring and compiling): Mention
8253 stop-on-test-failure=y.
8254 * INSTALL: Regenerated.
8256 2014-03-14 Roland McGrath <roland@hack.frob.com>
8258 * scripts/versionlist.awk: New file.
8259 * Makerules [$(build-shared) = yes]
8260 (postclean-generated): Add Versions.def, not Versions.def.v and
8262 ($(common-objpfx)Versions.def.v.i): Target removed.
8263 ($(common-objpfx)Versions.def): New target.
8264 ($(common-objpfx)Versions.all): Depend on that rather that
8265 $(common-objpfx)Versions.def.v.
8266 * Versions.def: File removed.
8268 * Makeconfig (+gccwarn): Add -Wundef.
8269 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8270 a dl-sysdep.h breaking its contract.
8271 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8272 * include/stackinfo.h: New file.
8273 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8274 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8275 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8276 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8277 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8278 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8279 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8280 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8281 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8282 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8283 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8284 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8285 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8286 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8287 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8289 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8292 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8294 * math/libm-test.inc (round_test_data): Add more tests.
8297 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8299 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8302 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8304 * math/libm-test.inc (ceil_test_data): Add more tests.
8306 * math/libm-test.inc (trunc_test_data): Add more tests related to
8309 2014-03-14 Roland McGrath <roland@hack.frob.com>
8311 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8312 with #if rather than #ifdef.
8313 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8315 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8317 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8318 first. Disable AVX-512 GCC support if assembler doesn't support
8320 * sysdeps/x86_64/configure: Regenerated.
8322 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8324 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8325 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8326 (__old_pthread_attr_setstack): Likewise.
8327 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8328 [!_STACK_GROWS_DOWN]: Likewise.
8330 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8332 * config.make.in (have-bash2): Delete.
8333 * configure.ac (libc_cv_have_bash2): Delete.
8334 * configure: Regenerate.
8335 * elf/Makefile (common-ldd-rewrite): Rename to ...
8336 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8337 (sh-ldd-rewrite): Delete.
8338 (bash-ldd-rewrite): Delete.
8339 (have-bash2): Delete checks.
8340 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8343 * config.make.in (have-ksh): Delete.
8345 * configure.ac (libc_cv_have_ksh): Delete.
8346 * configure: Regenerate.
8348 * elf/Makefile: Delete $(have-ksh) check.
8349 ($(objpfx)sotruss): Change KSH to BASH.
8350 * elf/sotruss.ksh: Rename to ...
8351 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8352 function style to match POSIX. Drop ksh vim mode setting.
8354 * manual/time.texi (Specifying the Time Zone with TZ): Change
8355 Tuesday to Thursday.
8357 * debug/tst-longjmp_chk2.c: Update header comment.
8358 (stackoverflow_handler): Add comment. Call assert on pass value.
8360 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8363 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8364 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8365 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8366 (La_x86_64_vector): Add zmm.
8367 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8368 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8369 ($(objpfx)tst-audit10): New target.
8370 ($(objpfx)tst-audit10.out): Likewise.
8371 (tst-audit10-ENV): New.
8372 (AVX512-CFLAGS): Likewise.
8373 (CFLAGS-tst-audit10.c): Likewise.
8374 (CFLAGS-tst-auditmod10a.c): Likewise.
8375 (CFLAGS-tst-auditmod10b.c): Likewise.
8376 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8377 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8378 * sysdeps/x86_64/configure: Regenerated.
8379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8380 AVX-512 zmm register support.
8381 (_dl_x86_64_save_sse): Likewise.
8382 (_dl_x86_64_restore_sse): Likewise.
8383 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8384 size vector registers.
8385 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8386 (ZMM_SIZE): Likewise.
8387 * sysdeps/x86_64/tst-audit10.c: New file.
8388 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8389 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8391 2014-03-13 Roland McGrath <roland@hack.frob.com>
8393 * configure.ac (HAVE_EHDR_START): New check.
8394 * configure: Regenerated.
8395 * config.h.in (HAVE_EHDR_START): New #undef.
8396 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8397 assuming the lowest-addressed segment maps the start of the file.
8399 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8401 * INSTALL: Regenerated.
8403 2014-03-13 Will Newton <will.newton@linaro.org>
8405 * manual/setjmp.texi (System V contexts): Improve
8406 clarity and grammar of documentation.
8408 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8411 * elf/Makefile (tests): Add tst-pie2.
8412 (tests-pie): Add tst-pie2.
8413 * elf/tst-pie2.c: New file.
8414 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8416 * elf/rtld.c (map_doit): Load executable as lt_executable.
8417 (dl_main): Likewise.
8419 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8423 (__ASSUME_PSELECT): Undefine.
8425 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8429 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8431 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8432 selector for static builds.
8434 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8437 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8440 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8442 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8443 IFUNC selector for static builds.
8445 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8447 * sysdeps/mips/math_private.h [__mips_hard_float]
8448 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8449 libc_feresetround_mips_ctx.
8450 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8451 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8452 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8455 * math/s_nextafter.c (__nextafter): Do not return value from
8456 overflowing computation.
8457 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8458 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8459 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8461 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8463 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8464 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8466 2014-03-11 Roland McGrath <roland@hack.frob.com>
8468 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8469 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8470 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8471 the new mov targetting sp.
8473 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8476 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8477 Define it for static builds as well.
8478 (NO_BZERO_IMPL): Likewise.
8480 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8482 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8483 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8484 multiarch strspn for PPC64.
8485 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8486 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8488 (__libc_ifunc_impl_list): Likewise.
8489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8490 multiarch optimizations
8491 * string/strspn.c (strspn): Using macro to redefine symbol name.
8493 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8494 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8496 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8497 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8498 multiarch strncat for PPC64.
8499 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8500 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8502 (__libc_ifunc_impl_list): Likewise.
8503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8504 multiarch optimizations
8506 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8509 * nscd/nscd.service: Make service type forking.
8511 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8513 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8514 sign in non default rounding modes.
8515 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8517 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8519 * math/libm-test.inc (ALL_RM_TEST): New macro.
8520 (ceil_test): Use ALL_RM_TEST.
8521 (cimag_test): Likewise.
8522 (conj_test): Likewise.
8523 (copysign_test): Likewise.
8524 (cproj_test): Likewise.
8525 (creal_test): Likewise.
8526 (fabs_test): Likewise.
8527 (floor_test): Likewise.
8528 (fmax_test): Likewise.
8529 (fmin_test): Likewise.
8530 (fmod_test): Likewise.
8531 (fpclassify_test): Likewise.
8532 (frexp_test): Likewise.
8533 (ilogb_test): Likewise.
8534 (isfinite_test): Likewise.
8535 (finite_test): Likewise.
8536 (isgreater_test): Likewise.
8537 (isgreaterequal_test): Likewise.
8538 (isinf_test): Likewise.
8539 (isless_test): Likewise.
8540 (islessequal_test): Likewise.
8541 (islessgreater_test): Likewise.
8542 (isnan_test): Likewise.
8543 (isnormal_test): Likewise.
8544 (issignaling_test): Likewise.
8545 (isunordered_test): Likewise.
8546 (logb_test): Likewise.
8547 (logb_downward_test_data): Remove.
8548 (logb_test_downward): Likewise.
8549 (lround_test): Use ALL_RM_TEST.
8550 (llround_test): Likewise.
8551 (modf_test): Likewise.
8552 (nexttoward_test): Likewise.
8553 (remainder_test): Likewise.
8554 (drem_test): Likewise.
8555 (remainder_tonearest_test_data): Likewise.
8556 (remainder_test_tonearest): Likewise.
8557 (drem_test_tonearest): Likewise.
8558 (remainder_towardzero_test_data): Likewise.
8559 (remainder_test_towardzero): Likewise.
8560 (drem_test_towardzero): Likewise.
8561 (remainder_downward_test_data): Likewise.
8562 (remainder_test_downward): Likewise.
8563 (drem_test_downward): Likewise.
8564 (remainder_upward_test_data): Likewise.
8565 (remainder_test_upward): Likewise.
8566 (drem_test_upward): Likewise.
8567 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8568 (round_test): Use ALL_RM_TEST.
8569 (signbit_test): Likewise.
8570 (trunc_test): Likewise.
8571 (significand_test): Likewise.
8572 (main): Don't call removed functions.
8574 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8577 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8579 (ILL_ILLOPN): Likewise.
8580 (ILL_ILLADR): Likewise.
8581 (ILL_ILLTRP): Likewise.
8582 (ILL_PRVOPC): Likewise.
8583 (ILL_PRVREG): Likewise.
8584 (ILL_COPROC): Likewise.
8585 (ILL_BADSTK): Likewise.
8586 (FPE_INTDIV): Likewise.
8587 (FPE_INTOVF): Likewise.
8588 (FPE_FLTDIV): Likewise.
8589 (FPE_FLTOVF): Likewise.
8590 (FPE_FLTUND): Likewise.
8591 (FPE_FLTRES): Likewise.
8592 (FPE_FLTINV): Likewise.
8593 (FPE_FLTSUB): Likewise.
8594 (SEGV_MAPERR): Likewise.
8595 (SEGV_ACCERR): Likewise.
8596 (BUS_ADRALN): Likewise.
8597 (BUS_ADRERR): Likewise.
8598 (BUS_OBJERR): Likewise.
8599 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8600 (TRAP_TRACE): Likewise.
8601 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8603 (CLD_KILLED): Likewise.
8604 (CLD_DUMPED): Likewise.
8605 (CLD_TRAPPED): Likewise.
8606 (CLD_STOPPED): Likewise.
8607 (CLD_CONTINUED): Likewise.
8608 (POLL_IN): Likewise.
8609 (POLL_OUT): Likewise.
8610 (POLL_MSG): Likewise.
8611 (POLL_ERR): Likewise.
8612 (POLL_PRI): Likewise.
8613 (POLL_HUP): Likewise.
8614 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8616 (ILL_ILLOPN): Likewise.
8617 (ILL_ILLADR): Likewise.
8618 (ILL_ILLTRP): Likewise.
8619 (ILL_PRVOPC): Likewise.
8620 (ILL_PRVREG): Likewise.
8621 (ILL_COPROC): Likewise.
8622 (ILL_BADSTK): Likewise.
8623 (FPE_INTDIV): Likewise.
8624 (FPE_INTOVF): Likewise.
8625 (FPE_FLTDIV): Likewise.
8626 (FPE_FLTOVF): Likewise.
8627 (FPE_FLTUND): Likewise.
8628 (FPE_FLTRES): Likewise.
8629 (FPE_FLTINV): Likewise.
8630 (FPE_FLTSUB): Likewise.
8631 (SEGV_MAPERR): Likewise.
8632 (SEGV_ACCERR): Likewise.
8633 (BUS_ADRALN): Likewise.
8634 (BUS_ADRERR): Likewise.
8635 (BUS_OBJERR): Likewise.
8636 (BUS_MCEERR_AR): Likewise.
8637 (BUS_MCEERR_AO): Likewise.
8638 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8639 (TRAP_TRACE): Likewise.
8640 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8642 (CLD_KILLED): Likewise.
8643 (CLD_DUMPED): Likewise.
8644 (CLD_TRAPPED): Likewise.
8645 (CLD_STOPPED): Likewise.
8646 (CLD_CONTINUED): Likewise.
8647 (POLL_IN): Likewise.
8648 (POLL_OUT): Likewise.
8649 (POLL_MSG): Likewise.
8650 (POLL_ERR): Likewise.
8651 (POLL_PRI): Likewise.
8652 (POLL_HUP): Likewise.
8653 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8654 (ILL_ILLOPN): Likewise.
8655 (ILL_ILLADR): Likewise.
8656 (ILL_ILLTRP): Likewise.
8657 (ILL_PRVOPC): Likewise.
8658 (ILL_PRVREG): Likewise.
8659 (ILL_COPROC): Likewise.
8660 (ILL_BADSTK): Likewise.
8661 (FPE_INTDIV): Likewise.
8662 (FPE_INTOVF): Likewise.
8663 (FPE_FLTDIV): Likewise.
8664 (FPE_FLTOVF): Likewise.
8665 (FPE_FLTUND): Likewise.
8666 (FPE_FLTRES): Likewise.
8667 (FPE_FLTINV): Likewise.
8668 (FPE_FLTSUB): Likewise.
8669 (SEGV_MAPERR): Likewise.
8670 (SEGV_ACCERR): Likewise.
8671 (BUS_ADRALN): Likewise.
8672 (BUS_ADRERR): Likewise.
8673 (BUS_OBJERR): Likewise.
8674 (BUS_MCEERR_AR): Likewise.
8675 (BUS_MCEERR_AO): Likewise.
8676 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8677 (TRAP_TRACE): Likewise.
8678 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8680 (CLD_KILLED): Likewise.
8681 (CLD_DUMPED): Likewise.
8682 (CLD_TRAPPED): Likewise.
8683 (CLD_STOPPED): Likewise.
8684 (CLD_CONTINUED): Likewise.
8685 (POLL_IN): Likewise.
8686 (POLL_OUT): Likewise.
8687 (POLL_MSG): Likewise.
8688 (POLL_ERR): Likewise.
8689 (POLL_PRI): Likewise.
8690 (POLL_HUP): Likewise.
8691 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8693 (ILL_ILLOPN): Likewise.
8694 (ILL_ILLADR): Likewise.
8695 (ILL_ILLTRP): Likewise.
8696 (ILL_PRVOPC): Likewise.
8697 (ILL_PRVREG): Likewise.
8698 (ILL_COPROC): Likewise.
8699 (ILL_BADSTK): Likewise.
8700 (ILL_BADIADDR): Likewise.
8701 (ILL_BREAK): Likewise.
8702 (FPE_INTDIV): Likewise.
8703 (FPE_INTOVF): Likewise.
8704 (FPE_FLTDIV): Likewise.
8705 (FPE_FLTOVF): Likewise.
8706 (FPE_FLTUND): Likewise.
8707 (FPE_FLTRES): Likewise.
8708 (FPE_FLTINV): Likewise.
8709 (FPE_FLTSUB): Likewise.
8710 (FPE_DECOVF): Likewise.
8711 (FPE_DECDIV): Likewise.
8712 (FPE_DECERR): Likewise.
8713 (FPE_INVASC): Likewise.
8714 (FPE_INVDEC): Likewise.
8715 (SEGV_MAPERR): Likewise.
8716 (SEGV_ACCERR): Likewise.
8717 (SEGV_PSTKOVF): Likewise.
8718 (BUS_ADRALN): Likewise.
8719 (BUS_ADRERR): Likewise.
8720 (BUS_OBJERR): Likewise.
8721 (BUS_MCEERR_AR): Likewise.
8722 (BUS_MCEERR_AO): Likewise.
8723 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8724 (TRAP_TRACE): Likewise.
8725 (TRAP_BRANCH): Likewise.
8726 (TRAP_HWBKPT): Likewise.
8727 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8729 (CLD_KILLED): Likewise.
8730 (CLD_DUMPED): Likewise.
8731 (CLD_TRAPPED): Likewise.
8732 (CLD_STOPPED): Likewise.
8733 (CLD_CONTINUED): Likewise.
8734 (POLL_IN): Likewise.
8735 (POLL_OUT): Likewise.
8736 (POLL_MSG): Likewise.
8737 (POLL_ERR): Likewise.
8738 (POLL_PRI): Likewise.
8739 (POLL_HUP): Likewise.
8740 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8741 (ILL_ILLOPN): Likewise.
8742 (ILL_ILLADR): Likewise.
8743 (ILL_ILLTRP): Likewise.
8744 (ILL_PRVOPC): Likewise.
8745 (ILL_PRVREG): Likewise.
8746 (ILL_COPROC): Likewise.
8747 (ILL_BADSTK): Likewise.
8748 (FPE_INTDIV): Likewise.
8749 (FPE_INTOVF): Likewise.
8750 (FPE_FLTDIV): Likewise.
8751 (FPE_FLTOVF): Likewise.
8752 (FPE_FLTUND): Likewise.
8753 (FPE_FLTRES): Likewise.
8754 (FPE_FLTINV): Likewise.
8755 (FPE_FLTSUB): Likewise.
8756 (SEGV_MAPERR): Likewise.
8757 (SEGV_ACCERR): Likewise.
8758 (BUS_ADRALN): Likewise.
8759 (BUS_ADRERR): Likewise.
8760 (BUS_OBJERR): Likewise.
8761 (BUS_MCEERR_AR): Likewise.
8762 (BUS_MCEERR_AO): Likewise.
8763 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8764 (TRAP_TRACE): Likewise.
8765 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8767 (CLD_KILLED): Likewise.
8768 (CLD_DUMPED): Likewise.
8769 (CLD_TRAPPED): Likewise.
8770 (CLD_STOPPED): Likewise.
8771 (CLD_CONTINUED): Likewise.
8772 (POLL_IN): Likewise.
8773 (POLL_OUT): Likewise.
8774 (POLL_MSG): Likewise.
8775 (POLL_ERR): Likewise.
8776 (POLL_PRI): Likewise.
8777 (POLL_HUP): Likewise.
8778 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8779 (ILL_ILLOPN): Likewise.
8780 (ILL_ILLADR): Likewise.
8781 (ILL_ILLTRP): Likewise.
8782 (ILL_PRVOPC): Likewise.
8783 (ILL_PRVREG): Likewise.
8784 (ILL_COPROC): Likewise.
8785 (ILL_BADSTK): Likewise.
8786 (FPE_INTDIV): Likewise.
8787 (FPE_INTOVF): Likewise.
8788 (FPE_FLTDIV): Likewise.
8789 (FPE_FLTOVF): Likewise.
8790 (FPE_FLTUND): Likewise.
8791 (FPE_FLTRES): Likewise.
8792 (FPE_FLTINV): Likewise.
8793 (FPE_FLTSUB): Likewise.
8794 (SEGV_MAPERR): Likewise.
8795 (SEGV_ACCERR): Likewise.
8796 (BUS_ADRALN): Likewise.
8797 (BUS_ADRERR): Likewise.
8798 (BUS_OBJERR): Likewise.
8799 (BUS_MCEERR_AR): Likewise.
8800 (BUS_MCEERR_AO): Likewise.
8801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8802 (TRAP_TRACE): Likewise.
8803 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8805 (CLD_KILLED): Likewise.
8806 (CLD_DUMPED): Likewise.
8807 (CLD_TRAPPED): Likewise.
8808 (CLD_STOPPED): Likewise.
8809 (CLD_CONTINUED): Likewise.
8810 (POLL_IN): Likewise.
8811 (POLL_OUT): Likewise.
8812 (POLL_MSG): Likewise.
8813 (POLL_ERR): Likewise.
8814 (POLL_PRI): Likewise.
8815 (POLL_HUP): Likewise.
8816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8817 (ILL_ILLOPN): Likewise.
8818 (ILL_ILLADR): Likewise.
8819 (ILL_ILLTRP): Likewise.
8820 (ILL_PRVOPC): Likewise.
8821 (ILL_PRVREG): Likewise.
8822 (ILL_COPROC): Likewise.
8823 (ILL_BADSTK): Likewise.
8824 (FPE_INTDIV): Likewise.
8825 (FPE_INTOVF): Likewise.
8826 (FPE_FLTDIV): Likewise.
8827 (FPE_FLTOVF): Likewise.
8828 (FPE_FLTUND): Likewise.
8829 (FPE_FLTRES): Likewise.
8830 (FPE_FLTINV): Likewise.
8831 (FPE_FLTSUB): Likewise.
8832 (SEGV_MAPERR): Likewise.
8833 (SEGV_ACCERR): Likewise.
8834 (BUS_ADRALN): Likewise.
8835 (BUS_ADRERR): Likewise.
8836 (BUS_OBJERR): Likewise.
8837 (BUS_MCEERR_AR): Likewise.
8838 (BUS_MCEERR_AO): Likewise.
8839 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8840 (TRAP_TRACE): Likewise.
8841 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8843 (CLD_KILLED): Likewise.
8844 (CLD_DUMPED): Likewise.
8845 (CLD_TRAPPED): Likewise.
8846 (CLD_STOPPED): Likewise.
8847 (CLD_CONTINUED): Likewise.
8848 (POLL_IN): Likewise.
8849 (POLL_OUT): Likewise.
8850 (POLL_MSG): Likewise.
8851 (POLL_ERR): Likewise.
8852 (POLL_PRI): Likewise.
8853 (POLL_HUP): Likewise.
8854 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8855 (ILL_ILLOPN): Likewise.
8856 (ILL_ILLADR): Likewise.
8857 (ILL_ILLTRP): Likewise.
8858 (ILL_PRVOPC): Likewise.
8859 (ILL_PRVREG): Likewise.
8860 (ILL_COPROC): Likewise.
8861 (ILL_BADSTK): Likewise.
8862 (ILL_DBLFLT): Likewise.
8863 (ILL_HARDWALL): Likewise.
8864 (FPE_INTDIV): Likewise.
8865 (FPE_INTOVF): Likewise.
8866 (FPE_FLTDIV): Likewise.
8867 (FPE_FLTOVF): Likewise.
8868 (FPE_FLTUND): Likewise.
8869 (FPE_FLTRES): Likewise.
8870 (FPE_FLTINV): Likewise.
8871 (FPE_FLTSUB): Likewise.
8872 (SEGV_MAPERR): Likewise.
8873 (SEGV_ACCERR): Likewise.
8874 (BUS_ADRALN): Likewise.
8875 (BUS_ADRERR): Likewise.
8876 (BUS_OBJERR): Likewise.
8877 (BUS_MCEERR_AR): Likewise.
8878 (BUS_MCEERR_AO): Likewise.
8879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8880 (TRAP_TRACE): Likewise.
8881 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8883 (CLD_KILLED): Likewise.
8884 (CLD_DUMPED): Likewise.
8885 (CLD_TRAPPED): Likewise.
8886 (CLD_STOPPED): Likewise.
8887 (CLD_CONTINUED): Likewise.
8888 (POLL_IN): Likewise.
8889 (POLL_OUT): Likewise.
8890 (POLL_MSG): Likewise.
8891 (POLL_ERR): Likewise.
8892 (POLL_PRI): Likewise.
8893 (POLL_HUP): Likewise.
8894 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8895 (ILL_ILLOPN): Likewise.
8896 (ILL_ILLADR): Likewise.
8897 (ILL_ILLTRP): Likewise.
8898 (ILL_PRVOPC): Likewise.
8899 (ILL_PRVREG): Likewise.
8900 (ILL_COPROC): Likewise.
8901 (ILL_BADSTK): Likewise.
8902 (FPE_INTDIV): Likewise.
8903 (FPE_INTOVF): Likewise.
8904 (FPE_FLTDIV): Likewise.
8905 (FPE_FLTOVF): Likewise.
8906 (FPE_FLTUND): Likewise.
8907 (FPE_FLTRES): Likewise.
8908 (FPE_FLTINV): Likewise.
8909 (FPE_FLTSUB): Likewise.
8910 (SEGV_MAPERR): Likewise.
8911 (SEGV_ACCERR): Likewise.
8912 (BUS_ADRALN): Likewise.
8913 (BUS_ADRERR): Likewise.
8914 (BUS_OBJERR): Likewise.
8915 (BUS_MCEERR_AR): Likewise.
8916 (BUS_MCEERR_AO): Likewise.
8917 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8918 (TRAP_TRACE): Likewise.
8919 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8921 (CLD_KILLED): Likewise.
8922 (CLD_DUMPED): Likewise.
8923 (CLD_TRAPPED): Likewise.
8924 (CLD_STOPPED): Likewise.
8925 (CLD_CONTINUED): Likewise.
8926 (POLL_IN): Likewise.
8927 (POLL_OUT): Likewise.
8928 (POLL_MSG): Likewise.
8929 (POLL_ERR): Likewise.
8930 (POLL_PRI): Likewise.
8931 (POLL_HUP): Likewise.
8932 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8933 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8936 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8937 before #include of <time.h>.
8938 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8939 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8940 (test-xfail-UNIX98/sched.h/conform): Likewise.
8942 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8944 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8945 error absence of trapping exception support.
8946 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8948 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8950 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8951 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8952 * timezone/Makefile (testdata): Move definition above include of
8954 (test-zones): New variable.
8955 (tests-special): Add zone files.
8956 (build-testdata): Use $(evaluate-test).
8958 * elf/Makefile (tests-special): Rename tests to end with .out.
8959 ($(objpfx)noload-mem): Likewise.
8960 ($(objpfx)tst-leaks1-mem): Likewise.
8961 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8962 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8963 $(objpfx)test-iconvconfig.out.
8964 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8965 set -e inside subshell and redirect output to file.
8966 * iconvdata/Makefile (generated): Rename tests to end with .out.
8968 (tests-special): Rename tests to end with .out.
8969 ($(objpfx)mtrace-tst-loading): Likewise.
8970 * intl/Makefile (generated): Likewise.
8971 (tests-special): Likewise.
8972 ($(objpfx)mtrace-tst-gettext): Likewise.
8973 * misc/Makefile (generated): Likewise.
8974 (tests-special): Likewise.
8975 ($(objpfx)tst-error1-mem): Likewise.
8976 * nptl/Makefile (tests-special): Likewise.
8977 ($(objpfx)tst-stack3-mem): Likewise.
8978 (generated): Likewise.
8979 * posix/Makefile (generated): Likewise.
8980 (tests-special): Likewise.
8981 (xtests-special): Likewise.
8982 ($(objpfx)tst-fnmatch-mem): Likewise.
8983 ($(objpfx)bug-regex2-mem): Likewise.
8984 ($(objpfx)bug-regex14-mem): Likewise.
8985 ($(objpfx)bug-regex21-mem): Likewise.
8986 ($(objpfx)bug-regex31-mem): Likewise.
8987 ($(objpfx)tst-vfork3-mem): Likewise.
8988 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8989 ($(objpfx)tst-pcre-mem): Likewise.
8990 ($(objpfx)tst-boost-mem): Likewise.
8991 ($(objpfx)bug-ga2-mem): Likewise.
8992 ($(objpfx)bug-glob2-mem): Likewise.
8993 * resolv/Makefile (generate): Likewise.
8994 (tests-special): Likewise.
8995 (xtests-special): Likewise.
8996 (generated): Likewise.
8997 ($(objpfx)mtrace-tst-leaks): Likewise.
8998 ($(objpfx)mtrace-tst-leaks2): Likewise.
9000 * scripts/merge-test-results.sh: New file.
9001 * Makefile (tests-special-notdir): New variable.
9002 (tests): Run merge-test-results.sh.
9004 * Rules (tests-special-notdir): New variable.
9005 (xtests-special-notdir): Likewise.
9006 (tests): Run merge-test-results.sh
9009 * Makeconfig (test-xfail-name): New variable.
9010 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9011 compute variable name for expected failures.
9012 * conform/Makefile (conformtest-headers-data): New variable.
9013 (conformtest-standards): Likewise.
9014 (conformtest-headers-ISO): Likewise.
9015 (conformtest-headers-ISO99): Likewise.
9016 (conformtest-headers-ISO11): Likewise.
9017 (conformtest-headers-POSIX): Likewise.
9018 (conformtest-headers-XPG3): Likewise.
9019 (conformtest-headers-XPG4): Likewise.
9020 (conformtest-headers-UNIX98): Likewise.
9021 (conformtest-headers-XOPEN2K): Likewise.
9022 (conformtest-headers-POSIX2008): Likewise.
9023 (conformtest-headers-XOPEN2K8): Likewise.
9024 (conformtest-header-list-base): Likewise.
9025 (conformtest-header-list-tests): Likewise.
9026 (conformtest-header-base): Likewise.
9027 (conformtest-header-tests): Likewise.
9028 (tests-special): Add $(conformtest-header-list-tests). If
9029 [$(fast-check) && !$(cross-compiling)], add
9030 $(conformtest-header-tests) instead of
9031 $(objpfx)run-conformtest.out.
9032 (generated): Add $(conformtest-header-list-base). If
9033 [$(fast-check) && !$(cross-compiling)], add
9034 $(conformtest-header-base). Remove previous setting.
9035 ($(conformtest-header-list-tests)): New target.
9036 (test-xfail-run-conformtest): Remove variable.
9037 ($(objpfx)run-conformtest.out): Remove target.
9038 (test-xfail-ISO11/complex.h/conform): New variable.
9039 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9040 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9041 (test-xfail-XPG3/varargs.h/conform): Likewise.
9042 (test-xfail-XPG4/varargs.h/conform): Likewise.
9043 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9044 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9045 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9046 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9047 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9048 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9049 (test-xfail-XPG3/ftw.h/conform): Likewise.
9050 (test-xfail-XPG3/grp.h/conform): Likewise.
9051 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9052 (test-xfail-XPG3/limits.h/conform): Likewise.
9053 (test-xfail-XPG3/pwd.h/conform): Likewise.
9054 (test-xfail-XPG3/search.h/conform): Likewise.
9055 (test-xfail-XPG3/signal.h/conform): Likewise.
9056 (test-xfail-XPG3/stdio.h/conform): Likewise.
9057 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9058 (test-xfail-XPG3/string.h/conform): Likewise.
9059 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9060 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9061 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9062 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9063 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9064 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9065 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9066 (test-xfail-XPG3/termios.h/conform): Likewise.
9067 (test-xfail-XPG3/time.h/conform): Likewise.
9068 (test-xfail-XPG3/unistd.h/conform): Likewise.
9069 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9070 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9071 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9072 (test-xfail-XPG4/netdb.h/conform): Likewise.
9073 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9074 (test-xfail-XPG4/signal.h/conform): Likewise.
9075 (test-xfail-XPG4/stdio.h/conform): Likewise.
9076 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9077 (test-xfail-XPG4/stropts.h/conform): Likewise.
9078 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9079 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9080 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9081 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9082 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9083 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9084 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9085 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9086 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9087 (test-xfail-XPG4/termios.h/conform): Likewise.
9088 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9089 (test-xfail-XPG4/unistd.h/conform): Likewise.
9090 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9091 (test-xfail-POSIX/sched.h/conform): Likewise.
9092 (test-xfail-POSIX/signal.h/conform): Likewise.
9093 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9094 (test-xfail-POSIX/tar.h/conform): Likewise.
9095 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9096 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9097 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9098 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9099 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9100 (test-xfail-UNIX98/sched.h/conform): Likewise.
9101 (test-xfail-UNIX98/signal.h/conform): Likewise.
9102 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9103 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9104 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9105 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9106 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9107 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9108 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9109 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9110 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9111 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9112 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9113 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9114 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9115 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9116 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9117 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9118 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9119 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9120 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9121 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9122 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9123 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9124 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9125 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9126 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9127 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9128 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9129 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9130 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9131 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9132 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9133 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9134 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9135 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9136 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9137 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9138 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9139 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9140 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9141 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9142 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9143 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9144 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9145 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9146 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9147 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9148 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9149 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9150 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9151 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9152 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9153 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9154 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9155 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9156 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9157 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9158 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9159 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9160 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9161 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9162 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9163 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9164 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9165 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9166 (conformtest-cc-flags): Likewise.
9167 ($(conformtest-header-tests): New target.
9168 * conform/check-header-lists.sh: New file.
9169 * conform/run-conformtest.sh: Remove.
9171 * conform/conformtest.pl: Allow ' and \ in values given for
9173 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9175 [POSIX] (sys/types.h): Likewise.
9176 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9178 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9180 * conform/data/signal.h-data (SIGIO): Remove expectation.
9181 [XPG3] (SIGBUS): Do not expect.
9182 [POSIX || XPG3] (SIGPOLL): Likewise.
9183 [POSIX || XPG3] (SIGPROF): Likewise.
9184 [POSIX || XPG3] (SIGSYS): Likewise.
9185 [XPG3] (SIGTRAP): Likewise.
9186 [POSIX || XPG3] (SIGURG): Likewise.
9187 [POSIX || XPG3] (SIGVTALRM): Likewise.
9188 [POSIX || XPG3] (SIGXCPU): Likewise.
9189 [POSIX || XPG3] (SIGXFSZ): Likewise.
9190 [POSIX] (SA_SIGINFO): Expect.
9191 [XPG3] (siginfo_t): Do not expect type or contents.
9192 [POSIX] (si_pid): Do not expect element.
9193 [POSIX] (si_uid): Likewise.
9194 [POSIX] (si_addr): Likewise.
9195 [POSIX] (si_status): Likewise.
9196 [POSIX] (si_band): Likewise.
9197 [XPG4] (si_value): Likewise.
9198 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9199 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9200 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9201 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9202 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9203 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9204 [POSIX || XPG3] (ILL_COPROC): Likewise.
9205 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9206 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9207 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9208 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9209 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9210 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9211 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9212 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9213 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9214 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9215 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9216 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9217 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9218 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9219 [POSIX || XPG3] (CLD_EXITED): Likewise.
9220 [POSIX || XPG3] (CLD_KILLED): Likewise.
9221 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9222 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9223 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9224 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9225 [POSIX || XPG3] (POLL_IN): Likewise.
9226 [POSIX || XPG3] (POLL_OUT): Likewise.
9227 [POSIX || XPG3] (POLL_MSG): Likewise.
9228 [POSIX || XPG3] (POLL_ERR): Likewise.
9229 [POSIX || XPG3] (POLL_PRI): Likewise.
9230 [POSIX || XPG3] (POLL_HUP): Likewise.
9231 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9232 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9233 (SIG*): Do not allow.
9234 [XPG3] (si_*): Likewise.
9235 [XPG3] (SI_*): Likewise.
9236 [XPG3 || XPG4] (sigev_*): Likewise.
9237 [XPG3 || XPG4] (SIGEV_*): Likewise.
9238 [XPG3 || XPG4] (sival_*): Likewise.
9239 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9240 [POSIX || XPG3] (BUS_*): Likewise.
9241 [POSIX || XPG3] (CLD_*): Likewise.
9242 [POSIX || XPG3] (FPE_*): Likewise.
9243 [POSIX || XPG3] (ILL_*): Likewise.
9244 [POSIX || XPG3] (POLL_*): Likewise.
9245 [POSIX || XPG3] (SEGV_*): Likewise.
9246 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9247 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9248 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9249 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9250 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9251 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9252 Specify type and value.
9253 (TVERSLEN): Likewise.
9254 (REGTYPE): Likewise.
9255 (AREGTYPE): Likewise.
9256 (LNKTYPE): Likewise.
9257 (SYMTYPE): Likewise.
9258 (CHRTYPE): Likewise.
9259 (BLKTYPE): Likewise.
9260 (DIRTYPE): Likewise.
9261 (FIFOTYPE): Likewise.
9262 (CONTTYPE): Likewise.
9267 (TUWRITE): Likewise.
9270 (TGWRITE): Likewise.
9273 (TOWRITE): Likewise.
9275 [POSIX] (TSVTX): Expect constant.
9277 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9279 * Makefile (tests): Change dependencies to ....
9280 (tests-special): ... additions to this variable.
9281 (tests): Depend on $(tests-special).
9282 * Makerules (check-abi-list): New variable.
9283 (check-abi): Depend on $(check-abi-list).
9284 [$(subdir) = elf] (tests-special): Add
9285 $(objpfx)check-abi-libc.out.
9286 [$(build-shared) = yes && subdir] (tests-special): Add
9288 [$(build-shared) = yes && subdir] (tests): Do not depend on
9290 * Rules (tests): Depend on $(tests-special).
9291 (xtests): Depend on $(xtests-special).
9292 * catgets/Makefile (tests): Change dependencies to ....
9293 (tests-special): ... additions to this variable.
9294 * conform/Makefile (tests): Change dependencies to ....
9295 (tests-special): ... additions to this variable.
9296 * elf/Makefile (tests): Change dependencies to ....
9297 (tests-special): ... additions to this variable.
9298 * grp/Makefile (tests): Change dependencies to ....
9299 (tests-special): ... additions to this variable.
9300 * iconv/Makefile (xtests): Change dependencies to ....
9301 (xtests-special): ... additions to this variable.
9302 * iconvdata/Makefile (tests): Change dependencies to ....
9303 (tests-special): ... additions to this variable.
9304 * intl/Makefile (tests): Change dependencies to ....
9305 (tests-special): ... additions to this variable. Also add
9306 $(objpfx)tst-gettext.out.
9307 * io/Makefile (tests): Change dependencies to ....
9308 (tests-special): ... additions to this variable.
9309 * libio/Makefile (tests): Change dependencies to ....
9310 (tests-special): ... additions to this variable.
9311 * malloc/Makefile (tests): Change dependencies to ....
9312 (tests-special): ... additions to this variable.
9313 * misc/Makefile (tests): Change dependencies to ....
9314 (tests-special): ... additions to this variable.
9315 * nptl/Makefile (tests): Change dependencies to ....
9316 (tests-special): ... additions to this variable.
9317 * nptl_db/Makefile (tests): Change dependencies to ....
9318 (tests-special): ... additions to this variable.
9319 * posix/Makefile (tests): Change dependencies to ....
9320 (tests-special): ... additions to this variable.
9321 (xtests): Change dependencies to ....
9322 (xtests-special): ... additions to this variable.
9323 * resolv/Makefile (tests): Change dependencies to ....
9324 (tests-special): ... additions to this variable.
9325 (xtests): Change dependencies to ....
9326 (xtests-special): ... additions to this variable.
9327 * stdio-common/Makefile (tests): Change dependencies to ....
9328 (tests-special): ... additions to this variable.
9329 (do-tst-unbputc): Remove target.
9330 (do-tst-printf): Likewise.
9331 * stdlib/Makefile (tests): Change dependencies to ....
9332 (tests-special): ... additions to this variable.
9333 * string/Makefile (tests): Change dependencies to ....
9334 (tests-special): ... additions to this variable.
9335 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9336 (tests-special): ... additions to this variable.
9338 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9340 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9342 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9343 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9345 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9346 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9347 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9348 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9349 * conform/data/libgen.h-data [XPG3]: Likewise.
9350 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9351 * conform/data/ndbm.h-data [XPG3]: Likewise.
9352 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9353 * conform/data/netdb.h-data [XPG3]: Likewise.
9354 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9355 * conform/data/poll.h-data [XPG3]: Likewise.
9356 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9357 * conform/data/strings.h-data [XPG3]: Likewise.
9358 * conform/data/stropts.h-data [XPG3]: Likewise.
9359 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9360 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9361 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9363 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9364 * conform/data/sys/time.h-data [XPG3]: Likewise.
9365 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9366 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9367 * conform/data/sys/un.h-data [XPG3]: Likewise.
9368 * conform/data/syslog.h-data [XPG3]: Likewise.
9369 * conform/data/ucontext.h-data [XPG3]: Likewise.
9370 * conform/data/utmpx.h-data [XPG3]: Likewise.
9371 * conform/data/varargs.h-data [UNIX98]: Enable file.
9373 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9375 * math/libm-test.inc (struct test_f_f_data): Move expected results
9376 into structure for each rounding mode.
9377 (struct test_ff_f_data): Likewise.
9378 (struct test_ff_f_data_nexttoward): Likewise.
9379 (struct test_fi_f_data): Likewise.
9380 (struct test_fl_f_data): Likewise.
9381 (struct test_if_f_data): Likewise.
9382 (struct test_fff_f_data): Likewise.
9383 (struct test_c_f_data): Likewise.
9384 (struct test_f_f1_data): Likewise.
9385 (struct test_fF_f1_data): Likewise.
9386 (struct test_ffI_f1_data): Likewise.
9387 (struct test_c_c_data): Likewise.
9388 (struct test_cc_c_data): Likewise.
9389 (struct test_f_i_data): Likewise.
9390 (struct test_ff_i_data): Likewise.
9391 (struct test_f_l_data): Likewise.
9392 (struct test_f_L_data): Likewise.
9393 (struct test_fFF_11_data): Likewise.
9395 (RM_FE_DOWNWARD): Likewise.
9396 (RM_FE_TONEAREST): Likewise.
9397 (RM_FE_TOWARDZERO): Likewise.
9398 (RM_FE_UPWARD): Likewise.
9399 (RUN_TEST_LOOP_f_f): Update references to expected results.
9400 (RUN_TEST_LOOP_2_f): Likewise.
9401 (RUN_TEST_LOOP_fff_f): Likewise.
9402 (RUN_TEST_LOOP_c_f): Likewise.
9403 (RUN_TEST_LOOP_f_f1): Likewise.
9404 (RUN_TEST_LOOP_fF_f1): Likewise.
9405 (RUN_TEST_LOOP_fI_f1): Likewise.
9406 (RUN_TEST_LOOP_ffI_f1): Likewise.
9407 (RUN_TEST_LOOP_c_c): Likewise.
9408 (RUN_TEST_LOOP_cc_c): Likewise.
9409 (RUN_TEST_LOOP_f_i): Likewise.
9410 (RUN_TEST_LOOP_f_i_tg): Likewise.
9411 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9412 (RUN_TEST_LOOP_f_b): Likewise.
9413 (RUN_TEST_LOOP_f_b_tg): Likewise.
9414 (RUN_TEST_LOOP_f_l): Likewise.
9415 (RUN_TEST_LOOP_f_L): Likewise.
9416 (RUN_TEST_LOOP_fFF_11): Likewise.
9417 * math/gen-libm-test.pl (parse_args): Output four copies of
9418 expected results for each test.
9420 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9421 (__ASSUME_UTIMES): Remove.
9422 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9423 (__ASSUME_UTIMES): Likewise.
9425 * math/gen-auto-libm-tests.c: Update comment on output format.
9426 (output_for_one_input_case): Generate before-rounding and
9427 after-rounding information as conditions on output flags not
9428 floating-point format.
9429 * math/auto-libm-test-out: Regenerated.
9430 * math/gen-libm-test.pl (cond_value): New function.
9431 (or_cond_value): Use cond_value.
9432 (generate_testfile): Handle conditional exceptions.
9434 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9436 * math/libm-test.inc (max_valid_error): New variable.
9437 (init_max_error): Take new argument specifying whether function
9438 results are exactly determined. Set max_valid_error and bound
9439 other variables for errors based on this argument.
9440 (set_max_error): Do not record results above max_valid_error.
9441 (check_float_internal): Only accept errors of up to 0.5ulps if
9442 also at most max_valid_error.
9443 (START): Take new argument EXACT and pass it to init_max_error.
9444 (acos_test): Update call to START.
9445 (acos_test_tonearest): Likewise.
9446 (acos_test_towardzero): Likewise.
9447 (acos_test_downward): Likewise.
9448 (acos_test_upward): Likewise.
9449 (acosh_test): Likewise.
9450 (asin_test): Likewise.
9451 (asin_test_tonearest): Likewise.
9452 (asin_test_towardzero): Likewise.
9453 (asin_test_downward): Likewise.
9454 (asin_test_upward): Likewise.
9455 (asinh_test): Likewise.
9456 (atan_test): Likewise.
9457 (atanh_test): Likewise.
9458 (atan2_test): Likewise.
9459 (cabs_test): Likewise.
9460 (cacos_test): Likewise.
9461 (cacosh_test): Likewise.
9462 (carg_test): Likewise.
9463 (casin_test): Likewise.
9464 (casinh_test): Likewise.
9465 (catan_test): Likewise.
9466 (catanh_test): Likewise.
9467 (cbrt_test): Likewise.
9468 (ccos_test): Likewise.
9469 (ccosh_test): Likewise.
9470 (ceil_test): Likewise.
9471 (cexp_test): Likewise.
9472 (cimag_test): Likewise.
9473 (clog_test): Likewise.
9474 (clog10_test): Likewise.
9475 (conj_test): Likewise.
9476 (copysign_test): Likewise.
9477 (cos_test): Likewise.
9478 (cos_test_tonearest): Likewise.
9479 (cos_test_towardzero): Likewise.
9480 (cos_test_downward): Likewise.
9481 (cos_test_upward): Likewise.
9482 (cosh_test): Likewise.
9483 (cosh_test_tonearest): Likewise.
9484 (cosh_test_towardzero): Likewise.
9485 (cosh_test_downward): Likewise.
9486 (cosh_test_upward): Likewise.
9487 (cpow_test): Likewise.
9488 (cproj_test): Likewise.
9489 (creal_test): Likewise.
9490 (csin_test): Likewise.
9491 (csinh_test): Likewise.
9492 (csqrt_test): Likewise.
9493 (ctan_test): Likewise.
9494 (ctan_test_tonearest): Likewise.
9495 (ctan_test_towardzero): Likewise.
9496 (ctan_test_downward): Likewise.
9497 (ctan_test_upward): Likewise.
9498 (ctanh_test): Likewise.
9499 (ctanh_test_tonearest): Likewise.
9500 (ctanh_test_towardzero): Likewise.
9501 (ctanh_test_downward): Likewise.
9502 (ctanh_test_upward): Likewise.
9503 (erf_test): Likewise.
9504 (erfc_test): Likewise.
9505 (exp_test): Likewise.
9506 (exp_test_tonearest): Likewise.
9507 (exp_test_towardzero): Likewise.
9508 (exp_test_downward): Likewise.
9509 (exp_test_upward): Likewise.
9510 (exp10_test): Likewise.
9511 (exp10_test_tonearest): Likewise.
9512 (exp10_test_towardzero): Likewise.
9513 (exp10_test_downward): Likewise.
9514 (exp10_test_upward): Likewise.
9515 (pow10_test): Likewise.
9516 (exp2_test): Likewise.
9517 (expm1_test): Likewise.
9518 (expm1_test_tonearest): Likewise.
9519 (expm1_test_towardzero): Likewise.
9520 (expm1_test_downward): Likewise.
9521 (expm1_test_upward): Likewise.
9522 (fabs_test): Likewise.
9523 (fdim_test): Likewise.
9524 (floor_test): Likewise.
9525 (fma_test): Likewise.
9526 (fma_test_towardzero): Likewise.
9527 (fma_test_downward): Likewise.
9528 (fma_test_upward): Likewise.
9529 (fmax_test): Likewise.
9530 (fmin_test): Likewise.
9531 (fmod_test): Likewise.
9532 (fpclassify_test): Likewise.
9533 (frexp_test): Likewise.
9534 (hypot_test): Likewise.
9535 (ilogb_test): Likewise.
9536 (isfinite_test): Likewise.
9537 (finite_test): Likewise.
9538 (isgreater_test): Likewise.
9539 (isgreaterequal_test): Likewise.
9540 (isinf_test): Likewise.
9541 (isless_test): Likewise.
9542 (islessequal_test): Likewise.
9543 (islessgreater_test): Likewise.
9544 (isnan_test): Likewise.
9545 (isnormal_test): Likewise.
9546 (issignaling_test): Likewise.
9547 (isunordered_test): Likewise.
9548 (j0_test): Likewise.
9549 (j1_test): Likewise.
9550 (jn_test): Likewise.
9551 (ldexp_test): Likewise.
9552 (lgamma_test): Likewise.
9553 (gamma_test): Likewise.
9554 (lrint_test): Likewise.
9555 (lrint_test_tonearest): Likewise.
9556 (lrint_test_towardzero): Likewise.
9557 (lrint_test_downward): Likewise.
9558 (lrint_test_upward): Likewise.
9559 (llrint_test): Likewise.
9560 (llrint_test_tonearest): Likewise.
9561 (llrint_test_towardzero): Likewise.
9562 (llrint_test_downward): Likewise.
9563 (llrint_test_upward): Likewise.
9564 (log_test): Likewise.
9565 (log10_test): Likewise.
9566 (log1p_test): Likewise.
9567 (log2_test): Likewise.
9568 (logb_test): Likewise.
9569 (logb_test_downward): Likewise.
9570 (lround_test): Likewise.
9571 (llround_test): Likewise.
9572 (modf_test): Likewise.
9573 (nearbyint_test): Likewise.
9574 (nextafter_test): Likewise.
9575 (nexttoward_test): Likewise.
9576 (pow_test): Likewise.
9577 (pow_test_tonearest): Likewise.
9578 (pow_test_towardzero): Likewise.
9579 (pow_test_downward): Likewise.
9580 (pow_test_upward): Likewise.
9581 (remainder_test): Likewise.
9582 (drem_test): Likewise.
9583 (remainder_test_tonearest): Likewise.
9584 (drem_test_tonearest): Likewise.
9585 (remainder_test_towardzero): Likewise.
9586 (drem_test_towardzero): Likewise.
9587 (remainder_test_downward): Likewise.
9588 (drem_test_downward): Likewise.
9589 (remainder_test_upward): Likewise.
9590 (drem_test_upward): Likewise.
9591 (remquo_test): Likewise.
9592 (rint_test): Likewise.
9593 (rint_test_tonearest): Likewise.
9594 (rint_test_towardzero): Likewise.
9595 (rint_test_downward): Likewise.
9596 (rint_test_upward): Likewise.
9597 (round_test): Likewise.
9598 (scalb_test): Likewise.
9599 (scalbn_test): Likewise.
9600 (scalbln_test): Likewise.
9601 (signbit_test): Likewise.
9602 (sin_test): Likewise.
9603 (sin_test_tonearest): Likewise.
9604 (sin_test_towardzero): Likewise.
9605 (sin_test_downward): Likewise.
9606 (sin_test_upward): Likewise.
9607 (sincos_test): Likewise.
9608 (sinh_test): Likewise.
9609 (sinh_test_tonearest): Likewise.
9610 (sinh_test_towardzero): Likewise.
9611 (sinh_test_downward): Likewise.
9612 (sinh_test_upward): Likewise.
9613 (sqrt_test): Likewise.
9614 (sqrt_test_tonearest): Likewise.
9615 (sqrt_test_towardzero): Likewise.
9616 (sqrt_test_downward): Likewise.
9617 (sqrt_test_upward): Likewise.
9618 (tan_test): Likewise.
9619 (tan_test_tonearest): Likewise.
9620 (tan_test_towardzero): Likewise.
9621 (tan_test_downward): Likewise.
9622 (tan_test_upward): Likewise.
9623 (tanh_test): Likewise.
9624 (tgamma_test): Likewise.
9625 (trunc_test): Likewise.
9626 (y0_test): Likewise.
9627 (y1_test): Likewise.
9628 (yn_test): Likewise.
9629 (significand_test): Likewise.
9631 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9632 individual tests in comment.
9633 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9634 (prev_max_error): New variable.
9635 (prev_real_max_error): Likewise.
9636 (prev_imag_max_error): Likewise.
9637 (compare_ulp_data): Don't refer to test names in comment.
9638 (find_test_ulps): Remove function.
9639 (find_function_ulps): Likewise.
9640 (find_complex_function_ulps): Likewise.
9641 (init_max_error): Take function name as argument. Look up ulps
9643 (print_ulps): Remove function.
9644 (print_max_error): Use prev_max_error instead of calling
9646 (print_complex_max_error): Use prev_real_max_error and
9647 prev_imag_max_error instead of calling find_complex_function_ulps.
9648 (check_float_internal): Take max_ulp parameter instead of calling
9649 find_test_ulps. Don't call print_ulps.
9650 (check_float): Update call to check_float_internal.
9651 (check_complex): Update calls to check_float_internal.
9652 (START): Pass argument to init_max_error.
9653 * math/gen-libm-test.pl (%results): Don't include "kind"
9655 (parse_ulps): Don't handle ulps of individual tests.
9656 (print_ulps_file): Likewise.
9657 (output_ulps): Likewise.
9658 * math/README.libm-test: Update.
9659 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9661 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9662 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9663 * sysdeps/arm/libm-test-ulps: Likewise.
9664 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9665 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9666 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9667 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9668 * sysdeps/microblaze/libm-test-ulps: Likewise.
9669 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9670 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9671 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9672 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9673 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9674 * sysdeps/sh/libm-test-ulps: Likewise.
9675 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9676 * sysdeps/tile/libm-test-ulps: Likewise.
9677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9679 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9681 * math/libm-test.inc (print_complex_max_error): Check separately
9682 whether real and imaginary errors are within allowed range and
9683 pass 0 to print_complex_function_ulps instead of value within
9686 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9688 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9690 (get_handles_fopen): Likewise.
9691 (do_write_test): Likewise.
9693 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9695 * libio/fileops.c (do_ftell): Use cached offset when
9697 * libio/iofwide.c (do_ftell_wide): Likewise.
9698 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9700 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9703 * libio/libioP.h (get_file_offset): New function.
9704 * libio/fileops.c (get_file_offset): Likewise.
9705 (do_ftell): Likewise.
9706 (_IO_new_file_seekoff): Split out ftell logic.
9707 * libio/wfileops.c (do_ftell_wide): Likewise.
9708 (_IO_wfile_seekoff): Split out ftell logic.
9709 * libio/tst-ftell-active-handler.c: New test case.
9710 * libio/Makefile (tests): Add it.
9712 2014-03-03 Roland McGrath <roland@hack.frob.com>
9714 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9715 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9717 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9720 * nscd/connections.c (nscd_init): Call do_exit.
9721 (start_threads): Call do_exit and notify_parent.
9722 (begin_drop_privileges): Call do_exit.
9723 (finish_drop_privileges): Likewise.
9724 * nscd/selinux.c (preserve_capabilities): Likewise.
9725 (install_real_capabilities): Likewise.
9726 (nscd_selinux_enabled): Likewise.
9727 (avc_create_thread): Likewise.
9728 (avc_alloc_lock): Likewise.
9729 (nscd_avc_init): Likewise.
9730 * nscd/nscd.c (parent_fd): New static variable.
9731 (main): Create a pipe between parent and child processes.
9732 Skip closing parent_fd.
9733 (monitor_child): New function.
9734 (do_exit): Likewise.
9735 (notify_parent): Likewise.
9736 * nscd/nscd.h (notify_parent): Likewise.
9737 (do_exit): Likewise.
9739 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9741 * malloc/malloc.c (__libc_calloc): Revert last change.
9743 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9747 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9749 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9753 (__libc_ifunc_impl_list): Likewise.
9754 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9755 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9756 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9757 * string/strrchr.c: Define STRRCHR.
9759 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9761 * benchtest/bench-strtok.c (simple_strtok): Delete.
9762 (strtok_string): Use as benchmark.
9763 * string/strtok (STRTOK): New macro.
9765 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9767 * manual/threads.texi: Add header and standard comments to all
9770 * elf/dl-lookup.c (check_match): New function.
9771 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9772 (do_lookup_x): Remove nested function check_match. Use non-nested
9773 function check_match.
9775 2014-02-28 Roland McGrath <roland@hack.frob.com>
9777 * csu/Makefile (generated, before-compile): Use += rather than =.
9778 * catgets/Makefile (generated, generated-dirs): Likewise.
9779 * debug/Makefile (generated): Likewise.
9780 * dlfcn/Makefile (generated): Likewise.
9781 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9782 * iconvdata/Makefile (before-compile, generated): Likewise.
9783 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9784 * libio/Makefile (generated): Likewise.
9785 * malloc/Makefile (generated): Likewise.
9786 * manual/Makefile (generated, generated-dirs): Likewise.
9787 * misc/Makefile (generated): Likewise.
9788 * posix/Makefile (generated): Likewise.
9789 * resolv/Makefile (generated): Likewise.
9790 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9791 * timezone/Makefile (generated, generated-dirs): Likewise.
9793 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9795 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9797 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9798 power8 implementation.
9799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9800 file: POWER8 llround ifunc implementation.
9801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9802 (__lllround): Add POWER8 implementation.
9803 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9804 POWER8 llround implementation.
9806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9807 power8 implementation.
9808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9809 file: POWER8 llrint ifunc implementation.
9810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9811 Add POWER8 implementation.
9812 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9813 POWER8 llrint implementation.
9815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9816 power8 implementation.
9817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9818 file: POWER8 finite ifunc implementation.
9819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9820 Add POWER8 implementation.
9821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9823 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9824 POWER8 finite implementation.
9825 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9828 power8 implementation.
9829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9830 file: POWER8 isinf ifunc implementation.
9831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9832 POWER8 implementation.
9833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9835 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9836 isinf implementation.
9837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9839 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9840 (INIT_ARCH): Add hwcap2 initialization.
9841 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9842 power8 implementation.
9843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9844 file: POWER8 isnan ifunc implementation.
9845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9846 POWER8 implementation.
9847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9850 isnan implementation.
9851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9853 2014-02-27 Joey Ye <joey.ye@arm.com>
9855 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9856 (_FP_NANFRAC_Q): Set to zero.
9858 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9861 * math/auto-libm-test-in: New test inputs.
9862 * math/auto-libm-test-out: Regenerate.
9863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9866 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9868 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9870 * scripts/evaluate-test.sh: Take new argument indicating whether
9871 failure is expected.
9872 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9873 indicating whether failure is expected.
9874 * conform/Makefile (test-xfail-run-conformtest): New variable.
9875 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9877 * posix/Makefile (test-xfail-annexc): New variable.
9878 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9880 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9882 * argp/Makefile: Include Makeconfig immediately after defining
9884 * assert/Makefile: Likewise.
9885 * benchtests/Makefile: Likewise.
9886 * catgets/Makefile: Likewise.
9887 * conform/Makefile: Likewise.
9888 * crypt/Makefile: Likewise.
9889 * csu/Makefile: Likewise.
9890 (all): Remove target.
9891 * ctype/Makefile: Include Makeconfig immediately after defining
9893 * debug/Makefile: Likewise.
9894 * dirent/Makefile: Likewise.
9895 * dlfcn/Makefile: Likewise.
9896 * gmon/Makefile: Likewise.
9897 * gnulib/Makefile: Likewise.
9898 * grp/Makefile: Likewise.
9899 * gshadow/Makefile: Likewise.
9900 * hesiod/Makefile: Likewise.
9901 * hurd/Makefile: Likewise.
9902 (all): Remove target.
9903 * iconvdata/Makefile: Include Makeconfig immediately after
9905 * inet/Makefile: Likewise.
9906 * intl/Makefile: Likewise.
9907 * io/Makefile: Likewise.
9908 * libio/Makefile: Likewise.
9909 (all): Remove target.
9910 * locale/Makefile: Include Makeconfig immediately after defining
9912 * login/Makefile: Likewise.
9913 * mach/Makefile: Likewise.
9914 (all): Remove target.
9915 * malloc/Makefile: Include Makeconfig immediately after defining
9917 (all): Remove target.
9918 * manual/Makefile: Include Makeconfig immediately after defining
9920 * math/Makefile: Likewise.
9921 * misc/Makefile: Likewise.
9922 * nis/Makefile: Likewise.
9923 * nss/Makefile: Likewise.
9924 * po/Makefile: Likewise.
9925 (all): Remove target.
9926 * posix/Makefile: Include Makeconfig immediately after defining
9928 * pwd/Makefile: Likewise.
9929 * resolv/Makefile: Likewise.
9930 * resource/Makefile: Likewise.
9931 * rt/Makefile: Likewise.
9932 * setjmp/Makefile: Likewise.
9933 * shadow/Makefile: Likewise.
9934 * signal/Makefile: Likewise.
9935 * socket/Makefile: Likewise.
9936 * soft-fp/Makefile: Likewise.
9937 * stdio-common/Makefile: Likewise.
9938 * stdlib/Makefile: Likewise.
9939 * streams/Makefile: Likewise.
9940 * string/Makefile: Likewise.
9941 * sunrpc/Makefile: Likewise.
9942 (all): Remove target.
9943 * sysvipc/Makefile: Include Makeconfig immediately after defining
9945 * termios/Makefile: Likewise.
9946 * time/Makefile: Likewise.
9947 * timezone/Makefile: Likewise.
9948 (all): Remove target.
9949 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9951 * wctype/Makefile: Likewise.
9953 2014-02-26 Steve Ellcey <sellcey@mips.com>
9955 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9956 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9957 (libc_feholdexcept_setround_mips): Ditto.
9958 (libc_feholdsetround): New.
9959 (libc_feholdsetroundf): New.
9960 (libc_feholdsetroundl): New.
9961 (libc_feupdateenv_test_mips): New.
9962 (libc_feupdateenv_test): New.
9963 (libc_feupdateenv_testf): New.
9964 (libc_feupdateenv_testl): New.
9965 (libc_feresetround): New.
9966 (libc_feresetroundf): New.
9967 (libc_feresetroundl): New.
9968 (libc_fetestexcept_mips): New.
9969 (libc_fetestexcept): New.
9970 (libc_fetestexceptf): New.
9971 (libc_fetestexceptl): New.
9973 (libc_feholdexcept_setround_mips_ctx): New.
9974 (libc_feholdexcept_setround_ctx): New.
9975 (libc_feholdexcept_setroundf_ctx): New.
9976 (libc_feholdexcept_setroundl_ctx): New.
9977 (libc_fesetenv_mips_ctx): New.
9978 (libc_fesetenv_ctx): New.
9979 (libc_fesetenv_ctxf): New.
9980 (libc_fesetenv_ctxl): New.
9981 (libc_feupdateenv_mips_ctx): New.
9982 (libc_feupdateenv_ctx): New.
9983 (libc_feupdateenvf_ctx): New.
9984 (libc_feupdateenvl_ctx): New.
9985 (libc_feholdsetround_mips_ctx): New.
9986 (libc_feholdsetround_ctx): New.
9987 (libc_feholdsetroundf_ctx): New.
9988 (libc_feholdsetroundl_ctx): New.
9989 (libc_feresetround_mips_ctx): New.
9990 (libc_feresetround_ctx): New.
9991 (libc_feresetroundf_ctx): New.
9992 (libc_feresetroundl_ctx): New.
9994 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9996 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9998 * manual/ipc.texi: New file.
9999 * manual/Makefile (chapters): Add ipc.
10000 * manual/job.texi: Add "Inter-Process Communication" to next.
10001 * manual/process.texi: Add "Inter-Process Communication" to prev.
10003 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10007 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10009 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10011 * manual/arith.texi: Fix spaces after sentences.
10012 * manual/charset.texi: Likewise.
10013 * manual/errno.texi: Likewise.
10014 * manual/install.texi: Likewise.
10015 * manual/llio.texi: Likewise.
10016 * manual/locale.texi: Likewise.
10017 * manual/maint.texi: Likewise.
10018 * manual/math.texi: Likewise.
10019 * manual/memory.texi: Likewise.
10020 * manual/message.texi: Likewise.
10021 * manual/probes.texi: Likewise.
10022 * manual/resource.texi: Likewise.
10023 * manual/signal.texi: Likewise.
10024 * manual/socket.texi: Likewise.
10025 * manual/stdio.texi: Likewise.
10026 * manual/string.texi: Likewise.
10027 * manual/time.texi: Likewise.
10028 * manual/users.texi: Likewise.
10030 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10033 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10034 _DEFAULT_SOURCE is defined.
10036 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10037 Carlos O'Donell <carlos@redhat.com>
10040 * elf/dl-tls.c (_dl_count_modids): New function.
10041 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10042 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10043 audit library and increment generation counter.
10044 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10045 * elf/tst-audit9.c: New file.
10046 * elf/tst-auditmod9a.c: New file.
10047 * elf/tst-auditmod9b.c: New file.
10048 * elf/Makefile: Add rules to build and run tst-audit9.
10050 2014-02-25 Florian Weimer <fweimer@redhat.com>
10053 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10055 2014-02-25 Will Newton <will.newton@linaro.org>
10057 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10058 (__longjmp): Restore sp and lr before restoring callee
10059 saved registers. Add longjmp and longjmp_target
10060 SystemTap probe point.
10061 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10062 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10063 Define to zero to match jmpbuf layout.
10064 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10065 (__sigsetjmp): Save sp and lr before saving callee
10066 saved registers. Add setjmp SystemTap probe point.
10068 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10070 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10072 2014-02-24 Andreas Schwab <schwab@suse.de>
10075 * elf/pldd.c (wait_for_ptrace_stop): New function.
10076 (main): Call it after attaching.
10078 2014-02-22 Roland McGrath <roland@hack.frob.com>
10080 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10081 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10082 Versions files is now verboten.
10083 * hurd/Versions (libc: GLIBC_2.0):
10084 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10085 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10086 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10087 * mach/Versions: Likewise.
10089 * csu/Versions: Remove unused %include.
10090 * resolv/Versions: Likewise.
10092 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10094 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10095 ($(objpfx)check-local-headers.out): Likewise.
10096 ($(objpfx)begin-end-check.out): Likewise.
10097 * Makerules (check-abi-%.out): Likewise.
10098 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10099 ($(objpfx)test2.cat): Likewise.
10100 ($(objpfx)de/libc.cat): Likewise.
10101 ($(objpfx)test-gencat.out): Likewise.
10102 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10103 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10104 ($(objpfx)noload-mem): Likewise.
10105 ($(objpfx)tst-pathopt.out): Likewise.
10106 ($(objpfx)tst-rtld-load-self.out): Likewise.
10107 ($(objpfx)tst-array1-cmp.out): Likewise.
10108 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10109 ($(objpfx)tst-array2-cmp.out): Likewise.
10110 ($(objpfx)tst-array3-cmp.out): Likewise.
10111 ($(objpfx)tst-array4-cmp.out): Likewise.
10112 ($(objpfx)tst-array5-cmp.out): Likewise.
10113 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10114 ($(objpfx)check-textrel.out): Likewise.
10115 ($(objpfx)check-execstack.out): Likewise.
10116 ($(objpfx)check-localplt.out): Likewise.
10117 ($(objpfx)order2-cmp.out): Likewise.
10118 ($(objpfx)tst-leaks1-mem): Likewise.
10119 ($(objpfx)tst-leaks1-static-mem): Likewise.
10120 ($(objpfx)tst-initorder-cmp.out): Likewise.
10121 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10122 ($(objpfx)tst-unused-dep.out): Likewise.
10123 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10124 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10125 * iconv/Makefile (test-iconvconfig): Likewise.
10126 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10127 ($(objpfx)iconv-test.out): Likewise.
10128 ($(objpfx)tst-tables.out): Likewise.
10129 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10130 ($(objpfx)tst-gettext.out): Likewise.
10131 ($(objpfx)tst-translit.out): Likewise.
10132 ($(objpfx)tst-gettext2.out): Likewise.
10133 ($(objpfx)tst-gettext4.out): Likewise.
10134 ($(objpfx)tst-gettext6.out): Likewise.
10135 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10136 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10137 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10138 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10139 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10140 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10141 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10142 ($(objpfx)wordexp-tst.out): Likewise.
10143 ($(objpfx)annexc.out): Likewise.
10144 ($(objpfx)tst-fnmatch-mem): Likewise.
10145 ($(objpfx)bug-regex2-mem): Likewise.
10146 ($(objpfx)bug-regex14-mem): Likewise.
10147 ($(objpfx)bug-regex21-mem): Likewise.
10148 ($(objpfx)bug-regex31-mem): Likewise.
10149 ($(objpfx)tst-vfork3-mem): Likewise.
10150 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10151 ($(objpfx)tst-pcre-mem): Likewise.
10152 ($(objpfx)tst-boost-mem): Likewise.
10153 ($(objpfx)tst-getconf.out): Likewise.
10154 ($(objpfx)bug-ga2-mem): Likewise.
10155 ($(objpfx)bug-glob2-mem): Likewise.
10156 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10157 ($(objpfx)mtrace-tst-leaks2): Likewise.
10158 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10159 ($(objpfx)tst-printf.out): Likewise.
10160 ($(objpfx)tst-setvbuf1.out): Likewise.
10161 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10162 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10163 ($(objpfx)tst-fmtmsg.out): Likewise.
10164 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10165 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10167 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10168 * bits/sigaction.h [__USE_MISC]: Likewise.
10169 * bits/waitstatus.h: Update #endif comments.
10170 * ctype/ctype.h: Likewise.
10171 * dirent/dirent.h: Likewise.
10172 [__USE_MISC]: Remove redundant conditionals.
10173 * grp/grp.h: Update #endif comments.
10174 [__USE_GNU]: Remove redundant conditionals.
10175 [__USE_MISC]: Likewise.
10176 * inet/netinet/in.h [__USE_GNU]: Likewise.
10177 * io/sys/stat.h [__USE_MISC]: Likewise.
10178 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10179 * libio/bits/stdio.h: Update #endif comments.
10180 [__USE_MISC]: Remove redundant conditionals.
10181 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10182 * libio/stdio.h: Update #endif comments.
10183 [__USE_MISC]: Remove redundant conditionals.
10184 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10185 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10186 * math/math.h: Update #else and #endif comments.
10187 [__USE_MISC]: Remove redundant conditionals.
10188 * misc/sys/uio.h: Update #endif comments.
10189 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10190 * posix/glob.h [__USE_MISC]: Likewise.
10191 * posix/sys/types.h: Update #endif comments.
10192 [__USE_MISC]: Remove redundant conditionals.
10193 * posix/sys/wait.h: Update #endif comments.
10194 [__USE_MISC]: Remove redundant conditionals.
10195 * posix/unistd.h: Update #endif comments.
10196 [__USE_MISC]: Remove redundant conditionals.
10197 * pwd/pwd.h [__USE_GNU]: Likewise.
10198 [__USE_MISC]: Likewise.
10199 * resolv/netdb.h [__USE_GNU]: Likewise.
10200 * signal/signal.h: Update #endif comments.
10201 [__USE_MISC]: Remove redundant conditionals.
10202 * stdlib/stdlib.h: Update #else and #endif comments.
10203 [__USE_MISC]: Remove redundant conditionals.
10204 [__USE_GNU]: Likewise.
10205 * string/bits/string2.h [__USE_MISC]: Likewise.
10206 * string/string.h: Update #endif comments.
10207 [__USE_MISC]: Remove redundant conditionals.
10208 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10210 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10211 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10212 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10214 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10216 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10218 [__USE_MISC]: Remove redundant conditionals.
10219 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10220 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10221 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10222 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10223 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10225 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10226 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10228 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10229 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10231 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10233 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10234 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10236 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10238 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10239 * sysdeps/x86/bits/string.h: Update #endif comments.
10240 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10242 * time/sys/time.h: Update #endif comments.
10243 * time/time.h: Likewise.
10244 [__USE_MISC]: Remove redundant conditionals.
10246 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10249 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10251 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10253 * Versions.def (librt): Add GLIBC_2.17.
10255 2014-02-21 Adam Conrad <adconrad@0c3.net>
10257 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10258 synonym for _SYS_AUXV_H to allow direct inclusion.
10259 * sysdeps/sparc/bits/hwcap.h: Likewise.
10260 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10261 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10262 * sysdeps/sparc/sysdep.h: Likewise.
10264 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10266 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10268 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10270 * benchtests/bench-strrchr.c: Print length instead of position.
10272 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10275 * sysdeps/unix/sysv/linux/kernel-features.h
10276 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10277 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10278 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10279 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10281 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10282 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10283 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10284 (__ASSUME_SENDMMSG): Define instead of using previous
10285 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10286 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10287 (__ASSUME_SENDMMSG_SYSCALL): Define.
10288 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10289 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10291 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10292 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10294 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10295 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10297 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10298 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10299 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10300 [__ASSUME_SENDMMSG]: Change conditionals to
10301 [__ASSUME_SENDMMSG_SOCKETCALL].
10302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10303 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10305 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10306 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10308 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10309 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10310 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10311 [!__ASSUME_SENDMMSG]: Change conditional to
10312 [!__ASSUME_SENDMMSG_SOCKETCALL].
10313 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10314 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10318 * sysdeps/unix/sysv/linux/kernel-features.h
10319 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10320 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10321 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10322 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10323 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10324 [__i386__ || __sparc__]
10325 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10326 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10327 (__ASSUME_RECVMMSG): Define instead of using previous
10328 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10329 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10330 (__ASSUME_RECVMMSG_SYSCALL): Define.
10331 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10332 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10334 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10335 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10337 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10338 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10340 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10341 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10342 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10343 [__ASSUME_RECVMMSG]: Change condition to
10344 [__ASSUME_RECVMMSG_SOCKETCALL].
10345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10346 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10348 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10349 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10350 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10352 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10353 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10354 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10355 [!__ASSUME_RECVMMSG]: Change condition to
10356 [!__ASSUME_RECVMMSG_SOCKETCALL].
10357 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10358 (__ASSUME_RECVMMSG_SYSCALL): Define.
10361 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10362 __powerpc__ || __s390__ || __sh__ || __sparc__]
10363 (__ASSUME_SOCKETCALL): Define.
10364 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10365 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10366 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10367 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10368 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10369 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10370 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10371 (__ASSUME_ACCEPT4): Define instead of using previous
10372 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10373 __powerpc__ || __sparc__ || __s390__)] condition.
10374 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10375 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10376 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10377 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10378 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10379 [!__ASSUME_ACCEPT4]: Change condition to
10380 [!__ASSUME_ACCEPT4_SOCKETCALL].
10381 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10382 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10383 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10384 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10385 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10386 __ASSUME_ACCEPT4_SYSCALL.
10387 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10388 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10389 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10390 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10391 __ASSUME_ACCEPT4_SYSCALL.
10392 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10393 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10394 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10395 [__ASSUME_ACCEPT4]: Change condition to
10396 [__ASSUME_ACCEPT4_SOCKETCALL].
10397 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10398 (__ASSUME_SOCKETCALL): Define.
10399 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10401 (__ASSUME_SOCKETCALL): Define.
10402 (__ASSUME_ACCEPT4): Remove.
10403 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10405 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10406 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10408 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10409 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10411 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10413 (HWCAP_ARM_LPAE): Likewise.
10414 (HWCAP_ARM_EVTSTRM): Likewise.
10415 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10416 Add vpfd32, lpae and evtstrm.
10417 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10420 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10422 * math/auto-libm-test-in: Add tests of clog10.
10423 * math/auto-libm-test-out: Regenerated.
10424 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10425 * sysdeps/i386/fpu/libm-test-ulps: Update.
10426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10428 2014-02-18 Andreas Schwab <schwab@suse.de>
10431 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10432 Store non-zero if the second buffer was newly allocated.
10433 (send_dg): Likewise.
10434 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10435 to send_vc and send_dg.
10436 (res_nsend): Pass NULL for ansp2_malloced.
10437 * resolv/res_query.c (__libc_res_nquery): Add parameter
10438 answerp2_malloced and pass it down to __libc_res_nsend.
10439 (res_nquery): Pass additional NULL to __libc_res_nquery.
10440 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10441 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10442 second answer buffer if answerp2_malloced was set.
10443 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10444 (__libc_res_nquerydomain): Add parameter
10445 answerp2_malloced and pass it down to __libc_res_nquery.
10446 (res_nquerydomain): Pass additional NULL to
10447 __libc_res_nquerydomain.
10448 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10449 additional NULL to __libc_res_nsend and __libc_res_nquery.
10450 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10451 additional NULL to __libc_res_nsearch.
10452 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10453 parameter of __libc_res_nsearch to check for separately allocated
10455 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10457 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10458 additional NULL to __libc_res_nquery.
10459 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10460 __libc_res_nsearch.
10461 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10462 * include/resolv.h: Update prototypes of __libc_res_nquery,
10463 __libc_res_nsearch, __libc_res_nsend.
10465 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10467 * math/auto-libm-test-in: Add tests of fma.
10468 * math/auto-libm-test-out: Regenerated.
10469 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10470 (fma_towardzero_test_data): Likewise.
10471 (fma_downward_test_data): Likewise.
10472 (fma_upward_test_data): Likewise.
10473 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10475 (rounding_modes): Add values for new field.
10476 (func_calc_method): Add value mpfr_fff_f.
10477 (func_calc_desc): Add mpfr_fff_f union field.
10478 (test_function): Add field exact_args.
10479 (FUNC): Add macro argument EXACT_ARGS.
10480 (FUNC_mpfr_f_f): Update call to FUNC.
10481 (FUNC_mpfr_f_f): Likewise.
10482 (FUNC_mpfr_ff_f): Likewise.
10483 (FUNC_mpfr_if_f): Likewise.
10484 (FUNC_mpc_c_f): Likewise.
10485 (FUNC_mpc_c_c): Likewise.
10486 (test_functions): Add fma. Update calls to FUNC.
10487 (handle_input_arg): Add argument exact_args.
10488 (add_test): Update call to handle_input_arg.
10489 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10490 (output_for_one_input_case): Update call to calc_generic_results.
10491 Recalculate exact zero results in each rounding mode.
10493 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10494 non-negative before setting low bit.
10495 * math/auto-libm-test-in: Mark one asin test possibly having
10496 spurious underflow.
10497 * math/auto-libm-test-out: Regenerated.
10498 * sysdeps/i386/fpu/libm-test-ulps: Update.
10499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10501 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10503 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10504 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10505 ports/sysdeps/unix/sysv/linux/microblaze.
10506 * README: Add missing listing for microblaze*-*-linux-gnu.
10508 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10510 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10513 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10515 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10516 * sysdeps/unix/sysv/linux/ia64: Move directory from
10517 ports/sysdeps/unix/sysv/linux/ia64.
10518 * README: Update listing for ia64-*-linux-gnu.
10520 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10521 Joseph Myers <joseph@codesourcery.com>
10523 * Makeconfig (test-name): New variable.
10524 (evaluate-test): Likewise.
10525 * Makerules (do-test-clean): Remove .test-result files.
10526 (common-mostlyclean): Likewise.
10527 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10528 * scripts/evaluate-test.sh: New file.
10530 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10532 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10533 separate $(objpfx)tst-fopenloc-cmp.out and
10534 $(objpfx)tst-fopenloc-mem.out targets.
10535 (tests): Update dependencies.
10536 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10537 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10538 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10539 (tst-rxspencer-no-utf8-ARGS): New variable.
10540 (tst-rxspencer-no-utf8-ENV): Likewise.
10541 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10542 instead of $(objpfx)tst-rxspencer-mem.
10543 ($(objpfx)tst-rxspencer-mem): Change target to
10544 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10545 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10546 * posix/tst-rxspencer-no-utf8.c: New file.
10548 * elf/Makefile ($(objpfx)order.out): Remove rule.
10549 [$(run-built-tests) = yes] (tests): Depend on
10550 $(objpfx)order-cmp.out.
10551 ($(objpfx)order-cmp.out): New rule.
10552 [$(run-built-tests) = yes] (tests): Depend on
10553 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10554 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10555 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10556 $(objpfx)tst-array5-static-cmp.out.
10557 ($(objpfx)tst-array1.out): Remove rule.
10558 ($(objpfx)tst-array1-cmp.out): New rule.
10559 ($(objpfx)tst-array1-static.out): Remove rule.
10560 ($(objpfx)tst-array1-static-cmp.out): New rule.
10561 ($(objpfx)tst-array2.out): Remove rule.
10562 ($(objpfx)tst-array2-cmp.out): New rule.
10563 ($(objpfx)tst-array3.out): Remove rule.
10564 ($(objpfx)tst-array3-cmp.out): New rule.
10565 ($(objpfx)tst-array4.out): Remove rule.
10566 ($(objpfx)tst-array4-cmp.out): New rule.
10567 ($(objpfx)tst-array5.out): Remove rule.
10568 ($(objpfx)tst-array5-cmp.out): New rule.
10569 ($(objpfx)tst-array5-static.out): Remove rule.
10570 ($(objpfx)tst-array5-static-cmp.out): New rule.
10571 [$(run-built-tests) = yes] (tests): Depend on
10572 $(objpfx)order2-cmp.out.
10573 ($(objpfx)order2.out): Remove rule.
10574 ($(objpfx)order2-cmp.out): New rule.
10575 ($(objpfx)tst-initorder.out): Remove rule.
10576 [$(run-built-tests) = yes] (tests): Depend on
10577 $(objpfx)tst-initorder-cmp.out.
10578 ($(objpfx)tst-initorder-cmp.out): New rule.
10579 ($(objpfx)tst-initorder2.out): Remove rule.
10580 [$(run-built-tests) = yes] (tests): Depend on
10581 $(objpfx)tst-initorder2-cmp.out.
10582 ($(objpfx)tst-initorder2-cmp.out): New rule.
10583 [$(run-built-tests) = yes] (tests): Depend on
10584 $(objpfx)tst-unused-dep-cmp.out.
10585 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10586 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10587 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10588 on $(objpfx)tst-setvbuf1-cmp.out.
10589 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10590 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10591 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10592 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10593 ($(objpfx)tst-svc.out): Remove rule.
10594 ($(objpfx)tst-svc-cmp.out): New rule.
10596 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10598 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10599 * ctype/ctype.h [__USE_MISC]: Likewise.
10600 * dirent/dirent.h [__USE_MISC]: Likewise.
10601 * grp/grp.h [__USE_MISC]: Likewise.
10602 * io/fcntl.h [__USE_MISC]: Likewise.
10603 * io/sys/stat.h [__USE_MISC]: Likewise.
10604 * libio/stdio.h [__USE_MISC]: Likewise.
10605 * posix/unistd.h [__USE_MISC]: Likewise.
10606 * pwd/pwd.h [__USE_MISC]: Likewise.
10607 * stdlib.h [__USE_MISC]: Likewise.
10608 * string/bits/string2.h [__USE_MISC]: Likewise.
10609 * string/string.h [__USE_MISC]: Likewise.
10610 * time/time.h [__USE_MISC]: Likewise.
10612 2014-02-13 Andreas Schwab <schwab@suse.de>
10615 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10616 second answer buffer if it was separately allocated.
10618 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10620 * sysdeps/mips/math-tests.h: Include <features.h>.
10621 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10622 (ROUNDING_TESTS_long_double): Do not define.
10623 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10624 (EXCEPTION_TESTS_long_double): Likewise.
10625 * sysdeps/mips/mips64/libm-test-ulps: Update.
10627 * include/features.h (__USE_BSD): Remove macro definitions.
10628 (__USE_SVID): Likewise.
10629 (_BSD_SOURCE): Likewise.
10630 (_SVID_SOURCE): Likewise.
10631 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10632 from definition of _DEFAULT_SOURCE.
10633 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10635 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10636 * bits/mman.h [__USE_BSD]: Likewise.
10637 * bits/termios.h [__USE_BSD]: Likewise.
10638 * bits/waitstatus.h [__USE_BSD]: Likewise.
10639 * ctype/ctype.h [__USE_SVID]: Likewise.
10640 * dirent/dirent.h [__USE_BSD]: Likewise.
10641 * grp/grp.h [__USE_SVID]: Likewise.
10642 [__USE_BSD]: Likewise.
10643 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10644 * io/fcntl.h [__USE_BSD]: Likewise.
10645 * io/ftw.h [__USE_BSD]: Likewise.
10646 * io/sys/stat.h [__USE_BSD]: Likewise.
10647 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10648 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10649 * libio/stdio.h [__USE_SVID]: Likewise.
10650 [__USE_BSD]: Likewise.
10651 * math/math.h [__USE_SVID]: Likewise.
10652 [__USE_BSD]: Likewise.
10653 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10654 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10655 * misc/search.h [__USE_SVID]: Likewise.
10656 * misc/sys/mman.h [__USE_BSD]: Likewise.
10657 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10658 * misc/sys/uio.h [__USE_BSD]: Likewise.
10659 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10660 * posix/glob.h [__USE_BSD]: Likewise.
10661 * posix/regex.h [__USE_BSD]: Likewise.
10662 * posix/sys/types.h [__USE_BSD]: Likewise.
10663 [__USE_SVID]: Likewise.
10664 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10665 * posix/sys/wait.h [__USE_BSD]: Likewise.
10666 [__USE_SVID]: Likewise.
10667 * posix/unistd.h [__USE_BSD]: Likewise.
10668 [__USE_SVID]: Likewise.
10669 * pwd/pwd.h [__USE_SVID]: Likewise.
10670 * resolv/netdb.h [__USE_BSD]: Likewise.
10671 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10672 * signal/signal.h [__USE_BSD]: Likewise.
10673 [__USE_SVID]: Likewise.
10674 * socket/sys/socket.h [__USE_BSD]: Likewise.
10675 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10676 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10677 [__USE_SVID]: Likewise.
10678 * string/bits/string2.h [__USE_BSD]: Likewise.
10679 [__USE_SVID]: Likewise.
10680 * string/bits/string3.h [__USE_BSD]: Likewise.
10681 * string/endian.h [__USE_BSD]: Likewise.
10682 * string/string.h [__USE_SVID]: Likewise.
10683 [__USE_BSD]: Likewise.
10684 * string/strings.h [__USE_BSD]: Likewise.
10685 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10686 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10687 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10688 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10689 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10690 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10694 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10695 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10697 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10698 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10700 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10702 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10703 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10708 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10709 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10710 * termios/termios.h [__USE_BSD]: Likewise.
10711 * time/sys/time.h [__USE_BSD]: Likewise.
10712 * time/time.h [__USE_BSD]: Likewise.
10713 [__USE_SVID]: Likewise.
10715 * Makefile (subdir_targets): Remove subdir_lint.out.
10717 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10718 (do-tst-printf): Likewise.
10719 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10720 $(objpfx)tst-printf.out.
10722 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10724 * Makerules (check-abi-%): Change target to
10725 $(objpfx)check-abi-%.out.
10726 (check-abi target): Update dependencies.
10727 (check-abi-pattern variable): Redirect output of diff to $@.
10728 (check-abi variable): Likewise.
10729 * elf/Makefile (check-abi): Update dependencies.
10731 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10733 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10734 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10736 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10737 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10738 value has largest subnormal exponent.
10739 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10740 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10741 * sysdeps/aarch64/soft-fp/sfp-machine.h
10742 (_FP_TININESS_AFTER_ROUNDING): New macro.
10743 * sysdeps/alpha/soft-fp/sfp-machine.h
10744 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10745 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10747 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10748 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10749 * sysdeps/mips/soft-fp/sfp-machine.h
10750 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10751 * sysdeps/powerpc/soft-fp/sfp-machine.h
10752 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10753 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10755 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10756 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10757 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10758 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10759 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10762 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10765 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10768 2014-02-12 Richard Henderson <rth@redhat.com>
10770 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10771 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10772 * sysdeps/unix/sysv/linux/alpha: Move directory from
10773 ports/sysdeps/unix/sysv/linux/alpha.
10774 * README: Update listing for alpha-*-linux-gnu.
10776 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10778 * include/features.h: Update comment documenting feature test
10780 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10782 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10783 (_SVID_SOURCE): Likewise.
10784 (_DEFAULT_SOURCE): Update description of default features.
10785 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10787 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10788 (S_ISVTX): Likewise.
10789 * manual/math.texi (Mathematical Constants): Likewise.
10790 * manual/signal.texi (Interrupted Primitives): Likewise.
10791 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10792 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10793 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10794 Don't refer to _SVID_SOURCE in warning text.
10796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10798 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10800 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10801 * sysdeps/mips/dl-lookup.c: Remove.
10802 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10804 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10807 * math/auto-libm-test-in: Add testcase for expl.
10808 * math/auto-libm-test-out: Regenerate.
10809 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10810 calculation of unsafe.
10811 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10813 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10815 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10816 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10817 ports/sysdeps/unix/sysv/linux/aarch64.
10818 * README: Update listing for aarch64*-*-linux-gnu.
10820 2014-02-11 Will Newton <will.newton@linaro.org>
10822 * manual/probes.texi (Mathematical Function Probes): Use
10823 "triggered" instead of "hit".
10825 * manual/probes.texi (Internal Probes): Add documentation
10826 of setjmp, longjmp and longjmp_target probes.
10828 * include/stap-probe.h: Add comment about probe argument
10831 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10832 definition. (tr_where, tr_freehook, tr_mallochook,
10833 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10835 2014-02-11 David S. Miller <davem@davemloft.net>
10837 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10838 processing int_tests.
10840 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10842 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10843 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10844 * sysdeps/unix/sysv/linux/mips: Move directory from
10845 ports/sysdeps/unix/sysv/linux/mips.
10846 * README: Update listing for mips-*-linux-gnu and
10847 mips64-*-linux-gnu.
10849 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10851 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10852 * sysdeps/unix/sysv/linux/m68k: Move directory from
10853 ports/sysdeps/unix/sysv/linux/m68k.
10854 * README: Update listing for m68k-*-linux-gnu.
10856 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10858 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10859 * sysdeps/unix/sysv/linux/generic: Move directory from
10860 ports/sysdeps/unix/sysv/linux/generic.
10861 * sysdeps/unix/sysv/linux/tile: Move directory from
10862 ports/sysdeps/unix/sysv/linux/tile.
10863 * README: Update listing for tile*-*-linux-gnu.
10865 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10867 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10869 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10870 * catgets/open_catalog.c (__open_catalog): Likewise.
10871 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10872 * debug/confstr_chk.c: Likewise.
10873 * debug/fread_chk.c (__fread_chk): Likewise.
10874 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10875 * debug/getgroups_chk.c: Likewise.
10876 * debug/mbsnrtowcs_chk.c: Likewise.
10877 * debug/mbsrtowcs_chk.c: Likewise.
10878 * debug/mbstowcs_chk.c: Likewise.
10879 * debug/memcpy_chk.c: Likewise.
10880 * debug/memmove_chk.c: Likewise.
10881 * debug/mempcpy_chk.c: Likewise.
10882 * debug/memset_chk.c: Likewise.
10883 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10884 * debug/strcat_chk.c (__strcat_chk): Likewise.
10885 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10886 * debug/strncat_chk.c (__strncat_chk): Likewise.
10887 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10888 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10889 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10890 * debug/wcpncpy_chk.c: Likewise.
10891 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10892 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10893 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10894 * debug/wcsncpy_chk.c: Likewise.
10895 * debug/wcsnrtombs_chk.c: Likewise.
10896 * debug/wcsrtombs_chk.c: Likewise.
10897 * debug/wcstombs_chk.c: Likewise.
10898 * debug/wmemcpy_chk.c: Likewise.
10899 * debug/wmemmove_chk.c: Likewise.
10900 * debug/wmempcpy_chk.c: Likewise.
10901 * debug/wmemset_chk.c: Likewise.
10902 * dirent/scandirat.c (SCANDIRAT): Likewise.
10903 * dlfcn/dladdr1.c (dladdr1): Likewise.
10904 * dlfcn/dladdr.c (dladdr): Likewise.
10905 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10906 * dlfcn/dlerror.c (__dlerror): Likewise.
10907 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10908 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10909 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10910 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10911 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10912 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10913 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10914 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10916 * elf/dl-conflict.c: Likewise.
10917 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10918 * elf/dl-dst.h: Likewise.
10919 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10920 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10921 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10922 * elf/dl-init.c (call_init, _dl_init): Likewise.
10923 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10924 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10925 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10927 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10929 * elf/dl-minimal.c (__libc_memalign): Likewise.
10930 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10931 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10932 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10933 * elf/dl-sym.c (do_sym): Likewise.
10934 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10935 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10936 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10937 * elf/dl-writev.h (_dl_writev): Likewise.
10938 * elf/ldconfig.c (search_dir): Likewise.
10939 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10940 (dl_main): Likewise.
10941 * elf/setup-vdso.h (setup_vdso): Likewise.
10942 * grp/compat-initgroups.c (compat_call): Likewise.
10943 * grp/fgetgrent.c (fgetgrent): Likewise.
10944 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10945 * grp/putgrent.c (putgrent): Likewise.
10946 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10948 * hurd/hurdinit.c: Likewise.
10949 * iconvdata/8bit-gap.c (struct): Likewise.
10950 * iconvdata/ansi_x3.110.c : Likewise.
10951 * iconvdata/big5.c : Likewise.
10952 * iconvdata/big5hkscs.c : Likewise.
10953 * iconvdata/cp1255.c: Likewise.
10954 * iconvdata/cp1258.c : Likewise.
10955 * iconvdata/cp932.c : Likewise.
10956 * iconvdata/euc-cn.c: Likewise.
10957 * iconvdata/euc-jisx0213.c : Likewise.
10958 * iconvdata/euc-jp.c: Likewise.
10959 * iconvdata/euc-jp-ms.c : Likewise.
10960 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10961 * iconvdata/gb18030.c : Likewise.
10962 * iconvdata/gbbig5.c (const): Likewise.
10963 * iconvdata/gbgbk.c: Likewise.
10964 * iconvdata/gbk.c : Likewise.
10965 * iconvdata/ibm1364.c : Likewise.
10966 * iconvdata/ibm930.c : Likewise.
10967 * iconvdata/ibm932.c: Likewise.
10968 * iconvdata/ibm933.c : Likewise.
10969 * iconvdata/ibm935.c : Likewise.
10970 * iconvdata/ibm937.c : Likewise.
10971 * iconvdata/ibm939.c : Likewise.
10972 * iconvdata/ibm943.c: Likewise.
10973 * iconvdata/iso_11548-1.c: Likewise.
10974 * iconvdata/iso-2022-cn.c : Likewise.
10975 * iconvdata/iso-2022-cn-ext.c : Likewise.
10976 * iconvdata/iso-2022-jp-3.c: Likewise.
10977 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10978 * iconvdata/iso-2022-kr.c : Likewise.
10979 * iconvdata/iso646.c (gconv_end): Likewise.
10980 * iconvdata/iso_6937-2.c : Likewise.
10981 * iconvdata/iso_6937.c : Likewise.
10982 * iconvdata/iso8859-1.c: Likewise.
10983 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10984 * iconvdata/shift_jisx0213.c : Likewise.
10985 * iconvdata/sjis.c : Likewise.
10986 * iconvdata/t.61.c : Likewise.
10987 * iconvdata/tcvn5712-1.c : Likewise.
10988 * iconvdata/tscii.c: Likewise.
10989 * iconvdata/uhc.c : Likewise.
10990 * iconvdata/unicode.c (gconv_end): Likewise.
10991 * iconvdata/utf-16.c (gconv_end): Likewise.
10992 * iconvdata/utf-32.c (gconv_end): Likewise.
10993 * iconvdata/utf-7.c (base64): Likewise.
10994 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10995 * iconv/gconv_close.c (__gconv_close): Likewise.
10996 * iconv/gconv_open.c (__gconv_open): Likewise.
10997 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10998 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10999 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11000 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11001 (ucs4le_internal_loop_single): Likewise.
11002 * iconv/iconv.c (iconv): Likewise.
11003 * iconv/iconv_close.c: Likewise.
11004 * iconv/loop.c (SINGLE): Likewise.
11005 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11006 * include/atomic.h: Likewise.
11007 * inet/inet6_option.c (option_alloc): Likewise.
11008 * intl/bindtextdom.c (set_binding_values): Likewise.
11009 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11010 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11011 * intl/localealias.c (read_alias_file): Likewise.
11012 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11013 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11014 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11015 * libio/fmemopen.c (fmemopen): Likewise.
11016 * libio/iofgets.c (_IO_fgets): Likewise.
11017 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11018 * libio/iofgetws.c (fgetws): Likewise.
11019 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11020 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11021 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11022 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11023 * locale/findlocale.c (_nl_find_locale): Likewise.
11024 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11025 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11027 * locale/setlocale.c (setlocale): Likewise.
11028 * login/programs/pt_chown.c (main): Likewise.
11029 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11030 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11031 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11032 (mmap, mmap64, mremap, munmap): Likewise.
11033 * math/e_exp2l.c: Likewise.
11034 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11035 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11036 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11037 * math/s_catan.c (__catan): Likewise.
11038 * math/s_catanf.c (__catanf): Likewise.
11039 * math/s_catanh.c (__catanh): Likewise.
11040 * math/s_catanhf.c (__catanhf): Likewise.
11041 * math/s_catanhl.c (__catanhl): Likewise.
11042 * math/s_catanl.c (__catanl): Likewise.
11043 * math/s_ccosh.c (__ccosh): Likewise.
11044 * math/s_ccoshf.c (__ccoshf): Likewise.
11045 * math/s_ccoshl.c (__ccoshl): Likewise.
11046 * math/s_cexp.c (__cexp): Likewise.
11047 * math/s_cexpf.c (__cexpf): Likewise.
11048 * math/s_cexpl.c (__cexpl): Likewise.
11049 * math/s_clog10.c (__clog10): Likewise.
11050 * math/s_clog10f.c (__clog10f): Likewise.
11051 * math/s_clog10l.c (__clog10l): Likewise.
11052 * math/s_clog.c (__clog): Likewise.
11053 * math/s_clogf.c (__clogf): Likewise.
11054 * math/s_clogl.c (__clogl): Likewise.
11055 * math/s_csin.c (__csin): Likewise.
11056 * math/s_csinf.c (__csinf): Likewise.
11057 * math/s_csinh.c (__csinh): Likewise.
11058 * math/s_csinhf.c (__csinhf): Likewise.
11059 * math/s_csinhl.c (__csinhl): Likewise.
11060 * math/s_csinl.c (__csinl): Likewise.
11061 * math/s_csqrt.c (__csqrt): Likewise.
11062 * math/s_csqrtf.c (__csqrtf): Likewise.
11063 * math/s_csqrtl.c (__csqrtl): Likewise.
11064 * math/s_ctan.c (__ctan): Likewise.
11065 * math/s_ctanf.c (__ctanf): Likewise.
11066 * math/s_ctanh.c (__ctanh): Likewise.
11067 * math/s_ctanhf.c (__ctanhf): Likewise.
11068 * math/s_ctanhl.c (__ctanhl): Likewise.
11069 * math/s_ctanl.c (__ctanl): Likewise.
11070 * math/w_pow.c: Likewise.
11071 * math/w_powf.c: Likewise.
11072 * math/w_powl.c: Likewise.
11073 * math/w_scalb.c (sysv_scalb): Likewise.
11074 * math/w_scalbf.c (sysv_scalbf): Likewise.
11075 * math/w_scalbl.c (sysv_scalbl): Likewise.
11076 * misc/error.c (error_tail): Likewise.
11077 * misc/pselect.c (__pselect): Likewise.
11078 * nis/nis_callback.c (__nis_create_callback): Likewise.
11079 * nis/nis_call.c (__nisfind_server): Likewise.
11080 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11081 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11082 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11083 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11084 * nis/nis_lookup.c (nis_lookup): Likewise.
11085 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11086 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11087 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11088 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11089 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11090 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11091 * nis/nss_compat/compat-initgroups.c (add_group)
11092 (internal_getgrent_r): Likewise.
11093 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11094 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11095 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11096 (internal_getspnam_r): Likewise.
11097 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11098 (_nss_nis_getaliasbyname_r): Likewise.
11099 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11100 (_nss_nis_getntohost_r): Likewise.
11101 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11102 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11103 (_nss_nis_getgrgid_r): Likewise.
11104 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11105 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11106 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11107 (_nss_nis_gethostbyname4_r): Likewise.
11108 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11109 (initgroups_netid): Likewise.
11110 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11111 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11112 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11113 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11114 (_nss_nis_getprotobynumber_r): Likewise.
11115 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11116 (_nss_nis_getsecretkey): Likewise.
11117 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11118 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11119 (_nss_nis_getpwuid_r): Likewise.
11120 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11121 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11122 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11123 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11124 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11125 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11126 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11128 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11129 (_nss_nisplus_getntohost_r): Likewise.
11130 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11131 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11132 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11133 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11135 * nis/nss_nisplus/nisplus-initgroups.c
11136 (_nss_nisplus_initgroups_dyn): Likewise.
11137 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11138 (_nss_nisplus_getnetbyaddr_r): Likewise.
11139 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11140 (_nss_nisplus_getprotobynumber_r): Likewise.
11141 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11142 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11143 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11145 * nis/nss_nisplus/nisplus-service.c
11146 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11147 (_nss_nisplus_getservbyport_r): Likewise.
11148 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11149 (_nss_nisplus_getspnam_r): Likewise.
11150 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11152 * nscd/aicache.c (addhstaiX): Likewise.
11153 * nscd/cache.c (cache_search, prune_cache): Likewise.
11154 * nscd/connections.c (register_traced_file, send_ro_fd)
11155 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11156 (main_loop_epoll): Likewise.
11157 * nscd/grpcache.c (addgrbyX): Likewise.
11158 * nscd/hstcache.c (addhstbyX): Likewise.
11159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11160 * nscd/mem.c (gc, mempool_alloc): Likewise.
11161 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11162 (addinnetgrX): Likewise.
11163 * nscd/nscd-client.h (__nscd_acquire_maplock)
11164 (__nscd_drop_map_ref): Likewise.
11165 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11166 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11167 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11169 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11170 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11171 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11172 (__nscd_get_map_ref): Likewise.
11173 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11174 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11176 * nscd/pwdcache.c (addpwbyX): Likewise.
11177 * nscd/selinux.c (preserve_capabilities): Likewise.
11178 * nscd/servicescache.c (addservbyX): Likewise.
11179 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11180 * posix/fnmatch.c (fnmatch): Likewise.
11181 * posix/getopt.c (_getopt_internal_r): Likewise.
11182 * posix/glob.c (glob, glob_in_dir): Likewise.
11183 * posix/wordexp.c (exec_comm_child): Likewise.
11184 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11185 (getanswer_r, gaih_getanswer_slice): Likewise.
11186 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11187 * resolv/res_init.c: Likewise.
11188 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11189 * resolv/res_query.c (__libc_res_nquery): Likewise.
11190 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11192 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11193 * stdio-common/perror.c (perror): Likewise.
11194 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11195 * stdio-common/tmpnam.c (tmpnam): Likewise.
11196 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11197 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11198 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11200 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11201 * stdlib/putenv.c (putenv): Likewise.
11202 * stdlib/setenv.c (__add_to_environ): Likewise.
11203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11204 * stdlib/strtol_l.c (INTERNAL): Likewise.
11205 * string/memmem.c (memmem): Likewise.
11206 * string/strerror.c (strerror): Likewise.
11207 * string/strnlen.c (__strnlen): Likewise.
11208 * string/test-memmem.c (simple_memmem): Likewise.
11209 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11210 * sunrpc/pm_getport.c (__get_socket): Likewise.
11211 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11212 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11213 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11214 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11216 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11217 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11218 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11219 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11220 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11221 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11223 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11225 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11226 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11228 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11229 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11231 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11232 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11233 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11234 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11235 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11236 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11238 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11242 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11243 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11245 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11246 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11247 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11248 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11251 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11252 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11257 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11259 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11261 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11263 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11265 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11267 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11269 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11270 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11271 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11272 * sysdeps/posix/sleep.c: Likewise.
11273 * sysdeps/posix/tempname.c: Likewise.
11274 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11275 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11277 * sysdeps/powerpc/powerpc32/dl-machine.h
11278 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11279 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11281 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11282 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11284 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11285 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11286 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11287 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11288 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11289 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11290 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11291 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11293 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11295 (elf_machine_lazy_rel): Likewise.
11296 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11298 (elf_machine_lazy_rel): Likewise.
11299 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11300 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11301 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11302 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11303 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11304 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11305 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11308 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11309 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11310 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11311 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11312 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11313 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11314 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11315 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11316 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11317 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11318 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11320 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11321 (__posix_fallocate64_l64): Likewise.
11322 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11323 (posix_fallocate): Likewise.
11324 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11326 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11327 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11328 (getifaddrs_internal): Likewise.
11329 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11330 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11331 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11332 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11333 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11334 (__posix_fallocate64_l64): Likewise.
11335 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11337 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11338 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11339 (__get_clockfreq): Likewise.
11340 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11341 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11342 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11344 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11345 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11346 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11347 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11349 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11350 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11351 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11352 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11353 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11354 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11355 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11357 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11358 (posix_fallocate): Likewise.
11359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11360 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11361 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11362 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11363 (elf_machine_rela, elf_machine_rela_relative)
11364 (elf_machine_lazy_rel): Likewise.
11365 * time/asctime.c (asctime_internal): Likewise.
11366 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11367 * time/tzset.c (__tzset_parse_tz): Likewise.
11368 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11369 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11370 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11371 * wcsmbs/wcsmbsload.h: Likewise.
11374 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11376 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11377 (arena_get2): Remove THREAD_STATS conditionals.
11378 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11379 (__malloc_stats, int): Likewise.
11381 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11383 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11384 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11386 * manual/setjmp.texi: Fix typos/grammar errors.
11388 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11389 Only return early when n is <= 0. Delete unused return statement.
11391 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11392 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11393 * debug/tst-longjmp_chk3.c: New file.
11395 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11396 (test_main): Replace code with set_fortify_handler call.
11397 * debug/test-strcpy_chk.c: Likewise.
11398 * debug/tst-chk1.c: Likewise.
11399 * debug/tst-longjmp_chk.c: Likewise.
11400 * test-skeleton.c: Include fcntl.h & paths.h
11401 (set_fortify_handler): Define.
11403 * debug/tst-longjmp_chk.c: Add header comment and include
11404 ../test-skeleton.c.
11405 (do_test): Mark static.
11406 (TEST_FUNCTION): Define.
11408 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11409 (IP_PMTUDISC_INTERFACE): Likewise.
11410 (IP_MULTICAST_IF): Likewise.
11411 (IP_MULTICAST_TTL): Likewise.
11412 (IP_MULTICAST_LOOP): Likewise.
11413 (IP_ADD_MEMBERSHIP): Likewise.
11414 (IP_DROP_MEMBERSHIP): Likewise.
11415 (IP_UNBLOCK_SOURCE): Likewise.
11416 (IP_BLOCK_SOURCE): Likewise.
11417 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11418 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11419 (IP_MSFILTER): Likewise.
11420 (MCAST_JOIN_GROUP): Likewise.
11421 (MCAST_BLOCK_SOURCE): Likewise.
11422 (MCAST_UNBLOCK_SOURCE): Likewise.
11423 (MCAST_LEAVE_GROUP): Likewise.
11424 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11425 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11426 (MCAST_MSFILTER): Likewise.
11427 (IP_MULTICAST_ALL): Likewise.
11428 (IP_UNICAST_IF): Likewise.
11430 * timezone/Makefile: Delete $(have-ksh) check.
11431 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11432 * timezone/tzselect.ksh: Add +x mode bits.
11434 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11435 (ANON_INODE_FS_MAGIC): Likewise.
11436 (BDEVFS_MAGIC): Likewise.
11437 (BINFMTFS_MAGIC): Likewise.
11438 (BTRFS_TEST_MAGIC): Likewise.
11439 (CRAMFS_MAGIC_WEND): Likewise.
11440 (DEBUGFS_MAGIC): Likewise.
11441 (ECRYPTFS_SUPER_MAGIC): Likewise.
11442 (EXT3_SUPER_MAGIC): Likewise.
11443 (EXT4_SUPER_MAGIC): Likewise.
11444 (FUTEXFS_SUPER_MAGIC): Likewise.
11445 (HOSTFS_SUPER_MAGIC): Likewise.
11446 (HUGETLBFS_MAGIC): Likewise.
11447 (MINIX3_SUPER_MAGIC): Likewise.
11448 (MTD_INODE_FS_MAGIC): Likewise.
11449 (NILFS_SUPER_MAGIC): Likewise.
11450 (OPENPROM_SUPER_MAGIC): Likewise.
11451 (PIPEFS_MAGIC): Likewise.
11452 (PSTOREFS_MAGIC): Likewise.
11453 (QNX6_SUPER_MAGIC): Likewise.
11454 (RAMFS_MAGIC): Likewise.
11455 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11456 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11457 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11458 (SECURITYFS_MAGIC): Likewise.
11459 (SELINUX_MAGIC): Likewise.
11460 (SMACK_MAGIC): Likewise.
11461 (SOCKFS_MAGIC): Likewise.
11462 (SQUASHFS_MAGIC): Likewise.
11463 (STACK_END_MAGIC): Likewise.
11464 (TMPFS_MAGIC): Likewise.
11465 (USBDEVICE_SUPER_MAGIC): Likewise.
11466 (V9FS_MAGIC): Likewise.
11467 (XENFS_SUPER_MAGIC): Likewise.
11468 (CRAMFS_MAGIC): Fix typo in comment.
11469 (EXT2_SUPER_MAGIC): Update comment.
11470 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11472 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11475 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11476 * sysdeps/unix/sysv/linux/arm: Move directory from
11477 ports/sysdeps/unix/sysv/linux/arm.
11478 * README: Update listing for arm-*-linux-gnueabi.
11480 * README: Remove mention of am33.
11482 2014-02-07 Roland McGrath <roland@hack.frob.com>
11484 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11485 than the comma operator, to avoid "rhs of comma has no effect"
11487 (__sigfillset, __sigandset, __sigorset): Likewise.
11488 * include/signal.h (__sigemptyset): Likewise.
11489 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11491 2014-02-07 Allan McRae <allan@archlinux.org>
11493 * version.h (RELEASE): Set to "development".
11494 (VERSION): Set to "2.19.90"
11495 * NEWS: Add 2.20 section.
11497 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11500 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11502 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11504 * manual/contrib.texi: Update entry for Carlos O'Donell,
11505 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11507 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11509 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11511 * sysdeps/unix/sysv/linux/kernel-features.h
11512 [__LINUX_KERNEL_VERSION >= 0x020621]
11513 (__ASSUME_PROC_PID_TASK_COMM): Define.
11515 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11518 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11519 conversion when destination buffer does not have enough space.
11520 * libio/tst-ftell-partial-wide.c: New test case.
11521 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11523 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11524 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11525 Leonard and Allan McRae.
11527 2014-02-04 David S. Miller <davem@davemloft.net>
11529 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11532 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11561 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11563 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11564 * shlib-versions: Likewise.
11566 2014-02-04 Roland McGrath <roland@hack.frob.com>
11567 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11569 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11570 (abilist-pattern): New variable, set to %-le.abilist.
11572 * Makerules (abilist-pattern): New variable.
11573 (vpath): Use $(abilist-pattern) in place of %.abilist.
11574 (check-abi-% pattern rule): Likewise.
11575 (check-abi, update-abi): Likewise.
11577 2014-02-04 Eric Wong <normalperson@yhbt.net>
11579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11581 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11583 * manual/startup.texi: Add next, previous, and top entries for
11584 the `Program Arguments' and `Environment Variables' nodes.
11586 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11588 * manual/macros.texi: Add comments before MTASC-safety macros.
11590 * manual/users.texi: Document MTASC-safety properties.
11592 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11593 (pthread_getspecific, pthread_setspecific): Format with
11594 @deftypefun, and add @safety note.
11595 * manual/signal.texi: Move comments that analyze the above
11596 functions to their home place.
11598 2014-02-03 Allan McRae <allan@archlinux.org>
11600 * po/sl.po: Update Slovenian translation from translation project.
11602 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11604 * manual/time.texi (timegm): Add missing blank after @c.
11605 Reported by Joseph Myers <joseph@codesourcery.com>.
11607 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11609 * manual/check-safety.sh: New.
11610 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11612 * manual/terminal.texi: Document MTASC-safety properties.
11614 * manual/filesys.texi: Document MTASC-safety properties.
11616 * manual/errno.texi: Document MTASC-safety properties.
11618 * manual/intro.texi: Document safety identifiers and
11621 * manual/string.texi (wcstok): Fix prototype.
11622 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11624 * manual/time.texi: Document MTASC-safety properties.
11626 * manual/string.texi: Document MTASC-safety properties.
11628 * manual/threads.texi: Document MTASC-safety properties.
11630 * manual/stdio.texi: Document MTASC-safety properties.
11632 * manual/syslog.texi: Document MTASC-safety properties.
11634 * manual/sysinfo.texi: Document MTASC-safety properties.
11636 * manual/startup.texi: Document MTASC-safety properties.
11638 * manual/socket.texi: Document MTASC-safety properties.
11640 * manual/signal.texi: Document MTASC-safety properties.
11642 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11644 * manual/setjmp.texi: Document MTASC-safety properties.
11646 * manual/search.texi: Document MTASC-safety properties.
11648 * manual/resource.texi: Document MTASC-safety properties.
11650 * manual/process.texi: Document MTASC-safety properties.
11652 * manual/platform.texi: Document MTASC-safety properties.
11654 * manual/pipe.texi: Document MTASC-safety properties.
11656 * manual/pattern.texi: Document MTASC-safety properties.
11658 * manual/message.texi: Document MTASC-safety properties.
11661 * manual/memory.texi: Document MTASC-safety properties.
11663 * manual/math.texi: Document MTASC-safety properties.
11665 * manual/locale.texi: Document MTASC-safety properties.
11667 * manual/llio.texi: Document MTASC-safety properties.
11669 * manual/libdl.texi: New.
11671 * manual/lang.texi: Document MTASC-safety properties.
11673 * manual/job.texi: Document MTASC-safety properties.
11675 * manual/getopt.texi: Document MTASC-safety properties.
11677 * manual/ctype.texi: Document MTASC-safety properties.
11679 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11682 * csu/libc-tls.c (static_map): Remove variable.
11683 (__libc_setup_tls): Use main executable's link map for TLS data.
11684 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11685 casing for LM_ID_BASE and GL(dl_nns).
11686 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11687 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11688 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11689 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11690 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11692 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11695 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11697 * manual/debug.texi: Document MTASC-safety properties.
11699 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11702 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11703 of __x86_64__ when disabling x87 inline functions.
11705 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11707 * manual/charset.texi: Document MTASC-safety properties.
11709 * manual/crypt.texi: Document MTASC-safety properties.
11711 * manual/conf.texi: Document MTASC-safety properties.
11713 * manual/arith.texi: Document MTASC-safety properties.
11715 * manual/argp.texi: Document MTASC-safety properties.
11717 * manual/macros.texi: Introduce macros to document multi
11718 thread, asynchronous signal and asynchronous cancellation
11720 * manual/intro.texi: Introduce the properties themselves.
11722 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11724 * sysdeps/sh/sh4/Makefile: New file.
11726 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11728 * math/gen-libm-test.pl ($srcdir): New variable.
11729 ($auto_input): Use it.
11731 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11734 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11735 access beyond array bounds when parsing netgroups file.
11737 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11738 the old buffer before realloc.
11740 2014-01-27 Allan McRae <allan@archlinux.org>
11742 * po/fr.po: Update French translation from translation project.
11744 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11746 * sysdeps/sh/libm-test-ulps: Regenerate.
11748 2014-01-24 David S. Miller <davem@davemloft.net>
11750 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11752 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11754 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11755 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11757 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11760 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11761 string pointers after reallocation.
11763 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11765 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11766 __SH4A__ instead of __SH_FPU_ANY__.
11768 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11770 * sysdeps/sh/fpu_control.h: New file.
11771 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11772 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11773 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11774 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11775 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11776 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11777 * sysdeps/sh/sys/ucontext.h: Remove.
11778 * sysdeps/sh/sys: Remove directory.
11780 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11782 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11783 s390/sys/ucontext.h.
11784 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11785 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11787 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11790 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11792 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11795 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11796 Adjust the vDSO correctly for internal calls.
11797 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11799 2014-01-20 Allan McRae <allan@archlinux.org>
11801 * po/ca.po: Update Catalan translation from translation project.
11803 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11805 * sysdeps/s390/sotruss-lib.c: New file.
11807 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11811 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11812 local calls issues by not having a PLT stub required for IFUNC calls.
11813 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11815 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11817 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11818 * math/test-fpucw-static.c: Likewise.
11820 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11823 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11825 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11827 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11828 implementation for powerpc.
11830 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11833 * sysdeps/posix/system.c (__libc_system): Do not enable
11834 asynchronous cancellation.
11836 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11839 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11840 handling only for numbers special also in the IEEE case.
11842 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11844 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11846 2014-01-11 Allan McRae <allan@archlinux.org>
11848 * po/bg.po: Update Bulgarian translation from translation project.
11850 * po/de.po: Update German translation from translation project.
11852 2014-01-10 Roland McGrath <roland@hack.frob.com>
11854 * sysdeps/generic/gcc-compat.h: New file.
11856 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11858 * benchtests/asin-inputs: Correct slow inputs.
11859 * benchtests/acos-inputs: Likewise.
11861 2014-01-10 Allan McRae <allan@archlinux.org>
11863 * po:sv.po: Update Swedish translation from translation project.
11865 * po/vi.po: Update Vietnamese translation from translation project.
11867 * po/eo.po: Update Esperanto translation from translation project.
11869 * po/cs.po: Update Czech translation from translation project.
11871 * po/nl.po: Update Dutch translation from translation project.
11873 * po/pl.po: Update Polish translation from translation project.
11875 * po/ru.po: Update Russian translation from translation project.
11877 * po/uk.po: Update Ukrainian translation from translation project.
11879 2014-01-08 Brooks Moses <bmoses@google.com>
11881 * elf/dl-load.c: Fix comment typo.
11883 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11885 * po/header.pot: Rename to...
11886 * po/pot.header: ... this.
11887 * po/Makefile: Use pot.header.
11889 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11890 Maxim Kuvyrkov <maxim@kugelworks.com>
11893 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11894 SRC and DEST against LEN.
11896 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11899 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11901 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11903 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11907 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11910 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11911 for large positive arguments.
11913 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11915 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11917 * math/auto-libm-test-in: Mark various tests with
11918 xfail-rounding:ldbl-128ibm.
11919 * math/auto-libm-test-out: Regenerated.
11922 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11923 Increase overflow threshold.
11925 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11928 * stdio-common/vfprintf.c: Check for integer overflow.
11930 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11932 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11933 the first argument and return value of __tls_get_addr_internal.
11935 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11937 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11938 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11940 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11942 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11943 * sysdeps/s390/rtld-global-offsets.sym: New file.
11944 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11946 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11947 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11948 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11950 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11951 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11957 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11958 halfs of GPRs for high_gprs contexts.
11959 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11960 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11962 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11964 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11966 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11967 for high GPRs (uc_high_gprs) and for future extensions
11969 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11970 for future extensions (__reserved).
11971 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11973 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11974 SC_HIGHGPRS offset definition.
11975 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11976 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11978 * Versions.def: Add GLIBC_2.19 for libpthread.
11979 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11980 siglongjmp for libpthread with GLIBC_2.19 symver.
11981 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11982 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11983 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11984 * sysdeps/s390/__longjmp.c: New file.
11985 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11986 * sysdeps/s390/longjmp.c: New file.
11987 * sysdeps/s390/setjmp.S: New file.
11988 * sysdeps/s390/sigjmp.S: New file.
11989 * sysdeps/s390/v1-longjmp.c: New file.
11990 * sysdeps/s390/v1-setjmp.h: New file.
11991 * sysdeps/s390/v1-sigjmp.c: New file.
11992 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11993 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11994 GLIBC_2.19 version.
11995 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11996 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11997 versioned symbols for ____longjmp_chk.
11998 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12008 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12009 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12010 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12011 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12012 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12013 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12014 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12015 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12016 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12017 * sysdeps/s390/rtld-__longjmp.c: New file.
12018 * sysdeps/s390/rtld-setjmp.S: New file.
12020 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12023 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12024 Return -__logl (x) for small positive arguments without evaluating
12027 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12029 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12031 (__ptrace_peeksiginfo_args): ... this.
12032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12034 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12036 2014-01-06 Allan McRae <allan@archlinux.org>
12038 * inet/netinet/in.h: Fix typo in comment.
12040 2014-01-05 Andreas Jaeger <aj@suse.de>
12042 * sysdeps/i386/fpu/libm-test-ulps: Update.
12044 2014-01-05 Allan McRae <allan@archlinux.org>
12046 * po/libc.pot: Regenerated.
12048 * malloc/memusagestat.c: Fix gettext call formatting.
12050 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12052 * nscd/nscd.c: Improve usage() output.
12054 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12056 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12057 * sysdeps/unix/sysv/linux/configure: Regenerated.
12058 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12059 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12061 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12064 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12065 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12067 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12069 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12070 extra tokens at end of #undef directive.
12071 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12072 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12075 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12077 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12079 * math/auto-libm-test-in: Mark various tests with
12080 xfail-rounding:ldbl-128ibm.
12081 * math/auto-libm-test-out: Regenerated.
12083 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12086 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12087 numbers with subnormal high part when calculating exponent.
12090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12094 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12096 (__ieee754_acoshl): Use __log1pl not __log1p.
12098 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12100 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12101 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12102 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12103 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12104 (reused_arena, arena_get2): Convert to GNU style.
12105 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12106 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12107 (memalign_check, __malloc_set_state): Likewise.
12108 * malloc/mallocbug.c (main): Likewise.
12109 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12110 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12111 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12112 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12113 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12114 (__posix_memalign, malloc_info): Likewise.
12115 * malloc/malloc.h: Likewise.
12116 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12117 (mallochook, memalignhook, reallochook, mabort): Likewise.
12118 * malloc/mcheck.h: Likewise.
12119 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12120 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12121 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12122 * malloc/morecore.c (__default_morecore): Likewise.
12123 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12124 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12125 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12126 (print_and_abort): Likewise.
12127 * malloc/obstack.h: Likewise.
12128 * malloc/set-freeres.c (__libc_freeres): Likewise.
12129 * malloc/tst-mallocstate.c (main): Likewise.
12130 * malloc/tst-mtrace.c (main): Likewise.
12131 * malloc/tst-realloc.c (do_test): Likewise.
12133 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12136 * nscd/netgroupcache.c (do_notfound): New function.
12137 (addgetnetgrentX): Use it.
12140 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12141 NSS_STATUS_NOTFOUND.
12143 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12145 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12148 2014-01-01 Allan McRae <allan@archlinux.org>
12150 * scripts/update-copyrights: Update configure input file suffix.
12152 * NEWS: Update copyright year.
12153 * catgets/gencat.c: Likewise.
12154 * csu/version.c: Likewise.
12155 * debug/catchsegv.sh: Likewise.
12156 * debug/pcprofiledump.c: Likewise.
12157 * debug/xtrace.sh: Likewise.
12158 * elf/ldconfig.c: Likewise.
12159 * elf/ldd.bash.in: Likewise.
12160 * elf/pldd.c: Likewise.
12161 * elf/sotruss.ksh: Likewise.
12162 * elf/sprof.c: Likewise.
12163 * iconv/iconv_prog.c: Likewise.
12164 * iconv/iconvconfig.c: Likewise.
12165 * locale/programs/locale.c: Likewise.
12166 * locale/programs/localedef.c: Likewise.
12167 * login/programs/pt_chown.c: Likewise.
12168 * malloc/memusage.sh: Likewise.
12169 * malloc/memusagestat.c: Likewise.
12170 * malloc/mtrace.pl: Likewise.
12171 * manual/libc.texinfo: Likewise.
12172 * nscd/nscd.c: Likewise.
12173 * nss/getent.c: Likewise.
12174 * nss/makedb.c: Likewise.
12175 * posix/getconf.c: Likewise.
12176 * scripts/test-installation.pl: Likewise.
12178 * All files with FSF copyright notices: Update copyright dates
12179 using scripts/update-copyrights.
12180 * intl/plural.c: Regenerated.
12181 * locale/programs/charmap-kw.h: Likewise.
12182 * locale/programs/locfile-kw.h: Likewise.
12184 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12186 * sysdeps/unix/sysv/linux/configure: Regenerated.
12187 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12188 the linux/fanotify.h header.
12189 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12190 HAVE_LINUX_FANOTIFY_H is defined.
12192 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12194 * benchtests/cos-inputs: New inputs.
12195 * benchtests/sin-inputs: Likewise.
12197 * benchtests/atan-inputs: New inputs. Fix name of multiple
12198 precision fallback inputs.
12200 * benchtests/atanh-inputs: New inputs.
12201 * benchtests/tanh-inputs: Likewise.
12203 * benchtests/acosh-inputs: New inputs.
12204 * benchtests/asinh-inputs: Likewise.
12206 * benchtests/cosh-inputs: New inputs.
12207 * benchtests/sinh-inputs: Likewise.
12209 * benchtests/acos-inputs: Add more inputs.
12210 * benchtests/asin-inputs: Likewise.
12212 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12215 * manual/arith.texi: Fix spelling.
12216 * manual/charset.texi: Likewise.
12217 * manual/errno.texi: Likewise.
12218 * manual/filesys.texi: Likewise.
12219 * manual/lang.texi: Likewise.
12220 * manual/llio.texi: Likewise.
12221 * manual/locale.texi: Likewise.
12222 * manual/message.texi: Likewise.
12223 * manual/resource.texi: Likewise.
12224 * manual/search.texi: Likewise.
12225 * manual/setjmp.texi: Likewise.
12226 * manual/stdio.texi: Likewise.
12227 * manual/string.texi: Likewise.
12228 * manual/sysinfo.texi: Likewise.
12229 * manual/time.texi: Likewise.
12231 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12233 * po/sl.po: New file.
12235 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12237 * .gitignore: Add core/.gdbinit/.gdb_history.
12239 2013-12-27 Allan McRae <allan@archlinux.org>
12242 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12243 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12245 2013-12-24 Brooks Moses <bmoses@google.com>
12247 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12248 all compilers that claim C++98 compliance, not just GCC.
12249 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12252 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12254 * NEWS: Restore accidentally deleted bug-fix entries.
12256 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12257 Ondřej Bílka <neleai@seznam.cz>
12260 * malloc/malloc.c (_int_free): Perform sanity check only if we
12263 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12266 * manual/stdio.texi (String Input Conversions): Clarify that character
12267 classes are not supported.
12269 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12273 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12277 Calculate results for small negative arguments directly rather
12278 than using reflection formula with special underflow handling.
12280 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12281 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12282 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12283 (fchflags): Likewise.
12284 (revoke): Likewise.
12285 (setlogin): Likewise.
12286 (sigaltstack): Likewise.
12288 (sigblock): Remove.
12289 (sigsetmask): Likewise.
12291 (waitpid): Likewise.
12292 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12293 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12295 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12296 * sysdeps/unix/bsd/Makefile: ... here.
12297 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12298 * sysdeps/unix/bsd/Versions: ... here.
12299 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12300 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12301 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12302 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12303 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12304 * sysdeps/unix/bsd/sigblock.c: ... here.
12305 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12306 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12307 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12308 * sysdeps/unix/bsd/sigvec.c: ... here.
12309 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12310 * sysdeps/unix/bsd/tcdrain.c: ... here.
12311 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12312 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12313 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12314 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12315 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12316 * sysdeps/unix/bsd/wait.c: ... here.
12317 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12318 * sysdeps/unix/bsd/wait3.c: ... here.
12319 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12320 * sysdeps/unix/bsd/waitpid.c: ... here.
12322 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12325 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12326 round-to-nearest for [!USE_AS_EXPM1L].
12327 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12328 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12329 more tests of exp and exp10. Expect some exp10 tests to miss
12330 exceptions or fail in directed rounding modes.
12331 * math/auto-libm-test-out: Regenerated.
12332 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12333 (exp10_test_tonearest): New function.
12334 (exp10_towardzero_test_data): New array.
12335 (exp10_test_towardzero): New function.
12336 (exp10_downward_test_data): New array.
12337 (exp10_test_downward): New function.
12338 (exp10_upward_test_data): New array.
12339 (exp10_test_upward): New function.
12340 (main): Call the new functions.
12341 * sysdeps/i386/fpu/libm-test-ulps: Update.
12342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12344 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12346 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12347 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12348 * math/auto-libm-test-out: Regenerated.
12349 * math/libm-test.inc (acosh_test_data): Add more tests.
12350 (atanh_test_data): Likewise.
12351 (ceil_test_data): Likewise.
12352 (copysign_test_data): Likewise.
12353 * sysdeps/i386/fpu/libm-test-ulps: Update.
12354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12356 * timezone/checktab.awk: Update from tzcode 2013i.
12357 * timezone/private.h: Likewise.
12358 * timezone/scheck.c: Likewise.
12359 * timezone/tzfile.h: Likewise.
12360 * timezone/tzselect.ksh: Likewise.
12361 * timezone/zdump.c: Likewise.
12362 * timezone/zic.c: Likewise.
12364 * math/auto-libm-test-in: Add tests of cpow.
12365 * math/auto-libm-test-out: Regenerated.
12366 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12367 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12369 (func_calc_desc): Add mpc_cc_c union field.
12370 (test_functions): Add cpow.
12371 (special_fill_2pi): New function.
12372 (special_real_inputs): Add 2pi.
12373 (calc_generic_results): Handle mpc_cc_c.
12374 * sysdeps/i386/fpu/libm-test-ulps: Update.
12375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12377 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12378 csqrt, ctan and ctanh.
12379 * math/auto-libm-test-out: Regenerated.
12380 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12381 (TEST_COND_x86): Likewise.
12382 (ccos_test_data): Use AUTO_TESTS_c_c.
12383 (ccosh_test_data): Likewise.
12384 (cexp_test_data): Likewise.
12385 (clog_test_data): Likewise.
12386 (csqrt_test_data): Likewise.
12387 (ctan_test_data): Likewise.
12388 (ctan_tonearest_test_data): Likewise.
12389 (ctan_towardzero_test_data): Likewise.
12390 (ctan_downward_test_data): Likewise.
12391 (ctan_upward_test_data): Likewise.
12392 (ctanh_test_data): Likewise.
12393 (ctanh_tonearest_test_data): Likewise.
12394 (ctanh_towardzero_test_data): Likewise.
12395 (ctanh_downward_test_data): Likewise.
12396 (ctanh_upward_test_data): Likewise.
12397 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12399 (func_calc_desc): Add mpc_c_c union field.
12400 (FUNC_mpc_c_c): New macro.
12401 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12402 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12404 (special_fill_min_subnorm_p120): New function.
12405 (special_real_inputs): Add min_subnorm_p120.
12406 (calc_generic_results): Handle mpc_c_c.
12407 * sysdeps/i386/fpu/libm-test-ulps: Update.
12408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12410 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12412 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12413 (do_sin_slow): New functions.
12414 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12415 (cslow2, csloww1, csloww2): Use the new functions.
12417 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12418 Use M to change sign of result instead of X. Assume X is
12420 (csloww1): Likewise.
12424 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12425 arguments A and DA.
12429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12431 (sloww1): Don't adjust sign of DX.
12432 (csloww1): Likewise.
12433 (sloww2): Use X directly and don't adjust sign of DX.
12434 (csloww2): Likewise.
12436 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12438 * math/auto-libm-test-in: Add tests of cabs and carg.
12439 * math/auto-libm-test-out: Regenerated.
12440 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12441 (carg_test_data): Likewise.
12442 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12444 (func_calc_desc): Add mpc_c_f union field.
12445 (test_functions): Add cabs and carg.
12446 (calc_generic_results): Handle mpc_c_f.
12448 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12449 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12450 as a macro and a compat symbol.
12451 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12452 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12453 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12454 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12455 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12456 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12458 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12460 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12462 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12464 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12466 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12468 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12469 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12472 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12476 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12478 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12479 trailing whitespace removed.
12480 * scripts/config.guess: Update to version 2013-11-29.
12481 * scripts/config.sub: Update to version 2013-10-01.
12483 * math/auto-libm-test-in: Add tests of sincos.
12484 * math/auto-libm-test-out: Regenerated.
12485 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12486 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12488 (func_calc_desc): Add mpfr_f_11 union field.
12489 (test_functions): Add sincos.
12490 (calc_generic_results): Handle mpfr_f_11.
12491 * sysdeps/i386/fpu/libm-test-ulps: Update.
12492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494 2013-12-19 Andreas Schwab <schwab@suse.de>
12496 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12498 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12500 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12502 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12504 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12505 * sysdeps/i386/fpu/libm-test-ulps: Update.
12506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12509 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12510 round-to-nearest mode when using frndint.
12511 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12512 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12515 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12517 * math/auto-libm-test-out: Regenerated.
12518 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12519 (TEST_COND_x86): Likewise.
12520 (expm1_tonearest_test_data): New array.
12521 (expm1_test_tonearest): New function.
12522 (expm1_towardzero_test_data): New array.
12523 (expm1_test_towardzero): New function.
12524 (expm1_downward_test_data): New array.
12525 (expm1_test_downward): New function.
12526 (expm1_upward_test_data): New array.
12527 (expm1_test_upward): New function.
12528 (main): Run the new test functions.
12529 * sysdeps/i386/fpu/libm-test-ulps: Update.
12530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12532 * include/features.h: Update comment documenting feature test
12533 macros. Mention _DEFAULT_SOURCE in comment.
12534 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12535 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12536 _BSD_SOURCE and _SVID_SOURCE.
12537 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12538 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12539 !_SVID_SOURCE]: Likewise.
12540 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12541 (__USE_POSIX_IMPLICITLY): Define.
12542 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12543 (_POSIX_SOURCE): Undefine and redefine.
12544 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12545 (_POSIX_C_SOURCE): Likewise.
12546 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12547 (Feature Test Macros): Update documentation of default features.
12549 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12551 * benchtests/Makefile: Add bench-strtok.
12552 * benchtests/bench-strtok.c: New file: strtok benchtest.
12554 2013-12-19 Allan McRae <allan@archlinux.org>
12556 * manual/install.texi: Suppress menu for plain text output.
12557 * INSTALL: Regenerated.
12559 2013-12-18 Brooks Moses <bmoses@google.com>
12562 * misc/getauxval.c: Include errno.h.
12563 (__getauxval): Set errno to ENOENT if the requested type is not
12565 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12566 don't declare with __attribute_const__.
12567 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12568 * manual/startup.texi: Document that getauxval sets errno.
12570 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12572 * math/auto-libm-test-in: Add tests of jn and yn.
12573 * math/auto-libm-test-out: Regenerated.
12574 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12575 (yn_test_data): Likewise.
12576 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12578 (func_calc_desc): Add mpfr_if_f union field.
12579 (FUNC_mpfr_if_f): New macro.
12580 (test_functions): Add jn and yn.
12581 (calc_generic_results): Assert type of second input for
12582 mpfr_ff_f. Handle mpfr_if_f.
12583 (output_for_one_input_case): Disable all checking for arguments
12584 fitting floating-point types in case of an integer argument.
12585 * sysdeps/i386/fpu/libm-test-ulps: Update.
12586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12589 Don't expect fegetround reference in libm.so.
12591 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12593 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12594 $(config-cflags-nofma).
12596 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12598 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12599 * math/auto-libm-test-out: Regenerated.
12602 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12603 to determine exponent and adjust argument to have exponent of -1.
12604 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12606 * math/auto-libm-test-out: Regenerated.
12607 * sysdeps/i386/fpu/libm-test-ulps: Update.
12608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12610 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12612 * manual/probes.texi: Remove cases when per-thread arenas are
12615 2013-12-18 Andreas Schwab <schwab@suse.de>
12617 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12618 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12619 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12620 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12621 * sysdeps/i386/i686/multiarch/Makefile: Update.
12622 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12624 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12626 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12627 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12629 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12632 Support TZ transition times < 00:00:00.
12633 This is needed for version-3 tz-format files; it supports time
12634 stamps past 2037 for America/Godthab (the only entry in the tz
12635 database for which this change is relevant).
12636 * manual/time.texi (TZ Variable): Document transition times
12637 from -167:59:59 through -00:00:01.
12638 * time/tzset.c (tz_rule): Time of day is now signed.
12639 (__tzset_parse_tz): Parse negative time of day.
12641 Document TZ transition times >= 25:00:00.
12642 * manual/time.texi (TZ Variable): Document transition times from
12643 25:00:00 through 167:59:59. These are already supported, and this
12644 support will help with version-3 tz-format files.
12646 * manual/time.texi (TZ Variable): Modernize North America example
12647 to reflect current (i.e., 2007-and-later) daylight saving rules.
12649 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12651 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12653 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12654 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12657 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12658 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12659 * sysdeps/unix/bsd/clock.c: Likewise.
12660 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12661 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12662 * sysdeps/unix/bsd/init-posix.c: Likewise.
12663 * sysdeps/unix/bsd/poll.c: Likewise.
12664 * sysdeps/unix/bsd/ptsname.c: Likewise.
12665 * sysdeps/unix/bsd/seekdir.c: Likewise.
12666 * sysdeps/unix/bsd/setegid.c: Likewise.
12667 * sysdeps/unix/bsd/seteuid.c: Likewise.
12668 * sysdeps/unix/bsd/setgid.c: Likewise.
12669 * sysdeps/unix/bsd/setrgid.c: Likewise.
12670 * sysdeps/unix/bsd/setruid.c: Likewise.
12671 * sysdeps/unix/bsd/setsid.c: Likewise.
12672 * sysdeps/unix/bsd/setuid.c: Likewise.
12673 * sysdeps/unix/bsd/sigaction.c: Likewise.
12674 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12675 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12676 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12677 * sysdeps/unix/bsd/telldir.c: Likewise.
12678 * sysdeps/unix/bsd/times.c: Likewise.
12679 * sysdeps/unix/bsd/usleep.c: Likewise.
12681 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12682 ($(objpfx)libbsd-compat.a): Remove rule.
12684 * include/features.h (__FAVOR_BSD): Do not define.
12685 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12686 features conflicting with POSIX.
12687 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12688 (_BSD_SOURCE): Remove description of not being a subset of other
12689 feature test macros.
12690 * manual/job.texi (getpgrp): Do not document BSD version.
12691 (getpgid): Do not document by reference to BSD getpgrp.
12692 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12693 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12694 * signal/signal.h [__FAVOR_BSD]: Likewise.
12695 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12696 instead of making contents conditional on [__FAVOR_BSD].
12697 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12699 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12703 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12706 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12707 values below 2**-450, not 2**-500.
12708 * math/auto-libm-test-in: Don't allow spurious underflow from
12710 * math/auto-libm-test-out: Regenerated.
12714 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12715 values of ha and hb and sort them after adjusting subnormal
12717 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12719 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12720 values of ea and eb and sort them after adjusting subnormal
12722 * math/auto-libm-test-in: Do not expect some hypot tests of
12723 subnormals to fail. Add more hypot tests.
12724 * math/auto-libm-test-out: Regenerated.
12726 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12729 * sysdeps/sh/s_fma.c: New file.
12730 * sysdeps/sh/s_fmaf.c: New file.
12731 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12733 * sysdeps/sh/Implies: Add sh/soft-fp.
12735 2013-12-16 Roland McGrath <roland@hack.frob.com>
12737 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12738 level of indirection to members `objname', `errstring', `malloced'.
12739 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12740 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12741 it as the __longjmp argument (just pass 1 instead).
12742 (_dl_catch_error): Initialize C with argument pointers and address of
12743 volatile local ERRCODE rather than copying values out of C at return.
12745 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12747 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12748 * math/auto-libm-test-out: Regenerated.
12749 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12750 (hypot_test_data): Likewise.
12751 (pow_test_data): Likewise.
12752 (pow_tonearest_test_data): Likewise.
12753 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12755 (func_calc_desc): Add mpfr_ff_f union field.
12756 (FUNC_mpfr_ff_f): New macro.
12757 (test_functions): Add atan2, hypot and pow.
12758 (special_fill_min): New function.
12759 (special_fill_minus_min): Likewise.
12760 (special_fill_min_subnorm): Likewise.
12761 (special_fill_minus_min_subnorm): Likewise.
12762 (special_real_inputs): Add min, -min, min_subnorm and
12764 (calc_generic_results): Handle mpfr_ff_f.
12765 * sysdeps/i386/fpu/libm-test-ulps: Update.
12766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12768 2013-12-16 Will Newton <will.newton@linaro.org>
12770 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12771 (Aligned Memory Blocks): Add documentation for aligned_alloc
12772 and suggest it as an alternative to posix_memalign.
12773 (Hooks for Malloc): Document __memalign_hook is also called
12774 for aligned_alloc. (Summary of Malloc): Add summary for
12775 aligned alloc. Document __memalign_hook is also called
12778 2013-12-16 Will Newton <will.newton@linaro.org>
12780 * manual/memory.texi (Malloc Examples): Clarify default
12781 alignment documentation. Suggest posix_memalign rather
12782 than memalign or valloc.
12783 (Aligned Memory Blocks): Remove suggestion to use memalign
12784 or valloc. Remove obsolete comment about BSD.
12785 Document memalign errno values and mark the function obsolete.
12786 Document posix_memalign returned error codes. Mark valloc
12787 as obsolete. (Hooks for Malloc): __memalign_hook is also
12788 called for posix_memalign and valloc.
12789 (Summary of Malloc): Add posix_memalign to function summary.
12790 __memalign_hook is also called for posix_memalign and valloc.
12792 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12794 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12798 (sloww): Use mynumber union. Expand ternary operator into
12799 if-else statements.
12800 (cslow): use mynumber union.
12802 2013-12-16 Allan McRae <allan@archlinux.org>
12804 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12805 * configure: Regenerated.
12807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12810 * configure.ac: Added --enable-maintainer-mode. Check for
12811 autoconf when enabled.
12812 * configure: Regenerated.
12814 * nscd/nscd.service: New file.
12815 * nscd/nscd.tmpfiles: New file.
12817 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12820 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12821 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12822 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12823 (strstr): Add __strstr_sse2_unaligned ifunc.
12824 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12825 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12826 (strcasestr): Remove __strcasestr_sse42 ifunc.
12827 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12831 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12833 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12834 * sysdeps/sh/bits/fenv.h: ... here.
12835 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12837 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12839 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12841 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12842 hypotf multiarch implementations.
12843 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12846 multiarch hypot for PPC64.
12847 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12848 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12849 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12850 multiarch hypotf for PPC64.
12852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12853 modff multiarch implementations.
12854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12857 multiarch modf for PPC64.
12858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12861 multiarch modff for PPC64.
12863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12864 and logl multiarch implementations.
12865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12868 multiarch logb for PPC64.
12869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12872 multiarch logb for PPC64.
12873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12876 multiarch logb for PPC64.
12878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12879 isinff multiarch implementation.
12880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12884 multiarch isinf for PPC64.
12885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12888 multiarch isinff for PPC64.
12890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12891 finitef multiarch implementation.
12892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12896 multiarch finite for PPC64.
12897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12900 multiarch finitef for PPC64.
12902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12903 lrint multiarch implementation.
12904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12908 multiarch llrint for PPC64.
12909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12910 multiarch lrint for PPC64.
12912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12913 copysignf multiarch implementation.
12914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12919 multiarch copysign for PPC64.
12920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12921 multiarch copysignf for PPC64.
12923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12924 multiarch implementation.
12925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12933 multiarch llround for PPC64.
12934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12935 multiarch trunc for PPC64.
12936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12937 multiarch truncf for PPC64.
12939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12940 multiarch implementation.
12941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12949 multiarch llround for PPC64.
12950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12951 multiarch round for PPC64.
12952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12953 multiarch roundf for PPC64.
12955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12956 multiarch implementation.
12957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12965 multiarch llround for PPC64.
12966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12967 multiarch floor for PPC64.
12968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12969 multiarch floorf for PPC64.
12971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12972 multiarch implementation.
12973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12981 multiarch llround for PPC64.
12982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12983 multiarch ceil for PPC64.
12984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12985 multiarch ceilf for PPC64.
12987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12988 multiarch implementation.
12989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12996 multiarch llround for PPC64.
12997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12998 multiarch lround for PPC64.
13000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13001 multiarch implementation.
13002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13009 multiarch isnan for PPC64.
13010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13011 multiarch isnanf for PPC64.
13013 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13014 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13015 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13016 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13017 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13020 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13021 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13026 multiarch implementations.
13027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13028 (__libc_ifunc_impl_list): Likewise.
13029 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13030 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13031 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13032 multiarch stpcpy for PPC64.
13034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13035 multiarch implementations.
13036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13037 (__libc_ifunc_impl_list): Likewise.
13038 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13039 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13040 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13041 multiarch strcpy for PPC64.
13043 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13044 redefine function name.
13045 (_wordcopy_fwd_dest_aligned): Likewise.
13046 (_wordcopy_bwd_aligned): Likewise.
13047 (_wordcopy_bwd_dest_aligned): Likewise.
13048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13049 multiarch implementations.
13050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13051 (__libc_ifunc_impl_list): Likewise.
13052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13053 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13054 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13055 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13056 multiarch wcscpy for PPC64.
13058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13059 multiarch implementations.
13060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13061 (__libc_ifunc_impl_list): Likewise.
13062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13063 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13065 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13066 multiarch wcscpy for PPC64.
13068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13069 multiarch implementations.
13070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13071 (__libc_ifunc_impl_list): Likewise.
13072 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13073 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13074 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13075 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13076 multiarch wcsrchr for PPC64.
13078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13079 multiarch implementations.
13080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13081 (__libc_ifunc_impl_list): Likewise.
13082 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13083 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13084 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13085 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13086 multiarch wcschr for PPC64.
13088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13089 multiarch implementations.
13090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13091 (__libc_ifunc_impl_list): Likewise.
13092 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13093 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13094 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13095 multiarch strchrnul for PPC64.
13097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13100 (__libc_ifunc_impl_list): Likewise.
13101 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13102 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13103 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13104 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13110 (__libc_ifunc_impl_list): Likewise.
13111 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13112 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13113 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13114 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13118 multiarch implementations.
13119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13120 (__libc_ifunc_impl_list): Likewise.
13121 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13122 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13123 strncasecmp for PPC64.
13124 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13125 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13126 multiarch strncasecmp_l for PPC64.
13128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13129 multiarch implementations.
13130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13131 (__libc_ifunc_impl_list): Likewise.
13132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13133 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13134 multiarch strcasecmp for PPC64.
13135 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13138 multiarch strcasecmp_l for PPC64.
13140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13143 (__libc_ifunc_impl_list): Likewise.
13144 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13145 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13146 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13152 (__libc_ifunc_impl_list): Likewise.
13153 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13154 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13155 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13161 (__libc_ifunc_impl_list): Likewise.
13162 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13163 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13164 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13165 rawmemrchr for PPC64.
13167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13170 (__libc_ifunc_impl_list): Likewise.
13171 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13172 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13173 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13179 (__libc_ifunc_impl_list): Likewise.
13180 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13181 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13182 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13188 (__libc_ifunc_impl_list): Likewise.
13189 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13190 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13191 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13194 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13195 avoid cretion of __bzero symbol.
13196 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13198 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13200 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13203 multiarch implementations.
13204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13205 (__libc_ifunc_impl_list): Likewise.
13206 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13207 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13208 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13209 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13211 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13212 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13213 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13214 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13215 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13217 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13219 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13223 (__libc_ifunc_impl_list): Likewise.
13224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13225 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13226 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13227 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13231 multiarch for POWER/PPC64.
13232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13233 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13240 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13243 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13244 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13245 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13246 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13247 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13248 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13249 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13250 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13251 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13252 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13253 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13254 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13255 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13256 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13257 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13266 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13268 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13270 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13272 * benchtests/Makefile (bench): Add exp2 and log2.
13273 (LDLIBS-bench-exp2): Add -lm.
13274 (LDLIBS-bench-log2): Likewise.
13275 * benchtests/exp2-inputs: New inputs file.
13276 * benchtests/log2-inputs: New inputs file.
13277 * benchtests/log-inputs: Add new inputs.
13278 * benchtests/tan-inputs: Likewise.
13280 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13282 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13284 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13285 (csloww2): ... from here.
13287 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13288 instead of structures.
13289 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13290 (POLYNOMIAL): Likewise.
13291 (TAYLOR_SLOW): Likewise.
13297 (sloww1); Likewise.
13298 (sloww2): Likewise.
13299 (bsloww1): Likewise.
13300 (bsloww2): Likewise.
13301 (cslow2): Likewise.
13302 (csloww): Likewise.
13303 (csloww1): Likewise.
13304 (csloww2): Likewise.
13306 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13308 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13309 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13310 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13311 * malloc/hooks.c (realloc_check): Likewise.
13313 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13314 * malloc/arena.c: Remove PER_THREAD conditional.
13315 [!PER_THREAD]: Remove code.
13316 (ptmalloc_unlock_all2): Likewise.
13317 (ptmalloc_init): Likewise.
13318 (_int_new_arena): Likewise.
13319 (arena_get2): Likewise.
13320 * malloc/hooks.c (__malloc_get_state): Likewise.
13321 (__malloc_set_state): Likewise.
13322 * malloc/malloc.c: Likewise.
13323 (struct malloc_state): Likewise.
13324 (struct malloc_par): Likewise.
13325 (__libc_realloc): Likewise.
13326 (__libc_mallopt): Likewise.
13328 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13330 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13332 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13334 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13335 macro to a function. Check for zero perturb_byte.
13336 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13338 * malloc/malloc.c: (force_reg): Remove.
13339 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13340 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13341 force_reg by atomic_forced_read.
13342 * malloc/arena.c (ptmalloc_init): Likewise.
13343 * malloc/hooks.c (top_check): Likewise.
13345 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13349 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13353 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13355 * math/auto-libm-test-in: Add tests of lgamma.
13356 * math/auto-libm-test-out: Regenerated.
13357 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13358 (M_LOG_2_SQRT_PIl): Likewise.
13359 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13360 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13362 (func_calc_desc): Add mpfr_f_f1 union field.
13363 (ARGS1): New macro.
13371 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13372 (test_functions): Add lgamma.
13373 (calc_generic_results): Handle mpfr_f_f1.
13374 * sysdeps/i386/fpu/libm-test-ulps: Update.
13375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13377 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13379 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13380 __mpn_add_n for PowerPC64/POWER7.
13381 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13382 __mpn_sub_n for PowerPC64/POWER7.
13384 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13385 __mpn_addmul_1 for PowerPC64.
13386 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13387 __mpn_submul_1 for PowerPC64.
13388 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13390 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13393 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13396 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13398 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13400 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13402 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13403 add multiarch folders.
13404 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13405 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13406 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13407 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13408 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13409 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13410 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13411 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13412 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13413 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13414 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13423 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13429 multiarch __ieee754_hypot for PowerPC32.
13430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13435 multiarch __ieee754_hypotf for PowerPC32.
13437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13438 long_double_symbol only if __logbl is defined.
13439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13440 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13442 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13444 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13446 path for implementation.
13447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13448 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13450 logb, and logbl multiarch implementations for PowerPC32.
13451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13456 multiarch logb for PowerPC32.
13457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13462 multiarch logbf for PowerPC32.
13463 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13467 multiarch logbl implementation for PowerPC32.
13469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13470 and modff multiarch implementations.
13471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13476 multiarch modf for PowerPC32.
13477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13482 multiarch modff for PowerPC32.
13484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13485 and lrintf multiarch implementations.
13486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13491 multiarch lrint for PowerPC32.
13492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13493 file: multiarch lrintf for PowerPC32.
13495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13496 and lroundf multiarch implementations.
13497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13504 multiarch lround for PowerPC32.
13505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13506 file: multiarch lroundf for PowerPC32.
13508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13509 copysign and copysignf multiarch implementations.
13510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13515 file: multiarch copysign for PowerPC32.
13516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13517 file: multiarch copysignf for PowerPC32.
13519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13520 and truncf multiarch implementations.
13521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13526 multiarch trunc for PowerPC32.
13527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13532 multiarch truncf for PowerPC32.
13534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13535 and roundf multiarch implementations.
13536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13541 multiarch round for PowerPC32.
13542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13547 multiarch roundf for PowerPC32.
13549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13550 and floorf multiarch implementations.
13551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13556 multiarch floor for PowerPC32.
13557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13562 multiarch floorf for PowerPC32.
13564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13565 and ceilf multiarch implementations.
13566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13571 multiarch ceil for PowerPC32.
13572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13577 multiarch ceilf for PowerPC32.
13579 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13581 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13582 FINITEF is defined.
13583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13584 and finitef multiarch implementations.
13585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13590 multiarch finite for PowerPC32.
13591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13594 file: multiarch finitef for PowerPC32.
13596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13597 and isinff multiarch implementations.
13598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13603 multiarch isinf for PowerPC32.
13604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13607 multiarch isinff for PowerPC32.
13609 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13610 alias when __isnan is defined.
13611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13612 and isnanf multiarch implementations.
13613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13622 multiarch isnan for PowerPC32.
13623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13628 multiarch isnanf for PowerPC32.
13630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13631 and sqrtf multiarch implementations.
13632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13637 multiarch sqrt for PowerPC32.
13638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13643 multiarch sqrtf for PowerPC32.
13645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13646 and llroundf multiarch implementations.
13647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13654 file: multiarch llround for PowerPC32.
13655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13656 file: multiarch llroundf for PowerPC32.
13658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13659 multiarch PowerPC32 fpu implementations.
13660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13665 multiarch llrint for PowerPC32.
13666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13675 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13677 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13679 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13681 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13682 multiarch wordcopy for PPC32.
13683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13685 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13686 (__libc_ifunc_impl_list): Likewise.
13687 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13688 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13689 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13690 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13692 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13694 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13699 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13702 multiarch wcscpy for PPC32.
13703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13706 (__libc_ifunc_impl_list): Likewise.
13707 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13708 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13709 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13710 sysdeps/powerpc/power6/wcscpy.c.
13712 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13720 multiarch wcsrchr for PPC32.
13721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13724 (__libc_ifunc_impl_list): Likewise.
13725 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13726 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13727 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13728 sysdeps/powerpc/power6/wcsrchr.c.
13730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13736 multiarch wcschr for PPc32.
13737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13740 (__libc_ifunc_impl_list): Likewise.
13741 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13742 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13743 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13744 sysdeps/powerpc/power6/wcschr.c.
13746 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13747 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13749 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13750 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13751 file: multiarch strchr for PPC32.
13752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13755 (__libc_ifunc_impl_list): Likewise.
13757 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13759 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13761 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13763 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13764 multiarch strchrnul for PPC32.
13765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13768 (__libc_ifunc_impl_list): Likewise.
13770 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13772 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13773 multiarch strncasecmp for PPC32.
13774 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13776 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13777 multiarch strncasecmp_l for PPC32.
13778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13779 strncasecmp multiarch objects.
13780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13781 (__libc_ifunc_impl_list): Likewise.
13783 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13785 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13786 multiarch strncasecmp for PPC32.
13787 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13789 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13790 multiarch strcasecmp_l for PPC32.
13791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13794 (__libc_ifunc_impl_list): Likewise.
13796 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13800 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13801 multiarch strncmp for PPC32.
13802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13805 (__libc_ifunc_impl_list): Likewise.
13807 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13808 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13810 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13811 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13815 (__libc_ifunc_impl_list): Likewise.
13817 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13819 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13821 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13825 (__libc_ifunc_impl_list): Likewise.
13827 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13829 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13831 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13832 multiarch rawmemchr for PPC32.
13833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13836 (__libc_ifunc_impl_list): Likewise.
13838 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13840 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13842 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13843 file: memrchr multiarch for PPC32.
13844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13847 (__libc_ifunc_impl_list): Likewise.
13849 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13853 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13854 multiarch memchr for PPC32.
13855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13858 (__libc_ifunc_impl_list): Likewise.
13860 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13861 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13863 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13865 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13866 file: multiarch mempcpy for PPC32.
13867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13870 (__libc_ifunc_impl_list): Likewise.
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13875 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13876 multiarch bzero for PPC32.
13877 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13879 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13881 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13882 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13883 file: multiarch memset for PPC32.
13884 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13886 memset multiarch objects.
13887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13888 (__libc_ifunc_impl_list): Likewise.
13890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13895 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13899 (__libc_ifunc_impl_list): Likewise.
13901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13903 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13905 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13907 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13910 multiarch memcpy for PPC32.
13911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13914 (__libc_ifunc_impl_list): Likewise.
13916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13917 support multiarch for POWER/PPC32.
13918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13920 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13922 Implies file to make multiarch folder appers before the fpu and
13923 default folder for power4 configuration.
13925 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13927 * scripts/bench.pl: Append volatile keyword to type.
13929 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13931 * sysdeps/sh/sotruss-lib.c: New file.
13932 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13934 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13938 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13941 * math/w_tgamma.c: Include <errno.h>.
13942 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13943 * math/w_tgammaf.c: Include <errno.h>.
13944 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13945 * math/w_tgammal.c: Include <errno.h>.
13946 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13947 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13948 underflow. Add more tgamma tests.
13949 * math/auto-libm-test-out: Regenerated.
13950 * sysdeps/i386/fpu/libm-test-ulps: Update.
13951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13953 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13954 sin, sinh, tan, tanh, tgamma, y0 and y1.
13955 * math/auto-libm-test-out: Regenerated.
13956 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13957 (TEST_COND_x86): Likewise.
13958 (M_E2l): Remove macro.
13960 (M_2_SQRT_PIl): Likewise.
13961 (M_SQRT_PIl): Likewise.
13962 (M_1_DIV_El): Likewise.
13963 (log_test_data): Use AUTO_TESTS_f_f.
13964 (log10_test_data): Likewise.
13965 (log1p_test_data): Likewise.
13966 (log2_test_data): Likewise.
13967 (sin_test_data): Likewise.
13968 (sin_tonearest_test_data): Likewise.
13969 (sin_towardzero_test_data): Likewise.
13970 (sin_downward_test_data): Likewise.
13971 (sin_upward_test_data): Likewise.
13972 (sinh_test_data): Likewise.
13973 (sinh_tonearest_test_data): Likewise.
13974 (sinh_towardzero_test_data): Likewise.
13975 (sinh_downward_test_data): Likewise.
13976 (sinh_upward_test_data): Likewise.
13977 (tan_test_data): Likewise.
13978 (tan_tonearest_test_data): Likewise.
13979 (tan_towardzero_test_data): Likewise.
13980 (tan_downward_test_data): Likewise.
13981 (tan_upward_test_data): Likewise.
13982 (tanh_test_data): Likewise.
13983 (tgamma_test_data): Likewise.
13984 (y0_test_data): Likewise.
13985 (y1_test_data): Likewise.
13986 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13987 (special_real_inputs): Add pi/4.
13988 * sysdeps/i386/fpu/libm-test-ulps: Update.
13989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13991 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13993 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13994 "longjmp_target" static probes.
13995 (__longjmp): Rename to __longjmp_symbol.
13996 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13997 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13998 on which longjmp to generate.
13999 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14000 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14002 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14003 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14004 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14005 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14006 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14007 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14009 __longjmp_symbol based on which __longjmp to generate.
14010 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14012 (setjmp): Rename to setjmp_symbol.
14013 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14014 (_setjmp): Rename to _setjmp_symbol.
14015 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14016 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14017 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14018 which setjmp to generate.
14019 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14020 "longjmp_target" static probes.
14022 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14024 * benchtests/README: Add note about output arguments.
14025 * benchtests/bench-sincos.c: Remove file.
14026 * benchtests/sincos-inputs: New file.
14027 * scripts/bench.pl: Identify output arguments and define
14028 static variables for them.
14030 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14033 * Makefile (INSTALL): Add install-plain.texi as the primary
14035 * manual/install-plain.texi: New file.
14036 * manual/install.texi: Include node directive only for
14037 non-plaintext output.
14039 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14041 * stdlib/longlong.h: Update from GCC.
14045 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14046 * math/w_j0f.c (y0f): Likewise.
14047 * math/w_j0l.c (__y0l): Likewise.
14048 * math/w_j1.c (y1): Likewise.
14049 * math/w_j1f.c (y1f): Likewise.
14050 * math/w_j1l.c (__y1l): Likewise
14051 * math/w_jn.c (yn): Likewise.
14052 * math/w_jnf.c (ynf): Likewise.
14053 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14054 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14055 value for Bessel function domain errors outside _SVID_ mode.
14056 Adjust sign of return value for yn (negative integer, 0).
14057 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14058 by zero in return for negative x and set sign appropriately for
14060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14061 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14062 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14063 expectations in error cases.
14064 (y1_test_data): Likewise.
14065 (yn_test_data): Likewise.
14066 * sysdeps/i386/fpu/libm-test-ulps: Update.
14067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14069 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14071 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14072 "64" to "64-v1". Add "64-v2".
14073 (abi-64-options): Rename to ...
14074 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14075 (abi-64-condition): Rename to ...
14076 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14077 (abi-64-ld-soname): Rename to ...
14078 (abi-64-v1-ld-soname): ... this.
14079 (abi-64-v2-options): Define.
14080 (abi-64-v2-condition): Likewise.
14081 (abi-64-v2-ld-soname): Likewise.
14082 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14083 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14088 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14089 Alan Modra <amodra@gmail.com>
14091 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14092 New versions for use with the ELFv2 ABI.
14093 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14094 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14096 (struct La_ppc64v2_retval): Likewise.
14097 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14098 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14099 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14100 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14101 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14103 Do not save or restore CR.
14104 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14105 (_dl_profile_resolve): Do no save or restore CR. Support extended
14106 return values for ELFv2 ABI. Fix location of FPR return registers.
14107 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14108 updated values for _CALL_ELF == 2.
14109 (La_regs, La_retval, int_retval): Likewise.
14111 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14113 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14114 (FRAME_MIN_SIZE_PARM): Likewise.
14115 (FRAME_BACKCHAIN): Likewise.
14116 (FRAME_CR_SAVE): Likewise.
14117 (FRAME_LR_SAVE): Likewise.
14118 (FRAME_TOC_SAVE): Likewise.
14119 (FRAME_PARM_SAVE): Likewise.
14120 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14121 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14122 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14123 (call_mcount_parm_offset): New macro.
14124 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14125 (PROF): Use symbolic stack frame offsets.
14126 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14127 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14128 Redefine in terms of FRAME_MIN_SIZE.
14129 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14130 (_dl_profile_resolve): Likewise. Update comment.
14131 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14132 symbols stack frame offsets.
14133 (__sigsetjmp): Likewise.
14134 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14135 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14136 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14137 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14140 (FRAME_BACKCHAIN): Remove.
14141 (FRAME_CR_SAVE): Likewise.
14142 (FRAME_LR_SAVE): Likewise.
14143 (FRAME_COMPILER_DW): Likewise.
14144 (FRAME_LINKER_DW): Likewise.
14145 (FRAME_TOC_SAVE): Likewise.
14146 (FRAME_PARM_SAVE): Likewise.
14147 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14148 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14149 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14151 (CHECK_SP): Use symbolic stack frame offsets.
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14153 zone" instead of caller's parameter save area for temp storage.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14155 Likewise. Also, use symbolic stack frame offsets.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14157 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14158 our own stack frame instead of the caller's.
14159 (__socket): Use symbolic stack frame offsets.
14161 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14162 Alan Modra <amodra@gmail.com>
14164 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14166 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14167 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14168 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14170 (elf_machine_fixup_plt): Call it.
14171 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14173 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14174 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14175 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14176 r2 before calling target.
14178 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14179 Alan Modra <amodra@gmail.com>
14181 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14182 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14183 versions of macros to support ELFv2 ABI.
14184 (LOCALENTRY): New macro.
14185 (ENTRY, EALIGN): Use it.
14186 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14187 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14188 fall through into ENTRY entry point.
14189 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14190 Only define if _CALL_ELF != 2.
14192 (elf_machine_matches_host): Verify ABI version matches.
14193 (RTLD_START): Use LOCALENTRY.
14194 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14195 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14196 (PLT_ENTRY_WORDS): New macro.
14197 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14198 (elf_machine_runtime_setup): Support ELFv2 ABI.
14199 (elf_machine_fixup_plt): Likewise.
14200 (elf_machine_plt_conflict): Likewise.
14201 (resolve_ifunc): Likewise.
14202 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14203 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14206 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14208 (makecontext): Support ELFv2 ABI.
14209 * elf/elf.h (EF_PPC64_ABI): Define.
14211 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14213 * sysdeps/powerpc/powerpc64/sysdep.h
14214 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14215 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14216 (ENTRY) [ASSEMBLER]: ... but instead here ...
14217 (EALIGN) [ASSEMBLER]: ... and here.
14218 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14219 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14220 (ENTRY_2) [!ASSEMBLER]: Use it.
14221 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14222 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14223 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14224 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14225 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14227 Use PPC64_LOAD_FUNCPTR.
14229 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14231 2013-12-04 Alan Modra <amodra@gmail.com>
14233 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14234 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14235 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14236 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14239 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14240 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14241 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14242 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14243 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14245 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14248 (__makecontext): Fix incorrect CFI when backtracing out of
14249 context created via makecontext.
14250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14251 (__setcontext): Fix incorrect CFI during switch to new context.
14252 (__novec_setcontext): Likewise.
14254 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14257 * time/strptime_l.c (__strptime_internal): Allow modifiers
14259 * time/tst-strptime.c (day_tests): Add testcase.
14261 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14263 * scripts/bench.pl: Skip over blank lines.
14265 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14268 * manual/time.texi (Calendar Time): Clarify what timezone functions
14271 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14275 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14277 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14279 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14280 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14281 * debug/memset_chk.c (__memset_chk): Likewise.
14282 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14283 * debug/strncpy_chk.c: Likewise.
14285 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14289 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14290 (__ieee754_exp): For possibly underflowing results, check size of
14291 result and force underflow exception if required.
14292 * math/auto-libm-test-in: Add more tests of exp.
14293 * math/auto-libm-test-out: Regenerated.
14294 * sysdeps/i386/fpu/libm-test-ulps: Update.
14295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14298 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14299 * math/w_exp2f.c (__exp2f): Likewise.
14300 * math/w_exp2l.c (__exp2l): Likewise.
14301 * math/auto-libm-test-in: Do not allow missing errno on exp2
14303 * math/auto-libm-test-out: Regenerated.
14305 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14308 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14309 handle filename validation.
14310 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14313 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14316 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14317 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14318 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14320 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14321 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14322 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14324 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14325 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14326 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14327 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14328 Add more erfc tests.
14329 * math/auto-libm-test-out: Regenerated.
14330 * sysdeps/i386/fpu/libm-test-ulps: Update.
14331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14333 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14334 exp2, expm1, j0 and j1.
14335 * math/auto-libm-test-out: Regenerated.
14336 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14337 (erfc_test_data): Likewise.
14338 (exp_test_data): Likewise.
14339 (exp_tonearest_test_data): Likewise.
14340 (exp_towardzero_test_data): Likewise.
14341 (exp_downward_test_data): Likewise.
14342 (exp_upward_test_data): Likewise.
14343 (exp10_test_data): Likewise.
14344 (exp2_test_data): Likewise.
14345 (expm1_test_data): Likewise.
14346 (j0_test_data): Likewise.
14347 (j1_test_data): Likewise.
14348 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14349 (input_flag_type): Add flag_xfail_rounding.
14350 (input_flags): Add xfail-rounding.
14351 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14352 (output_for_one_input_case): Handle flag_xfail_rounding.
14353 * sysdeps/i386/fpu/libm-test-ulps: Update.
14354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14356 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14359 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14362 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14365 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14366 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14367 (STAP_PROBE0): New macro.
14368 (STAP_PROBE1): Likewise.
14369 (STAP_PROBE2): Likewise.
14370 (STAP_PROBE3): Likewise.
14371 (STAP_PROBE4): Likewise.
14373 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14375 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14377 2013-12-02 Steve Ellcey <sellcey@mips.com>
14379 * benchtests/Makefile (bench): Add sqrt.
14380 (LDLIBS-bench-sqrt): New.
14381 * benchtests/sqrt-input: New.
14383 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14385 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14386 (GAIH_EAI): Likewise.
14387 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14388 (gaih_inet): Likewise.
14389 (getaddrinfo): Don't use GAIH_EAI.
14391 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14392 (struct gaih): Remove definition.
14394 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14396 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14397 Use HERRNOP directly.
14399 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14403 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14405 * math/gen-auto-libm-tests.c (test_functions): Add more
14406 single-argument functions.
14407 (special_fill_pi_2): New function.
14408 (special_fill_minus_pi_2): Likewise.
14409 (special_fill_pi_6): Likewise.
14410 (special_fill_minus_pi_6): Likewise.
14411 (special_fill_pi_3): Likewise.
14412 (special_fill_2pi_3): Likewise.
14413 (special_fill_e): Likewise.
14414 (special_fill_1_e): Likewise.
14415 (special_fill_e_minus_1): Likewise.
14416 (special_real_inputs): Add more special inputs.
14417 (output_for_one_input_case): Do not require ERANGE on underflow to
14418 zero if round-to-nearest result does not underflow to zero, unless
14419 exact results required.
14420 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14421 atan, atanh, cbrt, cos and cosh.
14422 * math/auto-libm-test-out: Regenerated.
14423 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14424 (acos_tonearest_test_data): Likewise.
14425 (acos_towardzero_test_data): Likewise.
14426 (acos_downward_test_data): Likewise.
14427 (acos_upward_test_data): Likewise.
14428 (acosh_test_data): Likewise.
14429 (asin_test_data): Likewise.
14430 (asin_tonearest_test_data): Likewise.
14431 (asin_towardzero_test_data): Likewise.
14432 (asin_upward_test_data): Likewise.
14433 (asinh_test_data): Likewise.
14434 (atan_test_data): Likewise.
14435 (atanh_test_data): Likewise.
14436 (cbrt_test_data): Likewise.
14437 (cos_test_data): Likewise.
14438 (cos_tonearest_test_data): Likewise.
14439 (cos_towardzero_test_data): Likewise.
14440 (cos_downward_test_data): Likewise.
14441 (cos_upward_test_data): Likewise.
14442 (cosh_test_data): Likewise.
14443 (cosh_tonearest_test_data): Likewise.
14444 (cosh_towardzero_test_data): Likewise.
14445 (cosh_downward_test_data): Likewise.
14446 (cosh_upward_test_data): Likewise.
14447 * sysdeps/i386/fpu/libm-test-ulps: Update.
14448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14450 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14453 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14454 * math/w_exp10f.c (__exp10f): Likewise.
14455 * math/w_exp10l.c (__exp10l): Likewise.
14456 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14457 errno settings in existing tests.
14460 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14461 precision control set to double precision.
14462 * sysdeps/i386/fpu/w_sqrt.c: New file.
14463 * math/auto-libm-test-in: Add more tests.
14464 * math/auto-libm-test-out: Update.
14466 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14467 (sqrt_test_tonearest): New function.
14468 (sqrt_towardzero_test_data): New variable.
14469 (sqrt_test_towardzero): New function.
14470 (sqrt_downward_test_data): New variable.
14471 (sqrt_test_downward): New function.
14472 (sqrt_upward_test_data): New variable.
14473 (sqrt_test_upward): New function.
14474 (main): Call the new functions.
14476 * math/gen-auto-libm-tests.c: New file.
14477 * math/auto-libm-test-in: Likewise.
14478 * math/auto-libm-test-out: New generated file.
14479 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14481 (%beautify): Add generated representations of zero.
14482 (top level): Set $auto_input and call parse_auto_input.
14483 (beautify): Remove trailing "f" from hex float constants.
14484 (parse_args): Handle XFAIL_TEST.
14485 (convert_condition): New function.
14486 (or_value): Likewise.
14487 (or_cond_value): Likewise.
14488 (generate_testfile): Handle AUTO_TESTS_* lines.
14489 (parse_auto_input): New function.
14490 * math/libm-test.inc (XFAIL_TEST): New macro.
14491 (ERRNO_UNCHANGED): Update value.
14492 (ERRNO_EDOM): Likewise.
14493 (ERRNO_ERANGE): Likewise.
14494 (IGNORE_RESULT): Likewise.
14495 (TEST_COND_flt_32): New macro.
14496 (TEST_COND_dbl_64): Likewise.
14497 (TEST_COND_ldbl_96_intel): Likewise.
14498 (TEST_COND_ldbl_96_m68k): Likewise.
14499 (TEST_COND_ldbl_128): Likewise.
14500 (TEST_COND_ldbl_128ibm): Likewise.
14501 (TEST_COND_long32): Likewise.
14502 (TEST_COND_long64): Likewise.
14503 (TEST_COND_before_rounding): Likewise.
14504 (TEST_COND_after_rounding): Likewise.
14505 (enable_test): Handle XFAIL_TEST flag.
14506 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14507 with finite results.
14508 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14509 auto-libm-test-out.
14511 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14512 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14515 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14516 __tls_get_addr_internal instead of __tls_get_offset in order to
14517 avoid GOT pointer dependency. Make rtld export
14518 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14519 __tls_get_addr since we are a __tls_get_offset platform.
14520 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14521 GOT pointer being set up before.
14522 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14524 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14526 * manual/math.texi (Errors in Math Functions): Document accuracy
14530 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14531 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14532 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14533 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14534 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14535 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14536 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14545 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14547 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14548 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14549 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14550 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14551 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14553 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14555 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14557 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14558 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14559 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14560 atomic-feupdateenv and flt-rounds.
14561 * sysdeps/powerpc/nofpu/Versions (libc): Add
14562 __atomic_feholdexcept, __atomic_feclearexcept,
14563 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14564 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14565 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14566 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14567 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14572 * manual/arith.texi (FP Exceptions): Document that exceptions may
14573 not be raised when matherr is used.
14574 (Math Error Reporting): Document overflow in directed rounding
14575 modes. Document that errno may not be set when finite values are
14576 returned on overflow. Document intent to set errno on underflow
14577 only for underflow to zero.
14580 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14581 round-to-nearest then adjust result for other rounding modes.
14582 * include/fenv.h (fegetround): Use libm_hidden_proto.
14583 * math/fegetround.c (fegetround): Use libm_hidden_def.
14584 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14585 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14586 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14587 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14589 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14590 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14591 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14592 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14594 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14597 * nss/Versions (libnss_files): Add
14598 _nss_files_gethostbyname3_r.
14599 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14601 (HOST_DB_LOOKUP): Remove macro.
14602 (_nss_files_gethostbyname_r): Implement function without the
14603 HOST_DB_LOOKUP macro.
14604 (_nss_files_gethostbyname2_r): Likewise.
14606 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14608 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14610 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14612 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14613 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14616 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14618 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14619 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14620 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14621 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14622 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14623 __fe_nomask_env_priv and attribute_hidden.
14624 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14625 (libc_feupdateenv_test_ppc): Likewise.
14626 (libc_feresetround_ppc): Likewise.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14628 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14629 compat_symbol macro.
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14631 (__fe_nomask_env): Likewise.
14632 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14634 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14636 * string/Makefile: Remove ifunc tests.
14637 * string/test-string.h: Define TEST_IFUNC.
14638 * string/test-bcopy-ifunc.c: Remove.
14639 * string/test-bzero-ifunc.c: Likewise.
14640 * string/test-memccpy-ifunc.c: Likewise.
14641 * string/test-memchr-ifunc.c: Likewise.
14642 * string/test-memcmp-ifunc.c: Likewise.
14643 * string/test-memcpy-ifunc.c: Likewise.
14644 * string/test-memmem-ifunc.c: Likewise.
14645 * string/test-memmove-ifunc.c: Likewise.
14646 * string/test-mempcpy-ifunc.c: Likewise.
14647 * string/test-memrchr-ifunc.c: Likewise.
14648 * string/test-memset-ifunc.c: Likewise.
14649 * string/test-rawmemchr-ifunc.c: Likewise.
14650 * string/test-stpcpy-ifunc.c: Likewise.
14651 * string/test-stpncpy-ifunc.c: Likewise.
14652 * string/test-strcasecmp-ifunc.c: Likewise.
14653 * string/test-strcasestr-ifunc.c: Likewise.
14654 * string/test-strcat-ifunc.c: Likewise.
14655 * string/test-strchr-ifunc.c: Likewise.
14656 * string/test-strchrnul-ifunc.c: Likewise.
14657 * string/test-strcmp-ifunc.c: Likewise.
14658 * string/test-strcpy-ifunc.c: Likewise.
14659 * string/test-strcspn-ifunc.c: Likewise.
14660 * string/test-strlen-ifunc.c: Likewise.
14661 * string/test-strncasecmp-ifunc.c: Likewise.
14662 * string/test-strncat-ifunc.c: Likewise.
14663 * string/test-strncmp-ifunc.c: Likewise.
14664 * string/test-strncpy-ifunc.c: Likewise.
14665 * string/test-strnlen-ifunc.c: Likewise.
14666 * string/test-strpbrk-ifunc.c: Likewise.
14667 * string/test-strrchr-ifunc.c: Likewise.
14668 * string/test-strspn-ifunc.c: Likewise.
14669 * string/test-strstr-ifunc.c: Likewise.
14671 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14673 * benchtests/Makefile: Remove ifunc tests.
14674 * benchtests/bench-string.h: Define TEST_IFUNC.
14675 * benchtests/bench-bcopy-ifunc.c: Remove.
14676 * benchtests/bench-bzero-ifunc.c: Likewise.
14677 * benchtests/bench-memccpy-ifunc.c: Likewise.
14678 * benchtests/bench-memchr-ifunc.c: Likewise.
14679 * benchtests/bench-memcmp-ifunc.c: Likewise.
14680 * benchtests/bench-memcpy-ifunc.c: Likewise.
14681 * benchtests/bench-memmem-ifunc.c: Likewise.
14682 * benchtests/bench-memmove-ifunc.c: Likewise.
14683 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14684 * benchtests/bench-memrchr-ifunc.c: Likewise.
14685 * benchtests/bench-memset-ifunc.c: Likewise.
14686 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14687 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14688 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14689 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14690 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14691 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14692 * benchtests/bench-strcat-ifunc.c: Likewise.
14693 * benchtests/bench-strchr-ifunc.c: Likewise.
14694 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14695 * benchtests/bench-strcmp-ifunc.c: Likewise.
14696 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14697 * benchtests/bench-strcpy-ifunc.c: Likewise.
14698 * benchtests/bench-strcspn-ifunc.c: Likewise.
14699 * benchtests/bench-strlen-ifunc.c: Likewise.
14700 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14701 * benchtests/bench-strncat-ifunc.c: Likewise.
14702 * benchtests/bench-strncmp-ifunc.c: Likewise.
14703 * benchtests/bench-strncpy-ifunc.c: Likewise.
14704 * benchtests/bench-strnlen-ifunc.c: Likewise.
14705 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14706 * benchtests/bench-strrchr-ifunc.c: Likewise.
14707 * benchtests/bench-strsep-ifunc.c: Likewise.
14708 * benchtests/bench-strspn-ifunc.c: Likewise.
14709 * benchtests/bench-strstr-ifunc.c: Likewise.
14711 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14713 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14715 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14717 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14718 * rt/aio.h: Likewise.
14719 * sysdeps/gnu/bits/utmp.h: Likewise.
14720 * sysdeps/gnu/bits/utmpx.h: Likewise.
14721 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14722 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14723 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14724 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14725 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14726 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14727 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14728 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14729 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14730 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14731 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14732 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14733 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14735 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14736 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14737 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14738 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14739 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14740 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14741 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14742 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14743 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14744 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14745 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14747 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14748 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14749 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14750 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14751 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14752 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14753 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14754 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14755 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14756 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14757 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14758 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14759 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14760 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14761 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14762 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14764 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14767 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14768 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14770 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14772 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14773 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14776 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14779 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14780 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14781 (__fesetround): Remove define.
14782 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14783 rounding and exceptions handling.
14784 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14785 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14786 (__fe_nomask_env): Likewise.
14787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14788 __fegetround instead of fegetround.
14789 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14790 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14792 2013-11-21 Roland McGrath <roland@hack.frob.com>
14794 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14797 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14799 2013-11-21 Meador Inge <meadori@codesourcery.com>
14802 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14803 (encrypt_r): Likewise.
14804 * malloc/obstack.h (obstack_free): Likewise.
14805 * posix/unistd.h (encrypt): Likewise.
14807 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14809 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14810 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14811 DL_CALL_DT_FINI() that call the functions directly.
14812 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14813 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14814 * elf/dl-fini.c: Likewise.
14816 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14818 * malloc/hooks.c (memalign_check): Add alignment rounding.
14819 * malloc/malloc.c (_mid_memalign): New function.
14820 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14821 Implement by calling _mid_memalign.
14822 * manual/probes.texi (Memory Allocation Probes): Remove
14823 memory_valloc_retry and memory_pvalloc_retry.
14825 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14827 * locale/programs/locarchive.c (open_archive): Add const
14828 qualifier to ARCHIVEFNAME and copy default fname to
14832 * libio/tst-widetext.input: Rename Oriya to Odia.
14833 * locale/iso-639.def: Likewise.
14835 * manual/probes.texi (Mathematical Function Probes): Add
14836 documentation for sin, cos, asin and acos probes.
14837 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14838 (__sin32): Add slowasin probe.
14839 (__cos32): Add slowacos probe.
14840 (__mpsin): Add slowsin probe.
14841 (__mpcos): Add slowcos probe.
14843 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14846 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14847 thread-local __sim_exceptions_thread and global
14848 __sim_exceptions_global.
14849 (__sim_disabled_exceptions): Change to thread-local
14850 __sim_disabled_exceptions_thread and global
14851 __sim_disabled_exceptions_global.
14852 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14853 and global __sim_round_mode_global.
14854 (__simulate_exceptions): Use thread-local floating-point state and
14855 set global state from it as needed.
14856 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14857 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14858 __sim_round_mode_thread.
14859 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14860 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14861 and global __sim_exceptions_global.
14862 (__sim_disabled_exceptions): Change to thread-local
14863 __sim_disabled_exceptions_thread and global
14864 __sim_disabled_exceptions_global.
14865 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14866 and global __sim_round_mode_global.
14867 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14868 (SIM_SET_GLOBAL): Likewise.
14869 * sysdeps/powerpc/soft-fp/sfp-machine.h
14870 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14871 __sim_round_mode_thread.
14872 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14873 __sim_disabled_exceptions_thread.
14874 (__sim_exceptions): Change to __sim_exceptions_thread.
14875 (__sim_disabled_exceptions): Change to
14876 __sim_disabled_exceptions_thread.
14877 (__sim_round_mode): Change to __sim_round_mode_thread.
14878 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14879 thread-local floating-point state and set global state from it as
14881 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14882 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14883 (__sim_disabled_exceptions): Remove extern declaration.
14884 (feenableexcept): Use thread-local floating-point state and set
14885 global state from it as needed.
14886 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14887 extern declaration.
14888 (__sim_disabled_exceptions): Likewise.
14889 (__sim_round_mode): Likewise.
14890 (__fegetenv): Use thread-local floating-point state.
14891 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14892 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14893 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14894 floating-point state and set global state from it as needed.
14895 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14896 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14897 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14899 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14900 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14902 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14903 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14904 Use __sim_round_mode_thread.
14905 * math/test-fenv-tls.c: New file.
14906 * math/Makefile (tests): Add test-fenv-tls.
14907 ($(objpfx)test-fenv-tls): Depend on
14908 $(common-objpfx)nptl/libpthread.so.
14910 2013-11-19 Andreas Schwab <schwab@suse.de>
14912 * locale/programs/locale.c (show_info): Decode wordarray elements.
14913 * locale/categories.def (LC_MONETARY): Add element for
14914 _NL_MONETARY_CRNCYSTR.
14915 * locale/C-monetary.c (conversion_rate): New variable.
14916 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14919 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14921 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14922 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14924 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14926 * elf/Makefile (tst-auxv): New test.
14927 * elf/tst-auxv.c: New
14928 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14930 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14932 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14933 (hidden_proto): Caller changed.
14934 (hidden_tls_proto): New macro.
14935 (libc_hidden_tls_proto): Likewise.
14936 (rtld_hidden_tls_proto): Likewise.
14937 (libm_hidden_tls_proto): Likewise.
14938 (libresolv_hidden_tls_proto): Likewise.
14939 (librt_hidden_tls_proto): Likewise.
14940 (libdl_hidden_tls_proto): Likewise.
14941 (libnss_files_hidden_tls_proto): Likewise.
14942 (libnsl_hidden_tls_proto): Likewise.
14943 (libnss_nisplus_hidden_tls_proto): Likewise.
14944 (libutil_hidden_tls_proto): Likewise.
14946 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14949 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14950 (decompose_rpath): Defer expansion to fillin_rpath.
14951 (_dl_init_paths): Pass linkmap to fillin_rpath.
14953 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14955 * benchtests/Makefile: Add strsep.
14956 * benchtests/bench-strsep.c: New file: strsep benchtest.
14957 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14959 2013-11-18 Andreas Schwab <schwab@suse.de>
14961 * locale/programs/locale.c (show_info) [case byte]: Check for
14962 '\377' instead of '\177'.
14963 * locale/C-monetary.c (not_available): Always use "\377".
14964 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14965 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14966 detect unavailable sign_posn locale elements.
14967 * locale/localeconv.c (__localeconv): For grouping and
14968 mon_grouping handle "\177" and "\377" like no grouping.
14969 (INT_ELEM): New macro. Use it to set all numeric members.
14970 * locale/programs/ld-monetary.c (monetary_read)
14971 <tok_mon_grouping>: Normalize single -1 to the empty string.
14972 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14975 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14978 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14979 when we match (nil).
14980 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14982 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14984 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14985 (NO_TEST_INLINE): Update value.
14986 (ERRNO_UNCHANGED): Likewise.
14987 (ERRNO_EDOM): Likewise.
14988 (ERRNO_ERANGE): Likewise.
14989 (IGNORE_RESULT): Likewise.
14990 (check_float_internal): Check signs of NaN results if
14991 TEST_NAN_SIGN used.
14992 (check_complex): Pass TEST_NAN_SIGN flag through to second
14993 check_float_internal call.
14994 (copysign_test_data): Add tests with quiet NaNs as second
14995 argument. Use TEST_NAN_SIGN.
14996 (fabs_test_data): Add test of negative quiet NaN argument. Use
14998 (signbit_test_data): Add tests of quiet NaN argument.
14999 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15001 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15003 (parse_args): Handle function results specified as IGNORE.
15004 * math/libm-test.inc (IGNORE_RESULT): New macro.
15005 (check_float_internal): Do not check numerical result if flag
15007 (check_complex): Pass through IGNORE_RESULT to second
15008 check_float_internal call.
15009 (check_int): Do not check numerical result if flag IGNORE_RESULT
15011 (check_long): Likewise.
15012 (check_bool): Likewise.
15013 (check_longlong): Likewise.
15014 (lrint_test_data): Add tests of infinite and NaN arguments.
15015 (lrint_tonearest_test_data): Likewise.
15016 (lrint_towardzero_test_data): Likewise.
15017 (lrint_downward_test_data): Likewise.
15018 (lrint_upward_test_data): Likewise.
15019 (llrint_test_data): Likewise.
15020 (llrint_tonearest_test_data): Likewise.
15021 (llrint_towardzero_test_data): Likewise.
15022 (llrint_downward_test_data): Likewise.
15023 (llrint_upward_test_data): Likewise.
15024 (lround_test_data): Likewise.
15025 (llround_test_data): Likewise.
15027 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15028 (ERRNO_UNCHANGED): Update value.
15029 (ERRNO_EDOM): Likewise.
15030 (ERRNO_ERANGE): Likewise.
15031 (NO_TEST_INLINE_FLOAT): New macro.
15032 (NO_TEST_INLINE_DOUBLE): Likewise.
15033 (enable_test): New function.
15034 (RUN_TEST_f_f): Check enable_test before running test.
15035 (RUN_TEST_2_f): Likewise.
15036 (RUN_TEST_fff_f): Likewise.
15037 (RUN_TEST_c_f): Likewise.
15038 (RUN_TEST_f_f1): Likewise.
15039 (RUN_TEST_fF_f1): Likewise.
15040 (RUN_TEST_fI_f1): Likewise.
15041 (RUN_TEST_ffI_f1): Likewise.
15042 (RUN_TEST_c_c): Likewise.
15043 (RUN_TEST_cc_c): Likewise.
15044 (RUN_TEST_f_i): Likewise.
15045 (RUN_TEST_f_i_tg): Likewise.
15046 (RUN_TEST_ff_i_tg): Likewise.
15047 (RUN_TEST_f_b): Likewise.
15048 (RUN_TEST_f_b_tg): Likewise.
15049 (RUN_TEST_f_l): Likewise.
15050 (RUN_TEST_f_L): Likewise.
15051 (RUN_TEST_fFF_11): Likewise.
15052 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15054 (cosh_test_data): Likewise.
15055 (exp_test_data): Likewise.
15056 (expm1_test_data): Likewise.
15057 (hypot_test_data): Likewise.
15058 (pow_test_data): Likewise.
15059 (sinh_test_data): Likewise.
15060 (tanh_test_data): Likewise.
15061 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15064 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15065 tests with quiet NaN input and output.
15066 (acosh_test_data): Likewise.
15067 (asin_test_data): Likewise.
15068 (asinh_test_data): Likewise.
15069 (atan_test_data): Likewise.
15070 (atanh_test_data): Likewise.
15071 (atan2_test_data): Likewise.
15072 (cbrt_test_data): Likewise.
15073 (cos_test_data): Likewise.
15074 (cosh_test_data): Likewise.
15075 (erf_test_data): Likewise.
15076 (erfc_test_data): Likewise.
15077 (exp_test_data): Likewise.
15078 (exp10_test_data): Likewise.
15079 (exp2_test_data): Likewise.
15080 (expm1_test_data): Likewise.
15081 (hypot_test_data): Likewise.
15082 (j0_test_data): Likewise.
15083 (j1_test_data): Likewise.
15084 (jn_test_data): Likewise.
15085 (lgamma_test_data): Likewise.
15086 (log_test_data): Likewise.
15087 (log10_test_data): Likewise.
15088 (log1p_test_data): Likewise.
15089 (log2_test_data): Likewise.
15090 (pow_test_data): Likewise.
15091 (scalb_test_data): Likewise.
15092 (sin_test_data): Likewise.
15093 (sincos_test_data): Likewise.
15094 (sinh_test_data): Likewise.
15095 (tan_test_data): Likewise.
15096 (tanh_test_data): Likewise.
15097 (tgamma_test_data): Likewise.
15098 (y0_test_data): Likewise.
15099 (y1_test_data): Likewise.
15100 (yn_test_data): Likewise.
15103 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15104 argument being NaN and avoid computations with second argument in
15106 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15107 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15108 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15110 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15112 * locale/iso-639.def: Add Chitwani Tharu (the).
15114 2013-11-14 Andreas Schwab <schwab@suse.de>
15116 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15117 word instead of empty string.
15119 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15122 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15124 (__fe_nomask_env): Likewise.
15126 2013-11-13 Steve Ellcey <sellcey@mips.com>
15128 * benchtests/bench-timing.h: Include time.h.
15130 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15133 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15135 * sysdeps/unix/sysv/linux/configure: Regenerated.
15137 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15140 * stdlib/strtod_l.c (round_and_return): Do not consider
15141 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15142 exponent one less than half the least subnormal exponent.
15143 * stdlib/test-strtod-round-data: Add more tests.
15144 * stdlib/tst-strtod-round.c (tests): Regenerated.
15146 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15149 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15150 (__fe_mask_env): Likewise.
15151 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15152 libm_hidden_proto and add function prototype.
15153 (__fe_mask_env): Add function prototype.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15155 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15157 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15159 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15161 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15163 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15164 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15166 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15168 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15169 of htab_find_slot().
15171 2013-11-11 David S. Miller <davem@davemloft.net>
15174 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15175 symbol in the non-vis3 case in static builds.
15176 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15177 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15178 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15179 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15181 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15184 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15187 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15189 * benchtests/Makefile: Add bench-strtod.
15190 * benchtests/bench-strtod.c: New file: strtod benchtest
15192 2013-11-11 Andreas Schwab <schwab@suse.de>
15195 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15196 terminating NUL in key length.
15198 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15201 Add artificial ODP entry for vDSO symbol for PPC64.
15202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15203 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15205 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15208 * nss/getent.c (services_keys): Recognize services starting with digit.
15210 2013-11-06 David S. Miller <davem@davemloft.net>
15213 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15214 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15216 2013-11-06 Will Newton <will.newton@linaro.org>
15218 * manual/memory.texi (Malloc Examples): Remove register
15219 keyword from examples.
15221 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15223 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15225 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15228 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15229 depending on [__GCC_IEC_559 > 0].
15230 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15231 depending on [__GCC_IEC_559_COMPLEX > 0].
15233 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15235 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15238 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15240 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15242 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15245 * malloc/malloc (malloc_info): Do not handle first bin as
15248 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15250 * locale/iso-639.def: Add Central Nahuatl (nhn).
15252 2013-11-01 Bruno Haible <bruno@clisp.org>
15255 * manual/math.texi (BSD Random): Specify range upper bound as
15258 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15260 * locale/iso-639.def: Add Meadow Mari (mhr).
15262 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15264 [BZ #14752], [BZ #15763]
15265 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15267 * rt/tst_shm.c: Add test for escaping directory.
15269 2013-10-31 Andreas Schwab <schwab@suse.de>
15272 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15273 followed by 'x' as part of digit sequence.
15274 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15276 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15279 * configure.ac: allow GNU Make 4.0 and greater.
15280 * configure: Regenerated.
15282 2013-10-30 Will Newton <will.newton@linaro.org>
15285 * malloc/hooks.c (memalign_check): Limit alignment to the
15286 maximum representable power of two.
15287 * malloc/malloc.c (__libc_memalign): Likewise.
15288 * malloc/tst-memalign.c (do_test): Add test for very
15289 large alignment values.
15290 * malloc/tst-posix_memalign.c (do_test): Likewise.
15292 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15295 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15296 (munmap_chunk): Likewise.
15297 (mremap_chunk): Likewise.
15299 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15302 * stdlib/div.c (div): Remove obsolete code.
15303 * stdlib/ldiv.c (ldiv): Likewise.
15304 * stdlib/lldiv.c (lldiv): Likewise.
15306 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15309 * nss/nss_files/files-XXX.c (get_contents_ret): New
15311 (get_contents): New function.
15312 (internal_getent): Use it. Expand size of LINEBUFLEN.
15314 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15316 * configure.in: Moved to ...
15317 * configure.ac: ... here. Change reference to configure.in
15319 * sysdeps/arm/preconfigure.ac: ... here.
15320 configure.in to configure.ac.
15321 * sysdeps/gnu/configure.in: Moved to ...
15322 * sysdeps/gnu/configure.ac: ... here.
15323 * sysdeps/i386/configure.in: Moved to ...
15324 * sysdeps/i386/configure.ac: ... here.
15325 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15326 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15327 * sysdeps/mach/configure.in: Moved to ...
15328 * sysdeps/mach/configure.ac: ... here.
15329 * sysdeps/mach/hurd/configure.in: Moved to ...
15330 * sysdeps/mach/hurd/configure.ac: ... here.
15331 * sysdeps/powerpc/configure.in: Moved to ...
15332 * sysdeps/powerpc/configure.ac: ... here.
15333 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15334 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15335 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15336 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15337 * sysdeps/s390/s390-32/configure.in: Moved to ...
15338 * sysdeps/s390/s390-32/configure.ac: ... here.
15339 * sysdeps/s390/s390-64/configure.in: Moved to ...
15340 * sysdeps/s390/s390-64/configure.ac: ... here.
15341 * sysdeps/sh/configure.in: Moved to ...
15342 * sysdeps/sh/configure.ac: ... here.
15343 * sysdeps/sparc/configure.in: Moved to ...
15344 * sysdeps/sparc/configure.ac: ... here.
15345 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15346 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15347 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15348 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15349 * sysdeps/x86_64/configure.in: Moved to ...
15350 * sysdeps/x86_64/configure.ac: ... here.
15351 * sysdeps/x86_64/preconfigure.in: Moved to ...
15352 * sysdeps/x86_64/preconfigure.ac: ... here.
15353 * aclocal.m4: Change reference to configure.in to configure.ac.
15354 * config.h.in: Likewise.
15355 * manual/install.texi: Likewise.
15356 * manual/maint.texi: Likewise.
15357 * Makefile: Likewise.
15358 * malloc/Makefile: Likewise.
15359 * nscd/Makefile: Likewise.
15360 * Makeconfig: Change reference to configure.in and
15361 preconfigure.in to configure.ac and preconfigure.ac
15363 * INSTALL: Regenerated.
15364 * configure: Likewise.
15365 * sysdeps/gnu/configure: Likewise.
15366 * sysdeps/i386/configure: Likewise.
15367 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15368 * sysdeps/mach/configure: Likewise.
15369 * sysdeps/mach/hurd/configure: Likewise.
15370 * sysdeps/powerpc/configure: Likewise.
15371 * sysdeps/powerpc/powerpc32/configure: Likewise.
15372 * sysdeps/powerpc/powerpc64/configure: Likewise.
15373 * sysdeps/s390/s390-32/configure: Likewise.
15374 * sysdeps/s390/s390-64/configure: Likewise.
15375 * sysdeps/sh/configure: Likewise.
15376 * sysdeps/sparc/configure: Likewise.
15377 * sysdeps/unix/sysv/linux/configure: Likewise.
15378 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15379 * sysdeps/x86_64/configure: Likewise.
15380 * sysdeps/x86_64/preconfigure: Likewise.
15382 2013-10-29 Andreas Schwab <schwab@suse.de>
15384 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15386 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15388 * benchtests/pow-inputs: Add new inputs.
15390 * benchtests/exp-inputs: Add new inputs.
15392 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15393 conditional check for return value.
15394 (__cos32): Likewise.
15396 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15398 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15399 to provide a boost for large inputs with word alignment.
15400 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15401 implementation based on optimized PPC64 strcpy.
15402 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15403 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15404 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15405 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15407 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15410 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15412 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15415 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15416 * time/tst-strptime.c (day_tests): Add testcase.
15418 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15421 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15423 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15426 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15427 MAP_FAILED on error.
15429 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15432 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15433 heap for large requests.
15435 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15438 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15439 result if the result has no associated interface.
15440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15441 interface for all 127.X.Y.Z addresses.
15443 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15445 * locale/iso-639.def: Add Ligurian (lij)
15447 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15450 * sunrpc/rpc_main.c: Document rpcgen -5.
15452 2013-10-19 Michael Stahl <mstahl@redhat.com>
15454 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15456 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15459 * posix/glob.c: Match only directories when trailing slash is present.
15460 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15461 (main): Add testcase.
15463 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15466 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15468 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15470 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15471 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15472 AUTH_DES and cindex for FIPS 140-2.
15473 (DES Encryption): Add cindex FIPS 46-3.
15475 * locale/locarchive.h (struct locarhandle): Add fname.
15476 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15477 if an optional argument was specified to --list-archive,
15479 * locale/programs/locarchive.c (show_archive_content): Take new
15480 argument fname and pass it via ah.fname to open_archive.
15481 * locale/programs/localedef.h: Update decl.
15482 (open_archive): If AH->fname is non-null, open that file
15483 rather than the default file name, and don't ignore ENOENT.
15484 (create_archive): Set AH.fname to NULL.
15485 (delete_locales_from_archive): Likewise.
15486 (add_locales_to_archive): Likewise.
15487 * locale/programs/locfile.c (write_all_categories): Likewise.
15489 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15490 Aldy Hernandez <aldyh@redhat.com>
15492 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15493 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15494 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15495 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15496 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15497 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15498 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15500 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15501 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15502 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15503 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15504 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15505 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15506 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15508 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15510 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15512 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15514 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15515 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15517 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15518 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15519 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15520 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15522 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15523 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15524 * sysdeps/powerpc/preconfigure: Likewise.
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15527 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15528 Replace contents of file by #include of <fenv_libc.h>.
15529 * sysdeps/powerpc/soft-fp/sfp-machine.h
15530 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15532 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15535 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15545 Allow copysignl PLT reference to be missing.
15547 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15548 Joseph Myers <joseph@codesourcery.com
15551 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15553 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15555 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15557 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15558 * elf/tst-tls1.c: Likewise.
15559 * elf/tst-tls10.h: Likewise.
15560 * elf/tst-tls14.c: Likewise.
15561 * elf/tst-tls2.c: Likewise.
15562 * elf/tst-tls3.c: Likewise.
15563 * elf/tst-tls4.c: Likewise.
15564 * elf/tst-tls5.c: Likewise.
15565 * elf/tst-tls6.c: Likewise.
15566 * elf/tst-tls7.c: Likewise.
15567 * elf/tst-tls8.c: Likewise.
15568 * elf/tst-tls9.c: Likewise.
15569 * elf/tst-tlsmod1.c: Likewise.
15570 * elf/tst-tlsmod13.c: Likewise.
15571 * elf/tst-tlsmod13a.c: Likewise.
15572 * elf/tst-tlsmod14a.c: Likewise.
15573 * elf/tst-tlsmod16a.c: Likewise.
15574 * elf/tst-tlsmod16b.c: Likewise.
15575 * elf/tst-tlsmod2.c: Likewise.
15576 * elf/tst-tlsmod3.c: Likewise.
15577 * elf/tst-tlsmod4.c: Likewise.
15578 * elf/tst-tlsmod5.c: Likewise.
15579 * elf/tst-tlsmod6.c: Likewise.
15581 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15584 * malloc/malloc.c: remove checks for statistics.
15586 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15589 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15590 * inet/tst-network.c: Add testcase.
15592 2013-10-17 Andreas Schwab <schwab@suse.de>
15595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15596 to determine canonical name.
15598 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15600 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15601 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15606 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15608 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15609 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15610 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15618 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15623 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15624 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15625 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15626 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15627 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15629 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15630 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15632 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15633 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15634 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15635 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15638 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15641 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15644 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15648 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15649 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15650 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15651 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15655 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15659 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15662 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15663 make result into a quiet NaN.
15665 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15667 * soft-fp/adddf3.c: Fix horizontal whitespace.
15668 * soft-fp/addsf3.c: Likewise.
15669 * soft-fp/addtf3.c: Likewise.
15670 * soft-fp/divdf3.c: Likewise.
15671 * soft-fp/divsf3.c: Likewise.
15672 * soft-fp/divtf3.c: Likewise.
15673 * soft-fp/double.h: Likewise.
15674 * soft-fp/eqdf2.c: Likewise.
15675 * soft-fp/eqsf2.c: Likewise.
15676 * soft-fp/eqtf2.c: Likewise.
15677 * soft-fp/extenddftf2.c: Likewise.
15678 * soft-fp/extended.h: Likewise.
15679 * soft-fp/extendsfdf2.c: Likewise.
15680 * soft-fp/extendsftf2.c: Likewise.
15681 * soft-fp/extendxftf2.c: Likewise.
15682 * soft-fp/fixdfdi.c: Likewise.
15683 * soft-fp/fixdfsi.c: Likewise.
15684 * soft-fp/fixdfti.c: Likewise.
15685 * soft-fp/fixsfdi.c: Likewise.
15686 * soft-fp/fixsfsi.c: Likewise.
15687 * soft-fp/fixsfti.c: Likewise.
15688 * soft-fp/fixtfdi.c: Likewise.
15689 * soft-fp/fixtfsi.c: Likewise.
15690 * soft-fp/fixtfti.c: Likewise.
15691 * soft-fp/fixunsdfdi.c: Likewise.
15692 * soft-fp/fixunsdfsi.c: Likewise.
15693 * soft-fp/fixunsdfti.c: Likewise.
15694 * soft-fp/fixunssfdi.c: Likewise.
15695 * soft-fp/fixunssfsi.c: Likewise.
15696 * soft-fp/fixunssfti.c: Likewise.
15697 * soft-fp/fixunstfdi.c: Likewise.
15698 * soft-fp/fixunstfsi.c: Likewise.
15699 * soft-fp/fixunstfti.c: Likewise.
15700 * soft-fp/floatdidf.c: Likewise.
15701 * soft-fp/floatdisf.c: Likewise.
15702 * soft-fp/floatditf.c: Likewise.
15703 * soft-fp/floatsidf.c: Likewise.
15704 * soft-fp/floatsisf.c: Likewise.
15705 * soft-fp/floatsitf.c: Likewise.
15706 * soft-fp/floattidf.c: Likewise.
15707 * soft-fp/floattisf.c: Likewise.
15708 * soft-fp/floattitf.c: Likewise.
15709 * soft-fp/floatundidf.c: Likewise.
15710 * soft-fp/floatundisf.c: Likewise.
15711 * soft-fp/floatunditf.c: Likewise.
15712 * soft-fp/floatunsidf.c: Likewise.
15713 * soft-fp/floatunsisf.c: Likewise.
15714 * soft-fp/floatunsitf.c: Likewise.
15715 * soft-fp/floatuntidf.c: Likewise.
15716 * soft-fp/floatuntisf.c: Likewise.
15717 * soft-fp/floatuntitf.c: Likewise.
15718 * soft-fp/fmadf4.c: Likewise.
15719 * soft-fp/fmasf4.c: Likewise.
15720 * soft-fp/fmatf4.c: Likewise.
15721 * soft-fp/gedf2.c: Likewise.
15722 * soft-fp/gesf2.c: Likewise.
15723 * soft-fp/getf2.c: Likewise.
15724 * soft-fp/ledf2.c: Likewise.
15725 * soft-fp/lesf2.c: Likewise.
15726 * soft-fp/letf2.c: Likewise.
15727 * soft-fp/muldf3.c: Likewise.
15728 * soft-fp/mulsf3.c: Likewise.
15729 * soft-fp/multf3.c: Likewise.
15730 * soft-fp/negdf2.c: Likewise.
15731 * soft-fp/negsf2.c: Likewise.
15732 * soft-fp/negtf2.c: Likewise.
15733 * soft-fp/op-1.h: Likewise.
15734 * soft-fp/op-2.h: Likewise.
15735 * soft-fp/op-4.h: Likewise.
15736 * soft-fp/op-8.h: Likewise.
15737 * soft-fp/op-common.h: Likewise.
15738 * soft-fp/quad.h: Likewise.
15739 * soft-fp/single.h: Likewise.
15740 * soft-fp/soft-fp.h: Likewise.
15741 * soft-fp/sqrtdf2.c: Likewise.
15742 * soft-fp/sqrtsf2.c: Likewise.
15743 * soft-fp/sqrttf2.c: Likewise.
15744 * soft-fp/subdf3.c: Likewise.
15745 * soft-fp/subsf3.c: Likewise.
15746 * soft-fp/subtf3.c: Likewise.
15747 * soft-fp/truncdfsf2.c: Likewise.
15748 * soft-fp/trunctfdf2.c: Likewise.
15749 * soft-fp/trunctfsf2.c: Likewise.
15750 * soft-fp/trunctfxf2.c: Likewise.
15751 * soft-fp/unorddf2.c: Likewise.
15752 * soft-fp/unordsf2.c: Likewise.
15753 * soft-fp/unordtf2.c: Likewise.
15755 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15757 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15758 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15760 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15762 * elf/dl-libc.c: Clear initfini list after freeing.
15764 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15766 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15767 * soft-fp/addsf3.c: Likewise.
15768 * soft-fp/addtf3.c: Likewise.
15769 * soft-fp/divdf3.c: Likewise.
15770 * soft-fp/divsf3.c: Likewise.
15771 * soft-fp/divtf3.c: Likewise.
15772 * soft-fp/double.h: Likewise.
15773 * soft-fp/eqdf2.c: Likewise.
15774 * soft-fp/eqsf2.c: Likewise.
15775 * soft-fp/eqtf2.c: Likewise.
15776 * soft-fp/extenddftf2.c: Likewise.
15777 * soft-fp/extended.h: Likewise.
15778 * soft-fp/extendsfdf2.c: Likewise.
15779 * soft-fp/extendsftf2.c: Likewise.
15780 * soft-fp/extendxftf2.c: Likewise.
15781 * soft-fp/fixdfdi.c: Likewise.
15782 * soft-fp/fixdfsi.c: Likewise.
15783 * soft-fp/fixdfti.c: Likewise.
15784 * soft-fp/fixsfdi.c: Likewise.
15785 * soft-fp/fixsfsi.c: Likewise.
15786 * soft-fp/fixsfti.c: Likewise.
15787 * soft-fp/fixtfdi.c: Likewise.
15788 * soft-fp/fixtfsi.c: Likewise.
15789 * soft-fp/fixtfti.c: Likewise.
15790 * soft-fp/fixunsdfdi.c: Likewise.
15791 * soft-fp/fixunsdfsi.c: Likewise.
15792 * soft-fp/fixunsdfti.c: Likewise.
15793 * soft-fp/fixunssfdi.c: Likewise.
15794 * soft-fp/fixunssfsi.c: Likewise.
15795 * soft-fp/fixunssfti.c: Likewise.
15796 * soft-fp/fixunstfdi.c: Likewise.
15797 * soft-fp/fixunstfsi.c: Likewise.
15798 * soft-fp/fixunstfti.c: Likewise.
15799 * soft-fp/floatdidf.c: Likewise.
15800 * soft-fp/floatdisf.c: Likewise.
15801 * soft-fp/floatditf.c: Likewise.
15802 * soft-fp/floatsidf.c: Likewise.
15803 * soft-fp/floatsisf.c: Likewise.
15804 * soft-fp/floatsitf.c: Likewise.
15805 * soft-fp/floattidf.c: Likewise.
15806 * soft-fp/floattisf.c: Likewise.
15807 * soft-fp/floattitf.c: Likewise.
15808 * soft-fp/floatundidf.c: Likewise.
15809 * soft-fp/floatundisf.c: Likewise.
15810 * soft-fp/floatunsidf.c: Likewise.
15811 * soft-fp/floatunsisf.c: Likewise.
15812 * soft-fp/floatuntidf.c: Likewise.
15813 * soft-fp/floatuntisf.c: Likewise.
15814 * soft-fp/floatuntitf.c: Likewise.
15815 * soft-fp/fmadf4.c: Likewise.
15816 * soft-fp/fmasf4.c: Likewise.
15817 * soft-fp/fmatf4.c: Likewise.
15818 * soft-fp/gedf2.c: Likewise.
15819 * soft-fp/gesf2.c: Likewise.
15820 * soft-fp/getf2.c: Likewise.
15821 * soft-fp/ledf2.c: Likewise.
15822 * soft-fp/lesf2.c: Likewise.
15823 * soft-fp/letf2.c: Likewise.
15824 * soft-fp/muldf3.c: Likewise.
15825 * soft-fp/mulsf3.c: Likewise.
15826 * soft-fp/multf3.c: Likewise.
15827 * soft-fp/negdf2.c: Likewise.
15828 * soft-fp/negsf2.c: Likewise.
15829 * soft-fp/negtf2.c: Likewise.
15830 * soft-fp/op-1.h: Likewise.
15831 * soft-fp/op-2.h: Likewise.
15832 * soft-fp/op-4.h: Likewise.
15833 * soft-fp/op-8.h: Likewise.
15834 * soft-fp/op-common.h: Likewise.
15835 * soft-fp/quad.h: Likewise.
15836 * soft-fp/single.h: Likewise.
15837 * soft-fp/soft-fp.h: Likewise.
15838 * soft-fp/sqrtdf2.c: Likewise.
15839 * soft-fp/sqrtsf2.c: Likewise.
15840 * soft-fp/sqrttf2.c: Likewise.
15841 * soft-fp/subdf3.c: Likewise.
15842 * soft-fp/subsf3.c: Likewise.
15843 * soft-fp/subtf3.c: Likewise.
15844 * soft-fp/truncdfsf2.c: Likewise.
15845 * soft-fp/trunctfdf2.c: Likewise.
15846 * soft-fp/trunctfsf2.c: Likewise.
15847 * soft-fp/trunctfxf2.c: Likewise.
15848 * soft-fp/unorddf2.c: Likewise.
15849 * soft-fp/unordsf2.c: Likewise.
15850 * soft-fp/unordtf2.c: Likewise.
15852 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15855 * misc/error.c (error_tail): Fix possible buffer overflow.
15857 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15860 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15863 2013-10-14 P. J. McDermott <pj@pehjota.net>
15866 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15867 testing pipefail option.
15869 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15871 * soft-fp/double.h: Indent preprocessor directives inside #if.
15872 * soft-fp/extended.h: Likewise.
15873 * soft-fp/op-2.h: Likewise.
15874 * soft-fp/op-4.h: Likewise.
15875 * soft-fp/op-common.h: Likewise.
15876 * soft-fp/quad.h: Likewise.
15877 * soft-fp/single.h: Likewise.
15878 * soft-fp/soft-fp.h: Likewise.
15880 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15882 * iconv/iconv_prog.c: Fix typos.
15883 * stdio-common/psiginfo-data.h: Likewise.
15885 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15888 * locale/setlocale.c: Fix typo.
15890 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15893 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15894 signaling NaN arguments.
15895 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15896 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15899 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15900 unordered operands.
15901 * soft-fp/gesf2.c (__gesf2): Likewise.
15902 * soft-fp/getf2.c (__getf2): Likewise.
15903 * soft-fp/ledf2.c (__ledf2): Likewise.
15904 * soft-fp/lesf2.c (__lesf2): Likewise.
15905 * soft-fp/letf2.c (__letf2): Likewise.
15907 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15908 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15909 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15910 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15911 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15912 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15913 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15914 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15915 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15916 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15917 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15918 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15919 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15920 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15921 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15922 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15923 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15924 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15925 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15926 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15927 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15928 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15929 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15930 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15931 * soft-fp/floattidf.c (__floattidf): Likewise.
15932 * soft-fp/floattisf.c (__floattisf): Likewise.
15933 * soft-fp/floattitf.c (__floattitf): Likewise.
15934 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15935 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15936 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15937 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15938 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15939 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15940 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15941 * soft-fp/gesf2.c (__gesf2): Likewise.
15942 * soft-fp/getf2.c (__getf2): Likewise.
15943 * soft-fp/ledf2.c (__ledf2): Likewise.
15944 * soft-fp/lesf2.c (__lesf2): Likewise.
15945 * soft-fp/letf2.c (__letf2): Likewise.
15947 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15948 Undefine and redefine.
15949 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15950 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15951 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15952 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15953 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15954 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15955 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15956 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15957 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15958 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15959 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15960 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15961 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15962 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15963 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15966 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15967 without decrementing exponent if mantissa >= that for the
15968 denominator, not >.
15969 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15970 denominator, not >. Decrement exponent in < case instead of
15971 incrementing in >= case.
15972 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15973 without decrementing exponent if mantissa >= that for the
15974 denominator, not >.
15976 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15977 computing saturated result for unsigned overflow.
15979 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15980 Jeff Law <law@redhat.com>
15982 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15983 (atan2Mp): Add systemtap probe marker.
15984 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15985 (__ieee754_log): Add systemtap probe marker.
15986 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15987 (atanMp): Add systemtap probe marker.
15988 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15989 (tanMp): Add systemtap probe marker.
15990 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15991 (__slowexp): Add systemtap probe marker.
15992 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15993 (__slowpow): Add systemtap probe marker.
15994 * manual/probes.texi: Document probes.
15996 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15999 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16001 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16003 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16004 written to buffer but not flushed.
16005 * libio/iofwrite_u.c: Likewise.
16006 * libio/iopadn.c: Return bytes returned even if EOF was
16008 * libio/iowpadn.c: Likewise.
16009 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16010 if _IO_padn does not write the whole buffer.
16011 [!COMPILE_WPRINTF] (PAD): Likewise.
16013 2013-10-10 David S. Miller <davem@davemloft.net>
16015 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16018 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16020 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16021 instead of FSF address.
16022 * soft-fp/fixdfti.c: Likewise.
16023 * soft-fp/fixsfti.c: Likewise.
16024 * soft-fp/fixtfti.c: Likewise.
16025 * soft-fp/fixunsdfti.c: Likewise.
16026 * soft-fp/fixunssfti.c: Likewise.
16027 * soft-fp/fixunstfti.c: Likewise.
16028 * soft-fp/floattidf.c: Likewise.
16029 * soft-fp/floattisf.c: Likewise.
16030 * soft-fp/floattitf.c: Likewise.
16031 * soft-fp/floatuntidf.c: Likewise.
16032 * soft-fp/floatuntisf.c: Likewise.
16033 * soft-fp/floatuntitf.c: Likewise.
16034 * soft-fp/trunctfxf2.c: Likewise.
16036 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16037 * soft-fp/fixdfti.c: Likewise.
16038 * soft-fp/fixsfti.c: Likewise.
16039 * soft-fp/fixtfti.c: Likewise.
16040 * soft-fp/fixunsdfti.c: Likewise.
16041 * soft-fp/fixunssfti.c: Likewise.
16042 * soft-fp/fixunstfti.c: Likewise.
16043 * soft-fp/floattidf.c: Likewise.
16044 * soft-fp/floattisf.c: Likewise.
16045 * soft-fp/floattitf.c: Likewise.
16046 * soft-fp/floatuntidf.c: Likewise.
16047 * soft-fp/floatuntisf.c: Likewise.
16048 * soft-fp/floatuntitf.c: Likewise.
16049 * soft-fp/trunctfxf2.c: Likewise.
16051 2013-10-10 David S. Miller <davem@davemloft.net>
16053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16055 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16057 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16058 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16059 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16060 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16061 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16062 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16063 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16066 for NaNs before doing comparisons on argument.
16067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16070 2013-10-10 Will Newton <will.newton@linaro.org>
16072 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16073 passed to _int_memalign does not overflow.
16075 2013-10-10 Torvald Riegel <triegel@redhat.com>
16077 * scripts/bench.pl: Add include-sources directive.
16078 * benchtests/README: Update documentation.
16080 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16082 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16083 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16084 instead of FP_INIT_ROUNDMODE.
16085 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16086 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16089 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16090 copy class of input value.
16091 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16092 not handle exceptions.
16093 * soft-fp/negsf2.c (__negsf2): Likewise.
16094 * soft-fp/negtf2.c (__negtf2): Likewise.
16095 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16097 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16099 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16100 semicolon. From Linux kernel.
16102 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16104 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16106 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16109 * manual/socket.texi: Added statement about buffer
16110 for gethostbyname2_r.
16112 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16114 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16115 Use .p2align directive instead, throughout.
16116 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16117 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16118 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16120 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16121 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16122 * sysdeps/x86_64/strchr.S: Likewise.
16123 * sysdeps/x86_64/strrchr.S: Likewise.
16125 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16127 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16129 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16131 * sysdeps/generic/math_private.h (__mpsin1): Remove
16133 (__mpcos1): Likewise.
16134 (__mpsin): New argument __range_reduce.
16135 (__mpcos): Likewise.
16136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16137 (slow): Use __mpsin and __mpcos.
16141 (sloww1): Likewise.
16142 (sloww2): Likewise.
16143 (bsloww): Likewise.
16144 (bsloww1): Likewise.
16145 (bsloww2): Likewise.
16146 (cslow2): Likewise.
16147 (csloww): Likewise.
16148 (csloww1): Likewise.
16149 (csloww2): Likewise.
16150 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16151 range_reduce. Merge in __mpsin1.
16152 (__mpcos): Likewise.
16153 (__mpsin1): Remove.
16154 (__mpcos1): Likewise.
16156 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16158 * locale/loadlocale.c (_nl_intern_locale_data): Use
16160 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16161 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16162 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16163 obstack data is appropriately aligned.
16164 (obstack_int32_grow_fast): Likewise.
16165 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16166 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16167 (add_locale_uint32_array): Likewise.
16169 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16171 * benchtests/Makefile: Remove ARGLIST and RET variables.
16172 ($(objpfx)bench-%.c): Pass only function name to the script.
16173 * benchtests/README: Update documentation.
16174 * benchtests/acos-inputs: Add new directives.
16175 * benchtests/acosh-inputs: Likewise.
16176 * benchtests/asin-inputs: Likewise.
16177 * benchtests/asinh-inputs: Likewise.
16178 * benchtests/atan-inputs: Likewise.
16179 * benchtests/atanh-inputs: Likewise.
16180 * benchtests/cos-inputs: Likewise.
16181 * benchtests/cosh-inputs: Likewise.
16182 * benchtests/exp-inputs: Likewise.
16183 * benchtests/log-inputs: Likewise.
16184 * benchtests/pow-inputs: Likewise.
16185 * benchtests/rint-inputs: Likewise.
16186 * benchtests/sin-inputs: Likewise.
16187 * benchtests/sinh-inputs: Likewise.
16188 * benchtests/tan-inputs: Likewise.
16189 * benchtests/tanh-inputs: Likewise.
16190 * scripts/bench.pl: Add support for new directives.
16192 2013-10-07 Alan Modra <amodra@gmail.com>
16194 * README: Fix careless merge.
16196 2013-10-05 Alan Modra <amodra@gmail.com>
16198 * NEWS: Mention powerpc64le support and bugs fixed.
16199 * README: Both big-endian and little-endian powerpc64 supported.
16201 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16203 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16204 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16205 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16206 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16208 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16210 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16213 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16215 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16216 Move -mhard-float appending from
16217 ports/sysdeps/powerpc/powerpc32/Makefile.
16218 [$(with-fp) = yes] (ASFLAGS): Likewise.
16219 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16220 * sysdeps/powerpc/nofpu: Move directory from
16221 ports/sysdeps/powerpc/nofpu.
16222 * sysdeps/powerpc/soft-fp: Move directory from
16223 ports/sysdeps/powerpc/soft-fp.
16224 * sysdeps/powerpc/powerpc32/405: Move directory from
16225 ports/sysdeps/powerpc/powerpc32/405.
16226 * sysdeps/powerpc/powerpc32/440: Move directory from
16227 ports/sysdeps/powerpc/powerpc32/440.
16228 * sysdeps/powerpc/powerpc32/464: Move directory from
16229 ports/sysdeps/powerpc/powerpc32/464.
16230 * sysdeps/powerpc/powerpc32/476: Move directory from
16231 ports/sysdeps/powerpc/powerpc32/476.
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16233 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16235 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16237 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16239 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16242 * README: Update for powerpc-*-linux-gnu software floating point
16245 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16246 case to powerpc/powerpc32*.
16247 * sysdeps/unix/sysv/linux/configure: Regenerated.
16249 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16250 (_FPU_MASK_OM): Define as 0x04.
16251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16259 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16262 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16265 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16266 and setcontext_e500.
16268 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16270 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16272 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16274 * manual/threads.texi (Default Thread Attributes): Fix typo.
16276 2013-10-04 Will Newton <will.newton@linaro.org>
16278 * malloc/Makefile: Add tst-memalign.
16279 * malloc/tst-memalign.c: New file.
16281 * malloc/tst-posix_memalign.c: Add comments.
16282 (do_test): Add comments and call free on all potentially
16283 allocated pointers. Add space after cast.
16285 * malloc/tst-pvalloc.c: Add comments.
16286 (do_test): Add comments and call free on all potentially
16287 allocated pointers. Remove duplicate check for NULL pointer.
16288 Add space after cast.
16290 * malloc/tst-valloc.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 2013-10-04 Alan Modra <amodra@gmail.com>
16297 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16298 Use stdint types in rather than __attribute__((mode())).
16299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16301 2013-10-04 Alan Modra <amodra@gmail.com>
16303 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16304 Correct handling of unaligned relocs for little-endian.
16305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16307 2013-10-04 Alan Modra <amodra@gmail.com>
16309 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16310 * configure: Regenerate.
16311 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16312 * shlib-versions: Likewise.
16314 2013-10-04 Alan Modra <amodra@gmail.com>
16316 * string/tester.c (test_memrchr): Increment reported test cycle.
16318 2013-10-04 Alan Modra <amodra@gmail.com>
16320 * string/test-memcpy.c (do_one_test): When reporting errors, print
16321 string address and don't overrun end of string.
16323 2013-10-04 Alan Modra <amodra@gmail.com>
16325 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16326 insrdi. Make better use of reg selection to speed exit slightly.
16327 Schedule entry path a little better. Remove useless "are we done"
16328 checks on entry to main loop. Handle wrapping around zero address.
16329 Correct main loop count. Handle single left-over word from main
16330 loop inline rather than by using loop_small. Remove extra word
16331 case in loop_small caused by wrong loop count. Add little-endian
16333 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16334 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16336 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16337 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16338 support. Avoid rlwimi.
16339 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16341 2013-10-04 Alan Modra <amodra@gmail.com>
16343 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16344 insrdi. Formatting.
16345 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16346 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16347 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16348 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16349 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16350 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16352 2013-10-04 Alan Modra <amodra@gmail.com>
16354 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16356 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16358 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16360 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16361 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16362 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16363 use of regs. Use power7 mtocrf. Tidy function tails.
16365 2013-10-04 Alan Modra <amodra@gmail.com>
16367 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16368 Formatting. Consistently use rXXX register defines or rN defines.
16369 Use early exit labels that avoid restoring unused non-volatile regs.
16370 Make cr field use more consistent with rWORDn compares. Rename
16371 regs used as shift registers for unaligned loop, using rN defines
16372 for short lifetime/multiple use regs.
16373 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16374 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16375 addi 1,1,64 to pop stack frame. Simplify return value code.
16376 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16378 2013-10-04 Alan Modra <amodra@gmail.com>
16380 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16381 support. Correct typos, formatting. Optimize tail. Use insrdi
16382 rather than rlwimi.
16383 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16384 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16385 little-endian support. Correct typos.
16386 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16387 rather than rlwimi.
16388 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16389 in loop and entry code to keep "and." results.
16390 (strchr): Add little-endian support. Comment. Move cntlzd
16392 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16394 2013-10-04 Alan Modra <amodra@gmail.com>
16396 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16397 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16398 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16399 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16401 2013-10-04 Alan Modra <amodra@gmail.com>
16403 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16404 (rTMP): Define as r11.
16405 (strcmp): Add little-endian support. Optimise tail.
16406 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16407 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16408 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16414 2013-10-04 Alan Modra <amodra@gmail.com>
16416 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16417 little-endian support. Remove unnecessary "are we done" tests.
16418 Handle "s" wrapping around zero and extremely large "size".
16419 Correct main loop count. Handle single left-over word from main
16420 loop inline rather than by using small_loop. Correct comments.
16421 Delete "zero" tail, use "end_max" instead.
16422 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16424 2013-10-04 Alan Modra <amodra@gmail.com>
16426 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16427 support. Don't branch over align.
16428 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16429 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16430 support. Rearrange tmp reg use to suit. Comment.
16431 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16433 2013-10-04 Alan Modra <amodra@gmail.com>
16435 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16437 2013-10-04 Alan Modra <amodra@gmail.com>
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16440 conditional form of branch and link when obtaining pc.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16443 2013-10-04 Alan Modra <amodra@gmail.com>
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16450 2013-10-04 Alan Modra <amodra@gmail.com>
16452 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16453 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16454 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16455 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16456 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16457 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16458 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16459 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16460 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16461 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16463 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16464 Alistair Popple <alistair@ozlabs.au.ibm.com>
16465 Alan Modra <amodra@gmail.com>
16468 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16469 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16470 _dl_hwcap access for little-endian.
16471 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16472 destroy vmx regs when saving unaligned.
16473 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16474 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16475 destroy vmx regs when saving unaligned.
16477 2013-10-04 Alan Modra <amodra@gmail.com>
16479 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16480 Don't use a union to pack hi/low value.
16482 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16484 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16486 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16488 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16489 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16490 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16492 2013-10-04 Alan Modra <amodra@gmail.com>
16494 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16495 constants to usual value for .cst8 section, and remove redundant
16497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16498 constant for 0x1p52. Load little-endian words of double from
16499 correct stack offsets.
16501 2013-10-04 Alan Modra <amodra@gmail.com>
16503 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16504 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16505 words of double from correct stack offsets.
16506 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16507 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16508 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16512 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16513 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16514 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16515 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16516 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16517 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16518 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16519 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16520 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16521 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16522 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16524 2013-10-04 Alan Modra <amodra@gmail.com>
16526 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16527 64-bit int/double union.
16528 (_FPU_SETCW): Likewise.
16529 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16530 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16532 2013-10-04 Alan Modra <amodra@gmail.com>
16534 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16535 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16537 2013-10-04 Alan Modra <amodra@gmail.com>
16539 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16540 use vector int constants.
16541 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16543 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16545 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16546 array with long long.
16547 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16548 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16549 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16550 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16551 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16552 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16553 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16554 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16555 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16556 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16557 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16558 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16559 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16561 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16563 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16564 (__signbit): Likewise. Correct for little-endian.
16565 (__signbitl): Call __signbit.
16566 (lrint): Correct for little-endian.
16567 (lrintf): Call lrint.
16569 2013-10-04 Alan Modra <amodra@gmail.com>
16571 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16572 union 32-bit int array member with 64-bit int array.
16573 (t515, tm256): Double rather than long double.
16574 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16576 2013-10-04 Alan Modra <amodra@gmail.com>
16578 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16580 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16582 version of math_ldbl.h.
16584 2013-10-04 Alan Modra <amodra@gmail.com>
16586 [BZ #15734], [BZ #15735]
16587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16588 all uses of ieee875 long double macros and unions. Simplify test
16589 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16590 ldbl_extract_mantissa value for ix,iy exponents. Properly
16591 normalize after ldbl_extract_mantissa, and don't add hidden bit
16592 already handled. Don't treat low word of ieee854 mantissa like
16593 low word of IBM long double and mask off bit when testing for
16595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16596 all uses of ieee875 long double macros and unions. Simplify tests
16597 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16598 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16599 two1022, instead use their values. Recognise that tests for large
16600 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16601 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16602 Rewrite all uses of ieee875 long double macros and unions. Simplify
16603 test for 0.0L and nan. Correct negation.
16604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16605 ieee875 long double macros and unions. Correct output for large
16606 magnitude x. Correct absolute value calculation.
16607 (__erfcl): Likewise.
16608 * math/libm-test.inc: Add tests for errors discovered in IBM long
16609 double versions of fmodl, remainderl, erfl and erfcl.
16611 2013-10-04 Alan Modra <amodra@gmail.com>
16613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16614 all uses of ieee854 long double macros and unions. Simplify tests
16615 for long doubles that are fully specified by the high double.
16616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16618 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16619 Remove dead code too.
16620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16621 (__ieee754_ynl): Likewise.
16622 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16625 Remove dead code too.
16626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16627 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16628 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16631 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16633 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16634 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16636 Comment on variable precision.
16637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16638 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16640 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16642 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16643 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16644 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16646 2013-10-04 Alan Modra <amodra@gmail.com>
16648 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16650 all uses of ieee854 long double macros and unions.
16651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16655 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16656 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16659 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16660 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16661 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16662 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16663 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16664 Simplify sign and nan test too.
16665 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16667 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16668 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16670 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16671 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16677 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16680 2013-10-04 Alan Modra <amodra@gmail.com>
16682 * stdio-common/printf_size.c (__printf_size): Don't use
16683 union ieee854_long_double in fpnum union.
16684 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16685 signbit macro to retrieve sign from long double.
16686 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16687 retrieve sign from long double.
16688 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16689 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16690 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16691 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16692 * math/test-misc.c (main): Don't use union ieee854_long_double.
16694 2013-10-04 Alan Modra <amodra@gmail.com>
16697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16698 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16699 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16700 calculation. Remove unnecessary test for denormal exponent.
16701 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16702 Correct handling of denormals. Avoid undefined shift behaviour.
16703 Correct normalisation of low mantissa when low double is denormal.
16704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16705 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16706 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16707 Correct normalisation of low mantissa. Test for overflow of high
16708 mantissa and normalise.
16709 (ldbl_nearbyint): Use more readable constant for two52.
16710 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16711 (__mpn_construct_long_double): Fix test for overflow of high
16712 mantissa and correct normalisation. Avoid undefined shift.
16714 2013-10-04 Alan Modra <amodra@gmail.com>
16716 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16717 (union ibm_extended_long_double): Define as an array of ieee754_double.
16718 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16719 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16720 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16721 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16725 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16730 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16732 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16733 page size instead of calling getpagesize.
16735 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16736 (LOCFILE_ALIGN_MASK): Likewise.
16737 (LOCFILE_ALIGN_UP): Likewise.
16738 (LOCFILE_ALIGNED_P): Likewise.
16739 * locale/programs/ld-collate.c (collate_output): Use the new
16740 macros instead of __alignof__ (int32_t).
16741 * locale/weight.h (findidx): Likewise.
16743 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16746 * manual/string.texi: Fix strncat and wcsncat.
16748 2013-10-03 Brooks Moses <bmoses@google.com>
16751 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16752 * Makerules: ...here, and adjust associated comments.
16754 2013-10-02 Will Newton <will.newton@linaro.org>
16756 * malloc/Makefile: Add tst-pvalloc.
16757 * malloc/tst-pvalloc.c: New file.
16759 2013-10-02 Will Newton <will.newton@linaro.org>
16761 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16762 improve test coverage.
16764 2013-10-02 Will Newton <will.newton@linaro.org>
16766 * malloc/Makefile: Add tst-posix_memalign.
16767 * malloc/tst-posix_memalign.c: New file.
16769 2013-10-01 Eric Blake <eblake@redhat.com>
16771 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16772 Use __THROWNL rather than __THROW on static functions.
16774 2013-09-30 Petr Machata <pmachata@redhat.com>
16776 * elf/elf.h (R_AARCH64_ABS16): New macro.
16777 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16778 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16779 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16780 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16781 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16782 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16783 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16784 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16785 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16786 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16787 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16788 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16789 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16790 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16791 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16792 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16793 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16794 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16795 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16796 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16797 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16798 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16799 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16800 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16801 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16802 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16803 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16804 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16805 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16806 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16807 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16808 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16809 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16810 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16811 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16812 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16813 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16814 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16815 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16816 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16817 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16818 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16819 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16820 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16821 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16822 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16823 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16824 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16825 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16826 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16827 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16828 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16829 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16830 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16831 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16832 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16833 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16834 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16835 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16836 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16837 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16838 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16839 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16840 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16841 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16842 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16843 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16844 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16845 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16846 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16847 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16848 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16849 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16850 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16851 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16852 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16853 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16854 (R_AARCH64_TLSDESC_LDR): Likewise.
16855 (R_AARCH64_TLSDESC_ADD): Likewise.
16856 (R_AARCH64_TLSDESC_CALL): Likewise.
16858 2013-09-30 Andreas Schwab <schwab@suse.de>
16861 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16862 the nss database lookup.
16863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16866 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16868 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16870 2013-09-28 P. J. McDermott <pj@pehjota.net>
16872 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16873 ${Bash-specific parameter/pattern/string} parameter expansion.
16874 * sysdeps/unix/make-syscalls.sh: Likewise.
16876 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16878 * sysdeps/sh/stackguard-macros.h: New file.
16880 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16884 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16885 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16886 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16887 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16889 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16891 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16892 Fix thread ID register.
16894 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16896 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16897 [POSIX || UNIX98]: Require rather than permitting all symbols from
16899 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16900 element of struct sched_param.
16901 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16902 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16903 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16904 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16907 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16909 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16910 argument calculation.
16912 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16914 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16916 [POSIX] (pthread_attr_t): Do not require type.
16917 [POSIX] (pthread_cond_t): Likewise.
16918 [POSIX] (pthread_condattr_t): Likewise.
16919 [POSIX] (pthread_key_t): Likewise.
16920 [POSIX] (pthread_mutex_t): Likewise.
16921 [POSIX] (pthread_mutexattr_t): Likewise.
16922 [POSIX] (pthread_once_t): Likewise.
16923 [POSIX] (pthread_t): Likewise.
16924 [POSIX-based standards] (pthread_atfork): Expect function.
16926 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16927 Richard Sandiford <richard@codesourcery.com>
16929 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16930 (swap_endianness_p): New extern variable.
16931 (set_big_endian): New inline function.
16932 (maybe_swap_uint32): Likewise.
16933 (maybe_swap_uint32_array): Likewise.
16934 (maybe_swap_uint32_obstack): Likewise.
16935 * locale/programs/locfile.c: Include <stdbool.h>.
16936 (swap_endianness_p): New variable.
16937 (add_locale_uint32): Call maybe_swap_uint32.
16938 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16939 (write_locale_data): Call maybe_swap_uint32_array.
16940 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16942 (obstack_int32_grow_fast): Likewise.
16943 (output_weightwc): Call maybe_swap_uint32_obstack.
16944 (collate_output): Likewise.
16945 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16946 (OPT_LITTLE_ENDIAN): Likewise.
16947 (options): Add --little-endian and --big-endian options.
16948 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16949 * locale/programs/locarchive.c: Include "locfile.h".
16953 (create_archive): Use the new macros to access fields of
16954 structures directly mapped from or written to locale archives.
16955 (oldlocrecentcmp): Likewise.
16956 (enlarge_archive): Likewise.
16957 (insert_name): Likewise.
16958 (add_alias): Likewise.
16959 (add_locale): Likewise.
16960 (delete_locales_from_archive): Likewise.
16961 (show_archive_content): Likewise.
16962 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16965 2013-09-24 Roland McGrath <roland@hack.frob.com>
16967 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16968 http://www.gnu.org/doc/freemanuals.texi.
16969 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16971 2013-09-24 Will Newton <will.newton@linaro.org>
16973 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16976 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16978 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16981 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16983 * manual/threads.texi (POSIX Threads): Fix a typo.
16985 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16988 * string/tst-strcoll-overflow.c: New test case.
16989 * string/Makefile (xtests): Add tst-strcoll-overflow.
16990 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16991 cache if string sizes may cause integer overflow.
16994 * string/strcoll_l.c (coll_seq): New members rule, idx,
16995 save_idx and back_us.
16996 (get_next_seq_nocache): New function.
16997 (do_compare_nocache): New function.
16998 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17001 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17004 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17005 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17006 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17009 * elf/Makefile (tests): Add tst-ptrguard1.
17010 (tests-static): Add tst-ptrguard1-static.
17011 (tst-ptrguard1-ARGS): Define.
17012 (tst-ptrguard1-static-ARGS): Define.
17013 * elf/tst-ptrguard1.c: New file.
17014 * elf/tst-ptrguard1-static.c: New file.
17015 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17016 * sysdeps/i386/stackguard-macros.h: Likewise.
17017 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17018 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17019 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17020 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17021 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17022 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17024 2013-09-23 Hector Marco <hecmargi@upv.es>
17025 Ismael Ripoll <iripoll@disca.upv.es>
17026 Carlos O'Donell <carlos@redhat.com>
17029 * sysdeps/generic/stackguard-macros.h: Define
17030 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17031 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17032 Define __pointer_chk_guard_local.
17033 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17034 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17036 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17039 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17041 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17043 * include/string.h (__ffs): Declare as hidden.
17044 * string/ffs.c (__ffs): Define as hidden.
17045 * sysdeps/i386/ffs.c (__ffs): Likewise.
17046 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17047 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17048 * sysdeps/s390/ffs.c (__ffs): Likewise.
17049 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17051 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17053 * NEWS: Mention malloc probes.
17055 * malloc/arena.c (new_heap): New memory_heap_new probe.
17056 (grow_heap): New memory_heap_more probe.
17057 (shrink_heap): New memory_heap_less probe.
17058 (heap_trim): New memory_heap_free probe.
17059 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17060 (systrim): New memory_sbrk_less probe.
17061 * manual/probes.texi: Document them.
17063 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17064 * manual/probes.texi: Document it.
17066 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17067 (__libc_realloc): Add memory_realloc_retry probe.
17068 (__libc_memalign): Add memory_memalign_retry probe.
17069 (__libc_valloc): Add memory_valloc_retry probe.
17070 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17071 (__libc_calloc): Add memory_calloc_retry probe.
17072 * manual/probes.texi: Document them.
17074 * malloc/arena.c (get_free_list): Add probe
17075 memory_arena_reuse_free_list.
17076 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17077 and memory_arena_reuse.
17078 (arena_get2) [!PER_THREAD]: Likewise.
17079 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17080 memory_arena_reuse_realloc.
17081 * manual/probes.texi: Document them.
17083 * malloc/malloc.c (__libc_free): Add
17084 memory_mallopt_free_dyn_thresholds probe.
17085 (__libc_mallopt): Add multiple memory_mallopt probes.
17086 * manual/probes.texi: Document them.
17088 * malloc/malloc.c: Include stap-probe.h.
17089 (__libc_mallopt): Add memory_mallopt probe.
17090 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17091 * manual/probes.texi: New.
17092 * manual/Makefile (chapters): Add probes.
17093 * manual/threads.texi: Set next node.
17095 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17097 [BZ #15963, #13985]
17098 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17099 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17100 Add `Chinese' to `nan' entry name.
17102 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17104 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17105 (POLYNOMIAL): Likewise.
17106 (TAYLOR_SINCOS): Likewise.
17107 (TAYLOR_SLOW): Likewise.
17108 (__sin): Use TAYLOR_SINCOS.
17110 (slow): Use TAYLOR_SLOW.
17112 (bsloww): Likewise.
17113 (csloww): Likewise.
17115 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17117 * stdlib/strtod_l.c: Fix buffer overrun.
17119 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17121 * benchtests/Makefile (bench): Add sincos.
17122 * benchtests/bench-sincos.c: New file.
17124 * math/libm-test.inc (cos_test_data): New test inputs.
17125 (sin_test_data): Likewise.
17127 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17133 (sloww1): Likewise.
17134 (sloww2): Likewise.
17135 (bsloww1): Likewise.
17136 (bsloww2): Likewise.
17137 (cslow2): Likewise.
17138 (csloww1): Likewise.
17139 (csloww2): Likewise.
17141 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17150 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17152 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17153 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17154 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17155 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17156 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17157 * elf/cache.c (print_entry): Handle the new cache flags.
17159 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17160 Aldy Hernandez <aldyh@redhat.com>
17162 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17163 Change condition to [_SOFT_FLOAT].
17164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17176 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17179 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17182 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17184 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17185 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17186 (__longjmp): Use LOAD_GP to load saved GPRs.
17187 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17188 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17189 (__sigsetjmp): Use SAVE_GP to save GPRs.
17191 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17192 Do not append -msoft-float.
17193 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17195 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17197 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17199 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17202 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17203 (_FPU_GETCW): Use initial "__" on variable and field names but not
17204 on macro parameter name.
17205 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17206 parentheses around reference to macro parameter.
17208 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17210 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17212 (ctype_startup): Use uint32_t in cast and sizeof for
17215 2013-09-11 Jia Liu <proljc@gmail.com>
17217 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17219 [__FreeBSD__]: Likewise.
17221 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17224 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17225 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17226 (strchr): Remove __strchr_sse42 ifunc selection.
17227 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17228 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17230 2013-09-11 Will Newton <will.newton@linaro.org>
17232 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17233 parameter to RES. Remove hardcoded 1000 value.
17234 * benchtests/bench-skeleton.c (main): Pass RES parameter
17235 to TIMING_INIT and multiply result by 1000.
17237 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17241 2013-09-11 Andreas Schwab <schwab@suse.de>
17243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17245 (O_TMPFILE) [__USE_GNU]: Define.
17246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17249 2013-09-11 Will Newton <will.newton@linaro.org>
17252 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17255 2013-09-11 Will Newton <will.newton@linaro.org>
17258 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17261 2013-09-11 Will Newton <will.newton@linaro.org>
17264 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17267 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17269 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17270 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17275 2013-09-10 Allan McRae <allan@archlinux.org>
17278 * manual/arith.texi (Parsing of Floats): Clarify
17282 * manual/install.texi (Running make install): Mention
17284 * INSTALL: Regenerated.
17286 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17288 * csu/init-first.c (_init): Remove the !SHARED condition around
17289 FPU control word initialization.
17290 * elf/dl-support.c (_dl_fpu_control): New variable.
17291 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17292 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17293 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17294 * math/test-fpucw-static.c: New file.
17295 * math/test-fpucw-ieee.c: New file.
17296 * math/test-fpucw-ieee-static.c: New file.
17297 * math/Makefile (tests): Add `test-fpucw-ieee' and
17299 (tests-static): New variable.
17300 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17302 [($(build-shared),yes)]
17303 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17305 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17308 2013-09-09 Allan McRae <allan@archlinux.org>
17311 * manual/string.texi (Collation Functions): Fix typo in
17313 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17316 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17319 * libio/memstream.c (open_memstream): Fix memory leak.
17320 * libio/wmemstream.c (open_wmemstream): Likewise.
17323 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17325 2013-09-09 Will Newton <will.newton@linaro.org>
17327 * malloc/Makefile: Add tst-realloc to tests.
17328 * malloc/tst-realloc.c: New file.
17330 2013-09-09 Allan McRae <allan@archlinux.org>
17333 * COPYING: Update from GNU website to fix FSF address.
17334 * COPYING.LIB: Likewise.
17336 2013-09-06 David S. Miller <davem@davemloft.net>
17338 * po/zh_TW.po: Update Chinese (traditional) translation from
17339 translation project.
17341 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17342 Joseph Myers <joseph@codesourcery.com>
17344 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17346 (obstack_chunk_alloc): New macro.
17347 (obstack_chunk_free): Likewise.
17348 (record_offset): New function.
17349 (init_locale_data): Likewise.
17350 (align_locale_data): Likewise.
17351 (add_locale_empty): Likewise.
17352 (add_locale_raw_data): Likewise.
17353 (add_locale_raw_obstack): Likewise.
17354 (add_locale_string): Likewise.
17355 (add_locale_wstring): Likewise.
17356 (add_locale_uint32): Likewise.
17357 (add_locale_uint32_array): Likewise.
17358 (add_locale_char): Likewise.
17359 (start_locale_structure): Likewise.
17360 (end_locale_structure): Likewise.
17361 (start_locale_prelude): Likewise.
17362 (end_locale_prelude): Likewise.
17363 (write_locale_data): Take locale_file structure rather than an
17365 * locale/programs/locfile.h: Include "obstack.h".
17366 (struct locale_file): Change to store locale file contents instead
17368 (init_locale_data): New prototype.
17369 (align_locale_data): Likewise.
17370 (add_locale_empty): Likewise.
17371 (add_locale_raw_data): Likewise.
17372 (add_locale_raw_obstack): Likewise.
17373 (add_locale_string): Likewise.
17374 (add_locale_wstring): Likewise.
17375 (add_locale_uint32): Likewise.
17376 (add_locale_uint32_array): Likewise.
17377 (add_locale_char): Likewise.
17378 (start_locale_structure): Likewise.
17379 (end_locale_structure): Likewise.
17380 (start_locale_prelude): Likewise.
17381 (end_locale_prelude): Likewise.
17382 (write_locale_data): Update prototype.
17383 * locale/programs/3level.h (struct TABLE): Remove result field.
17384 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17385 Use new locale_file interface.
17386 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17387 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17388 * locale/programs/ld-address.c (address_output): Use new
17389 locale_file interface.
17390 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17392 (collate_finish): Don't call collseq_table_finalize.
17393 (collate_output): Use new locale_file interface.
17394 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17396 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17397 (TABLE): Move defines earlier in file.
17398 (ELEMENT): Likewise.
17399 (DEFAULT): Likewise.
17400 (wctrans_table_add): Move macro and inline function earlier in
17402 (struct wctype_table): Move type earlier in file.
17403 (add_locale_wctype_table): New static prototype.
17404 (struct locale_ctype_t): Use logical types instead of struct iovec
17405 pointers for members.
17406 (ctype_output): Use new locale_file interface.
17407 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17408 new locale_file interface.
17409 (allocate_arrays): Update for use of new locale_file interface.
17410 * locale/programs/ld-identification.c (identification_output): Use
17411 new locale_file interface.
17412 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17413 * locale/programs/ld-messages.c (messages_output): Likewise.
17414 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17415 * locale/programs/ld-name.c (name_output): Likewise.
17416 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17417 * locale/programs/ld-paper.c (paper_output): Likewise.
17418 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17419 * locale/programs/ld-time.c (time_output): Likewise.
17421 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17423 * benchtests/Makefile: Add memrchr benchmark.
17424 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17425 benchmark as memrchr.
17426 * benchtests/bench-memrchr-ifunc.c: New file.
17427 * benchtests/bench-memrchr.c: New file.
17429 2013-09-06 Will Newton <will.newton@linaro.org>
17431 * benchtests/Makefile (string-bench): Add memcpy.
17433 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17434 Cong Wang <amwang@redhat.com>
17437 * sysdeps/unix/sysv/linux/bits/in.h
17438 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17439 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17440 before __USE_KERNEL_IPV6_DEFS uses.
17441 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17443 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17444 sockaddr_in6, or ipv6_mreq.
17446 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17448 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17449 memory access for final bytes in some large inputs.
17450 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17452 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17454 * string/test-memrchr.c: New file.
17455 * string/test-memrchr-ifunc.c: New file.
17456 * string/Makefile: Add new memrchr testcase.
17458 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17460 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17461 fanotify_init returns EPERM.
17463 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17465 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17467 (top level): Treat second token from macro or constant entries for
17468 allowed headers as allowed.
17469 * include/complex.h: Condition internal declarations on
17471 * include/fenv.h: Condition include of <stdbool.h> and internal
17472 declarations on [!_ISOMAC].
17474 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17477 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17479 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17481 * configure.in (--enable-versioning): Remove configure option.
17482 (libc_cv_asm_symver_directive): Remove configure test.
17483 (libc_cv_ld_version_script_option): Likewise.
17484 (VERSIONING): Remove variable and AC_SUBST.
17485 (DO_VERSIONING): Remove AC_DEFINE.
17486 * configure: Regenerated.
17487 * config.h.in (DO_VERSIONING): Remove macro.
17488 * Makerules [$(versioning) = yes]: Change conditionals to
17489 [$(build-shared) = yes].
17490 * config.make.in (versioning): Remove variable.
17491 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17492 [$(build-shared) = yes].
17493 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17494 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17495 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17496 [$(build-shared) = yes].
17497 * extra-lib.mk [$(versioning) = yes]: Likewise.
17498 * hurd/Makefile [$(versioning) = yes]: Likewise.
17499 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17501 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17503 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17504 [SHARED && !NO_HIDDEN].
17505 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17507 [SHARED && DO_VERSIONING]: Likewise..
17508 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17509 [$(build-shared) = yes].
17510 * manual/install.texi (--disable-versioning): Remove
17512 * INSTALL: Regenerated.
17513 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17515 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17516 [$(build-shared) = yes].
17517 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17518 * sysdeps/i386/i686/multiarch/strstr-c.c
17519 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17520 [SHARED && !NO_HIDDEN].
17521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17522 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17523 * sysdeps/powerpc/powerpc32/dl-machine.c
17524 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17525 * sysdeps/powerpc/powerpc32/sysdep.h
17526 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17527 to [SHARED && PIC && !NO_HIDDEN].
17528 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17529 conditional to [SHARED].
17531 2013-09-04 Will Newton <will.newton@linaro.org>
17533 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17534 * benchtests/bench-string.h: Include bench-timing.h instead
17535 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17536 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17537 call to HP_TIMING_DIFF_INIT.
17538 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17539 instead of hp-timing.h macros.
17540 * benchtests/bench-memchr.c: Likewise.
17541 * benchtests/bench-memcmp.c: Likewise.
17542 * benchtests/bench-memcpy.c: Likewise.
17543 * benchtests/bench-memmem.c: Likewise.
17544 * benchtests/bench-memmove.c: Likewise.
17545 * benchtests/bench-memset.c: Likewise.
17546 * benchtests/bench-rawmemchr.c: Likewise.
17547 * benchtests/bench-strcasecmp.c: Likewise.
17548 * benchtests/bench-strcasestr.c: Likewise.
17549 * benchtests/bench-strcat.c: Likewise.
17550 * benchtests/bench-strchr.c: Likewise.
17551 * benchtests/bench-strcmp.c: Likewise.
17552 * benchtests/bench-strcpy.c: Likewise.
17553 * benchtests/bench-strcpy_chk.c: Likewise.
17554 * benchtests/bench-strlen.c: Likewise.
17555 * benchtests/bench-strncasecmp.c: Likewise.
17556 * benchtests/bench-strncat.c: Likewise.
17557 * benchtests/bench-strncmp.c: Likewise.
17558 * benchtests/bench-strncpy.c: Likewise.
17559 * benchtests/bench-strnlen.c: Likewise.
17560 * benchtests/bench-strpbrk.c: Likewise.
17561 * benchtests/bench-strrchr.c: Likewise.
17562 * benchtests/bench-strspn.c: Likewise.
17563 * benchtests/bench-strstr.c: Likewise.
17565 2013-09-04 Will Newton <will.newton@linaro.org>
17567 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17569 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17573 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17574 * math/libm-test.inc (lgamma_test_data): Add more tests.
17575 * sysdeps/i386/fpu/libm-test-ulps: Update.
17576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17578 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17580 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17584 Add strcmp-sse2-unaligned
17585 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17587 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17589 * Versions.def (libc): Add GLIBC_2.19.
17591 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17593 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17594 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17596 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17599 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17600 intermediate calculations in recurrence.
17601 (__ieee754_ynf): Likewise.
17602 * math/libm-test.inc (jn_test_data): Do not allow spurious
17603 underflow exception. Add more tests.
17604 (yn_test_data): Add more tests.
17605 * sysdeps/i386/fpu/libm-test-ulps: Update.
17606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17608 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17610 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17612 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17614 * csu/init-first.c: Fix then/than typos.
17615 * locale/programs/ld-collate.c: Likewise.
17616 * locale/programs/linereader.h: Likewise.
17617 * manual/charset.texi: Likewise.
17618 * manual/filesys.texi: Likewise.
17619 * manual/stdio.texi: Likewise.
17620 * manual/string.texi: Likewise.
17621 * stdlib/fmtmsg.c: Likewise.
17622 * sysdeps/i386/stpncpy.S: Likewise.
17623 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17624 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17625 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17626 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17628 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17630 * elf/dl-open.c: Fix typos.
17631 * iconvdata/gbbig5.c: Likewise.
17632 * iconvdata/iso-2022-jp.c: Likewise.
17633 * iconv/gconv_int.h: Likewise.
17634 * iconv/loop.c: Likewise.
17635 * nis/rpcsvc/nis.h: Likewise.
17636 * resolv/ns_name.c: Likewise.
17637 * stdio-common/vfscanf.c: Likewise.
17638 * streams/stropts.h: Likewise.
17639 * sunrpc/rpc_thread.c: Likewise.
17640 * sysdeps/i386/strpbrk.S: Likewise.
17641 * sysdeps/ieee754/k_standard.c: Likewise.
17642 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17644 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17645 * sysdeps/mach/hurd/profil.c: Likewise.
17646 * sysdeps/s390/dl-procinfo.h: Likewise.
17647 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17648 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17649 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17650 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17653 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17655 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17658 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17660 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17661 aix specific files.
17662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17663 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17664 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17665 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17666 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17667 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17668 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17669 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17671 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17672 Roland McGrath <roland@hack.frob.com>
17674 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17675 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17677 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17679 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17680 __executable_start symbol instead of _start.
17682 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17684 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17685 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17687 * sysdeps/gnu/ldsodefs.h: ... this new file.
17689 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17690 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17691 instead of ELFOSABI_LINUX.
17693 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17694 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17695 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17696 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17698 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17699 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17700 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17702 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17703 (ibm_extended_long_double): Add ieee_nan member.
17704 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17705 (do_test): New function.
17707 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17709 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17710 functions, renamed from truncdfsf_test, trunctfsf_test,
17712 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17714 (do_test): Run all these.
17716 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17718 * argp/argp-help.c: Fix typos.
17719 * argp/argp-parse.c: Likewise.
17720 * debug/backtracesyms.c: Likewise.
17721 * elf/elf.h: Likewise.
17722 * malloc/malloc.c: Likewise.
17723 * nis/nis_print.c: Likewise.
17724 * resolv/res_comp.c: Likewise.
17725 * stdlib/stdlib.h: Likewise.
17726 * sunrpc/clnt_tcp.c: Likewise.
17727 * sunrpc/clnt_udp.c: Likewise.
17728 * sunrpc/clnt_unix.c: Likewise.
17729 * sysdeps/unix/bsd/ptsname.c: Likewise.
17730 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17731 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17738 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17740 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17742 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17745 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17748 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17749 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17750 ($(objpfx)bug-dl-leaf): New rule.
17751 ($(objpfx)bug-dl-leaf.so): Likewise.
17752 ($(objpfx)bug-dl-leaf.out): Likewise.
17753 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17754 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17755 * dlfcn/bug-dl-leaf.c: New test.
17756 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17757 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17758 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17759 (dlclose): Likewise.
17760 (dlmopen): Likewise.
17762 2013-08-27 Roland McGrath <roland@hack.frob.com>
17764 * include/netdb.h [!_ISOMAC]:
17765 Don't include <tls.h>.
17766 (h_errno, __libc_h_errno): Move declaration and macros out of
17769 * include/resolv.h [_RESOLV_H_]:
17770 Don't include <tls.h>.
17771 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17772 * resolv/res_libc.c: Don't include <tls.h>.
17773 (_res): Use __attribute__ ((nocommon)) in place of
17774 __attribute__ ((section (".bss"))).
17776 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17777 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17779 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17781 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17782 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17784 * resolv/res_mkquery.c: Include <sys/time.h>.
17786 * inet/ifreq.c: Moved to ...
17787 * sysdeps/unix/ifreq.c: ... here.
17788 * inet/ifreq.c: New file, true stub version.
17790 * socket/sa_len.c: New file.
17791 * socket/Makefile (aux): Add it.
17792 * sysdeps/unix/sysv/linux/Makefile
17793 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17794 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17795 and #include <socket/sa_len.c>.
17796 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17797 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17799 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17800 * bits/socket.h: ... here.
17802 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17803 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17804 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17806 2013-08-27 Andreas Schwab <schwab@suse.de>
17809 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17810 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17811 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17812 * string/test-strcasecmp.c (test_main): Run tests in several
17814 * string/test-strncasecmp.c (test_main): Likewise.
17816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17817 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17818 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17820 (__strncasecmp_ssse3) [PIC]: Likewise.
17822 2013-08-26 Roland McGrath <roland@hack.frob.com>
17824 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17826 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17827 instead of explicitly declaring xdecrypt.
17828 * nis/nss_nis/nis-publickey.c: Likewise.
17830 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17833 * nscd/aicache.c: Include res_hconf.h.
17834 (addhstaiX): Initialize res_hconf.
17836 2013-08-26 Andreas Schwab <schwab@suse.de>
17838 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17839 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17841 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17843 * nscd/aicache.c (addhstaiX): Fix indentation.
17845 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17847 * configure.ac: Quote $build_pt_chown test.
17848 * configure: Regenerated.
17850 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17853 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17854 * math/s_cexpf.c (__cexpf): Likewise.
17855 * math/s_cexpl.c (__cexpl): Likewise.
17856 * math/libm-test.inc (cexp_test_data): Correct expected return
17857 value for NaN + i0. Add another test.
17859 2013-08-22 David S. Miller <davem@davemloft.net>
17861 * po/ca.po: Update Catalan translation from translation project.
17862 * po/uk.po: Add Ukrainian translations from translation project.
17864 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17867 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17868 is infinite, not alongside NaN test.
17869 * math/s_fdimf.c (__fdimf): Likewise.
17870 * math/s_fdiml.c (__fdiml): Likewise.
17871 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17872 errno is unchanged.
17874 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17876 * argp/argp-help.c: Fix typos.
17877 * crypt/speeds.c: Likewise.
17878 * csu/check_fds.c: Likewise.
17879 * elf/dl-load.c: Likewise.
17880 * elf/dl-open.c: Likewise.
17881 * elf/reldep3.c: Likewise.
17882 * elf/reldep.c: Likewise.
17883 * elf/sprof.c: Likewise.
17884 * iconv/iconv_charmap.c: Likewise.
17885 * iconv/skeleton.c: Likewise.
17886 * iconv/strtab.c: Likewise.
17887 * io/lockf64.c: Likewise.
17888 * libio/libioP.h: Likewise.
17889 * resolv/gai_notify.c: Likewise.
17890 * resolv/ns_name.c: Likewise.
17891 * resolv/ns_samedomain.c: Likewise.
17892 * resolv/res_send.c: Likewise.
17893 * stdlib/random.c: Likewise.
17894 * sunrpc/rpc/xdr.h: Likewise.
17895 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17897 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17898 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17899 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17900 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17903 * sysdeps/mach/hurd/check_fds.c: Likewise.
17904 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17905 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17908 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17909 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17910 * sysdeps/pthread/aio_notify.c: Likewise.
17911 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17912 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17913 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17915 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17917 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17919 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17920 version if bit_Slow_SSE4_2 is set.
17921 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17924 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17927 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17928 trampoline stack frame information.
17929 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17930 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17931 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17932 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17933 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17934 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17935 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17936 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17938 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17939 interrupting a syscall and set with option SA_SIGINFO.
17941 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17944 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17945 argument is infinite.
17946 * math/s_cprojf.c (__cprojf): Likewise.
17947 * math/s_cprojl.c (__cprojl): Likewise.
17948 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17949 * math/libm-test.inc (cproj_test_data): Add more tests.
17951 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17953 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17954 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17955 size. Use __ffs to determine corresponding shift.
17957 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17958 Roland McGrath <roland@hack.frob.com>
17960 * Makefile (INSTALL): Remove trailing blank lines from output of
17963 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17965 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17966 Align 32 bit compat elf_greg to 8 bytes.
17968 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17970 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17972 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17974 * string/strcoll_l.c (coll_seq): New structure.
17975 (get_next_seq_cached): New function.
17976 (get_next_seq): New function.
17977 (do_compare): New function.
17978 (STRCOLL): Use GNU style definition. Simplify implementation
17979 by using get_next_seq, get_next_seq_cached and do_compare.
17981 2013-08-16 Florian Weimer <fweimer@redhat.com>
17985 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17987 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17989 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17990 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17991 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17993 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17994 GETDENTS_64BIT_ALIGNED.
17995 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17996 * manual/filesys.texi (Reading/Closing Directory): Document
17997 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17999 * manual/conf.texi (Limits for Files): Add portability note to
18000 NAME_MAX, PATH_MAX.
18001 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18003 2013-08-13 Andreas Schwab <schwab@suse.de>
18006 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18008 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18009 LDBL_MAX_EXP >= 16384]: Add tests for it.
18011 2013-08-12 David S. Miller <davem@davemloft.net>
18013 * version.h (RELEASE): Set to "development".
18014 (VERSION): Set to "2.18.90".
18015 * NEWS: Add 2.19 section.
18017 2013-08-03 David S. Miller <davem@davemloft.net>
18019 * po/ko.po: Update Korean translation from translation project.
18021 2013-08-01 David S. Miller <davem@davemloft.net>
18023 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18024 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18027 2013-07-30 David S. Miller <davem@davemloft.net>
18029 * po/fr.po: Update French translation from translation project.
18031 2013-07-28 David S. Miller <davem@davemloft.net>
18033 * po/cs.po: Update Czech translation from translation project.
18035 * po/sv.po: Update Swedish translation from translation project.
18037 2013-07-27 David S. Miller <davem@davemloft.net>
18039 * po/eo.po: Update Esperanto translation from translation project.
18041 * po/vi.po: Update Vietnamese translation from translation project.
18043 * po/de.po: Update German translation from translation project.
18045 2013-07-26 David S. Miller <davem@davemloft.net>
18047 * po/bg.po: Update Bulgarian translation from translation project.
18049 * po/nl.po: Update Dutch translation from translation project.
18050 * po/pl.po: Update Polish translation from translation project.
18051 * po/ru.po: Update Russian translation from translation project.
18053 2013-07-24 David S. Miller <davem@davemloft.net>
18055 * po/libc.pot: Update.
18057 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18059 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18060 variable page size.
18061 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18062 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18063 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18065 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18067 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18069 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18070 Andreas Schwab <schwab@suse.de>
18071 Roland McGrath <roland@hack.frob.com>
18072 Joseph Myers <joseph@codesourcery.com>
18073 Carlos O'Donell <carlos@redhat.com>
18076 * config.h.in: Define HAVE_PT_CHOWN.
18077 * config.make.in (build-pt-chown): New variable.
18078 * configure.in (--enable-pt_chown): New configure option.
18079 * configure: Regenerate.
18080 * login/Makefile: Include Makeconfig. Build pt_chown only if
18081 build-pt-chown is enabled.
18082 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18083 pt_chown to fix pty ownership.
18084 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18086 * manual/install.texi (Configuring and compiling): Mention
18087 --enable-pt_chown. Add @findex for grantpt.
18088 * INSTALL: Regenerate.
18090 2013-07-20 David S. Miller <davem@davemloft.net>
18092 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18093 difference between 32-bit and 64-bit.
18095 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18098 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18099 Avoid system header dependency with -ffreestanding.
18100 ($(objpfx)bits/syscall%d): Likewise.
18102 2013-07-13 David S. Miller <davem@davemloft.net>
18104 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18105 underflows from atanl/atan2l due to bug 15319.
18106 (casinh_test_data): Likewise.
18108 2013-07-07 David S. Miller <davem@davemloft.net>
18110 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18112 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18114 * sysdeps/i386/fpu/libm-test-ulps: Update.
18115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18117 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18119 * configure.in (--enable-lock-elision): Fix message text.
18120 * INSTALL: Regenerate.
18121 * configure: Regenerate.
18123 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18127 2013-07-03 Andreas Jaeger <aj@suse.de>
18129 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18131 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18132 (ptrace_peeksiginfo_args): Add.
18133 (__ptrace_peeksiginfo_flags): Add.
18134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18138 2013-07-03 Allan McRae <allan@archlinux.org>
18140 * sysdeps/i386/fpu/libm-test-ulps: Update.
18142 2013-07-02 David S. Miller <davem@davemloft.net>
18144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18146 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18150 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18152 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18155 2013-07-02 Andi Kleen <ak@linux.intel.com>
18157 * config.h.in (ENABLE_LOCK_ELISION): Add.
18158 * configure.in (--enable-lock-elision): Add option.
18159 * manual/install.texi: Document --enable lock elision.
18160 * configure: Regenerate
18161 * INSTALL: Regenerate.
18163 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18165 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18166 SSE4.2 strcasecmp for libc.a.
18167 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18169 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18172 * soft-fp/op-common.h (_FP_FMA): New macro.
18173 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18174 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18175 (_FP_MUL_MEAT_1_imm): ... here.
18176 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18177 (_FP_MUL_MEAT_1_wide): ... here.
18178 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18179 (_FP_MUL_MEAT_1_hard): ... here.
18180 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18181 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18182 (_FP_MUL_MEAT_2_wide): ... here.
18183 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18184 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18185 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18186 (_FP_MUL_MEAT_2_gmp): ... here.
18187 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18188 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18189 (_FP_MUL_MEAT_4_wide): ... here.
18190 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18191 (_FP_MUL_MEAT_4_gmp): ... here.
18192 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18193 (_FP_WFRACBITS_DW_S): Likewise.
18194 (_FP_WFRACXBITS_DW_S): Likewise.
18195 (_FP_HIGHBIT_DW_S): Likewise.
18196 (FP_FMA_S): Likewise.
18197 (_FP_FRAC_HIGH_DW_S): Likewise.
18198 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18199 (_FP_WFRACBITS_DW_D): Likewise.
18200 (_FP_WFRACXBITS_DW_D): Likewise.
18201 (_FP_HIGHBIT_DW_D): Likewise.
18202 (FP_FMA_D): Likewise.
18203 (_FP_FRAC_HIGH_DW_D): Likewise.
18204 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18205 (_FP_WFRACBITS_DW_E): Likewise.
18206 (_FP_WFRACXBITS_DW_E): Likewise.
18207 (_FP_HIGHBIT_DW_E): Likewise.
18208 (FP_FMA_E): Likewise.
18209 (_FP_FRAC_HIGH_DW_E): Likewise.
18210 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18211 (_FP_WFRACBITS_DW_Q): Likewise.
18212 (_FP_WFRACXBITS_DW_Q): Likewise.
18213 (_FP_HIGHBIT_DW_Q): Likewise.
18214 (FP_FMA_Q): Likewise.
18215 (_FP_FRAC_HIGH_DW_Q): Likewise.
18216 * soft-fp/fmasf4.c: New file.
18217 * soft-fp/fmadf4.c: Likewise.
18218 * soft-fp/fmatf4.c: Likewise.
18220 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18223 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18227 (index_Slow_SSE4_2): Likewise.
18228 (index_Prefer_PMINUB_for_stringop): Likewise.
18229 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18230 bit_Slow_SSE4_2 is set.
18231 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18232 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18234 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18236 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18237 rtld_global._dl_hwcap2.
18238 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18240 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18241 POWER8 feature descriptions defined in _dl_hwcap2.
18242 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18243 string handling for POWER8 feature bits.
18244 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18245 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18246 _dl_powerpc_cap_flags.
18247 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18248 * sysdeps/powerpc/rtld-global-offsets.sym
18249 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18250 _dl_hwcap2 in the rtld_global_ro structure.
18252 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18254 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18255 hardware capabilities in support of AT_HWCAP2.
18256 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18257 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18259 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18260 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18261 explicitly the unknown a_type display mechanism is used.
18262 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18263 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18265 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18266 to macro prototype for AT_HWCAP2 support.
18267 * sysdeps/i386/dl-procinfo.h: Likewise.
18268 * sysdeps/s390/dl-procinfo.h: Likewise.
18269 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18270 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18271 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18272 return -1 for unknown a_type display fallback.
18273 * sysdeps/sparc/dl-procinfo.h: Likewise.
18274 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18275 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18277 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18279 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18280 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18282 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18285 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18286 mprotect making __stack_prot writable.
18288 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18289 Joseph Myers <joseph@codesourcery.com>
18291 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18292 as being properly aligned.
18294 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18296 * dlfcn/modstatic5.c: New file.
18297 * dlfcn/tststatic5.c: New file.
18298 * dlfcn/Makefile (tests): Add tststatic5.
18299 (tests-static): Likewise.
18300 (modules-names): Add modstatic5.
18301 (tststatic5-ENV): New variable.
18302 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18305 * elf/dl-support.c (_dl_main_map): New variable.
18306 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18307 (_dl_nns, _dl_load_adds): Set to 1.
18308 (_dl_initial_searchlist): Refer to _dl_main_map.
18309 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18310 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18311 call to _dl_get_origin.
18312 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18314 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18315 * dlfcn/modstatic3.c: New file.
18316 * dlfcn/tststatic3.c: New file.
18317 * dlfcn/tststatic4.c: New file.
18318 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18319 (tests-static): Likewise.
18320 (modules-names): Add modstatic3.
18321 (tststatic3-ENV, tststatic4-ENV): New variables.
18322 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18323 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18325 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18327 * configure.in (CC): Require GCC version 4.4 or later.
18328 * configure: Regenerated.
18329 * manual/install.texi (Tools for Compilation): Update GCC version
18331 * INSTALL: Regenerated.
18333 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18336 * string/test-memcmp.c (check2): New.
18337 (main): Call check2.
18339 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18341 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18344 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18346 (dl_open_worker) [!SHARED]: ... here.
18348 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18350 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18352 2013-06-25 Richard Henderson <rth@redhat.com>
18354 * locale/programs/locarchive.c: Include <libc-internal.h>
18356 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18358 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18359 trailing whitespace removed.
18361 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18364 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18365 * locale/programs/locarchive.c: Include libc-mmap.h.
18366 (prepare_address_space): Take two new outputs (the mmap base and len).
18367 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18369 (create_archive): Declare new mmap base and len values for
18370 prepare_address_space, and store the result in ah.
18371 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18372 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18373 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18374 Declare new mmap base and len values for
18375 prepare_address_space, and store the result in new_ah.
18376 (open_archive): Declare new mmap base and len values for
18377 prepare_address_space, and store the result in ah.
18378 (close_archive): If ah->mmap_base is not NULL, use that and
18379 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18380 * sysdeps/generic/libc-mmap.h: New file.
18382 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18384 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18385 (ALIGN_UP): Likewise.
18386 (PTR_ALIGN_DOWN): Likewise.
18387 (PTR_ALIGN_UP): Likewise.
18389 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18391 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18392 entry mapped to PPC_PLATFORM_POWER8.
18393 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18395 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18396 (_dl_string_platform): Add case for exporting platform position for
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18399 search path to sysdeps/powerpc/powerpc32/power8 directory.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18401 search path to sysdeps/powerpc/powerpc64/power8 directory.
18402 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18403 power7 directories.
18404 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18405 power7 directories.
18407 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18409 * INSTALL: Regenerate.
18411 * nscd/connections.c (nscd_init): Fix comment.
18413 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18415 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18418 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18419 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18421 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18423 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18425 (DL_DST_REQ_STATIC): Remove macro.
18427 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18430 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18431 with a shift of 0 bits.
18433 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18435 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18438 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18441 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18443 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18445 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18446 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18447 accepts -fno-tree-loop-distribute-patterns.
18448 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18449 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18451 * string/memset.c (memset): Likewise.
18452 * string/test-memmove.c (simple_memmove): Disable loop transformation
18454 * string/test-memset.c (simple_memset): Likewise.
18455 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18456 * benchtests/bench-memset.c (simple_memset): Likewise.
18457 * configure: Regenerated.
18459 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18461 * math/test-misc.c (main): Ignore fesetround failure when failures
18462 of subsequent rounding tests would be ignored.
18465 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18466 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18467 * math/fegetenv.c (__fegetenv): Return 0.
18468 * math/fegetexcept.c (fegetexcept): Return 0.
18469 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18471 * math/feholdexcpt.c (feholdexcept): Return 0.
18472 * math/fesetenv.c (__fesetenv): Return 0.
18473 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18474 argument FE_TONEAREST.
18475 * math/feupdateenv.c (__feupdateenv): Return 0.
18476 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18478 2013-06-18 Roland McGrath <roland@hack.frob.com>
18480 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18481 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18482 ($(objpfx)rtld-%.os rules): Use them.
18484 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18486 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18489 2013-06-17 Roland McGrath <roland@hack.frob.com>
18491 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18492 length of target pattern, then descending length of dependency pattern.
18493 * configure.in (AWK): Require gawk 3.1.2 or newer.
18494 * manual/install.texi (Tools for Compilation): Say that we do.
18495 * configure: Regenerated.
18497 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18498 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18499 * scripts/sysd-rules.awk: ... this new script.
18500 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18501 than a glob-style pattern.
18503 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18505 * math/test-misc.c (main): Do not treat incorrectly rounded
18506 conversions as failure unless ROUNDING_TESTS passes.
18508 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18511 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18512 restore exception state around main square root computation, then
18513 check for inexactness explicitly.
18515 * math/libm-test.inc (fma_test_data): Add another test.
18517 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18519 * manual/threads.texi (Non-POSIX Extensions): New document
18520 node. Document pthread_getattr_default_np and
18521 pthread_setattr_default_np.
18523 * Versions.def (libpthread): Add GLIBC_2.18.
18524 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18533 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18544 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18547 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18549 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18550 H.J. Lu <hjl.tools@gmail.com>
18553 * sysdeps/x86_64/rtld-memset.c: Remove file.
18554 * sysdeps/x86_64/rtld-memset.S: New file.
18556 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18558 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18559 (test_in_one_mode): Take arguments for whether the rounding mode
18560 is supported for each floating-point type.
18561 (do_test): Pass new arguments to test_in_one_mode using
18564 2013-06-13 Roland McGrath <roland@hack.frob.com>
18566 * posix/tst-waitid.c (do_test): Distinguish different instances of
18567 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18568 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18569 before entering the kernel for waitpid.
18571 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18573 * NEWS: Fix note on clock function precision. Text by Roland
18576 2013-06-13 Roland McGrath <roland@hack.frob.com>
18578 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18579 it into place only when and if the sanity check passes.
18581 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18583 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18584 output for whether conversion result is exact. Take argument
18585 indicating whether type is IBM long double.
18586 (round_for_all): Change need_exact field to ibm_ld.
18587 * stdlib/tst-strtod-round.c (struct exactness): New type.
18588 (struct test): Change bool ld_ok field to struct exactness exact.
18589 (TEST): Update all definitions for change to field.
18590 (tests): Regenerate array contents.
18591 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18592 field value. Check for IBM long double here.
18593 (do_test): Update calls to test_in_one_mode.
18595 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18598 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18599 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18601 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18604 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18605 generated by the compiler on loop optimizations.
18606 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18607 general definitions.
18609 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18611 * math/bug-nextafter.c: Include <math-tests.h>.
18612 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18614 * math/bug-nexttoward.c: Include <math-tests.h>.
18615 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18617 * math/test-misc.c: Include <math-tests.h>.
18618 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18621 2013-06-12 Andreas Jaeger <aj@suse.de>
18623 * po/ia.po: Update Interlingua translation from translation
18626 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18628 * include/fenv.h: Include stdbool.h.
18629 (struct rm_ctx): New structure.
18630 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18632 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18633 (SET_RESTORE_ROUNDF): Likewise.
18634 (SET_RESTORE_ROUNDL): Likewise.
18635 (SET_RESTORE_ROUND_NOEX): Likewise.
18636 (SET_RESTORE_ROUND_NOEXF): Likewise.
18637 (SET_RESTORE_ROUND_NOEXL): Likewise.
18638 (SET_RESTORE_ROUND_53BIT): Likewise.
18639 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18640 (libc_feresetround_noexf_ctx): Likewise.
18641 (libc_feresetround_noexl_ctx): Likewise.
18642 (libc_feholdsetround_53bit_ctx): Likewise.
18643 (libc_feresetround_53bit_ctx): Likewise.
18644 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18645 (libc_feholdexcept_setround_sse_ctx): New function.
18646 (libc_fesetenv_sse_ctx): Likewise.
18647 (libc_feupdateenv_sse_ctx): Likewise.
18648 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18649 (libc_feholdexcept_setround_387_ctx): Likewise.
18650 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18651 (libc_feholdsetround_387_prec_ctx): Likewise.
18652 (libc_feholdsetround_387_ctx): Likewise.
18653 (libc_feholdsetround_387_53bit_ctx): Likewise.
18654 (libc_feholdsetround_sse_ctx): Likewise.
18655 (libc_feresetround_sse_ctx): Likewise.
18656 (libc_feresetround_387_ctx): Likewise.
18657 (libc_feupdateenv_387_ctx): Likewise.
18658 (libc_feholdexcept_setroundf_ctx): Define macro.
18659 (libc_fesetenvf_ctx): Likewise.
18660 (libc_feupdateenvf_ctx): Likewise.
18661 (libc_feholdsetroundf_ctx): Likewise.
18662 (libc_feresetroundf_ctx): Likewise.
18663 (libc_feholdexcept_setround_ctx): Likewise.
18664 (libc_fesetenv_ctx): Likewise.
18665 (libc_feupdateenv_ctx): Likewise.
18666 (libc_feholdsetround_ctx): Likewise.
18667 (libc_feresetround_ctx): Likewise.
18668 (libc_feholdexcept_setroundl_ctx): Likewise.
18669 (libc_feupdateenvl_ctx): Likewise.
18670 (libc_feholdsetroundl_ctx): Likewise.
18671 (libc_feresetroundl_ctx): Likewise.
18672 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18673 (libc_feresetround_53bit_ctx): Likewise.
18675 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18677 * locale/iso-639.def: Convert to UTF-8.
18679 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18681 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18682 (EXCEPTION_TESTS_double): Likewise.
18683 (EXCEPTION_TESTS_long_double): Likewise.
18684 (EXCEPTION_TESTS): Likewise.
18685 * math/libm-test.inc (test_exceptions): Only test exceptions if
18686 EXCEPTION_TESTS (FLOAT).
18688 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18690 * benchtests/Makefile (string-bench): Add strcpy_chk and
18692 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18693 * benchtests/bench-stpcpy_chk.c: New file.
18694 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18695 * benchtests/bench-strcpy_chk.c: New file.
18696 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18698 (do_test): Likewise.
18700 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18702 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18703 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18704 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18705 with tabs where appropriate.
18706 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18708 [PPC_PLATFORM_PPC440]: Likewise.
18709 [PPC_PLATFORM_PPC464]: Likewise.
18710 [PPC_PLATFORM_PPC476]: Likewise.
18711 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18712 ppc464, and ppc476 platform strings merging from ports/
18715 2013-06-11 Andreas Schwab <schwab@suse.de>
18718 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18719 (from_ucs4_idx): Regenerate.
18720 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18721 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18722 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18723 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18724 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18725 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18726 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18727 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18728 from FROM_LOOP and TO_LOOP specific macros.
18729 (BODY): Handle combining characters.
18730 * iconvdata/BIG5HKSCS.irreversible: Update.
18731 * iconvdata/BIG5HKSCS.precomposed: New file.
18732 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18734 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18736 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18738 * include/sys/time.h: Fix indentation and add copyright header.
18740 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18741 (do_test): Likewise.
18742 * string/test-memchr.c (do_one_test): Likewise.
18743 (do_test): Likewise.
18744 * string/test-memcmp.c (do_one_test): Likewise.
18745 (do_test): Likewise.
18746 * string/test-memcpy.c (do_one_test): Likewise.
18747 (do_test): Likewise.
18748 * string/test-memmem.c (do_one_test): Likewise.
18749 (do_test): Likewise.
18750 (do_random_tests): Likewise.
18751 * string/test-memmove.c (do_one_test): Likewise.
18752 (do_test): Likewise.
18753 * string/test-memset.c (do_one_test): Likewise.
18754 (do_test): Likewise.
18755 * string/test-rawmemchr.c (do_one_test): Likewise.
18756 (do_test): Likewise.
18757 * string/test-strcasecmp.c (do_one_test): Likewise.
18758 (do_test): Likewise.
18759 * string/test-strcasestr.c (do_one_test): Likewise.
18760 (do_test): Likewise.
18761 * string/test-strcat.c (do_one_test): Likewise.
18762 (do_test): Likewise.
18763 * string/test-strchr.c (do_one_test): Likewise.
18764 (do_test): Likewise.
18765 * string/test-strcmp.c (do_one_test): Likewise.
18766 (do_test): Likewise.
18767 * string/test-strcpy.c (do_one_test): Likewise.
18768 (do_test): Likewise.
18769 * string/test-string.h: Likewise.
18770 (test_init): Likewise.
18771 * string/test-strlen.c (do_one_test): Likewise.
18772 (do_test): Likewise.
18773 * string/test-strncasecmp.c (do_one_test): Likewise.
18774 (do_test): Likewise.
18775 * string/test-strncat.c (do_one_test): Likewise.
18776 (do_test): Likewise.
18777 * string/test-strncmp.c (do_one_test): Likewise.
18778 (do_test_limit): Likewise.
18779 (do_test): Likewise.
18780 * string/test-strncpy.c (do_one_test): Likewise.
18781 (do_test): Likewise.
18782 * string/test-strnlen.c (do_one_test): Likewise.
18783 (do_test): Likewise.
18784 * string/test-strpbrk.c (do_one_test): Likewise.
18785 (do_test): Likewise.
18786 * string/test-strrchr.c (do_one_test): Likewise.
18787 (do_test): Likewise.
18788 * string/test-strspn.c (do_one_test): Likewise.
18789 (do_test): Likewise.
18790 * string/test-strstr.c (do_one_test): Likewise.
18791 (do_test): Likewise.
18793 * benchtests/Makefile (string-bench): Add string benchmarks.
18794 * benchtests/bench-bcopy-ifunc.c: New file.
18795 * benchtests/bench-bcopy.c: New file.
18796 * benchtests/bench-bzero-ifunc.c: New file.
18797 * benchtests/bench-bzero.c: New file.
18798 * benchtests/bench-memccpy-ifunc.c: New file.
18799 * benchtests/bench-memccpy.c: New file.
18800 * benchtests/bench-memchr-ifunc.c: New file.
18801 * benchtests/bench-memchr.c: New file.
18802 * benchtests/bench-memcmp-ifunc.c: New file.
18803 * benchtests/bench-memcmp.c: New file.
18804 * benchtests/bench-memmem-ifunc.c: New file.
18805 * benchtests/bench-memmem.c: New file.
18806 * benchtests/bench-memmove-ifunc.c: New file.
18807 * benchtests/bench-memmove.c: New file.
18808 * benchtests/bench-mempcpy-ifunc.c: New file.
18809 * benchtests/bench-mempcpy.c: New file.
18810 * benchtests/bench-memset-ifunc.c: New file.
18811 * benchtests/bench-memset.c: New file.
18812 * benchtests/bench-rawmemchr-ifunc.c: New file.
18813 * benchtests/bench-rawmemchr.c: New file.
18814 * benchtests/bench-stpcpy-ifunc.c: New file.
18815 * benchtests/bench-stpcpy.c: New file.
18816 * benchtests/bench-stpncpy-ifunc.c: New file.
18817 * benchtests/bench-stpncpy.c: New file.
18818 * benchtests/bench-strcasecmp-ifunc.c: New file.
18819 * benchtests/bench-strcasecmp.c: New file.
18820 * benchtests/bench-strcasestr-ifunc.c: New file.
18821 * benchtests/bench-strcasestr.c: New file.
18822 * benchtests/bench-strcat-ifunc.c: New file.
18823 * benchtests/bench-strcat.c: New file.
18824 * benchtests/bench-strchr-ifunc.c: New file.
18825 * benchtests/bench-strchr.c: New file.
18826 * benchtests/bench-strchrnul-ifunc.c: New file.
18827 * benchtests/bench-strchrnul.c: New file.
18828 * benchtests/bench-strcmp-ifunc.c: New file.
18829 * benchtests/bench-strcmp.c: New file.
18830 * benchtests/bench-strcpy-ifunc.c: New file.
18831 * benchtests/bench-strcpy.c: New file.
18832 * benchtests/bench-strcspn-ifunc.c: New file.
18833 * benchtests/bench-strcspn.c: New file.
18834 * benchtests/bench-strlen-ifunc.c: New file.
18835 * benchtests/bench-strlen.c: New file.
18836 * benchtests/bench-strncasecmp-ifunc.c: New file.
18837 * benchtests/bench-strncasecmp.c: New file.
18838 * benchtests/bench-strncat-ifunc.c: New file.
18839 * benchtests/bench-strncat.c: New file.
18840 * benchtests/bench-strncmp-ifunc.c: New file.
18841 * benchtests/bench-strncmp.c: New file.
18842 * benchtests/bench-strncpy-ifunc.c: New file.
18843 * benchtests/bench-strncpy.c: New file.
18844 * benchtests/bench-strnlen-ifunc.c: New file.
18845 * benchtests/bench-strnlen.c: New file.
18846 * benchtests/bench-strpbrk-ifunc.c: New file.
18847 * benchtests/bench-strpbrk.c: New file.
18848 * benchtests/bench-strrchr-ifunc.c: New file.
18849 * benchtests/bench-strrchr.c: New file.
18850 * benchtests/bench-strspn-ifunc.c: New file.
18851 * benchtests/bench-strspn.c: New file.
18852 * benchtests/bench-strstr-ifunc.c: New file.
18853 * benchtests/bench-strstr.c: New file.
18855 * benchtests/Makefile: Disable parallel execution of targets.
18856 (string-bench): Add memcpy.
18857 (benchset): New variable to store a list of benchmark sets.
18858 (bench-func): Renamed from bench.
18859 (bench-set): New target.
18860 (bench): Depend on bench-func and bench-set.
18861 * benchtests/README: Add section on benchmark sets.
18862 * benchtests/bench-memcpy-ifunc.c: New file.
18863 * benchtests/bench-memcpy.c: New file.
18864 * benchtests/bench-string.h: New file.
18866 2013-06-11 Andreas Schwab <schwab@suse.de>
18869 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18870 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18871 values in the triple.
18872 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18873 terminator in the group key.
18875 2013-06-11 Andreas Jaeger <aj@suse.de>
18877 * po/zh_TW.po: Update Chinese (traditional) translation from
18878 translation project.
18880 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18882 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18883 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18884 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18886 (clock_getcpuclockid): Likewise.
18887 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18888 Add weak_alias and libc_hidden_def.
18889 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18890 * rt/clock_gettime.c (clock_gettime): Rename to
18891 __clock_gettime. Add weak_alias and libc_hidden_def.
18892 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18893 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18894 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18895 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18896 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18898 * rt/clock_settime.c (clock_settime): Rename to
18899 __clock_settime. Add weak_alias and libc_hidden_def.
18900 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18902 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18904 * mach/err_boot.sub: Remove trailing whitespace.
18905 * mach/err_ipc.sub: Likewise.
18906 * mach/err_mach.sub: Likewise.
18908 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18909 (ROUNDING_TESTS_double): Likewise.
18910 (ROUNDING_TESTS_long_double): Likewise.
18911 (ROUNDING_TESTS): Likewise.
18912 * math/libm-test.inc: Include <math-tests.h>.
18913 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18914 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18915 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18916 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18918 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18920 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18923 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18925 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18926 otherwise empty TRANS lines.
18927 * sysdeps/gnu/errlist.c: Regenerated.
18929 * catgets/gencat.c (error_print): Use (void) in function
18931 * crypt/crypt_util.c (__init_des): Likewise.
18932 * crypt/speeds.c (Stop): Likewise.
18934 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18935 * inet/ruserpass.c (token): Likewise.
18936 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18937 * intl/localealias.c (extend_alias_table): Likewise.
18938 * intl/plural-exp.c (init_germanic_plural): Likewise.
18939 * libio/fcloseall.c (__fcloseall): Likewise.
18940 * libio/genops.c (_IO_flush_all): Likewise.
18941 (_IO_flush_all_linebuffered): Likewise.
18942 (_IO_cleanup): Likewise.
18943 (_IO_iter_begin): Likewise.
18944 (_IO_iter_end): Likewise.
18945 (_IO_list_lock): Likewise.
18946 (_IO_list_unlock): Likewise.
18947 (_IO_list_resetlock): Likewise.
18948 * libio/getchar.c (getchar): Likewise.
18949 * libio/getchar_u.c (getchar_unlocked): Likewise.
18950 * libio/getwchar.c (getwchar): Likewise.
18951 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18952 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18953 * login/getpt.c (__getpt): Likewise.
18954 * login/tst-utmp.c (main): Likewise.
18955 * malloc/hooks.c (__malloc_check_init): Likewise.
18956 * malloc/malloc.c (__malloc_stats): Likewise.
18957 * malloc/mtrace.c (tr_break): Likewise.
18958 (mtrace): Likewise.
18959 (muntrace): Likewise.
18960 * misc/fstab.c (endfsent): Likewise.
18961 * misc/getclktck.c (__getclktck): Likewise.
18962 * misc/getdtsz.c (__getdtablesize): Likewise.
18963 * misc/gethostid.c (gethostid): Likewise.
18964 * misc/getpagesize.c (__getpagesize): Likewise.
18965 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18966 (__get_nprocs): Likewise.
18967 (__get_phys_pages): Likewise.
18968 (__get_avphys_pages): Likewise.
18969 * misc/getttyent.c (getttyent): Likewise.
18970 (setttyent): Likewise.
18971 (endttyent): Likewise.
18972 * misc/getusershell.c (getusershell): Likewise.
18973 (endusershell): Likewise.
18974 (setusershell): Likewise.
18975 (initshells): Likewise.
18976 * misc/hsearch.c (__hdestroy): Likewise.
18977 * misc/sync.c (sync): Likewise.
18978 * misc/syslog.c (closelog_internal): Likewise.
18979 (closelog): Likewise.
18980 * misc/ttyslot.c (ttyslot): Likewise.
18981 * misc/vhangup.c (vhangup): Likewise.
18982 * posix/fork.c (__fork): Likewise.
18983 * posix/getegid.c (__getegid): Likewise.
18984 * posix/geteuid.c (__geteuid): Likewise.
18985 * posix/getgid.c (__getgid): Likewise.
18986 * posix/getpid.c (__getpid): Likewise.
18987 * posix/getppid.c (__getppid): Likewise.
18988 * posix/getuid.c (__getuid): Likewise.
18989 * posix/pause.c (pause): Likewise.
18990 * posix/setpgrp.c (setpgrp): Likewise.
18991 * posix/setsid.c (__setsid): Likewise.
18992 * posix/test-vfork.c (noop): Likewise.
18993 * resolv/gethnamaddr.c (_endhtent): Likewise.
18994 (_gethtent): Likewise.
18995 (ht_endhostent): Likewise.
18996 (gethostent): Likewise.
18997 (dns_service): Likewise.
18998 * stdlib/drand48.c (drand48): Likewise.
18999 * stdlib/lrand48.c (lrand48): Likewise.
19000 * stdlib/mrand48.c (mrand48): Likewise.
19001 * stdlib/rand.c (rand): Likewise.
19002 * stdlib/random.c (__random): Likewise.
19003 * stdlib/setenv.c (clearenv): Likewise.
19004 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19005 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19006 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19007 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19008 (__get_nprocs): Likewise.
19009 (__get_phys_pages): Likewise.
19010 (__get_avphys_pages): Likewise.
19011 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19012 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19013 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19014 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19015 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19016 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19017 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19018 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19019 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19020 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19021 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19022 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19023 * sysdeps/posix/clock.c (clock): Likewise.
19024 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19025 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19026 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19027 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19028 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19030 (__get_nprocs_conf): Likewise.
19031 (__get_phys_pages): Likewise.
19032 (__get_avphys_pages): Likewise.
19033 * time/clock.c (clock): Likewise.
19034 * time/tzset.c (__tzname_max): Likewise.
19036 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19038 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19039 (__bswap_32): Do not use "register".
19040 * crypt/crypt.c (_ufc_doit_r): Likewise.
19041 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19042 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19043 * gmon/gmon.c (__monstartup): Likewise.
19044 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19045 * hurd/hurdmalloc.c (more_memory): Likewise.
19046 (malloc): Likewise.
19048 (realloc): Likewise.
19049 (malloc_fork_prepare): Likewise.
19050 (malloc_fork_parent): Likewise.
19051 (malloc_fork_child): Likewise.
19052 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19053 (_svcauth_des): Likewise.
19054 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19055 * inet/inet_net.c (inet_network): Likewise.
19056 * inet/inet_netof.c (inet_netof): Likewise.
19057 * inet/rcmd.c (__validuser2_sa): Likewise.
19058 * io/fts.c (fts_open): Likewise.
19059 (fts_load): Likewise.
19060 (fts_close): Likewise.
19061 (fts_read): Likewise.
19062 (fts_children): Likewise.
19063 (fts_build): Likewise.
19064 (fts_stat): Likewise.
19065 (fts_sort): Likewise.
19066 (fts_alloc): Likewise.
19067 (fts_lfree): Likewise.
19068 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19069 (_IO_file_xsgetn): Likewise.
19070 (_IO_file_xsgetn_mmap): Likewise.
19071 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19072 (_IO_cookie_write): Likewise.
19073 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19074 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19075 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19076 * malloc/obstack.c (_obstack_begin): Likewise.
19077 (_obstack_begin_1): Likewise.
19078 (_obstack_newchunk): Likewise.
19079 (_obstack_allocated_p): Likewise.
19080 (obstack_free): Likewise.
19081 (_obstack_memory_used): Likewise.
19082 * misc/getttyent.c (getttynam): Likewise.
19083 (getttyent): Likewise.
19086 * misc/getusershell.c (initshells): Likewise.
19087 * misc/syslog.c (__vsyslog_chk): Likewise.
19088 * misc/ttyslot.c (ttyslot): Likewise.
19089 * nis/nis_hash.c (__nis_hash): Likewise.
19090 * posix/fnmatch_loop.c (FCT): Likewise.
19091 * posix/getconf.c (print_all): Likewise.
19093 * posix/getopt.c (exchange): Likewise.
19094 * posix/glob.c (globfree): Likewise.
19095 (prefix_array): Likewise.
19096 (__glob_pattern_type): Likewise.
19097 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19098 (NS_GET32): Likewise.
19099 (NS_PUT16): Likewise.
19100 (NS_PUT32): Likewise.
19101 * resolv/gethnamaddr.c (getanswer): Likewise.
19102 (gethostbyname2): Likewise.
19103 (gethostbyaddr): Likewise.
19104 (_gethtent): Likewise.
19105 (_gethtbyname2): Likewise.
19106 (_gethtbyaddr): Likewise.
19107 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19108 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19109 * resolv/res_init.c (__res_vinit): Likewise.
19110 (net_mask): Likewise.
19111 * resolv/res_mkquery.c (outchar): Likewise.
19113 * stdio-common/printf_fp.c (outchar): Likewise.
19115 * stdio-common/printf_fphex.c (outchar): Likewise.
19117 * stdio-common/printf_size.c (outchar): Likewise.
19119 * stdio-common/test_rdwr.c (main): Likewise.
19120 * stdio-common/tfformat.c (matches): Likewise.
19121 * stdio-common/vfprintf.c (outchar): Likewise.
19122 (printf_unknown): Likewise.
19123 (buffered_vfprintf): Likewise.
19124 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19125 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19126 (ReadFile): Likewise.
19127 * stdlib/qsort.c (SWAP): Likewise.
19128 (_quicksort): Likewise.
19129 * stdlib/setenv.c (__add_to_environ): Likewise.
19130 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19131 * stdlib/strtol_l.c (__strtol_l): Likewise.
19132 * stdlib/tst-strtod.c (main): Likewise.
19133 * stdlib/tst-strtol.c (main): Likewise.
19134 * stdlib/tst-strtoll.c (main): Likewise.
19135 * string/bits/string2.h (__strcmp_cc): Likewise.
19136 (__strcmp_cg): Likewise.
19137 (__strcspn_c1): Likewise.
19138 (__strcspn_c2): Likewise.
19139 (__strcspn_c3): Likewise.
19140 (__strspn_c1): Likewise.
19141 (__strspn_c2): Likewise.
19142 (__strspn_c3): Likewise.
19143 (__strsep_1c): Likewise.
19144 (__strsep_2c): Likewise.
19145 (__strsep_3c): Likewise.
19146 * string/memccpy.c (__memccpy): Likewise.
19147 * string/stpcpy.c (__stpcpy): Likewise.
19148 * string/strcmp.c (strcmp): Likewise.
19149 * string/strrchr.c (strrchr): Likewise.
19150 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19152 * sysdeps/mach/hurd/getcwd.c
19153 (_hurd_canonicalize_directory_name_internal): Likewise.
19154 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19155 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19156 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19157 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19158 Likewise, in both definitions.
19159 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19161 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19162 64] (__bswap_64): Likewise.
19163 * time/test_time.c (main): Likewise.
19164 * time/tzfile.c (__tzfile_read): Likewise.
19165 (__tzfile_compute): Likewise.
19166 * time/tzset.c (__tzset_parse_tz): Likewise.
19167 (tzset_internal): Likewise.
19168 (compute_change): Likewise.
19169 * wcsmbs/wcscat.c (__wcscat): Likewise.
19170 * wcsmbs/wcschr.c (wcschr): Likewise.
19171 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19172 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19173 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19174 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19175 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19176 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19177 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19178 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19179 * wcsmbs/wmemset.c (wmemset): Likewise.
19181 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19183 * scripts/config.guess: Update to version 2013-05-16.
19184 * scripts/config.sub: Update to version 2013-04-24.
19185 * scripts/install-sh: Update to version 2011-11-20.07.
19186 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19187 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19189 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19191 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19192 * elf/sln.c: Likewise.
19193 * hurd/hurd/ioctl.h: Likewise.
19194 * hurd/hurdmalloc.c: Likewise.
19195 * hurd/xattr.c: Likewise.
19196 * include/shlib-compat.h: Likewise.
19197 * inet/ruserpass.c: Likewise.
19198 * libio/iofgets_u.c: Likewise.
19199 * libio/iofgetws_u.c: Likewise.
19200 * locale/programs/ld-identification.c: Likewise.
19201 * locale/programs/ld-time.c: Likewise.
19202 * mach/msg-destroy.c: Likewise.
19203 * nss/nss_files/files-netgrp.c: Likewise.
19204 * resolv/res_data.c: Likewise.
19205 * soft-fp/op-1.h: Likewise.
19206 * soft-fp/op-2.h: Likewise.
19207 * soft-fp/op-4.h: Likewise.
19208 * soft-fp/op-common.h: Likewise.
19209 * stdio-common/printf_fphex.c: Likewise.
19210 * stdlib/strtod_l.c: Likewise.
19211 * sunrpc/rpc/clnt.h: Likewise.
19212 * sysdeps/generic/framestate.c: Likewise.
19213 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19214 * sysdeps/i386/bsd-setjmp.S: Likewise.
19215 * sysdeps/i386/__longjmp.S: Likewise.
19216 * sysdeps/i386/setjmp.S: Likewise.
19217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19219 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19231 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19233 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19234 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19235 * sysdeps/ieee754/support.c: Likewise.
19236 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19237 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19238 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19239 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19240 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19241 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19242 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19243 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19244 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19245 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19246 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19247 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19248 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19249 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19250 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19251 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19252 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19255 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19257 * posix/transbug.c: Remove executable mode.
19259 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19261 * crypt/speeds.c: Remove trailing whitespace.
19262 * dlfcn/default.c: Likewise.
19263 * elf/ifuncdep2.c: Likewise.
19264 * elf/ifuncmain1.c: Likewise.
19265 * elf/ifuncmain1vis.c: Likewise.
19266 * elf/testobj.h: Likewise.
19267 * elf/tst-stackguard1.c: Likewise.
19268 * gmon/sys/gmon.h: Likewise.
19269 * hurd/hurdmsg.c: Likewise.
19270 * hurd/new-fd.c: Likewise.
19271 * hurd/ports-get.c: Likewise.
19272 * iconvdata/ibm1008_420.c: Likewise.
19273 * inet/tst-getni1.c: Likewise.
19274 * inet/tst-getni2.c: Likewise.
19275 * libio/ioungetc.c: Likewise.
19276 * libio/wfiledoalloc.c: Likewise.
19277 * manual/libm-err-tab.pl: Likewise.
19278 * math/w_dremf.c: Likewise.
19279 * misc/ftruncate.c: Likewise.
19280 * posix/bug-glob2.c: Likewise.
19281 * posix/tst-pcre.c: Likewise.
19282 * posix/wait4.c: Likewise.
19283 * resolv/README: Likewise.
19284 * resolv/res_debug.h: Likewise.
19285 * resolv/tst-inet_ntop.c: Likewise.
19286 * setjmp/bug269-setjmp.c: Likewise.
19287 * soft-fp/extended.h: Likewise.
19288 * soft-fp/op-1.h: Likewise.
19289 * soft-fp/op-2.h: Likewise.
19290 * soft-fp/op-4.h: Likewise.
19291 * soft-fp/op-8.h: Likewise.
19292 * soft-fp/testit.c: Likewise.
19293 * stdio-common/bug16.c: Likewise.
19294 * stdlib/random.c: Likewise.
19295 * sunrpc/rpcsvc/rquota.x: Likewise.
19296 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19297 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19298 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19299 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19300 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19301 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19302 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19304 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19306 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19307 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19308 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19309 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19320 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19325 * sysdeps/ieee754/s_lib_version.c: Likewise.
19326 * sysdeps/mach/hurd/check_fds.c: Likewise.
19327 * sysdeps/mach/hurd/getsockname.c: Likewise.
19328 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19329 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19330 * sysdeps/powerpc/bits/link.h: Likewise.
19331 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19332 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19333 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19334 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19335 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19336 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19337 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19338 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19339 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19340 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19341 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19342 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19343 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19344 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19345 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19346 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19349 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19351 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19352 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19353 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19354 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19355 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19356 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19357 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19359 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19361 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19362 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19365 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19366 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19367 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19368 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19369 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19370 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19371 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19372 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19373 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19374 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19375 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19376 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19377 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19378 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19379 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19380 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19383 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19384 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19385 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19386 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19387 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19388 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19389 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19390 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19392 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19393 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19394 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19395 * sysdeps/powerpc/sysdep.h: Likewise.
19396 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19397 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19398 * sysdeps/sh/dl-trampoline.S: Likewise.
19399 * sysdeps/sh/memset.S: Likewise.
19400 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19401 * sysdeps/sh/strlen.S: Likewise.
19402 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19403 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19404 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19405 * sysdeps/sparc/sparc32/rem.S: Likewise.
19406 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19407 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19408 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19409 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19410 * sysdeps/sparc/sparc32/urem.S: Likewise.
19411 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19412 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19413 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19414 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19415 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19416 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19417 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19418 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19419 * sysdeps/unix/bsd/times.c: Likewise.
19420 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19421 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19425 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19426 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19427 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19428 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19429 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19430 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19431 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19432 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19433 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19434 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19435 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19436 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19437 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19438 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19439 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19440 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19441 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19442 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19443 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19444 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19445 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19446 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19447 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19448 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19449 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19450 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19451 * sysdeps/x86_64/strcspn.S: Likewise.
19453 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19455 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19456 generated file. Regenerate properly from gen-translit.pl.
19457 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19458 locale/C-translit.h.
19460 2013-06-05 Andreas Schwab <schwab@suse.de>
19463 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19464 week as 6 instead of -1.
19465 * time/tst-strptime.c (day_tests): Add test case.
19467 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19469 * sysdeps/generic/math_private.h
19470 (libc_feholdexcept_setround_53bit): Replace with
19471 libc_feholdsetround_53bit.
19472 (libc_feupdateenv_53bit): Replace with
19473 libc_feresetround_53bit.
19474 (SET_RESTORE_ROUND_53BIT): Adjust.
19476 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19478 * string/test-strchrnul.c: Add copyright header.
19480 * posix/tst-getaddrinfo4.c: Increase test timeout.
19482 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19485 * math/libm-test.inc (MAX_EXP): Remove
19487 (ulp): Use MIN_EXP - MANT_DIG.
19488 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19490 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19492 * po/be.po: Revert last change.
19493 * po/zh_CN.po: Likewise.
19494 * po/header.pot: Likewise.
19496 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19498 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19499 link-libc-deps to empty as target-specific variable.
19500 * Makerules (link-libc-args): New variable.
19501 (libc-for-link): Likewise.
19502 (link-libc-deps): Likewise.
19503 (lib%.so): Depend on $(link-libc-deps). Link with
19505 (build-module): Link with $(link-libc-args).
19506 (build-module-asneeded): Likewise.
19507 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19509 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19510 target-specific variable.
19511 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19512 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19513 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19515 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19517 ($(objpfx)libpcprofile.so): Likewise.
19518 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19520 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19521 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19522 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19524 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19525 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19526 * login/Makefile ($(objpfx)libutil.so): Likewise.
19527 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19528 * math/Makefile ($(objpfx)libm.so): Likewise.
19529 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19530 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19531 variable instead of depending directly on libc.
19532 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19533 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19535 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19537 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19538 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19539 ($(objpfx)libanl.so): Likewise.
19540 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19542 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19544 * sysdeps/i386/fpu/Makefile: Remove file.
19545 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19546 ($(objpfx)libm.so): Remove dependency on ld.so.
19548 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19551 * nis/yp_xdr.c (XDRMAXNAME): Define.
19552 (XDRMAXRECORD): Define.
19553 (xdr_domainname): Use XDRMAXNAME.
19554 (xdr_mapname): Likewise.
19555 (xdr_peername): Likewise.
19556 (xdr_keydat): Use XDRMAXRECORD.
19557 (xdr_valdat): Likewise.
19559 2013-05-30 Jeff Law <law@redhat.com>
19562 * manual/errno.texi (ESTALE): Update to account for more than
19563 just NFS file systems.
19564 * sysdeps/gnu/errlist.c: Regenerated.
19566 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19569 * elf/Makefile (tests): Add tst-null-argv.
19570 (modules-names): Add tst-null-argv-lib.
19571 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19572 (tst-null-argv-ENV): Set environment for tst-null-argv.
19573 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19574 (RTLD_PROGNAME): New macro.
19575 * elf/tst-null-argv.c: New test case.
19576 * elf/tst-null-argv-lib.c: Library for test case.
19577 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19578 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19579 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19580 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19581 * elf/dl-init.c (call_init): Likewise.
19582 (_dl_init): Likewise.
19583 * elf/dl-load.c (print_search_path): Likewise.
19584 (_dl_map_object): Likewise.
19585 * elf/dl-lookup.c (do_lookup_x): Likewise.
19586 (add_dependency): Likewise.
19587 (_dl_lookup_symbol_x): Likewise.
19588 (_dl_debug_bindings): Likewise.
19589 * elf/dl-open.c (_dl_show_scope): Likewise.
19590 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19591 * elf/dl-version.c (match_symbol): Likewise.
19592 (_dl_check_map_versions): Likewise.
19593 * elf/rtld.c (dl_main): Likewise.
19594 (print_unresolved): Use RTLD_PROGNAME.
19595 (print_missing_version): Likewise.
19596 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19597 (elf_machine_rela): Likewise.
19598 * sysdeps/powerpc/powerpc32/dl-machine.c
19599 (__process_machine_rela): Likewise.
19600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19604 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19606 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19613 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19615 * po/be.po: Add descriptive title.
19616 * po/zh_CN.po: Likewise.
19617 * po/header.pot: Likewise.
19619 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19621 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19623 (enlarge_archive): Likewise.
19625 2013-05-28 Ben North <ben@redfrontdoor.org>
19627 * manual/arith.texi (frexp): It is the magnitude of the return
19628 value which lies in [0.5, 1), not the return value itself.
19630 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19634 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19636 * stdio-common/bug26.c (main): Correct fscanf template.
19638 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19639 declare _dl_skip_args.
19641 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19644 * manual/platform.texi: Add missing @end deftypefun.
19646 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19649 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19650 bit of mantissa of 2^16382.
19651 * math/libm-test.inc (hypot_test_data): Add more tests.
19653 * math/libm-test.inc: Add drem and pow10 to list of tested
19655 (pow10_test): New function.
19656 (drem_test): Likewise.
19657 (drem_test_tonearest): Likewise.
19658 (drem_test_towardzero): Likewise.
19659 (drem_test_downward): Likewise.
19660 (drem_test_upward): Likewise.
19661 (main): Call the new functions.
19663 * math/libm-test.inc (finite_test_data): Remove.
19664 (finite_test): Run tests from isfinite_test_data.
19665 (gamma_test_data): Remove.
19666 (gamma_test): Run tests from lgamma_test_data.
19667 * sysdeps/i386/fpu/libm-test-ulps: Update.
19668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19670 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19672 * manual/platform.texi: Add PowerPC PPR function set documentation.
19673 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19676 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19678 * math/libm-test.inc (MAX_EXP): Define.
19680 (ulp): New function.
19681 (check_float_internal): Use ULPDIFF.
19682 (cpow_test): Disable failing test.
19683 (check_ulp): Test ulp() implemetnation.
19684 (main): Call check_ulp before starting tests.
19686 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19688 * math/gen-libm-test.pl (generate_testfile): Do not handle
19689 START_DATA and END_DATA.
19690 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19692 (acos_tonearest_test_data): Likewise.
19693 (acos_towardzero_test_data): Likewise.
19694 (acos_downward_test_data): Likewise.
19695 (acos_upward_test_data): Likewise.
19696 (acosh_test_data): Likewise.
19697 (asin_test_data): Likewise.
19698 (asin_tonearest_test_data): Likewise.
19699 (asin_towardzero_test_data): Likewise.
19700 (asin_downward_test_data): Likewise.
19701 (asin_upward_test_data): Likewise.
19702 (asinh_test_data): Likewise.
19703 (atan_test_data): Likewise.
19704 (atanh_test_data): Likewise.
19705 (atan2_test_data): Likewise.
19706 (cabs_test_data): Likewise.
19707 (cacos_test_data): Likewise.
19708 (cacosh_test_data): Likewise.
19709 (carg_test_data): Likewise.
19710 (casin_test_data): Likewise.
19711 (casinh_test_data): Likewise.
19712 (catan_test_data): Likewise.
19713 (catanh_test_data): Likewise.
19714 (cbrt_test_data): Likewise.
19715 (ccos_test_data): Likewise.
19716 (ccosh_test_data): Likewise.
19717 (ceil_test_data): Likewise.
19718 (cexp_test_data): Likewise.
19719 (cimag_test_data): Likewise.
19720 (clog_test_data): Likewise.
19721 (clog10_test_data): Likewise.
19722 (conj_test_data): Likewise.
19723 (copysign_test_data): Likewise.
19724 (cos_test_data): Likewise.
19725 (cos_tonearest_test_data): Likewise.
19726 (cos_towardzero_test_data): Likewise.
19727 (cos_downward_test_data): Likewise.
19728 (cos_upward_test_data): Likewise.
19729 (cosh_test_data): Likewise.
19730 (cosh_tonearest_test_data): Likewise.
19731 (cosh_towardzero_test_data): Likewise.
19732 (cosh_downward_test_data): Likewise.
19733 (cosh_upward_test_data): Likewise.
19734 (cpow_test_data): Likewise.
19735 (cproj_test_data): Likewise.
19736 (creal_test_data): Likewise.
19737 (csin_test_data): Likewise.
19738 (csinh_test_data): Likewise.
19739 (csqrt_test_data): Likewise.
19740 (ctan_test_data): Likewise.
19741 (ctan_tonearest_test_data): Likewise.
19742 (ctan_towardzero_test_data): Likewise.
19743 (ctan_downward_test_data): Likewise.
19744 (ctan_upward_test_data): Likewise.
19745 (ctanh_test_data): Likewise.
19746 (ctanh_tonearest_test_data): Likewise.
19747 (ctanh_towardzero_test_data): Likewise.
19748 (ctanh_downward_test_data): Likewise.
19749 (ctanh_upward_test_data): Likewise.
19750 (erf_test_data): Likewise.
19751 (erfc_test_data): Likewise.
19752 (exp_test_data): Likewise.
19753 (exp_tonearest_test_data): Likewise.
19754 (exp_towardzero_test_data): Likewise.
19755 (exp_downward_test_data): Likewise.
19756 (exp_upward_test_data): Likewise.
19757 (exp10_test_data): Likewise.
19758 (exp2_test_data): Likewise.
19759 (expm1_test_data): Likewise.
19760 (fabs_test_data): Likewise.
19761 (fdim_test_data): Likewise.
19762 (finite_test_data): Likewise.
19763 (floor_test_data): Likewise.
19764 (fma_test_data): Likewise.
19765 (fma_towardzero_test_data): Likewise.
19766 (fma_downward_test_data): Likewise.
19767 (fma_upward_test_data): Likewise.
19768 (fmax_test_data): Likewise.
19769 (fmin_test_data): Likewise.
19770 (fmod_test_data): Likewise.
19771 (fpclassify_test_data): Likewise.
19772 (frexp_test_data): Likewise.
19773 (gamma_test_data): Likewise.
19774 (hypot_test_data): Likewise.
19775 (ilogb_test_data): Likewise.
19776 (isfinite_test_data): Likewise.
19777 (isgreater_test_data): Likewise.
19778 (isgreaterequal_test_data): Likewise.
19779 (isinf_test_data): Likewise.
19780 (isless_test_data): Likewise.
19781 (islessequal_test_data): Likewise.
19782 (islessgreater_test_data): Likewise.
19783 (isnan_test_data): Likewise.
19784 (isnormal_test_data): Likewise.
19785 (issignaling_test_data): Likewise.
19786 (isunordered_test_data): Likewise.
19787 (j0_test_data): Likewise.
19788 (j1_test_data): Likewise.
19789 (jn_test_data): Likewise.
19790 (ldexp_test_data): Likewise.
19791 (lgamma_test_data): Likewise.
19792 (lrint_test_data): Likewise.
19793 (lrint_tonearest_test_data): Likewise.
19794 (lrint_towardzero_test_data): Likewise.
19795 (lrint_downward_test_data): Likewise.
19796 (lrint_upward_test_data): Likewise.
19797 (llrint_test_data): Likewise.
19798 (llrint_tonearest_test_data): Likewise.
19799 (llrint_towardzero_test_data): Likewise.
19800 (llrint_downward_test_data): Likewise.
19801 (llrint_upward_test_data): Likewise.
19802 (log_test_data): Likewise.
19803 (log10_test_data): Likewise.
19804 (log1p_test_data): Likewise.
19805 (log2_test_data): Likewise.
19806 (logb_test_data): Likewise.
19807 (logb_downward_test_data): Likewise.
19808 (lround_test_data): Likewise.
19809 (llround_test_data): Likewise.
19810 (modf_test_data): Likewise.
19811 (nearbyint_test_data): Likewise.
19812 (nextafter_test_data): Likewise.
19813 (nexttoward_test_data): Likewise.
19814 (pow_test_data): Likewise.
19815 (pow_tonearest_test_data): Likewise.
19816 (pow_towardzero_test_data): Likewise.
19817 (pow_downward_test_data): Likewise.
19818 (pow_upward_test_data): Likewise.
19819 (remainder_test_data): Likewise.
19820 (remainder_tonearest_test_data): Likewise.
19821 (remainder_towardzero_test_data): Likewise.
19822 (remainder_downward_test_data): Likewise.
19823 (remainder_upward_test_data): Likewise.
19824 (remquo_test_data): Likewise.
19825 (rint_test_data): Likewise.
19826 (rint_tonearest_test_data): Likewise.
19827 (rint_towardzero_test_data): Likewise.
19828 (rint_downward_test_data): Likewise.
19829 (rint_upward_test_data): Likewise.
19830 (round_test_data): Likewise.
19831 (scalb_test_data): Likewise.
19832 (scalbn_test_data): Likewise.
19833 (scalbln_test_data): Likewise.
19834 (signbit_test_data): Likewise.
19835 (sin_test_data): Likewise.
19836 (sin_tonearest_test_data): Likewise.
19837 (sin_towardzero_test_data): Likewise.
19838 (sin_downward_test_data): Likewise.
19839 (sin_upward_test_data): Likewise.
19840 (sincos_test_data): Likewise.
19841 (sinh_test_data): Likewise.
19842 (sinh_tonearest_test_data): Likewise.
19843 (sinh_towardzero_test_data): Likewise.
19844 (sinh_downward_test_data): Likewise.
19845 (sinh_upward_test_data): Likewise.
19846 (sqrt_test_data): Likewise.
19847 (tan_test_data): Likewise.
19848 (tan_tonearest_test_data): Likewise.
19849 (tan_towardzero_test_data): Likewise.
19850 (tan_downward_test_data): Likewise.
19851 (tan_upward_test_data): Likewise.
19852 (tanh_test_data): Likewise.
19853 (tgamma_test_data): Likewise.
19854 (trunc_test_data): Likewise.
19855 (y0_test_data): Likewise.
19856 (y1_test_data): Likewise.
19857 (yn_test_data): Likewise.
19858 (significand_test_data): Likewise.
19860 * math/gen-libm-test.pl (@functions): Remove variable.
19861 (generate_testfile): Don't handle START and END lines.
19862 * math/libm-test.inc (START): New macro.
19864 (END_COMPLEX): Likewise.
19865 (acos_test): Use END macro without arguments.
19866 (acos_test_tonearest): Likewise.
19867 (acos_test_towardzero): Likewise.
19868 (acos_test_downward): Likewise.
19869 (acos_test_upward): Likewise.
19870 (acosh_test): Likewise.
19871 (asin_test): Likewise.
19872 (asin_test_tonearest): Likewise.
19873 (asin_test_towardzero): Likewise.
19874 (asin_test_downward): Likewise.
19875 (asin_test_upward): Likewise.
19876 (asinh_test): Likewise.
19877 (atan_test): Likewise.
19878 (atanh_test): Likewise.
19879 (atan2_test): Likewise.
19880 (cabs_test): Likewise.
19881 (cacos_test): Use END_COMPLEX macro without arguments.
19882 (cacosh_test): Likewise.
19883 (carg_test): Use END macro without arguments.
19884 (casin_test): Use END_COMPLEX macro without arguments.
19885 (casinh_test): Likewise.
19886 (catan_test): Likewise.
19887 (catanh_test): Likewise.
19888 (cbrt_test): Use END macro without arguments.
19889 (ccos_test): Use END_COMPLEX macro without arguments.
19890 (ccosh_test): Likewise.
19891 (ceil_test): Use END macro without arguments.
19892 (cexp_test): Use END_COMPLEX macro without arguments.
19893 (cimag_test): Use END macro without arguments.
19894 (clog_test): Use END_COMPLEX macro without arguments.
19895 (clog10_test): Likewise.
19896 (conj_test): Likewise.
19897 (copysign_test): Use END macro without arguments.
19898 (cos_test): Likewise.
19899 (cos_test_tonearest): Likewise.
19900 (cos_test_towardzero): Likewise.
19901 (cos_test_downward): Likewise.
19902 (cos_test_upward): Likewise.
19903 (cosh_test): Likewise.
19904 (cosh_test_tonearest): Likewise.
19905 (cosh_test_towardzero): Likewise.
19906 (cosh_test_downward): Likewise.
19907 (cosh_test_upward): Likewise.
19908 (cpow_test): Use END_COMPLEX macro without arguments.
19909 (cproj_test): Likewise.
19910 (creal_test): Use END macro without arguments.
19911 (csin_test): Use END_COMPLEX macro without arguments.
19912 (csinh_test): Likewise.
19913 (csqrt_test): Likewise.
19914 (ctan_test): Likewise.
19915 (ctan_test_tonearest): Likewise.
19916 (ctan_test_towardzero): Likewise.
19917 (ctan_test_downward): Likewise.
19918 (ctan_test_upward): Likewise.
19919 (ctanh_test): Likewise.
19920 (ctanh_test_tonearest): Likewise.
19921 (ctanh_test_towardzero): Likewise.
19922 (ctanh_test_downward): Likewise.
19923 (ctanh_test_upward): Likewise.
19924 (erf_test): Use END macro without arguments.
19925 (erfc_test): Likewise.
19926 (exp_test): Likewise.
19927 (exp_test_tonearest): Likewise.
19928 (exp_test_towardzero): Likewise.
19929 (exp_test_downward): Likewise.
19930 (exp_test_upward): Likewise.
19931 (exp10_test): Likewise.
19932 (exp2_test): Likewise.
19933 (expm1_test): Likewise.
19934 (fabs_test): Likewise.
19935 (fdim_test): Likewise.
19936 (finite_test): Likewise.
19937 (floor_test): Likewise.
19938 (fma_test): Likewise.
19939 (fma_test_towardzero): Likewise.
19940 (fma_test_downward): Likewise.
19941 (fma_test_upward): Likewise.
19942 (fmax_test): Likewise.
19943 (fmin_test): Likewise.
19944 (fmod_test): Likewise.
19945 (fpclassify_test): Likewise.
19946 (frexp_test): Likewise.
19947 (gamma_test): Likewise.
19948 (hypot_test): Likewise.
19949 (ilogb_test): Likewise.
19950 (isfinite_test): Likewise.
19951 (isgreater_test): Likewise.
19952 (isgreaterequal_test): Likewise.
19953 (isinf_test): Likewise.
19954 (isless_test): Likewise.
19955 (islessequal_test): Likewise.
19956 (islessgreater_test): Likewise.
19957 (isnan_test): Likewise.
19958 (isnormal_test): Likewise.
19959 (issignaling_test): Likewise.
19960 (isunordered_test): Likewise.
19961 (j0_test): Likewise.
19962 (j1_test): Likewise.
19963 (jn_test): Likewise.
19964 (ldexp_test): Likewise.
19965 (lgamma_test): Likewise.
19966 (lrint_test): Likewise.
19967 (lrint_test_tonearest): Likewise.
19968 (lrint_test_towardzero): Likewise.
19969 (lrint_test_downward): Likewise.
19970 (lrint_test_upward): Likewise.
19971 (llrint_test): Likewise.
19972 (llrint_test_tonearest): Likewise.
19973 (llrint_test_towardzero): Likewise.
19974 (llrint_test_downward): Likewise.
19975 (llrint_test_upward): Likewise.
19976 (log_test): Likewise.
19977 (log10_test): Likewise.
19978 (log1p_test): Likewise.
19979 (log2_test): Likewise.
19980 (logb_test): Likewise.
19981 (logb_test_downward): Likewise.
19982 (lround_test): Likewise.
19983 (llround_test): Likewise.
19984 (modf_test): Likewise.
19985 (nearbyint_test): Likewise.
19986 (nextafter_test): Likewise.
19987 (nexttoward_test): Likewise.
19988 (pow_test): Likewise.
19989 (pow_test_tonearest): Likewise.
19990 (pow_test_towardzero): Likewise.
19991 (pow_test_downward): Likewise.
19992 (pow_test_upward): Likewise.
19993 (remainder_test): Likewise.
19994 (remainder_test_tonearest): Likewise.
19995 (remainder_test_towardzero): Likewise.
19996 (remainder_test_downward): Likewise.
19997 (remainder_test_upward): Likewise.
19998 (remquo_test): Likewise.
19999 (rint_test): Likewise.
20000 (rint_test_tonearest): Likewise.
20001 (rint_test_towardzero): Likewise.
20002 (rint_test_downward): Likewise.
20003 (rint_test_upward): Likewise.
20004 (round_test): Likewise.
20005 (scalb_test): Likewise.
20006 (scalbn_test): Likewise.
20007 (scalbln_test): Likewise.
20008 (signbit_test): Likewise.
20009 (sin_test): Likewise.
20010 (sin_test_tonearest): Likewise.
20011 (sin_test_towardzero): Likewise.
20012 (sin_test_downward): Likewise.
20013 (sin_test_upward): Likewise.
20014 (sincos_test): Likewise.
20015 (sinh_test): Likewise.
20016 (sinh_test_tonearest): Likewise.
20017 (sinh_test_towardzero): Likewise.
20018 (sinh_test_downward): Likewise.
20019 (sinh_test_upward): Likewise.
20020 (sqrt_test): Likewise.
20021 (tan_test): Likewise.
20022 (tan_test_tonearest): Likewise.
20023 (tan_test_towardzero): Likewise.
20024 (tan_test_downward): Likewise.
20025 (tan_test_upward): Likewise.
20026 (tanh_test): Likewise.
20027 (tgamma_test): Likewise.
20028 (trunc_test): Likewise.
20029 (y0_test): Likewise.
20030 (y1_test): Likewise.
20031 (yn_test): Likewise.
20032 (significand_test): Likewise.
20034 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20037 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20039 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20042 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20043 __ppc_mdoio and __ppc_mdoom.
20044 * manual/platform.texi: Document new functions __ppc_yield,
20045 __ppc_mdoio and __ppc_mdoom.
20047 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20049 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20050 (main): Mention "tls" pseudo-hwcap is legacy.
20051 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20053 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20055 * math/gen-libm-test.pl (parse_args): Output only string of
20056 arguments as text for test name, not full call or descriptions of
20057 tests for extra outputs.
20058 (generate_testfile): Do not pass function name to parse_args.
20059 Generate this_func variable from START.
20060 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20062 (struct test_ff_f_data): Likewise.
20063 (test_ff_f_data_nexttoward): Likewise.
20064 (struct test_fi_f_data): Likewise.
20065 (struct test_fl_f_data): Likewise.
20066 (struct test_if_f_data): Likewise.
20067 (struct test_fff_f_data): Likewise.
20068 (struct test_c_f_data): Likewise.
20069 (struct test_f_f1_data): Likewise. Remove field extra_name.
20070 (struct test_fF_f1_data): Likewise.
20071 (struct test_ffI_f1_data): Likewise.
20072 (struct test_c_c_data): Rename test_name field to arg_str.
20073 (struct test_cc_c_data): Likewise.
20074 (struct test_f_i_data): Likewise.
20075 (struct test_ff_i_data): Likewise.
20076 (struct test_f_l_data): Likewise.
20077 (struct test_f_L_data): Likewise.
20078 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20080 (COMMON_TEST_SETUP): New macro.
20081 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20082 (COMMON_TEST_CLEANUP): Likewise.
20083 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20084 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20086 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20087 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20089 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20090 (RUN_TEST_fff_f): Take argument string. Call new setup and
20092 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20093 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20095 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20096 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20098 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20099 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20101 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20102 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20104 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20105 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20107 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20108 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20110 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20111 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20113 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20114 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20116 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20117 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20119 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20120 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20122 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20123 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20125 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20126 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20128 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20129 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20131 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20132 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20134 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20135 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20137 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20139 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20141 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20142 to _sifields.sigfault.
20143 (si_addr_lsb): Define new macro.
20144 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20146 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20148 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20151 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20153 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20155 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20156 loading the domain.
20158 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20160 * math/gen-libm-test.pl (parse_args): Do not include expected
20161 result in test name.
20162 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20163 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20164 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20165 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20166 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20169 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20171 * benchtests/Makefile: Sort function entries.
20173 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20174 tanh, asinh, acosh, atanh.
20175 * benchtests/acos-inputs: New file.
20176 * benchtests/acosh-inputs: New file.
20177 * benchtests/asin-inputs: New file.
20178 * benchtests/asinh-inputs: New file.
20179 * benchtests/atanh-inputs: New file.
20180 * benchtests/cosh-inputs: New file.
20181 * benchtests/log-inputs: New file.
20182 * benchtests/sinh-inputs: New file.
20183 * benchtests/tanh-inputs: New file.
20185 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20188 * posix/tst-getaddrinfo4.c: New test.
20189 * posix/Makefile (tests): Add it.
20191 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20194 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20195 when no services were used.
20196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20197 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20199 2013-05-21 Andreas Schwab <schwab@suse.de>
20202 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20203 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20205 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20206 redundant variable declarations and reallocation of buffer when
20207 parsing as IPv6 address. Always set NSS status when called from
20208 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20209 buffer too small. Correct computation of needed size.
20210 * nss/Makefile (tests): Add test-digits-dots.
20211 * nss/test-digits-dots.c: New test.
20213 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20215 * benchtests/Makefile: Remove instructions for adding
20217 * benchtests/README: New file to explain how to execute and
20218 enhance the benchmark tests.
20220 2013-05-21 Andreas Schwab <schwab@suse.de>
20223 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20224 * setjmp/tst-sigsetjmp.c: New test.
20226 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20228 * sysdeps/x86_64/memset.S (memset): New implementation.
20229 (__bzero): Likewise.
20230 (__memset_tail): New function.
20232 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20234 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20235 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20236 __memcpy_sse2_unaligned ifunc selection.
20237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20238 Add memcpy-sse2-unaligned.S.
20239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20240 Add: __memcpy_sse2_unaligned.
20242 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20245 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20246 math_force_eval before restoring floating-point envrionment.
20247 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20250 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20252 (__nearbyintl): Use math_force_eval before restoring
20253 floating-point environment.
20254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20256 * math/gen-libm-test.pl (special_functions): Remove.
20257 (parse_args): Don't handle TEST_extra. Handle functions with no
20259 * math/libm-test.inc (struct test_sincos_data): Replace with
20260 struct test_fFF_11_data.
20261 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20262 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20263 (sincos_test_data): Change element type to struct
20264 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20265 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20266 RUN_TEST_LOOP_sincos.
20267 * math/README.libm-test: Don't mention special handling of
20268 individual functions.
20269 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20272 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20273 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20276 * math/gen-libm-test.pl (get_variable): Remove function.
20277 (parse_args): Don't show pointer parameters to call in test
20278 names. Use "extra output N" in test names for extra outputs
20279 rather than naming variables.
20281 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20284 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20285 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20286 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20288 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20290 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20293 * math/gen-libm-test.pl (@tests): Remove variable.
20294 ($count): Likewise.
20295 (new_test): Remove function.
20296 (show_exceptions): New function.
20297 (special_functions): Use show_exceptions instead of new_test.
20298 (parse_args): Likewise.
20299 (generate_testfile): Pass only function name in generated call to
20300 print_max_error or print_complex_max_error.
20301 (get_ulps): Do not handle complex tests specially.
20302 (output_test): Rename to ...
20303 (get_all_ulps_for_test): ... this. Return a string rather than
20304 printing to a file. Require ulps to be present.
20305 (output_ulps): Generate arrays rather than #defines.
20306 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20307 (struct ulp_data): New type.
20308 (BUILD_COMPLEX_ULP): Remove macro.
20309 (compare_ulp_data): New function.
20310 (find_ulps): Likewise.
20311 (find_test_ulps): Likewise.
20312 (find_function_ulps): Likewise.
20313 (find_complex_function_ulps): Likewise.
20314 (print_max_error): Determine allowed ulps using
20315 find_function_ulps.
20316 (print_complex_max_error): Determine allowed ulps using
20317 find_complex_function_ulps.
20318 (check_float_internal): Determine max ulps using find_test_ulps.
20319 (check_float): Do not take max_ulp parameter. Update call to
20320 check_float_internal.
20321 (check_complex): Likewise.
20322 (check_int): Do not take max_ulp parameter.
20323 (check_long): Likewise.
20324 (check_bool): Likewise.
20325 (check_longlong): Likewise.
20326 (struct test_f_f_data): Remove max_ulp field.
20327 (struct test_ff_f_data): Likewise.
20328 (struct test_ff_f_data_nexttoward): Likewise.
20329 (struct test_fi_f_data): Likewise.
20330 (struct test_fl_f_data): Likewise.
20331 (struct test_if_f_data): Likewise.
20332 (struct test_fff_f_data): Likewise.
20333 (struct test_c_f_data): Likewise.
20334 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20335 (struct test_fF_f1_data): Likewise.
20336 (struct test_ffI_f1_data): Likewise.
20337 (struct test_c_c_data): Remove max_ulp field.
20338 (struct test_cc_c_data): Likewise.
20339 (struct test_f_i_data): Likewise.
20340 (struct test_ff_i_data): Likewise.
20341 (struct test_f_l_data): Likewise.
20342 (struct test_f_L_data): Likewise.
20343 (struct test_sincos_data): Likewise.
20344 (RUN_TEST_f_f): Do not handle ulps.
20345 (RUN_TEST_LOOP_f_f): Likewise.
20346 (RUN_TEST_2_f): Likewise.
20347 (RUN_TEST_LOOP_2_f): Likewise.
20348 (RUN_TEST_fff_f): Likewise.
20349 (RUN_TEST_LOOP_fff_f): Likewise.
20350 (RUN_TEST_c_f): Likewise.
20351 (RUN_TEST_LOOP_c_f): Likewise.
20352 (RUN_TEST_f_f1): Likewise.
20353 (RUN_TEST_LOOP_f_f1): Likewise.
20354 (RUN_TEST_fF_f1): Likewise.
20355 (RUN_TEST_LOOP_fF_f1): Likewise.
20356 (RUN_TEST_fI_f1): Likewise.
20357 (RUN_TEST_LOOP_fI_f1): Likewise.
20358 (RUN_TEST_ffI_f1): Likewise.
20359 (RUN_TEST_LOOP_ffI_f1): Likewise.
20360 (RUN_TEST_c_c): Likewise.
20361 (RUN_TEST_LOOP_c_c): Likewise.
20362 (RUN_TEST_cc_c): Likewise.
20363 (RUN_TEST_LOOP_cc_c): Likewise.
20364 (RUN_TEST_f_i): Likewise.
20365 (RUN_TEST_LOOP_f_i): Likewise.
20366 (RUN_TEST_f_i_tg): Likewise.
20367 (RUN_TEST_LOOP_f_i_tg): Likewise.
20368 (RUN_TEST_ff_i_tg): Likewise.
20369 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20370 (RUN_TEST_f_b): Likewise.
20371 (RUN_TEST_LOOP_f_b): Likewise.
20372 (RUN_TEST_f_b_tg): Likewise.
20373 (RUN_TEST_LOOP_f_b_tg): Likewise.
20374 (RUN_TEST_f_l): Likewise.
20375 (RUN_TEST_LOOP_f_l): Likewise.
20376 (RUN_TEST_f_L): Likewise.
20377 (RUN_TEST_LOOP_f_L): Likewise.
20378 (RUN_TEST_sincos): Likewise.
20379 (RUN_TEST_LOOP_sincos): Likewise.
20381 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20385 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20386 main case of finite arguments, set rounding mode to FE_TONEAREST
20387 and discard exceptions.
20388 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20390 (remainder_tonearest_test_data): New variable.
20391 (remainder_test_tonearest): New function.
20392 (remainder_towardzero_test_data): New variable.
20393 (remainder_test_towardzero): New function.
20394 (remainder_downward_test_data): New variable.
20395 (remainder_test_downward): New function.
20396 (remainder_upward_test_data): New variable.
20397 (remainder_test_upward): New function.
20398 (main): Call the new test functions.
20400 * math/libm-test.inc (struct test_f_f1_data): Remove field
20402 (struct test_fF_f1_data): Likewise.
20403 (struct test_ffI_f1_data): Likewise.
20404 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20405 based on value of EXTRA_EXPECTED.
20406 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20407 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20408 EXTRA_VAR based on value of EXTRA_EXPECTED.
20409 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20410 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20411 EXTRA_VAR based on value of EXTRA_EXPECTED.
20412 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20413 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20414 EXTRA_VAR based on value of EXTRA_EXPECTED.
20415 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20416 * math/gen-libm-test.pl (parse_args): Don't output initializers
20417 for extra output values.
20419 * math/libm-test.inc (check_int): Expect result to be exactly
20420 equal to expected value and do not handle ulps.
20421 (check_long): Likewise.
20422 (check_longlong): Likewise.
20424 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20426 (cimag_test_data): Likewise.
20427 (conj_test_data): Likewise.
20428 (copysign_test_data): Likewise.
20429 (cproj_test_data): Likewise.
20430 (creal_test_data): Likewise.
20431 (fabs_test_data): Likewise.
20432 (fdim_test_data): Likewise.
20433 (finite_test_data): Likewise.
20434 (floor_test_data): Likewise.
20435 (fmax_test_data): Likewise.
20436 (fmin_test_data): Likewise.
20437 (fmod_test_data): Likewise.
20438 (fpclassify_test_data): Likewise.
20439 (frexp_test_data): Likewise.
20440 (ilogb_test_data): Likewise.
20441 (isfinite_test_data): Likewise.
20442 (isgreater_test_data): Likewise.
20443 (isgreaterequal_test_data): Likewise.
20444 (isinf_test_data): Likewise.
20445 (isless_test_data): Likewise.
20446 (islessequal_test_data): Likewise.
20447 (islessgreater_test_data): Likewise.
20448 (isnan_test_data): Likewise.
20449 (isnormal_test_data): Likewise.
20450 (issignaling_test_data): Likewise.
20451 (isunordered_test_data): Likewise.
20452 (ldexp_test_data): Likewise.
20453 (lrint_test_data): Likewise.
20454 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20455 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20456 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20457 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20458 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20459 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20461 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20462 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20463 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20464 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20466 (lrint_downward_test_data): Test for "inexact" exceptions.
20467 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20468 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20469 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20471 (lrint_upward_test_data): Test for "inexact" exceptions.
20472 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20474 (llrint_test_data): Test for "inexact" exceptions.
20475 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20476 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20477 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20478 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20479 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20480 (llrint_downward_test_data): Test for "inexact" exceptions.
20481 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20482 (llrint_upward_test_data): Test for "inexact" exceptions.
20483 (logb_test_data): Likewise.
20484 (logb_downward_test_data): Likewise.
20485 (nextafter_test_data): Likewise.
20486 (nexttoward_test_data): Likewise.
20487 (remainder_test_data): Likewise.
20488 (remquo_test_data): Likewise.
20489 (scalbn_test_data): Likewise.
20490 (scalbln_test_data): Likewise.
20491 (signbit_test_data): Likewise.
20492 (sqrt_test_data): Likewise.
20493 (significand_test_data): Likewise.
20495 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20498 * benchtests/bench-modf.c (struct args): Mark arg0 as
20500 * scripts/bench.pl: Mark members of struct args as volatile.
20502 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20505 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20506 negative infinity on POWER6 or lower.
20507 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20509 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20512 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20513 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20514 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20515 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20516 (_FP_SETQNAN): New macro.
20517 (_FP_SETQNAN_SEMIRAW): Likewise.
20518 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20519 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20520 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20521 (FP_EXTEND): Use _FP_FRAC_SNANP.
20522 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20523 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20525 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20527 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20530 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20532 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20533 with DIVIDE_BY_ZERO_EXCEPTION.
20534 (gamma_test_data): Likewise.
20535 (lgamma_test_data): Likewise.
20536 (log_test_data): Likewise.
20537 (log10_test_data): Likewise.
20538 (log2_test_data): Likewise.
20539 (tgamma_test_data): Likewise.
20541 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20542 (acos_test_tonearest): Likewise.
20543 (acos_test_towardzero): Likewise.
20544 (acos_test_downward): Likewise.
20545 (acos_test_upward): Likewise.
20546 (acosh_test): Likewise.
20547 (asin_test): Likewise.
20548 (asin_test_tonearest): Likewise.
20549 (asin_test_towardzero): Likewise.
20550 (asin_test_downward): Likewise.
20551 (asin_test_upward): Likewise.
20552 (asinh_test): Likewise.
20553 (atan_test): Likewise.
20554 (atanh_test): Likewise.
20555 (atan2_test): Likewise.
20556 (cabs_test): Likewise.
20557 (cacos_test): Likewise.
20558 (cacosh_test): Likewise.
20559 (casin_test): Likewise.
20560 (casinh_test): Likewise.
20561 (catan_test): Likewise.
20562 (catanh_test): Likewise.
20563 (cbrt_test): Likewise.
20564 (ccos_test): Likewise.
20565 (ccosh_test): Likewise.
20566 (cexp_test): Likewise.
20567 (clog_test): Likewise.
20568 (clog10_test): Likewise.
20569 (cos_test): Likewise.
20570 (cos_test_tonearest): Likewise.
20571 (cos_test_towardzero): Likewise.
20572 (cos_test_downward): Likewise.
20573 (cos_test_upward): Likewise.
20574 (cosh_test): Likewise.
20575 (cosh_test_tonearest): Likewise.
20576 (cosh_test_towardzero): Likewise.
20577 (cosh_test_downward): Likewise.
20578 (cosh_test_upward): Likewise.
20579 (cpow_test): Likewise.
20580 (csin_test): Likewise.
20581 (csinh_test): Likewise.
20582 (csqrt_test): Likewise.
20583 (ctan_test): Likewise.
20584 (ctan_test_tonearest): Likewise.
20585 (ctan_test_towardzero): Likewise.
20586 (ctan_test_downward): Likewise.
20587 (ctan_test_upward): Likewise.
20588 (ctanh_test): Likewise.
20589 (ctanh_test_tonearest): Likewise.
20590 (ctanh_test_towardzero): Likewise.
20591 (ctanh_test_downward): Likewise.
20592 (ctanh_test_upward): Likewise.
20593 (erf_test): Likewise.
20594 (erfc_test): Likewise.
20595 (exp_test): Likewise.
20596 (exp_test_tonearest): Likewise.
20597 (exp_test_towardzero): Likewise.
20598 (exp_test_downward): Likewise.
20599 (exp_test_upward): Likewise.
20600 (exp10_test): Likewise.
20601 (exp2_test): Likewise.
20602 (expm1_test): Likewise.
20603 (fmod_test): Likewise.
20604 (gamma_test): Likewise.
20605 (hypot_test): Likewise.
20606 (j0_test): Likewise.
20607 (j1_test): Likewise.
20608 (jn_test): Likewise.
20609 (lgamma_test): Likewise.
20610 (log_test): Likewise.
20611 (log10_test): Likewise.
20612 (log1p_test): Likewise.
20613 (log2_test): Likewise.
20614 (logb_test_downward): Likewise.
20615 (pow_test): Likewise.
20616 (pow_test_tonearest): Likewise.
20617 (pow_test_towardzero): Likewise.
20618 (pow_test_downward): Likewise.
20619 (pow_test_upward): Likewise.
20620 (remainder_test): Likewise.
20621 (remquo_test): Likewise.
20622 (sin_test): Likewise.
20623 (sin_test_tonearest): Likewise.
20624 (sin_test_towardzero): Likewise.
20625 (sin_test_downward): Likewise.
20626 (sin_test_upward): Likewise.
20627 (sincos_test): Likewise.
20628 (sinh_test): Likewise.
20629 (sinh_test_tonearest): Likewise.
20630 (sinh_test_towardzero): Likewise.
20631 (sinh_test_downward): Likewise.
20632 (sinh_test_upward): Likewise.
20633 (sqrt_test): Likewise.
20634 (tan_test): Likewise.
20635 (tan_test_tonearest): Likewise.
20636 (tan_test_towardzero): Likewise.
20637 (tan_test_downward): Likewise.
20638 (tan_test_upward): Likewise.
20639 (tanh_test): Likewise.
20640 (tgamma_test): Likewise.
20641 (y0_test): Likewise.
20642 (y1_test): Likewise.
20643 (yn_test): Likewise.
20645 * math/gen-libm-test.pl (adjust_arg): Remove function.
20646 (special_function): Remove argument $in_func. Only handle
20647 generating output for tables of tests, not inside functions.
20648 (parse_args): Likewise.
20649 (generate_testfile): Remove variable $in_func. Update call to
20651 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20652 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20653 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20654 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20655 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20656 (MAX_VALUE_INIT): Rename macro to max_value.
20657 (MIN_VALUE_INIT): Rename macro to min_value.
20658 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20659 (plus_zero): Remove variable.
20660 (minus_zero): Likewise.
20661 (plus_infty): Likewise.
20662 (minus_infty): Likewise.
20663 (qnan_value): Likewise.
20664 (max_value): Likewise.
20665 (min_value): Likewise.
20666 (min_subnorm_value): Likewise.
20668 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20670 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20671 uint64_t or uint32_t usage.
20672 * crypt/sha256-block.c: Likewise.
20673 * crypt/sha256-crypt.c: Likewise.
20674 * crypt/sha256.c: Likewise.
20675 * crypt/sha512-block.c: Likewise.
20676 * crypt/sha512-crypt.c: Likewise.
20677 * crypt/sha512.c: Likewise.
20678 * debug/backtrace-tst.c: Likewise.
20679 * debug/pcprofiledump.c: Likewise.
20680 * elf/cache.c: Likewise.
20681 * elf/dl-cache.c: Likewise.
20682 * elf/dl-misc.c: Likewise.
20683 * elf/dl-profile.c: Likewise.
20684 * elf/dl-support.c: Likewise.
20685 * elf/ldconfig.c: Likewise.
20686 * elf/sprof.c: Likewise.
20687 * iconv/dummy-repertoire.c: Likewise.
20688 * iconv/iconv_charmap.c: Likewise.
20689 * iconv/skeleton.c: Likewise.
20690 * iconvdata/8bit-generic.c: Likewise.
20691 * iconvdata/cp737.h: Likewise.
20692 * iconvdata/cp775.h: Likewise.
20693 * iconvdata/ibm1008.h: Likewise.
20694 * iconvdata/ibm1025.h: Likewise.
20695 * iconvdata/ibm1046.h: Likewise.
20696 * iconvdata/ibm1097.h: Likewise.
20697 * iconvdata/ibm1112.h: Likewise.
20698 * iconvdata/ibm1122.h: Likewise.
20699 * iconvdata/ibm1123.h: Likewise.
20700 * iconvdata/ibm1124.h: Likewise.
20701 * iconvdata/ibm1129.h: Likewise.
20702 * iconvdata/ibm1130.h: Likewise.
20703 * iconvdata/ibm1132.h: Likewise.
20704 * iconvdata/ibm1133.h: Likewise.
20705 * iconvdata/ibm1137.h: Likewise.
20706 * iconvdata/ibm1140.h: Likewise.
20707 * iconvdata/ibm1141.h: Likewise.
20708 * iconvdata/ibm1142.h: Likewise.
20709 * iconvdata/ibm1143.h: Likewise.
20710 * iconvdata/ibm1144.h: Likewise.
20711 * iconvdata/ibm1145.h: Likewise.
20712 * iconvdata/ibm1146.h: Likewise.
20713 * iconvdata/ibm1147.h: Likewise.
20714 * iconvdata/ibm1148.h: Likewise.
20715 * iconvdata/ibm1149.h: Likewise.
20716 * iconvdata/ibm1153.h: Likewise.
20717 * iconvdata/ibm1154.h: Likewise.
20718 * iconvdata/ibm1155.h: Likewise.
20719 * iconvdata/ibm1156.h: Likewise.
20720 * iconvdata/ibm1157.h: Likewise.
20721 * iconvdata/ibm1158.h: Likewise.
20722 * iconvdata/ibm1160.h: Likewise.
20723 * iconvdata/ibm1161.h: Likewise.
20724 * iconvdata/ibm1162.h: Likewise.
20725 * iconvdata/ibm1163.h: Likewise.
20726 * iconvdata/ibm1164.h: Likewise.
20727 * iconvdata/ibm1166.h: Likewise.
20728 * iconvdata/ibm1167.h: Likewise.
20729 * iconvdata/ibm12712.h: Likewise.
20730 * iconvdata/ibm1390.h: Likewise.
20731 * iconvdata/ibm1399.h: Likewise.
20732 * iconvdata/ibm16804.h: Likewise.
20733 * iconvdata/ibm4517.h: Likewise.
20734 * iconvdata/ibm4899.h: Likewise.
20735 * iconvdata/ibm4909.h: Likewise.
20736 * iconvdata/ibm4971.h: Likewise.
20737 * iconvdata/ibm5347.h: Likewise.
20738 * iconvdata/ibm803.h: Likewise.
20739 * iconvdata/ibm856.h: Likewise.
20740 * iconvdata/ibm901.h: Likewise.
20741 * iconvdata/ibm902.h: Likewise.
20742 * iconvdata/ibm9030.h: Likewise.
20743 * iconvdata/ibm9066.h: Likewise.
20744 * iconvdata/ibm921.h: Likewise.
20745 * iconvdata/ibm922.h: Likewise.
20746 * iconvdata/ibm9448.h: Likewise.
20747 * iconvdata/isiri-3342.h: Likewise.
20748 * iconvdata/jis0201.h: Likewise.
20749 * include/link.h: Likewise.
20750 * include/netdb.h: Likewise.
20751 * inet/check_native.c: Likewise.
20752 * inet/check_pf.c: Likewise.
20753 * inet/getipv4sourcefilter.c: Likewise.
20754 * inet/getnameinfo.c: Likewise.
20755 * inet/getsourcefilter.c: Likewise.
20756 * inet/htonl.c: Likewise.
20757 * inet/setipv4sourcefilter.c: Likewise.
20758 * inet/setsourcefilter.c: Likewise.
20759 * inet/test-inet6_opt.c: Likewise.
20760 * inet/tst-network.c: Likewise.
20761 * locale/C-collate.c: Likewise.
20762 * locale/C-ctype.c: Likewise.
20763 * locale/C-time.c: Likewise.
20764 * locale/C-translit.h: Likewise.
20765 * locale/loadarchive.c: Likewise.
20766 * locale/programs/3level.h: Likewise.
20767 * locale/programs/charmap.c: Likewise.
20768 * locale/programs/charmap.h: Likewise.
20769 * locale/programs/ld-address.c: Likewise.
20770 * locale/programs/ld-collate.c: Likewise.
20771 * locale/programs/ld-ctype.c: Likewise.
20772 * locale/programs/ld-identification.c: Likewise.
20773 * locale/programs/ld-measurement.c: Likewise.
20774 * locale/programs/ld-messages.c: Likewise.
20775 * locale/programs/ld-monetary.c: Likewise.
20776 * locale/programs/ld-name.c: Likewise.
20777 * locale/programs/ld-numeric.c: Likewise.
20778 * locale/programs/ld-paper.c: Likewise.
20779 * locale/programs/ld-telephone.c: Likewise.
20780 * locale/programs/ld-time.c: Likewise.
20781 * locale/programs/linereader.c: Likewise.
20782 * locale/programs/locale.c: Likewise.
20783 * locale/programs/locarchive.c: Likewise.
20784 * locale/programs/locfile.h: Likewise.
20785 * locale/programs/repertoire.c: Likewise.
20786 * locale/programs/simple-hash.c: Likewise.
20787 * locale/programs/simple-hash.h: Likewise.
20788 * malloc/memusage.c: Likewise.
20789 * malloc/memusagestat.c: Likewise.
20790 * nis/nis_defaults.c: Likewise.
20791 * nis/nis_hash.c: Likewise.
20792 * nis/nis_print.c: Likewise.
20793 * nis/nis_xdr.c: Likewise.
20794 * nscd/connections.c: Likewise.
20795 * nscd/hstcache.c: Likewise.
20796 * nscd/nscd_gethst_r.c: Likewise.
20797 * nscd/nscd_getserv_r.c: Likewise.
20798 * nscd/nscd_helper.c: Likewise.
20799 * nscd/servicescache.c: Likewise.
20800 * nss/makedb.c: Likewise.
20801 * nss/nss_db/db-XXX.c: Likewise.
20802 * nss/nss_db/db-initgroups.c: Likewise.
20803 * nss/nss_db/db-netgrp.c: Likewise.
20804 * nss/nss_files/files-network.c: Likewise.
20805 * nss/nss_files/files-parse.c: Likewise.
20806 * posix/bug-regex5.c: Likewise.
20807 * posix/fnmatch_loop.c: Likewise.
20808 * posix/regcomp.c: Likewise.
20809 * posix/regexec.c: Likewise.
20810 * posix/tst-rfc3484-2.c: Likewise.
20811 * posix/tst-rfc3484-3.c: Likewise.
20812 * posix/tst-rfc3484.c: Likewise.
20813 * resolv/nss_dns/dns-canon.c: Likewise.
20814 * resolv/nss_dns/dns-network.c: Likewise.
20815 * resolv/res_init.c: Likewise.
20816 * resolv/res_mkquery.c: Likewise.
20817 * resolv/tst-aton.c: Likewise.
20818 * stdlib/cxa_atexit.c: Likewise.
20819 * stdlib/cxa_finalize.c: Likewise.
20820 * stdlib/gen-fpioconst.c: Likewise.
20821 * stdlib/strtol_l.c: Likewise.
20822 * string/tst-endian.c: Likewise.
20823 * sunrpc/auth_des.c: Likewise.
20824 * sunrpc/clnt_udp.c: Likewise.
20825 * sunrpc/rtime.c: Likewise.
20826 * sunrpc/svcauth_des.c: Likewise.
20827 * sunrpc/xdr.c: Likewise.
20828 * sunrpc/xdr_intXX_t.c: Likewise.
20829 * sunrpc/xdr_rec.c: Likewise.
20830 * sysdeps/generic/ldconfig.h: Likewise.
20831 * sysdeps/generic/ldsodefs.h: Likewise.
20832 * sysdeps/generic/memusage.h: Likewise.
20833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20836 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20843 * sysdeps/posix/getaddrinfo.c: Likewise.
20844 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20845 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20846 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20847 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20848 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20849 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20850 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20851 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20852 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20853 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20854 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20855 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20856 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20857 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20858 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20859 * sysdeps/x86_64/dl-tls.h: Likewise.
20860 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20861 * time/alt_digit.c: Likewise.
20862 * time/era.c: Likewise.
20863 * wcsmbs/tst-c16c32-1.c: Likewise.
20865 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20867 * math/libm-test.inc (struct test_sincos_data): New type.
20868 (RUN_TEST_LOOP_sincos): New macro.
20869 (sincos_test_data): New variable.
20870 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20872 2013-05-16 Richard Henderson <rth@redhat.com>
20874 * math/atest-exp2.c (LIMB64): New macro.
20875 (CONSTSZ): New macro.
20876 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20878 (print_mpn_fp): ... to function scope.
20879 (read_mpn_hex): Remove.
20880 (get_log2): Remove.
20881 (exp2_mpn): Use mp_log2.
20882 (main): Use mp_exp1.
20884 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20886 * math/libm-test.inc: Remove comment about not testing "inexact"
20888 (INEXACT_EXCEPTION): New macro.
20889 (NO_INEXACT_EXCEPTION): Likewise.
20890 (INVALID_EXCEPTION_OK): Update value.
20891 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20892 (OVERFLOW_EXCEPTION_OK): Likewise.
20893 (UNDERFLOW_EXCEPTION_OK): Likewise.
20894 (IGNORE_ZERO_INF_SIGN): Likewise.
20895 (ERRNO_UNCHANGED): Likewise.
20896 (ERRNO_EDOM): Likewise.
20897 (ERRNO_ERANGE): Likewise.
20898 (test_exceptions): Handle testing "inexact" exceptions.
20899 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20900 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20901 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20902 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20904 (rint_towardzero_test_data): Likewise.
20905 (rint_downward_test_data): Likewise.
20906 (rint_upward_test_data): Likewise.
20908 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20909 with OVERFLOW_EXCEPTION.
20910 (exp10_test_data): Likewise.
20911 (exp2_test_data): Likewise.
20912 (expm1_test_data): Likewise.
20913 (lgamma_test_data): Likewise.
20914 (pow_test_data): Likewise.
20915 (tgamma_test_data): Likewise.
20916 (yn_test_data): Remove duplicate test of overflow.
20918 * math/libm-test.inc (struct test_cc_c_data): New type.
20919 (RUN_TEST_LOOP_cc_c): New macro.
20920 (cpow_test_data): New variable.
20921 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20923 * math/libm-test.inc (struct test_f_L_data): New type.
20924 (RUN_TEST_LOOP_f_L): New macro.
20925 (llrint_test_data): New variable.
20926 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20927 (llrint_tonearest_test_data): New variable.
20928 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20929 (llrint_towardzero_test_data): New variable.
20930 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20931 (llrint_downward_test_data): New variable.
20932 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20933 (llrint_upward_test_data): New variable.
20934 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20935 (llround_test_data): New variable.
20936 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20938 2013-05-13 Peter Collingbourne <pcc@google.com>
20940 * math/atest-exp2.c (get_log2): Remove const attribute.
20942 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20944 * math/libm-test.inc (struct test_f_l_data): New type.
20945 (RUN_TEST_LOOP_f_l): New macro.
20946 (lrint_test_data): New variable.
20947 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20948 (lrint_tonearest_test_data): New variable.
20949 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20950 (lrint_towardzero_test_data): New variable.
20951 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20952 (lrint_downward_test_data): New variable.
20953 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20954 (lrint_upward_test_data): New variable.
20955 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20956 (lround_test_data): New variable.
20957 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20959 2013-05-15 Peter Collingbourne <pcc@google.com>
20961 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20962 (EXTRACT_WORDS64) Use where appropriate.
20963 (INSERT_WORDS64) Likewise.
20965 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20966 constraints with x constraints.
20967 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20969 * malloc/obstack.c (_obstack_compat): Add initializer.
20971 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20974 si_trapno and add si_addr_lsb to _sifields.sigfault.
20975 (si_trapno): Remove macro.
20976 (si_addr_lsb): Define new macro.
20977 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20979 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20981 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20982 instead of TEST_f_l.
20983 (llrint_test_tonearest): Likewise.
20984 (llrint_test_towardzero): Likewise.
20985 (llrint_test_downward): Likewise.
20986 (llrint_test_upward): Likewise.
20987 (llround_test): Likewise.
20989 * math/libm-test.inc (struct test_f_i_data): Add comment.
20990 (RUN_TEST_LOOP_f_b): New macro.
20991 (RUN_TEST_LOOP_f_b_tg): Likewise.
20992 (finite_test_data): New variable.
20993 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20994 (isfinite_test_data): New variable.
20995 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20996 (isinf_test_data): New variable.
20997 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20998 (isnan_test_data): New variable.
20999 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21000 (isnormal_test_data): New variable.
21001 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21002 (issignaling_test_data): New variable.
21003 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21004 (signbit_test_data): New variable.
21005 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21007 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21008 with INVALID_EXCEPTION.
21009 (acosh_test_data): Likewise.
21010 (asin_test_data): Likewise.
21011 (atanh_test_data): Likewise.
21012 (fmod_test_data): Likewise.
21013 (log_test_data): Likewise.
21014 (log10_test_data): Likewise.
21015 (log2_test_data): Likewise.
21016 (pow_test_data): Likewise.
21017 (sqrt_test_data): Likewise.
21018 (y0_test_data): Likewise.
21019 (y1_test_data): Likewise.
21020 (yn_test_data): Likewise.
21022 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21025 * math/libm-test.inc (struct test_ff_i_data): New type.
21026 (RUN_TEST_LOOP_ff_i_tg): New macro.
21027 (isgreater_test_data): New variable.
21028 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21029 (isgreaterequal_test_data): New variable.
21030 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21031 (isless_test_data): New variable.
21032 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21033 (islessequal_test_data): New variable.
21034 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21035 (islessgreater_test_data): New variable.
21036 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21037 (isunordered_test_data): New variable.
21038 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21040 2013-05-14 David S. Miller <davem@davemloft.net>
21042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21044 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21046 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21048 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21050 (struct test_f_i_data): Change type of max_ulp to int.
21052 * math/libm-test.inc (test_ffI_f1_data): New type.
21053 (RUN_TEST_LOOP_ffI_f1): New macro.
21054 (remquo_test_data): New variable.
21055 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21057 * setjmp/tst-setjmp-fp.c: New file.
21058 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21059 (link-libm): New variable.
21060 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21062 * math/libm-test.inc (struct test_f_i_data): New type.
21063 (RUN_TEST_LOOP_f_i): New macro.
21064 (RUN_TEST_LOOP_f_i_tg): Likewise.
21065 (fpclassify_test_data): New variable.
21066 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21067 (ilogb_test_data): New variable.
21068 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21070 * math/libm-test.inc (scalbln_test): Correct function name in END
21073 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21074 (RUN_TEST_LOOP_fI_f1): New macro.
21075 (frexp_test_data): New variable.
21076 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21078 * math/libm-test.inc (struct test_fF_f1_data): New type.
21079 (RUN_TEST_LOOP_fF_f1): New macro.
21080 (modf_test_data): New variable.
21081 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21083 * math/libm-test.inc (struct test_f_f1_data): New type.
21084 (RUN_TEST_LOOP_f_f1): New macro.
21085 (gamma_test_data): New variable.
21086 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21087 (lgamma_test_data): New variable.
21088 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21090 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21092 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21093 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21094 (main): Comment "tls" pseudo-hwcap.
21096 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21098 * math/libm-test.inc (struct test_fl_f_data): New type.
21099 (RUN_TEST_LOOP_fl_f): New variable.
21100 (scalbln_test_data): New variable.
21101 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21103 * math/libm-test.inc (struct test_fi_f_data): New type.
21104 (RUN_TEST_LOOP_fi_f): New macro.
21105 (ldexp_test_data): New variable.
21106 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21107 (scalbn_test_data): New variable.
21108 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21110 * math/libm-test.inc (struct test_c_f_data): New type.
21111 (RUN_TEST_LOOP_c_f): New macro.
21112 (cabs_test_data): New variable.
21113 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21114 (carg_test_data): New variable.
21115 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21116 (cimag_test_data): New variable.
21117 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21118 (creal_test_data): New variable.
21119 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21121 * math/libm-test.inc (struct test_if_f_data): New type.
21122 (RUN_TEST_LOOP_if_f): New macro.
21123 (jn_test_data): New variable.
21124 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21125 (yn_test_data): New variable.
21126 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21128 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21130 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21132 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21133 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21135 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21137 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21138 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21139 (bench-deps): Add bench-timing.h.
21140 * benchtests-bench-skeleton.c: Include bench-timing.h.
21141 (main): Use TIMING_* macros instead of clock_gettime.
21142 * benchtests/bench-timing.h: New file.
21145 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21146 Renamed from _LIB_VERSION.
21147 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21149 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21151 * math/libm-test.inc (struct test_fff_f_data): New type.
21152 (RUN_TEST_LOOP_fff_f): New macro.
21153 (fma_test_data): New variable.
21154 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21155 (fma_towardzero_test_data): New variable.
21156 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21157 (fma_downward_test_data): New variable.
21158 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21159 (fma_upward_test_data): New variable.
21160 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21162 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21163 (struct test_c_c_data): New type.
21164 (RUN_TEST_LOOP_c_c): New macro.
21165 (cacos_test_data): New variable.
21166 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21167 (cacosh_test_data): New variable.
21168 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21169 (casin_test_data): New variable.
21170 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21171 (casinh_test_data): New variable.
21172 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21173 (catan_test_data): New variable.
21174 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21175 (catanh_test_data): New variable.
21176 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21177 (ccos_test_data): New variable.
21178 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21179 (ccosh_test_data): New variable.
21180 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21181 (cexp_test_data): New variable.
21182 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21183 (clog_test_data): New variable.
21184 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21185 (clog10_test_data): New variable.
21186 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21187 (conj_test_data): New variable.
21188 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21189 (cproj_test_data): New variable.
21190 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21191 (csin_test_data): New variable.
21192 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21193 (csinh_test_data): New variable.
21194 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21195 (csqrt_test_data): New variable.
21196 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21197 (ctan_test_data): New variable.
21198 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21199 (ctan_tonearest_test_data): New variable.
21200 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21201 (ctan_towardzero_test_data): New variable.
21202 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21203 (ctan_downward_test_data): New variable.
21204 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21205 (ctan_upward_test_data): New variable.
21206 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21207 (ctanh_test_data): New variable.
21208 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21209 (ctanh_tonearest_test_data): New variable.
21210 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21211 (ctanh_towardzero_test_data): New variable.
21212 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21213 (ctanh_downward_test_data): New variable.
21214 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21215 (ctanh_upward_test_data): New variable.
21216 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21217 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21220 * math/libm-test.inc (struct test_ff_f_data): New type.
21221 (struct test_ff_f_data_nexttoward): Likewise.
21222 (RUN_TEST_LOOP_2_f): New macro.
21223 (RUN_TEST_LOOP_ff_f): Likewise.
21224 (atan2_test_data): New variable.
21225 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21226 (copysign_test_data): New variable.
21227 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21228 (fdim_test_data): New variable.
21229 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21230 (fmax_test_data): New variable.
21231 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21232 (fmin_test_data): New variable.
21233 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21234 (fmod_test_data): New variable.
21235 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21236 (hypot_test_data): New variable.
21237 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21238 (nextafter_test_data): New variable.
21239 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21240 (nexttoward_test_data): New variable.
21241 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21242 (pow_test_data): New variable.
21243 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21244 (pow_tonearest_test_data): New variable.
21245 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21246 (pow_towardzero_test_data): New variable.
21247 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21248 (pow_downward_test_data): New variable.
21249 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21250 (pow_upward_test_data): New variable.
21251 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21252 (remainder_test_data): New variable.
21253 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21254 (scalb_test_data): New variable.
21255 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21256 * sysdeps/i386/fpu/libm-test-ulps: Update.
21258 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21260 * math/libm-test.inc (fma_test): Use max_value instead of local
21262 (nextafter_test): Likewise.
21264 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21265 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21266 (acos_downward_test_data): New variable.
21267 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21268 (acos_upward_test_data): New variable.
21269 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21270 (acosh_test_data): New variable.
21271 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21272 (asin_test_data): New variable.
21273 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21274 (asin_tonearest_test_data): New variable.
21275 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21276 (asin_towardzero_test_data): New variable.
21277 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21278 (asin_downward_test_data): New variable.
21279 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21280 (asin_upward_test_data): New variable.
21281 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21282 (asinh_test_data): New variable.
21283 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21284 (atan_test_data): New variable.
21285 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21286 (atanh_test_data): New variable.
21287 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21288 (cbrt_test_data): New variable.
21289 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21290 (ceil_test_data): New variable.
21291 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21292 (cos_test_data): New variable.
21293 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21294 (cos_tonearest_test_data): New variable.
21295 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21296 (cos_towardzero_test_data): New variable.
21297 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21298 (cos_downward_test_data): New variable.
21299 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21300 (cos_upward_test_data): New variable.
21301 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21302 (cosh_test_data): New variable.
21303 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21304 (cosh_tonearest_test_data): New variable.
21305 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21306 (cosh_towardzero_test_data): New variable.
21307 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21308 (cosh_downward_test_data): New variable.
21309 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21310 (cosh_upward_test_data): New variable.
21311 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21312 (erf_test_data): New variable.
21313 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21314 (erfc_test_data): New variable.
21315 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21316 (exp_test_data): New variable.
21317 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21318 (exp_tonearest_test_data): New variable.
21319 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21320 (exp_towardzero_test_data): New variable.
21321 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21322 (exp_downward_test_data): New variable.
21323 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21324 (exp_upward_test_data): New variable.
21325 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21326 (exp10_test_data): New variable.
21327 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21328 (exp2_test_data): New variable.
21329 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21330 (expm1_test_data): New variable.
21331 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21332 (fabs_test_data): New variable.
21333 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21334 (floor_test_data): New variable.
21335 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21336 (j0_test_data): New variable.
21337 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21338 (j1_test_data): New variable.
21339 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21340 (log_test_data): New variable.
21341 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21342 (log10_test_data): New variable.
21343 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21344 (log1p_test_data): New variable.
21345 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21346 (log2_test_data): New variable.
21347 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21348 (logb_test_data): New variable.
21349 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21350 (logb_downward_test_data): New variable.
21351 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21352 (nearbyint_test_data): New variable.
21353 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21354 (rint_test_data): New variable.
21355 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21356 (rint_tonearest_test_data): New variable.
21357 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21358 (rint_towardzero_test_data): New variable.
21359 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21360 (rint_downward_test_data): New variable.
21361 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21362 (rint_upward_test_data): New variable.
21363 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21364 (round_test_data): New variable.
21365 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21366 (sin_test_data): New variable.
21367 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21368 (sin_tonearest_test_data): New variable.
21369 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21370 (sin_towardzero_test_data): New variable.
21371 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21372 (sin_downward_test_data): New variable.
21373 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21374 (sin_upward_test_data): New variable.
21375 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21376 (sinh_test_data): New variable.
21377 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21378 (sinh_tonearest_test_data): New variable.
21379 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21380 (sinh_towardzero_test_data): New variable.
21381 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21382 (sinh_downward_test_data): New variable.
21383 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21384 (sinh_upward_test_data): New variable.
21385 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21386 (sqrt_test_data): New variable.
21387 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21388 (tan_test_data): New variable.
21389 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21390 (tan_tonearest_test_data): New variable.
21391 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21392 (tan_towardzero_test_data): New variable.
21393 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21394 (tan_downward_test_data): New variable.
21395 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21396 (tan_upward_test_data): New variable.
21397 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21398 (tanh_test_data): New variable.
21399 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21400 (tgamma_test_data): New variable.
21401 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21402 (trunc_test_data): New variable.
21403 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21404 (y0_test_data): New variable.
21405 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21406 (y1_test_data): New variable.
21407 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21408 (significand_test_data): New variable.
21409 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21411 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21414 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21416 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21418 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21420 2013-05-10 Andreas Jaeger <aj@suse.de>
21423 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21424 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21426 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21428 * math/gen-libm-test.pl (adjust_arg): New function.
21429 (special_functions): Handle generating output in both functions
21431 (parse_args): Likewise.
21432 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21433 $in_func argument to parse_args.
21434 * math/libm-test.inc (struct test_f_f_data): New type.
21435 (IF_ROUND_INIT_): New macro.
21436 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21437 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21438 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21439 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21440 (ROUND_RESTORE_): Likewise.
21441 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21442 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21443 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21444 (ROUND_RESTORE_FE_UPWARD): Likewise.
21445 (RUN_TEST_LOOP_f_f): New macro.
21446 (acos_test_data): New variable.
21447 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21448 (acos_tonearest_test_data): New variable.
21449 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21451 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21453 * benchtests/bench-skeleton.c (startup): Fix coding style.
21455 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21458 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21459 negative infinity argument.
21460 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21461 negative infinity argument.
21462 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21463 negative infinity argument.
21464 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21467 2013-05-10 Florian Weimer <fweimer@redhat.com>
21469 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21470 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21471 * iconv/iconv_prog.c (main): Likewise.
21472 * locale/programs/charmap-dir.c (charmap_readdir)
21473 (fopen_uncompressed): Likewise.
21474 * locale/programs/locfile.c (siblings_uncached)
21475 (write_locale_data): Use lstat64 instead of lstat.
21476 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21479 2013-05-10 Andreas Jaeger <aj@suse.de>
21482 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21484 Include <locale.h>.
21486 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21488 * elf/dl-close.c (_dl_close_worker): Add comments.
21490 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21493 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21495 (__ieee754_rem_pio2l): Update comments.
21498 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21500 (__ieee754_rem_pio2l): Update comments.
21502 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21503 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21505 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21508 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21509 (M_PI_34_LOG10El): Likewise.
21510 (M_PI2_LOG10El): Likewise.
21511 (M_PI4_LOG10El): Likewise.
21512 (M_PI_LOG10El): Likewise.
21514 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21518 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21520 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21521 (MINUS_ZERO_INIT): Likewise.
21522 (PLUS_INFTY_INIT): Likewise.
21523 (MINUS_INFTY_INIT): Likewise.
21524 (QNAN_VALUE_INIT): Likewise.
21525 (MAX_VALUE_INIT): Likewise.
21526 (MIN_VALUE_INIT): Likewise.
21527 (MIN_SUBNORM_VALUE_INIT): Likewise.
21528 (plus_zero): Initialize with PLUS_ZERO_INIT.
21529 (minus_zero): Initialize with MINUS_ZERO_INIT.
21530 (plus_infty): Initialize with PLUS_INFTY_INIT.
21531 (minus_infty): Initialize with MINUS_INFTY_INIT.
21532 (qnan_value): Initialize with QNAN_VALUE_INIT.
21533 (max_value): Initialize with MAX_VALUE_INIT.
21534 (min_value): Initialize with MIN_VALUE_INIT.
21535 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21537 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21538 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21539 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21540 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21542 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21543 (RUN_TEST_2_f): Likewise.
21544 (RUN_TEST_ff_f): Likewise.
21545 (RUN_TEST_fi_f): Likewise.
21546 (RUN_TEST_fl_f): Likewise.
21547 (RUN_TEST_fff_f): Likewise.
21548 (RUN_TEST_c_f): Likewise.
21549 (RUN_TEST_f_f1): Likewise.
21550 (RUN_TEST_fF_f1): Likewise.
21551 (RUN_TEST_fI_f1): Likewise.
21552 (RUN_TEST_ffI_f1): Likewise.
21553 (RUN_TEST_c_c): Likewise.
21554 (RUN_TEST_cc_c): Likewise.
21555 (RUN_TEST_f_i): Likewise.
21556 (RUN_TEST_f_i_tg): Likewise.
21557 (RUN_TEST_ff_i_tg): Likewise.
21558 (RUN_TEST_f_b): Likewise.
21559 (RUN_TEST_f_b_tg): Likewise.
21560 (RUN_TEST_f_l): Likewise.
21561 (RUN_TEST_f_L): Likewise.
21562 (RUN_TEST_sincos): Likewise.
21563 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21564 whether to show exceptions. Do not include ");\n" in return
21566 (special_functions): Output call to RUN_TEST_sincos instead of
21567 check_float calls. Update calls to new_test.
21568 (parse_args): Output call to single RUN_TEST_* macro instead of
21569 check_* calls and other assignments. Update calls to new_test.
21575 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21576 input to result for tgamma overflow.
21577 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21578 (gamma_coeff): New variable.
21579 (NCOEFF): New macro.
21580 (gamma_positive): New function.
21581 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21582 underflow here. Use gamma_positive instead of exp (lgamma) for
21584 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21585 (gamma_coeff): New variable.
21586 (NCOEFF): New macro.
21587 (gammaf_positive): New function.
21588 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21589 underflow here. Use gamma_positive instead of exp (lgamma) for
21591 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21592 (gamma_coeff): New variable.
21593 (NCOEFF): New macro.
21594 (gammal_positive): New function.
21595 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21596 underflow here. Use gamma_positive instead of exp (lgamma) for
21598 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21599 (gamma_coeff): New variable.
21600 (NCOEFF): New macro.
21601 (gammal_positive): New function.
21602 (__ieee754_gammal_r): Handle positive infinity, overflow and
21603 underflow here. Handle NaN the same as positive infinity. Remove
21604 check x < 0xffffffff for negative integers. Use gamma_positive
21605 instead of exp (lgamma) for other arguments.
21606 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21607 (gamma_coeff): New variable.
21608 (NCOEFF): New macro.
21609 (gammal_positive): New function.
21610 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21611 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21612 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21615 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21616 * sysdeps/generic/math_private.h (__gamma_productf): New
21618 (__gamma_product): Likewise.
21619 (__gamma_productl): Likewise.
21620 * math/Makefile (libm-calls): Add gamma_product.
21621 * math/libm-test.inc (tgamma_test): Add more tests.
21622 * sysdeps/i386/fpu/libm-test-ulps: Update.
21623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21625 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21627 * benchtests/bench-skeleton.c (main): Preheat CPU.
21629 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21631 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21633 2013-05-07 Roland McGrath <roland@hack.frob.com>
21635 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21636 and _dl_skip_args_internal.
21638 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21640 * manual/message.texi (Message Translation): Talk about users.
21641 Message to key mapping impacts design.
21643 2013-05-06 Roland McGrath <roland@hack.frob.com>
21645 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21647 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21649 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21650 * sysdeps/wordsize-64/glob64.c: ... here.
21652 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21653 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21656 * debug/getlogin_r_chk.c: Moved to ...
21657 * login/getlogin_r_chk.c: ... here.
21658 * debug/Makefile (routines): Move getlogin_r_chk to ...
21659 * login/Makefile (routines): ... here.
21660 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21661 * login/Versions (libc: GLIBC_2.4): ... here.
21663 * io/poll.c (__poll): Renamed from poll.
21664 Add libc_hidden_def.
21665 (poll): Define as weak alias.
21667 * debug/ptsname_r_chk.c: Moved to ...
21668 * login/ptsname_r_chk.c: ... here.
21669 * debug/Makefile (routines): Move ptsname_r_chk to ...
21670 * login/Makefile (routines): ... here.
21671 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21672 * login/Versions (libc: GLIBC_2.4): ... here.
21674 * posix/getlogin.c: Moved to ...
21675 * login/getlogin.c: ... here.
21676 * posix/getlogin_r.c: Moved to ...
21677 * login/getlogin_r.c: ... here.
21678 * posix/getlogin_r.c: Moved to ...
21679 * login/getlogin_r.c: ... here.
21680 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21681 * login/Makefile (routines): ... here.
21682 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21683 * login/Versions (libc: GLIBC_2.0): ... here.
21685 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21686 (setrlimit): Define as weak alias.
21688 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21689 Call __ names for open, ftruncate, and close.
21690 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21691 (truncate): Define as weak alias.
21693 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21695 * math/gen-libm-test.pl (parse_args): Initialize x before each
21696 test of frexp, modf and remquo.
21698 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21699 test signgam value.
21701 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21705 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21707 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21709 2013-05-06 Roland McGrath <roland@hack.frob.com>
21711 * elf/dl-writev.h: New file.
21712 * elf/dl-misc.c: Include it.
21713 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21714 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21716 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21718 * math/libm-test.inc (noXFails): Remove variable.
21719 (noXPasses): Likewise.
21720 (BUILD_COMPLEX_INT): Remove macro.
21721 (print_screen): Remove xfail argument.
21722 (print_screen_max_error): Likewise.
21723 (update_stats): Likewise.
21724 (print_max_error): Likewise. Update calls to other affected
21726 (print_complex_max_error): Likewise.
21727 (test_single_exception): Update calls to print_screen.
21728 (test_single_errno): Likewise.
21729 (check_float_internal): Remove xfail argument. Update calls to
21730 other affected functions.
21731 (check_float): Likewise.
21732 (check_complex): Likewise.
21733 (check_int): Likewise.
21734 (check_long): Likewise.
21735 (check_bool): Likewise.
21736 (check_longlong): Likewise.
21737 (main): Don't print noXFails and noXPasses.
21738 * math/gen-libm-test.pl (top level): Don't mention expected
21739 failure handling in comment.
21740 (new_test): Don't handle expected failures.
21741 (parse_args): Don't mention expected failure handling in comment.
21742 (generate_testfile): Don't handle expected failures.
21743 (parse_ulps): Likewise.
21744 (print_ulps_file): Likewise.
21745 (get_failure): Remove function.
21746 (output_test): Don't handle expected failures.
21747 * make/README.libm-test: Don't mention expected failure handling.
21749 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21750 (minus_zero): Likewise.
21751 (plus_infty): Likewise.
21752 (minus_infty): Likewise.
21753 (qnan_value): Likewise.
21754 (max_value): Likewise.
21755 (min_value): Likewise.
21756 (min_subnorm_value): Likewise.
21757 (initialize): Do not initialize those variables dynamically.
21759 2013-05-03 Roland McGrath <roland@hack.frob.com>
21761 * io/open.c (__open_2): Moved to ...
21762 * io/open_2.c: ... this new file.
21763 * io/open64.c (__open64_2): Moved to ...
21764 * io/open64_2.c: ... this new file.
21765 * io/openat.c (__openat_2): Moved to ...
21766 * io/openat_2.c: ... this new file.
21767 * io/openat64.c (__openat64_2): Moved to ...
21768 * io/openat64_2.c: ... this new file.
21769 * io/Makefile (routines): Add them.
21770 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21771 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21772 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21773 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21774 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21775 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21776 (__openat64): Add hidden_ver.
21777 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21778 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21780 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21781 Separately conditionalize setting of GLRO(dl_sysinfo) so
21782 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21783 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21785 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21787 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21788 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21790 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21791 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21792 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21793 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21794 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21796 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21798 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21799 test signgam value.
21801 * math/libm-test.inc (hypot_test): Do not use
21802 IGNORE_ZERO_INF_SIGN.
21804 2013-05-03 Andreas Jaeger <aj@suse.de>
21806 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21808 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21809 (PF_MAX): Adjust for VSOCK change.
21811 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21815 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21818 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21819 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21820 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21822 2013-05-02 David S. Miller <davem@davemloft.net>
21824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21826 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21828 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21830 2013-05-01 Roland McGrath <roland@hack.frob.com>
21832 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21834 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21837 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21838 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21839 Use __attribute__ ((__gnu_inline__)).
21840 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21841 Don't use __attribute__ ((__gnu_inline__)).
21843 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21846 * math/s_catan.c (__catan): Handle small real or imaginary part of
21847 input specially to avoid spurious underflow.
21848 * math/s_catanf.c (__catanf): Likewise.
21849 * math/s_catanh.c (__catanh): Likewise.
21850 * math/s_catanhf.c (__catanhf): Likewise.
21851 * math/s_catanhl.c (__catanhl): Likewise.
21852 * math/s_catanl.c (__catanl): Likewise.
21853 * math/libm-test.inc (catan_test): Add more tests.
21854 (catanh_test): Likewise.
21855 * sysdeps/i386/fpu/libm-test-ulps: Update.
21856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21858 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21862 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21865 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21866 accurately for denominator in atan2.
21867 * math/s_catanf.c (__catanf): Likewise.
21868 * math/s_catanh.c (__catanh): Likewise.
21869 * math/s_catanhf.c (__catanhf): Likewise.
21870 * math/s_catanhl.c (__catanhl): Likewise.
21871 * math/s_catanl.c (__catanl): Likewise.
21872 * math/libm-test.inc (catan_test): Add more tests.
21873 (catanh_test): Likewise.
21874 * sysdeps/i386/fpu/libm-test-ulps: Update.
21875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21877 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21879 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21881 * benchtests/Makefile (bench): Remove slow benchmarks.
21882 * benchtests/atan-inputs: Add slow benchmark inputs.
21883 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21884 (BENCH_FUNC): Accept variant offset.
21886 * benchtests/bench-skeleton.c (main): Run benchmark for each
21888 * benchtests/cos-inputs: Add slow benchmark inputs.
21889 * benchtests/exp-inputs: Likewise.
21890 * benchtests/pow-inputs: Likewise.
21891 * benchtests/sin-inputs: Likewise.
21892 * benchtests/slowatan-inputs: Remove.
21893 * benchtests/slowatan.c: Remove.
21894 * benchtests/slowcos-inputs: Remove.
21895 * benchtests/slowcos.c: Remove.
21896 * benchtests/slowexp-inputs: Remove.
21897 * benchtests/slowexp.c: Remove.
21898 * benchtests/slowpow-inputs: Remove.
21899 * benchtests/slowpow.c: Remove.
21900 * benchtests/slowsin-inputs: Remove.
21901 * benchtests/slowsin.c: Remove.
21902 * benchtests/slowtan-inputs: Remove.
21903 * benchtests/slowtan.c: Remove.
21904 * benchtests/tan-inputs: Add slow benchmark inputs.
21905 * scripts/bench.pl: Parse comments and directives.
21907 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21909 ($(objpfx)bench-%.c): Remove *-ITER.
21910 * benchtests/bench-modf.c: Remove definition of ITER.
21911 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21912 (main): Loop for DURATION seconds instead of fixed number of
21914 * scripts/bench.pl: Don't expect iterations in parameters.
21916 2013-04-29 Roland McGrath <roland@hack.frob.com>
21918 * io/fchdir.c (__fchdir): Renamed from fchdir.
21919 (fchdir): Define as weak alias.
21921 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21923 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21924 (ERRNO_EDOM): Likewise.
21925 (ERRNO_ERANGE): Likewise.
21926 (noErrnoTests): New variable.
21927 (init_max_error): Set errno to 0.
21928 (test_single_errno): New function.
21929 (test_errno): Likewise.
21930 (check_float_internal): Call test_errno. Set errno to 0.
21931 (check_complex): Refer to errno tests in comment.
21932 (check_int): Call test_errno. Set errno to 0.
21933 (check_long): Likewise.
21934 (check_bool): Likewise.
21935 (check_longlong): Likewise.
21936 (cos_test): Use ERRNO_* flags for errno tests instead of
21938 (expm1_test): Likewise.
21939 (fmod_test): Likewise.
21940 (ilogb_test): Likewise.
21941 (lgamma_test): Likewise.
21942 (pow_test): Likewise.
21943 (remainder_test): Likewise.
21944 (sin_test): Likewise.
21945 (tan_test): Likewise.
21946 (yn_test): Likewise.
21947 (initialize): Set errno to 0.
21948 (main): Print number of errno tests.
21949 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21951 2013-04-29 Andreas Jaeger <aj@suse.de>
21954 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21958 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21959 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21963 * stdlib/random.c (__initstate): Return NULL if
21967 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21968 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21971 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21975 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21977 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21978 of individual tests.
21979 (casin_test): Likewise.
21980 (casinh_test): Likewise.
21982 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21985 * math/s_catan.c (__catan): Handle arguments with large real or
21986 imaginary part separately without squaring.
21987 * math/s_catanf.c (__catanf): Likewise.
21988 * math/s_catanh.c (__catanh): Likewise.
21989 * math/s_catanhf.c (__catanhf): Likewise.
21990 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21992 (__catanhl): Handle arguments with large real or imaginary part
21993 separately without squaring.
21994 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21996 (__catanl): Handle arguments with large real or imaginary part
21997 separately without squaring.
21998 * math/libm-test.inc (catan_test): Add more tests.
21999 (catanh_test): Likewise.
22000 * sysdeps/i386/fpu/libm-test-ulps: Update.
22001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22003 2013-04-27 Andreas Jaeger <aj@suse.de>
22006 * stdlib/stdlib.h: Update guards for qecvt.
22007 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22010 2013-04-27 Allan McRae <allan@archlinux.org>
22012 * sysdeps/i386/fpu/libm-test-ulps: Update.
22014 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22017 * math/s_catan.c: Include <float.h>.
22018 (__catan): Ensure underflow exception occurs for underflowed
22020 * math/s_catanf.c: Include <float.h>.
22021 (__catanf): Ensure underflow exception occurs for underflowed
22023 * math/s_catanh.c: Include <float.h>.
22024 (__catanh): Ensure underflow exception occurs for underflowed
22026 * math/s_catanhf.c: Include <float.h>.
22027 (__catanhf): Ensure underflow exception occurs for underflowed
22029 * math/s_catanhl.c: Include <float.h>.
22030 (__catanhl): Ensure underflow exception occurs for underflowed
22032 * math/s_catanl.c: Include <float.h>.
22033 (__catanl): Ensure underflow exception occurs for underflowed
22035 * math/libm-test.inc (catan_test): Add more tests.
22036 (catanh_test): Likewise.
22039 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22040 underflowed result.
22041 * math/s_ccoshf.c (__ccoshf): Likewise.
22042 * math/s_ccoshl.c (__ccoshl): Likewise.
22043 * math/s_csin.c (__csin): Likewise.
22044 * math/s_csinf.c (__csinf): Likewise.
22045 * math/s_csinh.c (__csinh): Likewise.
22046 * math/s_csinhf.c (__csinhf): Likewise.
22047 * math/s_csinhl.c (__csinhl): Likewise.
22048 * math/s_csinl.c (__csinl): Likewise.
22049 * math/libm-test.inc (ccos_test): Add more tests.
22050 (ccosh_test): Likewise.
22051 (csin_test): Likewise.
22052 (csinh_test): Likewise.
22054 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22056 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22057 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22058 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22059 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22060 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22061 powerpc/power5+/fpu folders.
22062 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22065 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22069 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22071 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22072 additions to variable.
22073 [$(config-machine) = x86_64] (modules-names): Likewise.
22074 ($(objpfx)tst-audit3): Remove dependency.
22075 ($(objpfx)tst-audit3.out): Likewise.
22076 ($(objpfx)tst-audit4): Likewise.
22077 ($(objpfx)tst-audit4.out): Likewise.
22078 ($(objpfx)tst-audit5): Likewise.
22079 ($(objpfx)tst-audit5.out): Likewise.
22080 ($(objpfx)tst-audit6): Likewise.
22081 ($(objpfx)tst-audit6.out): Likewise.
22082 ($(objpfx)tst-audit7): Likewise.
22083 ($(objpfx)tst-audit7.out): Likewise.
22084 (tst-audit3-ENV): Remove variable.
22085 (tst-audit4-ENV): Likewise.
22086 (tst-audit5-ENV): Likewise.
22087 (tst-audit6-ENV): Likewise.
22088 (tst-audit7-ENV): Likewise.
22089 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22090 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22091 addition to variable.
22092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22095 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22096 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22097 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22098 tst-audit3, tst-audit4 and tst-audit5.
22099 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22100 tst-audit6 and tst-audit7.
22101 [$(subdir) = elf] (modules-names): Add audit modules for those
22103 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22104 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22105 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22106 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22107 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22108 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22109 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22110 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22111 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22112 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22113 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22114 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22115 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22116 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22117 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22118 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22120 [$(subdir) = elf && $(config-cflags-avx) = yes]
22121 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22122 [$(subdir) = elf && $(config-cflags-avx) = yes]
22123 (CFLAGS-tst-auditmod4a.c): Likewise.
22124 [$(subdir) = elf && $(config-cflags-avx) = yes]
22125 (CFLAGS-tst-auditmod4b.c): Likewise.
22126 [$(subdir) = elf && $(config-cflags-avx) = yes]
22127 (CFLAGS-tst-auditmod6b.c): Likewise.
22128 [$(subdir) = elf && $(config-cflags-avx) = yes]
22129 (CFLAGS-tst-auditmod6c.c): Likewise.
22130 [$(subdir) = elf && $(config-cflags-avx) = yes]
22131 (CFLAGS-tst-auditmod7b.c): Likewise.
22132 * elf/tst-audit3.c: Move to ...
22133 * sysdeps/x86_64/tst-audit3.c: ... here.
22134 * elf/tst-audit4.c: Move to ...
22135 * sysdeps/x86_64/tst-audit4.c: ... here.
22136 * elf/tst-audit5.c: Move to ...
22137 * sysdeps/x86_64/tst-audit5.c: ... here.
22138 * elf/tst-audit6.c: Move to ...
22139 * sysdeps/x86_64/tst-audit6.c: ... here.
22140 * elf/tst-audit7.c: Move to ...
22141 * sysdeps/x86_64/tst-audit7.c: ... here.
22142 * elf/tst-auditmod3a.c: Move to ...
22143 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22144 * elf/tst-auditmod3b.c: Move to ...
22145 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22146 * elf/tst-auditmod4a.c: Move to ...
22147 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22148 * elf/tst-auditmod4b.c: Move to ...
22149 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22150 * elf/tst-auditmod5a.c: Move to ...
22151 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22152 * elf/tst-auditmod5b.c: Move to ...
22153 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22154 * elf/tst-auditmod6a.c: Move to ...
22155 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22156 * elf/tst-auditmod6b.c: Move to ...
22157 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22158 * elf/tst-auditmod6c.c: Move to ...
22159 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22160 * elf/tst-auditmod7a.c: Move to ...
22161 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22162 * elf/tst-auditmod7b.c: Move to ...
22163 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22165 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22168 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22169 define unconditionally.
22170 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22171 define unconditionally.
22172 (INT8_C, INT16_C, etc.): Likewise.
22174 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22176 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22177 __ehdr_start with hidden visibility.
22179 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22181 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22183 * math/libm-test.inc (cos_test): Use accurate hex constants.
22184 (sincost_test): Likewise.
22186 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22188 * math/libm-test.inc (catan_test): Add more tests.
22189 (catanh_test): Likewise.
22191 * math/s_catanf.c (__catanf): Use suffixed floating-point
22193 * math/s_catanhf.c (__catanhf): Likewise.
22194 * math/s_catanhl.c (__catanhl): Likewise.
22195 * math/s_catanl.c (__catanl): Likewise.
22198 * math/s_catan.c (__catan): Calculate imaginary part of result
22199 with log1p not log unless computing log of number close to 0.
22200 * math/s_catanf.c (__catanf): Likewise.
22201 * math/s_catanl.c (__catanl): Likewise.
22202 * math/s_catanh.c (__catanh): Calculate real part of result with
22203 log1p not log unless computing log of number close to 0.
22204 * math/s_catanhf.c (__catanhf): Likewise.
22205 * math/s_catanhl.c (__catanhl): Likewise.
22206 * math/libm-test.inc (catan_test): Add more tests.
22207 (catanh_test): Likewise.
22208 * sysdeps/i386/fpu/libm-test-ulps: Update.
22209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22211 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22213 * benchtests/Makefile: Mention files in which fast and slow
22214 paths of math functions are implemented.
22216 2013-04-23 Roland McGrath <roland@hack.frob.com>
22218 * sysdeps/posix/timespec_get.c: New file.
22220 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22222 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22224 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22226 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22227 powerpc/power5/fpu folders.
22228 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22229 * benchtests/Makefile: Add modf testcase.
22230 * benchtests/bench-modf.c: New file: Benchmark test for mo
22232 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22235 * time/Makefile (tests): Add tst-strptime-whitespace.
22236 * time/strptime_l.c (get_number): Use ISSPACE.
22237 (__strptime_internal): Likewise.
22238 * time/tst-strptime-whitespace.c: New test case.
22240 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22242 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22244 (_nss_files_init): Set it here.
22246 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22248 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22249 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22252 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22254 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22256 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22261 2013-04-21 David S. Miller <davem@davemloft.net>
22263 * po/ru.po: Update Russion translation from translation project.
22265 2013-04-17 Adam Conrad <adconrad@0c3.net>
22267 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22270 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22272 * configure.in: Remove i386 configure warning. Remove i386 case.
22273 * configure: Regenerate.
22274 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22275 Add example to error message.
22276 * sysdeps/i386/configure: Regenerate.
22278 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22280 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22282 * benchtests/cos-inputs: New file.
22283 * benchtests/slowcos-inputs: New file.
22284 * benchtests/slowcos.c: New file.
22285 * benchtests/slowtan-inputs: New file.
22286 * benchtests/slowtan.c: New file.
22287 * benchtests/tan-inputs: New file.
22289 2013-04-16 Roland McGrath <roland@hack.frob.com>
22291 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22294 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22296 * benchtests/Makefile: Include cppflags-iterator.mk to add
22297 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22299 * Makefile.in (bench-clean): New target.
22300 * benchtests/Makefile (bench-clean): Likewise.
22302 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22304 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22306 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22308 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22310 2013-04-15 Andreas Schwab <schwab@suse.de>
22312 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22314 * nscd/pwdcache.c (cache_addpw): Likewise.
22315 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22318 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22320 * benchtests/Makefile (bench): Write all output to
22321 bench-out.tmp together.
22323 2013-04-15 Andreas Schwab <schwab@suse.de>
22325 * nscd/nscd.c (main): Don't fork again after closing files.
22327 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22329 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22331 * benchtests/Rules (bench-deps): Collect dependencies into a
22332 single variable. Add Makefile to dependencies.
22333 ($(objpfx)bench-%.c): Depend on bench-deps.
22335 2013-04-12 Roland McGrath <roland@hack.frob.com>
22336 Xavier Roche <roche+kml2@exalead.com>
22339 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22340 just that it's a file descriptor.
22341 * manual/llio.texi (Synchronizing AIO Operations): Update description
22342 for EBADF error from aio_fsync.
22344 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22346 * Rules (bench): Move target definition...
22347 * benchtests/Makefile: ... here.
22349 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22351 * math/libm-test.inc (cos_test): Fix PI/2 test.
22352 (sincos_test): Likewise.
22353 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22354 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22356 2013-04-11 Andreas Schwab <schwab@suse.de>
22359 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22360 accept exponent character only when digits were seen.
22361 * stdio-common/Makefile (tests): Add bug26.
22362 * stdio-common/bug26.c: New file.
22365 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22368 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22370 * Makeconfig (rtld-prefix): Define built linker prefix.
22371 * Rules (run-bench): Use it.
22372 * math/Makefile (run-regen-ulps): Likewise.
22374 * Rules (bench): Remove eval.
22376 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22377 Roland McGrath <roland@hack.frob.com>
22378 Ondrej Bilka <neleai@seznam.cz>
22381 * time/getdate.c: Include ctype.h and alloca.h.
22382 (__getdate_r): Trim leading and trailing spaces of input.
22383 * time/tst-getdate.c (tests): Add tests with leading and
22386 2013-04-08 Roland McGrath <roland@hack.frob.com>
22389 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22390 when computing value.
22392 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22394 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22395 Use testrun.sh to run libm tests.
22398 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22400 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22403 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22405 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22407 * Makefile.in (regen-ulps): New target.
22408 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22409 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22410 [ifneq (no,$(PERL)] (regen-ulps): New target.
22411 [ifeq (no,$(PERL)] (regen-ulps): New target.
22412 * math/libm-test.inc (ulps_file_name): Define.
22413 (output_dir): New variable.
22414 (options): Add "output-dir" option.
22415 (parse_opt): Handle 'o' case.
22416 (main): If output_dir is non-NULL use it as a prefix
22418 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22420 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22422 [BZ #10060, #10062]
22423 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22424 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22425 fail configure if __sync_val_compare_and_swap is not inlined.
22426 * sysdeps/i386/configure: Regenerate.
22427 * configure.in: Build for i686 when configured for i386.
22428 * configure: Regenerate.
22429 * README: Remove i386 reference.
22431 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22433 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22436 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22438 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22439 (lmsnanval): New variables.
22440 (F): Add conversion tests.
22441 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22442 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22444 * stdio-common/tstdiomisc.c (F): Properly collect individual
22447 [BZ #14686, #15336]
22448 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22449 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22450 Instead, use input NaN values or generate a qNaN by arithmetic
22451 operation. Also fix bugs to comply with the standard.
22452 * math/libm-test.inc (remainder_test): Add more tests.
22454 [BZ #15335, #15342]
22455 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22457 input NaN values or generate a qNaN by arithmetic operation.
22459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22462 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22465 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22468 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22469 underflowed result.
22470 * math/s_cexpf.c (__cexpf): Likewise.
22471 * math/s_cexpl.c (__cexpl): Likewise.
22472 * math/libm-test.inc (cexp_test): Add more tests.
22474 2013-04-03 Andreas Schwab <schwab@suse.de>
22477 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22478 order arrays from heap if bigger than alloca cutoff.
22480 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22482 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22483 (SNAN_TESTS_double): Refer to GCC PR56831.
22484 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22487 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22489 * Rules (bench): Move bench.out after the run is complete.
22491 * Rules (bench): Echo currently running benchmark.
22493 * benchtests/Makefile (bench): Add atan and slowatan.
22494 * benchtests/atan-inputs: New file.
22495 * benchtests/slowatan-inputs: New file.
22496 * benchtests/slowatan.c: New file.
22498 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22499 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22503 * sysdeps/unix/sysv/linux/kernel-features.h
22504 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22505 __ASSUME_XFS_RESTRICTED_CHOWN.
22506 * sysdeps/unix/sysv/linux/pathconf.c
22507 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22508 Save and restore errno.
22510 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22513 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22514 arguments using __kernel_casinh.
22515 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22516 arguments using __kernel_casinhf.
22517 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22518 arguments using __kernel_casinhl.
22519 * math/libm-test.inc (cacosh_test): Add more tests.
22520 * sysdeps/i386/fpu/libm-test-ulps: Update.
22521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22523 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22525 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22528 * bench/Makefile (bench): Add sin and slowsin.
22529 * benchtests/sin-inputs: New file.
22530 * benchtests/slowsin-inputs: New file.
22531 * benchtests/slowsin.c: New file.
22533 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22534 (bench): Add slowexp and slowpow.
22535 (exp-ITER): Increase iterations.
22536 (pow-ITER): Likewise.
22537 * benchtests/exp-inputs: Change input.
22538 * benchtests/pow-inputs: Likewise.
22539 * benchtests/slowexp-inputs: New file.
22540 * benchtests/slowexp.c: New file.
22541 * benchtests/slowpow-inputs: New file.
22542 * benchtests/slowpow.c: New file.
22544 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22546 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22548 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22549 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22550 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22551 * benchtests/Makefile: Add rint benchtest.
22552 * benchtests/rint-inputs: Input for rint benchtest.
22554 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22556 * Versions.def (libm): Add GLIBC_2.18.
22557 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22558 hidden libm prototypes.
22559 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22560 * math/Makefile (libm-calls): Add s_issignaling.
22561 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22562 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22563 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22565 * math/math.h [__USE_GNU] (issignaling): New macro.
22566 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22567 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22569 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22572 * manual/arith.texi (issignaling): New section.
22573 * manual/libm-err-tab.pl (@all_functions): Update comment.
22574 * math/gen-libm-test.pl (parse_args): Apply special handling for
22576 * math/libm-test.inc (print_float, issignaling_test): New
22578 (check_float_internal): Add issignaling checks.
22579 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22580 default definition.
22581 * sysdeps/powerpc/math-tests.h: New file.
22582 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22584 * math/test-snan.c (TEST_FUNC): Likewise.
22586 2013-03-30 David S. Miller <davem@davemloft.net>
22588 * po/de.po: Update from translation team.
22590 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22593 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22594 imaginary part less than 1.0 and real part less than 0.5
22596 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22597 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22598 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22599 (cacos_test): Add more tests.
22600 (casin_test): Likewise.
22601 (casinh_test): Likewise.
22602 * sysdeps/i386/fpu/libm-test-ulps: Update.
22603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22605 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22608 ONE with its value.
22610 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22611 (__pow_mp): Replace ONE and MONE with their values.
22612 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22613 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22614 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22615 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22616 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22617 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22619 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22621 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22622 (__pow_mp): Replace ZERO and MZERO with their values.
22623 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22625 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22627 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22628 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22631 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22633 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22635 2013-03-28 Roland McGrath <roland@hack.frob.com>
22637 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22638 Declare with __attribute__ ((weak)).
22639 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22640 Call __call_tls_dtors only if it's not NULL.
22642 2013-03-28 Roland McGrath <roland@hack.frob.com>
22644 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22645 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22646 magic __ehdr_start linker symbol if it's defined.
22647 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22648 them up here if it was already done.
22650 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22651 (_dl_aux_init): Use const in cast when setting it.
22652 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22653 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22654 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22656 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22658 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22659 * csu/libc-tls.c: Nor here.
22660 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22662 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22663 (__libc_message): Never call vsyslog.
22665 2013-03-28 Alan Modra <amodra@gmail.com>
22667 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22669 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22672 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22679 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22682 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22683 Don't add gid passed as argument.
22685 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22687 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22690 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22691 imaginary part between 1.0 and 1.5 and real part less than 0.5
22693 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22694 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22695 * math/libm-test.inc (cacos_test): Add more tests.
22696 (casin_test): Likewise.
22697 (casinh_test): Likewise.
22698 * sysdeps/i386/fpu/libm-test-ulps: Update.
22699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22701 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22703 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22706 (denorm): Likewise.
22707 (__dbl_mp): Likewise.
22708 (add_magnitudes): Likewise.
22709 (sub_magnitudes): Likewise.
22717 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22719 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22720 (__dubcos): Likewise.
22721 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22722 (__ieee754_acos): Likewise.
22723 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22724 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22725 (__exp1): Likewise.
22726 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22729 (my_log2): Likewise.
22730 (checkint): Likewise.
22731 * sysdeps/ieee754/dbl-64/e_remainder.c
22732 (__ieee754_remainder): Likewise.
22733 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22734 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22735 (bsloww): Likewise.
22736 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22738 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22739 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22740 MANTISSA_STORE_T to store computations on mantissa. Use
22741 macros for rounding and division.
22742 (denorm): Likewise.
22743 (__dbl_mp): Likewise.
22744 (add_magnitudes): Likewise.
22745 (sub_magnitudes): Likewise.
22748 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22749 powers of two in terms of TWOPOW macro.
22750 (mp_no): Make type of mantissa as MANTISSA_T.
22751 [!RADIXI]: Define RADIXI.
22752 [!TWO52]: Define TWO52.
22753 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22755 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22757 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22758 llroundl symbol when building for PPC32.
22760 2013-03-24 Mark H Weaver <mhw@netris.org>
22762 * manual/arith.texi (Normalization Functions): Fix prototypes for
22763 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22765 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22769 high value to check if expl overflow.
22770 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22771 to check for underflow and overflow.
22772 * math/libm-test.inc: Add exp test.
22774 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22777 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22780 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22782 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22785 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22787 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22788 wrap blocks consisting of several statements.
22790 * sysdeps/generic/math-tests.h: New file.
22791 * sysdeps/i386/fpu/math-tests.h: Likewise.
22792 * math/test-snan.c: Include it.
22793 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22795 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22798 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22799 (__ieee754_j0l): Do not improve calculations using cos of twice
22800 input for inputs above LDBL_MAX / 2.0L.
22801 (__ieee754_y0l): Likewise.
22802 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22803 (__ieee754_j1l): Do not improve calculations using cos of twice
22804 input for inputs above LDBL_MAX / 2.0L.
22805 (__ieee754_y1l): Likewise.
22806 * math/libm-test.inc (j0_test): Add another test.
22807 (j1_test): Likewise.
22808 (y0_test): Likewise.
22809 (y1_test): Likewise.
22810 * sysdeps/i386/fpu/libm-test-ulps: Update.
22812 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22814 * Rules ($(objpfx)bench-%.c): Include code from a C source
22817 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22820 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22821 imaginary part 1.0 and real part less than 0.5 specially.
22822 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22823 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22824 * math/libm-test.inc (cacos_test): Add more tests.
22825 (casin_test): Likewise.
22826 (casinh_test): Likewise.
22827 * sysdeps/i386/fpu/libm-test-ulps: Update.
22828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22830 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22832 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22833 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22835 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22837 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22838 * config.make.in (config-cflags-sse4): Remove variable.
22839 (config-cflags-avx): Likewise.
22840 (config-cflags-sse2avx): Likewise.
22841 (config-cflags-novzeroupper): Likewise.
22842 (config-asflags-i686): Likewise.
22843 (have-mfma4): Likewise.
22844 (have-as-vis3): Likewise.
22846 * configure.in (MIG): Do not AC_SUBST.
22847 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22848 (libc_cv_cc_sse4): Do not AC_SUBST.
22849 (libc_cv_cc_avx): Likewise.
22850 (libc_cv_cc_sse2avx): Likewise.
22851 (libc_cv_cc_novzeroupper): Likewise.
22852 (libc_cv_cc_fma4): Likewise.
22853 (libc_cv_as_i686): Likewise.
22854 (libc_cv_sparc_as_vis3): Likewise.
22855 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22857 (config-asflags-i686): Likewise.
22858 (config-cflags-avx): Likewise.
22859 (config-cflags-sse2avx): Likewise.
22860 (have-mfma4): Likewise.
22861 (config-cflags-novzeroupper): Likewise.
22862 * sysdeps/mach/configure.in (MIG): Likewise.
22863 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22864 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22866 (config-cflags-avx): Likewise.
22867 (config-cflags-sse2avx): Likewise.
22868 (have-mfma4): Likewise.
22869 (config-cflags-novzeroupper): Likewise.
22870 * configure: Regenerated.
22871 * sysdeps/i386/configure: Likewise.
22872 * sysdeps/mach/configure: Likewise.
22873 * sysdeps/sparc/configure: Likewise.
22874 * sysdeps/x86_64/configure: Likewise.
22876 2013-03-20 Roland McGrath <roland@hack.frob.com>
22879 * locale/programs/localedef.c (options): Put N_ translation marker
22880 on argument names, not just descriptions.
22882 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22884 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22886 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22889 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22891 2013-03-19 Roland McGrath <roland@hack.frob.com>
22893 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22894 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22895 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22896 [!BEFORE_ABORT] (before_abort): New function.
22897 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22898 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22899 (writev_for_fatal): New function.
22900 (WRITEV_FOR_FATAL): New macro; call that.
22901 (backtrace_and_maps): New function.
22902 (BEFORE_ABORT): New macro; call that.
22903 (struct str_list): Type removed.
22904 (__libc_message, __libc_fatal): Functions removed.
22905 Include <sysdeps/posix/libc_fatal.c> instead.
22907 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22909 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22911 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22914 2013-03-19 Andreas Schwab <schwab@suse.de>
22916 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22917 * sysdeps/gnu/configure: Regenerate.
22919 * configure.in: Substitute libc_cv_rtlddir.
22920 * configure: Regenerate.
22921 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22922 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22923 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22924 * elf/Makefile (install-others, CFLAGS-interp.c)
22925 (ldso_install, common-ldd-rewrite): Likewise.
22926 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22927 $(inst_slibdir)/$(rtld-installed-name).
22928 * scripts/rellns-sh: Add -p option.
22929 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22932 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22934 * manual/nptl.texi: Renamed to ...
22935 * manual/threads.texi: ... this.
22936 * manual/Makefile (chapters): Update.
22938 2013-03-18 Roland McGrath <roland@hack.frob.com>
22941 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22942 on argument names, not just descriptions.
22943 * malloc/memusagestat.c (options): Likewise.
22944 * nss/getent.c (options): Likewise.
22946 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22949 * iconv/iconv_prog.c (options): Put N_ translation marker
22950 on argument names, not just descriptions.
22951 * iconv/iconvconfig.c (options): Likewise.
22953 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22955 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22956 implementation which is faster on all x86_64 architectures.
22957 Tested on AMD, Intel Nehalem, SNB, IVB.
22958 * sysdeps/x86_64/strnlen.S: Likewise.
22960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22961 Remove all multiarch strlen and strnlen versions.
22962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22963 Remove strlen and strnlen related parts.
22965 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22966 Inline strlen part.
22967 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22969 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22970 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22971 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22972 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22973 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22974 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22976 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22978 * manual/memory.texi (Malloc Tunable Parameters):
22979 Sort parameters alphabetically. Add comments for missing entries.
22981 2013-03-17 David S. Miller <davem@davemloft.net>
22983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22985 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22988 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22989 for arguments at most half maximum finite value.
22990 * math/libm-test.inc (j0_test): Add more tests.
22991 (j1_test): Likewise.
22992 (y0_test): Likewise.
22993 (y1_test): Likewise.
22994 * sysdeps/i386/fpu/libm-test-ulps: Update.
22995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22998 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22999 1 / x and functions P and Q for arguments above 0x1p256L.
23000 (__ieee754_y0l): Likewise.
23001 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23002 (__ieee754_y1l): Likewise.
23003 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23004 (j1_test): Likewise.
23005 (y0_test): Likewise.
23006 (y1_test): Likewise.
23008 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23010 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23013 2013-03-15 Roland McGrath <roland@hack.frob.com>
23015 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23016 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23017 zero since it's initialized to EXEC_PAGESIZE.
23019 * sysdeps/unix/sysv/linux/ldsodefs.h
23020 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23021 * sysdeps/generic/ldsodefs.h: ... here.
23023 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23025 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23027 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23029 * math/test-snan.c: Renamed from
23030 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23031 * math/Makefile (tests): Add test-snan.
23032 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23035 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23036 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23038 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23039 __builtin_nan family of functions.
23040 * math/libm-test.inc (initialize): Initialize qnan_value with
23041 __builtin_nan family of functions.
23042 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23044 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23046 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23047 storage class. Initialize qNaN_var and sNaN_var with
23048 __builtin_nan and __builtin_nans families of functions,
23051 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23052 (sqrt_test): Remove duplicate test with qNaN input.
23053 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23054 (round_test, signbit_test, significand_test): Note missing +/-Inf
23055 as well as qNaN tests.
23057 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23058 qNaN_var. Fix a few strings, too.
23059 * math/libm-test.inc (nan_value): Rename to qnan_value.
23060 * math/gen-libm-test.pl (%beautify): Adjust to that.
23061 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23062 * math/test-misc.c (main): Likewise.
23063 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23064 to __qnan_bytes, and __qnan_union, respectively.
23065 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23067 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23068 and lqnanval, respectively.
23069 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23070 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23071 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23072 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23074 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23075 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23078 * math/test-misc.c (main): Fix copy'n'pastos.
23079 * misc/tst-efgcvt.c (special): Likewise.
23081 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23082 Remove declarations.
23084 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23086 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23087 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23088 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23089 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23091 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23093 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23094 macro to return vdso values correctly in IFUNC implementations.
23095 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23096 Optimization by using IFUNC.
23098 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23099 Richard Henderson <rth@redhat.com>
23100 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23102 * Makefile.in (bench): New target.
23103 * NEWS: Mention the benchmark framework.
23104 * Rules (bench): Likewise.
23105 (binaries-bench): Generate binaries for functions to
23107 * benchtests/Makefile: New makefile for benchmark tests.
23108 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23110 * benchtests/exp-inputs: New input file for EXP function.
23111 * benchtests/pow-inputs: New input file for POW function.
23112 * scripts/bench.pl: New script to generate source files for
23113 benchmark programs.
23115 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23117 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23118 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23119 computations on mantissa. Use macros for rounding and
23121 (denorm): Likewise.
23122 (__dbl_mp): Likewise.
23123 (add_magnitudes): Likewise.
23124 (sub_magnitudes): Likewise.
23127 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23128 powers of two in terms of TWOPOW macro.
23129 (mp_no): Make type of mantissa as MANTISSA_T.
23130 [!RADIXI]: Define RADIXI.
23131 [!TWO52]: Define TWO52.
23132 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23134 * manual/nptl.texi (cindex): Modify threads to pthreads.
23136 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23138 * sysdeps/x86_64/preconfigure: Regenerated.
23140 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23143 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23145 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23146 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23148 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23149 * math/libm-test.inc (j0_test): Do not allow one spurious
23150 underflow exception.
23151 (y1_test): Likewise.
23153 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23155 * manual/Makefile (chapters): Add nptl.
23156 * manual/debug.texi (Debugging Support): Add link to Threads
23158 * manual/nptl.texi: New file.
23160 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23162 2013-03-14 Petr Baudis <pasky@ucw.cz>
23164 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23165 for non-NULL pointer before the memory validity test. Pointed
23166 out by Holger Brunck <holger.brunck@keymile.com>.
23168 2013-03-13 Andreas Schwab <schwab@suse.de>
23170 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23173 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23175 * timezone/zic.c: Update from tzcode 2013b.
23177 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23179 * manual/install.texi (Configuring and compiling):
23180 Mention i686 and i586.
23181 * INSTALL: Regenerate.
23183 2013-03-12 Roland McGrath <roland@hack.frob.com>
23185 * sysdeps/init_array/elf-init.c: New file.
23187 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23188 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23190 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23191 __gmon_start__ as global, but as static with a .preinit_array pointer.
23192 * sysdeps/init_array/gmon-start.c: New file. Use that.
23193 * sysdeps/init_array/crti.S: New file, empty except for comments.
23194 * sysdeps/init_array/crtn.S: Likewise.
23196 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23198 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23201 Remove Prefer_SSE_for_memop.
23202 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23203 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23204 HAS_PREFER_SSE_FOR_MEMOP.
23205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23208 Remove bzero, memset ifunc support.
23209 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23210 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23211 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23212 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23214 2013-03-11 Andreas Schwab <schwab@suse.de>
23217 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23220 (GLIBC_2.16): Remove pthread_atfork.
23222 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23224 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23225 (ptestcases.h): Likewise.
23227 2013-03-08 Roland McGrath <roland@hack.frob.com>
23229 * Makeconfig ($(common-objpfx)config.status): Depend on
23230 sysdeps/*/preconfigure{,.in} too.
23232 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23234 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23235 (__free_hook): Use void * instead of __malloc_ptr_t.
23236 (__malloc_hook): Likewise.
23237 (__realloc_hook): Likewise.
23238 (__memalign_hook): Likewise.
23239 (__after_morecore_hook): Likewise.
23240 * malloc/arena.c (save_malloc_hook): Likewise.
23241 (save_free_hook): Likewise.
23242 * malloc/hooks.c (malloc_hook_ini): Likewise.
23243 (realloc_hook_ini): Likewise.
23244 (memalign_hook_ini): Likewise.
23245 * malloc/malloc.c (malloc_hook_ini): Likewise.
23246 (realloc_hook_ini): Likewise.
23247 (memalign_hook_ini): Likewise.
23248 (__free_hook): Likewise.
23249 (__malloc_hook): Likewise.
23250 (__realloc_hook): Likewise.
23251 (__memalign_hook): Likewise.
23252 (__libc_malloc): Likewise.
23253 (__libc_free): Likewise.
23254 (__libc_realloc): Likewise.
23255 (__libc_memalign): Likewise.
23256 (__libc_valloc): Likewise.
23257 (__libc_pvalloc): Likewise.
23258 (__libc_calloc): Likewise.
23259 (__posix_memalign): Likewise.
23260 * malloc/morecore.c (__sbrk): Likewise.
23261 (__default_morecore): Likewise.
23263 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23265 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23266 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23267 __malloc_ptrdiff_t.
23269 * malloc/malloc.h (__malloc_size_t): Remove macro.
23270 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23272 (old_memalign_hook): Likewise.
23273 (old_realloc_hook): Likewise.
23274 (struct hdr): Likewise.
23276 (mallochook): Likewise.
23277 (memalignhook): Likewise.
23278 (reallochook): Likewise.
23279 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23280 (tr_old_realloc_hook): Likewise.
23281 (tr_old_memalign_hook): Likewise.
23282 (tr_mallochook): Likewise.
23283 (tr_reallochook): Likewise.
23284 (tr_memalignhook): Likewise.
23286 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23289 default_ldbl_pack and using as default implementation.
23290 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23292 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23293 redundant definition.
23294 (ldbl_insert_mantissa): Likewise.
23295 (ldbl_canonicalize): Likewise.
23296 (ldbl_nearbyint): Likewise.
23297 (ldbl_pack): Rename to ldbl_pack_ppc.
23298 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23299 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23300 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23302 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23305 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23306 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23307 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23309 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23310 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23311 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23313 2013-03-07 Andreas Jaeger <aj@suse.de>
23315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23318 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23320 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23321 Include mpa.h and declare __MPEXP.
23322 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23324 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23325 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23327 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23328 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23330 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23331 (__slowpow): Use long double EXPL and LOGL functions to
23333 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23334 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23335 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23336 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23337 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23338 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23341 intermediate variable to calculate exponent.
23343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23347 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23348 [!NO__SQR]: Define __sqr.
23349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23350 and NO__SQR. Remove all code except __mul and __sqr. Include
23351 sysdeps/ieee754/dbl-64/mpa.c.
23352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23355 * posix/Makefile (tests): Add tst-pathconf.
23356 * posix/tst-pathconf.c: New test case.
23357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23359 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23361 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23363 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23365 2013-03-06 Andreas Jaeger <aj@suse.de>
23367 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23368 definition via __MAP_ANONYMOUS.
23370 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23371 it's not part of Linux headers.
23373 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23374 (MAP_HUGE_MASK): Define.
23376 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23378 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23381 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23382 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23384 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23385 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23387 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23389 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23390 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23391 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23392 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23393 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23394 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23396 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23399 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23400 Handle f2fs and efivarfs.
23402 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23405 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23406 (EFIVARFS_MAGIC): Add.
23407 (F2FS_LINK_MAX): Add.
23409 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23411 * stdio-common/vfprintf.c: Replace __builtin_expect with
23414 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23417 * sysdeps/generic/bp-sym.h: Remove file.
23418 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23419 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23420 <bp-sym.h> and <bp-asm.h>.
23421 (__longjmp): Don't use BP_SYM.
23422 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23424 (memcpy): Don't use BP_SYM.
23425 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23426 <bp-sym.h> and <bp-asm.h>.
23427 (memcpy): Don't use BP_SYM.
23428 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23430 (memcpy): Don't use BP_SYM.
23431 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23433 (memset): Don't use BP_SYM.
23434 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23435 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23436 (__bzero): Don't use BP_SYM.
23437 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23438 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23439 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23440 <bp-sym.h> and <bp-asm.h>.
23441 (memcmp): Don't use BP_SYM. Remove comment about bounded
23443 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23444 <bp-sym.h> and <bp-asm.h>.
23445 (memcpy): Don't use BP_SYM.
23446 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23447 <bp-sym.h> and <bp-asm.h>.
23448 (memset): Don't use BP_SYM.
23449 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23450 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23451 (__bzero): Don't use BP_SYM.
23452 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23453 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23454 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23455 <bp-sym.h> and <bp-asm.h>.
23456 (strncmp): Don't use BP_SYM. Remove comment about bounded
23458 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23459 <bp-sym.h> and <bp-asm.h>.
23460 (memcpy): Don't use BP_SYM.
23461 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23462 <bp-sym.h> and <bp-asm.h>.
23463 (memset): Don't use BP_SYM.
23464 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23465 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23466 (__bzero): Don't use BP_SYM.
23467 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23468 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23470 <bp-sym.h> and <bp-asm.h>.
23471 (__memchr): Don't use BP_SYM.
23472 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23473 <bp-sym.h> and <bp-asm.h>.
23474 (memcmp): Don't use BP_SYM. Remove comment about bounded
23476 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23477 <bp-sym.h> and <bp-asm.h>.
23478 (memcpy): Don't use BP_SYM.
23479 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23480 <bp-sym.h> and <bp-asm.h>.
23481 (__mempcpy): Don't use BP_SYM.
23482 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23483 <bp-sym.h> and <bp-asm.h>.
23484 (__memrchr): Don't use BP_SYM.
23485 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23486 <bp-sym.h> and <bp-asm.h>.
23487 (memset): Don't use BP_SYM.
23488 (__bzero): Likewise.
23489 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23490 <bp-sym.h> and <bp-asm.h>.
23491 (__rawmemchr): Don't use BP_SYM.
23492 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23493 <bp-sym.h> and <bp-asm.h>.
23494 (__STRCMP): Don't use BP_SYM.
23495 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23496 <bp-sym.h> and <bp-asm.h>.
23497 (strchr): Don't use BP_SYM.
23498 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23499 <bp-sym.h> and <bp-asm.h>.
23500 (__strchrnul): Don't use BP_SYM.
23501 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23502 <bp-sym.h> and <bp-asm.h>.
23503 (strlen): Don't use BP_SYM.
23504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23505 <bp-sym.h> and <bp-asm.h>.
23506 (strncmp): Don't use BP_SYM. Remove comment about bounded
23508 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23509 <bp-sym.h> and <bp-asm.h>.
23510 (__strnlen): Don't use BP_SYM.
23511 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23512 <bp-sym.h> and <bp-asm.h>.
23513 (__GI__setjmp): Don't use BP_SYM.
23514 (_setjmp): Likewise.
23515 (__sigsetjmp): Likewise.
23516 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23517 (L(start_addresses)): Don't use BP_SYM.
23518 (_start): Likewise.
23519 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23521 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23522 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23523 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23524 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23525 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23527 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23528 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23529 about bounded pointers.
23530 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23531 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23532 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23534 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23535 about bounded pointers. Remove GKM FIXME comments.
23536 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23537 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23539 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23540 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23541 Remove GKM FIXME comments.
23542 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23543 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23544 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23546 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23547 about bounded pointers. Remove GKM FIXME comment.
23548 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23550 (strncmp): Don't use BP_SYM. Remove comment about bounded
23552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23553 <bp-sym.h> and <bp-asm.h>.
23554 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23556 <bp-sym.h> and <bp-asm.h>.
23557 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23560 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23562 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23565 2013-03-05 David S. Miller <davem@davemloft.net>
23567 * po/es.po: Update from translation team.
23569 2013-03-05 Andreas Jaeger <aj@suse.de>
23571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23572 <bits/mman-linux.h>.
23573 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23576 <bits/mman-linux.h> to end of file.
23577 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23579 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23580 <bits/mman-linux.h> to end of file.
23581 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23584 <bits/mman-linux.h> to end of file.
23586 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23587 (MCL_CURRENT, MCL_FUTURE): Define here.
23589 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23592 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23594 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23596 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23598 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23599 fourth parameter needed for rt_sigprocmask syscall.
23600 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23601 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23602 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23603 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23604 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23605 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23607 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23610 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23611 comment about bounded pointers.
23612 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23613 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23615 2013-03-04 Andreas Jaeger <aj@suse.de>
23617 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23618 common definitions.
23620 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23621 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23622 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23623 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23625 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23627 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23630 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23631 __ieee754_sqrl instead of __sqrl.
23633 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23635 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23636 * sysdeps/powerpc/fpu_control.h: ... here.
23637 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23638 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23639 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23640 * sysdeps/powerpc/bits/mathinline.h: ... here.
23642 2013-03-01 Roland McGrath <roland@hack.frob.com>
23644 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23645 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23646 to just [NEED_DL_SYSINFO_DSO].
23647 * elf/dl-support.c: Likewise.
23648 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23649 * elf/rtld.c (dl_main): Likewise.
23650 * elf/setup-vdso.h (setup_vdso): Likewise.
23651 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23652 * sysdeps/unix/sysv/linux/dl-sysdep.c
23653 (_dl_discover_osversion): Likewise.
23655 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23657 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23658 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23660 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23662 * NEWS: Mention libm performance improvements and non-x86 PI
23665 * csu/libc-start.c (__pthread_initialize_minimal): Change
23666 function arguments.
23667 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23669 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23672 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23673 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23674 <bp-sym.h> and <bp-asm.h>.
23675 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23676 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23678 (memcpy): Don't use BP_SYM.
23679 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23681 (__mpn_add_n): Don't use BP_SYM.
23682 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23683 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23685 (__mpn_addmul_1): Don't use BP_SYM.
23686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23687 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23689 (_setjmp): Don't use BP_SYM.
23690 (__novmx_setjmp): Likewise.
23691 (__GI__setjmp): Likewise.
23692 (__vmx_setjmp): Likewise.
23693 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23695 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23696 (__bzero): Don't use BP_SYM.
23697 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23698 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23699 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23700 <bp-sym.h> and <bp-asm.h>.
23701 (memcpy): Don't use BP_SYM.
23702 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23703 <bp-sym.h> and <bp-asm.h>.
23704 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23705 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23706 <bp-sym.h> and <bp-asm.h>.
23707 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23708 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23710 (__mpn_lshift): Don't use BP_SYM.
23711 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23712 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23714 (memset): Don't use BP_SYM.
23715 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23716 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23717 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23719 (__mpn_mul_1): Don't use BP_SYM.
23720 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23721 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23722 <bp-sym.h> and <bp-asm.h>.
23723 (memcmp): Don't use BP_SYM.
23724 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23725 <bp-sym.h> and <bp-asm.h>.
23726 (memcpy): Don't use BP_SYM.
23727 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23728 <bp-sym.h> and <bp-asm.h>.
23729 (memset): Don't use BP_SYM.
23730 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23731 <bp-sym.h> and <bp-asm.h>.
23732 (strncmp): Don't use BP_SYM.
23733 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23734 <bp-sym.h> and <bp-asm.h>.
23735 (memcpy): Don't use BP_SYM.
23736 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23737 <bp-sym.h> and <bp-asm.h>.
23738 (memset): Don't use BP_SYM.
23739 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23740 <bp-sym.h> and <bp-asm.h>.
23741 (__memchr): Don't use BP_SYM.
23742 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23743 <bp-sym.h> and <bp-asm.h>.
23744 (memcmp): Don't use BP_SYM.
23745 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23746 <bp-sym.h> and <bp-asm.h>.
23747 (memcpy): Don't use BP_SYM.
23748 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23749 <bp-sym.h> and <bp-asm.h>.
23750 (__mempcpy): Don't use BP_SYM.
23751 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23752 <bp-sym.h> and <bp-asm.h>.
23753 (__memrchr): Don't use BP_SYM.
23754 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23755 <bp-sym.h> and <bp-asm.h>.
23756 (memset): Don't use BP_SYM.
23757 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23758 <bp-sym.h> and <bp-asm.h>.
23759 (__rawmemchr): Don't use BP_SYM.
23760 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23761 <bp-sym.h> and <bp-asm.h>.
23762 (__STRCMP): Don't use BP_SYM.
23763 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23764 <bp-sym.h> and <bp-asm.h>.
23765 (strchr): Don't use BP_SYM.
23766 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23767 <bp-sym.h> and <bp-asm.h>.
23768 (__strchrnul): Don't use BP_SYM.
23769 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23770 <bp-sym.h> and <bp-asm.h>.
23771 (strlen): Don't use BP_SYM.
23772 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23773 <bp-sym.h> and <bp-asm.h>.
23774 (strncmp): Don't use BP_SYM.
23775 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23776 <bp-sym.h> and <bp-asm.h>.
23777 (__strnlen): Don't use BP_SYM.
23778 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23780 (__mpn_rshift): Don't use BP_SYM.
23781 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23782 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23783 <bp-sym.h> and <bp-asm.h>.
23784 (__sigsetjmp): Don't use BP_SYM.
23785 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23786 (L(start_addresses)): Don't use BP_SYM.
23787 (_start): Likewise.
23788 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23790 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23791 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23792 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23793 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23795 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23796 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23797 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23798 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23800 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23802 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23803 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23805 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23807 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23808 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23809 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23811 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23813 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23815 (strncmp): Don't use BP_SYM,
23816 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23818 (__mpn_sub_n): Don't use BP_SYM.
23819 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23820 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23822 (__mpn_submul_1): Don't use BP_SYM.
23823 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23825 <bp-sym.h> and <bp-asm.h>.
23826 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23828 <bp-sym.h> and <bp-asm.h>.
23829 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23832 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23835 Use ZK to minimize writes to Z.
23836 (sub_magnitudes): Simplify code a bit.
23837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23838 Use ZK to minimize writes to Z.
23839 (sub_magnitudes): Simplify code a bit.
23841 2013-02-27 Roland McGrath <roland@hack.frob.com>
23843 * csu/gmon-start.c: Add special exception to license text.
23845 2013-02-27 Richard Henderson <rth@redhat.com>
23847 * scripts/config.guess: Update from config.git.
23848 * scripts/config.sub: Likewise.
23850 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23854 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23856 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23858 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23860 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23862 2013-02-26 Roland McGrath <roland@hack.frob.com>
23864 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23865 [$(build-shared = yes].
23867 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23869 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23870 (__mul): Reduce iterations for calculating mantissa.
23872 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23874 (__mpranred): Likewise.
23877 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23878 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23880 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23882 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23883 Define __attribute__.
23885 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23887 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23889 * posix/regex_internal.h (__attribute): Remove.
23890 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23891 (re_string_context_at): Likewise.
23892 (bitset_not): Use __attribute__ and mark function as possibly
23894 (bitset_merge): Likewise.
23895 (bitset_mask): Likewise.
23896 (re_string_char_size_at): Likewise.
23897 (re_string_wchar_at): Likewise.
23898 (re_string_elem_size_at): Likewise.
23900 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23902 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23906 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23910 (denorm): Likewise.
23911 (__dbl_mp): Likewise.
23912 (add_magnitudes): Likewise.
23913 (sub_magnitudes): Likewise.
23917 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23920 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23923 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23927 up changes with default code.
23928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23931 2013-02-24 Allan McRae <allan@archlinux.org>
23933 * manual/socket.texi (The Internet Namespace): Order menu items
23934 to match that in the file.
23936 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23937 node listing of the info page menu.
23939 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23942 * sysdeps/i386/bp-asm.h: Remove file.
23943 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23944 (PARMS): Do not use macros from bp-asm.h.
23948 (__mpn_add_n): Do not use BP_SYM
23949 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23951 (PARMS): Do not use macros from bp-asm.h.
23954 (__mpn_addmul_1): Do not use BP_SYM
23955 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23957 (PARMS): Do not use macros from bp-asm.h.
23958 (SIGMSK): Likewise.
23959 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
23967 (PARMS): Do not use macros from bp-asm.h.
23968 (__frexp): Do not use BP_SYM.
23970 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23972 (PARMS): Do not use macros from bp-asm.h.
23973 (__frexpf): Do not use BP_SYM.
23974 (frexpf): Likewise.
23975 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23977 (PARMS): Do not use macros from bp-asm.h.
23978 (__frexpl): Do not use BP_SYM.
23979 (frexpl): Likewise.
23980 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23982 (PARMS): Do not use macros from bp-asm.h.
23983 (__remquo): Do not use BP_SYM.
23984 (remquo): Likewise.
23985 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23987 (PARMS): Do not use macros from bp-asm.h.
23988 (__remquof): Do not use BP_SYM.
23989 (remquof): Likewise.
23990 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23992 (PARMS): Do not use macros from bp-asm.h.
23993 (__remquol): Do not use BP_SYM.
23994 (remquol): Likewise.
23995 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23997 (PARMS): Do not use macros from bp-asm.h.
24000 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24001 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24003 (PARMS): Do not use macros from bp-asm.h.
24004 (strlen): Do not use BP_SYM.
24005 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24007 (PARMS): Do not use macros from bp-asm.h.
24011 (__mpn_add_n): Do not use BP_SYM.
24012 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24014 (PARMS): Do not use macros from bp-asm.h.
24017 (__mpn_addmul_1): Do not use BP_SYM.
24018 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24021 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24023 (PARMS): Do not use macros from bp-asm.h.
24026 (__mpn_lshift): Do not use BP_SYM.
24027 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24029 (PARMS): Do not use macros from bp-asm.h.
24033 (memcpy): Likewise. Do not use BP_SYM.
24034 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24035 libc_hidden_def and weak_alias.
24036 (mempcpy): Do not use BP_SYM in weak_alias.
24037 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24039 (PARMS): Do not use macros from bp-asm.h.
24042 [!BZERO_P] (CHR): Likewise.
24043 (memset): Likewise. Do not use BP_SYM.
24044 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24046 (PARMS): Do not use macros from bp-asm.h.
24049 (__mpn_mul_1): Do not use BP_SYM.
24050 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24052 (PARMS): Do not use macros from bp-asm.h.
24055 (__mpn_rshift): Do not use BP_SYM.
24056 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24058 (PARMS): Do not use macros from bp-asm.h.
24061 (strchr): Likewise. Do not use BP_SYM.
24062 (index): Do not use BP_SYM in weak_alias.
24063 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24065 (PARMS): Do not use macros from bp-asm.h.
24068 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24069 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24071 (PARMS): Do not use macros from bp-asm.h.
24072 (strlen): Do not use BP_SYM.
24073 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24075 (PARMS): Do not use macros from bp-asm.h.
24079 (__mpn_sub_n): Do not use BP_SYM.
24080 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24082 (PARMS): Do not use macros from bp-asm.h.
24085 (__mpn_submul_1): Do not use BP_SYM.
24086 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24088 (PARMS): Do not use macros from bp-asm.h.
24092 (__mpn_add_n): Do not use BP_SYM.
24093 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24096 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24098 (PARMS): Do not use macros from bp-asm.h.
24101 (memcmp): Do not use BP_SYM.
24102 (bcmp): Do not use BP_SYM in weak_alias.
24103 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24105 (PARMS): Do not use macros from bp-asm.h.
24109 (memcpy): Likewise. Do not use BP_SYM.
24110 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24112 (PARMS): Do not use macros from bp-asm.h.
24116 (memmove): Likewise. Do not use BP_SYM.
24117 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24119 (PARMS): Do not use macros from bp-asm.h.
24123 (__mempcpy): Likewise. Do not use BP_SYM.
24124 (mempcpy): Do not use BP_SYM in weak_alias.
24125 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24127 (PARMS): Do not use macros from bp-asm.h.
24130 [!BZERO_P] (CHR): Likewise.
24131 (memset): Likewise. Do not use BP_SYM.
24132 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24134 (PARMS): Do not use macros from bp-asm.h.
24136 (strcmp): Do not use BP_SYM.
24137 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24139 (PARMS): Do not use macros from bp-asm.h.
24142 [USE_AS_STRTOK_R] (SAVE): Likewise.
24143 (FUNCTION): Likewise. Do not use BP_SYM.
24144 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24146 (strtok_r): Likewise.
24147 (__GI___strtok_r): Likewise.
24148 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24149 (PARMS): Do not use macros from bp-asm.h.
24152 (__mpn_lshift): Do not use BP_SYM.
24153 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24154 (PARMS): Do not use macros from bp-asm.h.
24157 (__memchr): Do not use BP_SYM.
24158 (memchr): Do not use BP_SYM in weak_alias.
24159 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24160 (PARMS): Do not use macros from bp-asm.h.
24163 (memcmp): Do not use BP_SYM.
24164 (bcmp): Do not use BP_SYM in weak_alias.
24165 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24166 (PARMS): Do not use macros from bp-asm.h.
24169 (__mpn_mul_1): Do not use BP_SYM.
24170 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24172 (PARMS): Do not use macros from bp-asm.h.
24175 (__rawmemchr): Do not use BP_SYM.
24176 (rawmemchr): Do not use BP_SYM in weak_alias.
24177 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24178 (PARMS): Do not use macros from bp-asm.h.
24181 (__mpn_rshift): Do not use BP_SYM.
24182 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24183 (PARMS): Do not use macros from bp-asm.h.
24184 (SIGMSK): Likewise.
24185 (__sigsetjmp): Likewise. Do not use BP_SYM.
24186 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24187 (_start): Do not use BP_SYM.
24188 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24189 (PARMS): Do not use macros from bp-asm.h.
24192 (__stpcpy): Likewise. Do not use BP_SYM.
24193 (stpcpy): Do not use BP_SYM in weak_alias.
24194 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24196 (PARMS): Do not use macros from bp-asm.h.
24200 (__stpncpy): Likewise. Do not use BP_SYM.
24201 (stpncpy): Do not use BP_SYM in weak_alias.
24202 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24203 (PARMS): Do not use macros from bp-asm.h.
24206 (strchr): Likewise. Do not use BP_SYM.
24207 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24209 (PARMS): Do not use macros from bp-asm.h.
24212 (__strchrnul): Likewise. Do not use BP_SYM.
24213 (strchrnul): Do not use BP_SYM in weak_alias.
24214 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24216 (PARMS): Do not use macros from bp-asm.h.
24218 (strcspn): Do not use BP_SYM.
24219 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24221 (PARMS): Do not use macros from bp-asm.h.
24224 (strpbrk): Likewise. Do not use BP_SYM.
24225 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24227 (PARMS): Do not use macros from bp-asm.h.
24230 (strrchr): Likewise. Do not use BP_SYM.
24231 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24232 (PARMS): Do not use macros from bp-asm.h.
24234 (strspn): Do not use BP_SYM.
24235 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24236 (PARMS): Do not use macros from bp-asm.h.
24240 (FUNCTION): Likewise. Do not use BP_SYM.
24241 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24243 (strtok_r): Likewise.
24244 (__GI___strtok_r): Likewise.
24245 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24246 (PARMS): Do not use macros from bp-asm.h.
24250 (__mpn_sub_n): Do not use BP_SYM.
24251 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24253 (PARMS): Do not use macros from bp-asm.h.
24256 (__mpn_submul_1): Do not use BP_SYM.
24257 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24259 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24261 (PARMS): Do not use macros from bp-asm.h.
24266 (__clone): Do not use BP_SYM.
24267 (clone): Do not use BP_SYM in weak_alias.
24268 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24270 (PARMS): Do not use macros from bp-asm.h.
24272 (__mmap64): Do not use BP_SYM.
24273 (mmap64): Do not use BP_SYM in weak_alias.
24274 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24275 <bp-sym.h> and <bp-asm.h>.
24276 (PARMS): Do not use macros from bp-asm.h.
24277 (__posix_fadvise64_l64): Do not use BP_SYM.
24278 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24279 (PARMS): Do not use macros from bp-asm.h.
24281 (semtimedop): Do not use BP_SYM.
24282 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24285 2013-02-21 Allan McRae <allan@archlinux.org>
24287 * manual/message.texi (Charset conversion in gettext):
24288 Move @end statement to beginning of line.
24290 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24297 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24298 (denorm): Likewise.
24299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24302 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24304 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24305 tail-call to the resolved function if pltexit isn't needed.
24307 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24310 or Y being zero as being unlikely.
24311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24314 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24316 * manual/nss.texi (System Databases and Name Service Switch):
24317 Remove frobnicate @pxref.
24319 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24321 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24322 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24324 2013-02-20 Petr Machata <pmachata@redhat.com>
24326 * elf/elf.h (R_ARM_TARGET1): New macro.
24327 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24328 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24329 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24330 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24331 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24332 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24333 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24334 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24335 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24336 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24337 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24338 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24339 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24340 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24341 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24342 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24343 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24344 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24345 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24346 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24347 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24348 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24349 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24350 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24351 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24352 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24353 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24354 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24355 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24356 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24357 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24358 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24359 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24360 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24361 (R_ARM_THM_GOT_BREL12): Likewise.
24362 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24363 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24364 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24365 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24366 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24367 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24368 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24369 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24370 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24372 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24374 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24375 __attribute_used__ to __attribute__ ((unused)).
24377 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24379 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24382 comment formatting.
24383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24385 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24388 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24390 (ENTER): Remove both macro definitions.
24392 (CHECK_BOUNDS_LOW): Likewise.
24393 (CHECK_BOUNDS_HIGH): Likewise.
24394 (CHECK_BOUNDS_BOTH): Likewise.
24395 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24396 (RETURN_BOUNDED_POINTER): Likewise.
24397 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24398 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24399 (POP_ERRNO_LOCATION_RETURN): Likewise.
24400 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24401 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24402 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24404 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24405 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24406 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24407 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24408 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24409 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24410 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24411 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24412 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24413 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24414 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24415 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24416 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24417 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24419 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24420 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24422 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24423 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24424 * sysdeps/i386/i586/memset.S (memset): Likewise.
24425 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24426 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24427 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24429 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24430 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24431 Change uses of L(2) to L(out).
24432 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24433 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24434 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24435 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24436 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24438 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24439 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24441 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24442 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24443 (RETURN): Do not use macro LEAVE.
24444 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24445 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24446 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24447 * sysdeps/i386/i686/memset.S (memset): Likewise.
24448 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24449 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24450 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24451 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24453 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24454 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24455 L(1_2) and L(1_3) into L(1).
24456 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24457 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24458 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24459 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24460 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24461 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24462 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24463 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24464 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24466 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24468 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24469 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24470 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24471 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24472 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24473 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24474 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24475 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24476 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24477 * sysdeps/i386/strspn.S (strspn): Likewise.
24478 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24480 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24481 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24482 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24483 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24484 L(1_3) into L(1_1).
24485 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24486 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24487 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24489 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24491 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24493 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24496 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24498 * math/atest-exp.c (exp_mpn): Remove ROUND.
24499 * math/atest-exp2.c (exp_mpn): Likewise.
24500 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24502 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24503 * stdlib/tst-tls-atexit-lib.c: Likewise.
24504 * stdlib/tst-tls-atexit.c: Likewise.
24506 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24508 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24509 and __attribute_alloc_size__.
24511 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24513 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24514 __attribute_alloc_size__.
24515 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24516 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24518 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24520 * include/programs/xmalloc.h: New file.
24521 * catgets/gencat.c: Include it.
24522 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24523 * elf/pldd.c: Likewise.
24524 * iconv/iconv_charmap.c: Likewise.
24525 * iconv/iconvconfig.c: Likewise.
24526 * iconv/strtab.c: Likewise.
24527 * locale/programs/locale.c: Likewise.
24528 * locale/programs/localedef.h: Likewise.
24529 * locale/programs/simple-hash.c: Likewise.
24530 * nscd/nscd.h: Likewise.
24531 * nss/makedb.c: Likewise.
24532 * sysdeps/generic/ldconfig.h: Likewise.
24534 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24536 * Versions.def: Add GLIBC_2.18.
24537 * include/link.h (struct link_map): New member l_tls_dtor_count.
24538 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24539 (__call_tls_dtors): Likewise.
24540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24541 __cxa_thread_atexit_impl.
24542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24558 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24559 (tests): Add test case tst-tls-atexit.
24560 (modules-names): Add shared library for tst-tls-atexit.
24561 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24562 (GLIBC_PRIVATE): Add __call_tls_dtors.
24563 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24565 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24566 * stdlib/tst-tls-atexit.c: New test case.
24567 * stdlib/tst-tls-atexit-lib.c: New test case.
24569 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24571 * elf/Versions (ld): Add _dl_find_dso_for_object.
24572 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24573 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24574 (dl_open_worker): Use _dl_find_dso_for_object.
24575 * elf/dl-sym.c (do_sym): Likewise.
24576 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24578 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24580 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24581 Syntactic changes only.
24582 (_dl_runtime_profile): Do a tail-call to the resolved function.
24584 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24587 * sysdeps/x86_64/bp-asm.h: Remove file.
24588 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24589 <bp-sym.h> and <bp-asm.h>.
24590 (__clone): Do not use BP_SYM.
24591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24592 <bp-sym.h> and <bp-asm.h>.
24593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24594 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24596 (_setjmp): Do not use BP_SYM.
24597 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24599 (setjmp): Do not use BP_SYM.
24600 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24602 (mempcpy): Do not use BP_SYM in weak_alias.
24603 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24605 (strchr): Do not use BP_SYM.
24606 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24608 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24609 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24610 (_start): Do not use BP_SYM.
24611 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24613 (strcat): Do not use BP_SYM.
24614 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24616 (STRCMP): Do not use BP_SYM.
24617 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24619 (STRCPY): Do not use BP_SYM.
24620 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24622 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24624 (FUNCTION): Do not use BP_SYM.
24625 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24627 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24629 2013-02-17 Andreas Jaeger <aj@suse.de>
24631 * time/Versions: Sort entries.
24632 * string/Versions: Likewise.
24633 * resolv/Versions: Likewise.
24634 * posix/Versions: Likewise.
24635 * iconv/Versions: Likewise.
24636 * elf/Versions: Likewise.
24637 * wcsmbs/Versions: Likewise.
24639 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24641 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24642 loop termination condition.
24644 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24645 variable to calculate EZ.
24648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24649 the lower precision input.
24651 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24654 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24655 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24656 (run-via-rtld-prefix): Do not handle %-bp tests.
24657 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24658 (all-object-suffixes): Remove .ob.
24659 (bppfx): Remove variable.
24660 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24661 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24662 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24663 [$(build-bounded) = yes] (libtype.ob): Likewise.
24664 * Makerules (elide-routines.ob): Remove variable.
24665 (do-tests-clean): Do not handle *-bp.out.
24666 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24667 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24668 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24669 (tests): Do not include $(tests-bp.out).
24670 (xtests): Do not include $(xtests-bp.out).
24671 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24672 [$(build-bounded) = yes] ($(addprefix
24673 $(objpfx),$(binaries-bounded))): Remove rule.
24674 ($(objpfx)%-bp.out): Remove rule.
24675 * config.make.in (build-bounded): Remove variable.
24676 * crypt/Makefile [$(build-bounded) = yes]
24677 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24678 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24679 append to variable.
24680 [$(build-bounded) = yes] (install-lib): Likewise.
24681 [$(build-bounded) = yes] (generated): Likewise.
24682 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24684 * intl/Makefile [$(build-bounded) = yes]
24685 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24686 * math/Makefile [$(build-bounded) = yes]
24687 ($(tests:%=$(objpfx)%-bp): Likewise.
24688 * misc/Makefile [$(build-bounded) = yes]
24689 ($(objpfx)tst-tsearch-bp): Likewise.
24690 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24691 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24693 * string/Makefile (o-objects.ob): Remove variable.
24694 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24695 (CFLAGS-.ob): Remove variable.
24696 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24697 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24698 both definitions of variable.
24699 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24700 (ASFLAGS-.ob): Remove variable.
24702 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24705 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24706 Remove __BOUNDED_POINTERS__ from condition.
24707 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24708 * string/bits/string2.h [!__NO_STRING_INLINES &&
24709 !__BOUNDED_POINTERS__]: Likewise.
24710 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24712 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24713 Remove conditional code.
24714 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24715 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24716 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24720 * csu/libc-start.c: Do not include <bp-sym.h>.
24721 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24722 * elf/dl-open.c: Do not include <bp-sym.h>.
24723 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24724 * math/fegetenv.c: Do not include <bp-sym.h>.
24725 (fegetenv): Do not use BP_SYM in versioned symbols.
24726 * nptl/sysdeps/pthread/bits/libc-lockP.h
24727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24730 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24732 (__pthread_mutex_destroy): Likewise.
24733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24734 (__pthread_mutex_lock): Likewise.
24735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24736 (__pthread_mutex_trylock): Likewise.
24737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24738 (__pthread_mutex_unlock): Likewise.
24739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24740 (__pthread_mutexattr_init): Likewise.
24741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24742 (__pthread_mutexattr_destroy): Likewise.
24743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24744 (__pthread_mutexattr_settype): Likewise.
24745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24746 (__pthread_rwlock_init): Likewise.
24747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24748 (__pthread_rwlock_destroy): Likewise.
24749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24750 (__pthread_rwlock_rdlock): Likewise.
24751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24752 (__pthread_rwlock_tryrdlock): Likewise.
24753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24754 (__pthread_rwlock_wrlock): Likewise.
24755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24756 (__pthread_rwlock_trywrlock): Likewise.
24757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24758 (__pthread_rwlock_unlock): Likewise.
24759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24760 (__pthread_key_create): Likewise.
24761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24762 (__pthread_setspecific): Likewise.
24763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24764 (__pthread_getspecific): Likewise.
24765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24768 (_pthread_cleanup_push_defer): Likewise.
24769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24770 (_pthread_cleanup_pop_restore): Likewise.
24771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24772 (pthread_setcancelstate): Likewise.
24773 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24775 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24776 (memchr): Do not use BP_SYM in weak_alias.
24777 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24778 (fegetenv): Do not use BP_SYM in versioned symbols.
24779 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24780 (fesetenv): Do not use BP_SYM in versioned symbols.
24781 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24782 (feupdateenv): Do not use BP_SYM in versioned symbols.
24783 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24784 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24785 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24786 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24787 (open64): Do not use BP_SYM in weak_alias.
24788 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24789 (fegetenv): Do not use BP_SYM in versioned symbols.
24790 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24791 (fesetenv): Do not use BP_SYM in versioned symbols.
24792 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24793 (feupdateenv): Do not use BP_SYM in versioned symbols.
24794 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24795 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24796 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24797 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24798 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24799 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24802 (__libc_start_main): Do not use BP_SYM.
24804 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24807 redundant return line.
24809 (denorm): Likewise.
24810 (dbl_mp): Likewise.
24811 (sub_magnitudes): Likewise.
24817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24819 (denorm): Likewise.
24820 (dbl_mp): Likewise.
24821 (sub_magnitudes): Likewise.
24828 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24830 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24831 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24834 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24835 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24837 of __mul for squares.
24838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24842 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24843 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24845 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24848 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24850 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24851 prototype or function definition. Rename ubp_* variables and
24852 parameters. Remove argv definitions conditional on
24853 [__BOUNDED_POINTERS__].
24854 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24855 * elf/dl-runtime.c (_dl_fixup): Likewise.
24856 * include/set-hooks.h (RUN_HOOK): Likewise.
24857 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24859 * string/strcpy.c (strcpy): Do not use __unbounded.
24860 * sysdeps/generic/frame.h (struct layout): Likewise.
24861 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24862 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24863 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24864 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24865 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24866 (__backtrace): Likewise.
24867 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24869 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24871 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24873 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24874 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24875 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24876 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24877 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24878 Do not use __unbounded.
24879 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24880 Rename __unboundedrlimits parameter to rlimits in prototype.
24881 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24882 Do not use __unbounded.
24883 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24884 not use __ptrvalue.
24885 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24886 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24887 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24888 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24889 __ptrvalue or __unbounded.
24890 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24891 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24893 (__new_msgctl): Do not use __ptrvalue.
24894 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24896 (__libc_msgrcv): Do not use __ptrvalue.
24897 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24898 startup_info): Do not use __unbounded.
24899 (__libc_start_main): Likewise. Rename ubp_* variables and
24900 parameters. Remove argv definitions conditional on
24901 [__BOUNDED_POINTERS__].
24902 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24904 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24906 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24908 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24910 (__new_shmctl): Do not use __ptrvalue.
24911 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24912 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24914 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24915 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24916 (__libc_sigaction): Likewise.
24917 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24918 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24920 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24922 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24924 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24926 * string/mempcpy.c: Implement by calling memcpy.
24928 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24935 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24936 values in the mantissa.
24938 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24939 minimize writes to Z.
24940 (sub_magnitudes): Simplify code a bit.
24942 2013-02-12 Roland McGrath <roland@hack.frob.com>
24944 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24945 from the message. The linker prefixes all warnings with that already.
24947 2013-02-12 Andreas Schwab <schwab@suse.de>
24950 * posix/regexec.c (extend_buffers): Add parameter min_len.
24951 (check_matching): Pass minimum needed length.
24952 (clean_state_log_if_needed): Likewise.
24953 (get_subexp): Likewise.
24954 * posix/Makefile (tests): Add bug-regex34.
24955 (bug-regex34-ENV): Define.
24956 * posix/bug-regex34.c: New file.
24959 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24960 elements compare against the byte sequence of it, not its name.
24961 * posix/Makefile (tests): Add bug-regex35.
24962 (bug-regex35-ENV): Define.
24963 * posix/bug-regex35.c: New file.
24965 2013-02-11 Tom de Vries <tom@codesourcery.com>
24967 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24969 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24970 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24971 (CHECK_EOL): Add undef.
24973 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24975 * bits/stdlib-bsearch.h: New file.
24976 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24977 * stdlib/stdlib.h: Likewise.
24979 2013-02-11 Roland McGrath <roland@hack.frob.com>
24981 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24982 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24984 * manual/search.texi (Array Search Function): Add missing const in
24986 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24987 declaration to use rlim_t.
24988 (Basic Scheduling Functions): Remove erroneous const from
24989 sched_getparam prototype. Remove erroneous * from
24990 sched_get_priority_max and sched_get_priority_min prototypes.
24991 (Resource Usage): Fix summary @comment on vtimes to refer to
24992 sys/vtimes.h rather than vtimes.h.
24993 Add missing *s in vtimes prototype.
24994 (Limits on Resources): Fix ulimit prototype to return long int.
24995 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24996 prototypes to use long int rather than double.
24997 (BSD Random): Fix initstate and setstate to use char *, not void *.
24998 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24999 prototype to make second argument 'struct aiocb64 *const[]'.
25000 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25001 (Status of AIO Operations): Remove erroneous const in aio_return and
25002 aio_return64 prototypes.
25003 (Synchronizing I/O): Fix sync prototype to return void.
25004 * manual/startup.texi (Suboptions): Remove an erroneous const in
25005 getsubopt prototype.
25006 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25007 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25008 use size_t rather than int.
25009 (Scanning All Users): Likewise for getpwent_r.
25010 (Setting Groups): Add missing const to setgroups prototype.
25011 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25012 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25013 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25014 'const void *' rather than 'const char *'.
25015 (Host Address Functions): Likewise for inet_ntop.
25016 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25017 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25018 ssize_t for return value.
25019 (Sending Data): Likewise for send, sendto, sendmsg.
25020 (Socket Option Functions): Add a missing const in setsockopt prototype.
25021 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25022 use wchar_t for the argument.
25023 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25024 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25026 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25027 double/float/long double for second argument.
25028 Fix return types of significand, significandf, significandl.
25029 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25030 argument in fchmod prototype.
25031 (File Owner): Use uid_t and gid_t in fchown prototype.
25032 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25033 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25034 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25035 use 'const struct dirent **' as argument types to CMP function pointer
25037 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25038 (File Times): Fix summary magic @comment for struct utimbuf and utime
25039 to refer to utime.h, not time.h.
25040 * manual/string.texi (Argz Functions): Add missing const in
25041 argz_extract and argz_next prototypes.
25042 (Finding Tokens in a String): Likewise for basename.
25043 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25044 (Copying and Concatenation): Fix typo in wmemmove prototype.
25045 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25046 (Signal Stack): Remove erroneous const in sigstack prototype.
25047 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25049 (Simple Calendar Time): Likewise for stime.
25050 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25052 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25053 say sys/sysctl.h instead.
25054 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25055 and vsyslog prototypes.
25057 2013-02-11 Tom de Vries <tom@codesourcery.com>
25059 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25062 2013-02-11 Roland McGrath <roland@hack.frob.com>
25064 * misc/sys/mman.h: Fix typo in mremap comment.
25066 2013-02-08 Roland McGrath <roland@hack.frob.com>
25068 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25069 the '\0' terminator.
25071 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25074 * debug/segfault.c: Don't include <bp-checks.h>.
25075 * sysdeps/generic/bp-checks.h: Remove file.
25076 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25077 (__GETDENTS): Don't use CHECK_N.
25078 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25079 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25080 (__getgroups): Don't use CHECK_N.
25081 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25082 (setgroups): Don't use CHECK_N.
25083 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25084 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25085 (__libc_msgrcv): Don't use CHECK_N.
25086 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25087 (__libc_msgsnd): Don't use CHECK_N.
25088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25090 (__libc_pread): Don't use CHECK_N.
25091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25092 include <bp-checks.h>.
25093 (__libc_pread64): Don't use CHECK_N.
25094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25095 include <bp-checks.h>.
25096 (__libc_pwrite): Don't use CHECK_N.
25097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25098 include <bp-checks.h>.
25099 (__libc_pwrite64): Don't use CHECK_N.
25100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25102 (__libc_pread): Don't use CHECK_N.
25103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25104 include <bp-checks.h>.
25105 (__libc_pread64): Don't use CHECK_N.
25106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25107 include <bp-checks.h>.
25108 (__libc_pwrite): Don't use CHECK_N.
25109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25110 include <bp-checks.h>.
25111 (__libc_pwrite64): Don't use CHECK_N.
25112 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25113 (do_pread): Don't use CHECK_N.
25114 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25115 (do_pread64): Don't use CHECK_N.
25116 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25117 (do_pwrite): Don't use CHECK_N.
25118 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25119 (do_pwrite64): Don't use CHECK_N.
25120 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25121 (__libc_readv): Don't use CHECK_N.
25122 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25123 (semop): Don't use CHECK_N.
25124 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25126 (semtimedop): Don't use CHECK_N.
25127 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25128 (__libc_pread): Don't use CHECK_N.
25129 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25131 (__libc_pread64): Don't use CHECK_N.
25132 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25134 (__libc_pwrite): Don't use CHECK_N.
25135 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25137 (__libc_pwrite64): Don't use CHECK_N.
25138 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25140 (__libc_msgrcv): Don't use CHECK_N.
25141 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25142 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25143 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25144 (__libc_writev): Don't use CHECK_N.
25146 2013-02-08 Roland McGrath <roland@hack.frob.com>
25148 * string/strcpy.c: Removed unused variable.
25150 * Makeconfig (+sysdep-includes): Define with := rather than =.
25151 Use an existing include/ subdir of each sysdeps dir before it.
25153 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25155 * nscd/connection.c (register_traced_file): Comment function.
25156 [HAVE_INOTIFY] (union __inev): Define.
25157 [HAVE_INOTIFY] (inotify_check_files): New function.
25158 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25159 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25161 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25163 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25165 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25166 loaded if not already and that a failure is permanent.
25168 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25171 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25172 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25174 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25177 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25178 (CHECK_1_NULL_OK): Likewise.
25179 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25180 (__fxstat): Do not use CHECK_1.
25181 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25183 (___fxstat64): Do not use CHECK_1.
25184 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25186 (__fxstatat): Do not use CHECK_1.
25187 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25189 (__fxstatat64): Do not use CHECK_1.
25190 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25192 (__fxstat): Do not use CHECK_1.
25193 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25195 (__fxstatat): Do not use CHECK_1.
25196 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25198 (__getresgid): Do not use CHECK_1.
25199 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25201 (__getresuid): Do not use CHECK_1.
25202 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25204 (__lxstat): Do not use CHECK_1.
25205 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25207 (__old_msgctl): Do not use CHECK_1.
25208 (__new_msgctl): Likewise.
25209 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25211 (__new_setrlimit): Do not use CHECK_1.
25212 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25214 (__old_shmctl): Do not use CHECK_1.
25215 (__new_shmctl): Likewise.
25216 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25218 (__xstat): Do not use CHECK_1.
25219 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25220 (__lxstat): Do not use CHECK_1.
25221 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25223 (___lxstat64): Do not use CHECK_1.
25224 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25225 (__old_msgctl): Do not use CHECK_1.
25226 (__new_msgctl): Likewise.
25227 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25229 (__gettimeofday): Do not use CHECK_1.
25230 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25231 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25232 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25234 (__gettimeofday): Do not use CHECK_1.
25235 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25236 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25237 (__new_shmctl): Do not use CHECK_1.
25238 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25240 (do_sigtimedwait): Do not use CHECK_1.
25241 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25243 (do_sigwaitinfo): Do not use CHECK_1.
25244 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25246 (msgctl): Do not use CHECK_1.
25247 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25249 (shmctl): Do not use CHECK_1.
25250 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25251 (ustat): Do not use CHECK_1.
25252 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25254 (__fxstat): Do not use CHECK_1.
25255 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25257 (__fxstatat): Do not use CHECK_1.
25258 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25260 (__lxstat): Do not use CHECK_1.
25261 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25263 (__xstat): Do not use CHECK_1.
25264 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25265 (__xstat): Do not use CHECK_1.
25266 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25267 (___xstat64): Do not use CHECK_1.
25270 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25272 (CHECK_BOUNDS_HIGH): Likewise.
25273 * string/strcpy.c: Do not include <bp-checks.h>.
25274 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25276 2013-02-07 Roland McGrath <roland@hack.frob.com>
25278 * nscd/nscd-client.h (__nscd_drop_map_ref):
25279 Add __attribute__ ((unused)).
25280 * nis/nss-nisplus.h (niserr2nss): Likewise.
25282 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25283 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25285 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25286 Remove inline keyword.
25287 * include/rounding-mode.h (round_away): Likewise.
25288 * libio/wfileops.c (adjust_wide_data): Likewise.
25289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25290 (__m128i_strloadu_tolower): Likewise.
25291 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25292 (__m128i_strloadu_tolower): Likewise.
25293 * time/mktime.c (ydhms_diff): Likewise.
25294 * locale/elem-hash.h (elem_hash): Likewise.
25295 * locale/setlocale.c (setdata): Likewise.
25296 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25297 (re_string_wchar_at): Likewise.
25298 (bitset_not, bitset_merge, bitset_mask): Likewise.
25299 [!(__GNUC__ > 3)] (inline): Remove macro.
25300 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25301 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25302 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25303 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25304 * string/memcmp.c (memcmp_bytes): Likewise.
25305 * locale/programs/locarchive.c (compute_hashval): Likewise.
25306 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25307 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25308 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25309 * nss/getent.c (print_rpc, print_protocols): Likewise.
25310 (print_passwd, print_group, print_aliases): Likewise.
25311 * nis/nss-nisplus.h (niserr2nss): Likewise.
25312 * nscd/connections.c (restart_p): Likewise.
25313 Change return type to bool.
25315 2013-02-05 Roland McGrath <roland@hack.frob.com>
25317 * Makeconfig (all-Depend-files): Add existing
25318 $(sorted-subdirs:=/Depend) files.
25319 (all-subdirs): Remove nss.
25320 * sysdeps/unix/inet/Subdirs: Add it here instead.
25321 * hesiod/Depend: New file.
25323 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25324 instead of calling alloca.
25326 * io/lseek.c (__lseek): Rename to __libc_lseek.
25327 Define __lseek as an alias.
25329 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25331 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25333 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25334 else clause and remove check for non-standard endianness.
25336 2013-02-04 David S. Miller <davem@davemloft.net>
25338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25340 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25343 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25344 (__ubp_memchr): Remove prototype.
25345 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25346 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25347 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25348 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25349 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25351 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25352 (__ubp_memchr): Likewise.
25353 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25354 (__ubp_memchr): Likewise.
25355 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25356 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25357 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25358 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25360 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25361 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25362 (__getcwd): Do not use CHECK_STRING.
25363 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25365 (__real_chown): Do not use CHECK_STRING.
25366 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25368 (fchownat): Do not use CHECK_STRING.
25369 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25371 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25373 (__lchown): Do not use CHECK_STRING.
25374 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25375 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25376 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25377 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25379 include <bp-checks.h>.
25380 (truncate64): Do not use CHECK_STRING.
25381 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25383 (__real_chown): Do not use CHECK_STRING.
25384 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25386 (__lchown): Do not use CHECK_STRING.
25387 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25389 (__chown): Do not use CHECK_STRING.
25390 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25392 (truncate64): Do not use CHECK_STRING.
25393 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25395 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25396 (__xmknod): Do not use CHECK_STRING.
25397 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25399 (__xmknodat): Do not use CHECK_STRING.
25400 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25401 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25403 2013-02-04 Andreas Schwab <schwab@suse.de>
25406 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25407 * include/netdb.h: Likewise for h_errno.
25408 * elf/tst-stackguard1.c: Include <tls.h>.
25410 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25412 * elf/link.h (struct link_map): Extend the l_addr comment.
25413 * include/link.h (struct link_map): Likewise.
25415 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25418 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25419 (BOUNDED_1): Remove macro.
25420 * debug/backtrace.c: Don't include <bp-checks.h>.
25421 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25422 (__backtrace): Likewise.
25423 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25425 (__backtrace): Don't use BOUNDED_1.
25426 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25428 (__backtrace): Don't use BOUNDED_1.
25429 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25430 (__backtrace): Don't use BOUNDED_1.
25431 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25432 (shmat): Don't use BOUNDED_N.
25434 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25437 * sysdeps/generic/bp-start.h: Remove file.
25438 * csu/libc-start.c: Don't include <bp-start.h>.
25439 (LIBC_START_MAIN): Set up __environ directly instead of using
25440 INIT_ARGV_and_ENVIRON.
25441 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25445 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25447 (CHECK_FCNTL): Likewise.
25448 (CHECK_N_PAGES): Likewise.
25451 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25453 (CHECK_SIGSET_NULL_OK): Likewise.
25454 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25456 (sigpending): Don't use CHECK_SIGSET.
25457 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25459 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25460 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25462 (do_sigsuspend): Don't use CHECK_SIGSET.
25463 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25465 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25466 (do_sigwait): Don't use CHECK_SIGSET.
25467 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25470 include <bp-checks.h>.
25471 (sigpending): Don't use CHECK_SIGSET.
25472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25473 include <bp-checks.h>.
25474 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25475 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25477 (sigpending): Don't use CHECK_SIGSET.
25478 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25480 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25483 * sysdeps/generic/bp-semctl.h: Remove file.
25484 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25485 <bp-checks.h> and <bp-semctl.h>.
25486 (__old_semctl): Don't use CHECK_SEMCTL.
25487 (__new_semctl): Likewise.
25488 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25490 (__old_semctl): Don't use CHECK_SEMCTL.
25491 (__new_semctl): Likewise.
25492 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25493 <bp-checks.h> and <bp-semctl.h>.
25494 (__old_semctl): Don't use CHECK_SEMCTL.
25495 (__new_semctl): Likewise.
25496 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25497 <bp-checks.h> and <bp-semctl.h>.
25498 (semctl): Don't use CHECK_SEMCTL.
25501 * Makerules (elide-bp-thunks): Remove variable.
25502 (elide-routines.oS): Don't use $(elide-bp-thunks).
25503 (elide-routines.os): Likewise.
25504 (elide-routines.o): Likewise.
25505 (elide-routines.op): Likewise.
25506 (elide-routines.og): Likewise.
25507 (objects): Don't use $(bp-thunks).
25508 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25510 (common-generated): Do not add s-proto-bp.d.
25511 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25514 Do not generate makefile rules for bounded-pointer thunks.
25515 * sysdeps/generic/bp-thunks.h: Remove file.
25516 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25517 * sysdeps/unix/s-proto-bp.S: Likewise.
25520 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25521 parts of result separately when argument is not close to line from
25522 -i to i and one part of argument is small.
25523 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25524 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25525 * math/libm-test.inc (cacos_test): Add more tests.
25526 (casin_test): Likewise.
25527 (casinh_test): Likewise.
25528 * sysdeps/i386/fpu/libm-test-ulps: Update.
25529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25531 2013-01-31 David S. Miller <davem@davemloft.net>
25533 * po/de.po: Update from translation team.
25535 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25537 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25539 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25541 * configure.in (_AC_PROG_CC_C89): New definition.
25542 * configure: Regenerate.
25544 * configure.in (AC_PROG_CPP): New definition.
25545 * configure: Regenerate.
25547 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25549 * debug/tst-backtrace.h: New file.
25550 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25551 (ret): Remove variable.
25553 (FAIL): Remove macro.
25554 (NO_INLINE): Likewise.
25555 (fn1): Use match function instead of strstr.
25556 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25557 (ret): Remove variable.
25559 (FAIL): Remove macro.
25560 (NO_INLINE): Likewise.
25561 (fn): Use match function instead of strstr.
25562 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25563 (ret): Remove variable.
25565 (FAIL): Remove macro.
25566 (NO_INLINE): Likewise.
25567 (handle_signal): Use match function instead of strstr.
25568 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25569 (ret): Remove variable.
25571 (FAIL): Remove macro.
25572 (NO_INLINE): Likewise.
25573 (handle_signal): Use match function instead of strstr.
25575 2013-01-23 Roland McGrath <roland@hack.frob.com>
25577 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25579 2013-01-23 David S. Miller <davem@davemloft.net>
25581 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25582 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25583 argument of CAS if possible.
25584 * sysdeps/sparc/sparc64/bits/atomic.h
25585 (__arch_compare_and_exchange_val_32_acq): Likewise.
25586 (__arch_compare_and_exchange_val_64_acq): Likewise.
25588 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25590 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25591 * sysdeps/posix/ulimit.c: ... this.
25592 Include <limits.h>.
25593 * sysdeps/unix/bsd/ulimit.c: Remove file.
25595 2013-01-23 Adam Conrad <adconrad@0c3.net>
25597 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25598 (LDFLAGS-tst-array5): Likewise.
25600 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25603 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25604 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25605 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25606 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25608 2013-01-21 David S. Miller <davem@davemloft.net>
25610 * sysdeps/sparc/backtrace.c: New file.
25611 * sysdeps/sparc/sparc32/backtrace.h: New file.
25612 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25613 * sysdeps/sparc/sparc64/backtrace.h: New file.
25614 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25615 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25618 2013-01-21 Andreas Schwab <schwab@suse.de>
25621 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25624 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25630 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25631 Mark Mitchell <mark@codesourcery.com>
25632 Tom de Vries <tom@codesourcery.com>
25633 Paul Pluzhnikov <ppluzhnikov@google.com>
25635 * debug/tst-backtrace2.c: New file.
25636 * debug/tst-backtrace3.c: Likewise.
25637 * debug/tst-backtrace4.c: Likewise.
25638 * debug/tst-backtrace5.c: Likewise.
25639 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25640 (CFLAGS-tst-backtrace3.c): Likewise.
25641 (CFLAGS-tst-backtrace4.c): Likewise.
25642 (CFLAGS-tst-backtrace5.c): Likewise.
25643 (LDFLAGS-tst-backtrace2): Likewise.
25644 (LDFLAGS-tst-backtrace3): Likewise.
25645 (LDFLAGS-tst-backtrace4): Likewise.
25646 (LDFLAGS-tst-backtrace5): Likewise.
25647 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25648 tst-backtrace4 and tst-backtrace5.
25650 2013-01-18 Anton Blanchard <anton@samba.org>
25651 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25653 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25654 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25655 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25656 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25658 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25659 "+r" and remove output regs list as redundant. Add explicit inline
25660 asm to specify register of return val to work around compiler codegen
25661 bug. Remove (int) cast on return value. Add return type parameter to
25662 use in macro so that this macro does not truncate return value for
25664 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25665 pass to INTERNAL_VSYSCALL_NCS.
25666 (INLINE_VSYSCALL): Add 'long int' as return type to
25667 INTERNAL_VSYSCALL_NCS macro invocation.
25668 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25669 INTERNAL_VSYSCALL_NCS macro invocation.
25670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25672 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25675 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25676 Fix application of SIMD FP exception mask.
25678 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25679 mp_no from a power of two.
25680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25681 __mpexp_twomm1. Use __pow_mp.
25683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25686 2013-01-17 David S. Miller <davem@davemloft.net>
25688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25690 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25693 * include/complex.h: Condition contents on [!_COMPLEX_H].
25694 (__kernel_casinhf): New prototype.
25695 (__kernel_casinh): Likewise.
25696 (__kernel_casinhl): Likewise.
25697 * math/Makefile (libm_calls): Add k_casinh.
25698 * math/k_casinh.c: New file.
25699 * math/k_casinhf.c: Likewise.
25700 * math/k_casinhl.c: Likewise.
25701 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25702 finite nonzero arguments.
25703 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25704 finite nonzero arguments.
25705 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25706 finite nonzero arguments.
25707 * math/s_casinh.c: Do not include <float.h>.
25708 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25709 * math/s_casinhf.c: Do not include <float.h>.
25710 (__casinhf): Move code for finite nonzero arguments to
25712 * math/s_casinhl.c: Do not include <float.h>.
25713 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25715 (__casinhl): Move code for finite nonzero arguments to
25717 * math/libm-test.inc (cacos_test): Add more tests.
25718 * sysdeps/i386/fpu/libm-test-ulps: Update.
25719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25721 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25723 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25724 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25725 [!HAVE_MREMAP]: Remove [defined linux] case.
25726 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25728 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25730 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25732 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25734 * elf/elf.h (R_386_SIZE32): New relocation.
25735 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25737 (elf_machine_rela): Likewise.
25738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25739 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25741 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25743 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25744 (FP_FAST_FMA): Do not define.
25745 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25746 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25747 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25748 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25749 !_SOFT_FLOAT]: Likewise.
25750 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25751 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25753 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25754 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25755 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25756 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25757 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25758 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25761 2013-01-16 Andreas Schwab <schwab@suse.de>
25764 * include/stdlib.h (__mktemp): Add declaration.
25765 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25766 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25768 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25770 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25772 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25773 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25774 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25776 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25777 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25781 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25782 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25783 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25785 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25786 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25788 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25790 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25792 2013-01-15 David S. Miller <davem@davemloft.net>
25794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25795 trunc{,f} to libm-sysdep_routes.
25796 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25806 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25807 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25808 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25809 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25810 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25811 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25814 nearbyint{,f} to libm-sysdep_routes.
25815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25826 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25829 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25831 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25832 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25833 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25835 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25836 libc_feholdexcept and libc_fesetenv.
25838 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25840 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25842 2013-01-14 David S. Miller <davem@davemloft.net>
25844 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25845 (SPARC_ASM_VIS2_IFUNC): Likewise.
25846 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25848 use of 'siam' instruction.
25849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25882 routines to libm-sysdep_routines.
25883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25886 fdim/fdimf to libm-sysdep_routines.
25887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25895 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25896 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25897 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25898 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25900 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25902 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25903 to optimize copies.
25905 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25910 local variable MPTWO.
25911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25914 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25916 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25919 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25921 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25923 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25925 * manual/pattern.texi (glob_t): Document gl_flags.
25926 (glob64_t): Likewise.
25928 2013-01-11 David S. Miller <davem@davemloft.net>
25930 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25931 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25932 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25933 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25934 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25935 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25936 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25937 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25938 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25939 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25940 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25941 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25942 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25944 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25945 sparc V9 rather than using V8 code.
25946 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25947 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25949 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25951 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25954 2013-01-11 Roland McGrath <roland@hack.frob.com>
25956 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25957 not in the main loop.
25958 * configure: Regenerated.
25960 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25962 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25963 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25965 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25966 [!__GLIBC_HAVE_LONG_LONG] case.
25967 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25968 condition to just #else.
25969 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25970 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25971 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25972 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25974 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25975 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25976 #elif condition to just #else.
25977 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25978 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25979 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25980 #elif condition to just #else.
25982 2013-01-11 Steve Ellcey <sellcey@mips.com>
25984 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25985 (EF_MIPS_ARCH_64): Fix value.
25986 (EF_MIPS_ARCH_32R2): New.
25987 (EF_MIPS_ARCH_64R2): New.
25989 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25991 * Makeconfig (+link-pie-before-libc): New.
25992 (+link-pie-after-libc): Likewise.
25993 (+link-pie-tests): Likewise.
25994 (+link-pie): Rewritten.
25995 (link-before-libc): Remove $(config-LDFLAGS).
25996 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25997 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25998 (config-LDFLAGS): Renamed to ...
25999 (rtld-LDFLAGS): This.
26000 (rtld-tests-LDFLAGS): New macro.
26001 (link-libc-rpath-link): Likewise.
26002 (link-libc-tests-rpath-link): Likewise.
26003 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26004 (link-libc): Prepand $(link-libc-rpath-link).
26005 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26006 (test-program-prefix): New macro.
26007 (test-via-rtld-prefix): Likewise.
26008 (test-program-cmd): Likewise.
26009 (host-test-program-cmd): Likewise.
26010 * Makefile ($(common-objpfx)testrun.sh): Replace
26011 $(run-program-prefix) with $(test-program-prefix).
26012 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26014 ($(common-objpfx)shlib.lds): Likewise.
26015 (build-module-helper): Likewise.
26016 ($(common-objpfx)format.lds): Likewise.
26017 * Rules (binaries-pie-tests): New.
26018 (binaries-pie-notests): Likewise.
26019 (binaries-pie): Rewritten.
26020 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26021 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26022 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26023 (make-test-out): Replace $(host-built-program-cmd) with
26024 $(host-test-program-cmd).
26025 * config.make.in (build-hardcoded-path-in-tests): New variable.
26026 * configure.in (--enable-hardcoded-path-in-tests): New configure
26028 (hardcoded_path_in_tests): New AC_SUBST.
26029 * configure: Regenerated.
26030 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26031 $(built-program-cmd) with $(test-program-cmd).
26032 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26033 (test_program_cmd): This.
26034 * elf/Makefile ($(objpfx)order.out): Run test with
26035 $(test-program-prefix).
26036 ($(objpfx)order2.out): Likewise.
26037 ($(objpfx)tst-initorder.out): Likewise.
26038 ($(objpfx)tst-initorder2.out): Likewise.
26039 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26040 $(test-program-cmd).
26041 ($(objpfx)tst-array1-static.out): Likewise.
26042 ($(objpfx)tst-array2.out): Likewise.
26043 ($(objpfx)tst-array3.out): Likewise.
26044 ($(objpfx)tst-array4.out): Likewise.
26045 ($(objpfx)tst-array5.out): Likewise.
26046 ($(objpfx)tst-array5-static.out): Likewise.
26047 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26048 $(test-program-cmd).
26049 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26050 $(run-program-prefix) with $(test-program-prefix).
26051 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26052 (test_program_prefix): This.
26053 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26054 $(run-program-prefix) with $(test-program-prefix).
26055 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26056 (test_program_prefix): This.
26057 * iconvdata/tst-tables.sh: Likewise.
26058 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26059 $(run-program-prefix) with $(test-program-prefix).
26060 ($(objpfx)tst-translit.out): Likewise.
26061 ($(objpfx)tst-gettext2.out): Likewise.
26062 ($(objpfx)tst-gettext4.out): Likewise.
26063 ($(objpfx)tst-gettext6.out): Likewise.
26064 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26065 (test_program_prefix): This.
26066 * intl/tst-gettext2.sh: Likewise.
26067 * intl/tst-gettext4.sh Likewise.
26068 * intl/tst-gettext6.sh: Likewise.
26069 * intl/tst-translit.sh: Likewise.
26070 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26071 with $(test-program-cmd).
26072 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26073 $(run-program-prefix) with $(test-program-prefix).
26074 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26075 (test_program_prefix): This.
26076 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26077 $(run-program-prefix) with $(test-program-prefix).
26078 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26079 (test_program_prefix): This.
26080 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26081 * posix/Makefile ($(objpfx)globtest.out): Replace
26082 $(run-via-rtld-prefix) and $(test-wrapper) with
26083 $(test-program-prefix) and $(test-via-rtld-prefix).
26084 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26085 $(test-program-prefix).
26086 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26087 $(host-test-program-cmd).
26088 (tst-spawn-ARGS): Likewise.
26089 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26090 $(test-program-prefix).
26091 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26092 (test_via_rtld_prefix): This.
26093 (test_wrapper): Renamed to ...
26094 (test_program_prefix): This.
26095 (run_program_prefix): Replaced by test_program_prefix.
26096 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26097 (test_program_prefix): This.
26098 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26099 with $(host-test-program-cmd).
26100 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26101 $(run-program-prefix) with $(test-program-prefix).
26102 ($(objpfx)tst-printf.out): Likewise.
26103 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26104 $(test-program-cmd).
26105 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26106 (test_program_prefix): This.
26107 * stdio-common/tst-unbputc.sh: Likewise.
26108 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26109 $(run-program-prefix) with $(test-program-prefix).
26110 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26111 (test_program_prefix): This.
26112 * string/Makefile ($(objpfx)tst-svc.out): Replace
26113 $(built-program-cmd) with $(test-program-cmd).
26115 2013-01-11 Andreas Jaeger <aj@suse.de>
26118 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26119 value. Sync with Linux 3.7.
26121 2013-01-10 David S. Miller <davem@davemloft.net>
26123 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26124 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26125 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26127 2013-01-10 Roland McGrath <roland@hack.frob.com>
26129 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26131 * configure: Regenerated.
26133 2013-01-10 David S. Miller <davem@davemloft.net>
26135 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26136 sparc V9 rather than using V8 code.
26137 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26138 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26140 2013-01-10 Roland McGrath <roland@hack.frob.com>
26142 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26143 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26144 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26145 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26146 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26147 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26148 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26149 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26150 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26151 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26152 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26153 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26154 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26155 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26156 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26157 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26158 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26159 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26160 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26161 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26162 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26163 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26164 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26165 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26166 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26167 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26168 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26170 2013-01-10 David S. Miller <davem@davemloft.net>
26172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26174 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26176 * posix/Makefile (tests-static): New variable.
26177 (tests): Add $(tests-static).
26178 (tst-exec-static-ARGS): New variable.
26179 (tst-spawn-static-ARGS): Likewise.
26180 * posix/tst-exec-static.c: New file.
26181 * posix/tst-spawn-static.c: Likewise.
26182 * posix/tst-exec.c: Support run directly.
26183 * posix/tst-spawn.c: Likewise.
26185 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26187 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26189 * math/bits/mathcalls.h (llrint): Likewise.
26190 (llround): Likewise.
26191 * stdlib/stdlib.h (struct drand48_data): Likewise.
26192 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26193 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26194 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26196 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26198 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26199 (elf_greg_t): Likewise.
26200 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26201 (__jmp_buf): Likewise.
26202 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26204 (llrint): Likewise, for all definitions.
26205 (llrintl): Likewise.
26207 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26208 Remove [__GNUC__] condition.
26209 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26210 condition to just [__USE_ISOC99].
26211 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26213 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26216 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26217 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26219 (_POSIX_V6_ILP32_OFF32): Likewise.
26220 (_XBS5_ILP32_OFF32): Likewise.
26221 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26222 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26224 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26226 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26229 doubles __mpexp_twomm1. Adjust usage.
26230 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26233 2013-01-10 Andreas Schwab <schwab@suse.de>
26236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26237 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26239 2013-01-09 David S. Miller <davem@davemloft.net>
26242 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26243 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26244 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26245 (TCP_FASTOPEN): Define.
26246 (tcp_repair_opt): New structure.
26247 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26249 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26250 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26251 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26252 (tcp_cookie_transactions): New structure.
26254 2013-01-09 Anton Blanchard <anton@samba.org>
26256 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26257 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26258 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26259 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26261 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26263 * include/features.h (__USE_ANSI): Remove.
26265 2013-01-09 Roland McGrath <roland@hack.frob.com>
26267 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26269 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26271 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26273 * sysdeps/s390/fpu/libm-test-ulps: Update.
26275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26277 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26281 (denorm): Likewise.
26282 (__mp_dbl): Likewise.
26283 (__dbl_mp): Likewise.
26284 (add_magnitudes): Likewise.
26285 (sub_magnitudes): Likewise.
26291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26295 (denorm): Likewise.
26296 (__mp_dbl): Likewise.
26297 (__dbl_mp): Likewise.
26298 (add_magnitudes): Likewise.
26299 (sub_magnitudes): Likewise.
26305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26309 (denorm): Likewise.
26310 (__mp_dbl): Likewise.
26311 (__dbl_mp): Likewise.
26312 (add_magnitudes): Likewise.
26313 (sub_magnitudes): Likewise.
26320 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26322 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26323 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26324 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26325 2 && __USE_EXTERN_INLINES]: Likewise.
26327 2013-01-08 Andreas Jaeger <aj@suse.de>
26330 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26332 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26333 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26335 2013-01-07 Anton Blanchard <anton@samba.org>
26337 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26338 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26339 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26340 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26341 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26342 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26343 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26344 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26346 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26347 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26348 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26349 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26350 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26351 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26352 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26353 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26354 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26355 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26356 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26357 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26358 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26360 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26361 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26362 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26363 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26364 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26366 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26367 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26369 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26370 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26371 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26372 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26373 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26375 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26376 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26377 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26379 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26381 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26383 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26384 (__MALLOC_PMT): Likewise.
26385 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26386 [__GNUC__], only on [_LIBC].
26387 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26388 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26389 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26390 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26391 forward declaration.
26392 (realloc_hook_ini): Likewise.
26393 (memalign_hook_ini): Likewise.
26394 (__libc_memalign): Do not use __MALLOC_PMT in variable
26396 (__libc_valloc): Likewise.
26397 (__libc_pvalloc): Likewise.
26398 (__libc_calloc): Likewise.
26399 (__posix_memalign): Likewise.
26402 * math/s_casinh.c: Include <float.h>.
26403 (__casinh): Do not do computation with squaring and square root
26404 for large arguments.
26405 * math/s_casinhf.c: Include <float.h>.
26406 (__casinhf): Do not do computation with squaring and square root
26407 for large arguments.
26408 * math/s_casinhl.c: Include <float.h>.
26409 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26410 (__casinhl): Do not do computation with squaring and square root
26411 for large arguments.
26412 * math/libm-test.inc (casin_test): Add more tests.
26413 (casinh_test): Likewise.
26414 * sysdeps/i386/fpu/libm-test-ulps: Update.
26415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26417 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26419 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26420 (__x86_64_raw_data_cache_size): Likewise.
26421 (__x86_64_data_cache_size_half): Likewise.
26422 (__x86_64_raw_data_cache_size_half): Likewise.
26423 (__x86_64_shared_cache_size): Likewise.
26424 (__x86_64_raw_shared_cache_size): Likewise.
26425 (__x86_64_shared_cache_size_half): Likewise.
26426 (__x86_64_raw_shared_cache_size_half): Likewise.
26427 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26429 (__x86_data_cache_size): This.
26430 (__x86_64_raw_data_cache_size): Renamed to ...
26431 (__x86_raw_data_cache_size): This.
26432 (__x86_64_data_cache_size_half): Renamed to ...
26433 (__x86_data_cache_size_half): This.
26434 (__x86_64_raw_data_cache_size_half): Renamed to ...
26435 (__x86_raw_data_cache_size_half): This.
26436 (__x86_64_shared_cache_size): Renamed to ...
26437 (__x86_shared_cache_size): This.
26438 (__x86_64_raw_shared_cache_size): Renamed to ...
26439 (__x86_raw_shared_cache_size): This.
26440 (__x86_64_shared_cache_size_half): Renamed to ...
26441 (__x86_shared_cache_size_half): This.
26442 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26443 (__x86_raw_shared_cache_size_half): This.
26444 * sysdeps/x86_64/memcpy.S: Updated.
26445 * sysdeps/x86_64/memset.S: Likewise.
26446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26447 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26450 2013-01-04 David S. Miller <davem@davemloft.net>
26452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26454 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26456 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26457 1 to avoid redefinition warning.
26458 (__USE_GNU): Don't define.
26459 (init_signaling_nan): Protoize.
26461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26463 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26465 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26467 (__cpymn): Likewise.
26468 (norm): Remove commented code.
26469 (denorm): Likewise.
26470 (__mp_dbl): Likewise.
26472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26473 (__cpymn): Likewise.
26474 (norm): Remove commented code.
26475 (denorm): Likewise.
26476 (__mp_dbl): Likewise.
26479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26480 mp_no value for 1.0 and 2.0.
26481 (norm): Use RADIXI instead of radixi.d.
26482 (denorm): Likewise.
26483 (__mul): Use 0.0 instead of zero.d.
26484 * sysdeps/powerpc/powerpc64/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.
26490 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26493 * math/s_casinh.c (__casinh): Reduce finite argument to first
26494 quadrant then set signs of results at the end.
26495 * math/s_casinhf.c (__casinhf): Likewise.
26496 * math/s_casinhl.c (__casinhl): Likewise.
26497 * math/libm-test.inc (casin_test): Add more tests.
26498 (casinh_test): Likewise.
26499 * sysdeps/i386/fpu/libm-test-ulps: Update.
26500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26502 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26504 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26506 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26508 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26510 (denorm): Likewise.
26511 (__mp_dbl): Likewise.
26514 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26515 and adjust the header comment.
26517 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26518 variable name from declaration.
26520 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26523 Initialize COMMON_CPUID_INDEX_7 element.
26524 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26525 (CPUID_RTM): Likewise.
26526 (HAS_RTM): Likewise.
26527 (COMMON_CPUID_INDEX_7): New enum.
26529 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26532 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26533 size is zero, record memory as freed.
26535 2013-01-03 Andreas Jaeger <aj@suse.de>
26537 * po/ia.po: Add new Interlingua translation.
26539 2012-01-03 Allan McRae <allan@archlinux.org>
26541 * locale/programs/localedef.c: Fix description of '--posix' flag.
26543 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26545 * NEWS: Update dates in second copyright notice.
26546 * README: Update copyright dates in example.
26547 * manual/libc.texinfo: Update copyright dates.
26548 * scripts/test-installation.pl: Update copyright date in --version
26551 * hurd/ctty-input.c: Fix copyright notice formatting.
26552 * hurd/ctty-output.c: Likewise.
26553 * hurd/dtable.c: Likewise.
26554 * hurd/hurd-raise.c: Likewise.
26555 * hurd/hurdprio.c: Likewise.
26556 * hurd/msgportdemux.c: Likewise.
26557 * misc/sys/file.h: Likewise.
26558 * misc/sys/ioctl.h: Likewise.
26559 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26560 * sysdeps/mach/hurd/chdir.c: Likewise.
26561 * sysdeps/mach/hurd/fchdir.c: Likewise.
26562 * sysdeps/mach/hurd/rename.c: Likewise.
26563 * sysdeps/mach/hurd/rmdir.c: Likewise.
26564 * sysdeps/mach/hurd/seekdir.c: Likewise.
26565 * sysdeps/mach/hurd/setsid.c: Likewise.
26566 * sysdeps/posix/wait3.c: Likewise.
26568 * All files with FSF copyright notices: Update copyright dates
26569 using scripts/update-copyrights.
26570 * intl/plural.c: Regenerated.
26571 * locale/programs/charmap-kw.h: Likewise.
26572 * locale/programs/locfile-kw.h: Likewise.
26574 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26576 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26580 calculation loop and add branch prediction.
26582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26583 check access beyond bounds of m1np.
26585 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26587 (__inv): Remove local variable MPTWO to use the global
26589 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26590 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26592 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26593 MP3HALFS static const.
26595 2013-01-01 David S. Miller <davem@davemloft.net>
26597 * po/ca.po: Update from translation team.
26599 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26601 * scripts/update-copyrights: New file.
26602 * Makeconfig: Reformat copyright notice.
26603 * ctype/ctype.h: Likewise.
26604 * debug/swprintf_chk.c: Likewise.
26605 * elf/dl-cache.c: Likewise.
26606 * elf/dl-debug.c: Likewise.
26607 * elf/dl-object.c: Likewise.
26608 * grp/initgroups.c: Likewise.
26609 * hurd/Makefile: Likewise.
26610 * hurd/hurd/signal.h: Likewise.
26611 * hurd/hurdfault.c: Likewise.
26612 * hurd/hurdioctl.c: Likewise.
26613 * hurd/hurdlookup.c: Likewise.
26614 * hurd/intr-msg.c: Likewise.
26615 * iconv/gconv_open.c: Likewise.
26616 * libio/swprintf.c: Likewise.
26617 * locale/lc-ctype.c: Likewise.
26618 * locale/nl_langinfo.c: Likewise.
26619 * mach/Machrules: Likewise.
26620 * mach/Makefile: Likewise.
26621 * malloc/obstack.h: Likewise.
26622 * manual/Makefile: Likewise.
26623 * manual/tsort.awk: Likewise.
26624 * misc/bits/stab.def: Likewise.
26625 * nis/nis_print_group_entry.c: Likewise.
26626 * nis/nis_table.c: Likewise.
26627 * nis/nss_compat/compat-pwd.c: Likewise.
26628 * nis/nss_compat/compat-spwd.c: Likewise.
26629 * po/Makefile: Likewise.
26630 * posix/fnmatch.c: Likewise.
26631 * posix/regex.h: Likewise.
26632 * resolv/Makefile: Likewise.
26633 * resolv/nss_dns/dns-network.c: Likewise.
26634 * resolv/res_hconf.c: Likewise.
26635 * scripts/gen-sorted.awk: Likewise.
26636 * soft-fp/soft-fp.h: Likewise.
26637 * stdio-common/printf.h: Likewise.
26638 * stdlib/monetary.h: Likewise.
26639 * stdlib/random.c: Likewise.
26640 * stdlib/random_r.c: Likewise.
26641 * sysdeps/generic/Makefile: Likewise.
26642 * sysdeps/gnu/Makefile: Likewise.
26643 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26645 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26647 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26671 * sysdeps/mach/hurd/errnos.awk: Likewise.
26672 * sysdeps/mach/hurd/fork.c: Likewise.
26673 * sysdeps/mach/hurd/getcwd.c: Likewise.
26674 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26675 * sysdeps/mach/hurd/mmap.c: Likewise.
26676 * sysdeps/mach/hurd/utimes.c: Likewise.
26677 * sysdeps/mach/hurd/xmknod.c: Likewise.
26678 * sysdeps/posix/profil.c: Likewise.
26679 * sysdeps/posix/readdir_r.c: Likewise.
26680 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26681 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26682 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26683 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26685 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26686 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26687 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26689 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26690 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26691 * sysdeps/pthread/lio_listio.c: Likewise.
26692 * sysdeps/sparc/dl-procinfo.h: Likewise.
26693 * sysdeps/unix/i386/sysdep.S: Likewise.
26694 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26695 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26696 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26697 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26699 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26700 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26701 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26702 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26703 * sysdeps/wordsize-32/divdi3.c: Likewise.
26704 * time/sys/time.h: Likewise.
26705 * wcsmbs/Makefile: Likewise.
26707 2013-01-01 David S. Miller <davem@davemloft.net>
26709 * po/fr.po: Update from translation team.
26711 * catgets/gencat.c: Update copyright year.
26712 * csu/version.c: Likewise.
26713 * debug/catchsegv.sh: Likewise.
26714 * debug/pcprofiledump.c: Likewise.
26715 * debug/xtrace.sh: Likewise.
26716 * elf/ldconfig.c: Likewise.
26717 * elf/ldd.bash.in: Likewise.
26718 * elf/pldd.c: Likewise.
26719 * elf/sotruss.ksh: Likewise.
26720 * elf/sprof.c: Likewise.
26721 * iconv/iconv_prog.c: Likewise.
26722 * iconv/iconvconfig.c: Likewise.
26723 * locale/programs/locale.c: Likewise.
26724 * locale/programs/localedef.c: Likewise.
26725 * login/programs/pt_chown.c: Likewise.
26726 * malloc/memusage.sh: Likewise.
26727 * malloc/memusagestat.c: Likewise.
26728 * malloc/mtrace.pl: Likewise.
26729 * nscd/nscd.c: Likewise.
26730 * nss/getent.c: Likewise.
26731 * nss/makedb.c: Likewise.
26732 * posix/getconf.c: Likewise.
26734 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26736 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26739 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26741 * math/bits/mathcalls.h (modf): Use __nonnull.
26743 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26745 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26746 (split): Use macro CN instead of the bare value.
26747 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26750 instead of the bare value.
26751 (power1): Likewise.
26753 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26755 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26757 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26759 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26761 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26762 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26763 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26764 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26766 2012-12-28 Andreas Jaeger <aj@suse.de>
26768 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26769 values are from Linux 3.7.
26771 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26772 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26774 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26776 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26779 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26781 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26782 variables with preprocessor constants.
26783 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26784 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26785 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26787 2012-12-27 Bruno Haible <bruno@clisp.org>
26790 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26793 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26796 and use variable directly.
26797 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26799 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26801 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26802 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26804 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26806 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26807 include directive. Remove local variable MPONE.
26808 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26809 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26812 2012-12-25 David S. Miller <davem@davemloft.net>
26814 * version.h (RELEASE): Set to "development".
26815 (VERSION): Set to "2.17.90".
26816 * NEWS: Add 2.18 section.
26818 2012-12-21 David S. Miller <davem@davemloft.net>
26820 * po/hr.po: Update from translation team.
26822 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26824 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26826 2012-12-19 Steve Ellcey <sellcey@mips.com>
26828 * NEWS: Mention new memcpy for MIPS.
26830 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26832 * manual/contrib.texi (Contributors): Spelling correction.
26834 2012-12-15 David S. Miller <davem@davemloft.net>
26836 * po/ru.po: Update from translation team.
26838 2012-12-13 David S. Miller <davem@davemloft.net>
26840 * NEWS: Mention IFUNC testsuite enhancements.
26842 * po/pl.po: Update from translation team.
26843 * po/bg.po: Likewise.
26845 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26846 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26848 2012-12-11 David S. Miller <davem@davemloft.net>
26850 * po/sv.po: Update from translation team.
26852 * po/vi.po: Update from translation team.
26854 * po/cs.po: Update from translation team.
26856 * po/de.po: Update from translation team.
26857 * po/eo.po: Likewise.
26858 * po/nl.po: Likewise.
26860 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26863 * manual/argp.texi (Argp Helper Functions): Move node to follow
26864 Argp Parsing State.
26867 * manual/conf.texi (Limits on File System Capacity): Mention if
26868 terminating null is included in the max size.
26870 2012-12-10 Andreas Jaeger <aj@suse.de>
26872 * po/cs.po: Update from translation team.
26874 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26876 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26877 void pointer and cast to uintptr_t.
26878 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26880 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26881 * sysdeps/s390/s390-64/memset.S: Likewise.
26883 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26886 * menual/message.texi (Message Translation): Fix typos.
26887 (Helper programs for gettext): Likewise.
26889 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26892 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26895 2012-12-07 David S. Miller <davem@davemloft.net>
26897 * po/libc.pot: Update.
26899 2012-12-07 Richard Henderson <rth@redhat.com>
26902 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26903 normal/normal case to before the switch.
26904 (_FP_DIV): Likewise.
26906 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26907 Mike Frysinger <vapier@gentoo.org>
26909 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26910 check for __NR_fadvise64_64.
26912 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26914 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26915 0, not just to plain "0" as a statement.
26916 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26919 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26921 * NEWS: Use sourceware.org in Bugzilla URL.
26923 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26926 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26928 * stdio-common/tst-put-error.c (do_test): Add newline to the
26929 padded test to ensure flush.
26931 2012-12-05 Jeff Law <law@redhat.com>
26933 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26935 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26937 * README: Don't refer to ports add-on as distributed separately.
26938 Mention AArch64 in list of systems supported in the ports add-on.
26940 * LICENSES: Add more non-FSF copyright and license notices.
26942 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26945 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26947 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26948 10000 as width of padded output.
26950 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26952 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26954 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26955 variable LX with __attribute__ ((unused)).
26956 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26958 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26959 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26960 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26961 with __attribute__ ((unused)).
26963 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26965 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26967 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26969 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26970 (CFLAGS-nldbl-acos.c): New variable.
26971 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26972 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26973 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26974 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26975 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26976 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26977 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26978 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26979 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26980 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26981 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26982 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26983 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26984 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26985 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26986 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26987 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26988 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26989 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26990 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26991 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26992 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26993 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26994 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26995 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26996 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26997 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26998 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26999 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27000 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27001 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27002 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27003 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27004 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27005 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27006 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27007 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27008 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27009 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27010 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27011 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27012 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27013 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27014 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27015 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27016 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27017 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27018 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27019 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27020 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27021 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27022 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27023 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27024 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27025 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27026 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27027 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27028 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27029 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27030 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27031 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27032 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27033 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27034 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27035 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27036 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27037 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27038 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27039 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27040 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27041 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27042 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27043 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27044 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27045 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27046 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27047 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27048 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27049 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27050 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27051 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27052 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27053 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27054 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27055 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27056 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27057 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27058 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27059 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27060 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27061 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27062 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27063 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27064 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27065 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27066 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27067 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27070 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27074 whole low double instead of just low 47 bits when splitting values
27077 2012-12-03 Allan McRae <allan@archlinux.org>
27079 * manual/stdio.texi (Predefined Printf Handlers): Remove
27080 @hsep and @vsep usage.
27082 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27084 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27085 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27087 2012-12-03 Jeff Law <law@redhat.com>
27089 * time/sys/time.h (settimeofday): Do not mark TV argument
27092 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27094 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27095 when currently writing and seek to current position when not.
27096 * libio/Makefile (tests): Remove bug-fclose1.
27097 * libio/bug-fclose1.c: Delete.
27099 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27101 * manual/arith.texi (feenableexcept): Fix typo.
27102 (fedisableexcept): Likewise.
27104 2012-11-30 Roland McGrath <roland@hack.frob.com>
27106 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27107 second, differently-typed declaration, rather than a cast.
27109 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27111 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27112 * include/rpc/svc.h: ... here.
27114 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27117 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27118 depending n and resplen2 to catch cases where answer
27121 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27123 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27124 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27126 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27128 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27130 2012-11-29 Roland McGrath <roland@hack.frob.com>
27132 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27134 2012-11-28 Jeff Law <law@redhat.com>
27137 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27138 dataset_temporary. Track alloca usage into alloca_used.
27139 If dataset is large allocate and release it via malloc/free.
27141 2012-06-04 Florian Weimer <fweimer@redhat.com>
27144 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27146 2012-11-28 David S. Miller <davem@davemloft.net>
27148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27150 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27153 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27154 of pi/2 rounded to nearest to 64 bits.
27155 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27156 nearest to 64 bits.
27157 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27160 2012-11-28 Jeff Law <law@redhat.com>
27161 Martin Osvald <mosvald@redhat.com>
27164 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27165 * sunrpc/svc.c: Include time.h.
27166 (__svc_accept_failed): New function.
27167 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27168 any reason other than EINTR, call __svc_accept_failed.
27169 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27170 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27172 2012-11-28 Andreas Schwab <schwab@suse.de>
27174 * scripts/abilist.awk: Also handle indirect functions in .opd
27177 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27180 * sysdeps/x86/fpu/powl_helper.c: New file.
27181 * sysdeps/x86/fpu/Makefile: Likewise.
27182 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27184 (__ieee754_powl): Use __powl_helper for finite arguments except
27185 integer exponents below 8.
27186 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27188 (__ieee754_powl): Use __powl_helper for finite arguments except
27189 integer exponents below 8.
27190 * math/libm-test.inc (pow_test): Add more tests and enable some
27191 previously disabled tests.
27192 * sysdeps/i386/fpu/libm-test-ulps: Update.
27193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27195 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27196 Carlos O'Donell <carlos_odonell@mentor.com>
27198 * nss/makedb.c (is_prime): Assert that input is odd and greater
27199 than 4. Note that fact in a comment too.
27200 (next_prime): Add 4 to input.
27202 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27205 * libio/Makefile (tests): Add test case tst-fwrite-error.
27206 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27207 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27208 * libio/tst-fwrite-error.c: New test case.
27210 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27212 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27213 before casting to void *.
27214 * include/libc-internal.h (__pointer_type): New macro.
27215 (__integer_if_pointer_type_sub): Likewise.
27216 (__integer_if_pointer_type): Likewise.
27217 (cast_to_integer): Likewise.
27218 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27219 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27220 before casting to atomic64_t.
27221 (atomic_exchange_acq): Likewise.
27222 (__arch_exchange_and_add_body): Likewise.
27223 (__arch_add_body): Likewise.
27224 (atomic_add_negative): Likewise.
27225 (atomic_add_zero): Likewise.
27227 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27229 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27230 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27231 (add_fdes): Likewise.
27232 (linear_search_fdes): Likewise.
27233 (binary_search_unencoded_fdes): Likewise.
27235 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27237 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27239 2012-11-24 Adam Conrad <adconrad@0c3.net>
27241 * configure.in: Autodetect C++ header directories.
27242 * configure: Regenerated.
27244 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27246 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27248 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27252 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27254 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27255 LDBL_MANT_DIG == 106]: Disable some tests.
27256 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27258 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27262 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27263 input for small inputs. Return +/- pi/2 for large inputs.
27264 * math/libm-test.inc (atan_test): Add more tests.
27266 * sysdeps/generic/unwind-dw2-fde-glibc.c
27267 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27268 __attribute__ ((unused)).
27271 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27272 x * y if x and y are nonzero and z is zero.
27275 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27276 nonzero exponents with absolute value below 0x1p-117 to +/-
27280 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27281 up arguments below 2**-450, not just those below 2**-500.
27282 * math/libm-test.inc (hypot_test): Add another test.
27285 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27286 Return a+b for ratio over 2**120, not 2**60.
27287 * math/libm-test.inc (hypot_test): Add another test.
27289 * math/libm-test.inc (clog_test): Use
27290 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27291 (clog10_test): Likewise.
27294 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27296 2012-11-22 Andreas Schwab <schwab@suse.de>
27298 * sysdeps/i386/fpu/libm-test-ulps: Update.
27300 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27302 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27303 printf output with newline.
27305 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27308 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27309 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27310 -z nodlopen, -z initfirst and -z execstack support.
27311 * configure: Regenerated.
27313 * elf/elf.h (DF_1_NODIRECT): New macro.
27314 (DF_1_IGNMULDEF): Likewise.
27315 (DF_1_NOKSYMS): Likewise.
27316 (DF_1_NOHDR): Likewise.
27317 (DF_1_EDITED): Likewise.
27318 (DF_1_NORELOC): Likewise.
27319 (DF_1_SYMINTPOSE): Likewise.
27320 (DF_1_GLOBAUDIT): Likewise.
27321 (DF_1_SINGLETON): Likewise.
27322 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27323 DT_1_SUPPORTED_MASK bits.
27324 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27326 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27328 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27330 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27332 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27335 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27336 (sendmmsg): Move declarations...
27337 * socket/sys/socket.h: ... here.
27338 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27339 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27341 * socket/recvmmsg.c: ... this new file.
27342 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27343 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27344 definition of __sendmmsg hidden.
27345 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27346 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27347 Move ENOSYS stub into and include it from...
27348 * socket/sendmmsg.c: ... this new file.
27349 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27350 (sysdep_routines): Move recvmmsg and sendmmsg...
27351 * socket/Makefile (routines): ... here.
27352 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27353 (GLIBC_PRIVATE): Add __sendmmsg.
27354 * include/sys/socket.h (__sendmmsg): Add declarations.
27355 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27358 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27360 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27361 variable I1 with __attribute__ ((unused)).
27362 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27364 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27366 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27367 DUMMY variables with __attribute__ ((unused)).
27369 * bits/byteswap.h: Include <bits/types.h>.
27370 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27372 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27374 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27375 string_t. Do not manually set errno.
27376 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27377 length with __strnlen. Make sure to both set errno and return it on
27380 2012-11-19 David S. Miller <davem@davemloft.net>
27382 With help from Joseph Myers.
27383 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27384 very large arguments properly.
27385 * math/libm-test.inc (atan_test): New tests.
27386 (atan2_test): New tests.
27387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27390 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27393 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27396 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27397 [POSIX] (EADDRNOTAVAIL): Likewise.
27398 [POSIX] (EAFNOSUPPORT): Likewise.
27399 [POSIX] (EALREADY): Likewise.
27400 [POSIX] (ECONNABORTED): Likewise.
27401 [POSIX] (ECONNREFUSED): Likewise.
27402 [POSIX] (ECONNRESET): Likewise.
27403 [POSIX] (EDESTADDRREQ): Likewise.
27404 [POSIX] (EDQUOT): Likewise.
27405 [POSIX] (EHOSTUNREACH): Likewise.
27406 [POSIX] (EIDRM): Likewise.
27407 [POSIX] (EISCONN): Likewise.
27408 [POSIX] (ELOOP): Likewise.
27409 [POSIX] (EMULTIHOP): Likewise.
27410 [POSIX] (ENETDOWN): Likewise.
27411 [POSIX] (ENETUNREACH): Likewise.
27412 [POSIX] (ENOBUFS): Likewise.
27413 [POSIX] (ENODATA): Likewise.
27414 [POSIX] (ENOLINK): Likewise.
27415 [POSIX] (ENOMSG): Likewise.
27416 [POSIX] (ENOPROTOOPT): Likewise.
27417 [POSIX] (ENOSR): Likewise.
27418 [POSIX] (ENOSTR): Likewise.
27419 [POSIX] (ENOTCONN): Likewise.
27420 [POSIX] (ENOTSOCK): Likewise.
27421 [POSIX] (EOPNOTSUPP): Likewise.
27422 [POSIX] (EOVERFLOW): Likewise.
27423 [POSIX] (EPROTO): Likewise.
27424 [POSIX] (EPROTONOSUPPORT): Likewise.
27425 [POSIX] (EPROTOTYPE): Likewise.
27426 [POSIX] (ESTALE): Likewise.
27427 [POSIX] (ETIME): Likewise.
27428 [POSIX] (ETXTBSY): Likewise.
27429 [POSIX] (EWOULDBLOCK): Likewise.
27430 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27431 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27432 [POSIX] (SEEK_CUR): Likewise.
27433 [POSIX] (SEEK_END): Likewise.
27434 [POSIX || UNIX98] (mode_t): Do not require.
27435 [POSIX] (off_t): Likewise.
27436 [POSIX] (pid_t): Likewise.
27437 [POSIX] (sys/stat.h): Do not allow header.
27438 [POSIX] (unistd.h): Likewise.
27439 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27440 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27441 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27442 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27444 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27445 sigevent): Specify elements.
27446 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27448 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27449 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27451 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27452 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27453 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27454 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27455 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27456 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27457 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27458 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27459 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27460 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27461 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27462 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27463 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27464 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27466 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27468 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27470 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27472 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27473 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27474 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27475 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27476 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27477 Specify lower bound on value.
27478 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27479 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27480 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27481 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27482 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27483 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27484 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27485 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27487 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27489 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27490 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27491 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27492 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27493 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27494 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27495 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27496 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27497 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27498 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27499 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27500 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27501 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27502 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27503 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27504 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27506 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27508 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27509 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27510 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27511 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27512 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27513 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27515 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27516 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27517 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27518 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27519 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27520 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27521 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27523 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27524 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27525 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27526 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27527 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27528 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27529 specify as optional.
27530 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27531 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27532 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27533 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27534 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27535 [XPG3] (NL_LANGMAX): Likewise.
27536 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27537 [POSIX || XPG3] (NL_NMAX): Likewise.
27538 [POSIX || XPG3] (NL_SETMAX): Likewise.
27539 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27540 [XPG3] (NZERO): Likewise.
27541 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27542 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27543 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27544 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27545 (REG_ERANGE): Expect.
27546 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27548 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27549 Use (void) in prototype.
27550 [POSIX] (*_t): Allow.
27551 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27552 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27553 (WRDE_BADVAL): Expect.
27555 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27557 [XPG3 || XPG4] (O_RSYNC): Likewise.
27558 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27560 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27561 [XPG3 || XPG4] (sigqueue): Likewise.
27562 [XPG3 || XPG4] (sigtimedwait): Likewise.
27563 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27564 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27565 [XPG3 || XPG4] (vsnprintf): Likewise.
27566 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27568 [XPG3 || XPG4] (blksize_t): Likewise.
27569 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27571 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27572 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27573 [XPG3 || XPG4] (struct itimerspec): Likewise.
27574 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27575 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27576 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27577 [XPG3 || XPG4] (clockid_t): Likewise.
27578 [XPG3 || XPG4] (timer_t): Likewise.
27579 [XPG3 || XPG4] (clock_getres): Likewise.
27580 [XPG3 || XPG4] (clock_gettime): Likewise.
27581 [XPG3 || XPG4] (clock_settime): Likewise.
27582 [XPG3 || XPG4] (nanosleep): Likewise.
27583 [XPG3 || XPG4] (timer_create): Likewise.
27584 [XPG3 || XPG4] (timer_delete): Likewise.
27585 [XPG3 || XPG4] (timer_gettime): Likewise.
27586 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27587 [XPG3 || XPG4] (timer_settime): Likewise.
27588 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27589 [XPG3 || XPG4] (getlogin_r): Likewise.
27590 [XPG3 || XPG4] (pread): Likewise.
27591 [XPG3 || XPG4] (pthread_atfork): Likewise.
27592 [XPG3 || XPG4] (pwrite): Likewise.
27595 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27598 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27600 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27601 finalizing MALLSTREAM.
27603 * sysdeps/mach/hurd/syncfs.c: New file.
27605 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27609 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27610 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27611 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27612 (_nss_dns_gethostbyname4_r): Likewise.
27613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27614 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27616 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27619 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27621 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27623 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27624 * elf/cache.c (print_entry): Print ",AArch64" for
27627 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27628 * elf/cache.c (print_entry): Print ",hard-float" for
27631 2012-11-18 David S. Miller <davem@davemloft.net>
27633 With help from Joseph Myers.
27634 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27636 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27638 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27639 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27641 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27642 * math/libm-test.inc (y0_test): New tests.
27643 (y1_test): New tests.
27644 * sysdeps/i386/fpu/libm-test-ulps: Update.
27645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27648 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27650 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27652 * configure: Regenerated.
27654 2012-11-17 David S. Miller <davem@davemloft.net>
27657 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27658 nonzero exponents with absolute value below 0x1p-128 to +/-
27661 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27663 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27665 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27667 * posix/getconf-speclist.c: New file.
27668 * posix/posix-envs.def: Likewise.
27669 * posix/confstr.c (START_ENV_GROUP): New macro.
27670 (END_ENV_GROUP): Likewise.
27671 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27672 (KNOWN_PRESENT_ENV_STRING): Likewise.
27673 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27674 (UNKNOWN_ENVIRONMENT): Likewise.
27675 (confstr): Include posix-envs.def instead of handling
27676 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27677 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27678 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27679 (END_ENV_GROUP): Likewise.
27680 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27681 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27682 (UNKNOWN_ENVIRONMENT): Likewise.
27683 (__sysconf): Include posix-envs.def instead of handling associated
27684 cases directly here.
27685 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27686 preprocessing getconf-speclist.c rather than running getconf or
27687 generating empty file.
27689 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27691 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27693 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27696 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27698 2012-11-16 David S. Miller <davem@davemloft.net>
27700 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27701 smaller than LDBL_EPSILON/2.0L, just return xm1.
27703 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27705 * elf/tst-array1.c (init): Set constructor priority to 1000.
27706 (fini): Set destructor priority to 1000.
27707 * elf/tst-array2dep.c: Likewise.
27709 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27712 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27713 (_IO_new_file_xsputn): Also return EOF if none of the input
27714 data was written when overflow failed.
27715 * libio/iopadn.c (_IO_padn): Likewise.
27716 * libio/iowpadn.c (_IO_wpadn): Likewise.
27717 * stdio-common/tst-put-error.c: Add copyright notice.
27718 (do_test): Add case for printing padded string.
27719 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27720 _IO_padn returned error.
27721 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27722 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27725 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27727 * libio/libioP.h: Add comment note that the references to C++
27728 bits are now obsolete.
27730 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27732 * math/libm-test.inc (check_complex): Use asprintf.
27734 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27736 * debug/pcprofiledump.c (print_version): Update copyright year.
27737 * malloc/memusagestat.c (print_version): Likewise.
27739 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27742 * elf/Makefile (tests): Add tst-audit8.
27743 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27744 ($(objpfx)tst-audit8.out): New target.
27745 (tst-audit8-ENV): New variable.
27746 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27747 audit if l_reloc_result is NULL.
27748 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27749 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27750 * elf/tst-audit8.c: New file.
27752 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27754 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27755 * misc/Makefile (CFLAGS-select.c): Define.
27756 * posix/Makefile (CFLAGS-pause.c): Define.
27758 2012-11-13 David S. Miller <davem@davemloft.net>
27760 * crypt/Makefile: Move test targets after toplevel Rules
27761 inclusion. Grab any necessary sysdep routines when linking.
27762 * crypt/md5.c (md5_process_block): Remove define, we will always
27763 name it __md5_process_block.
27764 (md5_finish_ctx): Update md5_process_block call.
27765 (md5_stream): Likewise.
27766 (md5_process_bytes): Likewise.
27767 (md5_process_block): Rename to __md5_process_block and move to ...
27768 * crypt/md5-block.c: ... here.
27769 * crypt/sha256.c (sha256_process_block): Move to ...
27770 * crypt/sha256-block.c: ... here.
27771 * crypt/sha512.c (sha512_process_block): Move to ...
27772 * crypt/sha512-block.c: ... here.
27773 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27775 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27776 * sysdeps/sparc/sparc64/multiarch/Makefile
27777 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27779 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27780 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27782 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27783 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27784 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27785 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27786 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27787 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27788 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27789 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27790 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27792 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27793 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27795 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27797 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27799 * timezone/tzselect.ksh: Update from tzcode git revision
27800 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27801 * timezone/zdump.c: Likewise.
27802 * timezone/zic.c: Likewise.
27803 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27804 in TZVERSION setting, not $(PKGVERSION).
27805 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27806 REPORT_BUGS_TO settings.
27809 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27812 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27814 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27815 detection to immediately after _FP_ROUND().
27816 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27819 2012-11-11 David S. Miller <davem@davemloft.net>
27821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27823 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27824 __close rather than their public counterparts.
27826 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27828 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27830 [UNIX98] (sem_timedwait): Do not expect.
27831 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27832 [XPG4 || UNIX98] (sockatmark): Do not expect.
27833 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27834 (clock_getcpuclockid): Do not expect.
27835 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27836 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27838 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27839 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27840 [UNIX98] (vwscanf): Likewise.
27841 [UNIX98] (vswscanf): Likewise.
27843 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27845 * timezone/version.h: Remove file.
27846 * timezone/README: Do not refer to version.h.
27847 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27848 $(objpfx)version.h.
27849 ($(objpfx)zdump.o): Likewise.
27850 ($(objpfx)version.h): New target.
27852 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27854 * timezone/README: Don't mention modification to tzselect.ksh.
27855 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27856 work on unmodified tzselect.ksh. Substitute version numbers in
27859 * Makefile (format-me): Remove.
27860 (INSTALL): Adjust indentation. Use commands directly instead of
27861 using $(format-me).
27863 * aclocal.m4 (ACX_PKGVERSION): New macro.
27864 (ACX_BUGURL): Likewise.
27865 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27866 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27867 (REPORT_BUGS_TO): Likewise.
27868 * configure: Regenerated.
27869 * config.h.in (PKGVERSION): New macro.
27870 (REPORT_BUGS_TO): Likewise.
27871 * config.make.in (PKGVERSION): New variable.
27872 (PKGVERSION_TEXI): Likewise.
27873 (REPORT_BUGS_TO): Likewise.
27874 (REPORT_BUGS_TEXI): Likewise.
27875 * Makefile (format-me): Use -I$(common-objpfx)manual.
27876 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27877 ($(common-objpfx)manual/%): New target.
27878 (manual/%): Remove target.
27879 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27880 (print_version): Use PKGVERSION.
27881 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27882 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27883 and REPORT_BUGS_TO.
27884 ($(objpfx)xtrace): Likewise.
27885 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27886 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27887 (print_version): Use PKGVERSION.
27888 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27889 (do_version): Use PKGVERSION.
27890 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27892 (common-ldd-rewrite): Likewise.
27893 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27894 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27895 (print_version): Use PKGVERSION.
27896 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27897 * elf/pldd.c (argp_program_bug_address): Remove variable.
27898 (more_help): New function.
27899 (argp): Use more_help.
27900 (print_version): Use PKGVERSION.
27901 * elf/sln.c (main): Use PKGVERSION.
27902 (usage): Use REPORT_BUGS_TO.
27903 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27904 (top level): Use PKGVERSION.
27905 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27906 (print_version): Use PKGVERSION.
27907 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27908 (print_version): Use PKGVERSION.
27909 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27910 (print_version): Use PKGVERSION.
27911 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27912 (print_version): Use PKGVERSION.
27913 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27914 (print_version): Use PKGVERSION.
27915 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27916 (print_version): Use PKGVERSION.
27917 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27919 ($(objpfx)memusage): Likewise.
27920 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27921 (do_version): Use PKGVERSION.
27922 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27923 (print_version): Use PKGVERSION.
27924 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27925 ($PKGVERSION): New variable.
27926 ($REPORT_BUGS_TO): Likewise.
27927 (usage): Use $REPORT_BUGS_TO.
27928 (top level): Use $PKGVERSION.
27929 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27930 ($(objpfx)pkgvers.texi): New rule.
27931 ($(objpfx)stamp-pkgvers): Likewise.
27932 * manual/install.texi: Include pkgvers.texi.
27933 (--with-pkgversion): Document new configure option.
27934 (--with-bugurl): Likewise.
27935 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27936 than necessarily for this particular distribution. Use
27937 REPORT_BUGS_TO for where to report bugs.
27938 * INSTALL: Regenerated.
27939 * manual/libc.texinfo: Include pkgvers.texi.
27940 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27941 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27942 (print_version): Use PKGVERSION.
27943 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27944 (print_version): Use PKGVERSION.
27945 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27946 (print_version): Use PKGVERSION.
27947 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27948 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27950 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27951 (print_version): Use PKGVERSION.
27952 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27953 (print_version): Use PKGVERSION.
27954 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27957 * timezone/checktab.awk: Update from tzcode 2012i.
27958 * timezone/ialloc.c: Likewise.
27959 * timezone/private.h: Likewise.
27960 * timezone/scheck.c: Likewise.
27961 * timezone/tzfile.h: Likewise.
27962 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27963 (TZVERSION): Hardcode tzcode version number.
27964 * timezone/zdump.c: Update from tzcode 2012i.
27965 * timezone/zic.c: Likewise.
27966 * timezone/version.h: New file.
27967 * timezone/README: Describe version.h. Update upstream location.
27970 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27971 (mktemp): Enable declaration.
27972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27977 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27989 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27990 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27991 for copies of such integer values.
27992 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27993 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27995 2012-11-09 Andreas Jaeger <aj@suse.de>
27997 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27998 definitions and declarations that are provided by
27999 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28001 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28003 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28004 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28005 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28008 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28010 * elf/elf.h: Update comment before AArch64 relocations.
28012 2012-11-07 David S. Miller <davem@davemloft.net>
28014 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28015 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28016 (__start_context): Declare.
28017 (__makecontext_ret): Delete.
28018 (__makecontext): Hook up __start_context instead of
28020 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28021 (sysdep_routines): Add __start_context when in stdlib.
28023 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28025 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28026 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28027 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28029 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28030 (READELF): New variable. Use it instead of hardcoded "readelf".
28032 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28034 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28035 * sysdeps/x86/Makefile: Here.
28036 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28037 * sysdeps/x86/tst-xmmymm.sh: This.
28039 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28041 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28043 [UNIX98] (pthread_barrier_t): Do not expect.
28044 [UNIX98] (pthread_barrierattr_t): Likewise.
28045 [UNIX98] (pthread_spinlock_t): Likewise.
28046 [UNIX98] (pthread_barrier_destroy): Likewise.
28047 [UNIX98] (pthread_barrier_init): Likewise.
28048 [UNIX98] (pthread_barrier_wait): Likewise.
28049 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28050 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28051 [UNIX98] (pthread_barrierattr_init): Likewise.
28052 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28053 [UNIX98] (pthread_getcpuclockid): Likewise.
28054 [UNIX98] (pthread_mutex_timedlock): Likewise.
28055 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28056 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28057 [UNIX98] (pthread_sigmask): Likewise.
28058 [UNIX98] (pthread_spin_destroy): Likewise.
28059 [UNIX98] (pthread_spin_init): Likewise.
28060 [UNIX98] (pthread_spin_lock): Likewise.
28061 [UNIX98] (pthread_spin_trylock): Likewise.
28062 [UNIX98] (pthread_spin_unlock): Likewise.
28063 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28065 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28066 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28067 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28068 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28069 [XPG3 || XPG4] (pthread_key_t): Likewise.
28070 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28071 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28072 [XPG3 || XPG4] (pthread_once_t): Likewise.
28073 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28074 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28075 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28076 [XPG3 || XPG4] (pthread_t): Likewise.
28078 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28080 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28082 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28083 Change function return type to int.
28085 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28086 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28087 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28088 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28089 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28090 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28091 [!POSIX] (posix_madvise): Likewise.
28092 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28094 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28095 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28096 (mode_t): Likewise.
28097 (posix_mem_offset): Likewise.
28098 (posix_typed_mem_get_info): Likewise.
28099 (posix_typed_mem_open): Likewise.
28101 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28102 Change condition to [XOPEN2K8].
28104 * conform/conformtest.pl: Preprocess allow-header data with -x c
28105 instead of from stdin.
28106 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28107 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28108 [C99-based standards] (cerfc): Likewise.
28109 [C99-based standards] (cexp2): Likewise.
28110 [C99-based standards] (cexpm1): Likewise.
28111 [C99-based standards] (clog10): Likewise.
28112 [C99-based standards] (clog1p): Likewise.
28113 [C99-based standards] (clog2): Likewise.
28114 [C99-based standards] (clgamma): Likewise.
28115 [C99-based standards] (ctgamma): Likewise.
28116 [C99-based standards] (cerff): Likewise.
28117 [C99-based standards] (cerfcf): Likewise.
28118 [C99-based standards] (cexp2f): Likewise.
28119 [C99-based standards] (cexpm1f): Likewise.
28120 [C99-based standards] (clog10f): Likewise.
28121 [C99-based standards] (clog1pf): Likewise.
28122 [C99-based standards] (clog2f): Likewise.
28123 [C99-based standards] (clgammaf): Likewise.
28124 [C99-based standards] (ctgammaf): Likewise.
28125 [C99-based standards] (cerfl): Likewise.
28126 [C99-based standards] (cerfcl): Likewise.
28127 [C99-based standards] (cexp2l): Likewise.
28128 [C99-based standards] (cexpm1l): Likewise.
28129 [C99-based standards] (clog10l): Likewise.
28130 [C99-based standards] (clog1pl): Likewise.
28131 [C99-based standards] (clog2l): Likewise.
28132 [C99-based standards] (clgammal): Likewise.
28133 [C99-based standards] (ctgammal): Likewise.
28134 * conform/data/inttypes.h-data [C99-based standards]: Include
28135 stdint.h-data. Remove all expectations for stdint.h contents.
28136 [C99-based standards] (PRI*): Do not allow.
28137 [C99-based standards] (SCN*): Likewise.
28138 [C99-based standards] (*_t): Likewise.
28139 [C99-based-standards] (PRId8): Expect macro.
28140 [C99-based-standards] (PRIi8): Likewise.
28141 [C99-based-standards] (PRIo8): Likewise.
28142 [C99-based-standards] (PRIu8): Likewise.
28143 [C99-based-standards] (PRIx8): Likewise.
28144 [C99-based-standards] (PRIX8): Likewise.
28145 [C99-based-standards] (SCNd8): Likewise.
28146 [C99-based-standards] (SCNi8): Likewise.
28147 [C99-based-standards] (SCNo8): Likewise.
28148 [C99-based-standards] (SCNu8): Likewise.
28149 [C99-based-standards] (SCNx8): Likewise.
28150 [C99-based-standards] (PRIdLEAST8): Likewise.
28151 [C99-based-standards] (PRIiLEAST8): Likewise.
28152 [C99-based-standards] (PRIoLEAST8): Likewise.
28153 [C99-based-standards] (PRIuLEAST8): Likewise.
28154 [C99-based-standards] (PRIxLEAST8): Likewise.
28155 [C99-based-standards] (PRIXLEAST8): Likewise.
28156 [C99-based-standards] (SCNdLEAST8): Likewise.
28157 [C99-based-standards] (SCNiLEAST8): Likewise.
28158 [C99-based-standards] (SCNoLEAST8): Likewise.
28159 [C99-based-standards] (SCNuLEAST8): Likewise.
28160 [C99-based-standards] (SCNxLEAST8): Likewise.
28161 [C99-based-standards] (PRIdFAST8): Likewise.
28162 [C99-based-standards] (PRIiFAST8): Likewise.
28163 [C99-based-standards] (PRIoFAST8): Likewise.
28164 [C99-based-standards] (PRIuFAST8): Likewise.
28165 [C99-based-standards] (PRIxFAST8): Likewise.
28166 [C99-based-standards] (PRIXFAST8): Likewise.
28167 [C99-based-standards] (SCNdFAST8): Likewise.
28168 [C99-based-standards] (SCNiFAST8): Likewise.
28169 [C99-based-standards] (SCNoFAST8): Likewise.
28170 [C99-based-standards] (SCNuFAST8): Likewise.
28171 [C99-based-standards] (SCNxFAST8): Likewise.
28172 [C99-based-standards] (PRId16): Likewise.
28173 [C99-based-standards] (PRIi16): Likewise.
28174 [C99-based-standards] (PRIo16): Likewise.
28175 [C99-based-standards] (PRIu16): Likewise.
28176 [C99-based-standards] (PRIx16): Likewise.
28177 [C99-based-standards] (PRIX16): Likewise.
28178 [C99-based-standards] (SCNd16): Likewise.
28179 [C99-based-standards] (SCNi16): Likewise.
28180 [C99-based-standards] (SCNo16): Likewise.
28181 [C99-based-standards] (SCNu16): Likewise.
28182 [C99-based-standards] (SCNx16): Likewise.
28183 [C99-based-standards] (PRIdLEAST16): Likewise.
28184 [C99-based-standards] (PRIiLEAST16): Likewise.
28185 [C99-based-standards] (PRIoLEAST16): Likewise.
28186 [C99-based-standards] (PRIuLEAST16): Likewise.
28187 [C99-based-standards] (PRIxLEAST16): Likewise.
28188 [C99-based-standards] (PRIXLEAST16): Likewise.
28189 [C99-based-standards] (SCNdLEAST16): Likewise.
28190 [C99-based-standards] (SCNiLEAST16): Likewise.
28191 [C99-based-standards] (SCNoLEAST16): Likewise.
28192 [C99-based-standards] (SCNuLEAST16): Likewise.
28193 [C99-based-standards] (SCNxLEAST16): Likewise.
28194 [C99-based-standards] (PRIdFAST16): Likewise.
28195 [C99-based-standards] (PRIiFAST16): Likewise.
28196 [C99-based-standards] (PRIoFAST16): Likewise.
28197 [C99-based-standards] (PRIuFAST16): Likewise.
28198 [C99-based-standards] (PRIxFAST16): Likewise.
28199 [C99-based-standards] (PRIXFAST16): Likewise.
28200 [C99-based-standards] (SCNdFAST16): Likewise.
28201 [C99-based-standards] (SCNiFAST16): Likewise.
28202 [C99-based-standards] (SCNoFAST16): Likewise.
28203 [C99-based-standards] (SCNuFAST16): Likewise.
28204 [C99-based-standards] (SCNxFAST16): Likewise.
28205 [C99-based-standards] (PRId32): Likewise.
28206 [C99-based-standards] (PRIi32): Likewise.
28207 [C99-based-standards] (PRIo32): Likewise.
28208 [C99-based-standards] (PRIu32): Likewise.
28209 [C99-based-standards] (PRIx32): Likewise.
28210 [C99-based-standards] (PRIX32): Likewise.
28211 [C99-based-standards] (SCNd32): Likewise.
28212 [C99-based-standards] (SCNi32): Likewise.
28213 [C99-based-standards] (SCNo32): Likewise.
28214 [C99-based-standards] (SCNu32): Likewise.
28215 [C99-based-standards] (SCNx32): Likewise.
28216 [C99-based-standards] (PRIdLEAST32): Likewise.
28217 [C99-based-standards] (PRIiLEAST32): Likewise.
28218 [C99-based-standards] (PRIoLEAST32): Likewise.
28219 [C99-based-standards] (PRIuLEAST32): Likewise.
28220 [C99-based-standards] (PRIxLEAST32): Likewise.
28221 [C99-based-standards] (PRIXLEAST32): Likewise.
28222 [C99-based-standards] (SCNdLEAST32): Likewise.
28223 [C99-based-standards] (SCNiLEAST32): Likewise.
28224 [C99-based-standards] (SCNoLEAST32): Likewise.
28225 [C99-based-standards] (SCNuLEAST32): Likewise.
28226 [C99-based-standards] (SCNxLEAST32): Likewise.
28227 [C99-based-standards] (PRIdFAST32): Likewise.
28228 [C99-based-standards] (PRIiFAST32): Likewise.
28229 [C99-based-standards] (PRIoFAST32): Likewise.
28230 [C99-based-standards] (PRIuFAST32): Likewise.
28231 [C99-based-standards] (PRIxFAST32): Likewise.
28232 [C99-based-standards] (PRIXFAST32): Likewise.
28233 [C99-based-standards] (SCNdFAST32): Likewise.
28234 [C99-based-standards] (SCNiFAST32): Likewise.
28235 [C99-based-standards] (SCNoFAST32): Likewise.
28236 [C99-based-standards] (SCNuFAST32): Likewise.
28237 [C99-based-standards] (SCNxFAST32): Likewise.
28238 [C99-based-standards] (PRId64): Likewise.
28239 [C99-based-standards] (PRIi64): Likewise.
28240 [C99-based-standards] (PRIo64): Likewise.
28241 [C99-based-standards] (PRIu64): Likewise.
28242 [C99-based-standards] (PRIx64): Likewise.
28243 [C99-based-standards] (PRIX64): Likewise.
28244 [C99-based-standards] (SCNd64): Likewise.
28245 [C99-based-standards] (SCNi64): Likewise.
28246 [C99-based-standards] (SCNo64): Likewise.
28247 [C99-based-standards] (SCNu64): Likewise.
28248 [C99-based-standards] (SCNx64): Likewise.
28249 [C99-based-standards] (PRIdLEAST64): Likewise.
28250 [C99-based-standards] (PRIiLEAST64): Likewise.
28251 [C99-based-standards] (PRIoLEAST64): Likewise.
28252 [C99-based-standards] (PRIuLEAST64): Likewise.
28253 [C99-based-standards] (PRIxLEAST64): Likewise.
28254 [C99-based-standards] (PRIXLEAST64): Likewise.
28255 [C99-based-standards] (SCNdLEAST64): Likewise.
28256 [C99-based-standards] (SCNiLEAST64): Likewise.
28257 [C99-based-standards] (SCNoLEAST64): Likewise.
28258 [C99-based-standards] (SCNuLEAST64): Likewise.
28259 [C99-based-standards] (SCNxLEAST64): Likewise.
28260 [C99-based-standards] (PRIdFAST64): Likewise.
28261 [C99-based-standards] (PRIiFAST64): Likewise.
28262 [C99-based-standards] (PRIoFAST64): Likewise.
28263 [C99-based-standards] (PRIuFAST64): Likewise.
28264 [C99-based-standards] (PRIxFAST64): Likewise.
28265 [C99-based-standards] (PRIXFAST64): Likewise.
28266 [C99-based-standards] (SCNdFAST64): Likewise.
28267 [C99-based-standards] (SCNiFAST64): Likewise.
28268 [C99-based-standards] (SCNoFAST64): Likewise.
28269 [C99-based-standards] (SCNuFAST64): Likewise.
28270 [C99-based-standards] (SCNxFAST64): Likewise.
28271 [C99-based-standards] (PRIdMAX): Likewise.
28272 [C99-based-standards] (PRIiMAX): Likewise.
28273 [C99-based-standards] (PRIoMAX): Likewise.
28274 [C99-based-standards] (PRIuMAX): Likewise.
28275 [C99-based-standards] (PRIxMAX): Likewise.
28276 [C99-based-standards] (PRIXMAX): Likewise.
28277 [C99-based-standards] (SCNdMAX): Likewise.
28278 [C99-based-standards] (SCNiMAX): Likewise.
28279 [C99-based-standards] (SCNoMAX): Likewise.
28280 [C99-based-standards] (SCNuMAX): Likewise.
28281 [C99-based-standards] (SCNxMAX): Likewise.
28282 [C99-based-standards] (PRIdPTR): Likewise.
28283 [C99-based-standards] (PRIiPTR): Likewise.
28284 [C99-based-standards] (PRIoPTR): Likewise.
28285 [C99-based-standards] (PRIuPTR): Likewise.
28286 [C99-based-standards] (PRIxPTR): Likewise.
28287 [C99-based-standards] (PRIXPTR): Likewise.
28288 [C99-based-standards] (SCNdPTR): Likewise.
28289 [C99-based-standards] (SCNiPTR): Likewise.
28290 [C99-based-standards] (SCNoPTR): Likewise.
28291 [C99-based-standards] (SCNuPTR): Likewise.
28292 [C99-based-standards] (SCNxPTR): Likewise.
28293 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28295 * conform/data/stdint.h-data: Update comments to clarify
28297 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28299 [C99-based standards] (INT8_MAX): Likewise.
28300 [C99-based standards] (INT16_MIN): Likewise.
28301 [C99-based standards] (INT16_MAX): Likewise.
28302 [C99-based standards] (INT32_MIN): Likewise.
28303 [C99-based standards] (INT32_MAX): Likewise.
28304 [C99-based standards] (INT64_MIN): Likewise.
28305 [C99-based standards] (INT64_MAX): Likewise.
28306 [C99-based standards] (UINT8_MAX): Likewise.
28307 [C99-based standards] (UINT16_MAX): Likewise.
28308 [C99-based standards] (UINT32_MAX): Likewise.
28309 [C99-based standards] (UINT64_MAX): Likewise.
28310 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28311 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28312 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28313 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28314 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28315 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28316 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28317 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28318 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28319 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28320 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28321 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28322 [C99-based standards] (INT_FAST8_MIN): Likewise.
28323 [C99-based standards] (INT_FAST8_MAX): Likewise.
28324 [C99-based standards] (INT_FAST16_MIN): Likewise.
28325 [C99-based standards] (INT_FAST16_MAX): Likewise.
28326 [C99-based standards] (INT_FAST32_MIN): Likewise.
28327 [C99-based standards] (INT_FAST32_MAX): Likewise.
28328 [C99-based standards] (INT_FAST64_MIN): Likewise.
28329 [C99-based standards] (INT_FAST64_MAX): Likewise.
28330 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28331 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28332 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28333 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28334 [C99-based standards] (INTPTR_MIN): Likewise.
28335 [C99-based standards] (INTPTR_MAX): Likewise.
28336 [C99-based standards] (UINTPTR_MAX): Likewise.
28337 [C99-based standards] (INTMAX_MIN): Likewise.
28338 [C99-based standards] (INTMAX_MAX): Likewise.
28339 [C99-based standards] (UINTMAX_MAX): Likewise.
28340 [C99-based standards] (PTRDIFF_MIN): Likewise.
28341 [C99-based standards] (PTRDIFF_MAX): Likewise.
28342 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28343 [C99-based standards] (SIZE_MAX): Likewise.
28344 [C99-based standards] (WCHAR_MAX): Likewise.
28345 [C99-based standards] (WINT_MAX): Likewise.
28346 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28347 constraint on value.
28348 [C99-based standards] (WCHAR_MIN): Likewise.
28349 [C99-based standards] (WINT_MIN): Likewise.
28350 [C99-based standards] (*_t): Allow.
28351 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28352 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28353 Include math.h-data and complex.h-data. Remove all expectations
28354 of math.h and complex.h contents.
28355 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28357 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28358 (struct tm): Expect tag.
28359 [C99-based-standards] (wcstof): Expect function.
28360 [C99-based-standards] (wcstold): Likewise.
28361 [C99-based-standards] (wcstoll): Likewise.
28362 [C99-based-standards] (wcstoull): Likewise.
28363 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28364 macro-int-constant. Specify type.
28365 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28366 constraint on value.
28367 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28369 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28371 [ISO C standards]: Do not allow headers.
28372 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28373 wcs[abcdefghijklmnopqrstuvwxyz]*.
28374 [ISO C standards] (*_t): Do not allow.
28375 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28377 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28378 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28380 [ISO C standards]: Do not allow headers.
28381 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28382 is[abcdefghijklmnopqrstuvwxyz]*.
28383 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28384 to[abcdefghijklmnopqrstuvwxyz]*.
28385 [ISO C standards] (*_t): Do not allow.
28386 * conform/data/stdalign.h-data: New file.
28387 * conform/data/stdbool.h-data: Likewise.
28388 * conform/data/stdnoreturn.h-data: Likewise.
28390 2012-11-07 Roland McGrath <roland@hack.frob.com>
28393 * manual/filesys.texi (Directory Entries): Typo fix.
28394 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28396 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28398 * elf/elf.h (EM_AARCH64): New macro.
28399 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28400 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28401 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28402 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28403 (R_AARCH64_TLSDESC): Likewise.
28404 (NT_ARM_TLS): Likewise.
28405 (NT_ARM_HW_BREAK): Likewise.
28406 (NT_ARM_HW_WATCH): Likewise.
28408 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28411 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28412 (__ieee754_powl): Saturate nonzero exponents with absolute value
28413 below 0x1p-79 to +/- 0x1p-79.
28414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28415 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28416 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28417 nonzero exponents with absolute value below 0x1p-32 to +/-
28419 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28420 (__ieee754_powl): Saturate nonzero exponents with absolute value
28421 below 0x1p-79 to +/- 0x1p-79.
28422 * math/libm-test.inc (pow_test): Add more tests.
28424 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28426 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28427 _dl_s390_cap_flags with kernel. Increase string length.
28428 (_dl_s390_platforms): Add z196 and zEC12.
28430 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28432 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28433 Change XOPEN21K to XOPEN2K.
28435 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28437 * string/memmove.c: Use memcpy when possible.
28439 2012-11-06 Andreas Jaeger <aj@suse.de>
28441 * po/eo.po: Update from translation team.
28443 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28447 exponent and small x and y exponents, scale x or y up. Increase
28448 by 2 the exponent used in scaling up.
28449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28451 * math/libm-test.inc (fma_test): Add more tests.
28452 (fma_test_towardzero): Likewise.
28453 (fma_test_downward): Likewise.
28454 (fma_test_upward): Likewise.
28456 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28459 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28463 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28464 namespace for names of struct fields.
28465 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28467 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28468 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28470 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28473 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28475 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28477 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28481 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28484 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28488 definitely overflow as x * y not x * y + z.
28489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28491 * math/libm-test.inc (fma_test): Add more tests.
28492 (fma_test_towardzero): Likewise.
28493 (fma_test_downward): Likewise.
28494 (fma_test_upward): Likewise.
28496 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28500 * include/stub-tag.h: Remove file.
28501 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28503 * manual/maint.texi (Porting): Don't reference it.
28504 * Makerules ($(objpfx)stubs): Likewise.
28505 * dirent/closedir.c: Don't include <stub-tag.h>.
28506 * dirent/dirfd.c: Likewise.
28507 * dirent/fdopendir.c: Likewise.
28508 * dirent/getdents.c: Likewise.
28509 * dirent/getdents64.c: Likewise.
28510 * dirent/opendir.c: Likewise.
28511 * dirent/readdir.c: Likewise.
28512 * dirent/readdir64.c: Likewise.
28513 * dirent/readdir64_r.c: Likewise.
28514 * dirent/readdir_r.c: Likewise.
28515 * dirent/rewinddir.c: Likewise.
28516 * dirent/seekdir.c: Likewise.
28517 * dirent/telldir.c: Likewise.
28518 * gmon/profil.c: Likewise.
28519 * grp/setgroups.c: Likewise.
28520 * inet/if_index.c: Likewise.
28521 * io/access.c: Likewise.
28522 * io/chdir.c: Likewise.
28523 * io/chmod.c: Likewise.
28524 * io/chown.c: Likewise.
28525 * io/close.c: Likewise.
28526 * io/dup.c: Likewise.
28527 * io/dup2.c: Likewise.
28528 * io/dup3.c: Likewise.
28529 * io/euidaccess.c: Likewise.
28530 * io/faccessat.c: Likewise.
28531 * io/fchdir.c: Likewise.
28532 * io/fchmod.c: Likewise.
28533 * io/fchmodat.c: Likewise.
28534 * io/fchown.c: Likewise.
28535 * io/fchownat.c: Likewise.
28536 * io/fcntl.c: Likewise.
28537 * io/flock.c: Likewise.
28538 * io/fstatfs.c: Likewise.
28539 * io/fstatfs64.c: Likewise.
28540 * io/fstatvfs.c: Likewise.
28541 * io/fstatvfs64.c: Likewise.
28542 * io/futimens.c: Likewise.
28543 * io/fxstat.c: Likewise.
28544 * io/fxstat64.c: Likewise.
28545 * io/fxstatat.c: Likewise.
28546 * io/fxstatat64.c: Likewise.
28547 * io/getcwd.c: Likewise.
28548 * io/isatty.c: Likewise.
28549 * io/lchmod.c: Likewise.
28550 * io/lchown.c: Likewise.
28551 * io/link.c: Likewise.
28552 * io/linkat.c: Likewise.
28553 * io/lseek.c: Likewise.
28554 * io/lseek64.c: Likewise.
28555 * io/lxstat64.c: Likewise.
28556 * io/mkdir.c: Likewise.
28557 * io/mkdirat.c: Likewise.
28558 * io/mkfifo.c: Likewise.
28559 * io/mkfifoat.c: Likewise.
28560 * io/open.c: Likewise.
28561 * io/open64.c: Likewise.
28562 * io/openat.c: Likewise.
28563 * io/openat64.c: Likewise.
28564 * io/pipe.c: Likewise.
28565 * io/pipe2.c: Likewise.
28566 * io/poll.c: Likewise.
28567 * io/posix_fadvise.c: Likewise.
28568 * io/posix_fadvise64.c: Likewise.
28569 * io/posix_fallocate.c: Likewise.
28570 * io/posix_fallocate64.c: Likewise.
28571 * io/read.c: Likewise.
28572 * io/readlink.c: Likewise.
28573 * io/readlinkat.c: Likewise.
28574 * io/rmdir.c: Likewise.
28575 * io/sendfile.c: Likewise.
28576 * io/sendfile64.c: Likewise.
28577 * io/statfs.c: Likewise.
28578 * io/statfs64.c: Likewise.
28579 * io/statvfs.c: Likewise.
28580 * io/statvfs64.c: Likewise.
28581 * io/symlink.c: Likewise.
28582 * io/symlinkat.c: Likewise.
28583 * io/ttyname.c: Likewise.
28584 * io/ttyname_r.c: Likewise.
28585 * io/umask.c: Likewise.
28586 * io/unlink.c: Likewise.
28587 * io/unlinkat.c: Likewise.
28588 * io/utime.c: Likewise.
28589 * io/utimensat.c: Likewise.
28590 * io/write.c: Likewise.
28591 * io/xmknod.c: Likewise.
28592 * io/xmknodat.c: Likewise.
28593 * io/xstat.c: Likewise.
28594 * io/xstat64.c: Likewise.
28595 * login/getpt.c: Likewise.
28596 * login/grantpt.c: Likewise.
28597 * login/unlockpt.c: Likewise.
28598 * math/e_acoshl.c: Likewise.
28599 * math/e_acosl.c: Likewise.
28600 * math/e_asinl.c: Likewise.
28601 * math/e_atan2l.c: Likewise.
28602 * math/e_atanhl.c: Likewise.
28603 * math/e_coshl.c: Likewise.
28604 * math/e_expl.c: Likewise.
28605 * math/e_fmodl.c: Likewise.
28606 * math/e_gammal_r.c: Likewise.
28607 * math/e_hypotl.c: Likewise.
28608 * math/e_j0l.c: Likewise.
28609 * math/e_j1l.c: Likewise.
28610 * math/e_jnl.c: Likewise.
28611 * math/e_lgammal_r.c: Likewise.
28612 * math/e_log10l.c: Likewise.
28613 * math/e_log2l.c: Likewise.
28614 * math/e_logl.c: Likewise.
28615 * math/e_powl.c: Likewise.
28616 * math/e_rem_pio2l.c: Likewise.
28617 * math/e_sinhl.c: Likewise.
28618 * math/e_sqrtl.c: Likewise.
28619 * math/fclrexcpt.c: Likewise.
28620 * math/fedisblxcpt.c: Likewise.
28621 * math/feenablxcpt.c: Likewise.
28622 * math/fegetenv.c: Likewise.
28623 * math/fegetexcept.c: Likewise.
28624 * math/fegetround.c: Likewise.
28625 * math/feholdexcpt.c: Likewise.
28626 * math/fesetenv.c: Likewise.
28627 * math/fesetround.c: Likewise.
28628 * math/feupdateenv.c: Likewise.
28629 * math/fgetexcptflg.c: Likewise.
28630 * math/fraiseexcpt.c: Likewise.
28631 * math/fsetexcptflg.c: Likewise.
28632 * math/ftestexcept.c: Likewise.
28633 * math/k_cosl.c: Likewise.
28634 * math/k_rem_pio2l.c: Likewise.
28635 * math/k_sinl.c: Likewise.
28636 * math/k_tanl.c: Likewise.
28637 * math/s_asinhl.c: Likewise.
28638 * math/s_atanl.c: Likewise.
28639 * math/s_cbrtl.c: Likewise.
28640 * math/s_erfl.c: Likewise.
28641 * math/s_expm1l.c: Likewise.
28642 * math/s_log1pl.c: Likewise.
28643 * math/s_tanhl.c: Likewise.
28644 * misc/acct.c: Likewise.
28645 * misc/brk.c: Likewise.
28646 * misc/chflags.c: Likewise.
28647 * misc/chroot.c: Likewise.
28648 * misc/fchflags.c: Likewise.
28649 * misc/fgetxattr.c: Likewise.
28650 * misc/flistxattr.c: Likewise.
28651 * misc/fremovexattr.c: Likewise.
28652 * misc/fsetxattr.c: Likewise.
28653 * misc/fsync.c: Likewise.
28654 * misc/ftruncate.c: Likewise.
28655 * misc/futimes.c: Likewise.
28656 * misc/futimesat.c: Likewise.
28657 * misc/getdomain.c: Likewise.
28658 * misc/getdtsz.c: Likewise.
28659 * misc/gethostid.c: Likewise.
28660 * misc/gethostname.c: Likewise.
28661 * misc/getloadavg.c: Likewise.
28662 * misc/getpagesize.c: Likewise.
28663 * misc/getsysstats.c: Likewise.
28664 * misc/getxattr.c: Likewise.
28665 * misc/gtty.c: Likewise.
28666 * misc/ioctl.c: Likewise.
28667 * misc/lgetxattr.c: Likewise.
28668 * misc/listxattr.c: Likewise.
28669 * misc/llistxattr.c: Likewise.
28670 * misc/lremovexattr.c: Likewise.
28671 * misc/lsetxattr.c: Likewise.
28672 * misc/lutimes.c: Likewise.
28673 * misc/madvise.c: Likewise.
28674 * misc/mincore.c: Likewise.
28675 * misc/mlock.c: Likewise.
28676 * misc/mlockall.c: Likewise.
28677 * misc/mmap.c: Likewise.
28678 * misc/mprotect.c: Likewise.
28679 * misc/msync.c: Likewise.
28680 * misc/munlock.c: Likewise.
28681 * misc/munlockall.c: Likewise.
28682 * misc/munmap.c: Likewise.
28683 * misc/preadv.c: Likewise.
28684 * misc/preadv64.c: Likewise.
28685 * misc/ptrace.c: Likewise.
28686 * misc/pwritev.c: Likewise.
28687 * misc/pwritev64.c: Likewise.
28688 * misc/readv.c: Likewise.
28689 * misc/reboot.c: Likewise.
28690 * misc/remap_file_pages.c: Likewise.
28691 * misc/removexattr.c: Likewise.
28692 * misc/revoke.c: Likewise.
28693 * misc/select.c: Likewise.
28694 * misc/setdomain.c: Likewise.
28695 * misc/setegid.c: Likewise.
28696 * misc/seteuid.c: Likewise.
28697 * misc/sethostid.c: Likewise.
28698 * misc/sethostname.c: Likewise.
28699 * misc/setregid.c: Likewise.
28700 * misc/setreuid.c: Likewise.
28701 * misc/setxattr.c: Likewise.
28702 * misc/sstk.c: Likewise.
28703 * misc/stty.c: Likewise.
28704 * misc/swapoff.c: Likewise.
28705 * misc/swapon.c: Likewise.
28706 * misc/sync.c: Likewise.
28707 * misc/syncfs.c: Likewise.
28708 * misc/syscall.c: Likewise.
28709 * misc/truncate.c: Likewise.
28710 * misc/ualarm.c: Likewise.
28711 * misc/usleep.c: Likewise.
28712 * misc/ustat.c: Likewise.
28713 * misc/utimes.c: Likewise.
28714 * misc/vhangup.c: Likewise.
28715 * misc/writev.c: Likewise.
28716 * posix/_exit.c: Likewise.
28717 * posix/alarm.c: Likewise.
28718 * posix/execve.c: Likewise.
28719 * posix/fexecve.c: Likewise.
28720 * posix/fork.c: Likewise.
28721 * posix/fpathconf.c: Likewise.
28722 * posix/getaddrinfo.c: Likewise.
28723 * posix/getegid.c: Likewise.
28724 * posix/geteuid.c: Likewise.
28725 * posix/getgid.c: Likewise.
28726 * posix/getgroups.c: Likewise.
28727 * posix/getlogin.c: Likewise.
28728 * posix/getlogin_r.c: Likewise.
28729 * posix/getpgid.c: Likewise.
28730 * posix/getpid.c: Likewise.
28731 * posix/getppid.c: Likewise.
28732 * posix/getresgid.c: Likewise.
28733 * posix/getresuid.c: Likewise.
28734 * posix/getsid.c: Likewise.
28735 * posix/getuid.c: Likewise.
28736 * posix/glob64.c: Likewise.
28737 * posix/nanosleep.c: Likewise.
28738 * posix/pathconf.c: Likewise.
28739 * posix/pause.c: Likewise.
28740 * posix/posix_madvise.c: Likewise.
28741 * posix/pread.c: Likewise.
28742 * posix/pread64.c: Likewise.
28743 * posix/pwrite.c: Likewise.
28744 * posix/pwrite64.c: Likewise.
28745 * posix/sched_getaffinity.c: Likewise.
28746 * posix/sched_getp.c: Likewise.
28747 * posix/sched_gets.c: Likewise.
28748 * posix/sched_primax.c: Likewise.
28749 * posix/sched_primin.c: Likewise.
28750 * posix/sched_rr_gi.c: Likewise.
28751 * posix/sched_setaffinity.c: Likewise.
28752 * posix/sched_setp.c: Likewise.
28753 * posix/sched_sets.c: Likewise.
28754 * posix/sched_yield.c: Likewise.
28755 * posix/setgid.c: Likewise.
28756 * posix/setlogin.c: Likewise.
28757 * posix/setpgid.c: Likewise.
28758 * posix/setresgid.c: Likewise.
28759 * posix/setresuid.c: Likewise.
28760 * posix/setsid.c: Likewise.
28761 * posix/setuid.c: Likewise.
28762 * posix/sleep.c: Likewise.
28763 * posix/spawni.c: Likewise.
28764 * posix/sysconf.c: Likewise.
28765 * posix/times.c: Likewise.
28766 * posix/wait.c: Likewise.
28767 * posix/wait3.c: Likewise.
28768 * posix/wait4.c: Likewise.
28769 * posix/waitpid.c: Likewise.
28770 * resolv/gai_sigqueue.c: Likewise.
28771 * resource/getpriority.c: Likewise.
28772 * resource/getrlimit.c: Likewise.
28773 * resource/getrusage.c: Likewise.
28774 * resource/nice.c: Likewise.
28775 * resource/setpriority.c: Likewise.
28776 * resource/setrlimit.c: Likewise.
28777 * resource/ulimit.c: Likewise.
28778 * rt/aio_cancel.c: Likewise.
28779 * rt/aio_fsync.c: Likewise.
28780 * rt/aio_read.c: Likewise.
28781 * rt/aio_sigqueue.c: Likewise.
28782 * rt/aio_suspend.c: Likewise.
28783 * rt/aio_write.c: Likewise.
28784 * rt/clock_getres.c: Likewise.
28785 * rt/clock_gettime.c: Likewise.
28786 * rt/clock_nanosleep.c: Likewise.
28787 * rt/clock_settime.c: Likewise.
28788 * rt/lio_listio.c: Likewise.
28789 * rt/mq_close.c: Likewise.
28790 * rt/mq_getattr.c: Likewise.
28791 * rt/mq_notify.c: Likewise.
28792 * rt/mq_open.c: Likewise.
28793 * rt/mq_receive.c: Likewise.
28794 * rt/mq_send.c: Likewise.
28795 * rt/mq_setattr.c: Likewise.
28796 * rt/mq_timedreceive.c: Likewise.
28797 * rt/mq_timedsend.c: Likewise.
28798 * rt/mq_unlink.c: Likewise.
28799 * rt/shm_open.c: Likewise.
28800 * rt/shm_unlink.c: Likewise.
28801 * rt/timer_create.c: Likewise.
28802 * rt/timer_delete.c: Likewise.
28803 * rt/timer_getoverr.c: Likewise.
28804 * rt/timer_gettime.c: Likewise.
28805 * rt/timer_settime.c: Likewise.
28806 * setjmp/__longjmp.c: Likewise.
28807 * setjmp/setjmp.c: Likewise.
28808 * signal/kill.c: Likewise.
28809 * signal/killpg.c: Likewise.
28810 * signal/raise.c: Likewise.
28811 * signal/sigaction.c: Likewise.
28812 * signal/sigaltstack.c: Likewise.
28813 * signal/sigblock.c: Likewise.
28814 * signal/sigignore.c: Likewise.
28815 * signal/sigintr.c: Likewise.
28816 * signal/signal.c: Likewise.
28817 * signal/sigpause.c: Likewise.
28818 * signal/sigpending.c: Likewise.
28819 * signal/sigqueue.c: Likewise.
28820 * signal/sigreturn.c: Likewise.
28821 * signal/sigset.c: Likewise.
28822 * signal/sigsetmask.c: Likewise.
28823 * signal/sigstack.c: Likewise.
28824 * signal/sigsuspend.c: Likewise.
28825 * signal/sigtimedwait.c: Likewise.
28826 * signal/sigvec.c: Likewise.
28827 * signal/sigwait.c: Likewise.
28828 * signal/sigwaitinfo.c: Likewise.
28829 * signal/sysv_signal.c: Likewise.
28830 * socket/accept.c: Likewise.
28831 * socket/accept4.c: Likewise.
28832 * socket/bind.c: Likewise.
28833 * socket/connect.c: Likewise.
28834 * socket/getpeername.c: Likewise.
28835 * socket/getsockname.c: Likewise.
28836 * socket/getsockopt.c: Likewise.
28837 * socket/isfdtype.c: Likewise.
28838 * socket/listen.c: Likewise.
28839 * socket/recv.c: Likewise.
28840 * socket/recvfrom.c: Likewise.
28841 * socket/recvmsg.c: Likewise.
28842 * socket/send.c: Likewise.
28843 * socket/sendmsg.c: Likewise.
28844 * socket/sendto.c: Likewise.
28845 * socket/setsockopt.c: Likewise.
28846 * socket/shutdown.c: Likewise.
28847 * socket/sockatmark.c: Likewise.
28848 * socket/socket.c: Likewise.
28849 * socket/socketpair.c: Likewise.
28850 * stdio-common/ctermid.c: Likewise.
28851 * stdio-common/cuserid.c: Likewise.
28852 * stdio-common/remove.c: Likewise.
28853 * stdio-common/rename.c: Likewise.
28854 * stdio-common/renameat.c: Likewise.
28855 * stdio-common/tempname.c: Likewise.
28856 * stdlib/getcontext.c: Likewise.
28857 * stdlib/makecontext.c: Likewise.
28858 * stdlib/setcontext.c: Likewise.
28859 * stdlib/swapcontext.c: Likewise.
28860 * stdlib/system.c: Likewise.
28861 * streams/fattach.c: Likewise.
28862 * streams/fdetach.c: Likewise.
28863 * streams/getmsg.c: Likewise.
28864 * streams/getpmsg.c: Likewise.
28865 * streams/putmsg.c: Likewise.
28866 * streams/putpmsg.c: Likewise.
28867 * sysdeps/unix/bsd/getpt.c: Likewise.
28868 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28869 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28870 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28873 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28874 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28875 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28876 * sysvipc/msgctl.c: Likewise.
28877 * sysvipc/msgget.c: Likewise.
28878 * sysvipc/msgrcv.c: Likewise.
28879 * sysvipc/msgsnd.c: Likewise.
28880 * sysvipc/semctl.c: Likewise.
28881 * sysvipc/semget.c: Likewise.
28882 * sysvipc/semop.c: Likewise.
28883 * sysvipc/semtimedop.c: Likewise.
28884 * sysvipc/shmat.c: Likewise.
28885 * sysvipc/shmctl.c: Likewise.
28886 * sysvipc/shmdt.c: Likewise.
28887 * sysvipc/shmget.c: Likewise.
28888 * termios/tcdrain.c: Likewise.
28889 * termios/tcflow.c: Likewise.
28890 * termios/tcflush.c: Likewise.
28891 * termios/tcgetattr.c: Likewise.
28892 * termios/tcgetpgrp.c: Likewise.
28893 * termios/tcsendbrk.c: Likewise.
28894 * termios/tcsetattr.c: Likewise.
28895 * termios/tcsetpgrp.c: Likewise.
28896 * time/adjtime.c: Likewise.
28897 * time/clock.c: Likewise.
28898 * time/getitimer.c: Likewise.
28899 * time/gettimeofday.c: Likewise.
28900 * time/setitimer.c: Likewise.
28901 * time/settimeofday.c: Likewise.
28902 * time/stime.c: Likewise.
28903 * time/time.c: Likewise.
28905 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28907 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28910 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28912 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28914 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28918 FE_TONEAREST before applying Dekker multiplication and Knuth
28919 addition. Clear inexact exceptions and check for exact zero
28920 results afterwards.
28921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28922 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28924 * math/libm-test.inc (fma_test): Add more tests.
28925 (fma_test_towardzero): Likewise.
28926 (fma_test_downward): Likewise.
28927 (fma_test_upward): Likewise.
28928 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28930 (libc_fesetround): New macro.
28931 (libc_fesetroundf): Likewise.
28932 (libc_fesetroundl): Likewise.
28933 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28935 (libc_fesetround_387): Likewise.
28936 (libc_fesetroundf): New macro.
28937 (libc_fesetround): Likewise.
28938 (libc_fesetroundl): Likewise.
28939 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28941 (libc_fesetroundf): New macro.
28942 (libc_fesetround): Likewise.
28943 (libc_fesetroundl): Likewise.
28944 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28945 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28946 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28948 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28949 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28951 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28952 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28954 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28958 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28959 integer constant usable in #if and use that to give value to enum
28961 (FE_DIVBYZERO): Likewise.
28962 (FE_UNDERFLOW): Likewise.
28963 (FE_OVERFLOW): Likewise.
28964 (FE_INVALID): Likewise.
28965 (FE_INVALID_SNAN): Likewise.
28966 (FE_INVALID_ISI): Likewise.
28967 (FE_INVALID_IDI): Likewise.
28968 (FE_INVALID_ZDZ): Likewise.
28969 (FE_INVALID_IMZ): Likewise.
28970 (FE_INVALID_COMPARE): Likewise.
28971 (FE_INVALID_SOFTWARE): Likewise.
28972 (FE_INVALID_SQRT): Likewise.
28973 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28974 (FE_TONEAREST): Likewise.
28975 (FE_TOWARDZERO): Likewise.
28976 (FE_UPWARD): Likewise.
28977 (FE_DOWNWARD): Likewise.
28978 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28979 (FE_DIVBYZERO): Likewise.
28980 (FE_OVERFLOW): Likewise.
28981 (FE_UNDERFLOW): Likewise.
28982 (FE_INEXACT): Likewise.
28983 (FE_TONEAREST): Likewise.
28984 (FE_DOWNWARD): Likewise.
28985 (FE_UPWARD): Likewise.
28986 (FE_TOWARDZERO): Likewise.
28987 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28988 (FE_UNDERFLOW): Likewise.
28989 (FE_OVERFLOW): Likewise.
28990 (FE_DIVBYZERO): Likewise.
28991 (FE_INVALID): Likewise.
28992 (FE_TONEAREST): Likewise.
28993 (FE_TOWARDZERO): Likewise.
28994 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28995 (FE_OVERFLOW): Likewise.
28996 (FE_UNDERFLOW): Likewise.
28997 (FE_DIVBYZERO): Likewise.
28998 (FE_INEXACT): Likewise.
28999 (FE_TONEAREST): Likewise.
29000 (FE_TOWARDZERO): Likewise.
29001 (FE_UPWARD): Likewise.
29002 (FE_DOWNWARD): Likewise.
29003 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29004 (FE_DIVBYZERO): Likewise.
29005 (FE_OVERFLOW): Likewise.
29006 (FE_UNDERFLOW): Likewise.
29007 (FE_INEXACT): Likewise.
29008 (FE_TONEAREST): Likewise.
29009 (FE_DOWNWARD): Likewise.
29010 (FE_UPWARD): Likewise.
29011 (FE_TOWARDZERO): Likewise.
29013 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29015 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29017 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29019 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29020 commands. Quote $PWD.
29021 (blacklist_exports): Don't use remove_newlines. Replace "declare
29023 (remove_newlines): Remove.
29025 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29027 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29028 * stdlib/stdlib.h (atof): Moved to ...
29029 * include/bits/stdlib-float.h: Here. New file.
29030 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29031 * stdlib/bits/stdlib-float.h: New file.
29032 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29037 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29039 * conform/conformtest.pl (@headers): Add fenv.h.
29040 * conform/data/fenv.h-data: New file.
29041 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29042 include of <math/fenv.h>.
29044 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29045 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29046 && !UNIX98]. Enables tests for XOPEN2K8.
29047 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29048 POSIX2008]: Likewise.
29050 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29051 (struct rusage): Do not expect type or its members.
29054 * math/math.h (FP_NAN): Define macro to integer constant usable in
29055 #if and use that to give value to enum constant.
29056 (FP_INFINITE): Likewise.
29057 (FP_ZERO): Likewise.
29058 (FP_SUBNORMAL): Likewise.
29059 (FP_NORMAL): Likewise.
29061 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29063 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29064 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29067 2012-11-02 Roland McGrath <roland@hack.frob.com>
29069 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29070 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29071 autoconf-time if not.
29072 * configure.in: Remove AC_PREREQ.
29074 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29076 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29077 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29078 of the internal implementation.
29080 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29082 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29083 except include of <misc/sys/syslog.h>.
29085 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29088 function returns with a NULL context exit with zero.
29090 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29092 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29094 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29096 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29097 (run_program_cmd): This.
29098 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29099 (tst_langinfo): New variable. Use it.
29101 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29103 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29104 floating point opcodes.
29106 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29108 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29111 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29113 * sysdeps/mach/hurd/powerpc: Remove directory.
29114 * sysdeps/mach/powerpc: Likewise.
29116 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29118 * scripts/check-local-headers.sh: Ignore c++ headers.
29120 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29122 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29123 __libc_cleanup_region_start argument.
29125 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29130 x * y using scaling, not as x * y + z.
29131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29133 * math/libm-test.inc (fma_test): Add more tests.
29134 (fma_test_towardzero): Likewise.
29135 (fma_test_downward): Likewise.
29136 (fma_test_upward): Likewise.
29138 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29140 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29142 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29144 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29147 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29149 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29151 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29158 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29161 Fix the order of the list for glibc 2.17.
29162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29165 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29169 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29173 for low part of x being zero before using __atanl (y).
29174 * math/libm-test.inc (atan2_test): Add another test.
29176 * manual/install.texi (Configuring and compiling): Document
29177 general use of test-wrapper and test-wrapper-env.
29178 * INSTALL: Regenerated.
29180 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29181 (__fma): Do not extract and scale down low bits on after-rounding
29182 systems when result rounded to normal precision would have normal
29184 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29185 (__fmal): Do not extract and scale down low bits on after-rounding
29186 systems when result rounded to normal precision would have normal
29188 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29189 (__fmal): Do not extract and scale down low bits on after-rounding
29190 systems when result rounded to normal precision would have normal
29192 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29194 (fma_test): Add more tests.
29195 (fma_test_towardzero): Likewise.
29196 (fma_test_downward): Likewise.
29197 (fma_test_upward): Likewise.
29199 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29201 * sysdeps/i386/tininess.h: Renamed to ...
29202 * sysdeps/x86/tininess.h: This.
29203 * sysdeps/x86_64/tininess.h: Removed.
29205 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29207 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29208 input. Use $(build-program-cmd).
29209 ($(objpfx)tst-array1-static.out): Likewise.
29210 ($(objpfx)tst-array2.out): Likewise.
29211 ($(objpfx)tst-array3.out): Likewise.
29212 ($(objpfx)tst-array4.out): Likewise.
29213 ($(objpfx)tst-array5.out): Likewise.
29214 ($(objpfx)tst-array5-static.out): Likewise.
29216 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29218 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29221 * nss/nsswitch.h (nss_interface_function): Provide new
29222 macro for use with NSS functions.
29223 * grp/initgroups.c: Use new macro.
29224 * nss/getXXbyYY.c: Likewise.
29225 * nss/getXXbyYY_r.c: Likewise.
29226 * nss/getXXent.c: Likewise.
29227 * nss/getXXent_r.c: Likewise.
29228 * sysdeps/posix/getaddrinfo.c: Likewise.
29230 2012-10-30 Andreas Jaeger <aj@suse.de>
29232 * po/ru.po: Update Russion translation from translation project.
29234 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29239 result and shift together with sticky bit instead of replicating
29240 round-to-nearest rounding.
29241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29242 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29243 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29244 missing underflow exceptions.
29245 (fma_test_towardzero): Add more tests.
29246 (fma_test_downward): Likewise.
29247 (fma_test_upward): Likewise.
29250 * sysdeps/generic/tininess.h: New file.
29251 * sysdeps/i386/tininess.h: Likewise.
29252 * sysdeps/sh/tininess.h: Likewise.
29253 * sysdeps/x86_64/tininess.h: Likewise.
29254 * stdlib/tst-strtod-underflow.c: Likewise.
29255 * stdlib/tst-tininess.c: Likewise.
29256 * stdlib/strtod_l.c: Include <tininess.h>.
29257 (round_and_return): Do not set errno for exact underflow cases.
29258 Force an underflow exception when setting errno for underflow.
29259 Determine underflow based on rounding to normal precision if
29260 TININESS_AFTER_ROUNDING.
29261 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29262 ERANGE for exact underflow cases.
29263 * stdlib/Makefile (tests): Add tst-tininess and
29264 tst-strtod-underflow.
29265 ($(objpfx)tst-tininess): Use $(link-libm).
29266 ($(objpfx)tst-strtod-underflow): Likewise.
29268 2012-10-30 Andreas Jaeger <aj@suse.de>
29271 * elf/Makefile (tests): Remove conditional for have-initfini-array
29272 since this is now always required and the variable does not exist
29274 (tests-static): Likewise.
29275 (modules-names): Likewise.
29277 * po/eo.po: Add Esperanto translation from translation project.
29279 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29280 merged with constructor/destructor.
29281 (init_array): Likewise.
29282 * elf/tst-array2dep.c (fini_array): Likewise.
29283 (init_array): Likewise.
29285 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29287 * manual/message.texi: Delete @cartouche tags.
29289 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29291 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29293 * sysdeps/mach/hurd/fsync.c: Likewise.
29295 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29296 [_POSIX_REALTIME_SIGNALS]: Change condition to
29297 [_POSIX_REALTIME_SIGNALS > 0].
29299 2012-10-27 Andreas Jaeger <aj@suse.de>
29301 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29302 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29304 [__WORDSIZE != 64]: Likewise.
29306 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29308 * iconvdata/tst-table.sh: Remove ${SHELL}.
29309 * iconvdata/tst-tables.sh: Likewise.
29311 2012-10-25 David S. Miller <davem@davemloft.net>
29313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29314 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29320 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29321 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29324 2012-10-25 Roland McGrath <roland@hack.frob.com>
29326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29327 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29330 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29331 Jim Blandy <jimb@codesourcery.com>
29333 * scripts/cross-test-ssh.sh: New file.
29334 * manual/install.texi (Configuring and compiling): Document use of
29336 * INSTALL: Regenerated.
29338 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29340 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29343 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29345 * Makeconfig (run-program-prefix): Fix comment.
29347 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29348 Jim Blandy <jimb@codesourcery.com>
29350 * Makeconfig (test-wrapper): New variable,
29351 (test-wrapper-env): Likewise.
29352 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29353 (run-built-tests): Define to yes.
29354 (run-program-prefix): Use $(test-wrapper).
29355 (built-program-cmd): Likewise.
29356 * Rules (make-test-out): Use $(test-wrapper-env) and
29357 $(host-built-program-cmd).
29358 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29359 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29361 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29362 $(test-wrapper-env) to tst-rtld-load-self.sh.
29363 ($(objpfx)order2.out): Use $(test-wrapper).
29364 ($(objpfx)tst-initorder.out): Likewise.
29365 ($(objpfx)tst-initorder2.out): Likewise.
29366 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29367 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29368 (test_wrapper_env): New variable. Use it to run ld.so.
29369 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29370 Use it to run ld.so.
29371 (test_wrapper_env): Likewise.
29372 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29373 $(test-wrapper) to run-iconv-test.sh.
29374 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29375 (ICONV): Use $test_wrapper.
29376 * posix/Makefile ($(objpfx)globtest.out): Pass
29377 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29378 globtest.sh, not $(run-program-prefix).
29379 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29380 (test_wrapper): Likewise.
29381 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29382 set together with run_via_rtld_prefix.
29383 (run_program_prefix): Define in terms of test_wrapper and
29384 run_via_rtld_prefix.
29386 2012-10-24 Roland McGrath <roland@hack.frob.com>
29388 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29389 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29393 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29394 Declare __clock_getres, __clock_gettime, __clock_settime,
29395 __clock_nanosleep, and __clock_getcpuclockid.
29396 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29397 Remove librt_hidden_def (clock_gettime).
29398 * sysdeps/unix/clock_gettime.c: Likewise.
29399 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29400 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29401 * rt/clock_getres.c: Define __clock_getres as an alias.
29402 * sysdeps/posix/clock_getres.c: Likewise.
29403 * rt/clock_settime.c: Define __clock_settime as an alias.
29404 * sysdeps/unix/clock_settime.c: Likewise.
29405 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29406 * sysdeps/unix/clock_nanosleep.c: Likewise.
29407 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29408 * rt/clock-compat.c: New file.
29409 * rt/Makefile (librt-routines): Add clock-compat and move
29410 $(clock-routines) to ...
29411 (routines): ... here, new variable.
29412 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29413 Don't add get_clockfreq here.
29414 * rt/Versions (libc: GLIBC_2.17): New version set.
29415 Add clock_* symbols here.
29416 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29418 (GLIBC_2.17): Add clock_* symbols.
29419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29430 * NEWS: Mention the move.
29432 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29433 Use __open, __read, __close rather than their public counterparts.
29434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29435 (__get_clockfreq_via_cpuinfo): Likewise.
29436 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29437 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29439 * config.h.in (HAVE_IFUNC): New #undef.
29440 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29442 * configure: Regenerated.
29444 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29446 * configure.in: Move READELF check to start of file.
29447 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29448 libc_cv_asm_gnu_indirect_function in the process.
29449 * configure: Regenerated.
29451 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29453 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29454 send the output to /dev/null.
29455 (libc_cv_cc_with_libunwind): Likewise.
29456 (libc_cv_as_noexecstack): Likewise.
29457 * configure: Regenerate.
29459 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29461 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29463 * posix/globtest.sh (TMPDIR): Do not set.
29464 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29465 (testout): Likewise.
29467 2012-10-24 Andreas Jaeger <aj@suse.de>
29469 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29470 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29471 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29472 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29473 posix_fadvise64, posix_fallocate64.
29475 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29476 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29477 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29479 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29481 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29484 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29485 <bits/fcntl-linux.h>.
29486 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29488 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29489 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29490 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29491 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29492 [__WORDSIZE != 64]: Likewise.
29494 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29496 * Makeconfig (run-built-tests): New variable.
29497 * Rules [$(cross-compiling) = yes]: Change condition to
29498 [$(run-built-tests) = no].
29499 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29500 to [$(run-built-tests) = yes].
29501 * elf/Makefile [$(cross-compiling) = no]: Likewise
29502 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29503 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29504 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29505 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29506 * io/Makefile [$(cross-compiling) = no]: Likewise.
29507 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29508 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29509 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29510 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29511 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29512 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29513 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29514 * string/Makefile [$(cross-compiling) = no]: Likewise.
29516 * posix/Makefile ($(objpfx)globtest.out): Pass
29517 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29518 $(rtld-installed-name).
29519 * posix/globtest.sh (elf_objpfx): Remove variable.
29520 (rtld_installed_name): Likewise.
29521 (library_path): Likewise.
29522 (run_program_prefix): New variable. Use for running globtest
29525 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29526 Joseph Myers <joseph@codesourcery.com>
29528 * Makeconfig (host-built-program-cmd): New variable.
29529 * elf/Makefile (tst-stackguard1-ARGS): Use
29530 $(host-built-program-cmd).
29531 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29532 (tst-spawn-ARGS): Likewise.
29533 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29535 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29536 Jim Blandy <jimb@codesourcery.com>
29538 * Makeconfig (run-via-rtld-prefix): New variable.
29539 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29540 (built-program-cmd): Likewise.
29542 2012-10-22 Andreas Jaeger <aj@suse.de>
29544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29545 __O_RSYNC if it exists, otherwise to O_SYNC.
29547 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29548 Joseph Myers <joseph@codesourcery.com>
29550 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29552 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29554 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29557 2012-10-22 Andreas Jaeger <aj@suse.de>
29559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29564 bits/fcntl-linux.h.
29566 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29567 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29574 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29575 Joseph Myers <joseph@codesourcery.com>
29577 * config.make.in (NM): New variable.
29579 2012-10-21 Andreas Jaeger <aj@suse.de>
29581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29582 definitions and declarations that are provided by
29583 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29585 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29588 * elf/Makefile (tests-static): Add tst-leaks1-static.
29589 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29590 ($(objpfx)tst-leaks1-static): New rule.
29591 ($(objpfx)tst-leaks1-static-mem): Likewise.
29592 (tst-leaks1-static-ENV): New macro.
29593 * elf/dl-open.c (dl_open_worker): Check the main application
29594 only if SHARED is defined.
29595 * elf/tst-leaks1-static.c: New file.
29597 2012-10-20 Andreas Jaeger <aj@suse.de>
29599 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29600 generic values for Linux.
29601 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29602 and declarations that are provided by <bits/fcntl-linux.h> and
29603 include <bits/fcntl-linux.h>.
29604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29607 2012-10-20 Roland McGrath <roland@hack.frob.com>
29609 * io/fcntl.h: Move include of <bits/types.h> to the top and
29610 include it unconditionally.
29612 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29614 * wcsmbs/Makefile (tests-ifunc): New variable.
29615 (tests): Add $(tests-ifunc).
29616 * wcsmbs/test-wcschr-ifunc.c: New file.
29617 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29618 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29619 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29620 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29621 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29623 * string/Makefile (tests-ifunc): New variable.
29624 (tests): Add $(tests-ifunc).
29625 * string/test-memccpy.c (TEST_NAME): New macro.
29626 * string/test-memchr.c (TEST_NAME): Likewise.
29627 * string/test-memcmp.c (TEST_NAME): Likewise.
29628 * string/test-memcpy.c (TEST_NAME): Likewise.
29629 * string/test-memmem.c (TEST_NAME): Likewise.
29630 * string/test-memmove.c (TEST_NAME): Likewise.
29631 * string/test-memset.c (TEST_NAME): Likewise.
29632 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29633 * string/test-stpcpy.c (TEST_NAME): Likewise.
29634 * string/test-stpncpy.c (TEST_NAME): Likewise.
29635 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29636 * string/test-strcasestr.c (TEST_NAME): Likewise.
29637 * string/test-strcat.c (TEST_NAME): Likewise.
29638 * string/test-strchr.c (TEST_NAME): Likewise.
29639 * string/test-strcmp.c(TEST_NAME): Likewise.
29640 * string/test-strcpy.c (TEST_NAME): Likewise.
29641 * string/test-strcspn.c (TEST_NAME): Likewise.
29642 * string/test-strlen.c (TEST_NAME): Likewise.
29643 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29644 * string/test-strncmp.c (TEST_NAME): Likewise.
29645 * string/test-strncpy.c (TEST_NAME): Likewise.
29646 * string/test-strnlen.c (TEST_NAME): Likewise.
29647 * string/test-strpbrk.c (TEST_NAME): Likewise.
29648 * string/test-strrchr.c (TEST_NAME): Likewise.
29649 * string/test-strspn.c (TEST_NAME): Likewise.
29650 * string/test-strstr.c (TEST_NAME): Likewise.
29651 * string/test-bcopy-ifunc.c: New file.
29652 * string/test-bzero-ifunc.c: Likewise.
29653 * string/test-memccpy-ifunc.c: Likewise.
29654 * string/test-memchr-ifunc.c: Likewise.
29655 * string/test-memcmp-ifunc.c: Likewise.
29656 * string/test-memcpy-ifunc.c: Likewise.
29657 * string/test-memmem-ifunc.c: Likewise.
29658 * string/test-memmove-ifunc.c: Likewise.
29659 * string/test-mempcpy-ifunc.c: Likewise.
29660 * string/test-memset-ifunc.c: Likewise.
29661 * string/test-rawmemchr-ifunc.c: Likewise.
29662 * string/test-stpcpy-ifunc.c: Likewise.
29663 * string/test-stpncpy-ifunc.c: Likewise.
29664 * string/test-strcasecmp-ifunc.c: Likewise.
29665 * string/test-strcasestr-ifunc.c: Likewise.
29666 * string/test-strcat-ifunc.c: Likewise.
29667 * string/test-strchr-ifunc.c: Likewise.
29668 * string/test-strchrnul-ifunc.c: Likewise.
29669 * string/test-strcmp-ifunc.c: Likewise.
29670 * string/test-strcpy-ifunc.c: Likewise.
29671 * string/test-strcspn-ifunc.c: Likewise.
29672 * string/test-strlen-ifunc.c: Likewise.
29673 * string/test-strncasecmp-ifunc.c: Likewise.
29674 * string/test-strncat-ifunc.c: Likewise.
29675 * string/test-strncmp-ifunc.c: Likewise.
29676 * string/test-strncpy-ifunc.c: Likewise.
29677 * string/test-strnlen-ifunc.c: Likewise.
29678 * string/test-strpbrk-ifunc.c: Likewise.
29679 * string/test-strrchr-ifunc.c: Likewise.
29680 * string/test-strspn-ifunc.c: Likewise.
29681 * string/test-strstr-ifunc.c: Likewise.
29683 * debug/Makefile (tests-ifunc): New variable.
29684 (tests): Add $(tests-ifunc).
29685 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29686 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29687 * debug/test-stpcpy_chk-ifunc.c: New file.
29688 * debug/test-strcpy_chk-ifunc.c: Likewise.
29690 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29693 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29694 header is not read in.
29696 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29698 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29699 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29700 directly. Pass built executable to script as
29701 $(built-program-cmd).
29702 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29703 $testprogram without using LD_LIBRARY_PATH and $ldso.
29705 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29706 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29707 $(rtld-installed-name).
29708 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29709 (rtld_installed_name): Likewise.
29710 (library_path): Likewise.
29711 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29712 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29713 $(run-program-prefix) to tst-tables.sh.
29714 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29715 it to run tst-table-from and tst-table-to.
29716 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29717 Pass it to tst-table.sh.
29718 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29719 $(run-program-prefix) to tst-gettext.sh.
29720 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29722 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29724 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29725 to run tst-gettext.
29726 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29727 to run tst-gettext2.
29728 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29729 to run tst-translit.
29730 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29731 $(run-program-prefix) to tst-mtrace.sh.
29732 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29734 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29735 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29736 $(rtld-installed-name).
29737 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29738 (rtld_installed_name): Likewise.
29739 (run_program_prefix): New variable. Use it to run wordexp-test.
29741 * Makeconfig (ARCH): Remove all definitions.
29742 (machine): Likewise.
29743 [ARCH]: Remove conditional code.
29744 [!objdir]: Give error.
29745 [!objdir] (objpfx): Remove.
29746 [!objdir] (common-objpfx): Likewise.
29747 [!objdir] (common-objdir): Likewise.
29748 * configure.in (config_makefile): Remove. Hardcode Makefile in
29749 AC_CONFIG_FILES call.
29750 * configure: Regenerated.
29753 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29755 (testout): Likewise.
29757 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29758 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29759 $(rtld-installed-name).
29760 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29761 (rtld_installed_name): Likwise.
29762 (runit): Remove function.
29763 (run_getconf): New variable, Use it for running getconf binary.
29765 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29768 * string/test-memmem.c (check_result): New function.
29769 (do_one_test): Use it.
29770 (check1): New function.
29771 (test_main): Use it.
29773 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29775 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29777 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29779 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29780 (_G_LSEEK64): Likewise.
29781 (_G_MMAP64): Likewise.
29782 (_G_FSTAT64): Likewise.
29783 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29784 (_G_LSEEK64): Likewise.
29785 (_G_MMAP64): Likewise.
29786 (_G_FSTAT64): Likewise.
29787 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29788 unconditional. Call __mmap64 directly.
29789 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29790 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29791 __lseek64 directly.
29792 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29793 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29795 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29796 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29797 __lseek64 directly.
29798 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29799 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29800 __lseek64 directly.
29801 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29802 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29803 __lseek64 directly.
29804 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29805 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29806 __fxstat64 directly.
29807 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29808 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29810 (freopen64) [!_G_OPEN64]: Remove conditional code.
29811 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29813 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29814 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29816 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29817 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29819 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29820 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29822 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29823 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29825 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29826 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29828 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29829 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29831 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29833 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29836 * manual/memory.texi (Malloc Tunable Parameters): Add note
29837 about free list pointers overwriting some perturb bytes.
29838 Wording suggested by Roland McGrath.
29840 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29842 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29843 (lgamma_test): Likewise.
29844 (tgamma_test): Likewise.
29846 2012-10-16 Florian Weimer <fweimer@redhat.com>
29849 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29850 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29852 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29854 * NEWS: Mention BZ #14716.
29855 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29856 when removing AVAILABLE1_USES_J macro.
29858 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29860 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29861 (__bswap_64): __uint64_t for unsigned 64-bit int.
29863 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29865 * include/string.h (memmem): Declare libc hidden alias.
29866 * string/memmem.c (memmem): Define libc hidden alias.
29867 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29868 __read, __close instead of open, read, close.
29870 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29873 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29875 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29876 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29877 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29879 (__rawmemchr_sse2): Likewise.
29880 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29881 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29882 (__strchr_sse2): Likewise.
29883 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29884 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29885 (__strcasecmp_sse2): Likewise.
29886 (__strncasecmp_sse2): Likewise.
29887 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29888 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29889 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29890 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29891 (__strrchr_sse2): Likewise.
29892 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29894 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29895 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29896 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29897 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29898 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29899 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29900 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29901 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29902 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29903 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29904 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29905 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29906 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29907 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29908 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29909 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29910 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29911 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29912 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29913 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29914 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29915 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29916 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29917 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29918 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29919 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29920 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29921 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29922 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29923 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29925 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29927 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29928 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29929 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29930 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29932 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29934 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29935 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29936 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29937 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29939 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29940 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29942 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29943 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29944 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29945 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29946 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29947 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29948 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29949 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29950 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29951 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29952 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29953 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29954 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29955 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29956 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29957 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29958 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29959 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29960 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29961 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29962 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29963 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29964 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29965 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29966 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29967 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29968 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29969 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29970 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29971 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29972 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29973 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29974 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29975 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29976 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29977 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29978 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29979 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29981 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29982 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29983 * include/ifunc-impl-list.h: New file.
29984 * misc/ifunc-impl-list.c: Likewise.
29985 * misc/Makefile (routines): Add ifunc-impl-list.
29986 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29987 * string/test-string.h: Include <ifunc-impl-list.h>.
29988 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29989 TEST_NAME]: New variables.
29990 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29992 (test_init): Call __libc_ifunc_impl_list to initialize
29993 func_list if TEST_IFUNC and TEST_NAME are defined.
29995 * string/Makefile (strop-tests): Add bcopy and bzero.
29996 * string/test-bcopy.c: New file.
29997 * string/test-bzero.c: Likewise.
29998 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30000 * string/test-memset.c: Support bzero test if TEST_BZERO is
30002 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30004 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30006 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30009 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30011 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30012 * configure: Regenerated.
30014 * Makeconfig (+link-static-before-libc): Don't include
30015 $(link-static-libc).
30017 * libio/libio.h (_IO_pos_t): Remove.
30019 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30021 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30024 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30026 * crypt/crypt-entry.c: Include fips-private.h.
30027 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30028 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30029 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30030 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30032 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30034 * crypt/crypt-private.h: Include stdbool.h.
30035 (_ufc_setup_salt_r): Return bool.
30036 * crypt/crypt-entry.c: Include errno.h.
30037 (__crypt_r): Return NULL with EINVAL for bad salt.
30038 * crypt/crypt_util.c (bad_for_salt): New.
30039 (_ufc_setup_salt_r): Check that salt is long enough and within
30040 the specified alphabet.
30041 * crypt/badsalttest.c: New file.
30042 * crypt/Makefile (tests): Add it.
30043 ($(objpfx)badsalttest): New.
30045 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30047 * NEWS: Add entry for BZ #14602.
30049 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30051 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30053 * math/libm-test.inc: Update comment listing what functions and
30055 (isgreater_test): New function.
30056 (isgreaterequal_test): Likewise.
30057 (isless_test): Likewise.
30058 (islessequal_test): Likewise.
30059 (islessgreater_test): Likewise.
30060 (isunordered_test): Likewise.
30061 (main): Call the new functions.
30063 2012-10-09 Roland McGrath <roland@hack.frob.com>
30065 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30066 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30067 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30068 * sysdeps/i386/configure: Regenerated.
30069 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30070 * sysdeps/mach/configure: Regenerated.
30071 * sysdeps/mach/hurd/configure: Regenerated.
30072 * sysdeps/powerpc/configure: Regenerated.
30073 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30074 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30075 * sysdeps/s390/s390-32/configure: Regenerated.
30076 * sysdeps/s390/s390-64/configure: Regenerated.
30077 * sysdeps/sh/configure: Regenerated.
30078 * sysdeps/sparc/configure: Regenerated.
30079 * sysdeps/unix/sysv/linux/configure: Regenerated.
30080 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30081 * sysdeps/x86_64/configure: Regenerated.
30083 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30084 defined. Don't check if MAP is NULL.
30086 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30088 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30089 (_G_stat64): Likewise.
30090 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30091 (_G_stat64): Likewise.
30092 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30093 instead of struct _G_stat64.
30094 * libio/fileops.c (mmap_remap_check): Likewise.
30095 (decide_maybe_mmap): Likewise.
30096 (_IO_new_file_seekoff): Likewise.
30097 (_IO_file_stat): Likewise.
30098 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30100 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30101 instead of struct _G_stat64.
30102 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30104 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30107 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30109 (CHECK_EOL): New macro.
30110 (two_way_short_needle): Check beginning of haystack for EOL. Use
30112 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30113 Replace with CHECK_EOL.
30114 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30115 Replace with CHECK_EOL.
30117 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30119 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30121 * math/libm-test.inc: Update comment listing what functions and
30123 (finite_test): New function.
30124 (isinf_test): Likewise.
30125 (isnan_test): Likewise.
30126 (fpclassify_test): Test subnormal input.
30127 (isfinite_test): Likewise.
30128 (isnormal_test): Likewise.
30129 (main): Call the new functions.
30131 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30134 * Makerules (%.dynsym): Force C locale when running
30135 $(OBJDUMP) --dynamic-syms.
30137 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30139 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30142 2012-10-06 David S. Miller <davem@davemloft.net>
30144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30145 upper 32-bits of the length value in %o2 since we use branch-on-register
30146 tests which consider the entire 64-bit register.
30148 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30150 * string/test-strstr.c (check2): Add a test for page boundary.
30152 2012-10-05 David S. Miller <davem@davemloft.net>
30154 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30155 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30157 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30159 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30160 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30161 and bzero when HWCAP_SPARC_CRYPTO is present.
30163 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30166 * string/test-strstr.c (check2): New function.
30167 (test_main): Call check2.
30169 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30171 * string/bug-strcasestr1.c (do_test): Moved to ...
30172 * string/test-strcasestr.c (check1): Here. New function.
30173 (do_one_test): Break out result checking code into ...
30174 (check_result): This. New function.
30175 (do_one_test): Call check_result.
30176 (test_main): Call check1.
30177 * string/bug-strchr1.c (do_test): Moved to ...
30178 * string/test-strchr.c (check1): Here. New function.
30179 (do_one_test): Break out result checking code into ...
30180 (check_result): This. New function.
30181 (do_one_test): Call check_result.
30182 (test_main): Call check1.
30183 * string/bug-strstr1.c (main): Moved to ...
30184 * string/test-strstr.c (check1): Here. New function.
30185 (do_one_test): Break out result checking code into ...
30186 (check_result): This. New function.
30187 (do_one_test): Call check_result.
30188 (test_main): Call check1.
30189 * string/bug-strcasestr1.c: Removed.
30190 * string/bug-strchr1.c: Likewise.
30191 * string/bug-strstr1.c: Likewise.
30193 * elf/Makefile (dl-routines): Add hwcaps.
30194 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30195 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30196 (_dl_important_hwcaps): Moved to ...
30197 * elf/dl-hwcaps.c: Here. New file.
30198 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30201 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30202 if IS_IN_rtld isn't defined.
30204 * elf/dl-support.c (_dl_sysinfo_map): New.
30205 Include "get-dynamic-info.h" and "setup-vdso.h".
30206 (_dl_non_dynamic_init): Call setup_vdso.
30207 * elf/dynamic-link.h: Don't include <assert.h>.
30208 (elf_get_dynamic_info): Moved to ...
30209 * elf/get-dynamic-info.h: Here. New file.
30210 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30211 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30212 * elf/setup-vdso.h: Here. New file.
30213 * elf/rtld.c: Include "setup-vdso.h".
30214 (dl_main): Call setup_vdso.
30216 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30218 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30219 creal in comment listing functions tested. List finite, isinf,
30220 isnan, isless, islessequal, isgreater, isgreaterequal,
30221 islessgreater, isunordered, lgamma_r and pow10 as functions and
30222 macros not tested. Mention which functions not tested are aliases
30223 for other functions. Fix typo. Note that signs of NaNs are not
30226 * scripts/config.guess: Update from config.git.
30227 * scripts/config.sub: Likewise.
30229 2012-10-04 Roland McGrath <roland@hack.frob.com>
30231 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30232 * misc/madvise.c (madvise): Renamed to __madvise.
30233 Make madvise a weak alias.
30234 * include/sys/mman.h: Declare __madvise.
30235 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30236 * sysdeps/unix/syscalls.list
30237 (madvise): Make __madvise the strong name, and madvise a weak alias.
30238 * sysdeps/unix/sysv/linux/syscalls.list
30239 (madvise, mmap): Remove redundant entries.
30240 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30241 * malloc/malloc.c (mtrim): Likewise.
30242 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30244 2012-10-03 Roland McGrath <roland@hack.frob.com>
30246 * sysdeps/mach/hurd/dl-cache.c: File removed.
30247 * config.h.in (USE_LDCONFIG): New #undef.
30248 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30249 * configure: Regenerated.
30250 * elf/Makefile (dl-routines): Add dl-cache only under
30251 [$(use-ldconfig) = yes].
30252 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30253 cache on [USE_LDCONFIG].
30254 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30256 * elf/rtld.c (dl_main): Likewise.
30258 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30260 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30261 _SC_LEVEL4_CACHE_LINESIZE.
30263 2012-10-03 Roland McGrath <roland@hack.frob.com>
30265 * sysdeps/unix/bsd/confstr.h: File removed.
30267 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30269 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30272 2012-10-02 Roland McGrath <roland@hack.frob.com>
30274 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30275 Make 'mapoff' field ElfW(Off) rather than off_t.
30277 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30279 * nscd/Makefile: Remove nscd-cflags and all its users.
30280 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30281 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30284 * malloc.c (malloc_printerr): Clarify error message.
30286 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30290 Set bit_FMA_Usable if FMA is supported.
30291 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30293 (bit_FMA4_Usable): Updated.
30294 (index_FMA_Usable): New macro.
30295 (CPUID_FMA): Likewise
30296 (HAS_FMA): Defined with bit_FMA_Usable.
30298 2012-10-01 Roland McGrath <roland@hack.frob.com>
30300 * bits/types.h (__swblk_t): Type removed.
30301 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30302 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30304 (__SWBLK_T_TYPE): Likewise.
30305 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30306 (__SWBLK_T_TYPE): Likewise.
30307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30308 (__SWBLK_T_TYPE): Likewise.
30309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30310 (__SWBLK_T_TYPE): Likewise.
30312 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30313 Honza Horak <hhorak@redhat.com>
30315 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30316 (xdr_mapname): Use YPMAXMAP as maxsize.
30317 (xdr_peername): Use YPMAXPEER as maxsize.
30318 (xdr_keydat): Use YPAXRECORD as maxsize.
30319 (xdr_valdat): Use YPMAXRECORD as maxsize.
30321 2012-10-01 Roland McGrath <roland@hack.frob.com>
30323 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30325 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30326 * csu/init-first.c: ... here.
30327 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30328 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30329 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30330 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30331 * sysdeps/i386/init-first.c: File removed.
30332 * sysdeps/sh/init-first.c: File removed.
30334 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30338 if x * y might underflow to zero and z is zero.
30339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30340 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30341 * math/libm-test.inc (min_subnorm_value): New variable.
30342 (fma_test): Add more tests.
30343 (fma_test_towardzero): Likewise.
30344 (fma_test_downward): Likewise
30345 (fma_test_upward): Likewise.
30346 (initialize): Set min_subnorm_value.
30348 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30353 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30354 mode for addition resulting in exact zero.
30355 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30358 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30360 * math/libm-test.inc (fma_test): Add more tests.
30361 (fma_test_towardzero): New function.
30362 (fma_test_downward): Likewise.
30363 (fma_test_upward): Likewise.
30364 (main): Call the new functions.
30366 2012-09-28 David S. Miller <davem@davemloft.net>
30368 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30370 2012-09-28 Roland McGrath <roland@hack.frob.com>
30372 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30373 instead of SIGALRM.
30375 * sysdeps/gnu/_G_config.h: Moved to ...
30376 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30377 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30378 * sysdeps/generic/_G_config.h: ... here.
30380 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30382 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30384 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30385 Conditionalize target on [libnss_test1.so-version].
30387 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30389 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30390 (elfobjdir): Move out of conditionals.
30392 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30393 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30394 (__nss_lookup_function): Conditionalize label remove_from_tree on
30395 [!DO_STATIC_NSS || SHARED], matching its only use.
30397 2012-09-28 David S. Miller <davem@davemloft.net>
30399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30400 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30402 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30404 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30406 when HWCAP_SPARC_CRYPTO is present.
30408 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30410 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30412 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30415 * stdio-common/vfprintf.c (process_string_arg): Revert
30418 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30420 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30422 * stdio-common/tst-sprintf.c: Include <locale.h>
30423 (main): Test sprintf's handling of incomplete multibyte
30426 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30428 * elf/dl-runtime.c (VERSYMIDX): Removed.
30429 * elf/dl-version.c (VERSYMIDX): Likewise.
30430 * elf/do-rel.h (VERSYMIDX): Likewise.
30431 (VALIDX): Likewise.
30432 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30433 * elf/rtld.c (VALIDX): Likewise.
30434 (ADDRIDX): Likewise.
30435 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30436 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30437 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30438 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30439 (VALIDX): Likewise.
30440 (ADDRIDX): Likewise.
30442 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30444 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30446 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30449 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30451 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30452 addresses are in the same scope as 192.0.2/24.
30453 * posix/gai.conf: Document new scope table defaults.
30455 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30458 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30459 for ftell. Compute offsets from write pointers instead.
30460 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30462 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30465 * libio/Makefile (tests): New test case tst-fseek.
30466 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30467 combination works in wide mode.
30468 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30469 state when the external buffer state changes.
30471 2012-09-27 David S. Miller <davem@davemloft.net>
30474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30475 pass reloc->r_addend in as the 'high' argument to
30476 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30480 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30482 * rt/tst-aio2.c: Include <pthread.h>.
30483 * rt/tst-aio3.c: Likewise.
30485 2012-09-27 Steve Ellcey <sellcey@mips.com>
30487 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30489 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30491 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30492 contents on [SHARED].
30494 2012-09-26 Marek Polacek <polacek@redhat.com>
30498 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30499 for C++ and GCC <4.3 as well as for non GCC compilers.
30501 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30505 2012-09-25 Roland McGrath <roland@hack.frob.com>
30507 * Makefile.in (all, install): Declare with .PHONY.
30508 Reported by Michael Hope <michael.hope@linaro.org>.
30510 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30512 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30513 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30515 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30517 (sydep_routines): Add the new and the internal functions.
30518 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30519 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30521 (GLIBC_2.17): Add the new function.
30522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30523 (GLIBC_2.17): Likewise.
30524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30525 (GLIBC_2.17): Likewise.
30526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30527 (GLIBC_2.17): Likewise.
30528 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30530 2012-09-25 Alan Modra <amodra@gmail.com>
30532 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30533 Add release barrier before setting once_control to say
30534 initialisation is done. Add hints on lwarx. Use macro in
30536 (clear_once_control): Add release barrier.
30538 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30541 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30543 * math/s_clog10.c (__clog10): Likewise.
30544 * math/s_clog10f.c (__clog10f): Likewise.
30545 * math/s_clog10l.c (__clog10l): Likewise.
30546 * math/s_clogf.c (__clogf): Likewise.
30547 * math/s_clogl.c (__clogl): Likewise.
30548 * math/Makefile (libm-calls): Add x2y2m1.
30549 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30550 (__x2y2m1): Likewise.
30551 (__x2y2m1l): Likewise.
30552 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30553 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30554 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30555 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30556 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30557 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30558 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30559 * sysdeps/i386/fpu/libm-test-ulps: Update.
30560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30563 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30564 int as type of variable DEPTH.
30565 (glob): Use size_t instead of int as type of variables NEWCOUNT
30568 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30570 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30571 Add s_sincosf-sse2.
30572 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30573 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30574 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30575 macros for using routine as __sincosf_ia32.
30576 Use macro for function declaration and weak_alias.
30577 * sysdeps/i386/fpu/libm-test-ulps: Update.
30579 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30582 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30583 subnormal argument.
30584 * math/s_cexpf.c (__cexpf): Likewise.
30585 * math/s_csinf.c (__csinf): Likewise.
30586 * math/s_csinhf.c (__csinhf): Likewise.
30587 * math/s_ctanf.c (__ctanf): Likewise.
30588 * math/s_ctanhf.c (__ctanhf): Likewise.
30589 * math/s_ccosh.c (__ccoshf): Likewise.
30590 * math/s_cexp.c (__cexpl): Likewise.
30591 * math/s_csin.c (__csin): Likewise.
30592 * math/s_csinh.c (__csinh): Likewise.
30593 * math/s_ctan.c (__ctan): Likewise.
30594 * math/s_ctanh.c (ctanh): Likewise.
30595 * math/s_ccoshl.c (__ccoshl): Likewise.
30596 * math/s_cexpl.c (__cexpl): Likewise.
30597 * math/s_csinl.c (__csinl): Likewise.
30598 * math/s_csinhl.c (__csinhl): Likewise.
30599 * math/s_ctanl.c (__ctanl): Likewise.
30600 * math/s_ctanhl.c (__ctanhl): Likewise.
30602 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30604 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30605 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30606 (_IO_off_t): Define to __off_t, not _G_off_t.
30607 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30608 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30609 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30610 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30611 type of __dummy and __dummy2 fields.
30612 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30613 (_G_ssize_t): Likewise.
30614 (_G_off_t): Likewise.
30615 (_G_pid_t): Likewise.
30616 (_G_uid_t): Likewise.
30617 (_G_wchar_t): Likewise.
30618 (_G_wint_t): Likewise.
30619 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30620 (_G_ssize_t): Likewise.
30621 (_G_off_t): Likewise.
30622 (_G_pid_t): Likewise.
30623 (_G_uid_t): Likewise.
30624 (_G_wchar_t): Likewise.
30625 (_G_wint_t): Likewise.
30626 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30627 (_G_ssize_t): Likewise.
30628 (_G_off_t): Likewise.
30629 (_G_pid_t): Likewise.
30630 (_G_uid_t): Likewise.
30631 (_G_wchar_t): Likewise.
30632 (_G_wint_t): Likewise.
30634 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30636 * malloc/arena.c: Include malloc-sysdep.h.
30637 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30638 is sufficient to shrink the heap or an unmap is needed.
30639 * sysdeps/generic/malloc-sysdep.h: New file. Define
30640 new function check_may_shrink_heap.
30641 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30642 new function check_may_shrink_heap.
30644 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30646 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30649 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30651 * catgets/test-gencat.sh: Add "set -e".
30652 * elf/tst-pathopt.sh: Likewise.
30653 * grp/tst_fgetgrent.sh: Likewise.
30654 * iconvdata/run-iconv-test.sh: Likewise.
30655 * intl/tst-gettext.sh: Likewise.
30656 * intl/tst-gettext2.sh: Likewise.
30657 * intl/tst-gettext4.sh: Likewise.
30658 * intl/tst-gettext6.sh: Likewise.
30659 * intl/tst-translit.sh: Likewise.
30660 * io/ftwtest-sh: Likewise.
30661 * libio/test-freopen.sh: Likewise.
30662 * malloc/tst-mtrace.sh: Likewise.
30663 * posix/globtest.sh: Likewise.
30664 * posix/tst-getconf.sh: Likewise.
30665 * posix/wordexp-tst.sh: Likewise.
30666 * stdio-common/tst-printf.sh: Likewise.
30667 * stdio-common/tst-unbputc.sh: Likewise.
30668 * stdlib/tst-fmtmsg.sh: Likewise.
30669 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30670 * catgets/Makefile: Do not specify -e option when running
30671 testsuite shell scripts.
30672 * elf/Makefile: Likewise.
30673 * grp/Makefile: Likewise.
30674 * iconvdata/Makefile: Likewise.
30675 * intl/Makefile: Likewise.
30676 * io/Makefile: Likewise.
30677 * libio/Makefile: Likewise.
30678 * malloc/Makefile: Likewise.
30679 * posix/Makefile: Likewise.
30680 * stdio-common/Makefile: Likewise.
30681 * stdlib/Makefile: Likewise.
30682 * sysdeps/x86_64/Makefile: Likewise.
30684 * io/ftwtest-sh: Add copyright header.
30685 * posix/globtest.sh: Likewise.
30686 * posix/tst-getconf.sh: Likewise.
30687 * posix/wordexp-tst.sh: Likewise.
30688 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30690 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30693 * Makeconfig (+link): Defined as $(+link-static) if
30694 $(build-shared) isn't yes.
30695 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30697 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30699 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30702 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30703 new chunk size with MALLOC_ALIGN_MASK.
30705 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30708 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30710 (__printf_fphex): Determine rounding using get_rounding_mode and
30712 * stdio-common/tst-printf-round.c (struct hex_test): New
30714 (hex_tests): New variable.
30715 (test_hex_in_one_mode): New function.
30716 (do_test): Also run tests for hex float output.
30718 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30720 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30721 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30722 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30723 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30724 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30725 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30726 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30727 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30729 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30731 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30732 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30733 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30734 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30736 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30739 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30741 * elf/tst-rtld-load-self.sh: New test.
30742 * elf/Makefile: Run it.
30744 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30746 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30747 (tst-writev-ENV): Remove.
30748 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30750 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30752 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30754 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30756 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30758 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30760 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30761 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30762 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30765 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30768 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30769 * config.make.in (have-cpp-asm-debuginfo): Removed.
30770 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30771 * configure: Regenerated.
30773 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30776 * stdio-common/printf_fp.c: Include <stdbool.h> and
30778 (___printf_fp): Determine rounding using get_rounding_mode and
30780 * stdio-common/tst-printf-round.c: New file.
30781 * stdio-common/Makefile (tests): Add tst-printf-round.
30782 (link-libm): New variable.
30783 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30785 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30788 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30789 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30791 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30794 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30796 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30797 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30798 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30799 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30801 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30804 * include/rounding-mode.h: New file.
30805 * sysdeps/generic/get-rounding-mode.h: Likewise.
30806 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30807 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30808 (MAX_VALUE): New macro.
30809 (MIN_VALUE): Likewise.
30810 (overflow_value): New function.
30811 (underflow_value): Likewise.
30812 (round_and_return): Use overflow_value and underflow_value to
30813 determine return values in overflow and underflow cases. Use
30814 round_away to determine rounding depending on rounding mode.
30815 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30816 determine return values in overflow and underflow cases.
30817 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30818 (struct test_results): New structure.
30819 (struct test): Use struct test_results to store expected results
30820 for all rounding modes.
30821 (TEST): Include expected results for all rounding modes.
30822 (test_in_one_mode): New function.
30823 (do_test): Use test_in_one_mode to compute and check results.
30824 Check results for all rounding modes.
30825 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30828 2012-12-09 Allan McRae <allan@archlinux.org>
30830 * sysdeps/i386/fpu/libm-test-ulps: Update
30832 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30834 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30835 (_G_int32_t): Likewise.
30836 (_G_uint16_t): Likewise.
30837 (_G_uint32_t): Likewise.
30838 (_G_HAVE_BOOL): Likewise.
30839 (_G_HAVE_ATEXIT): Likewise.
30840 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30841 (_G_HAVE_IO_FILE_OPEN): Likewise.
30842 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30843 (_G_int32_t): Likewise.
30844 (_G_uint16_t): Likewise.
30845 (_G_uint32_t): Likewise.
30846 (_G_HAVE_BOOL): Likewise.
30847 (_G_HAVE_ATEXIT): Likewise.
30848 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30849 (_G_HAVE_IO_FILE_OPEN): Likewise.
30850 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30851 (_G_int32_t): Likewise.
30852 (_G_uint16_t): Likewise.
30853 (_G_uint32_t): Likewise.
30854 (_G_HAVE_BOOL): Likewise.
30855 (_G_HAVE_ATEXIT): Likewise.
30856 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30857 (_G_HAVE_IO_FILE_OPEN): Likewise.
30859 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30861 * csu/libc-tls.c: Update copyright years.
30863 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30865 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30866 [!_G_USING_THUNKS]: Remove conditional code.
30867 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30868 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30870 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30871 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30872 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30873 (_G_VTABLE_LABEL_PREFIX): Likewise.
30874 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30875 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30876 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30877 (_G_VTABLE_LABEL_PREFIX): Likewise.
30878 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30879 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30880 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30881 (_G_VTABLE_LABEL_PREFIX): Likewise.
30882 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30884 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30886 * libio/Makefile: Include ../Makeconfig before tests.
30887 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30888 only if $(build-shared) is yes.
30890 * iconv/gconv_db.c: Update copyright years.
30892 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30894 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30895 unwind info if defined PIC. Fix special cases description.
30896 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30898 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30900 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30902 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30904 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30906 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30909 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30910 (LDLIBS-tst-chk4): This.
30911 (LDFLAGS-tst-chk5): Renamed to ...
30912 (LDLIBS-tst-chk5): This.
30913 (LDFLAGS-tst-chk6): Renamed to ...
30914 (LDLIBS-tst-chk6): This.
30915 (LDFLAGS-tst-lfschk4): Renamed to ...
30916 (LDLIBS-tst-lfschk4): This.
30917 (LDFLAGS-tst-lfschk5): Renamed to ...
30918 (LDLIBS-tst-lfschk5): This.
30919 (LDFLAGS-tst-lfschk6): Renamed to ...
30920 (LDLIBS-tst-lfschk6): This.
30922 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30923 on $(common-objpfx)soversions.mk.
30925 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30928 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30931 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30933 * malloc/arena.c (arena_get_retry): New function that gets
30934 another arena for the caller to try its request on.
30935 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30936 current arena cannot fulfill the request.
30937 (__libc_memalign): Likewise.
30938 (__libc_memalign): Likewise.
30939 (__libc_pvalloc): Likewise.
30940 (__libc_calloc): Likewise.
30942 2012-09-05 John Tobey <john.tobey@gmail.com>
30945 * manual/arith.texi (Operations on Complex): Fix description
30946 of carg branch cut.
30948 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30951 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30955 * manual/memory.texi (Memory): Make order of menu items match
30958 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30960 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30961 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30962 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30964 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30966 * csu/libc-tls.c (static_dtv): Renamed to ...
30967 (_dl_static_dtv): This. Make it global.
30968 (_dl_initial_dtv): Removed.
30969 (__libc_setup_tls): Updated.
30970 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30971 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30974 2012-09-06 Petr Machata <pmachata@redhat.com>
30976 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30977 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30978 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30979 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30981 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30984 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30985 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30988 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30991 * Makeconfig (link-static-before-libc): Replace $(+prector)
30993 (link-static-after-libc): Replace $(+postctor) with
30995 (link-bounded): Replace $(+prector)/$(+postctor) with
30996 $(+prectorT)/$(+postctorT).
30997 (+prectorT): New macro.
30998 (+postctorT): Likewise.
31000 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31002 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31003 (round_str): Handle values above the maximum for IBM long double
31005 * stdlib/tst-strtod-round.c (tests): Regenerated.
31007 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31009 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31011 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31012 zarch_nohighgprs around the zarch optimized routines.
31013 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31014 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31015 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31018 2012-09-05 David S. Miller <davem@davemloft.net>
31020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31022 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31023 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31024 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31025 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31028 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31030 * malloc/arena.c: Fold copyright years.
31031 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31033 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31035 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31037 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31039 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31041 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31043 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31044 change internal state upon failure.
31046 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31048 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31049 * malloc/memusage.c (mmap): Likewise.
31050 (mmap64, mremap): Likewise. Adjust name in comment.
31052 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31054 * libio/fileops.c: Fix typos in comments.
31055 * libio/oldfileops.c: Likewise.
31056 * libio/wfileops.c: Likewise.
31058 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31061 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31062 (tst-malloc-usable-ENV): Set environment for test case.
31063 * malloc/hooks.c (malloc_check_get_size): New function to get
31065 * malloc/malloc.c (musable): Use malloc_check_get_size.
31066 * malloc/tst-malloc-usable.c: New test case.
31068 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31070 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31072 2012-09-05 Allan McRae <allan@archlinux.org>
31075 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31076 determine header location.
31077 * configure: Regenerated.
31079 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31081 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31083 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31084 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31086 (test): Regenerate.
31088 2012-09-04 David S. Miller <davem@davemloft.net>
31090 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31091 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31092 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31094 2012-09-04 Florian Weimer <fweimer@redhat.com>
31096 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31099 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31101 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31104 * libio/iogetdelim.c: Include <limits.h>.
31105 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31106 + len + 1 would overflow.
31108 2012-09-03 Andreas Jaeger <aj@suse.de>
31110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31111 * sysdeps/i386/fpu/libm-test-ulps: Update.
31113 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31115 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31116 Add s_sinf-sse2, s_conf-sse2.
31118 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31119 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31120 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31121 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31123 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31124 for using routine as __sinf_ia32.
31125 Use macro for function declaration and weak_alias.
31126 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31127 for using routine as __cosf_ia32.
31128 Use macro for function declaration and weak_alias.
31130 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31131 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31133 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31134 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31137 * math/libm-test.inc (cos_test): Add more test cases.
31138 (sin_test): Likewise.
31139 (sincos_test): Likewise.
31141 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31143 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31144 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31146 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31148 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31151 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31152 first element of the GOT.
31153 (elf_machine_load_address): Return the difference between
31154 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31156 2012-09-01 Allan McRae <allan@archlinux.org>
31159 * configure.in (AWK): Require gawk version 3.0 or later.
31160 * configure: Regenerated.
31162 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31164 * sysdeps/unix/sysv/linux/kernel-features.h
31165 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31167 [__NR_clock_getres]: Make code unconditional.
31168 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31169 (clock_getcpuclockid): Remove code left unreachable by removal of
31171 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31172 code unconditional.
31173 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31174 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31175 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31176 Make code unconditional.
31177 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31178 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31179 * sysdeps/unix/sysv/linux/clock_settime.c
31180 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31182 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31183 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31185 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31188 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31189 scripts/test-installation.pl.
31191 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31192 and $ld_so_version if it is set.
31194 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31197 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31198 failure if reading from procfs failed.
31199 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31201 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31203 * sysdeps/unix/sysv/linux/kernel-features.h
31204 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31205 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31206 Remove conditional code.
31207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31208 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31209 Remove conditional code.
31210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31211 * sysdeps/unix/sysv/linux/i386/fxstat.c
31212 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31214 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31215 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31217 * sysdeps/unix/sysv/linux/i386/lxstat.c
31218 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31220 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31221 Remove conditional code.
31222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31223 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31224 Remove conditional code.
31225 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31226 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31227 <kernel-features.h>.
31228 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31230 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31231 Remove conditional code.
31232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31233 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31234 Remove conditional.
31236 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31239 * NEWS: Add fixed bug number.
31241 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31244 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31245 underflowing exponent in case of negative sign.
31246 * stdlib/tst-strtod-round-data: Add more tests.
31247 * stdlib/tst-strtod-round.c (tests): Regenerated.
31250 * stdlib/strtod_l.c (NDIG): Remove.
31251 (HEXNDIG): Likewise.
31252 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31253 smallest representable value.
31254 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31255 lie within an exact representation of 1/2 ulp of the result.
31256 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31258 (TENS_P9_IDX): Define unconditionally.
31259 (TENS_P9_SIZE): Likewise.
31260 (TENS_P10_IDX): Likewise.
31261 (TENS_P10_SIZE): Likewise.
31262 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31263 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31264 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31265 entries for 10^2^13 and 10^2^14.
31266 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31267 (TENS_P13_IDX): Define.
31268 (TENS_P13_SIZE): Likewise.
31269 (TENS_P14_IDX): Likewise.
31270 (TENS_P14_SIZE): Likewise.
31271 (_fpioconst_pow10): Change array size to
31272 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31274 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31275 1024]: Add entries for 10^2^13 and 10^2^14.
31276 [LAST_POW10 > _LAST_POW10]: Remove #error.
31277 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31278 (_fpioconst_pow10): Change array size to
31279 FPIOCONST_POW10_ARRAY_SIZE.
31280 * stdlib/gen-fpioconst.c: New file.
31281 * stdlib/gen-tst-strtod-round.c: Likewise.
31282 * stdlib/tst-strtod-round-data: Likewise.
31283 * stdlib/tst-strtod-round.c: Likewise.
31284 * stdlib/Makefile (tests): Add tst-strtod-round.
31287 * stdlib/strtod_l.c: Include <stdint.h>.
31288 (NDEBUG): Do not define.
31289 (round_and_return): Change EXPONENT parameter to type intmax_t.
31290 Rearrange calculations to avoid internal overflow possibilities.
31291 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31292 Rearrange calculations to avoid internal overflow possibilities.
31293 Assert that number fits inside MPNSIZE limbs.
31294 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31295 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31296 calculations and add assertions to avoid internal overflow
31297 possibilities. Add casts to avoid signed/unsigned operations.
31298 * stdlib/tst-strtod-overflow.c: New file.
31299 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31301 2012-08-25 Marek Polacek <polacek@redhat.com>
31303 * time/time.h: Fix some typos in comments.
31305 2012-08-23 Roland McGrath <roland@hack.frob.com>
31307 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31308 * posix/tst-rfc3484-2.c: Likewise.
31309 * posix/tst-rfc3484-3.c: Likewise.
31311 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31313 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31314 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31316 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31318 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31319 #include of fxstatat64.c.
31321 2012-08-22 Roland McGrath <roland@hack.frob.com>
31323 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31324 * shadow/getspent_r.c: Likewise.
31325 * shadow/getspnam.c: Likewise.
31326 * shadow/getspnam_r.c: Likewise.
31327 * gshadow/getsgent.c: Likewise.
31328 * gshadow/getsgent_r.c: Likewise.
31329 * gshadow/getsgnam.c: Likewise.
31330 * gshadow/getsgnam_r.c: Likewise.
31331 * inet/getnetbyad.c: Likewise.
31332 * inet/getnetbyad_r.c: Likewise.
31333 * inet/getnetbynm.c: Likewise.
31334 * inet/getnetbynm_r.c: Likewise.
31335 * inet/getnetent.c: Likewise.
31336 * inet/getnetent_r.c: Likewise.
31337 * inet/getproto.c: Likewise.
31338 * inet/getproto_r.c: Likewise.
31339 * inet/getprtent.c: Likewise.
31340 * inet/getprtent_r.c: Likewise.
31341 * inet/getprtname.c: Likewise.
31342 * inet/getprtname_r.c: Likewise.
31343 * inet/getrpcbyname.c: Likewise.
31344 * inet/getrpcbyname_r.c: Likewise.
31345 * inet/getrpcbynumber.c: Likewise.
31346 * inet/getrpcbynumber_r.c: Likewise.
31347 * inet/getrpcent.c: Likewise.
31348 * inet/getrpcent_r.c: Likewise.
31349 * inet/getaliasent.c: Likewise.
31350 * inet/getaliasent_r.c: Likewise.
31351 * inet/getaliasname.c: Likewise.
31352 * inet/getaliasname_r.c: Likewise.
31353 * nscd/getgrgid_r.c: Likewise.
31354 * nscd/getgrnam_r.c: Likewise.
31355 * nscd/gethstbyad_r.c: Likewise.
31356 * nscd/gethstbynm3_r.c: Likewise.
31357 * nscd/getpwnam_r.c: Likewise.
31358 * nscd/getpwuid_r.c: Likewise.
31359 * nscd/getsrvbynm_r.c: Likewise.
31360 * nscd/getsrvbypt_r.c: Likewise.
31361 * nscd/gai.c: Likewise.
31363 * configure.in (build_nscd): New substituted variable, set
31364 by --disable-build-nscd and defaults to $use_nscd.
31365 * configure: Regenerated.
31366 * config.make.in (build-nscd): New substituted variable.
31367 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31368 Change conditional to require [$(build-nscd) = yes] as well.
31369 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31372 * configure.in (use_nscd): New substituted variable, set by
31373 --disable-nscd. If enabled, define USE_NSCD.
31374 * configure: Regenerated.
31375 * config.h.in: Add USE_NSCD.
31376 * config.make.in (use-nscd): New substituted variable.
31377 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31378 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31379 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31380 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31381 (CFLAGS-getgrnam_r.c): Likewise.
31382 (CFLAGS-initgroups.c): Likewise.
31383 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31384 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31386 * inet/getnetgrent_r.c
31387 (nscd_setnetgrent): New function, broken out of ...
31388 (setnetgrent): ... here. Call it.
31389 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31390 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31391 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31392 * nscd/Makefile (routines, aux): Move definitions after include of
31393 Makeconfig. Conditionalize on [$(use-nscd) != no].
31394 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31395 Conditionalize on [USE_NSCD].
31396 (is_nscd, nscd_init_cb): Likewise.
31397 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31398 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31399 * nss/nss_db/db-init.c: Likewise.
31400 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31402 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31403 (make_request): Use it.
31404 (cache_valid_p): New function.
31405 (__check_pf): Use it.
31406 * NEWS: Add item for --disable-nscd.
31408 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31410 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31411 to support sed >= 4.2.1-20-ga9bf076.
31412 * configure: Regenerated.
31414 2012-08-22 Roland McGrath <roland@hack.frob.com>
31416 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31417 Conditionalize whole body on [IREL].
31419 2012-08-22 Jeff Law <law@redhat.com>
31422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31423 if the family is PF_UNSPEC.
31425 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31427 * Makerules (lib-version): Rename from V.
31428 (install-lib-nosubdir): Change V to lib-version.
31430 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31433 * powerpc32/power6/wcschr.c: New file.
31434 * powerpc32/power6/wcscpy.c: New file.
31435 * powerpc32/power6/wcsrchr.c: New file.
31436 * powerpc64/power6/wcschr.c: New file.
31437 * powerpc64/power6/wcscpy.c: New file.
31438 * powerpc64/power6/wcsrchr.c: New file.
31440 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31442 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31443 (two_way_short_needle): Use it.
31444 * string/strstr.c (AVAILABLE1_USES_J): Define.
31445 * string/strcasestr.c: Likewise.
31447 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31449 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31452 * NEWS: Add an entry.
31453 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31454 define their defaults.
31455 (two_way_short_needle): Detect end-of-string on-the-fly.
31456 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31457 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31458 * string/bug-strcasestr1.c: New test.
31459 * string/Makefile: Run it.
31461 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31464 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31465 the first character.
31467 2012-08-21 Roland McGrath <roland@hack.frob.com>
31469 * csu/elf-init.c (__libc_csu_irel): Function removed.
31470 * csu/libc-start.c (apply_irel): New function.
31471 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31473 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31475 * sysdeps/unix/sysv/linux/kernel-features.h
31476 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31477 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31478 <kernel-features.h>.
31479 [__NR_fadvise64_64]: Make code unconditional.
31480 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31481 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31482 !__NR_fadvise64_64)]: Likewise.
31483 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31484 !__NR_fadvise64_64))]: Likewise.
31485 [__NR_fadvise64]: Make code unconditional.
31486 [!__NR_fadvise64]: Remove conditional code.
31487 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31488 <kernel-features.h>.
31489 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31491 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31494 not include <kernel-features.h>.
31495 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31497 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31499 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31500 include <kernel-features.h>.
31501 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31503 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31506 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31509 slight instruction rearrangements per scrollpipe analysis.
31510 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31512 2012-08-20 Roland McGrath <roland@hack.frob.com>
31514 * manual/syslog.texi (syslog; vsyslog, closelog):
31515 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31516 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31518 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31519 DSOCAPS to match condition on defining it.
31521 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31523 * sysdeps/unix/sysv/linux/kernel-features.h
31524 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31526 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31527 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31529 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31530 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31532 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31533 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31535 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31536 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31538 * sysdeps/unix/sysv/linux/kernel-features.h
31539 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31540 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31542 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31543 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31544 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31545 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31546 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31547 Make code unconditional.
31548 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31549 (__mmap64) [!__NR_mmap2]: Likewise.
31550 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31551 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31552 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31553 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31554 [__NR_mmap2]: Make code unconditional.
31555 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31556 (__mmap64) [!__NR_mmap2]: Likewise.
31558 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31560 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31562 2012-08-18 Andreas Jaeger <aj@suse.de>
31564 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31566 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31568 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31569 * include/unistd.h (__have_sock_cloexec): Likewise.
31570 (__have_pipe2): Likewise.
31571 (__have_dup3): Likewise.
31573 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31576 * include/unistd.h (__have_pipe2): Change define into an extern int.
31577 (__have_dup3): Likewise.
31578 * socket/have_sock_cloexec.c: Include fcntl.h.
31579 (__have_pipe2): New variable.
31580 (__have_dup3): Likewise.
31582 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31584 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31586 2012-08-17 Marek Polacek <polacek@redhat.com>
31588 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31589 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31591 2012-08-17 Roland McGrath <roland@hack.frob.com>
31593 * configure.in: Add AC_SUBST for sysheaders.
31594 * configure: Regenerated.
31595 * config.make.in (sysheaders): New substituted variable.
31597 * sysdeps/unix/mkfifo.c: Moved ...
31598 * sysdeps/posix/mkfifo.c: ... here.
31599 * sysdeps/unix/mkfifoat.c: Moved ...
31600 * sysdeps/posix/mkfifoat.c: ... here.
31602 * sysdeps/unix/utime.c: Moved ...
31603 * sysdeps/posix/utime.c: ... here.
31605 * sysdeps/unix/time.c: Moved ...
31606 * sysdeps/posix/time.c: ... here.
31607 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31608 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31610 * sysdeps/unix/nice.c: Moved ...
31611 * sysdeps/posix/nice.c: ... here.
31613 * sysdeps/unix/alarm.c: Moved ...
31614 * sysdeps/posix/alarm.c: ... here.
31616 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31618 2012-08-17 Jeff Law <law@redhat.com>
31620 * intl/Makefile (codeset_mo): New variable.
31621 ($(codeset_mo)): New target.
31622 (tst-codeset.out): Depend on that. Remove explicit rule.
31623 (tst-gettext3.out, tst-gettext5.out): Likewise.
31624 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31625 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31626 * intl/tst-codeset.sh: Remove.
31627 * intl/tst-gettext3.sh: Likewise.
31628 * intl/tst-gettext5.sh: Likewise.
31630 2012-08-17 Roland McGrath <roland@hack.frob.com>
31632 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31633 * sysdeps/unix/syscalls.list: ... here.
31635 * sysdeps/posix/getaddrinfo.c
31636 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31637 (gaiconf_init, gaiconf_reload): Use them.
31638 [!_STATBUF_ST_NSEC]
31639 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31640 Define using time_t rather than struct timespec.
31642 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31643 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31645 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31647 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31648 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31651 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31652 __libc_cleanup_push argument.
31654 * bits/param.h: New file.
31655 * misc/sys/param.h: New file.
31656 * include/sys/param.h: New file.
31657 * misc/Makefile (headers): Add bits/param.h.
31658 * sysdeps/generic/sys/param.h: File removed.
31659 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31660 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31661 * sysdeps/mach/hurd/bits/param.h: New file.
31662 * sysdeps/mach/hurd/sys/param.h: File removed.
31664 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31667 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31669 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31670 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31673 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31674 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31675 rather than -D_IO_MTSAFE_IO conditionally.
31676 * stdio-common/Makefile (CPPFLAGS): Likewise.
31677 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31678 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31679 Use $(libio-mtsafe).
31680 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31681 of -D_IO_MTSAFE_IO.
31682 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31683 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31684 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31685 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31686 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31687 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31688 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31689 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31690 (CFLAGS-fread_u_chk.c): Likewise.
31691 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31692 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31693 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31694 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31695 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31696 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31697 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31698 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31699 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31701 * libio/Makefile: Test [$(libc-reentrant) = yes]
31702 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31705 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31706 * sysdeps/pthread/configure: File removed.
31707 * sysdeps/pthread/Makeconfig: New file.
31708 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31709 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31711 2012-08-16 Gary Benson <gbenson@redhat.com>
31713 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31714 unmapping the first object in a namespace.
31716 2012-08-16 Roland McGrath <roland@hack.frob.com>
31718 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31719 (__internal_setnetgrent): ... this. Add internal_function to
31720 definition. Add libc_hidden_def.
31721 (setnetgrent): Update caller.
31722 (internal_endnetgrent): Renamed to ...
31723 (__internal_endnetgrent): ... this. Add internal_function to
31724 definition. Add libc_hidden_def.
31725 (endnetgrent): Update caller.
31726 (internal_getnetgrent_r): Renamed to ...
31727 (__internal_getnetgrent_r): ... this. Add internal_function to
31728 definition. Add libc_hidden_def.
31729 (__getnetgrent_r): Update caller.
31730 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31732 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31734 * stdlib/longlong.h: Update from GCC.
31736 2012-08-16 Roland McGrath <roland@hack.frob.com>
31738 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31739 on _QL, which is set by umul_ppmm but never used.
31740 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31741 variables, which are set by GMP macros but never used.
31742 * stdio-common/_itowa.c (_itowa): Likewise.
31743 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31744 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31746 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31748 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31749 struct La_sh_regs is not constant.
31750 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31751 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31752 and struct La_sparc64_regs are not constant.
31754 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31756 * sysdeps/unix/sysv/linux/kernel-features.h
31757 (__ASSUME_POSIX_TIMERS): Remove.
31758 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31760 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31761 Make code unconditional.
31762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31763 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31764 Make code unconditional.
31765 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31766 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31767 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31768 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31769 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31770 Make code unconditional.
31771 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31772 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31773 (__libc_missing_posix_timers): Remove.
31775 2012-08-15 Roland McGrath <roland@hack.frob.com>
31777 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31778 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31780 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31782 * elf/dl-sym.c: Include <stdlib.h>.
31784 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31785 constants, which avoids warnings in 32-bit builds.
31787 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31788 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31790 * misc/lseek.c: File moved to ...
31791 * io/lseek.c: ... here.
31793 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31795 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31796 shifting LEN more than 31 bits at once.
31798 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31801 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31802 segmentation fault for a case of two empty input strings.
31803 * string/test-strncasecmp.c (check1): Renamed to...
31804 (bz12205): ...this.
31805 (bz14195): Add new testcase for two empty input strings and N > 0.
31806 (test_main): Call new testcase, adapt for renamed function.
31808 2012-08-15 Andreas Jaeger <aj@suse.de>
31811 * crypt/md5test2.c: New test, based on test supplied by Serge
31812 Belyshev <belyshev@depni.sinp.msu.ru>.
31813 * crypt/Makefile (xtests): Add md5test-giant..
31814 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31816 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31819 * crypt/md5.c (md5_process_block): Don't assume the buffer
31820 length is less than 2**32.
31821 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31822 length is less than 2**64.
31824 2012-08-15 Roland McGrath <roland@hack.frob.com>
31826 * string/str-two-way.h: Include <sys/param.h>.
31827 (MAX): Macro removed.
31829 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31830 Move #define and #undef of memmove to just before and after
31831 including <string.h>.
31833 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31834 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31835 and after including <string.h>. Move declarations of
31836 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31837 to before #include "string/memmove.c".
31839 * include/dirent.h: Declare __getdirentries.
31841 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31842 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31844 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31846 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31847 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31848 * sysdeps/i386/configure: Regenerated.
31849 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31850 STABS_CURRENT_FILE, and STABS_FUN.
31851 (END): Remove call to STABS_FUN_END.
31852 (STABS_CURRENT_FILE1): Delete.
31853 (STABS_CURRENT_FILE): Likewise.
31854 (STABS_FUN): Likewise.
31855 (STABS_FUN_END): Likewise.
31856 (STABS_FUN2): Likewise.
31857 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31858 * sysdeps/x86_64/configure: Regenerated.
31860 2012-08-14 Roland McGrath <roland@hack.frob.com>
31862 * elf/dl-open.c: Include <atomic.h>.
31863 * elf/dl-lookup.c: Likewise.
31865 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31867 * sysdeps/unix/sysv/linux/kernel-features.h
31868 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31869 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31871 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31873 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31874 condition on __ASSUME_CLONE_THREAD_FLAGS.
31876 2012-08-14 Andreas Jaeger <aj@suse.de>
31878 * sysdeps/i386/fpu/libm-test-ulps: Update.
31880 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31882 * include/atomic.h (atomic_exchange_and_add): Split into ...
31883 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31886 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31890 2012-08-13 Jeff Law <law@redhat.com>
31892 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31893 null byte in the output string.
31895 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31897 * sysdeps/unix/sysv/linux/kernel-features.h
31898 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31899 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31900 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31901 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31902 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31903 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31904 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31906 2012-08-09 Jeff Law <law@redhat.com>
31909 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31910 When avoid_arena is set, don't retry in the that arena. Pick the
31911 next one, whatever it might be.
31912 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31913 (arena_lock): Pass in new parameter to arena_get2.
31914 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31916 (__libc_malloc): Unify retrying after main arena failure with
31917 __libc_memalign version.
31918 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31920 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31923 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31924 to __redirect_strstr.
31925 (__strstr_sse42): Use typeof __redirect_strstr.
31926 (__strstr_ia32): Likewise.
31927 (__libc_strstr): New prototype.
31928 (strstr): Renamed to ...
31929 (__libc_strstr): This.
31930 (strstr): New strong alias of __libc_strstr.
31931 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31932 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31935 (__libc_time): New prototype.
31936 (time_ifunc): Replace time with __libc_time.
31937 (time): New strong alias and hidden definition of __libc_time.
31938 (__GI_time): Remove strong alias.
31939 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31940 Include <stddef.h>.
31941 (memmove): Redefined to __redirect_memmove.
31942 (__memmove_sse2): Use typeof __redirect_memmove.
31943 (__memmove_ssse3): Likewise.
31944 (__memmove_ssse3_back): Likewise.
31945 (__libc_memmove): New prototype.
31946 (memmove): Renamed to ...
31947 (__libc_memmove): This.
31948 (memmove): New strong alias of __libc_memmove.
31950 2012-08-08 Mark Salter <msalter@redhat.com>
31953 (R_MN10300_TLS_GD): Define.
31954 (R_MN10300_TLS_LD): Likewise.
31955 (R_MN10300_TLS_LDO): Likewise.
31956 (R_MN10300_TLS_GOTIE): Likewise.
31957 (R_MN10300_TLS_IE): Likewise.
31958 (R_MN10300_TLS_LE): Likewise.
31959 (R_MN10300_TLS_DTPMOD): Likewise.
31960 (R_MN10300_TLS_DTPOFF): Likewise.
31961 (R_MN10300_TLS_TPOFF): Likewise.
31962 (R_MN10300_SYM_DIFF): Likewise.
31963 (R_MN10300_ALIGN): Likewise.
31964 (R_MN10300_NUM): Update.
31966 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31971 2012-08-08 Roland McGrath <roland@hack.frob.com>
31973 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31975 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31976 sysdeps/unix -> sysdeps/posix move.
31977 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31979 2012-08-07 Allan McRae <allan@archlinux.org>
31982 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31983 (SUNOS_CPP): Likewise.
31984 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31986 (open_input): Call CPP using execvp.
31988 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31990 * sysdeps/unix/sysv/linux/kernel-features.h
31991 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31992 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31993 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31994 (__ASSUME_WAITID_SYSCALL): Likewise.
31995 * sysdeps/unix/sysv/linux/dl-execstack.c
31996 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31997 code unconditional.
31998 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32000 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32001 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32002 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32004 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32006 [__ASSUME_WAITID_SYSCALL]: Likewise.
32007 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32009 2012-08-07 Roland McGrath <roland@hack.frob.com>
32011 * sysdeps/unix/closedir.c: Renamed to ...
32012 * sysdeps/posix/closedir.c: ... here.
32013 * sysdeps/unix/dirfd.c: Renamed to ...
32014 * sysdeps/posix/dirfd.c: ... here.
32015 * sysdeps/unix/dirstream.h: Renamed to ...
32016 * sysdeps/posix/dirstream.h: ... here.
32017 * sysdeps/unix/fdopendir.c: Renamed to ...
32018 * sysdeps/posix/fdopendir.c: ... here.
32019 * sysdeps/unix/opendir.c: Renamed to ...
32020 * sysdeps/posix/opendir.c: ... here.
32021 * sysdeps/unix/readdir.c: Renamed to ...
32022 * sysdeps/posix/readdir.c: ... here.
32023 * sysdeps/unix/readdir_r.c: Renamed to ...
32024 * sysdeps/posix/readdir_r.c: ... here.
32025 * sysdeps/unix/rewinddir.c: Renamed to ...
32026 * sysdeps/posix/rewinddir.c: ... here.
32027 * sysdeps/unix/seekdir.c: Renamed to ...
32028 * sysdeps/posix/seekdir.c: ... here.
32029 * sysdeps/unix/telldir.c: Renamed to ...
32030 * sysdeps/posix/telldir.c: ... here.
32031 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32032 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32033 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32034 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32036 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32037 * bits/fcntl.h: ... here.
32039 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32041 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32042 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32043 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32044 (struct flock): Move l_start, l_len to the beginning.
32045 Use __pid_t for l_pid.
32046 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32047 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32048 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32049 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32050 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32051 [__USE_LARGEFILE64] (struct flock64): New type.
32052 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32054 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32055 * bits/dirent.h: ... here.
32057 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32058 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32060 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32063 Change from 2.6.0 to 2.6.16.
32064 * sysdeps/unix/sysv/linux/configure: Regenerated.
32065 * sysdeps/unix/sysv/linux/kernel-features.h
32066 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32067 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32069 (__ASSUME_UTIMES): Likewise.
32070 (__ASSUME_CLONE_STOPPED): Remove.
32071 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32072 architectures, not kernel version.
32073 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32074 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32075 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32076 (__ASSUME_WAITID_SYSCALL): Likewise.
32077 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32078 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32079 * README: State 2.6.16 as minimum Linux kernel version. Do not
32080 refer to older versions.
32082 2012-08-06 Roland McGrath <roland@hack.frob.com>
32084 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32085 Define alphasort64 as an alias.
32086 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32087 Define versionsort64 as an alias.
32088 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32089 Define scandir64 as an alias.
32090 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32091 Define scandirat64 as an alias.
32092 * dirent/alphasort64.c (alphasort64):
32093 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32094 * dirent/versionsort64.c: Likewise.
32095 * dirent/scandir64.c: Likewise.
32096 * dirent/scandirat64.c: Likewise.
32097 * sysdeps/wordsize-64/alphasort.c: File removed.
32098 * sysdeps/wordsize-64/alphasort64.c: File removed.
32099 * sysdeps/wordsize-64/scandir.c: File removed.
32100 * sysdeps/wordsize-64/scandir64.c: File removed.
32101 * sysdeps/wordsize-64/scandirat.c: File removed.
32102 * sysdeps/wordsize-64/scandirat64.c: File removed.
32103 * sysdeps/wordsize-64/versionsort.c: File removed.
32104 * sysdeps/wordsize-64/versionsort64.c: File removed.
32105 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32106 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32107 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32108 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32109 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32110 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32112 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32114 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32115 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32116 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32118 [defined __arch64__ || defined __sparcv9]
32119 (__INO_T_MATCHES_INO64_T): New macro.
32120 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32121 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32122 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32123 * sysdeps/unix/sysv/linux/bits/dirent.h
32124 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32125 (_DIRENT_MATCHES_DIRENT64): New macro.
32127 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32128 Define lockf64 as an alias.
32129 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32130 Define fseeko64 as an alias.
32131 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32132 Define ftello64 as an alias.
32133 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32134 Define _IO_fgetpos64 and fgetpos64 as aliases.
32135 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32136 Define _IO_fsetpos64 and fsetpos64 as aliases.
32137 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32138 Conditionalize body on this.
32139 * libio/fseeko64.c: Likewise.
32140 * libio/ftello64.c: Likewise.
32141 * libio/iofgetpos64.c: Likewise.
32142 * libio/iofsetpos64.c: Likewise.
32143 * sysdeps/wordsize-64/lockf.c: File removed.
32144 * sysdeps/wordsize-64/lockf64.c: File removed.
32145 * sysdeps/wordsize-64/fseeko.c: File removed.
32146 * sysdeps/wordsize-64/fseeko64.c: File removed.
32147 * sysdeps/wordsize-64/ftello.c: File removed.
32148 * sysdeps/wordsize-64/ftello64.c: File removed.
32149 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32150 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32151 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32152 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32154 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32156 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32158 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32159 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32160 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32161 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32162 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32164 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32166 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32167 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32168 [defined __arch64__ || defined __sparcv9]
32169 (__OFF_T_MATCHES_OFF64_T): New macro.
32170 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32171 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32173 (__OFF_T_MATCHES_OFF64_T): New macro.
32175 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32177 * stdlib/secure-getenv.c (__secure_getenv): Replace
32178 GLIBC_2_16 with GLIBC_2_17.
32180 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32182 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32183 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32185 2012-08-03 David S. Miller <davem@davemloft.net>
32187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32189 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32191 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32193 (__ASSUME_CORRECT_SI_PID): Likewise.
32194 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32195 (__ASSUME_TMPFS_NAME): Likewise.
32196 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32197 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32198 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32199 (HAVE_AUX_SECURE): Make definition unconditional.
32200 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32201 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32203 2012-08-03 Roland McGrath <roland@hack.frob.com>
32205 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32206 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32207 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32208 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32209 __eloop_threshold instead of SYMLOOP_MAX.
32211 * sysdeps/generic/eloop-threshold.h: New file.
32212 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32214 * elf/chroot_canon.c (chroot_canon): Likewise.
32216 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32220 Change to 2.6.0 everywhere.
32221 * sysdeps/unix/sysv/linux/configure: Regenerated.
32222 * sysdeps/unix/sysv/linux/kernel-features.h
32223 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32224 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32226 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32227 (__ASSUME_FUTEX_REQUEUE): Remove.
32228 (__ASSUME_STATFS64): Define unconditionally.
32229 (__ASSUME_AT_SECURE): Likewise.
32230 (__ASSUME_CORRECT_SI_PID): Likewise.
32231 (__ASSUME_TGKILL): Define without depending on kernel version for
32233 (__ASSUME_UTIMES): Likewise.
32234 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32236 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32237 (__ASSUME_TMPFS_NAME): Likewise.
32238 * README: Update reference to Linux kernel versions.
32240 2012-08-02 Marek Polacek <polacek@redhat.com>
32243 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32244 libc_cv_asm_type_prefix with %.
32245 * configure: Regenerated.
32246 * include/libc-symbols.h: Remove comment about
32247 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32248 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32249 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32250 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32251 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32252 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32253 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32254 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32255 * elf/tst-unique2mod1.c: Likewise.
32256 * elf/tst-unique1mod2.c: Likewise.
32257 * elf/tst-unique1mod1.c: Likewise.
32258 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32259 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32260 Replace ASM_TYPE_DIRECTIVE with .type.
32261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32262 * sysdeps/i386/sysdep.h: Likewise.
32263 * sysdeps/x86_64/sysdep.h: Likewise.
32264 * sysdeps/sh/sysdep.h: Likewise.
32265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32266 Do not define ASM_TYPE_DIRECTIVE.
32267 * sysdeps/powerpc/sysdep.h: Likewise.
32268 * sysdeps/powerpc/powerpc32/sysdep.h:
32269 Replace ASM_TYPE_DIRECTIVE with .type.
32270 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32271 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32272 * sysdeps/i386/fpu/e_powf.S: Likewise.
32273 * sysdeps/i386/fpu/e_expl.S: Likewise.
32274 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32275 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32276 * sysdeps/i386/fpu/e_pow.S: Likewise.
32277 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32278 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32279 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32280 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32281 * sysdeps/i386/fpu/e_log2.S: Likewise.
32282 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32283 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32284 * sysdeps/i386/fpu/e_powl.S: Likewise.
32285 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32286 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32287 * sysdeps/i386/fpu/e_logl.S: Likewise.
32288 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32289 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32290 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32291 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32292 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32293 * sysdeps/i386/fpu/e_log.S: Likewise.
32294 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32295 * sysdeps/i386/fpu/e_logf.S: Likewise.
32296 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32297 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32298 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32299 * sysdeps/i386/fpu/e_log10.S: Likewise.
32300 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32301 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32302 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32303 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32304 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32305 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32306 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32307 * sysdeps/i386/i686/strtok.S: Likewise.
32308 * sysdeps/i386/i386-mcount.S: Likewise.
32309 * sysdeps/i386/strtok.S: Likewise.
32310 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32311 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32313 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32314 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32315 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32316 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32317 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32318 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32319 * sysdeps/x86_64/_mcount.S: Likewise.
32320 * sysdeps/x86_64/strtok.S: Likewise.
32321 * sysdeps/sh/_mcount.S: Likewise.
32323 2012-08-01 Roland McGrath <roland@hack.frob.com>
32325 * libio/iofopen.c: Include <fcntl.h>.
32326 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32327 (_IO_fopen64, fopen64): Define as aliases.
32328 * libio/iofopen64.c: Include <fcntl.h>.
32329 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32330 Conditionalize body on this.
32331 * sysdeps/wordsize-64/iofopen.c: File removed.
32332 * sysdeps/wordsize-64/iofopen64.c: File removed.
32334 2012-08-01 Marek Polacek <polacek@redhat.com>
32336 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32337 Use dlfcn directly instead of a variable.
32338 (binfmt-subdir): Do not define.
32341 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32343 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32344 Remove all definitions.
32345 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32346 <kernel-features.h>.
32347 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32348 (miss_F_GETOWN_EX): Remove all definitions.
32349 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32351 [!__ASSUME_FCNTL64]: Remove conditional code.
32352 [__ASSUME_FCNTL64]: Make code unconditional.
32353 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32354 <kernel-features.h>.
32355 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32356 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32357 (lockf64) [__NR_fcntl64]: Make code unconditional.
32358 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32360 * sysdeps/unix/sysv/linux/kernel-features.h
32361 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32362 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32363 Make code unconditional.
32364 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32365 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32367 [__NR_vfork]: Make code unconditional.
32368 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32369 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32371 [__NR_vfork]: Make code unconditional.
32372 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32373 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32375 2012-08-01 Roland McGrath <roland@hack.frob.com>
32377 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32378 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32380 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32381 Define mkstemp64 as an alias.
32382 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32383 Define mkstemps64 as an alias.
32384 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32385 Define mkostemp64 as an alias.
32386 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32387 Define mkostemps64 as an alias.
32388 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32389 Conditionalize body on this.
32390 * misc/mkostemp64.c: Likewise.
32391 * misc/mkostemps64.c: Likewise.
32392 * misc/mkstemps64.c: Likewise.
32393 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32394 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32395 * sysdeps/wordsize-64/mkostemp.c: File removed.
32396 * sysdeps/wordsize-64/mkstemp.c: File removed.
32397 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32398 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32399 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32400 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32403 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32404 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32405 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32406 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32408 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32409 compat_symbol macros from <shlib-compat.h> rather than the underlying
32410 default_symbol_version and symbol_version macros, so that DEFAULT
32411 lines in shlib-versions are respected.
32412 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32414 2012-08-01 Florian Weimer <fweimer@redhat.com>
32416 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32417 Declare with warn_unused_result.
32418 (setgid, setregid, setegid, setresgid): Likewise.
32419 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32421 * WUR-REPORT: Remove set*id functions.
32423 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32425 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32427 2012-07-31 Roland McGrath <roland@hack.frob.com>
32430 * include/sys/socket.h (__libc_accept, __libc_accept4):
32431 Add attribute_hidden.
32432 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32434 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32436 * inet/getnetgrent_r.c (setup): Likewise.
32438 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32440 2012-07-31 David S. Miller <davem@davemloft.net>
32442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32444 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32447 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32448 value between 1.0 and 2.0 and smaller part has absolute value less
32450 * math/s_clog10.c (__clog10): Likewise.
32451 * math/s_clog10f.c (__clog10f): Likewise.
32452 * math/s_clog10l.c (__clog10l): Likewise.
32453 * math/s_clogf.c (__clogf): Likewise.
32454 * math/s_clogl.c (__clogl): Likewise.
32455 * math/libm-test.inc (clog_test): Add more tests.
32456 (clog10_test): Likewise.
32457 * sysdeps/i386/fpu/libm-test-ulps: Update.
32458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32460 2012-07-31 Florian Weimer <fweimer@redhat.com>
32462 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32463 Exit with zero in case no suitable GID is found, and write a
32464 message to standard error.
32466 2012-07-30 Roland McGrath <roland@hack.frob.com>
32468 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32470 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32471 (MAXPATHLEN): Removed.
32472 (NOGROUP, NODEV): New macros.
32473 (setbit, clrbit, isset, isclr): New macros.
32474 (howmany, roundup, powerof2): New macros.
32475 (DEV_BSIZE): New macro.
32477 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32478 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32480 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32481 definition on [!__NO_LONG_DOUBLE_MATH].
32483 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32484 PTR_MANGLE and PTR_DEMANGLE.
32486 * socket/accept4.c (accept4): Rename to __libc_accept4.
32487 Define accept4 as a weak alias.
32489 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32490 on [_DIRENT_HAVE_D_TYPE].
32491 * io/ftw.c (ftw_dir): Likewise.
32493 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32495 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32497 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32498 Use the BSD numbers rather than the arbitrary ones we had.
32499 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32500 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32501 (SIGXCPU, SIGXFSZ): New macros.
32504 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32505 initializer on [_LIBC_REENTRANT].
32507 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32508 definitions inside [_POSIX_MAPPED_FILES].
32510 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32512 * dirent/opendir.c: Include <fcntl.h>.
32514 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32515 (__libc_getspecific): Likewise.
32516 (__libc_key_create): Likewise.
32518 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32519 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32520 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32521 (tmpfile64): Define as alias.
32522 * sysdeps/wordsize-64/tmpfile.c: File removed.
32523 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32525 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32527 * stdio-common/vfscanf.c: Include <stdbool.h>.
32528 * nss/makedb.c: Likewise.
32529 * stdio-common/_i18n_number.h: Likewise.
32530 * argp/argp-help.c: Likewise.
32531 * posix/wordexp.c: Likewise.
32532 * sysdeps/posix/spawni.c: Likewise.
32533 * nss/nss_files/files-initgroups.c: Likewise.
32534 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32535 * nss/nss_files/files-initgroups.c: Likewise.
32536 * nss/nss_db/db-netgrp.c: Likewise.
32537 * nss/nss_db/db-initgroups.c: Likewise.
32538 * io/fchmodat.c: Include <sys/stat.h>.
32540 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32541 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32543 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32546 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32547 Add multiple inclusion protection.
32549 2012-07-27 David S. Miller <davem@davemloft.net>
32551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32553 2012-07-27 Gary Benson <gbenson@redhat.com>
32556 * elf/rtld.c: Include <stap-probe.h>.
32557 (dl_main): Added static probes "init_start" and "init_complete".
32558 * elf/dl-load.c: Include <stap-probe.h>.
32559 (lose): Take new parameter "nsid".
32560 Added static probe "map_failed".
32561 (_dl_map_object_from_fd): Pass namespace id to lose.
32562 Added static probe "map_start".
32563 (open_verify): Pass namespace id to lose.
32564 * elf/dl-open.c: Include <stap-probe.h>.
32565 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32566 and "reloc_complete".
32567 * elf/dl-close.c: Include <stap-probe.h>.
32568 (_dl_close_worker): Added static probes "unmap_start" and
32570 * elf/rtld-debugger-interface.txt: New file documenting the above.
32572 2012-07-26 Roland McGrath <roland@hack.frob.com>
32574 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32575 rather than a string variable.
32576 * sunrpc/rpc_main.c (h_output): Likewise.
32577 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32579 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32581 * inet/check_native.c: New file.
32583 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32586 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32587 if larger part has absolute value 1.0.
32588 * math/s_clog10.c (__clog10): Likewise.
32589 * math/s_clog10f.c (__clog10f): Likewise.
32590 * math/s_clog10l.c (__clog10l): Likewise.
32591 * math/s_clogf.c (__clogf): Likewise.
32592 * math/s_clogl.c (__clogl): Likewise.
32593 * math/libm-test.inc (clog_test): Add more tests.
32594 (clog10_test): Likewise.
32595 * sysdeps/i386/fpu/libm-test-ulps: Update.
32596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32598 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32599 (pltexit): Likewise.
32600 (La_regs): Likewise.
32601 (La_retval): Likewise.
32602 (int_retval): Likewise.
32603 Update #error for removed macros to refer only to definitions in
32605 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32607 (pltexit): Likewise.
32608 (La_regs): Likewise.
32609 (La_retval): Likewise.
32610 (int_retval): Likewise.
32611 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32613 (pltexit): Likewise.
32614 (La_regs): Likewise.
32615 (La_retval): Likewise.
32616 (int_retval): Likewise.
32617 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32619 (pltexit): Likewise.
32620 (La_regs): Likewise.
32621 (La_retval): Likewise.
32622 (int_retval): Likewise.
32623 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32625 (pltexit): Likewise.
32626 (La_regs): Likewise.
32627 (La_retval): Likewise.
32628 (int_retval): Likewise.
32629 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32631 (pltexit): Likewise.
32632 (La_regs): Likewise.
32633 (La_retval): Likewise.
32634 (int_retval): Likewise.
32635 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32637 (pltexit): Likewise.
32638 (La_regs): Likewise.
32639 (La_retval): Likewise.
32640 (int_retval): Likewise.
32641 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32642 macro definitions in tst-audit.h.
32643 * sysdeps/i386/tst-audit.h: New file.
32644 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32645 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32646 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32647 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32648 * sysdeps/sh/tst-audit.h: Likewise.
32649 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32650 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32651 * sysdeps/x86_64/tst-audit.h: Likewise.
32653 2012-07-26 Andreas Jaeger <aj@suse.de>
32655 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32658 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32659 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32660 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32662 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32663 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32664 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32666 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32669 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32671 (si_call_addr, si_syscall, si_arch): Define new macro.
32672 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32674 (si_call_addr, si_syscall, si_arch): Define new marcro.
32675 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32677 (si_call_addr, si_syscall, si_arch): Define new macro.
32678 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32680 (si_call_addr, si_syscall, si_arch): Define new macro.
32682 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32685 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32686 Change to 2.4.21 where previously 2.4.1.
32687 * sysdeps/unix/sysv/linux/configure: Regenerated.
32688 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32689 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32690 Linux kernel version.
32691 (__ASSUME_STD_AUXV): Remove.
32692 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32694 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32695 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32696 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32697 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32698 (__ASSUME_NETLINK_SUPPORT): Likewise.
32699 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32700 (__no_netlink_support): Remove conditional definition.
32701 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32703 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32704 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32705 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32706 (if_nameindex_ioctl): Remove.
32707 (if_nameindex_netlink): Do not handle __no_netlink_support.
32708 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32710 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32711 Remove conditional code.
32712 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32714 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32716 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32717 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32718 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32720 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32721 [!__ASSUME_STD_AUXV]: Remove conditional code.
32722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32723 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32724 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32726 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32727 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32729 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32731 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32732 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32734 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32736 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32739 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32742 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32743 code unconditional.
32744 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32746 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32748 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32751 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32753 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32756 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32757 code unconditional.
32758 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32760 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32762 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32765 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32766 code unconditional.
32767 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32769 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32771 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32774 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32776 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32777 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32778 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32779 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32780 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32781 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32782 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32783 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32784 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32785 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32786 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32787 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32788 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32789 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32790 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32791 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32792 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32793 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32794 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32796 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32797 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32798 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32800 2012-07-25 Florian Weimer <fweimer@redhat.com>
32802 * Versions.def: Add GLIBC_2.17.
32803 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32804 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32805 Introduce __libc_secure_getenv.
32806 * stdlib/Versions (2.17): Add secure_getenv
32807 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32808 * stdlib/secure-getenv.c: Rename __secure_getenv to
32809 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32810 symbol __secure_getenv for GLIBC_2.0.
32811 * stdlib/tst-secure-getenv.c: New.
32812 * stdlib/Makefile (tests): Add testcase.
32813 * manual/startup.texi (Environment Access): Document
32815 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32816 __libc_secure_getenv.
32817 * inet/ruserpass.c (ruserpass): Likewise.
32818 * malloc/mtrace.c (mtrace): Likewise.
32819 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32820 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32821 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32822 * sysdeps/posix/tempname.c: Likewise. Evaluate
32823 HAVE_SECURE_GETENV.
32824 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32825 __secure_getenv to __libc_secure_getenv.
32826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32833 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32839 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32841 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32842 (struct La_i86_retval): Likewise.
32843 (struct La_x86_64_regs): Likewise.
32844 (struct La_x86_64_retval): Likewise.
32845 (struct La_x32_regs): Likewise.
32846 (struct La_x32_retval): Likewise.
32847 (struct La_ppc32_regs): Likewise.
32848 (struct La_ppc32_retval): Likewise.
32849 (struct La_ppc64_regs): Likewise.
32850 (struct La_ppc64_retval): Likewise.
32851 (struct La_sh_regs): Likewise.
32852 (struct La_sh_retval): Likewise.
32853 (struct La_s390_32_regs): Likewise.
32854 (struct La_s390_32_retval): Likewise.
32855 (struct La_s390_64_regs): Likewise.
32856 (struct La_s390_64_retval): Likewise.
32857 (struct La_sparc32_regs): Likewise.
32858 (struct La_sparc32_retval): Likewise.
32859 (struct La_sparc64_regs): Likewise.
32860 (struct La_sparc64_retval): Likewise.
32861 (struct audit_ifaces): Remove architecture-specific pltenter and
32863 * sysdeps/i386/ldsodefs.h: New file.
32864 * sysdeps/powerpc/ldsodefs.h: Likewise.
32865 * sysdeps/s390/ldsodefs.h: Likewise.
32866 * sysdeps/sh/ldsodefs.h: Likewise.
32867 * sysdeps/sparc/ldsodefs.h: Likewise.
32868 * sysdeps/x86_64/ldsodefs.h: Likewise.
32870 2012-07-25 Marek Polacek <polacek@redhat.com>
32873 * math/libm-test.inc (yn_test): Add another test.
32874 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32875 to ERANGE when the result is +-Inf.
32876 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32877 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32878 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32879 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32881 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32883 * conform/data/time.h-data (NULL): Use macro-constant. Require
32885 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32887 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32889 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32891 * configure.in <sysdeps resolving>: Correct printing
32893 * configure: Regenerate.
32895 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32897 * math/w_ilogb.c: Include <limits.h>.
32898 * math/w_ilogbl.c: Likewise.
32900 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32902 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32903 va_copy. Document allowing for unavailable va_copy only as
32904 pre-C99 compatibility.
32905 * manual/string.texi (Copying and Concatenation): Use va_copy
32906 instead of __va_copy in concat example.
32908 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32910 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32911 (__sendto): Use create_address_port. Initialize APORT and deallocate
32914 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32915 with O_NOLINK passed to __file_name_lookup.
32917 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32918 with O_NOLINK passed to __file_name_lookup.
32920 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32921 negative N or less than NGIDS.
32923 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32924 type to string_t. Set ERANGE as errno and return it if NAME is not big
32925 enough. Use memcpy instead of strncpy.
32927 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32929 * elf/Makefile (check-data): Remove.
32930 (localplt.data): New vpath directive.
32931 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32932 instead of $(check-data).
32933 * scripts/data/localplt-generic.data: Move to ...
32934 * sysdeps/generic/localplt.data: ... here.
32935 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32936 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32937 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32940 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32943 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32946 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32949 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32952 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32956 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32958 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32959 PPC32 and PPC64 files.
32960 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32961 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32963 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32965 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32966 __makecontext_ret to ...
32967 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32968 ... here and call exit if uc_link is NULL. New file.
32969 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32970 __makecontext_ret.S.
32971 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32972 __makecontext_ret to ...
32973 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32974 ... here and call exit if uc_link is NULL. New file.
32975 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32976 __makecontext_ret.S.
32978 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32980 * elf/elf.h (R_390_IRELATIVE): New definition.
32981 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32982 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32983 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32984 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32985 (elf_machine_lazy_rel): Likewise.
32986 * sysdeps/s390/dl-irel.h: New file.
32987 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32988 * sysdeps/s390/s390-64/memset.S: New asm code.
32989 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32990 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32991 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32992 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32993 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32994 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32995 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32996 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32997 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32998 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32999 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33000 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33001 * sysdeps/s390/s390-32/memset.S: New asm code.
33002 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33004 2012-07-17 Marek Polacek <polacek@redhat.com>
33007 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33008 * sysdeps/s390/s390-64/configure.in: Likewise.
33009 * sysdeps/sparc/configure.in: Likewise.
33010 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33011 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33012 * sysdeps/i386/configure.in: Likewise.
33013 * sysdeps/x86_64/configure.in: Likewise.
33014 * sysdeps/sh/configure.in: Likewise.
33015 * sysdeps/s390/s390-32/configure: Regenerated.
33016 * sysdeps/s390/s390-64/configure: Likewise.
33017 * sysdeps/x86_64/configure: Likewise.
33018 * sysdeps/sh/configure: Likewise.
33019 * sysdeps/powerpc/powerpc64/configure: Likewise.
33020 * sysdeps/powerpc/powerpc32/configure: Likewise.
33021 * sysdeps/sparc/configure: Likwise.
33022 * sysdeps/i386/configure: Likewise.
33024 * elf/dl-open.c: Comment fixes.
33026 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33028 * Makefile [CXX] (check-data): Remove.
33029 [CXX] (c++-types.data): New vpath directive.
33030 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33031 vpath. Do not allow for C++ type data being missing.
33032 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33033 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33034 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33035 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33036 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33037 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33038 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33041 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33044 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33047 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33050 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33053 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33056 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33059 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33062 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33063 definitions to architecture-specific files.
33064 (TLS_IE): Likewise.
33065 (TLS_LD): Likewise.
33066 (TLS_GD): Likewise.
33067 * sysdeps/i386/tls-macros.h: New file.
33068 * sysdeps/powerpc/tls-macros.h: Likewise.
33069 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33070 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33071 * sysdeps/sh/tls-macros.h: Likewise.
33072 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33073 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33074 * sysdeps/x86_64/tls-macros.h: Likewise.
33076 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33078 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33079 zero value for regular exit case.
33081 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33082 (__start_context): Preserve zero value for regular exit case.
33084 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33085 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33087 * manual/setjmp.texi (setcontext): Clarify normal process
33088 termination when uc_link is the null pointer.
33089 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33092 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33094 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33095 preprocessor. Test for each exception mask separately.
33097 2012-07-16 Andreas Jaeger <aj@suse.de>
33099 * po/ru.po: Update from translation team.
33101 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33103 * conform/data/string.h-data (NULL): Use macro-constant. Require
33105 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33106 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33107 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33108 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33111 2012-07-13 Andreas Jaeger <aj@suse.de>
33113 * po/fr.po: Update from translation team.
33115 2012-07-12 Marek Polacek <polacek@redhat.com>
33118 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33119 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33122 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33125 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33126 Change to 2.4.1 where previously 2.4.0.
33127 * sysdeps/unix/sysv/linux/configure: Regenerated.
33128 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33129 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33131 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33132 (__ASSUME_AT_CLKTCK): Remove.
33133 (__ASSUME_AT_PAGESIZE): Likewise.
33134 (__ASSUME_AT_XID): Likewise.
33135 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33136 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33137 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33139 (HAVE_AUX_PAGESIZE): Likewise.
33140 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33141 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33142 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33144 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33148 the temporary buffer used to invoke __gethostbyname2_r,
33149 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33150 host_data / struct gaih_addrtuple.
33151 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33152 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33153 header file nss/nsswitch.h.
33154 * nss/nsswitch.h (global scope): Add definition of implementation
33155 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33156 resolv/nss_dns/dns-host.c).
33158 2012-07-11 Andreas Jaeger <aj@suse.de>
33160 * po/fr.po: Update from translation team.
33162 * po/sv.po: Update from translation team
33163 * po/fr.po: Another update from translation team.
33165 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33167 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33168 for subnormals or multiply small sinh result by itself.
33169 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33172 2012-07-11 David S. Miller <davem@davemloft.net>
33174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33176 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33179 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33180 (INTERNAL_MARK): Shift it here.
33182 2012-07-10 Marek Polacek <polacek@redhat.com>
33185 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33186 libc_cv_asm_global_directive with .globl.
33187 * configure: Regenerated.
33188 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33190 * sysdeps/i386/configure: Regenerated.
33191 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33193 * sysdeps/x86_64/configure: Regenerated.
33194 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33195 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33196 * elf/tst-unique2mod2.c: Likewise.
33197 * elf/tst-unique2mod1.c: Likewise.
33198 * elf/tst-unique1mod2.c: Likewise.
33199 * elf/tst-unique1mod1.c: Likewise.
33200 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33201 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33203 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33204 * sysdeps/mach/sysdep.h: Likewise.
33205 * sysdeps/i386/sysdep.h: Likewise.
33206 * sysdeps/i386/i386-mcount.S: Likewise.
33207 * sysdeps/x86_64/_mcount.S: Likewise.
33208 * sysdeps/x86_64/sysdep.h: Likewise.
33209 * sysdeps/sh/_mcount.S: Likewise.
33210 * sysdeps/sh/sysdep.h: Likewise.
33211 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33212 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33213 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33214 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33215 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33216 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33217 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33218 * locale/localeinfo.h: Likewise.
33219 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33220 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33222 2012-07-09 Roland McGrath <roland@hack.frob.com>
33225 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33227 * manual/message.texi (The Uniforum approach): Likewise.
33228 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33229 (glibc iconv Implementation): Likewise.
33231 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33234 * math/s_clog.c (__clog): Avoid scaling a value down where that
33235 could result in underflow.
33236 * math/s_clog10.c (__clog10): Likewise.
33237 * math/s_clog10f.c (__clog10f): Likewise.
33238 * math/s_clog10l.c (__clog10l): Likewise.
33239 * math/s_clogf.c (__clogf): Likewise.
33240 * math/s_clogl.c (__clogl): Likewise.
33241 * math/libm-test.inc (clog_test): Add more tests.
33242 (clog10_test): Likewise.
33243 * sysdeps/i386/fpu/libm-test-ulps: Update.
33244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33246 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33249 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33250 by 7 not 8 to examine high bit of fractional part.
33253 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33254 for call to __mcount_internal.
33255 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33256 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33257 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33259 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33262 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33263 approximation for values within 0x1p-13f of an odd multiple of
33265 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33266 exception. Add more tests.
33267 * sysdeps/i386/fpu/libm-test-ulps: Update.
33270 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33271 inputs and return -1 for them. Do not check for +Inf in case not
33272 reachable for +Inf.
33273 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33274 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33275 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33276 and return -1 for them. Do not check for +Inf in case not
33277 reachable for +Inf.
33278 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33284 spurious underflow.
33285 * sysdeps/i386/fpu/libm-test-ulps: Update.
33286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33288 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33290 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33292 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33296 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33297 could result in spurious underflow. Scale down values above
33298 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33299 * math/s_csqrtf.c (__csqrtf): Likewise.
33300 * math/s_csqrtl.c (__csqrtl): Likewise.
33301 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33302 spurious underflow.
33303 * sysdeps/i386/fpu/libm-test-ulps: Update.
33304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33306 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33308 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33310 * catgets/xopen-msg.awk: New file.
33311 * catgets/xopen-msg.sed: Removed.
33313 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33315 * intl/po2test.awk: New file.
33316 * intl/po2test.sed: Removed.
33318 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33321 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33322 or multiply small sinh result by itself.
33323 * math/s_ctanf.c (__ctanf): Likewise.
33324 * math/s_ctanh.c (__ctanh): Likewise.
33325 * math/s_ctanhf.c (__ctanhf): Likewise.
33326 * math/s_ctanhl.c (__ctanhl): Likewise.
33327 * math/s_ctanl.c (__ctanl): Likewise.
33328 * math/libm-test.inc (ctan_test_tonearest): New function.
33329 (ctan_test_towardzero): Likewise.
33330 (ctan_test_downward): Likewise.
33331 (ctan_test_upward): Likewise.
33332 (ctanh_test_tonearest): Likewise.
33333 (ctanh_test_towardzero): Likewise.
33334 (ctanh_test_downward): Likewise.
33335 (ctanh_test_upward): Likewise.
33336 (main): Call these new functions.
33337 * sysdeps/i386/fpu/libm-test-ulps: Update.
33338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33340 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33342 * .gitignore: Delete /ports entry.
33344 2012-07-03 Andreas Jaeger <aj@suse.de>
33346 * po/bg.po: Update from translation team.
33347 * po/cs.po: Likewise.
33348 * po/de.po: Likewise.
33349 * po/hr.po: Likewise.
33350 * po/nl.pl: Likewise.
33351 * po/pl.po: Likewise.
33352 * po/vi.po: Likewise.
33354 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33356 * Makeconfig [!+link] (+link-before-libc): New variable.
33357 [!+link] (+link-after-libc): Likewise.
33358 [!+link] (+link-tests): Likewise.
33359 [!+link] (+link): Define in terms of $(+link-before-libc) and
33360 $(+link-after-libc).
33361 [!+link-static] (+link-static-before-libc): New variable.
33362 [!+link-static] (+link-static-after-libc): Likewise.
33363 [!+link-static] (+link-static-tests): Likewise.
33364 [!+link-static] (+link-static): Define in terms of
33365 $(+link-static-before-libc) and $(+link-static-after-libc).
33366 [build-shared] (link-libc-before-gnulib): New variable.
33367 [build-shared] (link-libc-tests): Likewise.
33368 [build-shared] (link-libc): Define in terms of
33369 $(link-libc-before-gnulib).
33370 [!build-shared] (link-libc-tests): New variable.
33371 (link-libc-static-tests): New variable.
33372 [!gnulib] (gnulib-arch): New variable.
33373 [!gnulib] (gnulib-tests): Likewise.
33374 [!gnulib] (static-gnulib-arch): Likewise.
33375 [!gnulib] (static-gnulib-tests): Likewise.
33376 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33377 Define with "=" instead of ":=".
33378 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33379 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33380 * Rules (binaries-all-notests): New variable.
33381 (binaries-all-tests): Likewise.
33382 (binaries-static-notests): Likewise.
33383 (binaries-static-tests): Likewise.
33384 (binaries-all): Define using $(binaries-all-notests) and
33385 $(binaries-all-tests).
33386 (binaries-static): Define using $(binaries-static-notests) and
33387 $(binaries-static-tests).
33388 (binaries-shared-tests): New variable.
33389 (binaries-shared-notests): Likewise.
33390 (binaries-shared): Remove variable.
33391 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33392 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33393 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33394 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33395 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33396 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33397 * elf/Makefile (sln-modules): New variable.
33398 (extra-objs): Add $(sln-modules:=.o).
33399 (ldconfig-modules): Add static-stubs.
33400 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33401 * elf/static-stubs.c: New file.
33404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33405 by 7 not 8 to examine high bit of fractional part. Use volatile
33406 variables when splitting into final array of floats if
33407 __FLT_EVAL_METHOD__ != 0.
33408 * math/libm-test.inc (cos_test): Add another test.
33409 (sin_test): Likewise.
33410 * sysdeps/i386/fpu/libm-test-ulps: Update.
33413 * math/libm-test.inc (cosh_test): Add more tests.
33415 * version.h (RELEASE): Set to "development".
33416 (VERSION): Set to "2.16.90".
33418 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33420 * NEWS: Update copyright. Remove last-updated date.
33421 Mention math library bug fixes and timezone data changes.
33422 * README: Mention GNU/Hurd, x32, and HPPA support status.
33424 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33426 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33428 2012-06-27 Andreas Jaeger <aj@suse.de>
33430 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33432 2012-06-25 Andreas Jaeger <aj@suse.de>
33434 * sysdeps/s390/fpu/libm-test-ulps: Update.
33436 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33437 Thomas Schwinge <thomas@codesourcery.com>
33439 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33440 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33441 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33444 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33446 * sysdeps/mach/start.c: Remove file.
33447 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33448 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33449 * sysdeps/sh/init-first.c: Likewise.
33451 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33452 registers for frame unwinding purposes, add CFI directives.
33453 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33454 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33455 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33458 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33459 __fortify_fail returning.
33460 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33462 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33463 sysdeps/sh/____longjmp_chk.S.
33464 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33465 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33466 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33467 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33469 * sysdeps/sh/abort-instr.h: New file.
33470 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33471 process in case exit returns.
33473 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33474 initialize the GOT register before use.
33476 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33477 calculation of ARGC > 4.
33479 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33480 meaningful names to some local labels.
33482 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33483 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33485 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33486 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33487 (__arch_compare_and_exchange_val_16_acq): Likewise.
33488 (__arch_compare_and_exchange_val_32_acq): Likewise.
33489 (atomic_exchange_and_add): Fix gUSA sequence.
33490 (atomic_add): Likewise.
33491 (atomic_add_negative): Likewise.
33492 (atomic_add_zero): Likewise.
33493 (atomic_bit_test_set): Likewise.
33495 2012-06-22 Andreas Schwab <schwab@redhat.com>
33498 * include/link.h (struct link_map): Add l_free_initfini.
33499 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33501 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33502 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33503 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33506 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33508 * configure.in: Use AC_LANG_SOURCE.
33509 * configure: Regenerate.
33511 2012-06-22 Roland McGrath <roland@hack.frob.com>
33513 * configure.in (libc_cv_localstatedir): New substituted variable.
33514 * configure: Regenerated.
33515 * config.make.in (localstatedir): New variable, substituted from
33516 libc_cv_localstatedir.
33517 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33518 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33519 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33520 * sysdeps/gnu/configure: Regenerated.
33522 2012-06-21 Jeff Law <law@redhat.com>
33525 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33526 free. Simplify list management for _LIBC case.
33528 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33531 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33532 Clear sign bit of 64-bit integer value before comparing against
33535 * sysdeps/mach/configure: Regenerated.
33537 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33540 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33542 2012-06-21 Jeff Law <law@redhat.com>
33545 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33546 uint16_t for elements in the "seen" array to avoid char overflows.
33547 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33548 * elf/dl-open.c (dl_open_worker): Likewise.
33550 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33552 * scripts/list-sources.sh: Scan PORTS for translations.
33553 * po/libc.pot: Regenerated.
33555 2012-06-21 Andreas Jaeger <aj@suse.de>
33558 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33560 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33561 * bits/byteswap-16.h (__bswap_16): Likewise.
33562 * bits/byteswap.h (__bswap_constant_16): Likewise.
33564 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33567 * sysdeps/i386/fpu_control.h: Removed.
33568 * sysdeps/x86_64/fpu_control.h: Moved to ...
33569 * sysdeps/x86/fpu_control.h: Here.
33571 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33572 (_FPU_SETCW): Likewise.
33574 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33577 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33578 * sysdeps/x86/fpu/bits/mathinline.h: This.
33579 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33583 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33584 functions if __x86_64__ is defined.
33586 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33588 * string/endian.h: Add !__ASSEMBLER__ condition for including
33589 conversion interfaces.
33591 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33595 of ABS(x) in calculating zero to negative powers other than odd
33597 * math/libm-test.inc (pow_test): Add more tests.
33599 2012-06-15 Andreas Jaeger <aj@suse.de>
33601 * manual/contrib.texi (Contributors): Update entry of Liubov
33602 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33605 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33607 * string/string.h: Add __wur to GNU version of strerror_r.
33609 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33612 * string/Makefile (tests): Add tst-strtok_r.
33613 * string/tst-strtok_r.c: New file.
33614 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33615 RAX_LP/RDX_LP on SAVE_PTR.
33617 2012-06-14 Roland McGrath <roland@hack.frob.com>
33619 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33621 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33623 * libm_test.inc (csqrt_test): Allow more spurious underflow
33625 (j0_test): Likewise.
33626 (j1_test): Likewise.
33627 (y0_test): Likewise.
33628 (y1_test): Likewise.
33630 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33632 * po/Makefile (libc.pot): Use UTF-8 charset.
33634 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33637 Suppress sign-conversion warning from FD_SET.
33638 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33639 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33640 not unsigned long int.
33641 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33643 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33647 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33648 __extern_always_inline instead of __extern_inline.
33649 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33650 (__signbit): Likewise.
33651 (__signbitl): Support C++ namespace.
33652 (lrintf): New inline function.
33654 (llrintf): Likewise.
33655 (llrint): Likewise.
33665 (floorf): Likewise.
33666 (nearbyint): Likewise.
33667 (nearbyintf): Likewise.
33669 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33671 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33672 non-default versions.
33674 2012-06-11 Roland McGrath <roland@hack.frob.com>
33677 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33679 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33681 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33682 (FE_UPWARD, FE_DOWNWARD): Don't define.
33683 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33684 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33686 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33688 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33689 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33691 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33693 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33695 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33696 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33698 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33701 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33702 * sysdeps/i386/fpu/Implies: New file.
33703 * sysdeps/x86_64/fpu/Implies: Likewise.
33704 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33705 * sysdeps/x86/fpu/bits/fenv.h: This.
33707 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33710 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33713 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33714 character 0xffff that matches the last element of the
33717 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33722 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33725 values higher than 25.6283.
33727 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33729 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33730 subnormal exponent extraction and add some __builtin_expect.
33731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33732 Fix for subnormal mantissa calculation.
33734 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33736 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33737 cpu2 is -1 and errno is not ENOSYS.
33739 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33742 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33743 * sysdeps/x86/bits/string.h: This.
33744 * sysdeps/x86_64/bits/string.h: Removed.
33746 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33747 if not compiling for x86-64, but compiling for >= i486.
33749 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33750 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33752 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33753 New macro from Linux kernel 3.4.0.
33754 (FP_XSTATE_MAGIC2): Likewise.
33755 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33756 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33757 (struct _fpx_sw_bytes): New struct.
33758 (struct _xsave_hdr): Likewise.
33759 (struct _ymmh_state): Likewise.
33760 (struct _xstate): Likewise.
33762 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33763 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33764 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33765 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33766 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33767 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33769 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33770 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33771 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33772 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33773 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33774 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33776 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33779 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33780 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33781 (sysdep_headers): Include sys/platform/ppc.h.
33782 * sysdeps/powerpc/test-gettimebase.c: Test for
33783 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33784 * manual/Makefile (appendices): Include platform.texi.
33785 * manual/contrib.texi (Contributors): Update @node pointers.
33786 * manual/maint.texi (Maintenance): Likewise.
33787 (Platform): New node.
33788 * manual/platform.texi: New file. Document the new features.
33790 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33791 Jakub Jelinek <jakub@redhat.com>
33794 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33795 where __builtin_expect is unavailable.
33797 2012-06-03 David S. Miller <davem@davemloft.net>
33799 * stdlib/longlong.h: Updated from GCC.
33801 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33804 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33805 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33808 (GLIBC_2.16): Likewise.
33810 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33812 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33814 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33817 (default-abi): New variable.
33818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33819 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33821 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33823 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33825 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33828 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33829 definition. Document in comment.
33831 2012-06-01 David S. Miller <davem@davemloft.net>
33833 * stdlib/longlong.h: Updated from GCC.
33835 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33838 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33839 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33840 sys/debugreg.h sys/io.h here.
33841 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33842 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33844 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33845 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33846 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33847 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33848 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33849 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33852 Define only if __x86_64__ is defined.
33854 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33857 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33858 Use int64_t for variable i.
33859 * math/libm-test.inc (fmod_test): Add more tests.
33861 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33862 z computation is not scheduled after fetestexcept.
33863 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33864 Use math_force_eval instead of asm to ensure calculation scheduled
33865 before exception test.
33866 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33867 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33869 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33872 computation is not scheduled after fetestexcept.
33874 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33877 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33878 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33880 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33882 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33883 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33885 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33888 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33890 (__WCHAR_MIN): Support __WORDSIZE == 64.
33891 (__WCHAR_MAX): Likewise.
33893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33894 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33897 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33898 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33901 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33902 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33904 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33905 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33907 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33908 Defined to 1 if __x86_64__ isn't defined.
33909 (_STAT_VER_LINUX_OLD): New.
33910 (st_atime): Remove duplicate.
33911 (st_mtime): Likewise.
33912 (st_ctime): Likewise.
33914 2012-05-31 David S. Miller <davem@davemloft.net>
33916 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33919 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33921 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33925 * elf/dl-reloc.c: Include <_itoa.h>.
33926 (_dl_reloc_bad_type): Remove use of INTUSE.
33927 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33928 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33929 * stdio-common/psiginfo.c (psiginfo): Likewise.
33930 * stdio-common/psignal.c (psignal): Likewise.
33931 * string/strsignal.c (strsignal): Likewise.
33932 * include/signal.h (_sys_siglist): Declare hidden proto.
33933 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33934 INTVARDEF with libc_hidden_data_def.
33935 * stdio-common/itoa-udigits.c: Likewise.
33936 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33937 (_itoa_lower_digits_internal): Remove declaration.
33938 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33939 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33940 (_sys_sigabbrev_internal): Remove aliases.
33941 (_sys_siglist): Define hidden alias.
33943 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33948 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33951 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33952 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33954 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33955 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33956 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33957 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33958 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33959 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33961 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33962 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33963 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33965 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33974 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33975 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33977 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33978 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33979 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33980 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33981 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33982 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33984 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33985 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33987 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33988 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33992 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33994 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33995 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33997 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33999 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34000 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34001 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34003 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34005 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34007 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34009 * math/math.h (M_El): Use two more decimal places.
34010 (M_LOG2El): Likewise.
34011 (M_LOG10El): Likewise.
34012 (M_LN2l): Likewise.
34013 (M_LN10l): Likewise.
34015 (M_PI_2l): Likewise.
34016 (M_PI_4l): Likewise.
34017 (M_1_PIl): Likewise.
34018 (M_2_PIl): Likewise.
34019 (M_2_SQRTPIl): Likewise.
34020 (M_SQRT2l): Likewise.
34021 (M_SQRT1_2l): Likewise.
34023 2012-05-31 David S. Miller <davem@davemloft.net>
34025 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34026 values between float registers.
34027 * sysdeps/sparc/sparc64/memset.S: Likewise.
34028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34030 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34032 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34033 -D_FORTIFY_SOURCE=1.
34034 (CPPFLAGS-tst-longjmp_chk.c): Define.
34035 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34036 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34037 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34038 CFLAGS-tst-wchar-h.c.
34040 2012-05-31 Marek Polacek <polacek@redhat.com>
34043 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34044 __endmntent_internal): Remove declaration.
34045 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34046 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34047 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34049 2012-05-30 David S. Miller <davem@davemloft.net>
34051 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34052 (___Q_simulate_exceptions): Use real FP ops rather than writing
34054 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34057 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34060 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34061 * sysdeps/x86/bits/xtitypes.h: This.
34063 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34064 * sysdeps/x86/bits/wordsize.h: This.
34066 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34067 * sysdeps/x86/bits/huge_vall.h: This.
34069 * sysdeps/i386/bits/select.h: Removed.
34070 * sysdeps/x86_64/bits/select.h: Renamed to ...
34071 * sysdeps/x86/bits/select.h: This.
34073 * sysdeps/i386/bits/setjmp.h: Removed.
34074 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34075 * sysdeps/x86/bits/setjmp.h: This.
34077 * sysdeps/i386/bits/mathdef.h: Removed.
34078 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34079 * sysdeps/x86/bits/mathdef.h: This.
34081 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34084 * include/sys/socket.h (__connect_internal)
34085 (__libc_sa_len_internal): Remove declaration.
34086 (__connect, __libc_sa_len): Declare hidden_proto.
34087 (SA_LEN): Remove use of INTUSE.
34088 * socket/connect.c: Add libc_hidden_def.
34089 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34090 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34091 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34093 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34094 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34095 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34096 of adding _internal alias.
34098 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34101 * sysdeps/i386/bits/link.h: Removed.
34102 * sysdeps/i386/bits/linkmap.h: Likewise.
34103 * sysdeps/x86_64/bits/link.h: Renamed to ...
34104 * sysdeps/x86/bits/link.h: This.
34105 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34106 * sysdeps/x86/bits/linkmap.h: This.
34108 * sysdeps/i386/bits/endian.h: Removed.
34109 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34110 * sysdeps/x86/bits/endian.h: This.
34112 * sysdeps/i386/bits/byteswap.h: Removed.
34113 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34114 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34115 * sysdeps/x86/bits/byteswap.h: This.
34116 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34117 * sysdeps/x86/bits/byteswap-16.h: This.
34118 * sysdeps/i386/Implies: Add x86.
34119 * sysdeps/x86_64/Implies: Likewise.
34121 2012-05-30 David S. Miller <davem@davemloft.net>
34123 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34124 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34125 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34126 (FP_TRAPPING_EXCEPTIONS): Define.
34127 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34128 (FP_TRAPPING_EXCEPTIONS): Define.
34129 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34130 subnormals only when inexact has been signalled or underflow
34131 exceptions are enabled.
34132 (_FP_PACK_CANONICAL): Likewise.
34134 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34137 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34138 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34140 2012-05-30 Richard Henderson <rth@twiddle.net>
34142 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34143 with #ifndef NOT_IN_libc.
34145 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34146 marked to avoid plt entry.
34148 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34151 * Makeconfig (default-abi): New macro.
34152 (abi-includes): Likewise.
34153 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34154 $(abi-$(default-abi)-lib-soname) for soname if defined.
34155 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34157 * Makefile (installed-stubs): Likewise.
34158 * include/stubs-biarch.h: Removed.
34159 * scripts/lib-names.awk: Only handle one library at a time.
34160 * scripts/soversions.awk: Remove WORDSIZE support.
34161 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34163 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34165 (syscall-list-default-condition): Likewise.
34166 (syscall-list-default-condition): Likewise.
34167 (syscall-list-includes): Likewise.
34168 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34169 syscall-list-* with abi-*. Handle undefined abi-variants.
34170 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34171 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34172 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34173 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34174 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34175 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34177 (syscall-list-32-options): Likewise.
34178 (syscall-list-32-condition): Likewise.
34179 (syscall-list-64-options): Likewise.
34180 (syscall-list-64-condition): Likewise.
34181 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34183 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34186 (abi-64-ld-soname): New macro.
34187 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34188 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34191 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34192 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34194 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34196 * sysdeps/unix/sysv/linux/kernel-features.h
34197 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34198 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34199 include <kernel-features.h>.
34200 [!__NR_ftruncate64]: Remove conditional code.
34201 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34202 [__NR_ftruncate64]: Make code unconditional.
34203 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34204 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34205 include <kernel-features.h>.
34206 [!__NR_ftruncate64]: Remove conditional code.
34207 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34208 [__NR_ftruncate64]: Make code unconditional.
34209 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34211 include <kernel-features.h>.
34212 [!__NR_ftruncate64]: Remove conditional code.
34213 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34214 [__NR_ftruncate64]: Make code unconditional.
34215 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34217 include <kernel-features.h>.
34218 [!__NR_ftruncate64]: Remove conditional code.
34219 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34220 [__NR_ftruncate64]: Make code unconditional.
34221 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34223 * configure.in (libc_cv_fpie): Weaken to a compile test using
34224 LIBC_TRY_CC_OPTION.
34225 * configure: Regenerated.
34227 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34242 2012-05-27 David S. Miller <davem@davemloft.net>
34244 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34246 (__Q_simulate_exceptions): Return void. Change to simulate
34247 exceptions by writing into the %fsr.
34248 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34249 (__Qp_handle_exceptions): Likewise.
34251 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34252 __Qp_handle_exceptions.
34253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34254 __Qp_handle_exceptions.
34255 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34256 as unused and give dummy FP_RND_NEAREST initializer.
34257 (FP_INHIBIT_RESULTS): Define.
34258 (___Q_simulate_exceptions): Update declaration.
34259 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34261 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34262 as unused and give dummy FP_RND_NEAREST initializer.
34263 (__Qp_handle_exceptions): Update declaration.
34264 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34267 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34269 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34270 the temporary FPU control word.
34271 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34272 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34273 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34274 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34276 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34277 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34278 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34279 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34280 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34283 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34285 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34288 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34290 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34291 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34292 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34293 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34295 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34296 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34299 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34301 * po/h.po: Update from translation team.
34303 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34305 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34307 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34308 handling of denormals.
34309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34310 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34311 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34312 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34318 2012-05-26 Marek Polacek <polacek@redhat.com>
34321 * math/libm-test.inc (fma_test): Don't always expect underflow
34324 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34327 * elf/tst-execstack.c: Include stackinfo.h.
34328 (do_test): Adjust test case to ensure that pthread_getattr_np
34329 behaviour remains the same after marking stack executable.
34331 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34333 * sysdeps/unix/sysv/linux/kernel-features.h
34334 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34335 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34337 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34338 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34339 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34341 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34342 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34344 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34346 * configure.in: Define the default includes to being none.
34347 * configure: Regenerated.
34349 2012-05-25 Roland McGrath <roland@hack.frob.com>
34351 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34352 * sysdeps/x86_64/setjmp.S: Likewise.
34353 * sysdeps/i386/bsd-setjmp.S: Likewise.
34354 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34355 * sysdeps/i386/setjmp.S: Likewise.
34356 * sysdeps/i386/__longjmp.S: Likewise.
34357 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34358 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34360 * include/stap-probe.h: New file.
34361 * configure.in: Handle --enable-systemtap.
34362 * configure: Regenerated.
34363 * config.h.in (USE_STAP_PROBE): New #undef.
34364 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34365 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34366 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34368 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34372 to 2.4.0 where earlier.
34373 * sysdeps/unix/sysv/linux/configure: Regenerated.
34374 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34375 <kernel-features.h>.
34376 [__ASSUME_32BITUIDS]: Make code unconditional.
34377 [!__ASSUME_32BITUIDS]: Remove conditional code.
34378 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34379 <kernel-features.h>.
34380 [__ASSUME_32BITUIDS]: Make code unconditional.
34381 [!__ASSUME_32BITUIDS]: Remove conditional code.
34382 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34383 [__ASSUME_32BITUIDS]: Make code unconditional.
34384 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34385 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34386 <kernel-features.h>.
34387 [__ASSUME_32BITUIDS]: Make code unconditional.
34388 [!__ASSUME_32BITUIDS]: Remove conditional code.
34389 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34390 <kernel-features.h>.
34391 [__ASSUME_32BITUIDS]: Make code unconditional.
34392 [!__ASSUME_32BITUIDS]: Remove conditional code.
34393 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34394 <kernel-features.h>.
34395 [__ASSUME_32BITUIDS]: Make code unconditional.
34396 [!__ASSUME_32BITUIDS]: Remove conditional code.
34397 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34398 <kernel-features.h>.
34399 [__ASSUME_32BITUIDS]: Make code unconditional.
34400 [!__ASSUME_32BITUIDS]: Remove conditional code.
34401 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34402 <kernel-features.h>.
34403 [__ASSUME_32BITUIDS]: Make code unconditional.
34404 [!__ASSUME_32BITUIDS]: Remove conditional code.
34405 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34406 <kernel-features.h>.
34407 [__ASSUME_32BITUIDS]: Make code unconditional.
34408 [!__ASSUME_32BITUIDS]: Remove conditional code.
34409 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34410 <kernel-features.h>.
34411 [__ASSUME_32BITUIDS]: Make code unconditional.
34412 [!__ASSUME_32BITUIDS]: Remove conditional code.
34413 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34414 <kernel-features.h>.
34415 [__ASSUME_32BITUIDS]: Make code unconditional.
34416 [!__ASSUME_32BITUIDS]: Remove conditional code.
34417 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34418 <kernel-features.h>.
34419 [__ASSUME_32BITUIDS]: Make code unconditional.
34420 [!__ASSUME_32BITUIDS]: Remove conditional code.
34421 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34422 <kernel-features.h>.
34423 [__ASSUME_32BITUIDS]: Make code unconditional.
34424 [!__ASSUME_32BITUIDS]: Remove conditional code.
34425 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34426 <kernel-features.h>.
34427 [__NR_setresgid] (__setresgid): Do not declare.
34428 [__ASSUME_32BITUIDS]: Make code unconditional.
34429 [!__ASSUME_32BITUIDS]: Remove conditional code.
34430 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34431 <kernel-features.h>.
34432 [__NR_setresuid] (__setresuid): Do not declare.
34433 [__ASSUME_32BITUIDS]: Make code unconditional.
34434 [!__ASSUME_32BITUIDS]: Remove conditional code.
34435 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34436 <kernel-features.h>.
34437 [__ASSUME_32BITUIDS]: Make code unconditional.
34438 [!__ASSUME_32BITUIDS]: Remove conditional code.
34439 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34440 <kernel-features.h>.
34441 [__ASSUME_32BITUIDS]: Make code unconditional.
34442 [!__ASSUME_32BITUIDS]: Remove conditional code.
34443 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34444 <kernel-features.h>.
34445 [__ASSUME_32BITUIDS]: Make code unconditional.
34446 [!__ASSUME_32BITUIDS]: Remove conditional code.
34447 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34448 <kernel-features.h>.
34449 [__ASSUME_32BITUIDS]: Make code unconditional.
34450 [!__ASSUME_32BITUIDS]: Remove conditional code.
34451 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34452 <kernel-features.h>.
34453 [__ASSUME_32BITUIDS]: Make code unconditional.
34454 [!__ASSUME_32BITUIDS]: Remove conditional code.
34455 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34456 <kernel-features.h>.
34457 [__ASSUME_32BITUIDS]: Make code unconditional.
34458 [!__ASSUME_32BITUIDS]: Remove conditional code.
34459 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34460 <kernel-features.h>.
34461 [__ASSUME_32BITUIDS]: Make code unconditional.
34462 [!__ASSUME_32BITUIDS]: Remove conditional code.
34463 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34464 <kernel-features.h>.
34465 [__ASSUME_32BITUIDS]: Make code unconditional.
34466 [!__ASSUME_32BITUIDS]: Remove conditional code.
34467 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34468 <kernel-features.h>.
34469 [__ASSUME_32BITUIDS]: Make code unconditional.
34470 [!__ASSUME_32BITUIDS]: Remove conditional code.
34471 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34472 <kernel-features.h>.
34473 [__ASSUME_32BITUIDS]: Make code unconditional.
34474 [!__ASSUME_32BITUIDS]: Remove conditional code.
34475 * sysdeps/unix/sysv/linux/kernel-features.h
34476 (__ASSUME_SETRESUID_SYSCALL): Remove.
34477 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34478 (__ASSUME_32BITUIDS): Likewise.
34479 (__ASSUME_LDT_WORKS): Likewise.
34480 (__ASSUME_O_DIRECTORY): Likewise.
34481 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34482 architecture but not kernel version.
34483 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34484 (__ASSUME_MMAP2_SYSCALL): Likewise.
34485 (__ASSUME_STAT64_SYSCALL): Likewise.
34486 (__ASSUME_IPC64): Likewise.
34487 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34488 <kernel-features.h>.
34489 [__ASSUME_32BITUIDS]: Make code unconditional.
34490 [!__ASSUME_32BITUIDS]: Remove conditional code.
34491 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34492 <kernel-features.h>.
34493 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34494 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34495 132096]: Remove conditional code.
34496 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34497 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34498 <kernel-features.h>.
34499 [__ASSUME_32BITUIDS]: Make code unconditional.
34500 [!__ASSUME_32BITUIDS]: Remove conditional code.
34501 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34502 <kernel-features.h>.
34503 [__ASSUME_32BITUIDS]: Make code unconditional.
34504 [!__ASSUME_32BITUIDS]: Remove conditional code.
34505 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34506 <kernel-features.h>.
34507 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34509 (__setresgid): Do not declare.
34510 [__ASSUME_32BITUIDS]: Make code unconditional.
34511 [!__ASSUME_32BITUIDS]: Remove conditional code.
34512 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34513 <kernel-features.h>.
34514 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34516 (__setresuid): Do not declare.
34517 [__ASSUME_32BITUIDS]: Make code unconditional.
34518 [!__ASSUME_32BITUIDS]: Remove conditional code.
34519 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34520 <kernel-features.h>.
34521 [__ASSUME_32BITUIDS]: Make code unconditional.
34522 [!__ASSUME_32BITUIDS]: Remove conditional code.
34523 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34524 <kernel-features.h>.
34525 [__ASSUME_32BITUIDS]: Make code unconditional.
34526 [!__ASSUME_32BITUIDS]: Remove conditional code.
34528 2012-05-25 Richard Henderson <rth@twiddle.net>
34530 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34531 dl_hwcap to ifunc resolver.
34532 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34534 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34535 dl_hwcap to ifunc resolver.
34536 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34538 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34541 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34542 for |x| <= 2**-26, not 2**-57.
34543 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34546 2012-05-24 Jeff Law <law@redhat.com>
34548 * stdio-common/Makefile (tests): Add bug25.
34549 * stdio-common/bug25.c: New test.
34551 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34554 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34555 multiple of MALLOC_ALIGNMENT in size.
34556 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34558 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34560 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34562 (FILENAME_MAX): Use macro-int-constant.
34563 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34564 (_IOFBF): Use macro-int-constant.
34565 (_IOLBF): Likewise.
34566 (_IONBF): Likewise.
34567 (SEEK_CUR): Likewise.
34568 (SEEK_END): Likewise.
34569 (SEEK_SET): Likewise.
34570 (TMP_MAX): Likewise.
34571 (EOF): Use macro-int-constant. Require < 0.
34572 (NULL): Use macro-constant. Require == 0.
34573 (stdin): Require type to be FILE *.
34574 (stdout): Likewise.
34575 (stderr): Likewise.
34576 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34577 macro-int-constant.
34578 (EXIT_SUCCESS): Likewise.
34579 (NULL): Use macro-constant. Require == 0.
34580 (RAND_MAX): Use macro-int-constant.
34581 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34582 [C99-based standards] (strtof): Require function.
34583 [C99-based standards] (strtold): Likewise.
34584 [C99-based standards] (strtoll): Likewise.
34585 [C99-based standards] (strtoull): Likewise.
34586 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34587 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34588 [ISO || ISO99 || ISO11] (math.h): Likewise.
34589 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34590 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34593 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34596 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34597 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34598 * intl/dgettext.c (DCGETTEXT): Likewise.
34599 * intl/gettext.c (DCGETTEXT): Likewise.
34600 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34601 * posix/regex_internal.h (gettext): Likewise.
34602 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34603 Remove declaration.
34604 * include/argz.h (__argz_count_internal)
34605 (__argz_stringify_internal): Remove declaration.
34606 (__argz_count, __argz_stringify): Declare hidden proto.
34607 * intl/dcgettext.c: Remove use of INTDEF.
34608 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34609 * string/argz-stringify.c: Likewise.
34610 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34611 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34612 Declare hidden proto.
34613 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34614 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34615 Declare hidden proto.
34616 * include/stdio.h (__asprintf_internal): Don't declare.
34617 (__asprintf): Don't define as macro. Declare hidden proto.
34618 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34619 (__fsetlocking): Declare hidden proto.
34620 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34621 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34623 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34624 (_IO_setlinebuf): Remove use of INTUSE.
34625 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34626 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34627 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34628 Remove declaration.
34629 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34630 (_IO_do_flush): Remove use of INTUSE.
34631 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34632 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34633 (_IO_adjust_column, _IO_least_wmarker)
34634 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34635 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34636 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34637 (_IO_default_doallocate, _IO_wdefault_doallocate)
34638 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34639 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34640 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34641 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34642 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34643 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34644 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34645 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34646 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34647 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34648 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34649 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34650 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34652 (_IO_flush_all_internal, _IO_adjust_column_internal)
34653 (_IO_default_uflow_internal, _IO_default_finish_internal)
34654 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34655 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34656 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34657 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34658 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34659 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34660 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34661 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34662 (_IO_file_close_internal, _IO_file_close_it_internal)
34663 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34664 (_IO_file_init_internal, _IO_file_attach_internal)
34665 (_IO_file_fopen_internal, _IO_file_read_internal)
34666 (_IO_file_sync_internal, _IO_file_seek_internal)
34667 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34668 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34669 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34670 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34671 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34672 (_IO_list_all_internal, _IO_link_in_internal)
34673 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34674 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34675 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34676 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34677 (_IO_do_write_internal, _IO_padn_internal)
34678 (_IO_getline_info_internal, _IO_getline_internal)
34679 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34680 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34681 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34682 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34683 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34684 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34685 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34686 with libc_hidden_ver, remove use of INTUSE.
34687 * libio/genops.c: Likewise.
34688 * libio/freopen.c: Likewise.
34689 * libio/freopen64.c: Likewise.
34690 * libio/iofclose.c: Likewise.
34691 * libio/iofdopen.c: Likewise.
34692 * libio/iofflush.c: Likewise.
34693 * libio/iofflush_u.c: Likewise.
34694 * libio/iofgets.c: Likewise.
34695 * libio/iofgets_u.c: Likewise.
34696 * libio/iofopen.c: Likewise.
34697 * libio/iofopncook.c: Likewise.
34698 * libio/iofread.c: Likewise.
34699 * libio/iofread_u.c: Likewise.
34700 * libio/ioftell.c: Likewise.
34701 * libio/iofwrite.c: Likewise.
34702 * libio/iogetline.c: Likewise.
34703 * libio/iogets.c: Likewise.
34704 * libio/iogetwline.c: Likewise.
34705 * libio/iopadn.c: Likewise.
34706 * libio/iopopen.c: Likewise.
34707 * libio/ioseekoff.c: Likewise.
34708 * libio/ioseekpos.c: Likewise.
34709 * libio/iosetbuffer.c: Likewise.
34710 * libio/iosetvbuf.c: Likewise.
34711 * libio/ioungetc.c: Likewise.
34712 * libio/ioungetwc.c: Likewise.
34713 * libio/iovdprintf.c: Likewise.
34714 * libio/iovsprintf.c: Likewise.
34715 * libio/iovsscanf.c: Likewise.
34716 * libio/memstream.c: Likewise.
34717 * libio/obprintf.c: Likewise.
34718 * libio/oldfileops.c: Likewise.
34719 * libio/oldiofclose.c: Likewise.
34720 * libio/oldiofdopen.c: Likewise.
34721 * libio/oldiofopen.c: Likewise.
34722 * libio/oldiopopen.c: Likewise.
34723 * libio/oldstdfiles.c: Likewise.
34724 * libio/putc.c: Likewise.
34725 * libio/setbuf.c: Likewise.
34726 * libio/setlinebuf.c: Likewise.
34727 * libio/stdfiles.c: Likewise.
34728 * libio/strops.c: Likewise.
34729 * libio/vasprintf.c: Likewise.
34730 * libio/vscanf.c: Likewise.
34731 * libio/vsnprintf.c: Likewise.
34732 * libio/vswprintf.c: Likewise.
34733 * libio/wfiledoalloc.c: Likewise.
34734 * libio/wfileops.c: Likewise.
34735 * libio/wgenops.c: Likewise.
34736 * libio/wmemstream.c: Likewise.
34737 * libio/wstrops.c: Likewise.
34738 * libio/__fpurge.c: Likewise.
34739 * libio/__fsetlocking.c: Likewise.
34740 * assert/assert.c: Likewise.
34741 * debug/fgets_chk.c: Likewise.
34742 * debug/fgets_u_chk.c: Likewise.
34743 * debug/fread_chk.c: Likewise.
34744 * debug/fread_u_chk.c: Likewise.
34745 * debug/gets_chk.c: Likewise.
34746 * debug/obprintf_chk.c: Likewise.
34747 * debug/vasprintf_chk.c: Likewise.
34748 * debug/vdprintf_chk.c: Likewise.
34749 * debug/vsnprintf_chk.c: Likewise.
34750 * debug/vsprintf_chk.c: Likewise.
34751 * malloc/mtrace.c: Likewise.
34752 * misc/error.c: Likewise.
34753 * misc/syslog.c: Likewise.
34754 * stdio-common/asprintf.c: Likewise.
34755 * stdio-common/fxprintf.c: Likewise.
34756 * stdio-common/getw.c: Likewise.
34757 * stdio-common/isoc99_fscanf.c: Likewise.
34758 * stdio-common/isoc99_scanf.c: Likewise.
34759 * stdio-common/isoc99_vfscanf.c: Likewise.
34760 * stdio-common/isoc99_vscanf.c: Likewise.
34761 * stdio-common/isoc99_vsscanf.c: Likewise.
34762 * stdio-common/printf-prs.c: Likewise.
34763 * stdio-common/printf_fp.c: Likewise.
34764 * stdio-common/printf_fphex.c: Likewise.
34765 * stdio-common/printf_size.c: Likewise.
34766 * stdio-common/putw.c: Likewise.
34767 * stdio-common/scanf.c: Likewise.
34768 * stdio-common/sprintf.c: Likewise.
34769 * stdio-common/tmpfile.c: Likewise.
34770 * stdio-common/vfprintf.c: Likewise.
34771 * stdio-common/vfscanf.c: Likewise.
34772 * stdlib/strfmon_l.c: Likewise.
34773 * sunrpc/openchild.c: Likewise.
34774 * sunrpc/xdr_stdio.c: Likewise.
34775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34776 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34778 2012-05-24 Roland McGrath <roland@hack.frob.com>
34780 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34782 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34783 in the third column, to generate for the shared library an IFUNC
34784 that uses _dl_vdso_vsym.
34785 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34786 * Makeconfig (object-suffixes-noshared): New variable.
34788 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34789 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34790 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34791 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34794 * include/sys/time.h (__gettimeofday): Remove macro.
34795 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34796 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34798 (__gettimeofday): Add libc_hidden_def.
34799 (gettimeofday): Add libc_hidden_weak.
34800 * sysdeps/mach/gettimeofday.c: Likewise.
34801 * sysdeps/posix/gettimeofday.c: Likewise.
34802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34803 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34805 (__gettimeofday_internal): Remove strong_alias.
34806 (__gettimeofday): Add libc_hidden_def.
34807 (gettimeofday): Add libc_hidden_weak.
34808 * sysdeps/unix/syscalls.list (gettimeofday):
34809 Remove __gettimeofday_internal alias.
34811 2012-05-24 Daniel Jacobowitz <drow@false.org>
34812 H.J. Lu <hongjiu.lu@intel.com>
34815 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34816 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34817 (largebin_index_32_big): New.
34818 (largebin_index): Use it for 16-byte alignment.
34819 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34820 correction with front_misalign.
34822 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34850 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34851 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34853 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34857 * math/libm-test.inc (exp_test): Add test from bug 14036.
34858 (pow_test): Add test from bug 10846.
34860 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34862 (special_function): Do not include flags in test name.
34863 (parse_args): Likewise.
34864 * sysdeps/i386/fpu/libm-test-ulps: Update.
34865 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34866 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34867 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34870 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34872 * math/libm-test.inc ("Philosophy"): Update comment about
34874 (UNDERFLOW_EXCEPTION): New macro.
34875 (UNDERFLOW_EXCEPTION_OK): Likewise.
34876 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34877 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34878 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34879 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34880 (INVALID_EXCEPTION_OK): Update value.
34881 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34882 (OVERFLOW_EXCEPTION_OK): Likewise.
34883 (IGNORE_ZERO_INF_SIGN): Likewise.
34884 (test_exceptions): Handle underflow exceptions.
34885 (acos_test): Update for underflow exception expectations.
34886 (cexp_test): Likewise.
34887 (clog_test): Likewise.
34888 (clog10_test): Likewise.
34889 (csqrt_test): Likewise.
34890 (ctan_test): Likewise.
34891 (ctanh_test): Likewise.
34892 (exp_test): Likewise.
34893 (exp10_test): Likewise.
34894 (exp2_test): Likewise.
34895 (expm1_test): Likewise.
34896 (fma_test): Likewise.
34897 (j0_test): Likewise.
34898 (jn_test): Likewise.
34899 (nexttoward_test): Likewise.
34900 (pow_test): Likewise.
34901 (scalbn_test): Likewise.
34902 (scalbln_test): Likewise.
34903 (tan_test): Likewise.
34904 (y1_test): Likewise.
34905 * sysdeps/i386/fpu/libm-test-ulps: Update.
34906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34908 2012-05-23 David S. Miller <davem@davemloft.net>
34910 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34911 (__libc_sigaction): Remove unused local variables.
34913 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34915 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34917 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34919 mktime: avoid signed integer overflow
34920 * time/mktime.c (__mktime_internal): Do not mishandle the case
34921 where diff == INT_MIN.
34923 mktime: simplify computation of average
34924 * time/mktime.c (ranged_convert): Use new time_t_avg function
34925 instead of rolling our own (probably-slower) code.
34927 mktime: do not assume signed right shift propagates sign bit
34928 * time/mktime.c (isdst_differ): New static function.
34929 (__mktime_internal): No need to normalize tm_isdst now.
34930 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34933 mktime: merge another wrapv change from gnulib
34934 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34935 from some compilers.
34937 mktime: remove incorrect attempt at unusual arithmetics
34938 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34939 The code didn't really work on such machines anyway.
34940 (TYPE_MINIMUM): Assume two's complement.
34941 (twos_complement_arithmetic): Verify that long_int and time_t
34942 are two's complement (or unsigned, in the latter case).
34944 mktime: check signed shifts on long_int and time_t, too
34945 * time/mktime.c (SHR): Check that shifts work as desired
34946 on the types long_int and time_t too, as SHR is used on
34949 mktime: do not assume 'long' is wide enough
34950 * time/mktime.c (verify): Move decl up.
34951 (long_int): New type.
34952 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34953 to remove assumption in the code that 'long' is wide enough to
34954 store year values. This assumption is not true on x32 and on
34955 some non-glibc platforms.
34957 mktime: merge wrapv change from gnulib
34958 * time/mktime.c (WRAPV): New macro.
34959 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34960 (guess_time_tm, __mktime_internal): Do not assume that signed
34961 integer overflow wraps around; modern compilers generate code
34962 where this assumption is no longer valid.
34964 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34966 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34967 Replace "jmp L(pseudo_end)" with "ret".
34968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34971 2012-05-23 Andreas Jaeger <aj@suse.de>
34973 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34974 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34976 2012-05-23 Andreas Jaeger <aj@suse.de>
34977 Maximilian Attems <max@stro.at>
34979 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34982 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34984 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34985 code so that pseudo_end is just ret and the stack pointer is
34986 correct also for static library in error case.
34988 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34990 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34991 move to syscalls.list.
34992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34997 * manual/install.texi (Running make install): Do not mention Linux
34998 kernel version for which pt_chown is not needed.
34999 (Linux): Do not mention problems with nscd with 2.0 kernels.
35000 * INSTALL: Regenerated.
35002 2012-05-23 Andreas Jaeger <aj@suse.de>
35004 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35005 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35007 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35008 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35009 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35010 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35011 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35012 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35014 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35015 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35016 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35017 * sysdeps/unix/sysv/linux/bits/in.h
35018 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35020 2012-05-22 Roland McGrath <roland@hack.frob.com>
35022 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35023 (PREPARE_VERSION): Just use assert instead, it will be elided
35024 under [NDEBUG] anyway.
35026 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35028 * sysdeps/unix/sysv/linux/Makefile: Include
35029 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35030 (sysdep_routines): Remove sysctl.
35031 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35032 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35033 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35034 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35035 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35037 2012-05-22 Andreas Jaeger <aj@suse.de>
35039 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35040 that pseudo_end is just ret and the stack pointer is correct also
35041 for static library in error case.
35043 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35046 * nss/nsswitch.c (defconfig_entries): New variable.
35047 (__nss_database_lookup): Don't leak defconfig entries.
35048 (nss_parse_service_list): Don't leak on error paths.
35049 (free_database_entries): New function.
35050 (free_defconfig): New function.
35051 (free_mem): Move common code to free_database_entries.
35053 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35055 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35057 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35059 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35060 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35063 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35064 (INTERNAL_SYSCALL_TYPES): Likewise.
35065 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35066 (LOAD_REGS_TYPES_[1-6]): Likewise.
35067 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35068 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35070 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35072 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35073 copysignl for GLIBC_2_0.
35074 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35075 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35077 logbl for GLIBC_2_0.
35078 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35079 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35081 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35086 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35089 * time/mktime.c: Update copyright years.
35091 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35093 mktime: merge comment-quoting-style change from gnulib
35094 * time/mktime.c: Quote 'like this' in comments.
35095 The GNU coding standards suggest that we no longer quote `like this',
35096 as "`" and "'" are typically rendered asymmetrically nowadays.
35097 The typical gnulib style is to quote 'like this' when quoting
35098 code, and "like this" when quoting English.
35100 * time/mktime.c (compile-command): Add "-I.".
35102 mktime: merge mktime-internal.h change from gnulib
35103 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35105 mktime: merge time_r change from gnulib
35106 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35108 mktime: merge DEBUG change from gnulib
35109 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35110 case system <time.h> has a #define.
35112 mktime: merge <sys/types.h> change from gnulib
35113 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35114 since <time.t> is now guaranteed to define time_t.
35116 mktime: merge HAVE_CONFIG_H change from gnulib
35117 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35119 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35121 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35124 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35126 (struct rusage): Use anonymous union to pad each field to
35129 2012-05-21 David S. Miller <davem@davemloft.net>
35131 * Makefules (o-iterator): Remove .s cases.
35132 (compile-command.s): Delete.
35133 (COMPILE.s): Delete.
35134 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35136 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35138 * configure.in (libc_cv_predef_stack_protector): Only consider
35139 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35140 * configure: Regenerated.
35142 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35145 New macro. Use R*LP on int and pointer.
35146 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35147 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35148 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35149 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35151 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35152 [__WORDSIZE_TIME64_COMPAT32] instead of
35153 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35154 (struct utmp): Likewise.
35155 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35156 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35158 (__WORDSIZE_TIME64_COMPAT32): This.
35159 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35160 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35161 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35162 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35163 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35164 (__WORDSIZE_TIME64_COMPAT32): New macro.
35166 2012-05-21 Andreas Jaeger <aj@suse.de>
35168 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35169 only if [SHARED]. Add prototype for __wcschr_ia32.
35171 2012-05-21 Roland McGrath <roland@hack.frob.com>
35173 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35174 of %rbp unmolested in the jmp_buf while mangling the low bits.
35175 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35176 unmolested high bits of %rbp while demangling the low bits.
35177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35179 2012-05-21 Andreas Jaeger <aj@suse.de>
35181 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35182 * sunrpc/svc_simple.c: Use it for registerrpc.
35183 * sunrpc/xcrypt.c: Use it for passwd2des.
35185 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35187 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35189 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35190 Don't define if [__SYSCALL_WORDSIZE != 32].
35191 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35194 2012-05-21 Bruno Haible <bruno@clisp.org>
35195 Andreas Jaeger <aj@suse.de>
35197 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35198 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35199 inptr and inend for must_buffer_ch.
35200 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35201 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35202 * stdio-common/Makefile (tests): Remove bug15.
35203 (bug15-ENV): Remove macro.
35204 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35207 2012-05-19 Andreas Jaeger <aj@suse.de>
35208 Roland McGrath <roland@hack.frob.com>
35210 * manual/contrib.texi: Completely rewritten. It contains now an
35211 alphabetical list of contributors and their contributions.
35213 2012-05-21 Richard Henderson <rth@twiddle.net>
35215 * misc/getauxval.c (__getauxval): Use unsigned long int.
35216 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35217 (getauxval): Use unsigned long int.
35219 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35221 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35223 2012-05-21 Roland McGrath <roland@hack.frob.com>
35225 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35226 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35227 __alignof__ (long double).
35229 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35233 2012-05-20 Richard Henderson <rth@twiddle.net>
35235 * misc/getauxval.c: New file.
35236 * misc/sys/auxv.h: New file.
35237 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35238 (routines): Add getauxval.
35239 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35240 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35241 * elf/dl-sysdep.c (_dl_auxv): Remove.
35242 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35243 * elf/dl-support.c (_dl_auxv): New variable.
35244 (_dl_aux_init): Initialize it.
35245 * manual/startup.texi (Auxiliary Vector): New node.
35246 * sysdeps/generic/bits/hwcap.h: New file.
35247 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35248 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35249 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35250 * sysdeps/sparc/sysdep.h: ... here. Include it.
35251 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35252 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35258 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35264 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35268 2012-05-19 David S. Miller <davem@davemloft.net>
35270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35272 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35275 * math/s_ccosh.c: Include <float.h>
35276 (__ccosh): Avoid internal overflow calculating sinh and cosh
35277 values before multiplying by sin and cos values.
35278 * math/s_ccoshf.c: Likewise.
35279 * math/s_ccoshl.c: Likewise.
35280 * math/s_csin.c: Likewise.
35281 * math/s_csinf.c: Likewise.
35282 * math/s_csinl.c: Likewise.
35283 * math/s_csinh.c: Likewise.
35284 * math/s_csinhf.c: Likewise.
35285 * math/s_csinhl.c: Likewise.
35286 * math/libm-test.inc (ccos_test): Add more tests.
35287 (ccosh_test): Likewise.
35288 (csin_test): Likewise.
35289 (csinh_test): Likewise.
35290 * sysdeps/i386/fpu/libm-test-ulps: Update.
35291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35293 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35295 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35296 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35298 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35300 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35302 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35303 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35304 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35305 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35306 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35307 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35308 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35309 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35310 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35311 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35312 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35313 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35314 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35315 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35316 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35317 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35318 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35319 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35320 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35321 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35322 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35323 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35324 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35325 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35326 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35327 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35328 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35329 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35330 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35331 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35332 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35334 2012-05-18 Andreas Jaeger <aj@suse.de>
35336 * csu/.gitignore: Delete.
35338 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35340 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35341 (timex): Use __syscall_slong_t.
35343 2012-05-18 Andreas Jaeger <aj@suse.de>
35344 Carlos O'Donell <carlos_odonell@mentor.com>
35346 * manual/install.texi (Configuring and compiling): Update
35347 description about files modified in the source directory.
35348 * INSTALL: Regenerated.
35350 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35352 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35353 value. Use "or" to set return value to -1.
35354 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35355 negate return value.
35357 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35359 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35360 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35361 failure if the compiler has Graphite support disabled.
35362 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35364 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35365 (CFLAGS-memmove.c): Likewise.
35366 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35369 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35371 * sysdeps/x86_64/x32/_itoa.h: New file.
35373 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35374 getdents system call only if kernel and user dirents have the
35375 same d_ino and d_off.
35377 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35378 LLONG_MAX != LONG_MAX.
35379 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35380 (_fitoa_word): Likewise.
35382 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35384 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35385 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35386 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35388 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35389 include <bits/wordsize.h>. Check __x86_64__ instead of
35391 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35392 if __x86_64__ is defined. Use anonymous union on fpstate.
35394 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35397 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35399 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35400 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35401 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35402 Refer to _rtld_local_ro instead of _rtld_global_ro.
35403 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35405 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35407 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35409 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35410 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35411 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35413 * sysdeps/powerpc/powerpc32/dl-machine.c
35414 (__elf_machine_runtime_setup) [PROF]: Don't reference
35417 2012-05-18 Andreas Jaeger <aj@suse.de>
35419 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35420 function only available for GCCs before 3.4 since GCC 3.4
35421 introduced a builtin.
35423 (llrintf): Likewise.
35424 (llrint): Likewise.
35431 (nearbyint): Likewise.
35432 (nearbyintf): Likewise.
35436 (floorf): Likewise.
35438 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35440 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35441 on both fields and cast pointer to __syscall_ulong_t.
35443 * bits/types.h (__fsword_t): New type.
35444 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35445 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35446 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35447 (__FSWORD_T_TYPE): Likewise.
35448 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35449 (__FSWORD_T_TYPE): Likewise.
35450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35451 (__FSWORD_T_TYPE): Likewise.
35452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35453 (__FSWORD_T_TYPE): Likewise.
35454 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35455 __SWORD_TYPE with __fsword_t.
35456 (statfs64): Likewise.
35458 2012-05-17 David S. Miller <davem@davemloft.net>
35460 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35462 2012-05-17 Andreas Jaeger <aj@suse.de>
35464 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35467 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35469 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35471 2012-05-17 Andreas Jaeger <aj@suse.de>
35473 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35476 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35478 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35480 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35482 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35483 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35485 2012-05-17 Andreas Jaeger <aj@suse.de>
35486 Carlos O'Donell <carlos_odonell@mentor.com>
35489 * sysdeps/x86_64/multiarch/init-arch.h
35490 (bit_YMM_Usable): Rename to...
35491 (bit_AVX_Usable): ... this.
35492 (bit_FMA4_Usable): New macro.
35493 (bit_XMM_state): New macro.
35494 (bit_YMM_state): New macro.
35495 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35496 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35497 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35498 (CPUID_OSXSAVE): New macro.
35499 (CPUID_AVX): New macro.
35500 (CPUID_FMA4): New macro.
35501 (index_YMM_Usable): Rename to...
35502 (index_AVX_Usable): ... this.
35503 (HAS_AVX): Use HAS_ARCH_FEATURE.
35504 (HAS_FMA4): Likewise.
35505 (HAS_YMM_USABLE): Remove.
35506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35507 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35509 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35510 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35511 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35512 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35513 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35515 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35517 * math/libm-test.c: Support platforms without multiple rounding modes.
35518 * math/bug-nextafter.c: Support platforms without FP exceptions.
35519 * math/bug-nexttoward.c: Likewise.
35520 * math/test-fenv.c: Likewise.
35521 * math/test-misc.c: Likewise.
35522 * stdlib/bug-getcontext.c: Likewise.
35524 2012-05-17 Andreas Jaeger <aj@suse.de>
35526 * manual/examples/search.c (critter_cmp): Change signature to
35528 * manual/string.texi (Collation Functions): Likewise.
35530 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35532 * bits/types.h: Fold copyright years.
35533 * bits/typesizes.h: Likewise.
35534 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35538 * time/time.h: Likewise.
35540 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35543 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35544 in instead of returning them. Return void.
35545 (__libc_mallinfo): Accumulate over all arenas.
35546 (__malloc_stats): Adjust for change in int_mallinfo interface.
35548 2012-05-16 Roland McGrath <roland@hack.frob.com>
35551 * configure.in (NM): Add AC_CHECK_TOOL for it.
35552 (libc_extra_cflags): New substituted variable.
35553 Check for -fstack-protector being used implicitly.
35554 * configure: Regenerated.
35555 * config.make.in (config-extra-cflags): New variable,
35556 gets @libc_extra_cflags@.
35557 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35560 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35561 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35562 * configure: Regenerated.
35563 * config.make.in (CPPUNDEFS): New substituted variable.
35564 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35565 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35566 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35568 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35570 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35571 (mq_attr): Use __syscall_slong_t.
35573 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35575 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35576 Check __x86_64__ instead of __WORDSIZE.
35577 (_STAT_VER_LINUX): Likewise.
35578 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35579 __syscall_ulong_t and __syscall_slong_t.
35580 (stat64): Likewise.
35582 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35584 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35586 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35588 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35590 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35592 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35595 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35596 include <bits/wordsize.h>. Check __x86_64__ instead of
35598 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35600 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35602 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35603 include <bits/wordsize.h>. Check __x86_64__ instead of
35605 (user_regs_struct): Use "__extension__ unsigned long long"
35606 instead of "unsigned long" if __x86_64__ is defined.
35607 (user): Likewise. Pad after pointer field if __ILP32__ is
35610 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35612 * configure.in (makeinfo): Require version 4.5 or later. Allow
35614 * configure: Regenerated.
35615 * manual/install.texi (texinfo): Increase version requirement to
35617 * INSTALL: Regenerated.
35619 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35621 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35623 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35625 * sysdeps/x86_64/x32/ffs.c: New file.
35627 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35629 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35630 defined. Use __syscall_ulong_t.
35631 (shminfo): Use __syscall_ulong_t.
35632 (shm_info): Likewise.
35634 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35637 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35639 (msgqnum_t): Use __syscall_ulong_t.
35640 (msglen_t): Likewise.
35641 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35644 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35645 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35647 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35649 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35650 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35652 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35655 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35656 include <bits/wordsize.h>. Check __x86_64__ instead of
35659 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35660 "unsigned long long int" if __x86_64__ is defined.
35661 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35663 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35665 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35667 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35669 (GET_PC): Cast to uintptr_t first.
35670 (GET_FRAME): Likewise.
35671 (GET_STACK): Likewise.
35673 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35674 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35675 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35676 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35677 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35678 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35679 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35680 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35681 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35682 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35683 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35686 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35687 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35688 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35689 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35690 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35691 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35692 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35693 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35695 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35697 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35699 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35701 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35703 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35705 * Makerules (+depfiles): Also collect depfiles from .oS in
35707 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35708 .oS, $(libnldbl-routines)).
35710 * Makerules (native-compile-mkdep-flags): Define.
35711 * sunrpc/Makefile (extra-objs): Add $(addprefix
35712 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35713 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35714 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35715 calling $(make-target-directory).
35717 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35719 * bits/types.h (__snseconds_t): Removed.
35720 * time/time.h (struct timespec): Replace __snseconds_t with
35722 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35723 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35726 (__SNSECONDS_T_TYPE): Likewise.
35727 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35728 (__SNSECONDS_T_TYPE): Likewise.
35729 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35730 (__SNSECONDS_T_TYPE): Likewise.
35732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35734 * sysdeps/mach/hurd/bits/typesizes.h
35735 (__SYSCALL_SLONG_TYPE): New macro.
35736 (__SYSCALL_ULONG_TYPE): Likewise.
35738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35740 * bits/types.h (__syscall_slong_t): New type.
35741 (__syscall_ulong_t): Likewise.
35743 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35744 (__SYSCALL_ULONG_TYPE): Likewise.
35745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35746 (__SYSCALL_SLONG_TYPE): Likewise.
35747 (__SYSCALL_ULONG_TYPE): Likewise.
35748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35749 (__SYSCALL_SLONG_TYPE): Likewise.
35750 (__SYSCALL_ULONG_TYPE): Likewise.
35751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35752 (__SYSCALL_SLONG_TYPE): Likewise.
35753 (__SYSCALL_ULONG_TYPE): Likewise.
35755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35757 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35758 Add sigaltstack-offsets.sym.
35759 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35760 <sigaltstack-offsets.h>.
35761 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35762 longjmp_msg pointer.
35763 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35764 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35766 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35768 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35770 * elf/stackguard-macros.h: Remove file.
35771 * sysdeps/generic/stackguard-macros.h: New file.
35772 * sysdeps/i386/stackguard-macros.h: Likewise.
35773 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35774 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35775 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35776 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35777 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35778 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35779 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35780 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35781 <elf/stackguard-macros.h>.
35784 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35785 __aligned__ in attribute.
35786 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35787 (gregset_t): Likewise.
35789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35791 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35792 * sysdeps/x86_64/64/Implies-after: Here. New file.
35793 * sysdeps/x86_64/x32/Implies-after: New file.
35795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35797 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35798 and access return value for _dl_profile_fixup. Use R10_LP to
35801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35803 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35807 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35808 * sysdeps/x86_64/x32/sysdep.h: New file.
35810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35812 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35813 * sysdeps/x86_64/setjmp.S: Likewise.
35815 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35817 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35819 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35821 remove unused global constant.
35823 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35825 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35826 include of <not-cancel.h>.
35828 2012-05-15 Roland McGrath <roland@hack.frob.com>
35830 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35832 2012-05-15 Jeff Law <law@redhat.com>
35833 Andreas Jaeger <aj@suse.de>
35836 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35838 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35839 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35840 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35841 code changing __hst_map_handle.map.
35843 2012-05-15 Roland McGrath <roland@hack.frob.com>
35845 * configure.in (sysnames): Look for Implies-before and Implies-after
35847 * configure: Regenerated.
35849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35851 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35852 8-byte data alignment with LP_SIZE alignment.
35854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35856 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35861 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35865 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35866 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35867 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35869 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35873 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35874 (stackinfo_sub_sp): Likewise.
35876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35878 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35888 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35893 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35897 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35898 into R11_LP and load __x86_64_shared_cache_size_half into
35901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35903 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35906 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35914 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35915 powerpc32/power7/fpu/s_logb.c via #include.
35916 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35917 powerpc32/power7/fpu/s_logbf.c via #include.
35918 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35919 powerpc32/power7/fpu/s_logbl.c via #include.
35921 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35923 * README.libm: Remove file.
35925 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35927 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35928 count for x32. Use R*_LP and omit operand-size suffix.
35930 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35932 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35933 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35934 * sysdeps/x86_64/x32/shlib-versions: New file.
35936 2012-05-14 Roland McGrath <roland@hack.frob.com>
35938 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35939 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35940 Use _dl_fatal_printf instead.
35942 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35944 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35945 set if not set by the user. Do not allow for being unset.
35946 * sysdeps/unix/sysv/linux/configure: Regenerated.
35948 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35950 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35951 the `q' suffix from lea and replace .quad with ASM_ADDR.
35953 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35956 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35958 (PTR_DEMANGLE): Likewise.
35960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35962 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35964 (ASM_ADDR): Likewise.
35965 (RAX_LP): Likewise.
35966 (RBP_LP): Likewise.
35967 (RBX_LP): Likewise.
35968 (RCX_LP): Likewise.
35969 (RDI_LP): Likewise.
35970 (RSI_LP): Likewise.
35971 (RSP_LP): Likewise.
35974 (R10_LP): Likewise.
35975 (R10_LP): Likewise.
35976 (R11_LP): Likewise.
35977 (R12_LP): Likewise.
35978 (R13_LP): Likewise.
35979 (R14_LP): Likewise.
35980 (R15_LP): Likewise.
35982 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35984 * sysdeps/x86_64/x32/dl-machine.h: New file.
35986 2012-05-14 Andreas Jaeger <aj@suse.de>
35988 * manual/Makefile (subdir): Remove export of subdir.
35989 (all): Remove target.
35990 (.PHONY): Remove all from list.
35991 (mkinstalldirs): Remove.
35992 (.PHONY): Remove installdirs from list.
35993 ($(inst_infodir)/libc.info): Use make-target-directory.
35994 (installdirs): Remove.
35995 (subdir_%): Remove.
35996 (glibc-targets): Remove.
35999 ($(objpfx)stubs ../po/manual.pot): Remove.
36000 ($(objpfx)stamp%): Remove.
36001 (make-target-directory): Remove.
36002 (subdir_install): Remove.
36003 (routines): Remove.
36010 * manual/.gitignore: Remove, it's not needed anymore.
36011 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36013 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36015 (texis): Renamed to $(objpfx)texis.
36016 (texis-path): New, contains path to generated files.
36017 (chapters.%): Use texis-path for complete path, add extra argument
36019 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36020 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36021 (summary,texi, stamp-summary): Use complete path of
36022 files. Generate files in build dir.
36023 (dir-add.texi): Build in build dir.
36024 (libm-err.texi,stamp-libm-err): Likewise.
36025 (version.texi, stamp-version): Likewise.
36026 (.%c.texi): Likewise.
36027 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36028 (mostlyclean): Remove target.
36029 (realclean): Remove target.
36030 (generated): Add new variable with contents from mostlyclean and
36031 realclean, remove entries duplicated in common-mostlyclean, add
36032 stamp-libm-err and stamp-version.
36033 (generated-dirs): Add libc directory.
36034 ($(inst_infodir)/libc.info): Install files from build dir.
36036 * manual/install.texi (Configuring and compiling): Adjust since
36037 the info files are not part of the tar ball anymore.
36039 2012-05-14 Andreas Jaeger <aj@suse.de>
36041 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36044 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36048 to 2.2.0 where earlier.
36049 * sysdeps/unix/sysv/linux/configure: Regenerated.
36050 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36051 Remove conditional code.
36052 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36053 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36054 Remove conditional code.
36055 [!__NR_lchown]: Likewise.
36056 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36057 [__NR_lchown]: Likewise.
36058 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36059 comment referencing __ASSUME_LCHOWN_SYSCALL.
36060 * sysdeps/unix/sysv/linux/i386/sigaction.c
36061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36063 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36064 Remove conditional code.
36065 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36066 (__protocol_available): Remove #if 0 code.
36067 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36069 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36070 * sysdeps/unix/sysv/linux/kernel-features.h
36071 (__ASSUME_GETCWD_SYSCALL): Don't define.
36072 (__ASSUME_REALTIME_SIGNALS): Likewise.
36073 (__ASSUME_PREAD_SYSCALL): Likewise.
36074 (__ASSUME_PWRITE_SYSCALL): Likewise.
36075 (__ASSUME_POLL_SYSCALL): Likewise.
36076 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36077 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36079 (__ASSUME_SIOCGIFNAME): Don't define.
36080 (__ASSUME_MSG_NOSIGNAL): Likewise.
36081 (__ASSUME_SENDFILE): Define unconditionally.
36082 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36083 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36085 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36086 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36087 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36088 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36089 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36090 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36091 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36093 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36096 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36099 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36102 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36108 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36114 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36116 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36117 Remove conditional code.
36118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36119 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36120 Remove conditional code.
36121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36122 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36123 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36124 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36125 Remove conditional code.
36126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36127 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36128 Remove conditional code.
36129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36130 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36131 Remove conditional code.
36132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36133 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36134 Remove conditional code.
36135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36136 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36137 Remove conditional code.
36138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36139 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36140 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36142 * sysdeps/unix/sysv/linux/sigaction.c
36143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36145 * sysdeps/unix/sysv/linux/sigpending.c
36146 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36147 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36148 * sysdeps/unix/sysv/linux/sigprocmask.c
36149 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36150 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36151 * sysdeps/unix/sysv/linux/sigsuspend.c
36152 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36153 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36154 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36155 (__libc_missing_rt_sigs): Remove.
36156 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36157 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36158 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36159 Remove conditional code.
36160 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36161 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36164 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36165 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36166 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36168 2012-05-14 Andreas Jaeger <aj@suse.de>
36170 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36171 it's not used in glibc.
36172 (__coshm1): Likewise.
36173 (__acosh1p): Likewise.
36176 * manual/string.texi (Copying and Concatenation): Add missing
36177 variable in concat example.
36178 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36184 __builtin_clzl with __builtin_clzll.
36186 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36189 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36192 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36194 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36195 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36196 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36197 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36199 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36201 * NEWS: Update ia64 info.
36203 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36205 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36208 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36210 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36211 * sysdeps/unix/syscalls.list (dup3): Likewise.
36212 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36213 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36215 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36217 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36218 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36220 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36222 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36224 (TLS_IE): Use mov/add instead of movq/addq to load thread
36226 (TLS_GD_PREFIX): New.
36229 2012-05-11 David S. Miller <davem@davemloft.net>
36231 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36232 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36233 (_FPU_SETCW): Likewise.
36235 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36237 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36238 is 32-byte aligned.
36240 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36243 * iconvdata/gb18030.c: Update tables.
36244 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36245 characters specially.
36246 (BODY for TO_LOOP): Add encoding of missing ranges.
36248 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36251 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36252 * sysdeps/mach/hurd/dup3.c: Likewise.
36253 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36254 * sysdeps/powerpc/memmove.c:: Likewise.
36256 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36258 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36259 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36261 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36263 * elf/elf.h (R_X86_64_RELATIVE64): New.
36264 (R_X86_64_NUM): Updated.
36265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36266 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36267 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36268 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36269 tst-quad1pie tst-quad2pie
36270 (modules-names): Add tst-quadmod1 tst-quadmod2.
36271 ($(objpfx)tst-quad1): New dependency.
36272 ($(objpfx)tst-quad2): Likewise.
36273 ($(objpfx)tst-quad1pie): Likewise.
36274 ($(objpfx)tst-quad2pie): Likewise.
36275 * sysdeps/x86_64/tst-quad1.c: New file.
36276 * sysdeps/x86_64/tst-quad1pie.c: New file.
36277 * sysdeps/x86_64/tst-quad2.c: Likewise.
36278 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36279 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36280 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36281 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36282 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36284 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36286 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36287 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36288 * streams/stropts.h (t_scalar_t): Define type.
36290 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36291 (_PATH_PRESERVE): Set to "/var/lib".
36292 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36294 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36297 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36298 if __dir_mkfile succeeded.
36300 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36301 checking for _hurd_dtablesize. Unlock it right after having
36302 finished _hurd_dtable allocation.
36304 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36306 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36307 * sysdeps/mach/hurd/configure: Regenerated.
36308 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36309 special-casing to...
36310 * sysdeps/gnu/configure.in: ... this new file.
36311 * sysdeps/unix/sysv/linux/configure: Regenerated.
36312 * sysdeps/gnu/configure: New generated file.
36314 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36315 for Linux: use nsec instead of usec, as well as:
36316 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36317 members of type struct timespec.
36318 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36320 (struct stat64): Likewise.
36321 (_STATBUF_ST_NSEC): New macro.
36322 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36324 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36325 __strtoul_internal rather than strtoul.
36327 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36329 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36332 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36334 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36335 which preserves existing values.
36336 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36338 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36340 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36341 TIMEOUT values. Return EINVAL for NFDS values either negative or
36342 greater than FD_SETSIZE.
36344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36346 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36347 allocated, call __vm_protect to finish enabling the existing space, and
36348 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36349 allocate the remainder.
36351 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36353 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36354 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36358 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36359 sysdeps/mach/hurd/readlink.c.
36361 * posix/tst-sysconf.c (posix_options): Only use
36362 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36363 _POSIX_SYNCHRONIZED_IO when they are defined
36364 * sysdeps/mach/hurd/bits/posix_opt.h:
36365 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36366 (_XOPEN_REALTIME): Undefine macro.
36367 (_XOPEN_REALTIME_THREADS): Undefine macro.
36368 (_XOPEN_SHM): Undefine macro.
36369 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36371 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36373 (_POSIX_ASYNC_IO): Undefine macro.
36374 (_POSIX_PRIORITIZED_IO): Undefine macro.
36375 (_POSIX_SPIN_LOCKS): Define macro to -1.
36377 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36378 SA_NODEFER, SA_RESETHAND.
36379 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36380 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36383 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36385 * elf/Makefile (pldd-modules): Define unconditionally.
36387 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36389 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36393 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36394 Return ENOENT when name is empty.
36395 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36397 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36399 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36401 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36403 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36405 Fix mlock in all cases except non-readable pages.
36406 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36407 instead of VM_PROT_ALL as parameter to __vm_wire function.
36409 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36410 (__mkdir): When path is `/', just fail with EEXIST.
36411 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36413 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36415 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36416 <sys/uio.h> (for writev).
36417 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36418 and <sys/param.h> (for MIN).
36420 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36422 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36423 REQUESTED_TIME. Properly set the remaining time and return EINTR
36426 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36428 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36429 Depend on against $(link-rpcuserlibs).
36431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36433 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36434 (__libc_stack_end): Do not use attribute_relro.
36435 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36436 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36437 to libthread-provided value.
36438 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36441 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36444 * bits/libc-lock.h (__libc_once_get): New macro.
36445 * sysdeps/mach/bits/libc-lock.h: Likewise.
36446 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36448 instead of using implementation details.
36450 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36451 * libio/freopen.c: Likewise.
36452 * libio/freopen64.c: Likewise.
36453 * misc/syslog.c: Likewise.
36454 * nscd/connections.c: Likewise.
36455 * nscd/netgroupcache.c: Likewise.
36456 * sysdeps/posix/getcwd.c: Likewise.
36458 2012-05-10 Roland McGrath <roland@hack.frob.com>
36460 * math/w_ilogbf.c: Add #include <limits.h>.
36462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36464 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36465 path instead of returning without unlocking.
36467 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36468 immediate-write ioctls.
36469 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36471 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36473 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36474 __builtin_frame_address instead of making assumptions about the
36475 location of the return address relative to DATA. Force early load of
36476 the return address.
36477 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36478 __builtin_frame_address.
36481 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36482 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36483 implement dup3 and do some further code clean-ups.
36484 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36485 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36489 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36491 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36492 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36493 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36494 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36495 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36498 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36499 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36500 when handler == SIG_ERR, not when handler != SIG_ERR.
36502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36504 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36505 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36508 accept4 for GNU Hurd.
36509 * include/sys/socket.h (__libc_accept4): New prototype.
36510 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36511 to implement __libc_accept4.
36512 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36514 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36516 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36517 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36518 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36519 signal-defines.sym.
36521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36523 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36525 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36527 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36528 assertion on O_CLOEXEC flag.
36529 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36530 * hurd/intern-fd.c: Likewise.
36531 * hurd/port2fd.c: Likewise.
36533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36536 * bits/in.h (IPV6_PKTINFO): Define new macro.
36537 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36539 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36544 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36546 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36547 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36549 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36550 * math/libm-test.inc (logb_test) : Additional logb tests.
36552 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36553 Andreas Jaeger <aj@suse.de>
36555 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36556 * configure: Regenerated.
36557 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36558 * config.make.in (link-obsolete-rpc): New substituted variable.
36559 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36560 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36561 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36562 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36563 so that libc.a contains the symbols.
36564 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36565 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36566 * sunrpc/auth_none.c: Likewise.
36567 * sunrpc/auth_unix.c: Likewise.
36568 * sunrpc/authdes_prot.c: Likewise.
36569 * sunrpc/authuxprot.c: Likewise.
36570 * sunrpc/clnt_gen.c: Likewise.
36571 * sunrpc/clnt_perr.c: Likewise.
36572 * sunrpc/clnt_raw.c: Likewise.
36573 * sunrpc/clnt_simp.c: Likewise.
36574 * sunrpc/clnt_tcp.c: Likewise.
36575 * sunrpc/clnt_udp.c: Likewise.
36576 * sunrpc/clnt_unix.c: Likewise.
36577 * sunrpc/des_crypt.c: Likewise.
36578 * sunrpc/des_soft.c: Likewise.
36579 * sunrpc/get_myaddr.c: Likewise.
36580 * sunrpc/key_call.c: Likewise.
36581 * sunrpc/key_prot.c: Likewise.
36582 * sunrpc/netname.c: Likewise.
36583 * sunrpc/pm_getmaps.c: Likewise.
36584 * sunrpc/pm_getport.c: Likewise.
36585 * sunrpc/pmap_clnt.c: Likewise.
36586 * sunrpc/pmap_prot.c: Likewise.
36587 * sunrpc/pmap_prot2.c: Likewise.
36588 * sunrpc/pmap_rmt.c: Likewise.
36589 * sunrpc/publickey.c: Likewise.
36590 * sunrpc/rpc_cmsg.c: Likewise.
36591 * sunrpc/rpc_common.c: Likewise.
36592 * sunrpc/rpc_dtable.c: Likewise.
36593 * sunrpc/rpc_prot.c: Likewise.
36594 * sunrpc/rpc_thread.c: Likewise.
36595 * sunrpc/rtime.c: Likewise.
36596 * sunrpc/svc.c: Likewise.
36597 * sunrpc/svc_auth.c: Likewise.
36598 * sunrpc/svc_raw.c: Likewise.
36599 * sunrpc/svc_run.c: Likewise.
36600 * sunrpc/svc_tcp.c: Likewise.
36601 * sunrpc/svc_udp.c: Likewise.
36602 * sunrpc/svc_unix.c: Likewise.
36603 * sunrpc/svcauth_des.c: Likewise.
36604 * sunrpc/xcrypt.c: Likewise.
36605 * sunrpc/xdr.c: Likewise.
36606 * sunrpc/xdr_array.c: Likewise.
36607 * sunrpc/xdr_float.c: Likewise.
36608 * sunrpc/xdr_intXX_t.c: Likewise.
36609 * sunrpc/xdr_mem.c: Likewise.
36610 * sunrpc/xdr_rec.c: Likewise.
36611 * sunrpc/xdr_ref.c: Likewise.
36612 * sunrpc/xdr_sizeof.c: Likewise.
36613 * sunrpc/xdr_stdio.c: Likewise.
36615 2012-05-10 Roland McGrath <roland@hack.frob.com>
36617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36618 change. Update copyright years.
36620 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36622 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36624 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36625 Joseph Myers <joseph@codesourcery.com>
36626 Paul Pluzhnikov <ppluzhnikov@google.com>
36629 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36631 [cross-compiling] (extra-libs): Likewise.
36632 [cross-compiling] (extra-libs-others): Likewise.
36633 [cross-compiling] (librpcsvc-routines): Likewise.
36634 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36635 [cross-compiling] (omit-deps): Likewise.
36636 (sunrpc-CPPFLAGS): New variable.
36637 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36638 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36639 (cross-rpcgen-objs): New variable.
36640 (extra-objs): Append $(cross-rpcgen-objs).
36641 ($(cross-rpcgen-objs)): New rule.
36642 ($(objpfx)cross-rpcgen): Likewise.
36643 (rpcgen-cmd): Define to use $(built-program-file). Expand
36645 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36646 ($(objpfx)x%.stmp): Likewise.
36647 * sunrpc/proto.h [IS_IN_build] (_): Define.
36648 [IS_IN_build] (_libc_intl_domainname): Likewise.
36650 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36653 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36654 and R_X86_64_TPOFF64.
36656 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36658 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36659 sysdeps/unix/sysv/syscalls.list.
36662 * sysdeps/unix/sysv/syscalls.list: Remove file.
36664 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36667 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36668 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36669 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36670 (__LC_IDENTIFICATION): Make these macros useful in #if
36671 expressions, as required by C99.
36673 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36675 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36676 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36679 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36681 * stdlib/longlong.h: Updated from GCC.
36683 2012-05-09 Andreas Jaeger <aj@suse.de>
36685 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36686 default is first entry.
36687 (run_mode): Set type.
36688 (main): Remove informal message about syslog.
36689 (options): Fix typo.
36692 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36695 (llrintf): Likewise.
36696 (llrint): Likewise.
36699 (nearbyint): Likewise.
36700 (nearbyintf): Likewise.
36702 2012-05-09 Andreas Jaeger <aj@suse.de>
36703 Pedro Alves <palves@redhat.com>
36705 * nscd/nscd.c (run_mode): Use enum.
36706 (main): Cleanup coding style issue.
36708 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36709 Andreas Jaeger <aj@suse.de>
36711 * nscd/nscd.c (go_background): Replaced with...
36712 (run_mode): ... this.
36713 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36714 (options): Add -F --foreground.
36715 (main): Implement it.
36716 (parse_opt): Parse it.
36718 2012-05-09 Andreas Jaeger <aj@suse.de>
36721 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36722 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36723 -Wconversion warning.
36724 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36727 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36729 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36731 (LC_ALL): Use macro-int-constant.
36732 (LC_COLLATE): Likewise.
36733 (LC_CTYPE): Likewise.
36734 (LC_MESSAGES): Likewise.
36735 (LC_MONETARY): Likewise.
36736 (LC_NUMERIC): Likewise.
36737 (LC_TIME): Likewise.
36738 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36739 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36740 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36741 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36743 [C99-based standards] (float_t): Expect type.
36744 [C99-based standards] (double_t): Expect type.
36745 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36747 [C99-based standards] (HUGE_VALL): Likewise.
36748 [C99-based standards] (INFINITY): Likewise.
36749 [C99-based standards] (NAN): Likewise.
36750 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36751 [C99-based standards] (FP_NAN): Likewise.
36752 [C99-based standards] (FP_NORMAL): Likewise.
36753 [C99-based standards] (FP_SUBNORMAL): Likewise.
36754 [C99-based standards] (FP_ZERO): Likewise.
36755 [C99-based standards] (FP_FAST_FMA): Use
36756 optional-macro-int-constant. Specify type. Require == 1.
36757 [C99-based standards] (FP_FAST_FMAF): Likewise.
36758 [C99-based standards] (FP_FAST_FMAL): Likewise.
36759 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36760 [C99-based standards] (FP_ILOGBNAN): Likewise.
36761 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36763 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36764 [C99-based standards] (math_errhandling): Specify type.
36765 [ISO99 || ISO11] (signgam): Do not allow.
36766 [non-C99-based standards] (copysignf): Do not allow.
36767 [non-C99-based standards] (exp2f): Likewise.
36768 [non-C99-based standards] (log2f): Likewise.
36769 [non-C99-based standards] (modff): Allow.
36770 [non-C99-based standards] (erff): Do not allow.
36771 [non-C99-based standards] (erfcf): Likewise.
36772 [non-C99-based standards] (gammaf): Likewise.
36773 [non-C99-based standards] (hypotf): Likewise.
36774 [non-C99-based standards] (j0f): Likewise.
36775 [non-C99-based standards] (j1f): Likewise.
36776 [non-C99-based standards] (jnf): Likewise.
36777 [non-C99-based standards] (lgammaf): Likewise.
36778 [non-C99-based standards] (tgammaf): Likewise.
36779 [non-C99-based standards] (y0f): Likewise.
36780 [non-C99-based standards] (y1f): Likewise.
36781 [non-C99-based standards] (ynf): Likewise.
36782 [non-C99-based standards] (isnanf): Likewise.
36783 [non-C99-based standards] (acoshf): Likewise.
36784 [non-C99-based standards] (asinhf): Likewise.
36785 [non-C99-based standards] (atanhf): Likewise.
36786 [non-C99-based standards] (cbrtf): Likewise.
36787 [non-C99-based standards] (expm1f): Likewise.
36788 [non-C99-based standards] (ilogbf): Likewise.
36789 [non-C99-based standards] (log1pf): Likewise.
36790 [non-C99-based standards] (logbf): Likewise.
36791 [non-C99-based standards] (nextafterf): Likewise.
36792 [non-C99-based standards] (remainderf): Likewise.
36793 [non-C99-based standards] (rintf): Likewise.
36794 [non-C99-based standards] (scalbf): Likewise.
36795 [non-C99-based standards] (copysignl): Likewise.
36796 [non-C99-based standards] (exp2l): Likewise.
36797 [non-C99-based standards] (log2l): Likewise.
36798 [non-C99-based standards] (modfl): Allow.
36799 [non-C99-based standards] (erfl): Do not allow.
36800 [non-C99-based standards] (erfcl): Likewise.
36801 [non-C99-based standards] (gammal): Likewise.
36802 [non-C99-based standards] (hypotl): Likewise.
36803 [non-C99-based standards] (j0l): Likewise.
36804 [non-C99-based standards] (j1l): Likewise.
36805 [non-C99-based standards] (jnl): Likewise.
36806 [non-C99-based standards] (lgammal): Likewise.
36807 [non-C99-based standards] (tgammal): Likewise.
36808 [non-C99-based standards] (y0l): Likewise.
36809 [non-C99-based standards] (y1l): Likewise.
36810 [non-C99-based standards] (ynl): Likewise.
36811 [non-C99-based standards] (isnanl): Likewise.
36812 [non-C99-based standards] (acoshl): Likewise.
36813 [non-C99-based standards] (asinhl): Likewise.
36814 [non-C99-based standards] (atanhl): Likewise.
36815 [non-C99-based standards] (cbrtl): Likewise.
36816 [non-C99-based standards] (expm1l): Likewise.
36817 [non-C99-based standards] (ilogbl): Likewise.
36818 [non-C99-based standards] (log1pl): Likewise.
36819 [non-C99-based standards] (logbl): Likewise.
36820 [non-C99-based standards] (nextafterl): Likewise.
36821 [non-C99-based standards] (remainderl): Likewise.
36822 [non-C99-based standards] (rintl): Likewise.
36823 [non-C99-based standards] (scalbl): Likewise.
36824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36825 [non-C99-based standards] (FP_*): Do not allow.
36826 [C99-based standards] (FP_*): Change to
36827 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36828 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36830 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36831 (SIG_ERR): Likewise.
36832 [X/Open-based standards] (SIG_HOLD): Likewise.
36833 (SIG_IGN): Likewise.
36834 (SIGABRT): Use macro-int-constant. Specify type. Require
36836 (SIGFPE): Likewise.
36837 (SIGILL): Likewise.
36838 (SIGINT): Likewise.
36839 (SIGSEGV): Likewise.
36840 (SIGTER): Likewise.
36841 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36842 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36843 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36844 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36845 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36846 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36847 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36848 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36849 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36850 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36851 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36852 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36853 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36854 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36855 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36856 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36857 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36858 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36859 [X/Open-based standards] (SIGTRAP): Likewise.
36860 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36861 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36862 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36863 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36864 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36867 2012-05-08 Ian Wienand <ianw@vmware.com>
36870 * time/tzset.c (__tzset_parse_tz): Update default rules for
36871 daylight time changes in the Energy Policy Act of 2005.
36873 2012-05-09 Andreas Jaeger <aj@suse.de>
36876 * elf/ldconfig.c (parse_conf): Change string to make clear that
36877 ldconfig only issued a warning if ld.so.conf does not exist.
36879 2012-05-08 David S. Miller <davem@davemloft.net>
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36882 movxtod instead of popping the value on the stack.
36884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36886 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36888 * config.h.in: Add HAVE_ARM_PCS_VFP.
36890 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36893 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36894 checking but the checks are disabled for any reason.
36896 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36898 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36899 and ELF64_R_TYPE with ELFW(R_TYPE).
36901 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36903 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36904 (ulimit): Likewise.
36906 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36907 (settimeofday): Likewise.
36909 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36911 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36912 a struct th_u2 inside the union, and move tu_block/tu_code into
36913 a new th_u3 union of tu_block/tu_code inside of that. Move
36914 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36915 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36916 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36917 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36918 (th_stuff): Change to th_u1.tu_stuff.
36920 (th_msg): Change to th_u1.th_u2.tu_data.
36922 2012-05-07 David S. Miller <davem@davemloft.net>
36924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36927 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36928 (SETUP_PIC_REG): Use it.
36929 (SETUP_PIC_REG_LEAF): Use it.
36931 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36935 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36937 (EXPL_FINITE): Likewise.
36938 (FLDLOG): Likewise.
36939 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36940 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36942 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36944 (EXPL_FINITE): Likewise.
36945 (FLDLOG): Likewise.
36946 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36947 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36949 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36950 test of -max_value argument for long double.
36951 * sysdeps/i386/fpu/libm-test-ulps: Update.
36952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36954 2012-05-06 David S. Miller <davem@davemloft.net>
36956 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36957 quad soft-float symbols whose references which are compiler
36959 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36961 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36965 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36967 (EXPL_FINITE): Likewise.
36968 (FLDLOG): Likewise.
36971 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36972 Adjust comments for base varying.
36973 (__expl_finite): Change alias to EXPL_FINITE.
36974 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36976 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36977 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36978 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36979 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36980 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36982 (EXPL_FINITE): Likewise.
36983 (FLDLOG): Likewise.
36986 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36987 Adjust comments for base varying.
36988 (__expl_finite): Change alias to EXPL_FINITE.
36989 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36994 * math/libm-test.inc (check_float_internal): Correct ulp
36995 calculation for subnormal expected results.
36997 2012-05-06 Andreas Jaeger <aj@suse.de>
36999 * Makeconfig (+math-flags): New, set to -frounding-math.
37000 (+cflags): Add +math-flags so that all of glibc gets compiled with
37003 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37005 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37007 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37013 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37014 (__ieee754_expl): Allow for and saturate large arguments.
37015 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37016 (u_threshold): Likewise.
37017 (__exp): Call __ieee754_exp before checking for overflow and
37019 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37020 (u_threshold): Likewise.
37021 (__expf): Call __ieee754_expf before checking for overflow and
37023 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37024 (u_threshold): Likewise.
37025 (__expl): Call __ieee754_expl before checking for overflow and
37027 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37028 (__ieee754_expl): Allow for and saturate large arguments.
37029 * math/libm-test.inc (exp_test): Add another test. Do not allow
37030 missing overflow exception on overflow.
37031 (expm1_test): Do not allow missing overflow exception on overflow.
37033 * sysdeps/i386/fpu/e_expl.c: Move to ...
37034 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37035 rather than using inline asm.
37036 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37037 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37038 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37040 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37043 (signal): Likewise.
37047 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37049 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37050 sysdeps/unix/common/syscalls.list.
37051 (fchmod): Likewise.
37052 (fchown): Likewise.
37053 (ftruncate): Likewise.
37054 (getrusage): Likewise.
37055 (gettimeofday): Likewise.
37056 (setpgid): Likewise.
37057 (setregid): Likewise.
37058 (setreuid): Likewise.
37059 (sigaction): Likewise.
37060 (truncate): Likewise.
37061 (vhangup): Likewise.
37062 * sysdeps/unix/common/syscalls.list: Remove file.
37063 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37064 * sysdeps/unix/sysv/linux/Implies: Likewise.
37066 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37068 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37070 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37074 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37077 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37080 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37083 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37086 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37089 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37092 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37096 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37100 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37103 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37107 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37111 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37113 * sysdeps/unix/common/bits/dirent.h: Remove file.
37114 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37116 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37117 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37118 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37119 * sysdeps/unix/bsd/isatty.c: Likewise.
37120 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37121 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37122 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37124 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37127 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37128 long double comparison inaccuracies.
37129 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37132 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37134 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37135 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37137 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37140 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37141 nonzero digits before rounding a hex value.
37142 * stdlib/tst-strtod.c (tests): Add another test.
37144 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37146 * sysdeps/s390/fpu/libm-test-ulps: Update.
37148 2012-05-03 Andreas Jaeger <aj@suse.de>
37150 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37151 does not get optimized out.
37152 (malloc_opt_barrier): New.
37154 2012-05-03 Andreas Jaeger <aj@suse.de>
37155 Roland McGrath <roland@hack.frob.com>
37157 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37158 intermediate file deletion.
37159 (generated): Add .symlist files.
37161 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37164 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37165 Redirect under this condition.
37166 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37167 [__USE_GNU] (__dprintf_chk): Not under this condition.
37168 [__USE_GNU] (__vdprintf_chk): Likewise.
37169 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37170 under this condition.
37171 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37172 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37173 [__USE_XOPEN2K8] (vdprintf): Likewise.
37174 [__USE_GNU] (__dprintf_chk): Not under this condition.
37175 [__USE_GNU] (__vdprintf_chk): Likewise.
37176 [__USE_GNU] (dprintf): Likewise.
37177 [__USE_GNU] (vdprintf): Likewise.
37179 2012-05-03 Roland McGrath <roland@hack.frob.com>
37181 * elf/Makefile (common-generated): Set this instead of generated for
37182 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37183 $(all-built-dso)-derived lists.
37185 2012-05-03 Andreas Jaeger <aj@suse.de>
37187 * sysdeps/i386/fpu/libm-test-ulps: Update.
37190 * FAQ.in: Likewise.
37191 * scripts/gen-FAQ.pl: Likewise.
37192 * manual/install.texi (Installation): Point to online location of
37194 * Makefile (files-for-dist): Remove FAQ.
37197 2012-05-02 Allan McRae <allan@archlinux.org>
37199 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37200 (LDFLAGS-reldepmod5.so): Likewise.
37201 (LDFLAGS-reldep6mod1.so): Likewise.
37202 (LDFLAGS-reldep6mod4.so): Likewise.
37203 (LDFLAGS-reldep8mod3.so): Likewise.
37204 (LDFLAGS-unload4mod1.so): Likewise.
37205 (LDFLAGS-unload4mod2.so): Likewise.
37206 (LDFLAGS-tst-initorder): Likewise.
37207 (LDFLAGS-tst-initordera2.so): Likewise.
37208 (LDFLAGS-tst-initordera3.so): Likewise.
37209 (LDFLAGS-tst-initordera4.so): Likewise.
37210 (LDFLAGS-tst-initorderb2.so): Likewise.
37211 (LDFLAGS-noload): Likewise.
37212 (LDFLAGS-next): Likewise.
37213 (LDFLAGS-order2mod1.so): Likewise.
37214 (LDFLAGS-order2mod2.so): Likewise.
37215 (LDFLAGS-tst-initorder2): Likewise.
37216 (LDFLAGS-tst-initorder2a.so): Likewise.
37217 (LDFLAGS-tst-initorder2b.so): Likewise.
37218 (LDFLAGS-tst-initorder2c.so): Likewise.
37219 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37221 2012-05-02 David S. Miller <davem@davemloft.net>
37223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37225 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37228 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37230 2012-05-02 Andreas Jaeger <aj@suse.de>
37232 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37233 since we manipulate rounding mode.
37234 (CPPFLAGS-test-idouble.c): Likewise.
37235 (CPPFLAGS-test-ifloat.c): Likewise.
37236 (CFLAGS-test-ldouble.c): Likewise.
37237 (CFLAGS-test-double.c): Likewise.
37238 (CFLAGS-test-float.c): Likewise.
37239 (CFLAGS-test-misc.c): Likewise.
37240 (CFLAGS-test-test-fenv.c): Likewise.
37242 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37246 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37247 comparisons to determine direction to adjust input.
37249 2012-05-01 Roland McGrath <roland@hack.frob.com>
37251 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37252 output to the target.
37254 * scripts/localplt.awk: New file.
37255 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37256 (check-localplt-CFLAGS): Variable removed.
37257 ($(all-built-dso:=.jmprel)): New static pattern rule.
37258 (generated): Add those targets.
37259 (localplt-built-dso): New variable.
37260 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37262 * elf/check-localplt.c: File removed.
37264 * scripts/check-execstack.awk: New file.
37265 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37266 (check-execstack-CFLAGS): Variable removed.
37267 ($(objpfx)check-execstack.h): Target removed.
37268 ($(objpfx)execstack-default): New target.
37269 (generated): Add that instead of check-execstack.h.
37270 ($(all-built-dso:=.phdr)): New static pattern rule.
37271 (generated): Add those targets.
37272 * elf/check-execstack.c: File removed.
37274 * scripts/check-textrel.awk: New file.
37275 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37276 (check-textrel-CFLAGS): Variable removed.
37277 (all-built-dso): Use := to define.o
37278 ($(all-built-dso:=.dyn)): New static pattern rule.
37279 (generated): Add those targets.
37280 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37281 * config.make.in (READELF): New substituted variable.
37282 * elf/check-textrel.c: File removed.
37284 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37286 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37288 * conform/data/ctype.h-data [C99-based standards] (isblank):
37290 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37291 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37293 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37294 Specify type. Require positive value.
37295 (EILSEQ): Likewise.
37296 (ERANGE): Likewise.
37297 [ISO || POSIX] (EILSEQ): Do not expect.
37298 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37299 Specify type. Require positive value.
37300 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37301 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37302 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37303 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37304 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37305 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37306 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37307 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37308 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37309 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37310 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37311 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37312 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37313 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37314 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37315 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37316 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37317 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37318 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37319 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37320 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37321 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37322 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37323 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37324 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37325 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37326 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37327 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37328 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37329 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37330 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37331 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37332 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37333 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37334 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37335 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37336 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37337 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37338 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37339 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37340 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37341 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37342 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37343 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37344 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37345 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37346 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37347 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37348 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37349 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37350 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37351 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37352 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37353 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37354 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37355 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37356 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37357 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37358 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37359 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37360 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37361 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37362 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37363 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37364 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37365 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37366 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37367 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37368 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37369 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37370 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37371 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37372 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37373 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37374 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37375 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37376 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37378 (FLT_ROUNDS): Expect as macro, not constant.
37379 (FLT_MANT_DIG): Use macro-int-constant.
37380 (DBL_MANT_DIG): Likewise.
37381 (LDBL_MANT_DIG): Likewise.
37382 (FLT_DIG): Likewise.
37383 (DBL_DIG): Likewise.
37384 (LDBL_DIG): Likewise.
37385 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37386 (DBL_MIN_EXP): Likewise.
37387 (LDBL_MIN_EXP): Likewise.
37388 (FLT_MAX_EXP): Use macro-int-constant.
37389 (DBL_MAX_EXP): Likewise.
37390 (LDBL_MAX_EXP): Likewise.
37391 (FLT_MAX_10_EXP): Likewise.
37392 (DBL_MAX_10_EXP): Likewise.
37393 (LDBL_MAX_10_EXP): Likewise.
37394 (FLT_MAX): Use macro-constant.
37395 (DBL_MAX): Likewise.
37396 (LDBL_MAX): Likewise.
37397 (FLT_EPSILON): Use macro-constant. Give upper bound.
37398 (DBL_EPSILON): Likewise.
37399 (LDBL_EPSILON): Likewise.
37400 (FLT_MIN): Likewise.
37401 (DBL_MIN): Likewise.
37402 (LDBL_MIN): Likewise.
37403 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37404 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37405 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37406 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37407 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37408 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37409 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37410 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37411 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37412 [ISO11] (FLT_TRUE_MIN): Likewise.
37413 [ISO11] (LDBL_TRUE_MIN): Likewise.
37414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37415 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37416 (SCHAR_MIN): Use macro-int-constant. Specify type.
37417 (SCHAR_MAX): Likewise.
37418 (UCHAR_MAX): Likewise.
37419 (CHAR_MIN): Likewise.
37420 (CHAR_MAX): Likewise.
37421 (MB_LEN_MAX): Use macro-int-constant.
37422 (SHRT_MIN): Use macro-int-constant. Specify type.
37423 (SHRT_MAX): Likewise.
37424 (USHRT_MAX): Likewise.
37425 (INT_MAX): Likewise.
37426 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37428 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37430 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37432 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37433 bound negative. Suffix upper bound with "L".
37434 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37436 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37438 [C99-based standards] (LLONG_MAX): Likewise.
37439 [C99-based standards] (ULLONG_MAX): Likewise.
37440 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37442 [ISO11] (max_align_t): Require type.
37443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37445 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37446 from $CFLAGS, without defining away __attribute__ calls.
37447 (checknamespace): Use $CFLAGS_namespace.
37449 * conform/conformtest.pl (@keywords): Only include C99 keywords
37450 for standards based on C99 or C11.
37452 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37454 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37457 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37458 usability of symbols in #if.
37460 * conform/conformtest.pl: If macro or constant types start
37461 "promoted:", expect the symbol to be of the following type
37462 promoted by the integer promotions.
37464 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37465 in one place. Also handle "macro-constant".
37467 * conform/conformtest.pl: Only accept expected macro values with
37468 "==". Parse all "macro" lines in one place.
37469 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37471 * conform/conformtest.pl: Handle braced types on "constant" lines
37472 instead of handling "typed-constant".
37473 * conform/data/signal.h-data: Use "constant" instead of
37476 * conform/conformtest.pl: Handle "optional-" at start of lines in
37477 one place rather than duplicating several cases. Handle each
37478 format of "macro" line with initial "optional-".
37480 * conform/conformtest.pl: Only accept expected constant or
37481 optional-constant values with "==". Parse all "constant" lines in
37482 one place. Parse all "optional-constant" lines in one place.
37483 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37484 * conform/data/fmtmsg.h-data: Likewise.
37485 * conform/data/netinet/in.h-data: Likewise.
37486 * conform/data/tar.h-data: Likewise.
37487 * conform/data/limits.h-data: Use "==" form on "constant" and
37488 "optional-constant" lines.
37490 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37491 Use -std=c99 for XOPEN2K.
37492 (@knownproblems): Remove.
37493 (newtoken): Don't check %isknown.
37495 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37496 Do not expect macro.
37497 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37498 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37499 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37500 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37501 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37502 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37503 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37504 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37505 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37506 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37507 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37508 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37509 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37510 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37511 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37512 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37513 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37514 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37515 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37516 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37517 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37518 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37519 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37520 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37521 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37522 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37523 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37524 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37525 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37526 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37527 [XPG3] (acosh): Likewise.
37528 [XPG3] (asinh): Likewise.
37529 [XPG3] (atanh): Likewise.
37530 [XPG3] (cbrt): Likewise.
37531 [XPG3] (expm1): Likewise.
37532 [XPG3] (ilogb): Likewise.
37533 [XPG3] (log1p): Likewise.
37534 [XPG3] (logb): Likewise.
37535 [XPG3] (nextafter): Likewise.
37536 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37537 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37538 [XPG3] (remainder): Likewise.
37539 [XPG3] (rint): Likewise.
37540 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37541 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37542 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37543 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37544 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37545 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37546 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37547 [UNIX98 || XOPEN2K] (scalb): Expect.
37548 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37549 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37550 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37551 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37552 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37553 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37554 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37555 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37556 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37557 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37558 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37559 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37560 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37561 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37562 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37563 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37564 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37565 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37566 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37567 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37568 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37569 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37570 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37571 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37572 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37573 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37574 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37575 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37576 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37577 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37578 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37579 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37580 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37581 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37582 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37583 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37584 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37585 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37586 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37587 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37588 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37589 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37590 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37591 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37592 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37593 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37594 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37595 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37596 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37597 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37598 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37599 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37600 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37601 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37602 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37603 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37604 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37605 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37606 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37607 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37608 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37609 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37610 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37611 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37612 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37613 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37614 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37615 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37616 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37617 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37618 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37619 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37620 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37621 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37622 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37623 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37624 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37625 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37626 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37627 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37628 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37629 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37630 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37631 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37632 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37633 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37634 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37635 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37636 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37637 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37638 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37639 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37640 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37641 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37642 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37643 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37644 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37645 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37646 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37647 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37648 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37649 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37650 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37651 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37652 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37653 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37654 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37655 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37656 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37657 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37658 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37659 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37660 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37661 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37662 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37663 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37664 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37665 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37666 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37667 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37668 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37669 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37670 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37671 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37672 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37673 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37674 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37675 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37676 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37677 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37678 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37679 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37680 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37681 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37682 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37683 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37684 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37686 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37687 _XOPEN_SOURCE_EXTENDED for XPG4.
37689 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37691 * Makeconfig (localtime): Remove variable.
37692 (inst_localtime-file): Likewise.
37694 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37715 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37719 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37720 comparisons to determine direction to adjust input.
37721 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37722 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37725 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37727 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37729 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37730 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37732 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37734 * math/libm-test.inc (nexttoward_test): Add more tests.
37736 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37739 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37740 in version GLIBC_2.1, not GLIBC_2.0.
37741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37744 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37747 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37749 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37750 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37751 * math/libm-test.inc (acos_test): Add more tests.
37752 (asin_test): Likewise.
37753 * sysdeps/i386/fpu/libm-test-ulps: Update.
37754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37757 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37759 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37760 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37761 * math/libm-test.inc (acos_test_tonearest): New function.
37762 (acos_test_towardzero): Likewise.
37763 (acos_test_downward): Likewise.
37764 (acos_test_upward): Likewise.
37765 (asin_test_tonearest): Likewise.
37766 (asin_test_towardzero): Likewise.
37767 (asin_test_downward): Likewise.
37768 (asin_test_upward): Likewise.
37769 (main): Call the new functions.
37770 * sysdeps/i386/fpu/libm-test-ulps: Update.
37771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37775 * math/e_exp10.c: Include <float.h>.
37776 (__ieee754_exp10): Handle underflow here rather than multiplying
37777 large negative argument by M_LN10.
37778 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37780 * math/e_exp10l.c: Include <float.h>.
37781 (__ieee754_exp10l): Handle underflow here rather than multiplying
37782 large negative argument by M_LN10l.
37783 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37784 spurious overflow exception on underflow.
37786 2012-04-29 Marek Polacek <polacek@redhat.com>
37788 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37789 (__fortify_function): New macro.
37790 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37791 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37792 __extern_always_inline.
37793 * libio/bits/stdio2.h: Likewise.
37794 * libio/bits/stdio.h: Likewise.
37795 * string/string.h: Likewise.
37796 * string/bits/string3.h: Likewise.
37797 * include/stdio.h: Likewise.
37798 * stdlib/bits/stdlib.h: Likewise.
37799 * stdlib/stdlib.h: Likewise.
37800 * rt/bits/mqueue2.h: Likewise.
37801 * rt/mqueue.h: Likewise.
37802 * posix/bits/unistd.h: Likewise.
37803 * posix/unistd.h: Likewise.
37804 * io/bits/poll2.h: Likewise.
37805 * io/bits/fcntl2.h: Likewise.
37806 * io/fcntl.h: Likewise.
37807 * io/sys/poll.h: Likewise.
37808 * misc/bits/syslog.h: Likewise.
37809 * misc/bits/syslog-ldbl.h: Likewise.
37810 * misc/sys/syslog.h: Likewise.
37811 * socket/bits/socket2.h: Likewise.
37812 * socket/sys/socket.h: Likewise.
37813 * debug/tst-chk1.c: Likewise.
37814 * wcsmbs/bits/wchar2.h: Likewise.
37815 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37816 * wcsmbs/wchar.h: Likewise.
37818 2012-04-29 Andreas Jaeger <aj@suse.de>
37820 * Makerules (tests): Remove enable-check-abi protection.
37821 (check-abi-warn): Remove.
37822 (check-abi-%): Remove check-abi-warn usage.
37824 * configure.in: Remove check-abi configure option.
37825 * configure: Regenerated.
37826 * config.make.in (enable-check-abi): Remove.
37828 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37831 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37832 double functions to double *_finite functions.
37835 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37836 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37838 * stdio-common/Makefile (tests): Add tst-sprintf3.
37839 * stdio-common/tst-sprintf3.c: New file.
37841 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37842 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37844 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37846 * conform/conformtest.pl: Remove duplicate typed-constant
37849 2012-04-28 David S. Miller <davem@davemloft.net>
37851 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37852 (check-abi-%): Remove AWK script prerequisite and explicit
37854 (check-abi): Rewrite to just diff the symlist with the abilist.
37855 (config-tls, config-abi-config): Delete, no longer used.
37856 (update-abi-%): Remove AWK script and explicit abilist directory.
37857 (update-abi): Rewrite to simply compare and conditionally copy the
37858 symlist and the sysdep abilist file. Remove update-abi-config
37860 * abilist/ld.abilist: Remove.
37861 * abilist/libBrokenLocale.abilist: Remove.
37862 * abilist/libanl.abilist: Remove.
37863 * abilist/libcrypt.abilist: Remove.
37864 * abilist/libdl.abilist: Remove.
37865 * abilist/librt.abilist: Remove.
37866 * abilist/libthread_db.abilist: Remove.
37867 * abilist/libutil.abilist: Remove.
37868 * scripts/extract-abilist.awk: Remove.
37869 * scripts/merge-abilist.awk: Remove.
37870 * sysdeps/generic/libcidn.abilist: New file.
37871 * sysdeps/generic/libnss_compat.abilist: New file.
37872 * sysdeps/generic/libnss_db.abilist: New file.
37873 * sysdeps/generic/libnss_dns.abilist: New file.
37874 * sysdeps/generic/libnss_files.abilist: New file.
37875 * sysdeps/generic/libnss_hesiod.abilist: New file.
37876 * sysdeps/generic/libnss_nis.abilist: New file.
37877 * sysdeps/generic/libnss_nisplus.abilist: New file.
37878 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37879 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37880 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37882 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37883 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37884 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37885 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37886 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37887 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37888 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37889 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37890 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37892 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37893 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37894 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37895 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37897 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37898 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37899 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37900 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37901 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37902 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37904 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37905 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37906 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37908 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38011 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38012 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38013 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38015 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38016 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38017 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38018 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38019 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38020 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38021 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38022 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38023 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38024 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38076 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38078 * conform/conformtest.pl: Fix typo in handling typed-constant from
38081 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38083 * README: Cut down references to pre-2.6 Linux kernels and
38084 Linuxthreads. Update lists of configurations in libc and ports
38085 and sort alphabetically. Say "or newer" with Linux kernel version
38088 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38090 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38093 * math/libm-test.inc (logb_test_downward): New test to expose
38094 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38097 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38100 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38102 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38103 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38105 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38107 * sysdeps/unix/i386/brk.S: Remove file.
38108 * sysdeps/unix/i386/dl-brk.S: Likewise.
38109 * sysdeps/unix/i386/pipe.S: Likewise.
38110 * sysdeps/unix/i386/sigreturn.S: Likewise.
38111 * sysdeps/unix/i386/syscall.S: Likewise.
38112 * sysdeps/unix/i386/vfork.S: Likewise.
38113 * sysdeps/unix/i386/wait.S: Likewise.
38115 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38116 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38118 * configure.in (arm*-none*): Do not allow without
38119 --enable-hacker-mode.
38120 (netbsd*): Remove case setting base_os.
38121 (386bsd*): Likewise.
38122 (freebsd*): Likewise.
38125 (sunos*): Likewise.
38126 (ultrix*): Likewise.
38127 (newsos*): Likewise.
38128 (dynix*): Likewise.
38134 (minix*): Likewise.
38135 (irix4*): Likewise.
38136 (irix6*): Likewise.
38137 (solaris[2-9]*): Likewise.
38139 * configure: Regenerated.
38141 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38144 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38145 overflow or cancellation in calculating denominator.
38146 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38147 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38148 down expression to avoid unexpected rounding in newer GCCs.
38149 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38151 2012-04-26 David S. Miller <davem@davemloft.net>
38153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38154 long-double compat symbols.
38155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38169 2012-04-25 David S. Miller <davem@davemloft.net>
38171 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38172 HWCAP_* values only after the memory barriers have been defined.
38173 (atomic_full_barrier): Define.
38174 (atomic_read_barrier): Define.
38175 (atomic_write_barrier): Define.
38177 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38179 * shlib-versions: Add libgcc_s version information.
38180 * sysdeps/generic/libgcc_s.h: Remove.
38181 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38183 * sysdeps/gnu/unwind-resume.c: Likewise.
38184 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38186 2012-04-25 David S. Miller <davem@davemloft.net>
38188 * sysdeps/unix/sparc/brk.S: Delete.
38189 * sysdeps/unix/sparc/dl-brk.S: Delete.
38190 * sysdeps/unix/sparc/pipe.S: Delete.
38191 * sysdeps/unix/sparc/sysdep.S: Delete.
38192 * sysdeps/unix/sparc/sysdep.h: Delete.
38193 * sysdeps/unix/sparc/vfork.S: Delete.
38194 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38195 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38196 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38197 (ret_ERRVAL, r0, r1, MOVE): Define.
38198 (JUMPTARGET): Remove.
38199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38200 sysdeps/unix/sparc/sysdep.h
38201 (ENTRY, END): Remove.
38202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38204 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38206 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38207 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38210 * timezone/README: Update upstream location and email address for
38212 * timezone/zdump.c: Update from tzcode 2012b.
38213 * timezone/zic.c: Likewise.
38215 * configure.in (libc_cv_as_needed): Remove test.
38216 * configure: Regenerated.
38217 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38218 conditional definition.
38219 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38220 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38221 * config.make.in (have-as-needed): Remove variable.
38223 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38224 Paul Pluzhnikov <ppluzhnikov@google.com>
38226 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38229 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38231 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38232 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38233 * sysdeps/sh/strlen.S: Likewise.
38235 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38237 * sysdeps/unix/fork.S: Remove file.
38238 * sysdeps/unix/i386/fork.S: Likewise.
38239 * sysdeps/unix/sparc/fork.S: Likewise.
38241 * sysdeps/unix/system.c: Remove file.
38242 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38244 * sysdeps/unix/getegid.S: Remove file.
38245 * sysdeps/unix/geteuid.S: Likewise.
38247 2012-04-24 Roland McGrath <roland@hack.frob.com>
38249 * scripts/check-localplt.awk: New file.
38250 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38252 * scripts/data/localplt-generic.data: Add a comment.
38254 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38255 NODE when __dir_mkfile failed.
38256 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38257 Reported by Ludovic Courtès <ludo@gnu.org>.
38259 2012-04-24 Andreas Jaeger <aj@suse.de>
38261 * Makerules (common-clean): Also remove gen-as-const-headers
38264 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38266 * Makerules (native-compile): Do not change working directory for
38267 build. Use $(OUTPUT_OPTION) in command.
38268 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38270 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38273 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38274 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38275 * math/libm-test.inc (floor_test): Add more tests.
38276 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38278 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38280 * sysdeps/unix/getdents.c: Remove file.
38281 * sysdeps/unix/sysv/getdents.c: Likewise.
38282 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38284 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38285 sysdeps/unix/mman/syscalls.list.
38287 (mprotect): Likewise.
38289 (munmap): Likewise.
38290 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38291 * sysdeps/unix/mman/syscalls.list: Remove.
38292 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38294 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38295 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38296 * configure: Regenerated.
38297 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38298 $(libgcc_s_suffix).
38299 * config.make.in (libgcc_s_suffix): Remove variable.
38301 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38303 * sysdeps/unix/sysv/gethostname.c: Move to ...
38304 * sysdeps/posix/gethostname.c: ... here.
38306 * sysdeps/unix/execve.S: Remove file.
38308 * sysdeps/unix/_exit.S: Remove file.
38310 2012-04-23 Andreas Jaeger <aj@suse.de>
38313 * manual/Makefile: Remove make dist support, there's no
38314 need for a stand-alone documentation tar ball.
38315 (TEXI2DVI): Define always, it's not in Makeconfig.
38318 (edition): Removed.
38319 (glibc-doc-$(edition).tar): Removed
38323 (ETAGS): Remove, it's in Makeconfig.
38324 (move-if-change): Remove, it's in Makeconfig.
38326 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38329 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38330 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38331 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38332 (strtod_l, strtof_l, strtold_l): Remove __wur.
38333 It is not necessarily an error to ignore strtol's return value.
38334 One can reliably look at the stored endptr to decide whether
38335 the number had valid syntax.
38337 2012-04-21 Andreas Jaeger <aj@suse.de>
38340 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38342 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38344 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38345 * sysdeps/unix/sysv/Versions: Remove file.
38347 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38352 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38355 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38356 version from __vm86.
38358 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38360 * sysdeps/unix/common/lxstat.c: Remove file.
38361 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38363 * sysdeps/unix/sysv/Makefile: Remove file.
38365 * sysdeps/unix/sysv/direct.h: Remove file.
38367 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38368 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38369 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38370 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38371 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38372 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38373 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38375 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38377 * sysdeps/unix/xmknod.c: Remove file.
38378 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38380 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38382 * sysdeps/unix/sysv/i386/time.S: Remove file.
38384 * sysdeps/unix/fxstat.c: Remove file.
38385 * sysdeps/unix/xstat.c: Likewise.
38386 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38388 * sysdeps/unix/sysv/sigaction.c: Remove file.
38390 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38391 (sysdep_headers): Remove variable.
38392 [termio.h not in sysdep_headers] (generated): Likewise.
38393 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38394 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38395 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38396 * sysdeps/unix/sysv/tcflow.c: Likewise.
38397 * sysdeps/unix/sysv/tcflush.c: Likewise.
38398 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38399 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38400 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38401 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38402 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38404 * sysdeps/unix/siglist.c: Remove file.
38406 * sysdeps/unix/getppid.S: Remove file.
38408 * sysdeps/unix/mkdir.c: Remove file.
38409 * sysdeps/unix/rmdir.c: Likewise.
38411 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38413 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38415 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38416 errlist-compat value.
38418 2012-04-18 David S. Miller <davem@davemloft.net>
38420 * sysdeps/generic/memcopy.h (reg_char): Delete.
38421 * debug/strcat_chk.c: Use char, not reg_char.
38422 * debug/strcpy_chk.c: Likewise.
38423 * debug/strncat_chk.c: Likewise.
38424 * debug/strncpy_chk.c: Likewise.
38425 * string/memchr.c: Likewise.
38426 * string/memrchr.c: Likewise.
38427 * string/rawmemchr.c: Likewise.
38428 * string/strcat.c: Likewise.
38429 * string/strchr.c: Likewise.
38430 * string/strchrnul.c: Likewise.
38431 * string/strcmp.c: Likewise.
38432 * string/strcpy.c: Likewise.
38433 * string/strncat.c: Likewise.
38434 * string/strncmp.c: Likewise.
38435 * string/strncpy.c: Likewise.
38437 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38439 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38440 __builtin_memcopy is called when src and dest ranges are known to not
38443 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38445 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38446 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38447 fwd_align_merge macro call.
38448 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38449 bwd_align_merge macro call.
38450 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38452 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38454 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38455 bwd_align_merge macros.
38456 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38457 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38458 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38460 2012-04-18 David S. Miller <davem@davemloft.net>
38462 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38464 2012-04-18 Andreas Jaeger <aj@suse.de>
38467 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38468 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38469 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38471 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38472 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38473 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38475 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38476 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38477 Adjust for changed ldbl-128 files.
38479 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38480 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38481 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38483 2012-04-17 David S. Miller <davem@davemloft.net>
38485 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38487 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38489 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38490 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38491 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38492 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38493 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38494 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38496 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38499 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38500 * math/libm-test.inc: Add ilogb errno and exception tests.
38501 * math/w_ilogb.c: New file: ilogb wrapper.
38502 * math/w_ilogbf.c: New file: ilogbf wrapper.
38503 * math/w_ilogbl.c: New file: ilogbl wrapper.
38504 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38505 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38506 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38507 exception being thrown with 0.0 as argument.
38508 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38509 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38510 exception being thrown with 0.0 as argument.
38511 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38512 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38513 exception being thrown with 0.0 as argument.
38514 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38515 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38516 exception being thrown with 0.0 as argument.
38517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38518 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38519 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38520 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38521 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38522 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38523 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38524 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38525 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38527 2012-04-17 Petr Baudis <pasky@ucw.cz>
38529 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38532 2012-04-16 Marek Polacek <polacek@redhat.com>
38534 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38536 2012-04-16 Marek Polacek <polacek@redhat.com>
38538 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38539 operands of fdivp instruction.
38541 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38543 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38544 * elf/tst-auditmod3b.c: Likewise.
38545 * elf/tst-auditmod4b.c: Likewise.
38546 * elf/tst-auditmod5b.c: Likewise.
38547 * elf/tst-auditmod6b.c: Likewise.
38548 * elf/tst-auditmod6c.c: Likewise.
38549 * elf/tst-auditmod7b.c: Likewise.
38550 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38551 * sysdeps/x86_64/preconfigure.in: Likewise.
38552 * sysdeps/x86_64/preconfigure: Regenerated.
38554 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38556 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38559 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38562 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38564 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38567 * locale/iso-639.def: Fix gl language name. Spotted by
38570 2012-04-12 Roland McGrath <roland@hack.frob.com>
38573 * libio/libio.h (__io_write_fn): Update comment.
38575 2012-04-12 Petr Baudis <pasky@ucw.cz>
38578 * stdio.texi (Hook Functions): The user provided writer function
38579 is not allowed to return -1.
38581 2012-04-11 David S. Miller <davem@davemloft.net>
38583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38585 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38587 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38588 Add a leading slash to rtkaio.
38590 2012-04-11 Jim Meyering <meyering@redhat.com>
38593 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38594 It is not necessarily an error to ignore fwrite's return
38595 value. One can reliably use ferror to test for errors after
38598 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38600 * bits/types.h (__snseconds_t): New type.
38601 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38603 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38605 (__SNSECONDS_T_TYPE): Likewise.
38606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38607 (__SNSECONDS_T_TYPE): Likewise.
38608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38609 (__SNSECONDS_T_TYPE): Likewise.
38611 2012-04-10 Andreas Jaeger <aj@suse.de>
38614 * manual/time.texi (Processor Time): Return type of times is
38615 elapsed real time since an arbitrary point in the past.
38616 (CPU Time): Move CLK_TCK from here...
38617 (Processor Time): ...to here. Correct description.
38618 * manual/conf.texi (Constants for Sysconf): Correct description of
38621 2012-04-10 David S. Miller <davem@davemloft.net>
38624 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38625 where the is a gap between DT_REL(A) and DT_JMPREL.
38627 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38629 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38630 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38631 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38633 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38635 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38636 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38637 (dl_main): Handle --inhibit-cache.
38638 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38640 * elf/dl-load.c (_dl_map_object): Use it.
38641 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38643 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38646 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38647 (__ieee754_powl): Saturate large exponents rather than testing for
38648 overflow of y*log2(x).
38649 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38650 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38654 * math/s_ctan.c: Include <float.h>.
38655 (__ctan): Avoid internal overflow or cancellation in calculating
38657 * math/s_ctanf.c: Likewise.
38658 * math/s_ctanl.c: Likewise.
38659 * math/s_ctanh.c: Likewise.
38660 * math/s_ctanhf.c: Likewise.
38661 * math/s_ctanhl.c: Likewise.
38662 * math/libm-test.inc (ctan_test): Add more tests.
38663 (ctanh_test): Likewise.
38664 * sysdeps/i386/fpu/libm-test-ulps: Update.
38665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38667 2012-04-09 Andreas Jaeger <aj@suse.de>
38670 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38671 is an optional BSD extension.
38674 * manual/stdio.texi (Opening Streams): Document additional fopen
38677 2012-04-09 Roland McGrath <roland@hack.frob.com>
38679 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38680 %eax without telling the compiler.
38682 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38685 * manual/install.texi: Use sourceware.org.
38687 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38690 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38691 (__ieee754_pow): Generate overflow and underflow using huge*huge
38692 and tiny*tiny rather than just returning constant infinity or zero
38693 for large exponents.
38694 * math/libm-test.inc (pow_test): Require overflow exceptions for
38695 applicable cases of large exponents.
38698 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38699 (__ieee754_pow): Use iterative multiplication algorithm only for
38700 integer exponents with absolute value below 1024. Check for odd
38701 integer exponents when using algorithm for real exponents.
38702 * math/libm-test.inc (pow_test): Add more tests.
38703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38705 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38708 * math/libm-test.inc (exp_test): Do not allow overflow exception
38711 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38714 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38715 instead of __kernel_standard_f.
38717 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38719 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38720 * sysdeps/x86_64/memset_chk.S: Likewise.
38722 2012-04-08 Andreas Jaeger <aj@suse.de>
38725 * manual/startup.texi (Environment Access): Describe return value
38726 for putenv and setenv.
38729 * manual/filesys.texi (Directory Entries): Add description for
38733 * manual/filesys.texi (Directory Entries): Clarify that it's file
38734 system not operating system in the description of DT_UNKNOWN.
38737 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38739 2012-04-08 Stephen Compall <s11@member.fsf.org>
38742 * manual/llio.texi (Opening and Closing Files): Add cross
38743 reference to explain mode argument.
38745 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38747 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38748 * sysdeps/x86_64/memset_chk.S: Likewise.
38750 2012-04-07 David S. Miller <davem@davemloft.net>
38752 * elf/elf.h (R_SPARC_WDISP10): Define.
38753 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38755 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38756 R_SPARC_SIZE64 and R_SPARC_H34.
38758 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38760 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38761 conditions and remove no longer applicable assertion.
38763 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38765 * bits/byteswap.h: Include <features.h>.
38766 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38767 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38769 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38771 * bits/byteswap.h (__bswap_16): Removed.
38772 Include <bits/byteswap-16.h> to get __bswap_16.
38773 * sysdeps/i386/bits/byteswap.h: Likewise.
38774 * sysdeps/s390/bits/byteswap.h: Likewise.
38775 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38776 * bits/byteswap-16.h: New file.
38777 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38778 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38779 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38780 * string/Makefile (headers): Add bits/byteswap-16.h.
38782 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38785 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38787 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38788 * nss/tst-nss-static.c: New.
38790 2012-04-06 Robert Millan <rmh@gnu.org>
38793 * manual/llio.texi (File Position Primitive): lseek
38794 refers to WHENCE when it really means OFFSET.
38796 2012-04-06 Andreas Jaeger <aj@suse.de>
38798 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38799 strncmp declarations.
38801 * abilist/libc.abilist: Add __poll and __ppoll.
38803 2012-04-05 David S. Miller <davem@davemloft.net>
38805 * scripts/check-local-headers.sh: Accept a host triplet in the
38806 path matched by the exclude regexp.
38808 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38810 * sysdeps/powerpc/powerpc32/dl-machine.h
38811 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38812 * sysdeps/s390/s390-32/dl-machine.h
38813 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38814 * sysdeps/sparc/sparc32/dl-machine.h
38815 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38816 * sysdeps/sparc/sparc64/dl-machine.h
38817 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38819 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38821 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38822 undefined symbol errors.
38824 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38827 2012-04-05 Michael Matz <matz@suse.de>
38830 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38832 2012-04-05 Andreas Jaeger <aj@suse.de>
38835 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38838 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38840 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38841 which ROUND is no valid rounding mode.
38843 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38845 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38847 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38849 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38851 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38852 an exception using FPU order intentionally.
38854 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38856 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38857 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38858 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38859 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38861 2012-04-05 Simon Josefsson <simon@josefsson.org>
38864 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38865 EINVAL when BUFLEN is too smal.
38867 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38870 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38871 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38873 2012-04-03 Andreas Jaeger <aj@suse.de>
38876 * manual/setjmp.texi (System V contexts): Fix sentence.
38879 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38880 New macro for this case.
38881 [!__GNUC__] (__bswap_64): New inline function for this case.
38882 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38883 * bits/byteswap.h: Likewise.
38884 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38885 ull, guard with __GLIBC_HAVE_LONG_LONG.
38887 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38888 __GLIBC_HAVE_LONG_LONG.
38890 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38891 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38893 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38896 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38897 inptr and inend, rather than using last_ch.
38899 2012-04-02 David S. Miller <davem@davemloft.net>
38901 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38902 * stdio-common/printf-parse.h (read_int): Change return type to
38903 'int', return -1 on INT_MAX overflow.
38904 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38905 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38906 overflows INT_MAX. Check for overflow of in-format-string precision
38907 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38908 SIZE_MAX not INT_MAX for integer overflow test.
38909 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38910 skip the construct in the format string but do not record anything.
38911 * stdio-common/bug22.c: Adjust to test both width/prevision
38912 INT_MAX overflow as well as total length INT_MAX overflow. Check
38913 explicitly for proper errno values.
38915 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38917 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38919 * string/test-strcmp.c [! WIDE]: Likewise.
38920 * time/tst-mktime2.c: Likewise for INT_MAX.
38921 * string/test-string.h: #include <sys/param.h> for MIN.
38923 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38924 * sysdeps/i386/init-first.c (init): Likewise.
38925 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38926 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38927 * sysdeps/sh/init-first.c (init): Likewise.
38929 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38931 * po/ru.po: Update from translation team.
38932 * po/vi.po: Likewise.
38934 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38936 * resolv/nss_dns/dns-host.c: Merge copyright years.
38938 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38941 Optimize memcpy with prefetch if
38942 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38943 src, dst pointers have unequal 16 byte alignments.
38945 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38948 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38949 from a CNAME entry and return the minimum ttl for the query.
38950 (gaih_getanswer_slice): Likewise.
38952 2012-03-30 Jeff Law <law@redhat.com>
38954 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38956 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38957 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38959 * resolv/nss_dns/dns-host.c: Update copyright year.
38961 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38963 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38964 requests to save a system call. Fix check that all bytes are sent.
38966 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38967 comments for sendmmsg.
38969 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38972 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38973 with only 1 character between 0x0041 and 0x01b0.
38974 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38975 * wcsmbs/tst-mbsnrtowcs.c: New file.
38977 2012-03-29 David S. Miller <davem@davemloft.net>
38979 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38980 small copies by hand.
38982 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38985 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38986 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38989 2012-03-28 David S. Miller <davem@davemloft.net>
38991 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38992 that branches into memcpy.
38993 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38996 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38999 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39000 implementation too.
39001 * sysdeps/sparc/mempcpy.S: New file.
39003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39004 the IFUNC routine in the libc case.
39005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39007 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39008 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39009 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39010 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39011 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39012 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39013 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39014 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39016 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39017 loop to 256 bytes instead of 64 bytes and fix test signedness.
39019 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39020 * sysdeps/sparc/sparc32/Makefile: rather than here...
39021 * sysdeps/sparc/sparc64/Makefile: and here.
39023 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39025 * malloc/mallocbug.c: Avoid warnings about unused variables.
39027 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39030 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39031 in the right place. Discard and retry query if response is
39032 larger than input buffer size.
39034 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39039 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39040 x for large integer exponent.
39041 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39042 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39043 sign of result as needed afterwards.
39044 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39045 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39046 result for underflowing pow the same as for overflow.
39047 (__kernel_standard_l): Handle powl overflow and underflow here
39048 rather than calling __kernel_standard.
39049 * math/libm-test.inc (pow_test): Add more tests.
39064 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39065 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39066 (__kernel_standard_l): New function.
39067 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39069 * math/w_acosl.c (__acosl): Likewise.
39070 * math/w_asinl.c (__asinl): Likewise.
39071 * math/w_atan2l.c (__atan2l): Likewise.
39072 * math/w_atanhl.c (__atanhl): Likewise.
39073 * math/w_coshl.c (__coshl): Likewise.
39074 * math/w_exp10l.c (__exp10l): Likewise.
39075 * math/w_exp2l.c (__exp2l): Likewise.
39076 * math/w_fmodl.c (__fmodl): Likewise.
39077 * math/w_hypotl.c (__hypotl): Likewise.
39078 * math/w_j0l.c (__j0l, __y0l): Likewise.
39079 * math/w_j1l.c (__j1l, __y1l): Likewise.
39080 * math/w_jnl.c (__jnl, __ynl): Likewise.
39081 * math/w_lgammal.c (__lgammal): Likewise.
39082 * math/w_log10l.c (__log10l): Likewise.
39083 * math/w_log2l.c (__log2l): Likewise.
39084 * math/w_logl.c (__logl): Likewise.
39085 * math/w_powl.c (__powl): Likewise.
39086 * math/w_remainderl.c (__remainderl): Likewise.
39087 * math/w_scalbl.c (sysv_scalbl): Likewise.
39088 * math/w_sinhl.c (__sinhl): Likewise.
39089 * math/w_sqrtl.c (__sqrtl): Likewise.
39090 * math/w_tgammal.c (__tgammal): Likewise.
39091 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39092 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39093 * math/libm-test.inc (acos_test): Add more tests.
39094 (acosh_test): Likewise.
39095 (asin_test): Likewise.
39096 (atanh_test): Likewise.
39097 (exp_test): Likewise.
39098 (exp10_test): Likewise.
39099 (exp2_test): Likewise.
39100 (expm1_test): Likewise.
39101 (lgamma_test): Likewise.
39102 (log_test): Likewise.
39103 (log10_test): Likewise.
39104 (log1p_test): Likewise.
39105 (log2_test): Likewise.
39106 (pow_test): Do not allow some spurious overflow exceptions.
39107 (sqrt_test): Add more tests.
39108 (tgamma_test): Likewise.
39109 (y0_test): Likewise.
39110 (y1_test): Likewise.
39111 (yn_test): Likewise.
39113 2012-03-27 Anton Blanchard <anton@samba.org>
39115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39117 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39121 2012-03-27 David S. Miller <davem@davemloft.net>
39123 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39125 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39126 have-as-vis3 check.
39128 2012-03-27 Andreas Jaeger <aj@suse.de>
39130 * sysdeps/x86_64/elf/configure.in: Moved to ...
39131 * sysdeps/x86_64/configure.in: ... here.
39132 * sysdeps/x86_64/elf/start.S: Moved to ...
39133 * sysdeps/x86_64/start.S: ... here.
39134 * sysdeps/x86_64/elf/configure: Delete.
39136 * sysdeps/x86_64/configure.in: Merge contents from
39137 sysdeps/i386/configure.in (without i686 check).
39139 * sysdeps/i386/elf/Versions: Merge into ...
39140 * sysdeps/i386/Versions: ... this.
39141 * sysdeps/i386/elf/Versions: Delete file.
39142 * sysdeps/i386/elf/start.S: Moved to ...
39143 * sysdeps/i386/start.S: ...here.
39144 * sysdeps/i386/elf/configure.in: Merge into...
39145 * sysdeps/i386/configure.in: ...here.
39146 * sysdeps/i386/elf/configure.in: Delete file.
39147 * sysdeps/i386/elf/configure: Delete file.
39149 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39150 * debug/backtracesyms.c: ... here.
39151 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39152 * debug/backtracesymsfd.c: ... here.
39153 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39154 * sysdeps/generic/ifunc-sel.h: ... here.
39156 * sysdeps/unix/i386/start.c: Delete file.
39157 * sysdeps/unix/sparc/start.c: Delete file.
39158 * sysdeps/unix/start.c: Delete file.
39160 * sysdeps/sh/elf/configure.in: Moved to ...
39161 * sysdeps/sh/configure.in: ... here.
39162 * sysdeps/sh/elf/start.S: Moved to ...
39163 * sysdeps/sh/start.S: ... here.
39164 * sysdeps/sh/elf/configure: Delete file.
39166 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39167 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39168 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39169 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39170 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39171 * sysdeps/powerpc/powerpc64/start.S: here.
39172 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39173 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39174 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39175 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39176 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39178 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39179 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39180 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39181 * sysdeps/powerpc/powerpc32/start.S: ... here.
39182 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39183 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39184 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39186 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39187 * sysdeps/powerpc/ifunc-sel.h: ... here.
39188 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39189 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39191 * sysdeps/sparc/elf/configure.in: Moved to ...
39192 * sysdeps/sparc/configure.in: ... here.
39193 * sysdeps/sparc/elf/configure: Delete file.
39194 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39195 * sysdeps/sparc/sparc32/start.S: ... here.
39196 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39197 * sysdeps/sparc/sparc64/start.S: ... here.
39198 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39199 * sysdeps/sparc/sparc32/Makefile: ... this.
39200 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39201 * sysdeps/sparc/sparc64/Makefile: ... this.
39203 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39204 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39205 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39206 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39207 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39208 * sysdeps/s390/s390-32/setjmp.S: ... here.
39209 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39210 * sysdeps/s390/s390-32/configure.in: ... here.
39211 * sysdeps/s390/s390-32/elf/configure: Delete file.
39212 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39213 * sysdeps/s390/s390-32/start.S: ... here.
39215 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39216 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39217 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39218 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39219 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39220 * sysdeps/s390/s390-64/setjmp.S: ... here.
39221 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39222 * sysdeps/s390/s390-64/configure.in: ... here
39223 * sysdeps/s390/s390-64/elf/configure: Delete file.
39224 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39225 * sysdeps/s390/s390-64/start.S: ... here.
39226 * sysdeps/s390/s390-64/elf/configure: Delete.
39228 * configure.in: Remove support for elf directories in sysdeps.
39230 * configure: Regenerated.
39231 * sysdeps/i386/configure: Regenerated.
39232 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39233 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39234 * sysdeps/s390/s390-32/configure: Regenerated.
39235 * sysdeps/s390/s390-64/configure: Regenerated.
39236 * sysdeps/sh/configure: Regenerated.
39237 * sysdeps/sparc/configure: Regenerated.
39238 * sysdeps/x86_64/configure: Regenerated.
39240 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39245 denormal result into account.
39247 2012-03-25 Roland McGrath <roland@hack.frob.com>
39249 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39250 Reported by Allan McRae <allan@archlinux.org>.
39252 2012-03-23 Jeff Law <law@redhat.com>
39254 * nss/getnssent.c (__nss_getent): Fix typo.
39256 2012-03-23 David S. Miller <davem@davemloft.net>
39258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39260 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39262 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39263 to pad to uint64_t for each field.
39264 (dl_tls_index): Replace unsigned long with uint64_t.
39266 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39267 Paul Pluzhnikov <ppluzhnikov@google.com>
39270 * grp/Makefile (otherlibs): Don't set it.
39271 * inet/Makefile (otherlibs): Likewise.
39272 * login/Makefile (otherlibs): Likewise.
39273 * nscd/Makefile (otherlibs): Likewise.
39274 * posix/Makefile (otherlibs): Likewise.
39275 * pwd/Makefile (otherlibs): Likewise.
39276 * rt/Makefile (otherlibs): Likewise.
39277 * sunrpc/Makefile (otherlibs): Likewise.
39278 * nss/Makefile (otherlibs): Likewise.
39279 Add libnss_files to routines and static-only-routines.
39280 ($(objpfx)getent): Remove rule.
39281 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39282 static-only-routines.
39284 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39287 * math/s_cexp.c: Include <float.h>.
39288 (__cexp): Handle exp result overflowing not necessarily
39289 overflowing both real and imaginary parts of result.
39290 * math/s_cexpf.c: Likewise.
39291 * math/s_cexpl.c: Likewise.
39292 * math/libm-test.inc (cexp_test): Add more tests.
39293 * sysdeps/i386/fpu/libm-test-ulps: Update.
39294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39296 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39298 * include/link.h (ELFW): New macro.
39299 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39300 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39302 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39304 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39307 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39309 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39311 (struct La_x32_retval): Likewise.
39313 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39315 * sysdeps/x86_64/preconfigure.in: New file.
39316 * sysdeps/x86_64/preconfigure: New generated file.
39318 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39321 * math/e_exp2l.c: Include <float.h>.
39322 (__ieee754_exp2l): Handle overflow and underflow cases
39323 separately. Only pass fractional part of argument to
39325 * math/libm-test.inc (exp2_test): Add more tests.
39327 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39328 negating x to take absolute value.
39329 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39331 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39334 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39335 computing low part if x was negated.
39336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39338 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39340 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39341 la_x32_gnu_pltexit.
39342 (pltexit): Cast int_retval to ptrdiff_t.
39343 * elf/tst-auditmod3b.c: Likewise.
39344 * elf/tst-auditmod4b.c: Likewise.
39345 * elf/tst-auditmod5b.c: Likewise.
39346 * elf/tst-auditmod6b.c: Likewise.
39347 * elf/tst-auditmod6c.c: Likewise.
39348 * elf/tst-auditmod7b.c: Likewise.
39350 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39351 and x32_gnu_pltexit.
39353 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39354 __ELF_NATIVE_CLASS.
39355 (La_x32_regs): New macro.
39356 (La_x32_retval): Likewise.
39357 (la_x32_gnu_pltenter): New function prototype.
39358 (la_x32_gnu_pltexit): Likewise.
39360 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39367 * configure.in (libc_cv_cc_nofma): Check for option to disable
39368 generation of FMA instructions.
39369 * configure: Regenerate.
39370 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39371 * sysdeps/ieee754/dbl-64/Makefile: New file.
39372 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39373 Remove brandred-fma4.
39374 (CFLAGS-brandred-fma4.c): Remove.
39375 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39376 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39378 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39381 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39383 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39384 LLONG_MAX != LONG_MAX.
39385 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39386 (_fitoa_word): Likewise.
39387 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39388 LLONG_MAX != LONG_MAX.
39389 * stdio-common/_itowa.h: Include <_itoa.h>.
39390 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39391 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39392 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39393 only if not defined.
39394 (_ITOA_WORD_TYPE): Likewise.
39395 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39396 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39398 2012-03-21 David S. Miller <davem@davemloft.net>
39400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39402 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39404 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39405 of x86_64 when setting libc_cv_slibdir, libdir and
39407 * sysdeps/unix/sysv/linux/configure: Regenerated.
39409 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39411 * manual/lang.texi (Old Varargs): Remove section.
39412 (How Variadic): Update menu.
39413 (va_start): Do not mention varargs.h.
39415 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39416 Joseph Myers <joseph@codesourcery.com>
39418 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39420 * configure: Regenerated.
39422 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39424 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39425 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39428 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39431 * Makefile (files-for-dist): Remove NOTES.
39432 (NOTES): Remove rule.
39433 * README: Don't refer to NOTES.
39434 * manual/creature.texi: Don't include macros.texi.
39435 * manual/intro.texi (creature.texi): Remove comment referring to
39438 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39439 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39440 * configure: Regenerated.
39441 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39442 LIBC_TRY_CC_OPTION.
39443 (libc_cv_as_i686): Likewise.
39444 (libc_cv_cc_avx): Likewise.
39445 (libc_cv_cc_sse2avx): Likewise.
39446 (libc_cv_cc_fma4): Likewise.
39447 (libc_cv_cc_novzeroupper): Likewise.
39448 * sysdeps/i386/configure: Regenerated.
39451 * sysdeps/i386/fpu/s_cexp.S: Remove.
39452 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39453 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39454 * math/libm-test.inc (cexp_test): Add more tests.
39455 * sysdeps/i386/fpu/libm-test-ulps: Update.
39456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39458 2012-03-21 Allan McRae <allan@archlinux.org>
39460 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39462 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39465 * math/w_exp2.c: Do not include <float.h>.
39466 (o_threshold, u_threshold): Remove.
39467 (__exp2): Calculate result before checking finiteness and calling
39469 * math/w_exp2f.c: Likewise.
39470 * math/w_exp2l.c: Likewise.
39471 * math/libm-test.inc (exp2_test): Require overflow exception for
39475 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39476 range of signed 64-bit integers before using fistpll. Remove
39477 checks for whether integers fit in mantissa bits.
39478 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39479 the range of signed 32-bit integers before using fistpl. Remove
39480 checks for whether integers fit in mantissa bits.
39481 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39482 (__ieee754_powl): Test for y outside the range of signed 64-bit
39483 integers before using fistpll. Reduce 64-bit values to 63-bit
39485 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39486 divide-by-zero is raised for zero to large negative powers.
39487 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39488 (__ieee754_powl): Test for y outside the range of signed 64-bit
39489 integers before using fistpll. Reduce 64-bit values to 63-bit
39491 * math/libm-test.inc (pow_test): Add more tests.
39493 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39495 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39496 <stdio-common/_itoa.h>.
39497 * debug/segfault.c: Likewise.
39498 * elf/dl-cache.c: Likewise.
39499 * elf/dl-minimal.c: Likewise.
39500 * elf/dl-misc.c: Likewise.
39501 * elf/dl-sysdep.c: Likewise.
39502 * elf/dl-version.c: Likewise.
39503 * elf/rtld.c: Likewise.
39504 * hurd/hurdsock.c: Likewise.
39505 * hurd/lookup-retry.c: Likewise.
39506 * malloc/malloc.c: Likewise.
39507 * malloc/mtrace.c: Likewise.
39508 * nscd/nscd_getgr_r.c: Likewise.
39509 * nscd/nscd_getpw_r.c: Likewise.
39510 * nscd/nscd_getserv_r.c: Likewise.
39511 * posix/getopt_init.c: Likewise.
39512 * posix/wordexp.c: Likewise.
39513 * stdio-common/_itoa.c: Likewise.
39514 * stdio-common/printf_fphex.c: Likewise.
39515 * stdio-common/vfprintf.c: Likewise.
39516 * string/_strerror.c: Likewise.
39517 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39518 * sysdeps/i386/i686/hp-timing.h: Likewise.
39519 * sysdeps/mach/_strerror.c: Likewise.
39520 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39521 * sysdeps/mach/hurd/sethostid.c: Likewise.
39522 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39523 * sysdeps/mach/xpg-strerror.c: Likewise.
39524 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39525 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39526 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39527 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39528 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39529 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39530 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39531 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39532 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39533 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39534 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39535 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39536 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39537 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39538 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39539 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39540 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39541 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39542 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39543 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39544 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39546 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39548 * stdio-common/_itoa.h: Moved to ...
39549 * sysdeps/generic/_itoa.h: Here.
39551 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39553 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39554 instead of "_itoa.h" and "_itowa.h".
39555 * stdio-common/vfprintf.: Likewise.
39557 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39559 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39561 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39562 (__signbit): Likwise.
39563 (llrintf): Likwise.
39566 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39568 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39571 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39573 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39574 OVERFLOW_EXCEPTION_OK.
39575 * math/libm-test.inc ("Philosophy"): Update comment about
39577 (OVERFLOW_EXCEPTION): Define.
39578 (OVERFLOW_EXCEPTION_OK): Likewise.
39579 (INVALID_EXCEPTION_OK): Renumber.
39580 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39581 (IGNORE_ZERO_INF_SIGN): Likewise.
39582 (test_exceptions): Handle FE_OVERFLOW.
39583 (exp10_test): Expect overflow exceptions.
39584 (exp2_test): Likewise.
39585 (expm1_test): Likewise.
39586 (nextafter_test): Likewise.
39587 (pow_test): Likewise.
39588 (scalbn_test): Likewise.
39589 (scalbln_test): Likewise.
39591 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39593 * sysdeps/x86_64/bits/atomic.h
39594 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39596 (atomic_exchange_acq): Likewise.
39597 (__arch_exchange_and_add_body): Likewise.
39598 (__arch_add_body): Likewise.
39599 (atomic_add_negative): Likewise.
39600 (atomic_add_zero): Likewise.
39602 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39604 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39605 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39607 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39609 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39610 Check __x86_64__ instead of __WORDSIZE.
39612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39614 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39616 2012-03-19 David S. Miller <davem@davemloft.net>
39618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39620 * sysdeps/sparc/fpu/fenv_private.h: New file.
39621 * sysdeps/sparc/fpu/math_private.h: Use it.
39622 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39624 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39625 (libc_feholdexcept_setroundl): Remove.
39626 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39628 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39629 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39631 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39633 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39634 int64_t instead of long int.
39635 (INSERT_WORDS64): Likwise.
39637 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39639 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39640 _Unwind_GetCFA return to _Unwind_Ptr first.
39642 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39645 * math/s_clog.c: Include <float.h>.
39646 (__clog): Scale large or subnormal inputs.
39647 * math/s_clogf.c: Likewise.
39648 * math/s_clogl.c: Likewise.
39649 * math/s_clog10.c: Include <float.h>.
39650 (M_LOG10_2): Define.
39651 (__clog10): Scale large or subnormal inputs.
39652 * math/s_clog10f.c: Likewise.
39653 * math/s_clog10l.c: Likewise.
39654 * math/libm-test.inc (clog_test): Add more tests.
39655 (clog10_test): Likewise.
39656 * sysdeps/i386/fpu/libm-test-ulps: Update.
39657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39660 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39662 * math/libm-test.inc (atan2_test): Add another test.
39664 * Makerules (common-objdir-compile): Remove.
39665 * sysdeps/unix/Makefile (config-generated): Do not add
39666 $(unix-generated) to variable.
39667 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39668 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39670 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39672 [generic bits/local_lim.h] (before-compile): Do not append to
39674 [generic bits/local_lim.h] (common-generated): Likewise.
39675 [generic sys/param.h] (before-compile): Do not append to variable.
39676 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39677 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39678 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39679 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39681 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39682 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39683 [generic sys/param.h] ($(addprefix
39684 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39685 [generic sys/param.h] (common-generated): Do not append to
39687 [generic sys/param.h] (sysdep_headers): Likewise.
39688 [generic bits/errno.h] (before-compile): Do not append to
39690 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39692 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39693 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39694 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39695 [generic bits/errno.h] (common-generated): Do not append to
39697 [generic bits/ioctls.h] (before-compile): Do not append to
39699 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39701 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39702 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39703 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39705 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39706 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39707 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39708 [generic bits/ioctls.h] (common-generated): Do not append to
39710 [generic sys/syscall.h] (syscall.h): Remove variable.
39711 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39713 [generic sys/syscall.h] (before-compile): Do not append to
39715 [generic sys/syscall.h] (common-generated): Likewise.
39716 * sysdeps/unix/errnos-tmpl.c: Remove file.
39717 * sysdeps/unix/errnos.awk: Likewise.
39718 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39719 * sysdeps/unix/ioctls.awk: Likewise.
39720 * sysdeps/unix/mk-local_lim.c: Likewise.
39721 * sysdeps/unix/snarf-ioctls: Likewise.
39723 2012-03-19 Richard Henderson <rth@twiddle.net>
39725 * sysdeps/i386/fpu/fenv_private.h: New file.
39726 * sysdeps/i386/fpu/math_private.h: Use it.
39727 (math_opt_barrier, math_force_eval): Remove.
39728 (libc_feholdexcept_setround_53bit): Remove.
39729 (libc_feupdateenv_53bit): Remove.
39730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39731 (math_opt_barrier, math_force_eval): Remove.
39732 (libc_feholdexcept): Remove.
39733 (libc_feholdexcept_setround): Remove.
39734 (libc_fetestexcept, libc_fesetenv): Remove.
39735 (libc_feupdateenv_test): Remove.
39736 (libc_feupdateenv, libc_feholdsetround): Remove.
39737 (libc_feresetround): Remove.
39739 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39740 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39742 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39743 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39744 (libc_feupdateenv_testl): New.
39745 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39746 (libc_feupdateenv_testf): New.
39747 (libc_feupdateenv): Use libc_feupdateenv_test.
39748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39751 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39752 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39753 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39754 (libc_feresetround_noex): New.
39755 (libc_feresetround_noexf): New.
39756 (libc_feresetround_noexl): New.
39757 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39758 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39759 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39760 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39765 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39766 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39767 SET_RESTORE_ROUND_NOEX.
39768 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39769 SET_RESTORE_ROUND_NOEXF.
39770 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39771 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39772 (libc_feholdsetroundf): New.
39773 (libc_feresetround, libc_feresetroundf): New.
39775 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39776 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39777 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39779 * sysdeps/generic/math_private.h: Include <fenv.h>.
39780 (default_libc_feholdexcept): New.
39781 (default_libc_feholdexcept_setround): New.
39782 (default_libc_fesetenv, default_libc_feupdateenv): New.
39783 (libc_feholdexcept): Only define if undefined.
39784 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39785 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39786 (libc_feholdexcept_setroundl): Likewise.
39787 (libc_feholdexcept_setround_53bit): Likewise.
39788 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39789 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39790 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39791 (libc_feupdateenv_53bit): Likewise.
39792 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39793 (libc_feholdexcept): Convert from macro to inline function.
39794 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39795 (libc_fesetenv, libc_feupdateenv): Likewise.
39797 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39798 not previously defined.
39799 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39800 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39801 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39802 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39803 * sysdeps/ieee754/flt-32/math_private.h: New file.
39804 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39805 math_private.h below SET_FLOAT_WORD.
39806 (__isnan, __isinf_ns, __finite): Remove.
39807 (__isnanf, __isinf_nsf, __finitef): Remove.
39809 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39813 2012-03-17 David S. Miller <davem@davemloft.net>
39816 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39819 2012-03-16 David S. Miller <davem@davemloft.net>
39821 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39825 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39827 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39828 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39829 sysdep_routines when subdir is sysvipc.
39830 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39831 __getshmlba helper.
39833 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39835 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39837 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39840 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39842 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39843 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39844 (__lround): Renamed to ...
39845 (__llround): This. Replace long int with long long int.
39846 Define lround functions as aliases of llround functions.
39847 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39849 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39851 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39852 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39853 adresses to uintptr_t. Replace "long int" and "unsigned long
39854 int" with "greg_t" on va_arg.
39856 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39858 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39859 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39861 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39862 Move e_machine check before EI_CLASS check. Handle x32
39863 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39864 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39865 SKIP_EM_IA_64 and include
39866 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39868 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39869 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39870 (add_system_dir): New macro.
39872 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39873 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39875 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39886 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39888 * math/w_j0f.c (j0f): Likewise.
39890 * math/w_j0l.c (__j0l): Likewise.
39892 * math/w_j1.c (j1): Likewise.
39894 * math/w_j1f.c (j1f): Likewise.
39896 * math/w_j1l.c (__j1l): Likewise.
39898 * math/w_jn.c (jn): Likewise.
39900 * math/w_jnf.c (jnf): Likewise.
39902 * math/w_jnl.c (__jnl): Likewise.
39904 * math/libm-test.inc (j0_test): Add more tests.
39905 (j1_test): Likewise.
39906 (jn_test): Likewise. Add trailing semicolon to existing test.
39907 (y0_test): Likewise.
39908 (y1_test): Likewise.
39909 * sysdeps/i386/fpu/libm-test-ulps: Update.
39910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39914 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39915 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39916 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39917 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39918 (__tanl): Set errno for infinite argument.
39919 * sysdeps/i386/fpu/mptan.c: Remove.
39920 * sysdeps/i386/fpu/s_tan.S: Likewise.
39921 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39922 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39923 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39924 * math/libm-test.inc (tan_test): Add more tests and enable more
39925 tests for double and long double.
39926 * sysdeps/i386/fpu/libm-test-ulps: Update.
39927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39929 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39931 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39932 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39934 2012-03-16 Roland McGrath <roland@hack.frob.com>
39936 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39937 * configure.in: Use it for both main tree and add-ons.
39938 * configure: Regenerated.
39940 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39942 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39944 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39946 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39950 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39951 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39956 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39957 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39958 != 0 for prec == 2.
39959 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39960 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39961 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39962 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39963 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39964 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39965 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39966 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39967 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39968 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39969 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39970 * math/libm-test.inc (cos_test): Add more tests and enable more
39971 tests for long double.
39972 (sin_test): Likewise.
39973 (sincos_test): Likewise.
39974 * sysdeps/i386/fpu/libm-test-ulps: Update.
39975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39977 2012-03-16 David S. Miller <davem@davemloft.net>
39979 * sysdeps/sparc/fpu/math_private.h: New file.
39981 2012-03-15 David S. Miller <davem@davemloft.net>
39983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39997 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39998 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40000 * sysdeps/sparc/sparc-ifunc.h: New file.
40001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40046 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40048 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40052 2012-03-15 Andreas Jaeger <aj@suse.de>
40055 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40056 ieee754/flt-32 implementation for sin, cos and sincos.
40057 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40058 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40059 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40060 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40061 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40062 ieee754/flt-32 implementation for tan.
40064 * math/libm-test.inc (cos_test): Enable some large input tests for
40066 (sin_test): Likewise.
40067 (sincos_test): Likewise.
40068 (tan_test): Add tests for large input.
40070 * sysdeps/i386/fpu/libm-test-ulps: Update.
40072 2012-03-15 Andreas Jaeger <aj@suse.de>
40075 * math/libm-test.inc (cos_test): Add more test cases.
40076 (sin_test): Likewise.
40077 (sincos_test): Likewise.
40079 2012-03-15 Andreas Jaeger <aj@suse.de>
40082 * math/libm-test.inc (cos_test): Add a test case for large input
40084 (sin_test): Likewise.
40085 (sincos_test): Likewise.
40087 2012-03-15 Andreas Jaeger <aj@suse.de>
40088 Joseph Myers <joseph@codesourcery.com>
40091 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40092 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40093 * sysdeps/i386/fpu/branred.c: Likewise.
40094 * sysdeps/i386/fpu/dosincos.c: Likewise.
40095 * sysdeps/i386/fpu/mpa.c: Likewise.
40096 * sysdeps/i386/fpu/s_cos.S: Likewise.
40097 * sysdeps/i386/fpu/s_sin.S: Likewise.
40098 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40099 * sysdeps/i386/fpu/sincos32.c: Likewise.
40101 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40103 (libc_feupdateenv_53bit): Define.
40104 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40106 (libc_feupdateenv_53bit): Define.
40108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40109 53 bit (without extend i386 double precision).
40111 * math/libm-test.inc (sincos_test): Add tests for large input.
40115 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40117 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40121 2012-03-15 David S. Miller <davem@davemloft.net>
40123 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40124 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40125 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40126 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40151 fmin/fmax sysdep routines.
40152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40154 2012-03-14 David S. Miller <davem@davemloft.net>
40156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40228 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40233 * sysdeps/sparc/configure.in: New file.
40234 * sysdeps/sparc/configure: Generate.
40235 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40236 * configure: Regenerate.
40237 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40238 * config.make.in (have-as-vis3): New.
40239 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40240 available use -Av9d instead of -Av9a.
40241 * sysdeps/sparc/sparc64/Makefile: Likewise.
40242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40257 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40258 fzeros/fnegs to load 0x80000000 into a float register instead of
40260 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40262 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40266 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40267 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40268 ($(inst_includedir)/bits/syscall.h): Remove rule.
40269 ($(objpfx)bits/syscall.d): Include instead of
40270 $(objpfx)syscall-list.d.
40271 (generated): Change syscall-list.h and syscall-list.d to
40272 bits/syscall.h and bits/syscall.d.
40274 2012-03-14 Roland McGrath <roland@hack.frob.com>
40277 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40279 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40282 * math/s_csqrt.c: Include <float.h>.
40283 (__csqrt): Scale large or subnormal inputs.
40284 * math/s_csqrtf.c: Likewise.
40285 * math/s_csqrtl.c: Likewise.
40286 * math/libm-test.inc (csqrt_test): Add more tests.
40287 * sysdeps/i386/fpu/libm-test-ulps: Update.
40288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40291 * math/libm-test.inc (hypot_test): Add more tests.
40293 2012-03-13 David S. Miller <davem@davemloft.net>
40296 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40297 double-precision for the calculation instead of scaling.
40299 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40301 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40302 manipulate bits before adding and subtracting TWO52[sx].
40303 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40304 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40306 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40308 2012-03-13 David S. Miller <davem@davemloft.net>
40310 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40311 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40313 rtld-global-offsets.h
40314 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40319 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40321 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40322 'err' in the ifdef scope in which it is actually used.
40324 * nss/nss_db/db-init.c: Include string.h
40326 2012-03-12 David S. Miller <davem@davemloft.net>
40328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40329 masking out of the most significant byte of random value used.
40330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40331 Fix coding style in previous change.
40333 * sysdeps/unix/sysv/linux/kernel-features.h
40334 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40335 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40337 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40340 2012-03-11 David S. Miller <davem@davemloft.net>
40342 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40343 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40345 for 'resultvar' otherwise things get truncated on 64-bit.
40347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40348 Fix masking out of the most significant byte of random value used.
40350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40352 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40356 2012-03-09 David S. Miller <davem@davemloft.net>
40358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40359 variables with appropriate CPP guards.
40360 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40361 from the frame pointer, not the stack pointer. Correct layout
40362 comments. Fix test on resulting framesize and the management of
40363 the outregs buffer for pltexit. Preserve floating point return
40364 values across _dl_call_pltexit call.
40365 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40366 framesize and the management of the outregs buffer for pltexit.
40367 Preserve floating point return values across _dl_call_pltexit
40369 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40370 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40371 (la_sparc64_gnu_pltexit): New functions.
40372 (print_exit): Fix format string for return register value.
40374 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40376 * sunrpc/Makefile (others): Add rpcgen.
40377 ($(objpfx)rpcgen): Remove special build rule and dependency on
40379 * sunrpc/rpcgen.c: New file.
40381 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40384 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40385 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40386 * sysdeps/i386/crti.S: Likewise.
40387 * sysdeps/i386/crtn.S: Likewise.
40388 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40389 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40390 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40391 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40392 * sysdeps/sh/crti.S: Likewise.
40393 * sysdeps/sh/crtn.S: Likewise.
40394 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40397 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40399 * locale/programs/locfile-kw.gperf: Likewise.
40400 * locale/programs/charmap-kw.h: Regenerated.
40401 * locale/programs/locfile-kw.h: Likewise.
40404 * intl/plural.y: Replace FSF snail mail address with URL.
40405 * intl/plural.c: Regenerated.
40407 2012-03-09 Richard Henderson <rth@twiddle.net>
40409 * include/math_private.h: Remove file.
40410 * math/math_private.h: Move file ...
40411 * sysdeps/generic/math_private.h: ... here.
40413 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40414 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40415 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40417 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40418 and <math_private.h>.
40419 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40420 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40421 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40422 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40423 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40424 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40425 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40426 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40427 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40428 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40430 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40431 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40433 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40434 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40435 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40436 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40437 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40438 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40440 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40441 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40443 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40444 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40445 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40446 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40448 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40449 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40450 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40451 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40452 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40453 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40454 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40455 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40456 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40457 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40458 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40459 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40461 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40462 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40463 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40464 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40465 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40466 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40467 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40468 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40469 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40470 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40471 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40472 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40473 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40474 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40475 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40476 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40477 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40478 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40479 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40480 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40482 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40485 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40488 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40489 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40490 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40493 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40498 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40499 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40500 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40501 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40502 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40504 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40506 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40507 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40508 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40509 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40510 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40511 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40512 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40513 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40514 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40515 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40516 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40517 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40518 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40519 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40520 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40521 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40522 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40523 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40524 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40525 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40526 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40527 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40529 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40530 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40531 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40532 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40533 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40534 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40535 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40536 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40537 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40538 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40539 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40540 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40541 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40542 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40543 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40544 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40545 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40546 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40547 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40548 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40549 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40550 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40551 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40552 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40553 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40554 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40555 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40556 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40557 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40558 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40559 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40560 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40561 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40562 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40563 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40564 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40565 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40566 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40567 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40568 * sysdeps/ieee754/k_standard.c: Likewise.
40569 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40570 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40571 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40572 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40573 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40574 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40575 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40576 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40577 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40578 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40579 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40581 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40582 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40583 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40584 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40585 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40586 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40587 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40588 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40589 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40590 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40591 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40592 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40593 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40594 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40595 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40596 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40597 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40599 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40600 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40601 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40602 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40603 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40604 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40605 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40606 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40607 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40608 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40609 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40610 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40611 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40612 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40613 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40614 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40615 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40617 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40620 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40621 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40622 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40623 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40624 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40625 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40626 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40627 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40628 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40629 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40630 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40631 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40632 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40633 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40634 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40635 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40636 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40637 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40638 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40641 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40642 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40643 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40644 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40645 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40646 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40647 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40648 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40649 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40650 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40651 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40652 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40653 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40654 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40655 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40656 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40657 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40658 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40659 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40660 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40661 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40662 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40663 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40664 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40665 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40666 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40667 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40668 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40669 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40670 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40671 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40672 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40673 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40676 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40677 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40678 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40679 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40680 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40681 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40682 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40683 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40684 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40685 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40686 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40687 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40688 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40689 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40690 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40691 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40692 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40693 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40694 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40695 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40696 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40697 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40698 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40699 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40700 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40701 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40702 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40703 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40704 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40705 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40706 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40707 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40708 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40709 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40710 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40711 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40713 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40714 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40715 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40716 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40717 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40718 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40719 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40720 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40721 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40722 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40729 * sysdeps/ieee754/s_lib_version.c: Likewise.
40730 * sysdeps/ieee754/s_matherr.c: Likewise.
40731 * sysdeps/ieee754/s_signgam.c: Likewise.
40732 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40733 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40734 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40735 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40736 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40737 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40738 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40739 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40740 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40741 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40742 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40743 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40744 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40745 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40746 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40747 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40748 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40749 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40750 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40752 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40754 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40756 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40757 * sunrpc/rpc_main.c: Likewise.
40758 * sunrpc/rpc_svcout.c: Likewise.
40760 2012-03-09 David S. Miller <davem@davemloft.net>
40762 * include/math_private.h: New file.
40764 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40766 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40767 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40768 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40769 from <bits/socket_type.h>.
40770 (enum __socket_type): Don't define here.
40771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40773 bits/socket_type.h.
40776 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40777 checking __USE_GNU.
40779 * Makerules ($(inst_includedir)/%.h): New rule.
40780 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40781 (install-others): Remove variable setting.
40782 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40784 2012-03-08 Richard Henderson <rth@twiddle.net>
40786 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40787 from macro to inline function; merge with the
40788 !__LIBC_INTERNAL_MATH_INLINES version.
40789 (__ieee754_sqrtf): Likewise.
40791 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40792 to inline function.
40793 (__rintf, __floor, __floorf): Likewise.
40795 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40796 macro to inline function.
40797 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40799 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40800 not <math/math_private.h>.
40802 2012-03-08 David S. Miller <davem@davemloft.net>
40804 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40806 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40808 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40810 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40812 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40813 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40815 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40817 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40818 be defined individually, they must be defined as a block. Define
40819 S for printing a string instead of hidint the different by using a
40820 macro for adding the 'l'.
40821 * stdio-common/tst-fphex-wide.c: Adjust.
40823 2012-03-07 Marek Polacek <polacek@redhat.com>
40825 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40827 2012-03-08 Marek Polacek <polacek@redhat.com>
40830 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40831 * stdio-common/tst-fphex.c: Define a few macros to make the
40832 test reusable. Use them.
40833 * stdio-common/tst-fphex-wide.c: New file.
40835 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40838 * manual/macros.texi (gnusystems): New macro.
40839 (nongnusystems): Likewise.
40840 (gnulinuxhurdsystems): Likewise.
40841 (gnuhurdsystems): Likewise..
40842 (gnulinuxsystems): Likewise.
40843 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40844 variants of the GNU system, not "GNU system".
40845 * manual/conf.texi: Likewise.
40846 * manual/errno.texi: Likewise. Update example of errno macro
40848 * manual/filesys.texi: Likewise.
40849 (getumask): Document as specific to GNU/Hurd.
40850 * manual/install.texi: Likewise. Reword some references to
40852 * manual/intro.texi: Likewise.
40853 * manual/io.texi: Likewise.
40854 (File Name Portability): Detail which constraints are inapplicable
40855 to all GNU systems and which are only inapplicable to GNU/Hurd.
40856 * manual/job.texi: Likewise.
40857 * manual/llio.texi: Likewise.
40858 (O_NOCTTY): Document as present on GNU/Linux.
40859 * manual/maint.texi: Likewise.
40860 * manual/memory.texi: Likewise.
40861 * manual/pattern.texi: Likewise.
40862 * manual/pipe.texi: Likewise.
40863 * manual/process.texi: Likewise.
40864 * manual/resource.texi: Likewise.
40865 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40867 * manual/setjmp.texi: Likewise.
40868 * manual/signal.texi: Likewise.
40869 * manual/startup.texi: Likewise.
40870 * manual/stdio.texi: Likewise.
40871 * manual/terminal.texi: Likewise.
40872 (ONLCR): Document as POSIX.
40873 (OXTABS): Document availability on GNU/Linux as XTABS.
40874 (ONOEOT): Document availability separately from other bits.
40875 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40876 * manual/time.texi: Likewise.
40877 * manual/users.texi: Likewise.
40878 * INSTALL: Regenerated.
40879 * sysdeps/gnu/errlist.c: Regenerated.
40881 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40882 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40883 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40885 * configure: Regenerated.
40887 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40889 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40890 default includes instead of AC_HEADER_CHECK.
40891 * sysdeps/i386/configure: Regenerated.
40894 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40895 * math/s_cacoshf.c (__cacoshf): Likewise.
40896 * math/s_cacoshl.c (__cacoshl): Likewise.
40897 * math/s_casinh.c (__casinh): Set signs of result from argument.
40898 * math/s_casinhf.c (__casinhf): Likewise.
40899 * math/s_casinhl.c (__casinhl): Likewise.
40900 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40901 (casinh_test): Add more tests.
40902 * sysdeps/i386/fpu/libm-test-ulps: Update.
40903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40905 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40907 * po/zh_TW.po: Update from translation team.
40909 * login/Makefile (distribute): Remove variable.
40910 * catgets/Makefile: Likewise.
40911 * mach/Makefile: Likewise.
40912 * malloc/Makefile: Likewise.
40913 * misc/Makefile: Likewise.
40914 * iconv/Makefile: Likewise.
40915 * nscd/Makefile: Likewise.
40916 * hurd/Makefile: Likewise.
40917 * manual/Makefile: Likewise.
40918 * locale/Makefile: Likewise.
40919 * intl/Makefile: Likewise.
40920 * conform/Makefile: Likewise.
40921 * nss/Makefile: Likewise.
40922 * time/Makefile: Likewise.
40923 * soft-fp/Makefile: Likewise.
40924 * dirent/Makefile: Likewise.
40925 * gmon/Makefile: Likewise.
40926 * po/Makefile: Likewise.
40927 * rt/Makefile: Likewise.
40928 * socket/Makefile: Likewise.
40929 * math/Makefile: Likewise.
40930 * signal/Makefile: Likewise.
40931 * debug/Makefile: Likewise.
40932 * elf/Makefile: Likewise.
40933 * timezone/Makefile: Likewise.
40934 * stdlib/Makefile: Likewise.
40935 * iconvdata/Makefile: Likewise.
40936 * sunrpc/Makefile: Likewise.
40937 * io/Makefile: Likewise.
40938 * argp/Makefile: Likewise.
40939 * inet/Makefile: Likewise.
40940 * hesiod/Makefile: Likewise.
40941 * grp/Makefile: Likewise.
40942 * csu/Makefile: Likewise.
40943 * wctype/Makefile: Likewise.
40944 * crypt/Makefile: Likewise.
40945 * libio/Makefile: Likewise.
40946 * string/Makefile: Likewise.
40947 * nis/Makefile: Likewise.
40948 * resolv/Makefile: Likewise.
40949 * stdio-common/Makefile: Likewise.
40950 * wcsmbs/Makefile: Likewise.
40951 * dlfcn/Makefile: Likewise.
40952 * posix/Makefile: Likewise.
40955 * timezone/Makefile: Don't install timezone files, just the programs
40958 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40960 * nss/databases.def: Add missing gshadow entry.
40962 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40964 2012-03-06 Marek Polacek <polacek@redhat.com>
40967 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40968 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40969 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40970 * stdio-common/tst-long-dbl-fphex.c: New file.
40972 2012-03-06 David S. Miller <davem@davemloft.net>
40974 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40975 (set_obp_int): New function.
40976 (get_obp_int): New function.
40977 (__get_clockfreq_via_dev_openprom): Likewise.
40978 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40979 Avoid unused variable warnings on 'val' and use builtin_expect.
40980 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40982 (INLINE_CLONE_SYSCALL): Likewise.
40984 2012-03-05 David S. Miller <davem@davemloft.net>
40986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40988 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40992 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40993 only for |x| >= 40.
40994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40996 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40999 Replace gettimeofday with __vdso_gettimeofday.
41001 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41002 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41003 __vdso_clock_gettime and __vdso_getcpu.
41005 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41006 time with __vdso_time.
41008 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41010 * manual/lang.texi (size_t): Note types to which size_t may be
41011 equivalent with the GNU C Library, but do not describe when
41012 differences between them are significant.
41014 2012-03-05 Andreas Jaeger <aj@suse.de>
41016 * sysdeps/i386/fpu/libm-test-ulps: Update.
41018 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41021 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41022 (__ieee754_pow): Save and restore rounding mode and use
41023 round-to-nearest for main computations.
41024 * math/libm-test.inc (pow_test_tonearest): New function.
41025 (pow_test_towardzero): Likewise.
41026 (pow_test_downward): Likewise.
41027 (pow_test_upward): Likewise.
41028 (main): Call the new functions.
41029 * sysdeps/i386/fpu/libm-test-ulps: Update.
41030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41033 * math/libm-test.inc (cosh_test_tonearest): New function.
41034 (cosh_test_towardzero): Likewise.
41035 (cosh_test_downward): Likewise.
41036 (cosh_test_upward): Likewise.
41037 (sinh_test_tonearest): Likewise.
41038 (sinh_test_towardzero): Likewise.
41039 (sinh_test_downward): Likewise.
41040 (sinh_test_upward): Likewise.
41041 (main): Call the new functions.
41042 * sysdeps/i386/fpu/libm-test-ulps: Update.
41043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41045 2012-03-05 Tom de Vries <tom@codesourcery.com>
41047 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41048 default stack guard is set in last bytes.
41049 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41051 2012-03-05 Kees Cook <keescook@chromium.org>
41053 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41056 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41057 possibly allocate from heap instead of stack.
41058 * stdio-common/bug-vfprintf-nargs.c: New file.
41059 * stdio-common/Makefile (tests): Add nargs overflow test.
41061 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41065 2012-03-03 Marek Polacek <polacek@redhat.com>
41067 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41068 * math/math_private.h: Likewise.
41069 * stdlib/tst-strtod.c: Likewise.
41070 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41071 * sysdeps/x86_64/bits/atomic.h: Likewise.
41073 2012-03-02 David S. Miller <davem@davemloft.net>
41075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41079 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41080 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41081 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41082 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41084 2012-03-02 Roland McGrath <roland@hack.frob.com>
41087 * manual/examples/README: New file, says the example source files
41088 can be used under GPL>=2.
41089 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41090 line containing just "*/".
41091 * manual/examples/add.c: Add copyright header (GPL>=2).
41092 * manual/examples/argp-ex1.c: Likewise.
41093 * manual/examples/argp-ex2.c: Likewise.
41094 * manual/examples/argp-ex3.c: Likewise.
41095 * manual/examples/argp-ex4.c: Likewise.
41096 * manual/examples/atexit.c: Likewise.
41097 * manual/examples/db.c: Likewise.
41098 * manual/examples/dir.c: Likewise.
41099 * manual/examples/dir2.c: Likewise.
41100 * manual/examples/execinfo.c: Likewise.
41101 * manual/examples/filecli.c: Likewise.
41102 * manual/examples/filesrv.c: Likewise.
41103 * manual/examples/fmtmsgexpl.c: Likewise.
41104 * manual/examples/genpass.c: Likewise.
41105 * manual/examples/inetcli.c: Likewise.
41106 * manual/examples/inetsrv.c: Likewise.
41107 * manual/examples/isockad.c: Likewise.
41108 * manual/examples/longopt.c: Likewise.
41109 * manual/examples/memopen.c: Likewise.
41110 * manual/examples/memstrm.c: Likewise.
41111 * manual/examples/mkfsock.c: Likewise.
41112 * manual/examples/mkisock.c: Likewise.
41113 * manual/examples/mygetpass.c: Likewise.
41114 * manual/examples/pipe.c: Likewise.
41115 * manual/examples/popen.c: Likewise.
41116 * manual/examples/rprintf.c: Likewise.
41117 * manual/examples/search.c: Likewise.
41118 * manual/examples/select.c: Likewise.
41119 * manual/examples/setjmp.c: Likewise.
41120 * manual/examples/sigh1.c: Likewise.
41121 * manual/examples/sigusr.c: Likewise.
41122 * manual/examples/stpcpy.c: Likewise.
41123 * manual/examples/strdupa.c: Likewise.
41124 * manual/examples/strftim.c: Likewise.
41125 * manual/examples/strncat.c: Likewise.
41126 * manual/examples/subopt.c: Likewise.
41127 * manual/examples/swapcontext.c: Likewise.
41128 * manual/examples/termios.c: Likewise.
41129 * manual/examples/testopt.c: Likewise.
41130 * manual/examples/testpass.c: Likewise.
41131 * manual/examples/timeval_subtract.c: Likewise.
41134 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41136 * manual/timeval_subtract.c.texi: ... here, new file.
41138 2012-03-02 David S. Miller <davem@davemloft.net>
41140 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41142 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41145 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41146 (__sin): Save and restore rounding mode and use round-to-nearest
41147 for all computations.
41148 (__cos): Save and restore rounding mode and use round-to-nearest
41149 for all computations.
41150 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41152 (tan): Save and restore rounding mode and use round-to-nearest for
41154 * math/libm-test.inc (cos_test_tonearest): New function.
41155 (cos_test_towardzero): Likewise.
41156 (cos_test_downward): Likewise.
41157 (cos_test_upward): Likewise.
41158 (sin_test_tonearest): Likewise.
41159 (sin_test_towardzero): Likewise.
41160 (sin_test_downward): Likewise.
41161 (sin_test_upward): Likewise.
41162 (tan_test_tonearest): Likewise.
41163 (tan_test_towardzero): Likewise.
41164 (tan_test_downward): Likewise.
41165 (tan_test_upward): Likewise.
41166 (main): Call the new functions.
41167 * sysdeps/i386/fpu/libm-test-ulps: Update.
41168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41171 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41172 small n, then large n, before computing and testing k+n.
41173 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41174 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41176 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41178 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41179 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41182 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41183 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41184 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41185 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41186 * math/libm-test.inc (scalbn_test): Add more tests.
41187 (scalbln_test): Likewise.
41189 * manual/filesys.texi (mode_t): Describe constraints on size and
41190 signedness, not exact equivalence to a particular type.
41192 (ino64_t): Likewise.
41194 (nlink_t): Likewise.
41195 (blkcnt_t): Likewise.
41196 (blkcnt64_t): Likewise.
41197 * manual/llio.texi (off_t): Likewise.
41200 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41201 (__ieee754_exp): Save and restore rounding mode and use
41202 round-to-nearest for all computations.
41203 * math/libm-test.inc (exp_test_tonearest): New function.
41204 (exp_test_towardzero): Likewise.
41205 (exp_test_downward): Likewise.
41206 (exp_test_upward): Likewise.
41207 (main): Call the new functions.
41208 * sysdeps/i386/fpu/libm-test-ulps: Update.
41209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41211 2012-03-01 Chris Demetriou <cgd@google.com>
41213 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41214 have predictable order.
41216 2012-03-01 David S. Miller <davem@davemloft.net>
41218 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41220 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41221 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41222 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41223 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41225 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41226 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41227 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41229 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41230 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41231 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41232 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41233 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41237 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41238 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41239 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41241 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41242 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41243 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41244 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41245 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41246 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41247 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41248 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41249 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41250 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41251 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41252 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41253 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41254 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41255 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41257 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41258 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41259 * sysdeps/sparc/elf/configure: Regenerated.
41261 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41263 * configure.in (AS, LD): Require binutils 2.20 or later.
41264 * configure: Regenerated.
41265 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41266 as required minimum version.
41267 * INSTALL: Regenerated.
41271 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41272 before squaring exponent.
41273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41274 bottom long double and 27 bits of top long double before squaring
41276 * math/libm-test.inc (erfc_test): Add more tests.
41277 * sysdeps/i386/fpu/libm-test-ulps: Update.
41278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41281 2012-03-01 Kai Tietz <ktietz@redhat.com>
41283 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41284 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41285 containing bit-fields.
41286 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41287 * soft-fp/single.h (_FP_UNION_S): Likewise.
41288 * soft-fp/double.h (_FP_UNION_D): Likewise.
41290 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41293 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41294 not include ../strcmp.S.
41295 [USE_AS_STRNCASECMP_L]: Likewise.
41296 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41297 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41298 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41299 (__strncasecmp_l_ia32): Define as alias to
41300 __strncasecmp_l_nonascii.
41303 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41304 * sysdeps/i386/fpu/libm-test-ulps: Update.
41305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41307 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41310 2012-02-29 Jeff Law <law@redhat.com>
41312 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41313 out of bounds read.
41315 2012-02-29 Marek Polacek <polacek@redhat.com>
41318 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41319 * elf/Makefile: Add rules to run tst-unused-dep.out.
41321 2012-02-28 David S. Miller <davem@davemloft.net>
41323 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41324 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41326 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41327 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41328 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41330 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41332 * math/libm-test.inc (llround_test): Move one test from
41333 lround_test. Use TEST_f_L in moved test.
41334 (lround_test): Move misplaced test to llround_test. Add testcase
41337 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41339 * sysdeps/x86_64/fpu/e_expf.S: New file.
41340 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41342 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41345 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41346 of remain_len that may cause incomplete multi-byte character and
41348 * posix/bug-regex33.c: New file.
41349 * posix/Makefile (tests): Add bug-regex33.
41351 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41353 * manual/macros.texi: New file.
41354 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41355 * manual/libc.texinfo: Include macros.texi.
41356 * manual/creatute.texi: Likewise.
41357 * manual/install.texi: Likewise.
41358 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41359 @glibcadj{} in references to the GNU C Library.
41360 * manual/charset.texi: Likewise.
41361 * manual/conf.texi: Likewise.
41362 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41363 when not using those macros.
41364 * manual/creature.texi: Likewise.
41365 * manual/crypt.texi: Likewise.
41366 * manual/errno.texi: Likewise.
41367 * manual/filesys.texi: Likewise.
41368 * manual/header.texi: Likewise.
41369 * manual/install.texi: Likewise.
41370 * manual/intro.texi: Likewise.
41371 * manual/io.texi: Likewise.
41372 * manual/job.texi: Likewise.
41373 * manual/lang.texi: Likewise.
41374 * manual/libc.texiinfo: Likewise.
41375 * manual/llio.texi: Likewise.
41376 * manual/locale.texi: Likewise.
41377 * manual/maint.texi: Likewise.
41378 * manual/math.texi: Likewise.
41379 * manual/memory.texi: Likewise.
41380 * manual/message.texi: Likewise.
41381 * manual/nss.texi: Likewise.
41382 * manual/pattern.texi: Likewise.
41383 * manual/process.texi: Likewise.
41384 * manual/resource.texi: Likewise.
41385 * manual/search.texi: Likewise.
41386 * manual/setjmp.texi: Likewise.
41387 * manual/signal.texi: Likewise.
41388 * manual/socket.texi: Likewise.
41389 * manual/startup.texi: Likewise.
41390 * manual/stdio.texi: Likewise.
41391 * manual/string.texi: Likewise.
41392 * manual/sysinfo.texi: Likewise.
41393 * manual/syslog.texi: Likewise.
41394 * manual/terminal.texi: Likewise.
41395 * manual/time.texi: Likewise.
41396 * manual/users.texi: Likewise.
41397 * INSTALL: Regenerated.
41398 * NOTES: Regenerated.
41399 * sysdeps/gnu/errlist.c: Regenerated.
41401 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41403 * include/dirent.h: Include <dirstream.h> before
41406 2012-02-28 David S. Miller <davem@davemloft.net>
41408 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41409 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41410 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41411 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41413 2012-02-27 David S. Miller <davem@davemloft.net>
41415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41417 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41418 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41421 frame pointer instead of stack pointer relative arg slot.
41422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41423 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41424 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41426 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41429 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41431 2012-02-27 David S. Miller <davem@davemloft.net>
41433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41437 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41438 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41439 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41440 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41442 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41444 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41445 later. Allow versions 5-9.
41446 * configure: Regenerated.
41447 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41448 required minimum version and 4.6 as recommended version. Do not
41449 mention bugs in GCC 2.7 and 2.8.
41450 * INSTALL: Regenerated.
41452 2012-02-27 David S. Miller <davem@davemloft.net>
41454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41458 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41459 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41460 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41461 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41463 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41464 manipulate bits before adding and subtracting TWO112[sx].
41465 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41467 2012-02-27 Roland McGrath <roland@hack.frob.com>
41470 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41471 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41472 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41473 being in POSIX, because they are in 1003.1-2008.
41475 * rt/tst-aio.c: Include <fcntl.h>.
41476 * rt/tst-aio7.c: Likewise.
41477 * rt/tst-aio64.c: Likewise.
41479 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41481 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41483 * manual/install.texi (--with-headers): Describe headers as
41484 interface headers, not private headers.
41485 (Specific advice for GNU/Linux systems): Describe use of headers
41486 from "make headers_install", not private headers from older
41488 * INSTALL: Regenerated.
41489 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41491 * sysdeps/unix/sysv/linux/configure: Regenerated.
41493 * manual/llio.texi (fclean): Remove documentation.
41495 * manual/Makefile (libc-texi-generated): New variable. Include
41497 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41498 $(libc-texi-generated), not duplicated list of files.
41499 (version.texi, stamp-version): New rules.
41500 (realclean): Remove $(libc-texi-generated), not individual files
41501 from that list. Do not remove dir-add.texinfo.
41502 * manual/libc.texinfo: Comment out uses of edition numbers and
41503 references to printed manual. Remove last-updated dates.
41504 (EDITION): Comment out.
41506 (VERSION, UPDATED): Remove.
41507 (version.texi): Include.
41509 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41511 * sysdeps/posix/spawni.c: Include <signal.h>.
41512 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41513 * sysdeps/pthread/aio_fsync.c: Likewise.
41515 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41517 * conform/Makefile (tests): Run only when not cross-compiling and
41518 when fast-check is not defined.
41520 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41521 * conform/data/limits.h-data: Fixes for POSIX2008.
41522 * conform/run-conformtest.sh: Run all tests.
41523 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41525 * include/bits/dlfcn.h: Likewise.
41526 * include/langinfo.h: Likewise.
41527 * include/monetary.h: Likewise.
41528 * include/sys/poll.h: Likewise.
41530 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41532 * posix/spawn.h: Define __need_sigset_t.
41533 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41534 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41535 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41536 to get sigevent_t only.
41537 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41538 only for __USE_GNU.
41539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41540 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41541 process_vm_writev only for __USE_GNU.
41542 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41544 * conform/Makefile: For now ignore errors from run-conformtest.
41545 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41546 POSIX to avoid namespace pollution. Don't prepend headers.
41547 * conform/data/aio.h-data: Fixes for POSIX testing.
41548 * conform/data/fcntl.h-data: Likewise.
41549 * conform/data/glob.h-data: Likewise.
41550 * conform/data/grp.h-data: Likewise.
41551 * conform/data/pthread.h-data: Likewise.
41552 * conform/data/pwd.h-data: Likewise.
41553 * conform/data/signal.h-data: Likewise.
41554 * conform/data/spawn.h-data: Likewise.
41555 * conform/data/stdio.h-data: Likewise.
41556 * conform/data/stdlib.h-data: Likewise.
41557 * conform/data/stropts.h-data: Likewise.
41558 * conform/data/sys/mman.h-data: Likewise.
41559 * conform/data/sys/stat.h-data: Likewise.
41560 * conform/data/sys/types.h-data: Likewise.
41561 * conform/data/sys/wait.h-data: Likewise.
41562 * conform/data/time.h-data: Likewise.
41563 * conform/data/unistd.h-data: Likewise.
41564 * conform/data/utime.h-data: Likewise.
41566 * io/sys/stat.h: fchmod was always in POSIX.
41567 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41568 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41569 * rt/aio.h: Define __need_timespec before including <time.h>.
41570 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41571 struct. Add forward declaration of pthread_attr_t and use it in
41573 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41574 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41575 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41576 always remove CLK_TCK definition.
41578 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41580 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41582 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41584 * conform/run-conformtest.sh: New file.
41585 * conform/Makefile: Run run-conformtest for tests.
41586 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41589 * conform/data/uchar.h-data: New file.
41590 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41591 * conform/data/arpa/inet.h-data: Likewise.
41592 * conform/data/assert.h-data: Likewise.
41593 * conform/data/complex.h-data: Likewise.
41594 * conform/data/cpio.h-data: Likewise.
41595 * conform/data/ctype.h-data: Likewise.
41596 * conform/data/dirent.h-data: Likewise.
41597 * conform/data/dlfcn.h-data: Likewise.
41598 * conform/data/errno.h-data: Likewise.
41599 * conform/data/fcntl.h-data: Likewise.
41600 * conform/data/float.h-data: Likewise.
41601 * conform/data/fmtmsg.h-data: Likewise.
41602 * conform/data/fnmatch.h-data: Likewise.
41603 * conform/data/ftw.h-data: Likewise.
41604 * conform/data/glob.h-data: Likewise.
41605 * conform/data/grp.h-data: Likewise.
41606 * conform/data/iconv.h-data: Likewise.
41607 * conform/data/inttypes.h-data: Likewise.
41608 * conform/data/langinfo.h-data: Likewise.
41609 * conform/data/libgen.h-data: Likewise.
41610 * conform/data/limits.h-data: Likewise.
41611 * conform/data/locale.h-data: Likewise.
41612 * conform/data/math.h-data: Likewise.
41613 * conform/data/monetary.h-data: Likewise.
41614 * conform/data/mqueue.h-data: Likewise.
41615 * conform/data/ndbm.h-data: Likewise.
41616 * conform/data/net/if.h-data: Likewise.
41617 * conform/data/netdb.h-data: Likewise.
41618 * conform/data/netinet/in.h-data: Likewise.
41619 * conform/data/nl_types.h-data: Likewise.
41620 * conform/data/poll.h-data: Likewise.
41621 * conform/data/pthread.h-data: Likewise.
41622 * conform/data/pwd.h-data: Likewise.
41623 * conform/data/regex.h-data: Likewise.
41624 * conform/data/sched.h-data: Likewise.
41625 * conform/data/search.h-data: Likewise.
41626 * conform/data/semaphore.h-data: Likewise.
41627 * conform/data/setjmp.h-data: Likewise.
41628 * conform/data/signal.h-data: Likewise.
41629 * conform/data/spawn.h-data: Likewise.
41630 * conform/data/stdarg.h-data: Likewise.
41631 * conform/data/stdio.h-data: Likewise.
41632 * conform/data/stdlib.h-data: Likewise.
41633 * conform/data/string.h-data: Likewise.
41634 * conform/data/strings.h-data: Likewise.
41635 * conform/data/stropts.h-data: Likewise.
41636 * conform/data/sys/ipc.h-data: Likewise.
41637 * conform/data/sys/mman.h-data: Likewise.
41638 * conform/data/sys/msg.h-data: Likewise.
41639 * conform/data/sys/resource.h-data: Likewise.
41640 * conform/data/sys/select.h-data: Likewise.
41641 * conform/data/sys/sem.h-data: Likewise.
41642 * conform/data/sys/shm.h-data: Likewise.
41643 * conform/data/sys/socket.h-data: Likewise.
41644 * conform/data/sys/stat.h-data: Likewise.
41645 * conform/data/sys/statvfs.h-data: Likewise.
41646 * conform/data/sys/time.h-data: Likewise.
41647 * conform/data/sys/timeb.h-data: Likewise.
41648 * conform/data/sys/times.h-data: Likewise.
41649 * conform/data/sys/types.h-data: Likewise.
41650 * conform/data/sys/uio.h-data: Likewise.
41651 * conform/data/sys/un.h-data: Likewise.
41652 * conform/data/sys/utsname.h-data: Likewise.
41653 * conform/data/sys/wait.h-data: Likewise.
41654 * conform/data/syslog.h-data: Likewise.
41655 * conform/data/tar.h-data: Likewise.
41656 * conform/data/termios.h-data: Likewise.
41657 * conform/data/utime.h-data: Likewise.
41658 * conform/data/utmpx.h-data: Likewise.
41659 * conform/data/varargs.h-data: Likewise.
41660 * conform/data/wchar.h-data: Likewise.
41661 * conform/data/wctype.h-data: Likewise.
41662 * conform/data/wordexp.h-data: Likewise.
41664 * include/stropts.h: New file.
41665 * include/uchar.h: New file.
41666 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41667 * include/assert.h: Likewise.
41668 * include/ctype.h: Likewise.
41669 * include/dirent.h: Likewise.
41670 * include/dlfcn.h: Likewise.
41671 * include/fcntl.h: Likewise.
41672 * include/fnmatch.h: Likewise.
41673 * include/glob.h: Likewise.
41674 * include/grp.h: Likewise.
41675 * include/libio.h: Likewise.
41676 * include/locale.h: Likewise.
41677 * include/math.h: Likewise.
41678 * include/net/if.h: Likewise.
41679 * include/netdb.h: Likewise.
41680 * include/netinet/in.h: Likewise.
41681 * include/pthread.h: Likewise.
41682 * include/pwd.h: Likewise.
41683 * include/regex.h: Likewise.
41684 * include/sched.h: Likewise.
41685 * include/search.h: Likewise.
41686 * include/setjmp.h: Likewise.
41687 * include/signal.h: Likewise.
41688 * include/stdio.h: Likewise.
41689 * include/stdlib.h: Likewise.
41690 * include/string.h: Likewise.
41691 * include/sys/cdefs.h: Likewise.
41692 * include/sys/mman.h: Likewise.
41693 * include/sys/msg.h: Likewise.
41694 * include/sys/resource.h: Likewise.
41695 * include/sys/select.h: Likewise.
41696 * include/sys/socket.h: Likewise.
41697 * include/sys/stat.h: Likewise.
41698 * include/sys/statvfs.h: Likewise.
41699 * include/sys/time.h: Likewise.
41700 * include/sys/times.h: Likewise.
41701 * include/sys/uio.h: Likewise.
41702 * include/sys/utsname.h: Likewise.
41703 * include/sys/wait.h: Likewise.
41704 * include/termios.h: Likewise.
41705 * include/time.h: Likewise.
41706 * include/ulimit.h: Likewise.
41707 * include/unistd.h: Likewise.
41708 * include/utime.h: Likewise.
41709 * include/wchar.h: Likewise.
41710 * include/wctype.h: Likewise.
41711 * include/wordexp.h: Likewise.
41713 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41715 * time/time.h: TIME_UTC must be a macro.
41716 Make timespec_get available for ISO C11 only as well.
41718 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41720 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41721 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41723 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41725 * configure.in: Use -o not -a in test for unsupported multi-arch.
41727 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41729 * manual/texinfo.tex: Update to version 2012-01-19.16.
41731 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41733 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41735 2012-02-24 Roland McGrath <roland@hack.frob.com>
41738 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41739 * manual/fdl-1.3.texi: New file.
41740 * manual/fdl-1.1.texi: File removed.
41743 * manual/libc.texinfo (FDL_VERSION): New @set.
41744 Use it for mention of FDL in cover text.
41745 (Documentation License): Use it in @include file name.
41747 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41748 Roland McGrath <roland@hack.frob.com>
41751 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41752 (not LONG_LONG_MAX and LONG_LONG_MIN.
41753 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41754 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41756 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41758 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41762 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41763 manipulate bits before adding and subtracting TWO23[sx].
41764 * math/libm-test.inc (nearbyint_test): Add more tests.
41766 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41769 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41770 bits before adding and subtracting TWO23[sx].
41771 * math/libm-test.inc (rint_test): Add more tests.
41772 (rint_test_tonearest): Likewise.
41773 (rint_test_towardzero): Likewise.
41774 (rint_test_downward): Likewise.
41775 (rint_test_upward: Likewise.
41777 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41780 * include/stdc-predef.h: New file. Extracted from features.h.
41781 * include/features.h: Include stdc-predef.h.
41782 * Makefile (headers): Add stdc-predef.h.
41783 * CONFORMANCE (Compiler limitations): Update.
41785 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41787 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41789 2012-02-21 David S. Miller <davem@davemloft.net>
41791 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41792 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41794 2012-02-20 David S. Miller <davem@davemloft.net>
41796 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41797 using a normal save/restore sequence, rather than allocating a
41798 dummy stack frame just to store a frame pointer and restore.
41799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41801 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41803 * manual/install.texi: Fix stray word in line-wrapped comment.
41805 2012-02-20 David S. Miller <davem@davemloft.net>
41807 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41808 both binutils and gcc support GOTDATA.
41810 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41811 "rd %pc" in the PIC register setup sequences.
41813 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41814 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41815 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41816 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41817 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41819 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41820 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41822 (SYSCALL_ERROR_HANDLER): Likewise.
41823 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41824 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41826 (SYSCALL_ERROR_HANDLER): Likewise.
41828 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41829 (HAVE_GCC_GOTDATA): New.
41830 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41831 relocation support in both binutils and gcc.
41832 * sysdeps/sparc/elf/configure: Regenerate.
41834 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41835 * sysdeps/sparc/sparc32/elf/configure: Delete.
41836 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41837 * sysdeps/sparc/sparc64/elf/configure: Delete.
41838 * sysdeps/sparc/elf/configure.in: New file.
41839 * sysdeps/sparc/elf/configure: Generate.
41841 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41842 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41843 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41844 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41845 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41847 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41849 * manual/install.texi: Do not mention specific glibc version
41851 * manual/libc.texinfo (VERSION, UPDATED): Update.
41852 (@copying): Use @copyright{} and range of years.
41854 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41857 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41858 [crti.S not in sysdirs] (generated): Do not append.
41859 [crti.S not in sysdirs] (omit-deps): Likewise.
41860 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41861 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41862 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41863 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41864 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41866 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41867 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41868 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41869 * csu/defs.awk: Remove file.
41870 * sysdeps/generic/initfini.c: Likewise.
41871 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41873 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41876 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41878 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41879 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41880 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41881 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41882 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41883 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41885 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41886 (__EPOLL_PACKED): Define to empty if not defined by
41888 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41892 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41894 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41895 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41896 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41897 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41899 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41903 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41905 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41907 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41908 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41909 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41912 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41915 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41917 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41919 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41920 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41922 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41924 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41927 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41929 * math/w_acos.c: Use non-signaling floating-point comparisons.
41930 * math/w_acosf.c: Likewise.
41931 * math/w_acosh.c: Likewise.
41932 * math/w_acoshf.c: Likewise.
41933 * math/w_acoshl.c: Likewise.
41934 * math/w_acosl.c: Likewise.
41935 * math/w_asin.c: Likewise.
41936 * math/w_asinf.c: Likewise.
41937 * math/w_asinl.c: Likewise.
41938 * math/w_atanh.c: Likewise.
41939 * math/w_atanhf.c: Likewise.
41940 * math/w_atanhl.c: Likewise.
41941 * math/w_exp2.c: Likewise.
41942 * math/w_exp2f.c: Likewise.
41943 * math/w_exp2l.c: Likewise.
41944 * math/w_j0.c: Likewise.
41945 * math/w_j0f.c: Likewise.
41946 * math/w_j0l.c: Likewise.
41947 * math/w_j1.c: Likewise.
41948 * math/w_j1f.c: Likewise.
41949 * math/w_j1l.c: Likewise.
41950 * math/w_jn.c: Likewise.
41951 * math/w_jnf.c: Likewise.
41952 * math/w_log.c: Likewise.
41953 * math/w_log10.c: Likewise.
41954 * math/w_log10f.c: Likewise.
41955 * math/w_log10l.c: Likewise.
41956 * math/w_log2.c: Likewise.
41957 * math/w_log2f.c: Likewise.
41958 * math/w_log2l.c: Likewise.
41959 * math/w_logf.c: Likewise.
41960 * math/w_logl.c: Likewise.
41961 * math/w_sqrt.c: Likewise.
41962 * math/w_sqrtf.c: Likewise.
41963 * math/w_sqrtl.c: Likewise.
41964 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41965 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41966 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41967 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41968 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41970 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41973 * manual/string.texi (strnlen): Use correct parameter name in
41974 equivalent expression.
41976 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41979 * manual/users.texi (seteuid): Consistently use neweuid for
41982 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41985 * manual/nss.texi (Services in the NSS configuration): Correct
41986 list of services in example configuration file.
41988 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41991 * manual/arith.texi: Remove statements about negative zero
41992 behaving identically to zero.
41994 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41997 * manual/install.texi: Do not document upgrading from libc5.
41999 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42002 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42004 2012-02-18 David S. Miller <davem@davemloft.net>
42006 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42007 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42008 %o7 across the call.
42009 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42012 SETUP_PIC_REG_LEAF.
42013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42014 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42015 * sysdeps/sparc/crtn.S: Likewise.
42017 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42019 * aout/Makefile: Remove.
42021 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42024 * manual/examples/argp-ex1.c (main): Format definition in GNU
42026 * manual/examples/argp-ex2.c (main): Likewise.
42027 * manual/examples/argp-ex3.c (main): Likewise.
42028 * manual/examples/argp-ex4.c (main): Likewise.
42029 * manual/examples/longopt.c (main): Use new-style prototype
42031 * manual/examples/strncat.c (main): Specify return type and use
42032 (void) for arguments.
42033 * manual/examples/subopt.c (main): Use char **argv argument.
42035 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42038 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42041 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42044 * manual/string.texi (strchr): Change when strchrnul is
42047 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42050 * manual/locale.texi (setlocale): Document LOCPATH.
42052 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42055 * manual/process.texi (execle): Move @dots{} before last argument.
42057 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42060 * manual/charset.texi (Generic Charset Conversion): Fix typo
42061 (LC_TYPE -> LC_CTYPE).
42063 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42066 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42067 (scalbnf): Likewise.
42068 (scalbnl): Likewise.
42069 (scalbln): Likewise.
42070 (scalblnf): Likewise.
42071 (scalblnl): Likewise.
42072 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42073 (vwarnx): Likewise.
42076 * manual/filesys.texi (telldir): Use braces around return type.
42077 * manual/llio.texi (mmap): Add space after comma.
42078 (mmap64): Likewise.
42079 * manual/math.texi (jn): Use @var{} on parameter names.
42085 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42087 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42089 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42090 (sched_get_priority_max): Likewise.
42091 * manual/signal.texi (sigvec): Add space after comma.
42092 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42094 (if_indextoname): Likewise.
42095 (if_freenameindex): Likewise.
42096 (sendto): Use ',' instead of '.' in prototype.
42097 * manual/startup.texi (syscall): Use @dots{} instead of literal
42099 * manual/stdio.texi (__fpending): Separate initial words of
42100 paragraph from @deftypefun line.
42101 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42103 (vsyslog): Use @var{} on parameter names.
42104 * manual/terminal.texi (stty): Use @var{} on parameter names.
42105 * manual/users.texi (getutmp): Use @var{} on parameter names.
42106 (getutmpx): Likewise.
42108 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42111 * manual/stdio.texi (fopen): Fix typos in description of
42114 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42117 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42118 get clock_id definition.
42120 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42123 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42124 (madvise): Cast every argument to void on its own.
42126 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42129 * manual/startup.texi (Exit Status): Fix typo.
42131 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42134 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42135 * manual/examples/argp-ex2.c: Likewise.
42136 * manual/examples/argp-ex3.c: Likewise.
42138 2012-02-16 Richard Henderson <rth@redhat.com>
42140 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42141 * sysdeps/s390/s390-32/initfini.c: Remove.
42142 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42143 * sysdeps/s390/s390-64/initfini.c: Remove.
42145 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42147 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42148 compiler output for sysdeps/generic/initfini.c.
42149 * sysdeps/sh/elf/initfini.c: Remove file.
42151 2012-02-16 David S. Miller <davem@davemloft.net>
42154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42156 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42157 * sysdeps/sparc/crti.S: New file.
42158 * sysdeps/sparc/crtn.S: New file.
42159 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42160 * sysdeps/sparc/sparc64/Makefile: Likewise.
42162 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42165 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42167 2012-02-15 Roland McGrath <roland@hack.frob.com>
42170 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42172 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42173 (write, read, close): Likewise.
42174 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42176 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42178 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42179 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42180 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42181 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42183 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42187 2012-02-14 Marek Polacek <polacek@redhat.com>
42189 * sysdeps/x86_64/crti.S: New file.
42190 * sysdeps/x86_64/crtn.S: New file.
42191 * sysdeps/x86_64/elf/initfini.c: Remove file.
42193 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42195 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42196 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42197 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42198 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42200 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42204 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42206 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42207 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42208 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42209 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42211 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42215 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42217 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42218 __feraiseexcept instead of feraiseexcept.
42220 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42221 nanosleep invocations.
42222 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42223 strings, and add error checking for a nanosleep invocations.
42225 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42227 Replace FSF snail mail address with URLs, as per GNU coding standards.
42228 Most of the snail mail addresses were wrong anyway, and omitting
42229 them makes the source code easier to maintain. Almost all of the
42230 changes are to license notices and to locale LC_IDENTIFICATION
42231 addresses, except for this one:
42232 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42233 not its snail mail address.
42235 2012-02-09 Richard Henderson <rth@twiddle.net>
42237 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42238 of kernel-features.h.
42240 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42242 2012-02-08 Marek Polacek <polacek@redhat.com>
42244 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42245 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42246 * sysdeps/gnu/_G_config.h: Likewise.
42247 * sysdeps/generic/_G_config.h: Likewise.
42249 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42251 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42255 * sysdeps/powerpc/powerpc32/crti.S: New file.
42256 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42257 * sysdeps/powerpc/powerpc64/crti.S: New file.
42258 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42260 * Makeconfig (have-initfini): Don't set.
42261 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42262 * configure.in (nopic_initfini): Don't substitute.
42263 * config.h.in (HAVE_INITFINI): Don't #undef.
42264 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42265 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42267 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42269 Support crti.S and crtn.S provided directly by architectures.
42270 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42271 [crti.S in sysdirs] (omit-deps): Likewise.
42272 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42273 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42274 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42275 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42276 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42277 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42278 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42279 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42280 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42281 compiler output for sysdeps/generic/initfini.c.
42282 * sysdeps/i386/elf/Makefile: Remove file.
42283 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42285 2012-02-07 Marek Polacek <polacek@redhat.com>
42287 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42288 * sysdeps/gnu/_G_config.h: Likewise.
42289 * sysdeps/mach/hurd/_G_config.h: Likewise.
42291 2012-02-07 Marek Polacek <polacek@redhat.com>
42293 * math/Makefile (tests): Add tst-CMPLX2.
42294 * math/tst-CMPLX2.c: New file.
42296 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42298 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42300 * math/libm-test.inc (jn_test): Add missing L suffix.
42302 2012-02-06 Marek Polacek <polacek@redhat.com>
42304 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42305 * sysdeps/i386/fpu/e_powf.S: Likewise.
42306 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42307 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42308 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42309 * sysdeps/i386/fpu/e_pow.S: Likewise.
42310 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42311 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42312 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42313 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42314 * sysdeps/i386/fpu/e_log2.S: Likewise.
42315 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42316 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42317 * sysdeps/i386/fpu/e_powl.S: Likewise.
42318 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42319 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42320 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42321 * sysdeps/i386/fpu/e_logl.S: Likewise.
42322 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42323 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42324 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42325 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42326 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42327 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42328 * sysdeps/i386/fpu/e_log.S: Likewise.
42329 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42330 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42331 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42332 * sysdeps/i386/fpu/e_logf.S: Likewise.
42333 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42334 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42335 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42336 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42337 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42338 * sysdeps/i386/fpu/e_log10.S: Likewise.
42339 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42340 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42341 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42342 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42343 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42344 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42345 * sysdeps/i386/asm-syntax.h: Likewise.
42346 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42348 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42349 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42350 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42351 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42352 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42353 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42354 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42355 * sysdeps/powerpc/sysdep.h: Likewise.
42356 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42357 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42359 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42362 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42364 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42366 * sysdeps/i386/sysdep.h: Include <features.h>.
42367 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42370 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42372 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42374 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42377 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42379 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42380 (SETUP_PIC_REG): Use GET_PC_THUNK.
42381 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42384 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42386 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42387 for non-PIC compilation.
42388 (SETUP_PIC_REG): Add .p2align directive.
42389 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42390 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42391 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42392 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42393 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42394 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42395 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42396 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42397 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42398 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42399 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42400 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42401 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42402 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42403 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42404 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42405 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42406 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42407 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42408 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42409 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42410 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42411 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42412 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42413 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42415 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42416 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42417 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42418 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42419 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42420 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42421 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42422 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42423 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42424 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42425 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42426 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42427 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42428 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42429 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42431 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42433 * math/tst-CMPLX.c: Include <stdio.h>.
42435 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42437 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42439 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42440 * sysdeps/sparc/bits/mathdef.h: Likewise.
42442 2012-01-31 Marek Polacek <polacek@redhat.com>
42444 * libio/libio.h: Don't define _PARAMS.
42445 * locale/programs/config.h: Don't define PARAMS.
42446 * stdlib/strtol_l.c: Likewise.
42447 (__strtol_l): Remove PARAMS from the prototype.
42449 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42451 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42452 names. Just use the correct names. Remove unnecessary wrapper
42454 * malloc/arena.c: Likewise.
42455 * malloc/hooks.c: Likewise.
42457 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42458 ARENA_TEST says not to. Simplify test for creation of a new arena.
42459 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42461 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42463 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42465 (update_get_addr): New function.
42466 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42467 GET_ADDR_MODULE parameter.
42469 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42471 * crypt/cert.c: Remove __STDC__ conditionals.
42472 * crypt/crypt-entry.c: Likewise.
42473 * crypt/crypt_util.c: Likewise.
42474 * libio/filedoalloc.c: Likewise.
42475 * libio/fileops.c: Likewise.
42476 * libio/genops.c: Likewise.
42477 * libio/iofclose.c: Likewise.
42478 * libio/iofdopen.c: Likewise.
42479 * libio/iofopen.c: Likewise.
42480 * libio/iofopen64.c: Likewise.
42481 * libio/iogetdelim.c: Likewise.
42482 * libio/iopopen.c: Likewise.
42483 * libio/obprintf.c: Likewise.
42484 * libio/oldfileops.c: Likewise.
42485 * libio/oldiofclose.c: Likewise.
42486 * libio/oldiofdopen.c: Likewise.
42487 * libio/oldiofopen.c: Likewise.
42488 * libio/oldiopopen.c: Likewise.
42489 * libio/wfiledoalloc.c: Likewise.
42490 * libio/wgenops.c: Likewise.
42491 * locale/programs/xmalloc.c: Likewise.
42492 * misc/syslog.c: Likewise.
42493 * stdio-common/xbug.c: Likewise.
42494 * string/memchr.c: Likewise.
42495 * string/memcmp.c: Likewise.
42496 * string/memrchr.c: Likewise.
42497 * string/rawmemchr.c: Likewise.
42498 * sysdeps/posix/getcwd.c: Likewise.
42499 * time/strftime_l.c: Likewise.
42501 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42503 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42504 * config.make.in (config-cflags-sse2avx): Define.
42505 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42508 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42510 * scripts/config.guess: Update from upstream config git repository.
42511 * scripts/config.sub: Likewise.
42513 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42515 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42517 (R_TILEPRO_*, R_TILEGX_*): New macros.
42519 * scripts/firstversions.awk: Fix bug in version range handling.
42521 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42523 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42525 * include/sys/epoll.h: New file.
42526 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42529 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42531 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42532 Avoid unnecessary __WORDSIZE == 64 test.
42533 (fmaxf): Use VEX format if possible.
42538 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42539 * math/math_private.h: Remove libc_fegetround* and
42541 * sysdeps/i386/configure.in: Check for -msse2avx.
42542 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42543 also if SSE2AVX is defined.
42544 Remove libc_fegetround* and libc_fesetround*.
42545 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42546 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42547 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42549 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42550 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42551 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42552 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42553 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42555 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42557 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42559 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42561 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42563 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42566 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42568 * Makeconfig (libm): Define.
42569 * elf/Makefile: Add rules to build and run tst-relsort1.
42570 * elf/tst-relsort1.c: New file.
42571 * elf/tst-relsort1mod1.c: New file.
42572 * elf/tst-relsort1mod2.c: New file.
42574 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42576 * math/s_ldexp.c: Remove __STDC__ conditionals.
42577 * math/s_ldexpf.c: Likewise.
42578 * math/s_ldexpl.c: Likewise.
42579 * math/s_nextafter.c: Likewise.
42580 * math/s_nexttowardf.c: Likewise.
42581 * math/s_significand.c: Likewise.
42582 * math/s_significandf.c: Likewise.
42583 * math/s_significandl.c: Likewise.
42584 * math/w_jnl.c: Likewise.
42585 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42586 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42587 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42588 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42589 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42591 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42592 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42593 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42594 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42599 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42600 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42604 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42605 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42606 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42607 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42609 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42610 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42611 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42612 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42613 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42614 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42615 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42616 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42617 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42618 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42619 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42620 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42621 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42622 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42623 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42624 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42625 * sysdeps/ieee754/k_standard.c: Likewise.
42626 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42627 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42628 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42629 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42630 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42631 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42632 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42633 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42634 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42635 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42636 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42637 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42638 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42639 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42640 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42641 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42642 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42643 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42644 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42645 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42646 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42647 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42650 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42651 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42654 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42655 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42656 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42657 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42658 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42659 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42661 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42662 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42663 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42664 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42665 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42666 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42668 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42669 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42670 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42671 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42672 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42673 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42674 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42675 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42676 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42677 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42678 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42679 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42680 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42681 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42682 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42683 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42684 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42685 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42686 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42687 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42688 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42689 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42690 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42691 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42692 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42693 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42694 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42695 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42696 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42697 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42698 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42699 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42700 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42701 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42702 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42703 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42704 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42705 * sysdeps/ieee754/s_matherr.c: Likewise.
42706 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42707 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42709 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42711 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42713 * crypt/md5.h: Remove __STDC__ conditionals.
42714 * libio/libioP.h: Likewise.
42715 * locale/programs/config.h: Likewise.
42716 * sysdeps/generic/sysdep.h: Likewise.
42717 * sysdeps/i386/asm-syntax.h: Likewise.
42718 * sysdeps/s390/asm-syntax.h: Likewise.
42719 * sysdeps/unix/sysdep.h: Likewise.
42720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42723 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42725 * libio/libio.h: Remove __STDC__ conditionals.
42726 * malloc/obstack.h: Likewise.
42727 * math/complex.h: Likewise.
42728 * math/math.h: Likewise.
42729 * sysdeps/generic/_G_config.h: Likewise.
42730 * sysdeps/gnu/_G_config.h: Likewise.
42731 * sysdeps/mach/hurd/_G_config.h: Likewise.
42732 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42733 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42734 * sysdeps/sparc/bits/mathdef.h: Likewise.
42736 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42739 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42740 Clean up HAS_* macros.
42741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42742 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42744 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42746 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42747 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42748 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42749 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42750 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42752 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42754 * elf/tst-unique3.cc (gets): Remove declaration.
42755 * elf/tst-unique3lib.cc (gets): Likewise.
42756 * elf/tst-unique3lib2.cc (gets): Likewise.
42757 * elf/tst-unique4.cc (gets): Likewise.
42759 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42761 * include/stdio.h: Add C++ protection. Add gets declarations and
42763 * debug/tst-chk1.c: Don't declare gets here.
42764 * stdio-common/tst-gets.c: Likewise.
42766 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42768 * posix/glob: Remove directory.
42770 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42772 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42774 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42776 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42777 of the non-standard EPFNOSUPPORT.
42779 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42781 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42782 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42783 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42785 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42787 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42789 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42791 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42793 * nscd/grpcache.c (cache_addgr): Likewise.
42794 * nscd/hstcache.c (cache_addhst): Likewise.
42795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42796 * nscd/pwdcache.c (cache_addpw): Likewise.
42797 * nscd/servicescache.c (cache_addserv): Likewise.
42799 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42801 * malloc/malloc.c: Various cleanups.
42802 * malloc/hooks.c: Likewise.
42804 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42805 * stdlib/bug-fmtmsg1.c: New file.
42807 * stdlib/fmtmsg.c (init): Add missing unlock.
42808 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42810 2012-01-12 Marek Polacek <polacek@redhat.com>
42812 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42815 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42817 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42818 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42819 macro to ensure uniqueness of label name.
42820 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42821 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42823 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42825 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42827 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42828 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42829 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42832 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42834 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42836 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42837 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42838 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42840 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42842 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42843 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42844 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42845 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42847 * math/bits/math-finite.h: Add ldexp support.
42849 2012-01-10 Marek Polacek <polacek@redhat.com>
42851 * locale/programs/localedef.h (show_archive_content): Add noreturn
42854 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42856 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42858 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42860 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42862 * io/Makefile (headers): Add bits/poll2.h.
42864 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42867 typo #include statement.
42869 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42871 * include/sys/cdefs.h: Define __attribute_alloc_size.
42872 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42873 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42874 * elf/pldd.c: Likewise.
42875 * iconv/iconv_charmap.c: Likewise.
42876 * iconv/iconvconfig.c: Likewise.
42877 * iconv/strtab.c: Likewise.
42878 * locale/programs/locale.c: Likewise.
42879 * locale/programs/localedef.h: Likewise.
42880 * locale/programs/simple-hash.c: Likewise.
42881 * nscd/nscd.h: Likewise.
42882 * nss/makedb.c: Likewise.
42883 * sysdeps/generic/ldconfig.h: Likewise.
42884 * locale/programs/localedef.c: Remove xmalloc prototype.
42885 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42887 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42889 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42892 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42894 * math/Makefile (tests): Add tst-CMPLX.
42895 * math/tst-CMPLX.c: New file.
42897 * math/complex.h (CMPLXL): Fix typo.
42899 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42900 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42902 * debug/tst-chk1.c: Add poll and ppoll tests.
42903 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42904 * include/sys/poll.h: Add hidden proto for ppoll.
42905 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42906 * sysdeps/mach/hurd/ppoll.c: Likewise.
42907 * io/ppoll.c: Likewise.
42908 * debug/poll_chk.c: New file.
42909 * debug/ppoll_chk.c: New file.
42910 * include/bits/poll2.h: New file.
42911 * io/bits/poll2.h: New file.
42914 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42916 * configure.in: static is always set to yes. Remove.
42917 * config.make.in: Don't set build-static.
42918 * Makeconfig: Remove use of build-static.
42919 * dlfcn/Makefile: Likewise.
42920 * elf/Makefile: Likewise.
42921 * math/Makefile: Likewise.
42922 * misc/Makefile: Likewise.
42923 * nptl/Makefile: Likewise.
42924 * sysdeps/mach/hurd/Makefile: Likewise.
42926 * configure.in: PWD_P is not used anymore.
42927 * config.make.in: Remove PWD_P entry.
42929 * configure.in: Remove last remnants of RANLIB.
42930 No need to check for signed size_t anymore.
42931 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42933 Remove __builtin_expect test because we require at least gcc 3.4.
42934 * aclocal.m4: Likewise.
42936 * wcsmbs/mbrtoc16.c: Implement using towc function.
42937 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42938 * wcsmbs/wcsmbsload.c: Likewise.
42939 * iconv/gconv_simple.c: Likewise.
42940 * iconv/gconv_int.h: Likewise.
42941 * iconv/gconv_builtin.h: Likewise.
42942 * iconv/iconv_prog.c: Remove CHAR16 handling.
42944 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42946 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42948 * configure.in: Remove --with-elf and --enable-bounded options.
42949 Dont set base_machine for ia64. More non-ELF conditions removed.
42950 Remove testing and setting of leading underscore information.
42951 * config.make.in (build-bounded): Set to no.
42952 * config.h.in: Remove NO_UNDERSCORES entry.
42953 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42955 * csu/start.c: Remove !NO_UNDERSCORE code.
42956 * locale/localeinfo.h: Likewise.
42957 * sysdeps/generic/machine-gmon.h: Likewise.
42958 * sysdeps/generic/sysdep.h: Likewise.
42959 * sysdeps/i386/sysdep.h: Likewise.
42960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42961 * sysdeps/mach/sysdep.h: Likewise.
42962 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42963 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42964 * sysdeps/sh/sysdep.h: Likewise.
42965 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42966 * sysdeps/unix/i386/sysdep.S: Likewise.
42967 * sysdeps/unix/sparc/start.c: Likewise.
42968 * sysdeps/unix/sparc/sysdep.S: Likewise.
42969 * sysdeps/unix/sparc/sysdep.h: Likewise.
42970 * sysdeps/unix/start.c: Likewise.
42971 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42972 * sysdeps/x86_64/sysdep.h: Likewise.
42974 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42977 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42979 * argp/argp-fmtstream.h: Use const instead __const.
42980 * argp/argp.h: Likewise.
42981 * assert/assert.h: Likewise.
42982 * bits/fenv.h: Likewise.
42983 * bits/sched.h: Likewise.
42984 * bits/sigset.h: Likewise.
42985 * bits/sigthread.h: Likewise.
42986 * catgets/nl_types.h: Likewise.
42987 * conform/data/pthread.h-data: Likewise.
42988 * crypt/crypt-private.h: Likewise.
42989 * crypt/crypt.h: Likewise.
42990 * crypt/crypt_util.c: Likewise.
42991 * ctype/ctype.h: Likewise.
42992 * debug/execinfo.h: Likewise.
42993 * debug/mbsnrtowcs_chk.c: Likewise.
42994 * debug/mbsrtowcs_chk.c: Likewise.
42995 * debug/wcsnrtombs_chk.c: Likewise.
42996 * debug/wcsrtombs_chk.c: Likewise.
42997 * debug/wcstombs_chk.c: Likewise.
42998 * dirent/dirent.h: Likewise.
42999 * dlfcn/dlfcn.h: Likewise.
43000 * elf/neededtest4.c: Likewise.
43001 * grp/grp.h: Likewise.
43002 * gshadow/gshadow.h: Likewise.
43003 * iconv/gconv.h: Likewise.
43004 * iconv/gconv_int.h: Likewise.
43005 * iconv/gconv_simple.c: Likewise.
43006 * iconv/iconv.h: Likewise.
43007 * iconv/loop.c: Likewise.
43008 * iconv/skeleton.c: Likewise.
43009 * include/aio.h: Likewise.
43010 * include/aliases.h: Likewise.
43011 * include/argz.h: Likewise.
43012 * include/arpa/inet.h: Likewise.
43013 * include/assert.h: Likewise.
43014 * include/dirent.h: Likewise.
43015 * include/dlfcn.h: Likewise.
43016 * include/execinfo.h: Likewise.
43017 * include/fcntl.h: Likewise.
43018 * include/fenv.h: Likewise.
43019 * include/glob.h: Likewise.
43020 * include/grp.h: Likewise.
43021 * include/libintl.h: Likewise.
43022 * include/mntent.h: Likewise.
43023 * include/netdb.h: Likewise.
43024 * include/pwd.h: Likewise.
43025 * include/rpc/netdb.h: Likewise.
43026 * include/sched.h: Likewise.
43027 * include/search.h: Likewise.
43028 * include/shadow.h: Likewise.
43029 * include/signal.h: Likewise.
43030 * include/stdio.h: Likewise.
43031 * include/stdlib.h: Likewise.
43032 * include/string.h: Likewise.
43033 * include/sys/socket.h: Likewise.
43034 * include/sys/stat.h: Likewise.
43035 * include/sys/statfs.h: Likewise.
43036 * include/sys/statvfs.h: Likewise.
43037 * include/sys/syslog.h: Likewise.
43038 * include/sys/time.h: Likewise.
43039 * include/sys/uio.h: Likewise.
43040 * include/time.h: Likewise.
43041 * include/unistd.h: Likewise.
43042 * include/utmp.h: Likewise.
43043 * include/wchar.h: Likewise.
43044 * include/wctype.h: Likewise.
43045 * inet/aliases.h: Likewise.
43046 * inet/arpa/inet.h: Likewise.
43047 * inet/netinet/ether.h: Likewise.
43048 * inet/netinet/in.h: Likewise.
43049 * intl/libintl.h: Likewise.
43050 * io/bits/fcntl2.h: Likewise.
43051 * io/fcntl.h: Likewise.
43052 * io/ftw.h: Likewise.
43053 * io/sys/poll.h: Likewise.
43054 * io/sys/stat.h: Likewise.
43055 * io/sys/statfs.h: Likewise.
43056 * io/sys/statvfs.h: Likewise.
43057 * io/utime.h: Likewise.
43058 * libio/bits/stdio.h: Likewise.
43059 * libio/bits/stdio2.h: Likewise.
43060 * libio/libio.h: Likewise.
43061 * libio/libioP.h: Likewise.
43062 * libio/stdio.h: Likewise.
43063 * locale/lc-ctype.c: Likewise.
43064 * locale/locale.h: Likewise.
43065 * login/utmp.h: Likewise.
43066 * malloc/arena.c: Likewise.
43067 * malloc/malloc.c: Likewise.
43068 * malloc/malloc.h: Likewise.
43069 * malloc/mcheck.c: Likewise.
43070 * malloc/mtrace.c: Likewise.
43071 * math/bits/mathcalls.h: Likewise.
43072 * math/fenv.h: Likewise.
43073 * math/math_private.h: Likewise.
43074 * misc/bits/error.h: Likewise.
43075 * misc/bits/syslog.h: Likewise.
43076 * misc/err.h: Likewise.
43077 * misc/error.h: Likewise.
43078 * misc/fstab.h: Likewise.
43079 * misc/mntent.h: Likewise.
43080 * misc/regexp.h: Likewise.
43081 * misc/search.h: Likewise.
43082 * misc/sgtty.h: Likewise.
43083 * misc/sys/mman.h: Likewise.
43084 * misc/sys/syslog.h: Likewise.
43085 * misc/sys/uio.h: Likewise.
43086 * misc/sys/xattr.h: Likewise.
43087 * misc/ttyent.h: Likewise.
43088 * nis/rpcsvc/ypclnt.h: Likewise.
43089 * nss/nss.h: Likewise.
43090 * posix/bits/unistd.h: Likewise.
43091 * posix/fnmatch.h: Likewise.
43092 * posix/glob.h: Likewise.
43093 * posix/sched.h: Likewise.
43094 * posix/spawn.h: Likewise.
43095 * posix/sys/wait.h: Likewise.
43096 * posix/unistd.h: Likewise.
43097 * posix/wordexp.h: Likewise.
43098 * pwd/pwd.h: Likewise.
43099 * resolv/netdb.h: Likewise.
43100 * resource/sys/resource.h: Likewise.
43101 * rt/aio.h: Likewise.
43102 * rt/bits/mqueue2.h: Likewise.
43103 * rt/mqueue.h: Likewise.
43104 * shadow/shadow.h: Likewise.
43105 * signal/signal.h: Likewise.
43106 * socket/send.c: Likewise.
43107 * socket/sendto.c: Likewise.
43108 * socket/sys/socket.h: Likewise.
43109 * stdio-common/printf.h: Likewise.
43110 * stdlib/bits/stdlib.h: Likewise.
43111 * stdlib/fmtmsg.h: Likewise.
43112 * stdlib/monetary.h: Likewise.
43113 * stdlib/stdlib.h: Likewise.
43114 * stdlib/ucontext.h: Likewise.
43115 * streams/stropts.h: Likewise.
43116 * string/argz.h: Likewise.
43117 * string/bits/string2.h: Likewise.
43118 * string/string.h: Likewise.
43119 * string/strings.h: Likewise.
43120 * sunrpc/rpc/auth.h: Likewise.
43121 * sunrpc/rpc/auth_des.h: Likewise.
43122 * sunrpc/rpc/clnt.h: Likewise.
43123 * sunrpc/rpc/netdb.h: Likewise.
43124 * sunrpc/rpc/pmap_clnt.h: Likewise.
43125 * sunrpc/rpc/xdr.h: Likewise.
43126 * sysdeps/generic/inttypes.h: Likewise.
43127 * sysdeps/generic/net/if.h: Likewise.
43128 * sysdeps/generic/sys/swap.h: Likewise.
43129 * sysdeps/gnu/net/if.h: Likewise.
43130 * sysdeps/gnu/utmpx.h: Likewise.
43131 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43132 * sysdeps/i386/i486/bits/string.h: Likewise.
43133 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43134 * sysdeps/s390/bits/string.h: Likewise.
43135 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43136 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43137 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43138 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43139 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43140 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43141 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43142 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43143 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43144 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43145 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43146 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43147 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43148 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43149 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43150 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43151 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43153 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43154 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43155 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43156 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43157 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43158 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43159 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43160 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43161 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43162 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43163 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43164 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43165 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43166 * sysvipc/sys/ipc.h: Likewise.
43167 * sysvipc/sys/msg.h: Likewise.
43168 * sysvipc/sys/sem.h: Likewise.
43169 * sysvipc/sys/shm.h: Likewise.
43170 * termios/termios.h: Likewise.
43171 * time/sys/time.h: Likewise.
43172 * time/time.h: Likewise.
43173 * wcsmbs/bits/wchar2.h: Likewise.
43174 * wcsmbs/uchar.h: Likewise.
43175 * wcsmbs/wchar.h: Likewise.
43176 * wctype/wctype.h: Likewise.
43179 * Makeconfig: Remove all but ELF support including AIX support.
43180 * Makerules: Likewise.
43181 * config.h.in: Likewise.
43182 * config.make.in: Likewise.
43183 * configure: Likewise.
43184 * configure.in: Likewise.
43185 * csu/Makefile: Likewise.
43186 * csu/version.c: Likewise.
43187 * debug/Makefile: Likewise.
43188 * dlfcn/Makefile: Likewise.
43189 * elf/Makefile: Likewise.
43190 * extra-lib.mk: Likewise.
43191 * iconv/Makefile: Likewise.
43192 * include/libc-symbols.h: Likewise.
43193 * include/shlib-compat.h: Likewise.
43194 * resolv/Makefile: Likewise.
43195 * resolv/res_libc.c: Likewise.
43196 * rt/Makefile: Likewise.
43197 * sysdeps/i386/asm-syntax.h: Likewise.
43198 * sysdeps/i386/sysdep.h: Likewise.
43199 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43200 * sysdeps/mach/sysdep.h: Likewise.
43201 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43202 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43203 * sysdeps/s390/asm-syntax.h: Likewise.
43204 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43205 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43206 * sysdeps/sh/sysdep.h: Likewise.
43207 * sysdeps/unix/sparc/sysdep.h: Likewise.
43208 * sysdeps/wordsize-32/divdi3.c: Likewise.
43209 * sysdeps/x86_64/sysdep.h: Likewise.
43211 * argp/Versions: Remove _argp_unlock_xxx.
43214 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43215 * abilist/libBrokenLocale.abilist: Likewise.
43216 * abilist/libanl.abilist: Likewise.
43217 * abilist/libc.abilist: Likewise.
43218 * abilist/libcrypt.abilist: Likewise.
43219 * abilist/libdl.abilist: Likewise.
43220 * abilist/libm.abilist: Likewise.
43221 * abilist/libnsl.abilist: Likewise.
43222 * abilist/libpthread.abilist: Likewise.
43223 * abilist/libresolv.abilist: Likewise.
43224 * abilist/librt.abilist: Likewise.
43225 * abilist/libthread_db.abilist: Likewise.
43226 * abilist/libutil.abilist: Likewise.
43227 * abilist/libnss_db.abilist: New file.
43229 * scripts/abilist.awk: Add support for indirect functions.
43231 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43233 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43235 * shlib-versions: Remove entries for ports architectures.
43237 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43239 * elf/stackguard-macros.h: Remove support for IA-64.
43240 * elf/tst-auditmod1.c: Likewise.
43241 * sysdeps/generic/ldsodefs.h: Likewise.
43243 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43244 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43248 * configure.in: Remove --enable-omitfp support.
43250 * config.make.in: Likewise.
43251 * Makeconfig: Likewise.
43252 * manual/install.texi: Likewise.
43254 In case anyone cares, the IA-64 architecture could move to ports.
43255 * sysdeps/ia64/*: Removed.
43256 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43257 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43260 * configure.in: Remove entries for unsupported architectures.
43263 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43264 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43266 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43267 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43268 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43269 fall back to using wcrtomb.
43270 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43271 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43273 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43274 * wcsmbs/tst-c16c32-1.c: New file.
43276 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43279 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43281 * elf/tst-unique3.cc: Add explicit declaration of gets.
43282 * elf/tst-unique3lib.cc: Likewise.
43283 * elf/tst-unique3lib2.cc: Likewise.
43284 * elf/tst-unique4.cc: Likewise.
43286 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43288 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43291 * assert/assert.h (static_assert): Don't define for C++.
43292 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43293 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43295 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43297 * iconv/loop.c (single loop): Fix assertion in storing of
43300 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43302 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43304 * posix/getconf.c: Update copyright year.
43305 * nss/getent.c: Likewise.
43306 * nss/makedb.c: Likewise.
43307 * iconv/iconvconfig.c: Likewise.
43308 * iconv/iconv_prog.c: Likewise.
43309 * elf/ldconfig.c: Likewise.
43310 * elf/pldd.c: Likewise.
43311 * elf/sotruss.ksh: Likewise.
43312 * catgets/gencat.c: Likewise.
43313 * csu/version.c: Likewise.
43314 * elf/ldd.bash.in: Likewise.
43315 * elf/sprof.c (print_version): Likewise.
43316 * locale/programs/locale.c: Likewise.
43317 * locale/programs/localedef.c: Likewise.
43318 * login/programs/pt_chown.c: Likewise.
43319 * nscd/nscd.c (print_version): Likewise.
43320 * debug/xtrace.sh: Likewise.
43321 * malloc/memusage.sh: Likewise.
43322 * malloc/mtrace.pl: Likewise.
43323 * debug/catchsegv.sh: Likewise.
43325 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43327 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43330 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43333 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43334 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43336 * iconv/gconv_int.h: Likewise.
43337 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43338 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43339 from libc for GLIBC_2.16.
43340 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43341 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43342 * wcsmbs/uchar.h: Really define mbstate_t.
43343 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43344 * wcsmbs/c16rtomb.c: New file.
43345 * wcsmbs/mbrtoc16.c: New file.
43346 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43347 for C/POSIX locale.
43348 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43349 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43351 * wcsmbs/wchar.h: Add missing __restrict.
43353 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43356 * time/Makefile (routines): Add timespec_get.
43357 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43358 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43359 timespec for ISO C11.
43360 * time/timespec_get.c: New file.
43361 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43362 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43365 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43366 * stdlib/stdlib.h: Declare aligned_alloc.
43367 * Versions.def: Add GLIBC_2.16 for libc.
43368 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43371 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43374 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43378 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43381 * assert/assert.h (static_assert): Define.
43383 * version.h: Update for 2.16 development version.
43386 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43389 * version.h (RELEASE): Bump for 2.15 release.
43390 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43392 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43393 Patch by Marek Polacek <mpolacek@redhat.com>.
43395 * bits/byteswap.h: Protect long long constants with __extension__.
43396 * sysdeps/i386/bits/byteswap.h: Likewise.
43397 * sysdeps/ia64/bits/byteswap.h: Likewise.
43398 * sysdeps/s390/bits/byteswap.h: Likewise.
43399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43401 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43404 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43405 destination buffer.
43406 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43408 2011-12-23 Marek Polacek <polacek@redhat.com>
43410 * elf/dl-addr.c (determine_info): Add inline keyword.
43411 * elf/tst-auditmod4b.c (check_avx): Likewise.
43412 * elf/tst-auditmod6b.c (check_avx): Likewise.
43413 * elf/tst-auditmod6c.c (check_avx): Likewise.
43414 * elf/tst-auditmod7b.c (check_avx): Likewise.
43416 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43418 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43421 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43424 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43425 processing for last bytes.
43427 2011-08-06 Bruno Haible <bruno@clisp.org>
43430 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43431 U+0385, not to U+1FEE.
43434 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43435 entry for U+00A5 U+0301.
43437 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43440 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43441 buffer for the output is too small.
43443 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43447 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43448 SSE flags if possible.
43450 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43453 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43454 processing for last bytes.
43456 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43458 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43459 (syscall-list-default-options, syscall-list-default-condition)
43460 (syscall-list-includes): Define.
43461 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43462 list of ABIs and options and #if conditions for each ABI. Do not
43463 handle common syscalls between ABIs specially.
43464 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43466 (syscall-list-variants, syscall-list-32bit-options)
43467 (syscall-list-32bit-condition, syscall-list-64bit-options)
43468 (syscall-list-64bit-condition): Define.
43469 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43470 (syscall-list-variants, syscall-list-32bit-options)
43471 (syscall-list-32bit-condition, syscall-list-64bit-options)
43472 (syscall-list-64bit-condition): Define.
43473 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
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/x86_64/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.
43484 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43486 * locale/iso-639.def: Add brx entry.
43489 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43490 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43492 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43493 __feraiseexcept_renamed.
43495 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43498 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43499 EPOLLET with unsigned values.
43500 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43501 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43503 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43504 to large cancellation.
43505 * math/s_cacoshf.c: Likewise.
43506 * math/s_cacoshl.c: Likewise.
43508 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43512 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43513 * math/s_cacoshf.c: Likewise.
43514 * math/s_cacoshl.c: Likewise.
43516 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43519 * iconv/gconv.h: Define __GCONV_SWAP.
43520 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43521 * iconvdata/utf-16.c: Likewise.
43522 * iconvdata/utf-32.c: Likewise.
43524 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43527 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43528 numerator after shifting it by one limb.
43530 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43532 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43533 under [__USE_EXTERN_INLINES].
43535 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43538 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43540 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43542 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43543 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43545 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43546 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43547 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43548 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43549 for strncasecmp/strncasecmp_l compilation.
43550 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43551 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43553 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43556 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43559 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43562 * time/tzfile.c (__tzfile_read): Check values from file header.
43564 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43566 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43567 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43568 * powerpc/powerpc32/dl-start.S: Likewise.
43569 * powerpc/powerpc32/elf/start.S: Likewise.
43570 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43571 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43572 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43573 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43574 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43575 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43576 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43577 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43578 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43579 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43580 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43581 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43582 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43583 * powerpc/powerpc32/memset.S: Likewise.
43584 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43585 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43586 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43587 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43588 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43589 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43590 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43591 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43592 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43593 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43594 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43595 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43596 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43598 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43600 * math/libm-test.inc: Added more nearbyint tests.
43601 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43602 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43603 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43606 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43608 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43611 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43613 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43614 Add wcscpy-ssse3 wcscpy-c.
43615 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43616 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43617 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43618 * sysdeps/x86_64/wcschr.S: New file.
43619 * sysdeps/x86_64/wcsrchr.S: New file.
43620 * string/test-strcmp.c: Remove checking of wcscmp function for
43622 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43623 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43624 wcsrchr-sse2 wcsrchr-c.
43625 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43626 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43627 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43628 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43629 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43630 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43631 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43632 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43633 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43634 * wcsmbc/wcschr.c (WCSCHR): New macro.
43636 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43638 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43639 * wcsmbs/test-wcsrchr.c: New file.
43640 * string/test-strrchr.c: Add wcsrchr support.
43642 * wcsmbs/test-wcscpy.c: New file.
43643 * string/test-strcpy.c: Add wcscpy support.
43646 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43648 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43651 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43654 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43656 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43658 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43659 Minor optimizations.
43661 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43662 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43663 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43665 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43667 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43668 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43669 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43670 for gcc to avoid warnings.
43671 * inet/Makefile (tests): Add tst-checks.
43672 * inet/tst-checks.c: New file.
43674 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43677 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43680 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43681 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43683 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43685 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43687 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43690 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43692 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43694 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43695 conditional on GCC version.
43696 (__arch_compare_and_exchange_val_8_acq)
43697 (__arch_compare_and_exchange_val_16_acq)
43698 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43699 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43700 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43702 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43704 * sysdeps/sh/backtrace.c: New file.
43706 2011-12-02 Andreas Schwab <schwab@redhat.com>
43708 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43711 2011-12-01 Andreas Schwab <schwab@redhat.com>
43713 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43714 falling back to utime.
43716 2011-11-30 Andreas Schwab <schwab@redhat.com>
43718 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43719 expectations for float.
43721 2011-11-29 Andreas Schwab <schwab@redhat.com>
43723 * locale/weight.h (findidx): Add parameter len.
43724 * locale/weightwc.h (findidx): Likewise.
43725 * posix/fnmatch_loop.c (FCT): Adjust caller.
43726 * posix/regcomp.c (build_equiv_class): Likewise.
43727 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43728 * posix/regexec.c (check_node_accept_bytes): Likewise.
43729 * string/strcoll_l.c (STRCOLL): Likewise.
43730 * string/strxfrm_l.c (STRXFRM): Likewise.
43732 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43734 * Makefile.in: Remove CVSOPT handling.
43735 * configure.in: Remove use of AC_REVISION.
43736 * iconvdata/Makefile (distribute): No need to filter out CVS.
43737 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43740 2011-11-16 Andreas Schwab <schwab@redhat.com>
43742 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43743 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43744 [USE_AS_STRNCASECMP_L]: Likewise.
43745 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43746 NO_TLS_DIRECT_SEG_REFS.
43747 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43748 Fix argument offsets for non-PIC.
43749 [USE_AS_STRNCASECMP_L]: Likewise.
43750 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43751 NO_TLS_DIRECT_SEG_REFS.
43753 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43755 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43757 * locale/loadlocale.c (_nl_load_locale): Likewise.
43759 2011-11-15 Andreas Schwab <schwab@redhat.com>
43761 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43762 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43763 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43764 (SYSCALL_GETTIME): Set errno on error.
43766 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43767 count references to noai6ai_cached.
43769 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43771 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43773 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43774 FD_CLOEXEC for /proc/self/maps.
43776 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43777 FD_CLOEXEC for /proc/meminfo.
43779 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43782 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43783 FD_CLOEXEC for given file.
43785 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43787 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43788 FD_CLOEXEC for /etc/hosts.
43789 (_gethtent): Likewise.
43791 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43793 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43794 cancellation and set FD_CLOEXEC for /etc/netgroup.
43796 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43797 reading /etc/publickey.
43799 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43800 allow cancellation when reading /etc/group.
43802 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43804 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43806 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43807 when using data file.
43809 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43811 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43812 (write_nis_obj): Use "c" and "e" in fopen.
43814 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43816 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43818 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43820 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43822 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43825 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43827 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43829 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43831 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43832 file parsing and set FD_CLOEXEC.
43834 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43836 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43838 2011-11-14 Andreas Schwab <schwab@redhat.com>
43840 * malloc/arena.c (arena_get2): Don't call reused_arena when
43841 _int_new_arena failed.
43843 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43845 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43846 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43847 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43848 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43849 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43851 to compile strcasecmp and strncasecmp.
43852 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43853 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43857 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43859 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43860 locale-defines.sym to gen-as-const-headers.
43861 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43862 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43864 to compile strcasecmp and strncasecmp.
43865 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43866 strcasecmp_l and strncasecmp_l.
43867 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43868 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43869 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43870 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43871 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43872 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43873 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43874 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43875 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43876 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43877 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43879 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43881 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43882 result of SYSDEP_GETTIME_CPU to retval.
43883 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43884 parameter list to macro. Remove trailing semicolon. Adjust users.
43886 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43889 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43891 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43893 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43894 from unused variable.
43896 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43898 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43901 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43904 * sunrpc/rpc_prot.c (rejected): Fix case value.
43906 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43907 unsigned long long int to avoid warnings in shift.
43909 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43911 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43914 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43915 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43916 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43918 * nis/nis_table.c (nis_list): Use variable of correct type for
43919 result of __follow_path call.
43921 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43923 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43924 of math functions ceil, trunc, floor, round, and sqrt, when
43925 avaliable on the platform.
43926 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43928 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43929 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43930 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43932 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43934 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43935 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43937 2011-11-11 Roland McGrath <roland@hack.frob.com>
43939 * include/unistd.h: Fix __readlink return type.
43940 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43942 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43944 * stdlib/ucontext.h: Undo last change for makecontext.
43946 2011-11-11 Andreas Schwab <schwab@redhat.com>
43948 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43950 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43951 * setjmp/setjmp.h: Mark functions as non-leaf.
43952 * setjmp/bits/setjmp2.h: Likewise.
43953 * stdlib/ucontext.h: Likewise.
43955 2011-11-10 Andreas Schwab <schwab@redhat.com>
43957 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43958 (reused_arena): Don't check arena limit.
43959 (arena_get2): Atomically check arena limit.
43961 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43963 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43964 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43969 2011-11-07 Andreas Schwab <schwab@redhat.com>
43971 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43972 handler when locking.
43974 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43975 Fix size of allocated buffer.
43977 2011-11-04 Andreas Schwab <schwab@redhat.com>
43980 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43981 declarations for long double functions.
43982 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43984 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43986 2011-11-03 Andreas Schwab <schwab@redhat.com>
43988 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43991 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43994 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43996 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43998 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44000 * include/alloca.h (stackinfo_alloca_round): Define.
44001 (extend_alloca): Use it.
44002 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44003 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44006 * scripts/check-local-headers.sh: Ignore libaudit.h.
44008 * nscd/Makefile (extra-objs): Make recursively expanded.
44010 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44012 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44015 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44016 * posix/tst-rfc3484-2.c: Likewise.
44017 * posix/tst-rfc3484-3.c: Likewise.
44019 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44021 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44023 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44024 process_vm_writev from libc using GLIBC_2.15 version.
44026 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44028 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44030 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44033 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44036 * nss/getent.c (initgroups_keys): Show error message in case no group
44039 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44040 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44041 __bump_nl_timestamp.
44042 * nscd/connections (nscd_init): When host database is served open
44043 netlink socket and request notification about configuration changes.
44044 (main_loop_poll): Track netlink file descriptor and bump timestamp
44045 in case data becomes available.
44046 (main_loop_epoll): Likewise.
44047 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44048 (database_pers_head): Add extra_data fileds.
44049 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44050 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44051 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44053 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44054 in6ai data, call __free_in6ai.
44055 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44056 Add -DHAVE_NETLINK.
44057 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44058 interface information. Reuse previous data if netlink timestamp
44060 (__bump_nl_timestamp): New function.
44061 (__free_in6ai): New function.
44063 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44065 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44066 close_not_cancel_no_status here.
44067 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44069 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44072 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44075 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44076 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44077 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44079 2011-07-03 Andreas Jaeger <aj@suse.de>
44082 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44083 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44084 * math/libm-test.inc (sin_test): Add test case.
44086 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44089 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44090 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44092 * elf/chroot_canon.c (chroot_canon): Cleanups.
44094 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44097 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44098 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44100 * string/test-strchr.c: Make usable for strchrnul testing.
44101 * string/test-strchrnul.c: New file.
44102 * string/Makefile (strop-tests): Add strchrnul.
44104 * po/it.po: Update from translation team.
44105 * po/es.po: Likewise.
44107 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44109 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44110 the three constants needed as parameters. Drop the others.
44111 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44112 __m128i_strloadu_tolower.
44113 Create and initialize variable zero and use it in all the places
44114 where _mm_setzero_si128 was used.
44116 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44117 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44118 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44119 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44121 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44122 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44123 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44124 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44125 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44126 __mpranred, __mptan.
44127 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44128 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44129 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44130 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44131 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44132 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44133 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44134 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44135 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44137 2011-10-28 Andreas Schwab <schwab@redhat.com>
44139 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44140 redefine if SHARED.
44141 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44144 wide char related routines to wcsmbs subdir.
44146 2011-10-27 Andreas Schwab <schwab@redhat.com>
44149 * misc/sys/cdefs.h (__THROWNL): Define.
44150 * posix/unistd.h: Use __THREADNL instead of __THREAD
44151 for memory synchronization functions.
44153 2011-10-26 Roland McGrath <roland@hack.frob.com>
44156 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44158 * manual/stdio.texi (Obstack Streams): Node removed.
44160 2011-10-26 Andreas Schwab <schwab@redhat.com>
44162 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44163 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44164 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44166 * math/math_private.h (math_force_eval): Allow non-addressable
44168 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44170 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44172 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44173 file is not needed.
44175 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44176 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44177 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44178 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44179 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44181 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44182 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44184 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44185 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44186 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44187 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44188 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44189 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44190 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44191 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44192 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44193 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44194 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44195 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44196 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44197 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44198 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44199 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44200 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44201 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44202 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44204 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44205 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44207 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44208 place. Use VEX encoding when compiling for AVX.
44210 2011-10-25 Andreas Schwab <schwab@redhat.com>
44212 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44213 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44215 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44217 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44219 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44220 useless if() expression.
44221 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44222 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44223 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44224 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44226 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44227 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44228 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44229 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44230 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44231 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44232 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44233 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44234 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44235 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44236 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44237 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44239 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44241 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44243 2011-10-25 Andreas Schwab <schwab@redhat.com>
44245 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44247 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44249 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44251 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44252 .text section. Avoid duplicate constants.
44253 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44255 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44257 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44258 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44261 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44262 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44263 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44264 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44265 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44266 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44267 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44268 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44269 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44270 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44273 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44274 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44275 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44276 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44277 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44278 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44279 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44280 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44281 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44282 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44283 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44284 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44285 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44286 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44287 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44288 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44289 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44290 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44291 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44292 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44293 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44294 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44295 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44296 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44297 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44299 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44301 * sysdeps/x86_64/dla.h: Move to ...
44302 * sysdeps/x86_64/fpu/dla.h: ...here.
44303 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44304 situations. Use __builtin_fma only for gcc 4.6 and up.
44306 * config.make.in: Add have-mfma4 entry.
44307 * configure.in: Substitute libc_cv_cc_fma4.
44308 * math/Makefile (dbl-only-routines): Add sincostab.
44309 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44310 Use __sincostab not sincos.
44311 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44318 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44319 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44320 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44321 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44323 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44324 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44326 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44327 define aliases when function name is a macro.
44328 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44329 sysdeps/ieee754/dbl-64/sincos.tbl.
44330 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44331 fma4-enabled routines.
44332 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44333 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44334 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44335 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44336 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44337 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44338 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44339 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44340 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44341 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44342 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44343 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44344 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44345 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44346 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44347 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44348 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44349 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44350 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44351 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44352 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44353 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44354 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44355 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44356 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44357 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44358 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44359 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44360 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44361 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44363 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44365 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44366 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44368 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44370 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44371 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44374 2011-10-24 Andreas Schwab <schwab@redhat.com>
44376 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44378 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44380 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44382 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44386 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44387 Remove unused variable magic_bits.
44388 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44390 * string/strnlen.c: Define and use STRNLEN macro.
44391 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44392 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44394 * wcsmbs/wcslen.c: Define and use WCSLEN.
44395 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44396 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44397 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44398 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44399 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44400 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44401 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44403 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44406 strnlen-sse2-no-bsf.
44407 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44409 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44410 Add strnlen support.
44411 (USE_AS_STRNLEN): New macro.
44412 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44413 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44414 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44415 * sysdeps/x86_64/wcslen.S: New file.
44417 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44419 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44420 XMM-moves are used for copying on small sizes.
44422 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44424 * wcsmbs/Makefile (strop-tests): Add wcschr.
44425 * wcsmbs/test-wcschr.c: New file.
44426 * string/test-strchr.c: Update.
44427 Add wcschr support.
44430 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44432 * wcsmbs/Makefile (strop-tests): Add wcslen.
44433 * wcsmbs/test-wcslen.c: New file.
44434 * string/test-strlen.c: Update.
44435 Add wcslen support.
44438 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44440 * po/it.po: Update from translation team.
44442 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44444 * sysdeps/x86_64/wcscmp.S: Update.
44445 Fix wrong comparison semantics.
44446 wcscmp shall use signed comparison not unsigned.
44447 Don't use substraction to avoid overflow bug.
44448 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44449 * wcsmbc/wcscmp.c: Likewise.
44450 * string/test-strcmp.c: Likewise.
44451 Add new tests to check cases with negative values.
44453 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44455 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44456 * sysdeps/x86_64/dla.h: ...here. New file.
44457 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44462 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44467 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44469 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44470 __ynl_finite aliases.
44472 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44476 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44478 [DLA_FMA] (EMULV): Use DLA_FMA.
44479 [DLA_FMA] (MUL12): Use EMULV.
44480 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44481 that are not needed.
44482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44483 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44487 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44488 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44490 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44492 * math/s_nan.c: Undef __nan.
44493 * math/s_nanf.c: Undef __nanf.
44494 * math/s_nanl.c: Undef __nanl.
44495 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44498 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44500 * math/s_catan.c: Add branch predictions.
44501 * math/s_catanf.c: Likewise.
44502 * math/s_catanh.c: Likewise.
44503 * math/s_catanhf.c: Likewise.
44504 * math/s_catanhl.c: Likewise.
44505 * math/s_catanl.c: Likewise.
44506 * math/s_cexp.c: Likewise.
44507 * math/s_cexpf.c: Likewise.
44508 * math/s_cexpl.c: Likewise.
44509 * math/s_clog.c: Likewise.
44510 * math/s_clog10.c: Likewise.
44511 * math/s_clog10f.c: Likewise.
44512 * math/s_clog10l.c: Likewise.
44513 * math/s_clogf.c: Likewise.
44514 * math/s_clogl.c: Likewise.
44515 * math/s_csqrt.c: Likewise.
44516 * math/s_csqrtf.c: Likewise.
44517 * math/s_csqrtl.c: Likewise.
44518 * math/s_ctanf.c: Likewise.
44519 * math/s_ctanh.c: Likewise.
44520 * math/s_ctanhf.c: Likewise.
44521 * math/s_ctanhl.c: Likewise.
44522 * math/s_ctanl.c: Likewise.
44524 * math/math_private.h: Define __nan, __nanf, __nanl.
44525 * math/s_cacosh.c: Include <math_private.h>.
44526 * math/s_cacoshl.c: Likewise.
44527 * math/s_casinh.c: Likewise.
44528 * math/s_casinhf.c: Likewise.
44529 * math/s_casinhl.c: Likewise.
44530 * math/s_ccos.c: Rely entire on ccosh.
44531 * math/s_ccosf.c: Rely entire on ccoshf.
44532 * math/s_ccosl.c: Rely entirely on ccoshl.
44533 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44534 Remove tests for FE_INVALID.
44535 * math/s_ccoshf.c: Likewise.
44536 * math/s_ccoshl.c: Likewise.
44537 * math/s_csin.c: Likewise.
44538 * math/s_csinf.c: Likewise.
44539 * math/s_csinh.c Likewise.
44540 * math/s_csinhf.c: Likewise.
44541 * math/s_csinhl.c: Likewise.
44542 * math/s_csinl.c: Likewise.
44543 * math/s_ctan.c: Likewise.
44544 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44545 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44546 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44548 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44551 compilation problems.
44553 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44556 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44558 * sysdeps/i386/configure.in: Test for -mfma4 option.
44559 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44560 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44561 COMMON_CPUID_INDEX_80000001.
44562 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44563 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44564 use it if FMA3 is not supported.
44565 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44567 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44568 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44570 2011-10-20 Andreas Schwab <schwab@redhat.com>
44573 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44574 it would create a cycle with a link time dependency.
44576 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44578 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44580 * string/Makefile (strop-tests): Add rawmemchr.
44581 * string/test-rawmemchr.c: New file.
44583 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44585 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44586 when compiling str{,n}casecmp and when AVX is available. Hook up
44587 new optimized code in initializers.
44589 2011-10-19 Andreas Schwab <schwab@redhat.com>
44591 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44592 __feraiseexcept instead of feraiseexcept.
44594 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44596 * math/math_private.h: Define defaults for libc_fetestexcept and
44598 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44599 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44600 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44601 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44602 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44603 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44604 libc_fetestexcept and libc_feupdateenv.
44606 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44607 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44608 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44609 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44610 libc_feholdexcept_setround.
44612 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44613 Add s_nearbyint-c and s_nearbyintf-c.
44614 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44615 nearbyintf inlines.
44616 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44617 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44618 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44619 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44621 * math/math_private.h: Define defaults for libc_fegetround,
44622 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44623 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44624 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44625 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44626 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44627 standard functions.
44628 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44629 Remove comments and hacks for old compiler versions.
44630 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44631 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44632 libc_feholdexceptl.
44634 2011-10-18 Andreas Schwab <schwab@redhat.com>
44636 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44637 (__feraiseexcept_renamed): Add __NTH.
44638 (feraiseexcept): Add __NTH. Rename local variables to fix
44639 namespace violations.
44641 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44643 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44645 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44647 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44648 recently added interfaces.
44649 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44651 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44652 about macro parameter expansion.
44654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44655 __NO_MATH_INLINES is defined. Cleanups.
44657 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44658 and __floorf is target has SSE4.1.
44659 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44660 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44661 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44662 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44664 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44666 (floorf): Likewise.
44668 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44670 2011-10-17 Andreas Schwab <schwab@redhat.com>
44672 * misc/sys/cdefs.h: Fix last change.
44674 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44677 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44679 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44681 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44682 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44683 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44685 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44686 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44687 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44688 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44689 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44690 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44691 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44692 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44693 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44694 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44695 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44696 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44697 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44698 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44699 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44700 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44701 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44702 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44704 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44705 ceil, ceilf, floor, floorf.
44707 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44708 Perform IRELATIVE relocations last.
44710 * elf/do-rel.h: Add another parameter nrelative, replacing the
44711 local variable with the same name. Change name of the function
44712 to end in Rel or Rela (uppercase).
44713 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44714 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44715 elf_dynamic_do_##reloc function.
44717 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44719 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44720 is sufficient, at least on modern CPUs.
44722 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44724 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44725 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44727 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44729 * math/bits/math-finite.h: Add entries for exp.
44730 * math/e_expl.c: Add __*_finite alias.
44731 * sysdeps/i386/fpu/e_exp.S: Likewise.
44732 * sysdeps/i386/fpu/e_expf.S: Likewise.
44733 * sysdeps/i386/fpu/e_expl.c: Likewise.
44734 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44735 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44736 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44737 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44738 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44739 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44740 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44742 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44743 is sufficient, at least on modern CPUs.
44745 * ctype/ctype-info.c (__ctype_init): Define.
44746 * include/ctype.h (__ctype_init): Declare.
44747 (__ctype_b_loc): The variable is always initialized.
44748 (__ctype_toupper_loc): Likewise.
44749 (__ctype_tolower_loc): Likewise.
44750 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44751 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44753 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44755 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44757 * configure.in: Also look in $cxxmachine/include for C++ system
44760 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44762 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44763 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44764 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44765 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44766 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44767 (USE_AS_WMEMCMP): New macro.
44769 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44770 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44771 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44772 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44774 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44775 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44776 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44777 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44778 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44779 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44780 (USE_AS_WMEMCMP): New macro.
44781 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44782 * sysdeps/string/test-memcmp.c: Update.
44783 Fix simple_wmemcmp.
44785 * wcsmbs/wmemcmp.c: Update.
44786 (WMEMCMP): New macro.
44789 2011-10-12 Andreas Jaeger <aj@suse.de>
44792 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44794 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44796 * libio/iofwide.c (do_length): Avoid warning.
44798 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44800 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44802 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44804 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44805 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44806 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44807 * sysdeps/i386/i686/fpu/e_log.S: New file.
44808 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44809 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44811 * ctype/ctype.h: Add support for inlined isXXX functions when
44812 compiling C++ code.
44814 2011-10-14 Andreas Schwab <schwab@redhat.com>
44816 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44818 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44820 2011-10-13 Roland McGrath <roland@hack.frob.com>
44823 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44825 2011-10-13 Andreas Schwab <schwab@redhat.com>
44827 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44828 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44831 * sysdeps/x86_64/memrchr.S: Check for zero size.
44833 * string/stratcliff.c: Add memrchr tests.
44835 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44838 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44839 rawmemchr-sse2 rawmemchr-sse2-bsf.
44840 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44841 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44842 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44843 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44844 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44845 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44846 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44847 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44848 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44849 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44850 * string/memrchr.c (MEMRCHR): New macro.
44852 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44854 Add integration with gcc's -ffinite-math-only and optimize wrapper
44856 * Versions.def: Define GLIBC_2.15 version for libm.
44857 * math/Makefile (headers): Add bits/math-finite.h.
44858 * math/bits/math-finite.h: New file.
44859 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44860 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44861 * math/e_acoshl.c: Add __*_finite alias.
44862 * math/e_acosl.c: Likewise.
44863 * math/e_asinl.c: Likewise.
44864 * math/e_atan2l.c: Likewise.
44865 * math/e_atanhl.c: Likewise.
44866 * math/e_coshl.c: Likewise.
44867 * math/e_exp10.c: Likewise.
44868 * math/e_exp10f.c: Likewise.
44869 * math/e_exp10l.c: Likewise.
44870 * math/e_exp2l.c: Likewise.
44871 * math/e_fmodl.c: Likewise.
44872 * math/e_gammal_r.c: Likewise.
44873 * math/e_hypotl.c: Likewise.
44874 * math/e_j0l.c: Likewise.
44875 * math/e_j1l.c: Likewise.
44876 * math/e_jnl.c: Likewise.
44877 * math/e_lgammal_r.c: Likewise.
44878 * math/e_log10l.c: Likewise.
44879 * math/e_log2l.c: Likewise.
44880 * math/e_logl.c: Likewise.
44881 * math/e_powl.c: Likewise.
44882 * math/e_sinhl.c: Likewise.
44883 * math/e_sqrtl.c: Likewise.
44884 * math/e_scalb.c: Completely rewritten and optimized.
44885 * math/e_scalbf.c: Likewise.
44886 * math/e_scalbl.c: Likewise.
44887 * math/w_acos.c: Likewise.
44888 * math/w_acosf.c: Likewise.
44889 * math/w_acosl.c: Likewise.
44890 * math/w_acosh.c: Likewise.
44891 * math/w_acoshf.c: Likewise.
44892 * math/w_acoshl.c: Likewise.
44893 * math/w_asin.c: Likewise.
44894 * math/w_asinf.c: Likewise.
44895 * math/w_asinl.c: Likewise.
44896 * math/w_atan2.c: Likewise.
44897 * math/w_atan2f.c: Likewise.
44898 * math/w_atan2l.c: Likewise.
44899 * math/w_atanh.c: Likewise.
44900 * math/w_atanhf.c: Likewise.
44901 * math/w_atanhl.c: Likewise.
44902 * math/w_exp10.c: Likewise.
44903 * math/w_exp10f.c: Likewise.
44904 * math/w_exp10l.c: Likewise.
44905 * math/w_fmod.c: Likewise.
44906 * math/w_fmodf.c: Likewise.
44907 * math/w_fmodl.c: Likewise.
44908 * math/w_j0.c: Likewise.
44909 * math/w_j0f.c: Likewise.
44910 * math/w_j0l.c: Likewise.
44911 * math/w_j1.c: Likewise.
44912 * math/w_j1f.c: Likewise.
44913 * math/w_j1l.c: Likewise.
44914 * math/w_jn.c: Likewise.
44915 * math/w_jnf.c: Likewise.
44916 * math/w_log.c: Likewise.
44917 * math/w_logf.c: Likewise.
44918 * math/w_logl.c: Likewise.
44919 * math/w_log10.c: Likewise.
44920 * math/w_log10f.c: Likewise.
44921 * math/w_log10l.c: Likewise.
44922 * math/w_log2.c: Likewise.
44923 * math/w_log2f.c: Likewise.
44924 * math/w_log2l.c: Likewise.
44925 * math/w_pow.c: Likewise.
44926 * math/w_powf.c: Likewise.
44927 * math/w_powl.c: Likewise.
44928 * math/w_remainder.c: Likewise.
44929 * math/w_remainderf.c: Likewise.
44930 * math/w_remainderl.c: Likewise.
44931 * math/w_scalb.c: Likewise.
44932 * math/w_scalbf.c: Likewise.
44933 * math/w_scalbl.c: Likewise.
44934 * math/w_sqrt.c: Likewise.
44935 * math/w_sqrtf.c: Likewise.
44936 * math/w_sqrtl.c: Likewise.
44937 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44938 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44940 * math/math_private.h: Declare __kernel_standard_f.
44941 * math/w_cosh.c: Remove cruft and optimize a bit.
44942 * math/w_coshf.c: Likewise.
44943 * math/w_coshl.c: Likewise.
44944 * math/w_exp2.c: Likewise.
44945 * math/w_exp2f.c: Likewise.
44946 * math/w_exp2l.c: Likewise.
44947 * math/w_hypot.c: Likewise.
44948 * math/w_hypotf.c: Likewise.
44949 * math/w_hypotl.c: Likewise.
44950 * math/w_lgamma.c: Likewise.
44951 * math/w_lgamma_r.c: Likewise.
44952 * math/w_lgammaf.c: Likewise.
44953 * math/w_lgammaf_r.c: Likewise.
44954 * math/w_lgammal.c: Likewise.
44955 * math/w_lgammal_r.c: Likewise.
44956 * math/w_sinh.c: Likewise.
44957 * math/w_sinhf.c: Likewise.
44958 * math/w_sinhl.c: Likewise.
44959 * math/w_tgamma.c: Likewise.
44960 * math/w_tgammaf.c: Likewise.
44961 * math/w_tgammal.c: Likewise.
44962 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44964 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44965 Minor optimizations. Pretty printing. Remove cruft.
44966 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44967 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44968 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44969 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44970 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44971 * sysdeps/i386/fpu/e_asin.S: Likewise.
44972 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44973 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44974 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44975 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44976 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44977 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44978 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44979 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44980 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44981 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44982 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44983 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44984 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44985 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44986 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44987 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44988 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44989 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44990 * sysdeps/i386/fpu/e_log.S: Likewise.
44991 * sysdeps/i386/fpu/e_log10.S: Likewise.
44992 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44993 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44994 * sysdeps/i386/fpu/e_log2.S: Likewise.
44995 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44996 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44997 * sysdeps/i386/fpu/e_logf.S: Likewise.
44998 * sysdeps/i386/fpu/e_logl.S: Likewise.
44999 * sysdeps/i386/fpu/e_pow.S: Likewise.
45000 * sysdeps/i386/fpu/e_powf.S: Likewise.
45001 * sysdeps/i386/fpu/e_powl.S: Likewise.
45002 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45003 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45004 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45005 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45006 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45007 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45008 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45009 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45010 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45011 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45012 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45014 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45015 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45016 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45017 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45018 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45019 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45020 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45021 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45022 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45024 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45025 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45027 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45028 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45029 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45031 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45032 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45035 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45036 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45037 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45038 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45039 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45040 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45041 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45042 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45043 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45044 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45045 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45046 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45047 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45048 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45049 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45050 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45051 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45052 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45053 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45054 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45055 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45056 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45057 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45058 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45059 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45060 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45061 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45062 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45063 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45064 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45065 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45066 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45067 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45068 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45069 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45070 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45071 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45075 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45076 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45079 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45080 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45081 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45082 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45084 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45085 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45088 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45089 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45090 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45091 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45092 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45093 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45102 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45103 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45104 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45105 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45106 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45107 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45108 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45109 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45110 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45111 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45112 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45113 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45114 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45115 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45116 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45117 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45118 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45119 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45120 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45121 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45122 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45123 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45124 (__isnanf): Likewise.
45125 (__isinf_ns): Likewise.
45126 (__isinf_nsf): Likewise.
45127 (__finite): Likewise.
45128 (__finitef): Likewise.
45129 (__ieee754_sqrt): Define as macro.
45130 (__ieee754_sqrtf): Define as macro.
45131 (__ieee754_sqrtl): Define as macro.
45132 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45134 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45135 __FINITE_MATH_ONLY__ consistent.
45136 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45138 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45140 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45143 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45145 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45147 * po/ja.po: Update from translation team.
45149 2011-10-08 Roland McGrath <roland@hack.frob.com>
45151 * locale/programs/locarchive.c (prepare_address_space): New function.
45152 (create_archive, enlarge_archive, open_archive): Use it.
45154 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45155 inside [SHARED], where it is used.
45157 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45159 * nss/getent.c (netgroup_keys): Remove unused variable.
45160 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45162 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45164 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45165 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45166 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45167 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45168 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45169 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45170 * math/Makefile (libm-calls): Add s_isinf_ns.
45171 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45172 * math/multc3.c: Likewise.
45173 * math/s_casin.c: Likewise.
45174 * math/s_casinf.c: Likewise.
45175 * math/s_casinl.c: Likewise.
45176 * math/s_ccos.c: Likewise.
45177 * math/s_ccosf.c: Likewise.
45178 * math/s_ccosl.c: Likewise.
45179 * math/s_ctan.c: Likewise.
45180 * math/s_ctanf.c: Likewise.
45181 * math/s_ctanh.c: Likewise.
45182 * math/s_ctanhf.c: Likewise.
45183 * math/s_ctanhl.c: Likewise.
45184 * math/s_ctanl.c: Likewise.
45185 * math/w_fmod.c: Likewise.
45186 * math/w_fmodf.c: Likewise.
45187 * math/w_fmodl.c: Likewise.
45188 * math/w_remainder.c: Likewise.
45189 * math/w_remainderf.c: Likewise.
45190 * math/w_remainderl.c: Likewise.
45191 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45192 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45193 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45194 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45195 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45196 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45197 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45198 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45200 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45202 * stdio-common/printf_fphex.c: Likewise.
45203 * stdio-common/printf_size.c: Likewise.
45205 * math/e_exp10.c: Include math_private.h using <...> not "...".
45206 * math/e_exp10f.c: Likewise.
45207 * math/e_exp10l.c: Likewise.
45208 * math/e_exp2l.c: Likewise.
45209 * math/e_j0l.c: Likewise.
45210 * math/e_j1l.c: Likewise.
45211 * math/e_jnl.c: Likewise.
45212 * math/e_lgammal_r.c: Likewise.
45213 * math/e_rem_pio2l.c: Likewise.
45214 * math/e_scalb.c: Likewise.
45215 * math/e_scalbf.c: Likewise.
45216 * math/e_scalbl.c: Likewise.
45217 * math/k_cosl.c: Likewise.
45218 * math/k_sinl.c: Likewise.
45219 * math/k_tanl.c: Likewise.
45220 * math/s_cacoshf.c: Likewise.
45221 * math/s_catan.c: Likewise.
45222 * math/s_catanf.c: Likewise.
45223 * math/s_catanh.c: Likewise.
45224 * math/s_catanhf.c: Likewise.
45225 * math/s_catanhl.c: Likewise.
45226 * math/s_catanl.c: Likewise.
45227 * math/s_ccosh.c: Likewise.
45228 * math/s_ccoshf.c: Likewise.
45229 * math/s_ccoshl.c: Likewise.
45230 * math/s_cexp.c: Likewise.
45231 * math/s_cexpf.c: Likewise.
45232 * math/s_cexpl.c: Likewise.
45233 * math/s_clog.c: Likewise.
45234 * math/s_clog10.c: Likewise.
45235 * math/s_clog10f.c: Likewise.
45236 * math/s_clog10l.c: Likewise.
45237 * math/s_clogf.c: Likewise.
45238 * math/s_clogl.c: Likewise.
45239 * math/s_csin.c: Likewise.
45240 * math/s_csinf.c: Likewise.
45241 * math/s_csinh.c: Likewise.
45242 * math/s_csinhf.c: Likewise.
45243 * math/s_csinhl.c: Likewise.
45244 * math/s_csinl.c: Likewise.
45245 * math/s_csqrt.c: Likewise.
45246 * math/s_csqrtf.c: Likewise.
45247 * math/s_csqrtl.c: Likewise.
45248 * math/s_ctan.c: Likewise.
45249 * math/s_ctanf.c: Likewise.
45250 * math/s_ctanh.c: Likewise.
45251 * math/s_ctanhf.c: Likewise.
45252 * math/s_ctanhl.c: Likewise.
45253 * math/s_ctanl.c: Likewise.
45254 * math/s_ldexp.c: Likewise.
45255 * math/s_ldexpf.c: Likewise.
45256 * math/s_ldexpl.c: Likewise.
45257 * math/s_significand.c: Likewise.
45258 * math/s_significandf.c: Likewise.
45259 * math/s_significandl.c: Likewise.
45260 * math/w_acos.c: Likewise.
45261 * math/w_acosf.c: Likewise.
45262 * math/w_acosh.c: Likewise.
45263 * math/w_acoshf.c: Likewise.
45264 * math/w_acoshl.c: Likewise.
45265 * math/w_acosl.c: Likewise.
45266 * math/w_asin.c: Likewise.
45267 * math/w_asinf.c: Likewise.
45268 * math/w_asinl.c: Likewise.
45269 * math/w_atan2.c: Likewise.
45270 * math/w_atan2f.c: Likewise.
45271 * math/w_atan2l.c: Likewise.
45272 * math/w_atanh.c: Likewise.
45273 * math/w_atanhf.c: Likewise.
45274 * math/w_atanhl.c: Likewise.
45275 * math/w_cosh.c: Likewise.
45276 * math/w_coshf.c: Likewise.
45277 * math/w_coshl.c: Likewise.
45278 * math/w_dremf.c: Likewise.
45279 * math/w_exp10.c: Likewise.
45280 * math/w_exp10f.c: Likewise.
45281 * math/w_exp10l.c: Likewise.
45282 * math/w_exp2.c: Likewise.
45283 * math/w_exp2f.c: Likewise.
45284 * math/w_fmod.c: Likewise.
45285 * math/w_fmodf.c: Likewise.
45286 * math/w_fmodl.c: Likewise.
45287 * math/w_hypot.c: Likewise.
45288 * math/w_hypotf.c: Likewise.
45289 * math/w_hypotl.c: Likewise.
45290 * math/w_j0.c: Likewise.
45291 * math/w_j0f.c: Likewise.
45292 * math/w_j0l.c: Likewise.
45293 * math/w_j1.c: Likewise.
45294 * math/w_j1f.c: Likewise.
45295 * math/w_j1l.c: Likewise.
45296 * math/w_jn.c: Likewise.
45297 * math/w_jnf.c: Likewise.
45298 * math/w_jnl.c: Likewise.
45299 * math/w_lgamma.c: Likewise.
45300 * math/w_lgamma_r.c: Likewise.
45301 * math/w_lgammaf.c: Likewise.
45302 * math/w_lgammaf_r.c: Likewise.
45303 * math/w_lgammal.c: Likewise.
45304 * math/w_lgammal_r.c: Likewise.
45305 * math/w_log.c: Likewise.
45306 * math/w_log10.c: Likewise.
45307 * math/w_log10f.c: Likewise.
45308 * math/w_log10l.c: Likewise.
45309 * math/w_log2.c: Likewise.
45310 * math/w_log2f.c: Likewise.
45311 * math/w_log2l.c: Likewise.
45312 * math/w_logf.c: Likewise.
45313 * math/w_logl.c: Likewise.
45314 * math/w_pow.c: Likewise.
45315 * math/w_powf.c: Likewise.
45316 * math/w_powl.c: Likewise.
45317 * math/w_remainder.c: Likewise.
45318 * math/w_remainderf.c: Likewise.
45319 * math/w_remainderl.c: Likewise.
45320 * math/w_scalb.c: Likewise.
45321 * math/w_scalbf.c: Likewise.
45322 * math/w_scalbl.c: Likewise.
45323 * math/w_sinh.c: Likewise.
45324 * math/w_sinhf.c: Likewise.
45325 * math/w_sinhl.c: Likewise.
45326 * math/w_sqrt.c: Likewise.
45327 * math/w_sqrtf.c: Likewise.
45328 * math/w_sqrtl.c: Likewise.
45329 * math/w_tgamma.c: Likewise.
45330 * math/w_tgammaf.c: Likewise.
45331 * math/w_tgammal.c: Likewise.
45333 * po/ja.po: Update from translation team.
45335 2011-09-29 Andreas Jaeger <aj@suse.de>
45338 * sunrpc/netname.c (netname2host): Fix logic.
45342 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45344 * math/w_remainder.c (__remainder): Likewise.
45345 * math/w_remainderf.c (__remainderf): Likewise.
45346 * math/libm-test.inc (remainder_test): Add test cases.
45348 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45350 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45353 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45355 * string/test-memcmp.c: Avoid unncessary #defines.
45356 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45358 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45360 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45361 Use new sse2 version for core i3 - i7 as it's faster
45362 than sse42 version.
45363 (bit_Prefer_PMINUB_for_stringop): New.
45364 * sysdeps/x86_64/rawmemchr.S: Update.
45365 Replace with faster SSE2 version.
45366 * sysdeps/x86_64/memrchr.S: New file.
45367 * sysdeps/x86_64/memchr.S: Update.
45368 Replace with faster SSE2 version.
45370 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45372 * elf/dl-load.c (lose): Add cast to avoid warning.
45374 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45376 * po/ca.po: Update from translation team.
45378 * inet/getnetgrent_r.c: Hook up nscd.
45379 * nscd/Makefile (routines): Add nscd_netgroup.
45380 (nscd-modules): Add netgroupcache.
45381 (CFLAGS-netgroupcache.c): Define.
45382 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45383 (cache_search): Add const to second parameter.
45384 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45386 (dbs): Add netgrdb entry.
45387 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45388 (verify_persistent_db): Handle netgrdb.
45389 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45390 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45392 (netgroup_response_header): Define.
45393 (innetgroup_response_header): Define.
45394 (datahead): Add netgroup_response_header and innetgroup_response_header
45396 * nscd/nscd.conf: Add entries for netgroup cache.
45397 * nscd/nscd.h (dbtype): Add netgrdb.
45398 (_PATH_NSCD_NETGROUP_DB): Define.
45399 (netgroup_iov_disabled): Declare.
45400 (xmalloc, xcalloc, xrealloc): Move declarations here.
45401 (cache_search): Adjust prototype.
45402 Add netgroup-related prototypes.
45403 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45404 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45405 (__nscd_innetgr): Declare.
45406 * nscd/selinux.c (perms): Use access_vector_t as element type and
45407 add netgroup-related initializers.
45408 * nscd/netgroupcache.c: New file.
45409 * nscd/nscd_netgroup.c: New file.
45410 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45411 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45412 For four parameters use innetgr.
45413 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45414 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45415 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45416 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45418 * nscd/connections.c (register_traced_file): Don't register file
45419 for disabled databases.
45421 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45423 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45425 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45426 from tree and freeing node.
45428 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45430 * nss/nsswitch.c (__nss_database_lookup): Handle
45431 nss_parse_service_list out of memory case.
45433 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45435 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45436 out of memory case.
45438 2011-10-04 Andreas Schwab <schwab@redhat.com>
45440 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45441 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45443 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45444 elf_machine_rela, elf_machine_lazy_rel.
45445 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45446 (ELF_DYNAMIC_DO_REL): Likewise.
45447 (ELF_DYNAMIC_DO_RELA): Likewise.
45448 (ELF_DYNAMIC_RELOCATE): Likewise.
45449 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45450 to ELF_DYNAMIC_DO_REL.
45451 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45452 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45453 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45455 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45456 skip_ifunc, don't call ifunc function if non-zero.
45457 (elf_machine_rela): Likewise.
45458 (elf_machine_lazy_rel): Likewise.
45459 (elf_machine_lazy_rela): Likewise.
45460 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45461 (elf_machine_lazy_rel): Likewise.
45462 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45464 (elf_machine_lazy_rel): Likewise.
45465 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45467 (elf_machine_lazy_rel): Likewise.
45468 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45469 (elf_machine_lazy_rel): Likewise.
45470 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45471 (elf_machine_lazy_rel): Likewise.
45472 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45473 (elf_machine_lazy_rel): Likewise.
45474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45475 (elf_machine_lazy_rel): Likewise.
45476 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45477 (elf_machine_lazy_rel): Likewise.
45478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45479 (elf_machine_lazy_rel): Likewise.
45481 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45483 * nss/nss_files/files-init.c (_nss_files_init): Use static
45484 initialization for all the *_traced_file variables.
45486 2011-09-28 Andreas Schwab <schwab@redhat.com>
45488 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45490 2011-09-27 Roland McGrath <roland@hack.frob.com>
45493 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45495 2011-09-27 Andreas Schwab <schwab@redhat.com>
45497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45498 Reread the line before reparsing it.
45500 2011-09-26 Andreas Schwab <schwab@redhat.com>
45502 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45504 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45505 Maxim Kuvyrkov <maxim@codesourcery.com>
45506 Joseph Myers <joseph@codesourcery.com>
45508 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45509 if needed for __stack_chk_guard.
45511 2011-09-19 Roland McGrath <roland@hack.frob.com>
45513 * sysdeps/posix/spawni.c (script_execute): Always define it.
45514 It will be optimized away if unused.
45515 (maybe_script_execute): New function.
45516 (__spawni): Call it.
45518 * Makerules: Don't include tls.make.
45519 (config-tls): Always set to thread.
45520 * tls.make.c: File removed.
45522 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45524 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45525 * config.make.in (CPPFLAGS-config): New substituted variable.
45527 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45532 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45533 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45535 2011-09-15 Roland McGrath <roland@hack.frob.com>
45537 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45538 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45540 (CALL_FAIL): Likewise.
45541 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45542 (CALL_FAIL): Macro removed.
45543 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45545 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45547 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45548 for __FINITE_MATH_ONLY__ == 1.
45550 2011-09-15 Andreas Schwab <schwab@redhat.com>
45552 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45553 __ieee754_sqrt instead of sqrt.
45554 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45555 __ieee754_sqrtf instead of sqrtf.
45556 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45557 __floorf instead of floorf.
45558 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45559 __floorf, __truncf instead of floorf, truncf.
45561 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45563 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45565 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45566 __extern_always_inline.
45567 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45570 2011-09-14 Andreas Schwab <schwab@redhat.com>
45572 * elf/rtld.c (dl_main): Also relocate in dependency order when
45573 doing symbol dependency testing.
45575 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45577 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45578 Always define `refsym'.
45580 2011-09-13 Andreas Schwab <schwab@redhat.com>
45582 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45583 (__FD_ELT): Renamed from __FDELT.
45584 * misc/bits/select2.h (__FD_ELT): Likewise.
45585 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45586 __FD_MASK instead of __FDELT, __FDMASK.
45587 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45589 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45592 * elf/Makefile (gen-ldd): Fix pattern.
45594 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45595 (init_tls): Likewise.
45597 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45599 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45601 2011-09-12 Andreas Schwab <schwab@redhat.com>
45603 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45604 `struct cmsghdr *' instead of `void *'.
45605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45608 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45610 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45612 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45613 ldd_rewrite_script.
45615 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45617 * configure.in: Remove --with-tls option.
45618 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45619 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45620 out in case it is missing.
45621 * sysdeps/ia64/elf/configure.in: Likewise.
45622 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45623 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45624 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45625 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45626 * sysdeps/sh/elf/configure.in: Likewise.
45627 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45628 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45629 * sysdeps/x86_64/elf/configure.in: Likewise.
45630 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45631 * sysdeps/mach/hurd/tls.h: Likewise.
45634 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45637 * configure.in: Fix use of AC_INIT.
45639 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45641 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45643 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45645 * malloc/hooks.c: Likewise.
45648 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45649 variables statically.
45650 (narenas): Initialize.
45651 (list_lock): Initialize.
45652 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45653 initializtion of main_arena and list_lock. Small cleanups.
45654 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45655 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45656 Add initializers to main_arena and mp_.
45657 (malloc_state): Remove pagesize member. Change all users to use
45660 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45661 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45662 is always initialized.
45664 * malloc/malloc.c: Removed unused configurations and dead code.
45665 * malloc/arena.c: Likewise.
45666 * malloc/hooks.c: Likewise.
45667 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45669 * include/tls.h: Removed. USE___THREAD must always be defined.
45670 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45671 * elf/dl-libc.c: Likewise.
45672 * elf/dl-tsd.c: Likewise.
45673 * include/errno.h: Likewise.
45674 * include/netdb.h: Likewise.
45675 * include/resolv.h: Likewise.
45676 * inet/herrno-loc.c: Likewise.
45677 * inet/herrno.c: Likewise.
45678 * malloc/arena.c: Likewise.
45679 * malloc/hooks.c: Likewise.
45680 * malloc/malloc.c: Likewise.
45681 * resolv/res-state.c: Likewise.
45682 * resolv/res_libc.c: Likewise.
45683 * sysdeps/i386/dl-machine.h: Likewise.
45684 * sysdeps/ia64/dl-machine.h: Likewise.
45685 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45686 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45687 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45688 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45689 * sysdeps/sh/dl-machine.h: Likewise.
45690 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45691 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45692 * sysdeps/unix/i386/sysdep.S: Likewise.
45693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45694 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45695 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45697 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45699 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45703 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45704 * sysdeps/x86_64/dl-machine.h: Likewise.
45705 * tls.make.c: Likewise.
45707 * configure.in: Remove --with-__thread option. Make tests for
45708 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45709 tls_model attribute fail if no support is available. Remove
45711 * Makeconfig: Adjust for dropped configure option. All features are
45713 * Makerules: Likewise.
45714 * Versions.def: Likewise.
45715 * argp/argp-fmtstream.c: Likewise.
45716 * argp/argp-fmtstream.h: Likewise.
45717 * argp/argp-help.c: Likewise.
45718 * assert/assert.c: Likewise.
45719 * config.h.in: Likewise.
45720 * config.make.in: Likewise.
45721 * configure: Likewise.
45722 * configure.in: Likewise.
45723 * csu/Versions: Likewise.
45724 * csu/init.c: Likewise.
45725 * elf/tst-audit2.c: Likewise.
45726 * elf/tst-tls10.c: Likewise.
45727 * elf/tst-tls10.h: Likewise.
45728 * elf/tst-tls11.c: Likewise.
45729 * elf/tst-tls12.c: Likewise.
45730 * elf/tst-tls14.c: Likewise.
45731 * elf/tst-tlsmod11.c: Likewise.
45732 * elf/tst-tlsmod12.c: Likewise.
45733 * elf/tst-tlsmod13.c: Likewise.
45734 * elf/tst-tlsmod13a.c: Likewise.
45735 * elf/tst-tlsmod14a.c: Likewise.
45736 * elf/tst-tlsmod15b.c: Likewise.
45737 * elf/tst-tlsmod16a.c: Likewise.
45738 * elf/tst-tlsmod16b.c: Likewise.
45739 * elf/tst-tlsmod7.c: Likewise.
45740 * elf/tst-tlsmod8.c: Likewise.
45741 * elf/tst-tlsmod9.c: Likewise.
45742 * gmon/gmon.c: Likewise.
45743 * grp/fgetgrent_r.c: Likewise.
45744 * grp/putgrent.c: Likewise.
45745 * hurd/fopenport.c: Likewise.
45746 * include/libc-symbols.h: Likewise.
45747 * include/tls.h: Likewise.
45748 * intl/gettextP.h: Likewise.
45749 * intl/loadinfo.h: Likewise.
45750 * locale/global-locale.c: Likewise.
45751 * locale/localeinfo.h: Likewise.
45752 * mach/devstream.c: Likewise.
45753 * malloc/arena.c: Likewise.
45754 * malloc/set-freeres.c: Likewise.
45755 * misc/err.c: Likewise.
45756 * misc/getttyent.c: Likewise.
45757 * misc/mntent_r.c: Likewise.
45758 * posix/getopt.c: Likewise.
45759 * posix/wordexp.c: Likewise.
45760 * pwd/fgetpwent_r.c: Likewise.
45761 * resolv/Versions: Likewise.
45762 * resolv/res_hconf.c: Likewise.
45763 * shadow/fgetspent_r.c: Likewise.
45764 * shadow/putspent.c: Likewise.
45765 * stdio-common/printf_fphex.c: Likewise.
45766 * stdio-common/tmpfile.c: Likewise.
45767 * stdlib/abort.c: Likewise.
45768 * stdlib/fmtmsg.c: Likewise.
45769 * sunrpc/auth_unix.c: Likewise.
45770 * sunrpc/clnt_perr.c: Likewise.
45771 * sunrpc/clnt_tcp.c: Likewise.
45772 * sunrpc/clnt_udp.c: Likewise.
45773 * sunrpc/clnt_unix.c: Likewise.
45774 * sunrpc/openchild.c: Likewise.
45775 * sunrpc/svc_simple.c: Likewise.
45776 * sunrpc/svc_tcp.c: Likewise.
45777 * sunrpc/svc_udp.c: Likewise.
45778 * sunrpc/svc_unix.c: Likewise.
45779 * sunrpc/xdr.c: Likewise.
45780 * sunrpc/xdr_array.c: Likewise.
45781 * sunrpc/xdr_rec.c: Likewise.
45782 * sunrpc/xdr_ref.c: Likewise.
45783 * sunrpc/xdr_stdio.c: Likewise.
45785 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45787 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45789 2011-07-03 Andreas Jaeger <aj@suse.de>
45791 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45792 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45793 regenerate with gen-libm-tests.pl.
45795 2010-05-12 Petr Baudis <pasky@suse.cz>
45798 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45799 around j0() zero points by switching to j1().
45800 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45801 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45803 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45805 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45807 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45809 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45812 Patch in part by Pavel Roskin <proski@gnu.org>.
45815 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45817 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45818 Free memory block if necessary.
45821 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45822 be NULL. Don't lock in this case.
45824 2011-09-09 Roland McGrath <roland@hack.frob.com>
45826 * elf/elf.h (ELFOSABI_GNU): New macro.
45827 (ELFOSABI_LINUX): Define to that.
45829 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45831 * string/strncat.c (strncat): Undef the symbol in case it has been
45832 defined in bits/string.h.
45834 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45836 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45838 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45841 2011-08-17 Andreas Jaeger <aj@suse.de>
45843 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45845 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45846 Ian Lance Taylor <iant@google.com>
45848 * math/libm-test.inc (lround_test): New testcase.
45849 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45851 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45853 * Makefile: Remove support for automatic cvs check-ins.
45854 * Makerules: Likewise.
45855 * config.make.in: Likewise.
45856 * configure.in: Likewise.
45857 * intl/Makefile: Likewise.
45858 * locale/Makefile: Likewise.
45859 * po/Makefile: Likewise.
45860 * posix/Makefile: Likewise.
45861 * sysdeps/gnu/Makefile: Likewise.
45862 * sysdeps/mach/hurd/Makefile: Likewise.
45863 * sysdeps/sparc/sparc32/Makefile: Likewise.
45866 * posix/Makefile (bug-regex32-ENV): Define.
45867 Patch by John Stanley <jpsinthemix@verizon.net>.
45869 * misc/Makefile (headers): Add bits/select2.h.
45870 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45871 * misc/bits/select2.h: New file.
45872 * include/bits/select2.h: New file.
45873 * debug/Makefile (routines): Add fdelt_chk.
45874 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45875 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45877 * debug/fdelt_chk.c: New file.
45879 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45880 * wcsmbs/test-wmemcmp.c: Likewise.
45881 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45882 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45884 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45886 * string/Makefile (strop-tests): Add memcmp.
45887 * string/test-wmemcmp.c: New file.
45888 * string/test-memcmp.c: Add wmemcmp support.
45890 2011-09-08 Roland McGrath <roland@hack.frob.com>
45893 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45896 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45897 garbage value in a __mach_port_mod_refs call in the cases of the
45898 task-self and thread-self ports.
45900 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45902 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45904 2011-09-08 Andreas Schwab <schwab@redhat.com>
45906 * elf/dl-load.c (lose): Check for non-null L.
45908 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45910 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45912 * elf/dl-libc.c (dlerror_run): Pass back error code from
45916 * elf/dl-load.c (lose): Free l_origin if it is valid.
45918 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45920 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45921 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45922 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45923 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45924 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45925 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45927 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45929 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45930 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45931 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45932 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45933 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45934 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45935 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45936 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45937 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45938 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45940 2011-08-15 Alan Modra <amodra@gmail.com>
45943 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45944 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45945 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45946 ppc_mcount to static-only-routines.
45947 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45949 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45950 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45952 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45954 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45955 for finite and infinity parameters.
45957 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45959 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45960 and add nop instructions for throughput optimization.
45961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45963 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45965 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45966 aligned copy for power7 with vector-scalar instructions.
45967 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45969 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45974 2011-09-07 Andreas Schwab <schwab@redhat.com>
45977 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45980 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45982 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45983 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45984 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45985 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45988 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45990 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45991 Forgot to demangle the pointer.
45993 * sysdeps/i386/sysdep.h: Define atom_text_section.
45994 * sysdeps/x86_64/sysdep.h: Likewise.
45995 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45996 section with atom_text_section.
45997 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45999 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46000 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46001 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46003 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46004 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46005 already be defined. Change to take two parameters and don't assign
46006 result to variable. Adjust all users.
46007 Define INTERNAL_GETTIME if not already defined.
46008 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46011 HAVE_CLOCK_GETTIME_VSYSCALL.
46012 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46015 gettimeofday vsyscall, just use time.
46017 2011-09-06 Andreas Schwab <schwab@redhat.com>
46019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46022 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46024 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46028 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46029 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46030 syscall if possible.
46032 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46034 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46035 e_ident. Don't pass to find_mapsXX.
46036 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46038 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46041 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46042 * sysdeps/x86_64/multiarch/strchr.S: Update.
46043 Check bit_slow_BSF bit.
46044 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46045 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46046 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46048 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46051 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46053 (tryshell): Define.
46054 (__spawni): Change last parameter to be flag. Test
46055 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46056 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46057 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46058 * posix/spawni.c: Likewise.
46059 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46060 * posix/spawnp.c: Likewise. Change normal version to use
46061 SPAWN_XFLAGS_USE_PATH.
46062 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46063 SPAWN_XFLAGS_TRY_SHELL.
46066 * posix/glob.h: Remove gcc 1.x support.
46069 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46071 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46074 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46076 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46077 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46078 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46079 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46080 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46081 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46083 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46085 * sysdeps/x86_64/wcscmp.S: New file.
46087 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46088 wcscmp-c wcscmp-sse2
46089 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46090 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46091 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46092 * wcsmbs/wcscmp.c: Allow renaming.
46094 2011-09-05 David S. Miller <davem@davemloft.net>
46096 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46097 stack slot, rather than the struct return pointer slot.
46098 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46099 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46101 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46103 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46105 * po/ja.po: Update from translation team.
46108 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46109 kernel in 64-bit binaries.
46111 2011-09-01 David S. Miller <davem@davemloft.net>
46113 * elf/elf.h (HWCAP_SPARC_*): Move to..
46114 * sysdeps/sparc/sysdep.h: this new file and add new values.
46115 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46116 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46117 _DL_HWCAP_COUNT to 24.
46118 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46120 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46121 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46122 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46124 instead of magic constants.
46125 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46127 2011-08-31 David S. Miller <davem@davemloft.net>
46129 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46131 Reimplement to do errno handling inline.
46132 (SYSCALL_ERROR_HANDLER): New macro.
46133 (__SYSCALL_STRING): Do not do errno handling in asm.
46134 (__CLONE_SYSCALL_STRING): Delete.
46135 (__INTERNAL_SYSCALL_STRING): Delete.
46136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46137 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46138 (PSEUDO): Reimplement to do errno handling inline.
46139 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46140 (SYSCALL_ERROR_HANDLER): New macro.
46141 (__SYSCALL_STRING): Do not do errno handling in asm.
46142 (__CLONE_SYSCALL_STRING): Delete.
46143 (__INTERNAL_SYSCALL_STRING): Delete.
46144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46145 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46147 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46148 (inline_syscall*): Add 'err' argument.
46149 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46150 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46151 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46152 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46154 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46155 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46157 2011-08-30 Andreas Schwab <schwab@redhat.com>
46159 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46161 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46163 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46166 2011-08-24 David S. Miller <davem@davemloft.net>
46168 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46170 2011-08-24 Andreas Schwab <schwab@redhat.com>
46172 * elf/Makefile: Add rules to build and run unload8 test.
46173 * elf/unload8.c: New file.
46174 * elf/unload8mod1.c: New file.
46175 * elf/unload8mod1x.c: New file.
46176 * elf/unload8mod2.c: New file.
46177 * elf/unload8mod3.c: New file.
46179 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46182 2011-08-23 David S. Miller <davem@davemloft.net>
46184 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46185 subtract stack bias.
46186 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46187 %sp not %fp in calculations.
46188 (_JMPBUF_UNWINDS_ADJ): Likewise.
46190 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46191 (aio_suspend): Call it to force an exception region around the
46192 AIO_MISC_WAIT() invocation.
46194 2011-08-23 Andreas Schwab <schwab@redhat.com>
46196 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46199 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46201 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46203 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46204 and <dl-machine.h>.
46205 (Elf64_FuncDesc): Remove.
46207 2011-08-22 David S. Miller <davem@davemloft.net>
46209 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46210 sigaltstack check, add missing cfi directives.
46211 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46212 missing cfi directives, and sigaltstack handling.
46214 2011-08-16 Andreas Schwab <schwab@redhat.com>
46217 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46218 object is seen twice.
46219 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46221 * elf/Makefile (distribute): Add tst-initorder2.c.
46222 (tests): Add tst-initorder2.
46223 (modules-names): Add tst-initorder2a tst-initorder2b
46224 tst-initorder2c tst-initorder2d. Add rules to build them.
46225 ($(objpfx)tst-initorder2.out): New rule.
46226 * elf/tst-initorder2.c: New file.
46227 * elf/tst-initorder2.exp: New file.
46229 2011-08-22 Andreas Schwab <schwab@redhat.com>
46231 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46233 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46234 dependencies back to end of function.
46236 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46237 $(elfobjdir)/ld.so.
46239 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46242 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46244 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46245 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46246 of __vdso_gettimeofday.
46247 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46248 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46250 (_libc_vdso_platform_setup): Remove initialization of
46251 __vdso_gettimeofday and __vdso_time.
46253 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46255 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46256 and fgetc_unlocked.
46257 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46260 * elf/dl-open.c (add_to_global): Report additions to the global scope
46261 for LD_DEBUG=scopes.
46262 (dl_open_worker): Also print scope of newly loaded dependencies.
46263 (_dl_show_scope): Indicate if there is no scope.
46266 * stdio-common/Makefile (tests): Add bug24.
46267 * stdio-common/bug24.c: New file.
46269 2011-08-19 Andreas Jaeger <aj@suse.de>
46272 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46273 non-existant file when using close-on-exec mode.
46275 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46278 the very first instruction.
46280 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46281 the CFI state in the end.
46282 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46283 inclusion of dl-trampoline.h.
46284 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46286 2011-08-19 Andreas Schwab <schwab@redhat.com>
46288 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46289 expectations for long double.
46291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46292 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46294 2011-08-14 David S. Miller <davem@davemloft.net>
46296 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46297 artificual limit depends upon the system page size.
46299 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46301 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46302 * resolv/Makefile: Define CFLAGS-libresolv.
46304 2011-08-17 Andreas Schwab <schwab@redhat.com>
46306 * nss/makedb.c (compute_tables): Make variables used in nested
46309 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46311 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46312 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46313 if buffer was too small.
46315 * elf/pldd.c (main): Attach to all threads in the process.
46316 Rewrite /proc handling to use *at functions.
46318 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46320 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46321 specifies first scope to show.
46322 (dl_open_worker): Update callers. Move printing scope of new
46323 object to before the relocation.
46324 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46325 * sysdeps/generic/ldsodefs.h: Update declaration.
46327 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46328 string for the scope number.
46330 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46332 * nscd/servicescache.c (cache_addserv): Make sure written is always
46335 2011-08-14 Roland McGrath <roland@hack.frob.com>
46337 * sysdeps/i386/i486/bits/atomic.h
46338 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46339 statement expression, so as to suppress "set but not used" warning.
46340 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46342 * string/strncat.c (STRNCAT): Use prototype definition.
46344 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46345 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46347 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46348 (localedef-modules): Add localedef.
46349 (locale-modules): Add locale.
46351 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46352 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46353 to avoid a warning.
46355 2011-08-14 David S. Miller <davem@davemloft.net>
46357 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46358 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46360 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46362 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46363 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46364 * elf/rtld.c (dl_main): Set l_name of vDSO.
46365 Call _dl_show_scope when DL_DEBUG_SCOPES.
46366 (process_dl_debug): Recognize scopes flag and also set it for all.
46367 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46368 Declare _dl_show_scope.
46370 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46371 (do_dlopen): Pass caller_dlopen to dl_open.
46372 (__libc_dlopen_mode): Initialize caller_dlopen.
46374 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46375 of libc. Make tolower call locale-independent. Optimize a bit by
46376 using isdigit instead of isalnum.
46377 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46379 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46381 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46382 was a dependency or dynamically loaded.
46384 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46386 * intl/l10nflist.c: Allow architecture-specific pop function.
46387 * sysdeps/x86_64/l10nflist.c: New file.
46389 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46392 2011-08-10 Andreas Schwab <schwab@redhat.com>
46394 * include/dirent.h: Add libc_hidden_proto for scandirat and
46395 scandirat64. Don't declare __scandirat64.
46396 * dirent/scandirat.c: Add libc_hidden_def.
46397 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46398 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46400 2011-08-10 David S. Miller <davem@davemloft.net>
46402 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46404 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46405 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46406 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46408 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46410 * Versions.def [libc]: Add GLIBC_2.15.
46411 * dirent/Makefile (routines): Add scandirat and scandirat64.
46412 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46414 * dirent/dirent.h: Declare scandirat and scandirat64.
46415 * dirent/scandirat.c: New file.
46416 * dirent/scandirat64.c: New file.
46417 * sysdeps/wordsize-64/scandirat.c: New file.
46418 * sysdeps/wordsize-64/scandirat64.c: New file.
46419 * dirent/opendir.c: Define opendirat.
46420 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46422 * dirent/scandir64.c: Adjust for scandir.c change.
46423 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46424 __scandirat64, and __scandir_cancel_handler.
46425 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46426 additional parameter and use openat instead of open (outside of ld.so).
46427 Add new __opendir as wrapper around __opendirat.
46428 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46429 here without requiring old scandirat implementation.
46431 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46433 * dirent/scandir.c (cancel_handler): Renamed to
46434 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46435 defined. Adjust users.
46436 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46437 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46439 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46441 * string/test-string.h (IMPL): Use __STRING to expand name and then
46444 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46447 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46449 * string/Makefile: Update.
46450 (strop-tests): Append strncat.
46451 * string/test-wcscmp.c: New file.
46452 New comprehensive test for wcscmp.
46453 * string/test-strcmp.c: Update.
46454 (WIDE): New define.
46456 2011-07-22 Andreas Schwab <schwab@redhat.com>
46458 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46461 2011-07-26 Andreas Schwab <schwab@redhat.com>
46463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46464 encoding to ACE if AI_IDN.
46466 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46468 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46469 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46471 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46473 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46474 Fix overflow bug in strncat.
46475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46477 * string/test-strncat.c: Update.
46478 Add new tests for checking overflow bugs.
46480 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46483 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46484 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46485 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46486 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46487 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46488 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46489 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46490 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46492 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46493 (USE_AS_STRCAT): Define.
46494 Add strcat and strncat support.
46495 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46497 2011-07-25 Andreas Schwab <schwab@redhat.com>
46499 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46500 __n bigger than INT_MAX+1.
46501 (__strncmp_g): Likewise.
46503 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46505 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46506 * libio/stido.h: Likewise.
46508 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46513 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46514 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46515 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46516 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46517 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46520 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46525 (_dl_x86_64_save_sse): Likewise.
46527 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46531 (_dl_x86_64_save_sse): Likewise.
46533 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46535 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46537 2011-07-21 Andreas Schwab <schwab@redhat.com>
46539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46541 (_dl_x86_64_save_sse): Use correct AVX check.
46543 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46545 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46546 bug in strncpy/strncat.
46547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46549 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46551 * string/tester.c (test_strcat): Add tests for different alignments
46552 of source and destination.
46553 (test_strncat): Likewise.
46555 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46558 * posix/glob.c (glob): Check passed in values before using them in
46559 expressions to avoid some overflows.
46560 (glob_in_dir): Likewise.
46563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46564 check for AVX enablement so that we don't crash with old kernels and
46566 * elf/tst-audit4.c: Add same checks here.
46567 * elf/tst-audit6.c: Likewise.
46569 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46571 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46573 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46575 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46577 * po/cs.po: Update from translation team.
46578 * po/bg.po: Likewise.
46580 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46582 * misc/sys/cdefs.h: Add support for const attribute.
46583 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46584 to gnu_dev_{major,minor,makedev} functions.
46586 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46588 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46590 2011-07-20 Andreas Schwab <schwab@redhat.com>
46592 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46595 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46597 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46598 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46599 register in order to avoid conflicts with the soft frame pointer
46600 being held in r11 when necessary.
46601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46602 (INTERNAL_VSYSCALL_NCS): Likewise.
46604 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46606 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46607 * elf/dl-fini.c (_dl_fini): Adjust caller.
46608 * elf/dl-close.c (_dl_close_worker): Likewise.
46609 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46611 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46613 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46614 "aux_cache->nlibs < 0".
46616 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46617 in the reload-count case.
46619 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46622 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46623 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46624 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46625 * sysdeps/x86_64/multiarch/strcat.S: New file.
46626 * sysdeps/x86_64/multiarch/strncat.S: New file.
46627 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46628 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46629 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46630 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46631 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46632 (USE_AS_STRCAT): Define.
46633 Add strcat and strncat support.
46634 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46635 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46636 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46637 * string/strncat.c: Update.
46638 (USE_AS_STRNCAT): Define.
46639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46640 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46642 * sysdeps/x86_64/multiarch/init-arch.h
46643 (bit_Prefer_PMINUB_for_stringop): New.
46644 (index_Prefer_PMINUB_for_stringop): Likewise.
46645 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46646 bit_Prefer_PMINUB_for_stringop.
46648 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46650 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46652 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46653 of casting of buffer.
46654 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46655 buffer32 and buffer64.
46656 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46657 writes instead of casting of buffer.
46658 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46660 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46663 2011-07-19 Andreas Schwab <schwab@redhat.com>
46665 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46667 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46669 * nscd/nscd.c (termination_handler): Don't do anything for a database
46670 if it has not yet been initialized.
46672 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46674 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46676 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46678 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46680 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46682 * po/nl.po: Update from translation team.
46683 * po/sv.po: Likewise.
46685 2011-07-16 Roland McGrath <roland@hack.frob.com>
46687 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46688 now disallowed by GCC.
46690 * configure.in (use-default-link): Default to yes if a test -shared
46691 link meets our qualifications.
46692 * configure: Regenerated.
46694 * config.make.in (output-format): New variable.
46695 * configure.in: Check for ld --print-output-format support.
46696 * configure: Regenerated.
46697 * Makerules ($(common-objpfx)format.lds)
46698 [$(output-format) != unknown]: Just use $(output-format),
46699 instead of the linker-script munging.
46701 2011-07-14 Roland McGrath <roland@hack.frob.com>
46703 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46704 of $(common-objpfx)shlib.lds.
46705 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46707 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46708 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46710 * configure.in (-z relro check): Adjust test code to add a large
46711 writable data section after it.
46712 * configure: Regenerated.
46714 2011-07-11 Roland McGrath <roland@hack.frob.com>
46716 * configure.in (-z relro check): Fix test code to make the variable
46718 * configure: Regenerated.
46720 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46722 * nscd/nscd.h (struct traced_file): Define.
46723 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46724 elements. Add traced_files.
46725 (inotify_fd): Declare.
46726 (register_traced_file): Declare.
46727 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46728 (inotify_fd): Export.
46729 (resolv_conf_descr): Remove.
46730 (nscd_init): Move inotify descriptor creation to main.
46731 Don't register files for notification here.
46732 (register_traced_file): New function.
46733 (invalidate_cache): Don't use reset_res to determine whether to call
46734 res_init, go through the list of registered files.
46735 (main_loop_poll): The inotify descriptors are now stored in the
46736 structures for the traced files.
46737 (main_loop_epoll): Likewise
46738 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46739 to __nss_disable_nscd.
46740 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46741 for a database anymore. Check the records for all the registered
46743 * nss/Makefile (libnss_files-routines): Add files-init.
46744 (libnss_db-routines): Add db-init.
46745 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46746 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46747 * nss/nss_db/db-init.c: New file.
46748 * nss/nss_files/files-init.c: New file.
46749 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46750 __nss_lookup_function.
46751 (__nss_lookup_function): Call nss_load_library.
46752 (nss_load_all_libraries): New function.
46753 (__nss_disable_nscd): Take parameter with callback function for files
46754 to register. Set is_nscd. Load all the DSOs for the NSS modules
46755 used for the cached services.
46756 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46757 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46758 options for features to all the files in nscd.
46760 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46762 2011-07-10 Roland McGrath <roland@hack.frob.com>
46764 * csu/elf-init.c (__libc_csu_init): Comment typo.
46766 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46768 * po/pl.po: Update from translation team.
46769 * po/ja.po: Likewise.
46770 * po/ru.po: Likewise.
46771 * po/ko.po: Likewise.
46772 * po/fr.po: Likewise.
46774 2011-07-09 Roland McGrath <roland@hack.frob.com>
46776 * configure.in (.ctors/.dtors header and trailer check):
46777 Use an empirical test on a built program.
46778 * configure: Regenerated.
46780 * configure.in (-z relro check): Use an empirical test on a built DSO.
46781 Detect, but do not require, on ia64.
46782 * configure: Regenerated.
46784 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46785 Update tests that use readelf to use $READELF instead.
46786 * configure: Regenerated.
46788 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46790 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46791 if the result is not used.
46793 2011-07-05 Andreas Jaeger <aj@suse.de>
46796 * stdlib/tst-strtod.c: Add testcase.
46798 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46800 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46801 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46802 The latter has a higher limit. Take additional parameter to pass to
46804 (__pathconf): Pass file to __statfs_link_max.
46805 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46807 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46811 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46812 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46814 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46815 (__statfs_filesize_max): Likewise.
46816 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46818 2011-07-05 Andreas Jaeger <aj@suse.de>
46820 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46822 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46824 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46826 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46829 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46831 * Makefile (strop-tests): Add strncat.
46832 * string/test-strncat.c: New file.
46834 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46836 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46838 2011-06-21 Andreas Jaeger <aj@suse.de>
46840 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46841 Copy rule from iconvdata/Makefile.
46843 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46846 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46847 but no long options are defined, just return 'W'.
46849 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46852 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46854 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46856 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46858 (innetgr): Likewise.
46860 2011-07-05 Roland McGrath <roland@hack.frob.com>
46862 * config.make.in (install_root): Default to $(DESTDIR).
46864 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46868 2011-07-02 Roland McGrath <roland@hack.frob.com>
46870 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46872 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46873 containing directory rather than embedding absolute directory names.
46875 * scripts/check-local-headers.sh: Rewritten using awk.
46876 Match by word, not by line. Print error messages for matches.
46877 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46879 * Makerules [shlib-lds-flags empty]:
46880 ($(common-objpfx)libc_pic.opts): New target.
46881 ($(common-objpfx)libc_pic.os.clean): New target.
46882 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46884 * config.make.in (OBJCOPY): New variable.
46885 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46886 * configure: Regenerated.
46888 * config.make.in (use-default-link): New variable.
46889 * configure.in (use_default_link): Grok --with-default-link to set it.
46890 * configure: Regenerated.
46891 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46892 (shlib-lds, shlib-lds-flags): Define to empty.
46894 * Makerules (shlib-lds): New variable.
46895 (shlib-lds-flags): New variable.
46896 (build-shlib, build-moduile, build-module-asneeded): Use it.
46897 ($(common-objpfx)libc.so): Use $(shlib-lds).
46898 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46899 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46901 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46902 DT_FLAGS/DT_FLAGS_1 with zero flags.
46904 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46905 linker script munging.
46907 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46909 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46911 * crypt/sha512.c (sha512_process_block): Perform total addition using
46912 128-bit if possible.
46913 (__sha512_finish_ctx): Likewise.
46914 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46916 * crypt/sha256.c (SWAP64): Define.
46917 (sha256_process_block): Perform total addition using 64-bit if
46919 (__sha256_finish_ctx): Likewise.
46921 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46923 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46925 * nscd/hstcache.c (cache_addhst): Likewise.
46926 * nscd/grpcache.c (cache_addgr): Likewise.
46927 * nscd/aicache.c (addhstaiX): Likewise
46928 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46930 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46932 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46934 * nscd/hstcache.c (cache_addhst): Likewise.
46935 * nscd/grpcache.c (cache_addgr): Likewise.
46936 * nscd/aicache.c (addhstaiX): Likewise
46938 2011-07-01 Andreas Schwab <schwab@redhat.com>
46940 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46941 domain only when needed.
46943 2011-06-30 Andreas Schwab <schwab@redhat.com>
46945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46946 is always restored.
46948 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46950 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46951 are re-adding the entry.
46952 * nscd/servicescache.c (cache_addserv): Likewise.
46954 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46956 * sysdeps/generic/dl-irel.h: fix protection against multiple
46958 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46960 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46963 * malloc/memusage.sh: Fix quoting in message.
46964 * debug/xtrace.sh: Likewise.
46966 * configure.in: Remove support for --experimental-malloc option, make
46968 * config.make.in: Likewise.
46969 * malloc/Makefile: Likewise.
46971 2011-06-27 Andreas Schwab <schwab@redhat.com>
46973 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46974 two-byte characters.
46976 2011-06-27 Roland McGrath <roland@hack.frob.com>
46978 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46979 AC_CACHE_CHECK invocation.
46980 * configure: Regenerated.
46982 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46984 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46987 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46988 bit from old_res_options.
46990 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46992 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46993 value type for setfct.
46995 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46998 __gettimeofday instead of gettimeofday.
47000 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47002 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47004 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47006 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47011 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47014 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47015 strcpy-sse2-unaligned strncpy-sse2-unaligned
47016 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47017 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47018 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47019 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47020 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47021 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47022 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47023 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47024 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47025 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47026 (STRCPY): Support SSE2 and SSSE3 versions.
47028 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47031 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47032 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47033 kernels which artificially limit size of requests.
47035 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47038 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47039 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47040 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47041 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47042 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47043 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47044 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47045 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47047 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47048 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47049 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47050 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47051 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47053 Enable unaligned load optimization for Intel Core i3, i5 and i7
47055 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47057 (index_Fast_Unaligned_Load): Define.
47058 (HAS_FAST_UNALIGNED_LOAD): Define.
47060 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47062 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47064 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47067 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47068 until it is clear that the information is realy needed.
47069 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47071 2011-06-22 Andreas Schwab <schwab@redhat.com>
47073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47075 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47078 /sys/devices/system/cpu/online if it is usable.
47080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47081 reading the information from the /proc filesystem to once a second.
47083 2011-06-21 Andreas Jaeger <aj@suse.de>
47085 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47086 NULL after inclusion of kernel headers.
47088 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47090 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47091 calls to internal_setent.
47094 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47095 addresses using gethostbyname4_r ignore IPv4 addresses.
47097 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47098 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47100 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47102 2011-06-20 David S. Miller <davem@davemloft.net>
47104 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47106 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47108 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47109 (elf_irel): Use it.
47110 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47111 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47112 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47113 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47114 * sysdeps/x86_64/dl-irel.h: Likewise.
47116 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47117 * elf/dl-sym.c: Likewise.
47119 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47121 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47122 need to dereference resplen2.
47124 2011-06-14 Andreas Schwab <schwab@redhat.com>
47126 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47128 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47130 * Makeconfig: Define vardbdir and inst_vardbdir.
47131 * nss/Makefile: Add rules to install db-Makefile.
47133 * nss/nss_db/db-XXX.c: Cleanup.
47135 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47136 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47138 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47139 * nss/makedb.c: Implement -g option to specify that value strings
47140 are generated and should not be added to table iterated over for
47142 * nss/nss_db/db-initgroups.c: New file.
47144 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47147 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47148 (internal_getgrouplist): Adjust to name change.
47149 Update use_initgroups_entry if this is not the first call.
47150 * nss/databases.def: Add initgroups entry.
47152 * nss/makedb.c (compute_tables): Check result of multiple hash table
47153 sizes to minimize maximum chain length.
47155 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47157 * Versions.def: Add entry for libnss_db.
47158 * shlib-versions: Likewise.
47159 * nss/Makefile: Add rules to build libnss_db.
47160 * nss/Versions: Add libnss_db information. Organize libnss_files
47162 * nss/db-Makefile: Add gshadow support. Change rules for the new
47163 makedb progra. Some minor improvements to generate smaller files.
47164 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47166 * nss/makedb.c: ...here.
47167 Improve database format to be smaller and require less memory at
47169 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47171 * nss/nss_db/db-netgrp.c: Likewise.
47172 * nss/nss_db/db-open.c: Likewise.
47173 * nss/nss_files/flies-XXX.x: Adjust comments.
47174 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47175 * nss/nss_files/files-grp.c: Likewise.
47176 * nss/nss_files/files-hosts.c: Likewise.
47177 * nss/nss_files/files-network.c: Likewise.
47178 * nss/nss_files/files-proto.c: Likewise.
47179 * nss/nss_files/files-pwd.c: Likewise.
47180 * nss/nss_files/files-rpc.c: Likewise.
47181 * nss/nss_files/files-service.c: Likewise.
47182 * nss/nss_files/files-sgrp.c: Likewise.
47183 * nss/nss_files/files-spwd.c: Likewise.
47184 * nss/nss_db/db-alias.c: Removed.
47185 * nss/nss_db/dummy-db.h: Removed.
47187 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47189 * nss/makedb.c: Rewritten to not use database library.
47190 * nss/Makefile: Update to build new makedb program.
47192 2011-06-14 Andreas Jaeger <aj@suse.de>
47194 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47195 memset declaration.
47197 2011-06-10 Andreas Schwab <schwab@redhat.com>
47199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47202 2011-06-10 Roland McGrath <roland@hack.frob.com>
47204 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47205 * elf/Makefile ($(objpfx)ld.so): Likewise.
47207 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47208 Don't list ld.so twice in dependencies.
47210 * posix/bug-regex31.c: Include <stdlib.h>.
47212 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47214 * nis/nss_compat/compat-spwd.c
47215 (getspent_next_nss_netgr): Remove unused variable.
47216 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47218 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47219 nonmembers" output to use the right array.
47221 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47223 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47225 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47226 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47227 * catgets/gencat.c (read_input_file): Likewise.
47228 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47230 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47231 variable definition inside #if's controlling its use.
47233 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47235 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47237 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47239 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47242 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47244 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47245 * configure: Regenerated.
47247 * Makerules: Revert last change.
47248 * elf/Makefile: Likewise.
47250 2011-06-09 Roland McGrath <roland@hack.frob.com>
47252 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47253 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47254 (reloc-link): Likewise.
47256 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47258 * elf/Makefile: Add rules to build pldd.
47259 * elf/pldd.c: New file.
47260 * elf/pldd-xx.c: New file.
47262 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47264 * version.h: Update for 2.15 development version.
47266 2011-06-07 David S. Miller <davem@davemloft.net>
47268 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47271 elf_machine_lazy_rel): Likewise.
47272 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47274 elf_machine_lazy_rel): Likewise.
47275 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47276 dl_hwcap via passed in argument.
47277 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47280 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47282 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47284 2011-06-06 Roland McGrath <roland@hack.frob.com>
47287 * manual/fdl-1.1.texi: New file, verbatim from:
47288 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47289 * manual/lgpl-2.1.texi: New file, verbatim from:
47290 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47291 * manual/Makefile (licenses): New variable, list those new file names.
47293 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47295 * manual/fdl.texi: File removed.
47296 * manual/lesser.texi: File removed.
47297 * manual/libc.texinfo (Copying, Documentation License):
47298 Use new @include file names, put @appendix directive before @include.
47300 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47303 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47304 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47305 (mq_open): Add __NTH.
47307 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47310 Assume Intel Core i3/i5/i7 processor if AVX is available.
47312 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47317 2011-05-31 Andreas Schwab <schwab@redhat.com>
47319 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47320 memory. Use alloca_account. Fix memory leak when retrying.
47322 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47324 * version.h (RELEASE): Bump for 2.14 release.
47325 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47327 * config.make.in (RANLIB): Remove entry.
47329 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47331 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47332 (libc.pot): Work around missing support for .ksh extension in xgettext.
47335 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47336 if both request failed.
47337 (send_dg): In case of server errors clear resplen or *resplen2.
47340 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47341 when there are multiple maps.
47342 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47343 (_dl_fini): Remove test here.
47345 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47347 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47350 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47351 bit from old_res_options.
47352 (gaih_inet): Likewise.
47355 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47358 * resolv/res_init.c (res_setoptions): Make the code more compact.
47361 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47365 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47367 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47370 * malloc/malloc.h: Declare malloc hook variables as volatile.
47372 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47376 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47377 raise in the comment.
47378 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47379 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47380 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47382 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47385 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47386 grow the buffers more if it already has to be sufficient.
47387 (build_wcs_upper_buffer): Likewise.
47388 * posix/regexec.c (check_matching): Likewise.
47389 (clean_state_log_if_needed): Likewise.
47390 (extend_buffers): Don't enlarge buffers beyond size of the input
47392 Patches mostly by Emil Wojak <emil@wojak.eu>.
47393 * posix/bug-regex32.c: New file.
47394 * posix/Makefile (tests): Add bug-regex32.
47396 * locale/findlocale.c (_nl_find_locale): Return right away if
47397 _nl_explode_name failed.
47398 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47400 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47402 * debug/xtrace.sh: Unify messages.
47403 * malloc/memusage.sh: Likewise.
47406 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47407 time symbol from vDSO. Substitute with vsyscall if not available.
47408 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47411 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47412 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47413 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47414 Add sendmmsg and internal_sendmmsg.
47415 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47416 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47417 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47419 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47420 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47421 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47423 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47426 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47427 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47429 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47433 * iconvdata/Makefile (tests): Add bug-iconv9.
47434 * iconvdata/bug-iconv9.c: New file.
47436 2011-05-27 Andreas Schwab <schwab@redhat.com>
47439 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47441 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47443 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47444 (struct user_regs_struct): Change intcs field back to cs.
47446 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47448 * po/ja.po: Update from translation team.
47450 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47453 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47454 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47456 2011-05-20 Andreas Schwab <schwab@redhat.com>
47458 * stdlib/longlong.h: Update from GCC.
47460 2011-05-23 Andreas Schwab <schwab@redhat.com>
47462 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47464 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47465 Add parameter name.
47466 (__sysconf): Pass it down.
47468 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47471 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47473 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47474 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47475 add in in __libc_use_alloca calls. Adjust callers.
47476 (glob): Use malloc in some situations.
47478 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47479 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47482 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47484 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47485 and CLOCK_BOOTTIME_ALARM.
47488 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47491 * string/_strerror.c (__strerror_r): Print negative errors as signed
47495 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47496 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47497 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47499 * configure.in: Fix typo in redirection and correct removal of test
47500 files in two cases.
47503 * locale/setlocale.c (new_composite_name): Fix test to check for
47504 identical name of all categories.
47507 * libio/filedoalloc.c (local_isatty): New function.
47508 (_IO_file_doallocate): Use local_isatty.
47509 * stdio-common/perror.c (perror): In case a new stream is used
47510 forward the stream error.
47511 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47514 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47519 * include/alloca.h (extend_alloca_account): Define.
47522 * posix/regex.h: Fix comments with documentation of user-accessible
47523 fields after compilation and describe correct free'ing of pattern
47524 after re_compile_pattern.
47525 Patch by Reuben Thomas <rrt@sc3d.org>.
47527 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47529 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47530 and -mno-altivec to prevent the compiler from using Altivec and/or
47531 VSX instructions when the corresponding registers are not available.
47533 2011-05-19 Andreas Schwab <schwab@redhat.com>
47535 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47537 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47539 * libio/freopen.c (freopen): Use __dup2, not dup2.
47540 * libio/freopen64.c (freopen64): Likewise.
47542 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47545 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47546 * math/Makefile (tests): Add test-powl.
47547 (CFLAGS-test-powl.c): Define.
47548 * math/test-powl.c: New file.
47550 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47552 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47554 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47557 * iconvdata/gb18030.c: Update to GB18020-2005.
47559 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47561 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47562 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47563 Patch by Aharon Robbins <arnold@skeeve.com>.
47566 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47570 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47571 through underflows.
47574 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47575 point to strings before performing equality test for error_one_per_line
47579 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47583 (struct user_fpregs_struct): Avoid __uint*_t types.
47586 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47587 symbol info. Use it instead of calling _dl_addr locally.
47588 (lock_and_info): New function.
47589 (tr_freehook): Call lock_and_info and pass symbol info as additional
47590 parameter to tr_where.
47591 (tr_mallochook): Likewise.
47592 (tr_reallochook): Likewise.
47593 (tr_memalignhook): Likewise.
47595 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47596 used and couldn't be at all thread-safe.
47598 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47600 * libio/freopen.c (freopen): Don't close old file descriptor
47601 before the new one is opened. Instead dup the new file descriptor
47602 to the old one after the new stream is created.
47603 * libio/freopen64.c (freopen64): Likewise.
47604 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47605 * libio/fileops.c (_IO_new_file_close_it): Handle new
47606 _IO_FLAGS2_NOCLOSE flag.
47607 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47608 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47609 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47610 _IO_FLAGS2_NOCLOSE flag.
47611 * include/unistd.h: Add hidden_proto for dup3.
47612 Define __have_dup3.
47613 * io/dup3.c: Define hidden symbol.
47614 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47617 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47618 when an incomplete long option is used.
47619 * posix/tst-getopt_long1.c: New file.
47620 * posix/Makefile (tests): Add tst-getopt_long1.
47623 * scripts/config.guess: Update from autoconf-2.68.
47624 * scripts/config.sub: Likewise.
47627 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47629 (has_cpuclock): ...this. New function.
47630 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47631 macro here based on has_cpuclock code.
47634 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47635 First byte (not low byte) is now always NUL.
47636 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47639 Use non-cancelable interfaces.
47642 * locale/iso-639.def: Add entry for Sorani.
47645 * include/stdlib.h: Move include protection to the right place.
47646 Define abort_msg_s. Declare __abort_msg with it.
47647 * stdlib/abort.c (__abort_msg): Adjust type.
47648 * assert/assert.c (__assert_fail_base): New function. Majority
47649 of code from __assert_fail. Allocate memory for __abort_msg with
47651 (__assert_fail): Now call __assert_fail_base.
47652 * assert/assert-perr.c: Remove bulk of implementation. Use
47653 __assert_fail_base.
47654 * include/assert.hL Declare __assert_fail_base.
47655 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47657 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47659 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47663 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47664 until all modules are registered in the DTV.
47665 * elf/Makefile: Add rules to build and run tst-tls19.
47666 * elf/tst-tls19.c: New file.
47667 * elf/tst-tls19mod1.c: New file.
47668 * elf/tst-tls19mod2.c: New file.
47669 * elf/tst-tls19mod3.c: New file.
47670 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47673 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47677 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47678 two-byte sequence errors.
47679 * iconvdata/Makefile (tests): Add bug-iconv8.
47680 * iconvdata/bug-iconv8.c: New file.
47683 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47686 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47689 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47690 (dummy_getcfa): New function.
47691 (init): Get _Unwind_GetCFA address, use dummy if not found.
47692 (backtrace_helper): In recursion check, also check whether CFA changes.
47693 (__backtrace): Completely initialize arg.
47695 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47696 storing incomplete byte sequence in state object. Avoid testing for
47697 guaranteed too small input if we know there is enough data available.
47699 2011-05-11 Andreas Schwab <schwab@redhat.com>
47701 * Makeconfig (+link-pie): Indent.
47702 * Rules (binaries-pie): Define if $(have-fpie) and
47704 (binaries-shared): Also filter out $(binaries-pie).
47705 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47706 * nscd/Makefile (others-pie): Add nscd.
47707 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47708 ($(objpfx)nscd): Remove command override.
47709 * login/Makefile (others-pie): Add pt_chown.
47710 ($(objpfx)pt_chown): Remove command override.
47711 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47712 remove command overrides.
47714 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47716 * libio/tst_putwc.c: Fix error messages.
47719 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47720 currently writing and seek to current position when not.
47721 * libio/Makefile (tests): Add bug-fclose1.
47722 * libio/bug-fclose1.c: New file.
47724 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47727 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47728 don't set DF_1_NODELETE here.
47729 (do_lookup_x): When entering new entry test for copy relocation
47730 and if necessary set DF_1_NODELETE flag.
47731 * elf/tst-unique4.cc: New file.
47732 * elf/tst-unique4.h: New file.
47733 * elf/tst-unique4lib.cc: New file.
47734 * elf/Makefile: Add rules to build and run tst-unique4.
47735 Patch by Piotr Bury <pbury@goahead.com>.
47737 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47740 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47743 * misc/mntent_r.c (addmntent): Flush the stream after the output
47746 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47747 (is_trusted_path_normalize): Skip initial colon. Append slash
47748 to empty buffer. Duplicate is_trusted_path code but allow
47749 constructed patch to be prefix.
47750 (is_dst): Allow $ORIGIN followed by /.
47751 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47752 Correct testing of result of is_trusted_path_normalize
47753 (decompose_rpath): Fix warning.
47755 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47758 * grp/initgroups.c (internal_getgrouplist): When we found the service
47759 list through the initgroups entry in nsswitch.conf do not always
47760 continue on a successful lookup. Don't always use the
47761 __nss_group_database value if it is set.
47762 * nss/nsswitch.conf (initgroups): Change action for successful db
47763 lookup to continue for compatibility.
47765 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47768 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47770 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47772 * iconvdata/tst-tables.sh: Likewise.
47773 * iconvdata/cp770.c: New file.
47774 * iconvdata/cp771.c: New file.
47775 * iconvdata/cp772.c: New file.
47776 * iconvdata/cp773.c: New file.
47777 * iconvdata/cp774.c: New file.
47778 * iconvdata/testdata/CP770: New file.
47779 * iconvdata/testdata/CP770..UTF8: New file.
47780 * iconvdata/testdata/CP771: New file.
47781 * iconvdata/testdata/CP771..UTF8: New file.
47782 * iconvdata/testdata/CP772: New file.
47783 * iconvdata/testdata/CP772..UTF8: New file.
47784 * iconvdata/testdata/CP773: New file.
47785 * iconvdata/testdata/CP773..UTF8: New file.
47786 * iconvdata/testdata/CP774: New file.
47787 * iconvdata/testdata/CP774..UTF8: New file.
47789 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47791 * iconvdata/gen-8bit-gap.sh: Likewise.
47792 * iconvdata/gen-8bit.sh: Likewise.
47794 * locale/iso-639.def: Add ary entry.
47797 * locale/C-translit.h.in: Add U20A1 transliteration.
47800 * locale/iso-639.def: Add wae entry.
47801 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47804 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47808 * locale/C-translit.h.in: Add entry for U20B9.
47809 Patch by pravin.d.s@gmail.com.
47811 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47814 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47815 ENAMETOOLONG use generic getcwd.
47816 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47817 in rtld. Use *stat64.
47818 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47819 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47820 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47821 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47822 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47823 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47824 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47825 __fstatat64 macros.
47826 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47827 * dirent/rewinddir.c: Add libc_hidden_def.
47828 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47829 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47831 * include/dirent.h (__alloc_dir): Add flags parameter.
47832 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47833 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47835 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47836 from fdopendir if O_CLOEXEC is already set.
47838 2011-03-15 Alan Modra <amodra@gmail.com>
47840 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47841 l_tls_firstbyte_offset non-zero. Save padding offset in
47842 l_tls_firstbyte_offset for later use.
47843 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47844 freeing static tls block.
47846 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47848 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47849 where #ifdef was intended. The intent is to prevent ARG_MAX from
47850 being defined by the kernel headers.
47852 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47855 * resolv/resolv.h: Define RES_NOTLDQUERY.
47856 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47857 no-tld-query and set RES_NOTLDQUERY.
47858 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47859 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47860 modern BIND to search name as TLD unless forbidden.
47862 2011-05-07 Petr Baudis <pasky@suse.cz>
47863 Ulrich Drepper <drepper@gmail.com>
47866 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47867 (is_trusted_path): ...to here.
47868 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47869 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47870 using is_trusted_path_normalize() in setuid scripts.
47872 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47874 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47875 __BEGIN/__END_DECLS.
47877 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47879 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47880 NSS_STATUS_NOTFOUND if no record was found.
47882 2011-05-05 Andreas Schwab <schwab@redhat.com>
47884 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47885 (headers-not-in-tirpc): Remove rpc/netdb.h
47886 * resolv/netdb.h: Revert last change.
47888 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47890 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47891 circular dependency between libgcc.a and libc.a.
47893 2011-05-05 Andreas Schwab <schwab@redhat.com>
47895 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47896 * nis/Makefile: Don't install rpcsvc/*.
47897 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47898 instead of <rpc/types.h>.
47899 (MAXHOSTNAMELEN): Define.
47901 2011-05-03 Andreas Schwab <schwab@redhat.com>
47903 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47905 2011-04-28 Maciej Babinski <mbabinski@google.com>
47908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47909 gethostbyname4_r when IPv6 results are possible.
47911 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47914 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47915 _PC_PIPE_BUF handling.
47917 2011-04-30 Bruno Haible <bruno@clisp.org>
47920 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47921 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47923 * inet/getnameinfo.c (getnameinfo): Likewise.
47925 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47927 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47928 to groups setting in database lookup.
47929 * nss/nsswitch.conf: Add initgroups entry.
47931 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47934 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47936 Patch by Eric Blake <eblake@redhat.com>.
47938 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47940 * sunrpc/Makefile (need-export-routines): Add svc_run.
47941 (routines): Remove svc_run.
47942 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47943 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47944 * sunrpc/svc_run.c (svc_run): Likewise.
47945 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47947 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47950 problem in reallocation in last patch.
47952 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47954 * sunrpc/Makefile: Move inclusion of Rules.
47956 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47958 * nss/nss_files/files-initgroups.c: New file.
47959 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47960 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47961 _nss_files_initgroups_dyn.
47963 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47965 * elf/elf.h (R_ARM_IRELATIVE): Define.
47967 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47969 * po/ru.po: Update from translation team.
47971 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47973 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47976 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47979 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47980 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47981 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47982 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47985 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47987 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47989 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47990 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47993 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47996 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47998 * stdlib/bug-getcontext.c: New file.
47999 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48001 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48003 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48004 instructions into .machine "z9-109".
48005 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48006 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48008 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48010 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48011 between environment variables and auxiliary vector.
48013 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48015 * Makefile: Add rules to build linkobj/libc.so.
48016 * include/libc-symbols.h: Define libc_hidden_nolink.
48017 * include/rpc/auth.h: Mark functions which are to be hidden.
48018 * include/rpc/auth_des.h: Likewise.
48019 * include/rpc/auth_unix.h: Likewise.
48020 * include/rpc/clnt.h: Likewise.
48021 * include/rpc/des_crypt.h: Likewise.
48022 * include/rpc/key_prot.h: Likewise.
48023 * include/rpc/pmap_clnt.h: Likewise.
48024 * include/rpc/pmap_prot.h: Likewise.
48025 * include/rpc/pmap_rmt.h: Likewise.
48026 * include/rpc/rpc_msg.h: Likewise.
48027 * include/rpc/svc.h: Likewise.
48028 * include/rpc/svc_auth.h: Likewise.
48029 * include/rpc/xdr.h: Likewise.
48030 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48031 * nss/Makefile: Likewise.
48032 * sunrpc/Makefile: Don't install headers. Build library with normal
48033 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48034 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48035 for the compat linking library. Remove use of INTDEF/INTUSE.
48036 * sunrpc/auth_none.c: Likewise.
48037 * sunrpc/auth_unix.c: Likewise.
48038 * sunrpc/authdes_prot.c: Likewise.
48039 * sunrpc/authuxprot.c: Likewise.
48040 * sunrpc/clnt_gen.c: Likewise.
48041 * sunrpc/clnt_perr.c: Likewise.
48042 * sunrpc/clnt_raw.c: Likewise.
48043 * sunrpc/clnt_simp.c: Likewise.
48044 * sunrpc/clnt_tcp.c: Likewise.
48045 * sunrpc/clnt_udp.c: Likewise.
48046 * sunrpc/clnt_unix.c: Likewise.
48047 * sunrpc/des_crypt.c: Likewise.
48048 * sunrpc/des_soft.c: Likewise.
48049 * sunrpc/get_myaddr.c: Likewise.
48050 * sunrpc/key_call.c: Likewise.
48051 * sunrpc/key_prot.c: Likewise.
48052 * sunrpc/netname.c: Likewise.
48053 * sunrpc/pm_getmaps.c: Likewise.
48054 * sunrpc/pm_getport.c: Likewise.
48055 * sunrpc/pmap_clnt.c: Likewise.
48056 * sunrpc/pmap_prot.c: Likewise.
48057 * sunrpc/pmap_prot2.c: Likewise.
48058 * sunrpc/pmap_rmt.c: Likewise.
48059 * sunrpc/publickey.c: Likewise.
48060 * sunrpc/rpc_cmsg.c: Likewise.
48061 * sunrpc/rpc_common.c: Likewise.
48062 * sunrpc/rpc_dtable.c: Likewise.
48063 * sunrpc/rpc_prot.c: Likewise.
48064 * sunrpc/rpc_thread.c: Likewise.
48065 * sunrpc/rtime.c: Likewise.
48066 * sunrpc/svc.c: Likewise.
48067 * sunrpc/svc_auth.c: Likewise.
48068 * sunrpc/svc_authux.c: Likewise.
48069 * sunrpc/svc_raw.c: Likewise.
48070 * sunrpc/svc_run.c: Likewise.
48071 * sunrpc/svc_simple.c: Likewise.
48072 * sunrpc/svc_tcp.c: Likewise.
48073 * sunrpc/svc_udp.c: Likewise.
48074 * sunrpc/svc_unix.c: Likewise.
48075 * sunrpc/svcauth_des.c: Likewise.
48076 * sunrpc/xcrypt.c: Likewise.
48077 * sunrpc/xdr.c: Likewise.
48078 * sunrpc/xdr_array.c: Likewise.
48079 * sunrpc/xdr_float.c: Likewise.
48080 * sunrpc/xdr_intXX_t.c: Likewise.
48081 * sunrpc/xdr_mem.c: Likewise.
48082 * sunrpc/xdr_rec.c: Likewise.
48083 * sunrpc/xdr_ref.c: Likewise.
48084 * sunrpc/xdr_sizeof.c: Likewise.
48085 * sunrpc/xdr_stdio.c: Likewise.
48087 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48090 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48091 * sysdeps/ia64/dl-tls.h: Likewise.
48092 * sysdeps/powerpc/dl-tls.h: Likewise.
48093 * sysdeps/s390/dl-tls.h: Likewise.
48094 * sysdeps/sh/dl-tls.h: Likewise.
48095 * sysdeps/sparc/dl-tls.h: Likewise.
48096 * sysdeps/x86_64/dl-tls.h: Likewise.
48097 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48099 2011-03-14 Andreas Schwab <schwab@redhat.com>
48101 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48102 rpath element also skip the following colon.
48103 (expand_dynamic_string_token): Add is_path parameter and pass
48104 down to DL_DST_REQUIRED and _dl_dst_substitute.
48105 (decompose_rpath): Call expand_dynamic_string_token with
48106 non-zero is_path. Ignore empty rpaths.
48107 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48110 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48115 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48118 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48119 Patch by Filipe David Manana <fdmanana@apache.org>.
48121 2011-04-07 Andreas Schwab <schwab@redhat.com>
48123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48124 Maintain aligned stack.
48125 (CHECK_RSP): Remove unused macro.
48127 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48129 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48130 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48132 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48134 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48136 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48138 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48141 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48142 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48143 * sysdeps/x86_64/memmove.c: New file.
48144 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48145 (memcpy): Renamed to ...
48146 (__new_memcpy): This.
48147 (memcpy): Provide GLIBC_2_14 memcpy.
48148 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48149 (memcpy): Provide GLIBC_2_2_5 memcpy.
48151 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48154 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48156 2011-03-30 Andreas Schwab <schwab@redhat.com>
48158 * misc/syncfs.c: New file.
48159 * misc/Makefile (routines): Add syncfs.
48160 * posix/unistd.h: Declare syncfs.
48161 * sysdeps/unix/syscalls.list: Add syncfs.
48163 2011-04-01 Andreas Schwab <schwab@redhat.com>
48165 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48168 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48170 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48172 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48173 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48175 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48177 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48178 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48179 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48181 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48185 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48186 sync_file_range.c with -fexceptions.
48187 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48188 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48189 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48190 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48191 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48192 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48193 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48194 sync_file_range as cancellation point
48195 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48196 now a wrapper around __call_sync_file_range with cancellation handling.
48197 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48198 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48199 function name to __call_sync_file_range.
48200 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48201 Add call_sync_file_range.
48203 2011-04-01 Andreas Schwab <schwab@redhat.com>
48205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48208 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48210 * iconv/iconv.h: Fix typo in comment.
48211 * io/fcntl.h: Likewise.
48212 * libio/stdio.h: Likewise.
48213 * posix/spawn.h: Likewise.
48214 * posix/unistd.h: Likewise.
48215 * stdlib/stdlib.h: Likewise.
48216 * time/time.h: Likewise.
48217 * wcsmbs/wchar.h: Likewise.
48219 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48220 open_by_handle): Add.
48221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48222 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48223 Augment a few comments.
48224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48229 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48232 * io/fcntl.h (AT_EMPTY_PATH): Define.
48234 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48236 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48237 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48238 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48240 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48241 * Versions.def: Add GLIBC_2.14.
48242 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48245 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48247 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48249 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48251 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48254 * string/test-strncmp.c (do_page_test): New function.
48255 (check2): Likewise.
48256 (test_main): Call check2.
48257 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48259 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48262 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48263 Handle cache information in CPU leaf 4.
48264 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48266 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48269 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48270 character representation.
48271 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48273 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48275 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48276 END(__isnan) to END(__isnanf) to match function entry point/label
48277 EALIGN(__isnanf,...).
48279 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48281 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48283 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48286 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48287 copy from the symbol referenced in the relocation to initialize the
48289 Patch by Piotr Bury <pbury@goahead.com>.
48290 * elf/Makefile: Add rules to build and tst-unique3.
48291 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48292 * elf/tst-unique3.cc: New file.
48293 * elf/tst-unique3.h: New file.
48294 * elf/tst-unique3lib.cc: New file.
48295 * elf/tst-unique3lib2.cc: New file.
48297 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48299 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48301 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48302 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48305 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48307 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48308 to-be-loaded object along a path to loader is ld.so.
48310 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48311 Ulrich Drepper <drepper@gmail.com>
48313 * sysdeps/x86_64/memset.S: After aligning destination, code
48314 branches to different locations depending on the value of
48315 misalignment, when multiarch is enabled. Fix this.
48317 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48319 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48320 Set _x86_64_preferred_memory_instruction for AMD processsors.
48321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48322 Set bit_Prefer_SSE_for_memop for AMD processors.
48324 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48326 * libio/fmemopen.c (fmemopen): Optimize a bit.
48328 2011-03-03 Andreas Schwab <schwab@redhat.com>
48330 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48332 2011-03-03 Roland McGrath <roland@redhat.com>
48334 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48336 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48338 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48339 __bzero_ultra1 instead of __memset_ultra1.
48341 2011-02-23 Andreas Schwab <schwab@redhat.com>
48342 Ulrich Drepper <drepper@gmail.com>
48345 * include/link.h (struct link_map): Add l_orig_initfini.
48346 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48347 returning unsuccessfully.
48348 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48349 close of a file loaded at startup, restore the original l_initfini
48351 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48352 list, store the pointer.
48353 * elf/Makefile ($(objpfx)noload-mem): New rule.
48354 (noload-ENV): Define.
48355 (tests): Add $(objpfx)noload-mem.
48356 * elf/noload.c: Include <memcheck.h>.
48357 (main): Call mtrace. Close all opened handles.
48359 2011-02-17 Andreas Schwab <schwab@redhat.com>
48362 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48363 dependencies are missing.
48365 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48367 Fix __if_freereq crash: Unlike the generic version which uses free,
48369 * sysdeps/mach/hurd/ifreq.h: New file.
48371 2011-01-27 Petr Baudis <pasky@suse.cz>
48372 Ulrich Drepper <drepper@gmail.com>
48375 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48376 to extend_alloca().
48377 * stdio-common/bug23.c: New file.
48378 * stdio-common/Makefile (tests): Add bug23.
48380 2010-09-28 Andreas Schwab <schwab@redhat.com>
48381 Ulrich Drepper <drepper@gmail.com>
48384 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48385 before performing relro protection. At old place add assertion
48386 to make sure nothing changed.
48388 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48389 Glauber de Oliveira Costa <glommer@gmail.com>
48391 * elf/elf.h: Add new ARM TLS relocs.
48393 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48396 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48398 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48400 * sysdeps/wordsize-64/tst-writev.c: New file.
48402 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48404 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48405 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48406 insns in _dl_start to prevent a TOC reference before relocs are
48409 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48412 * Makeconfig: Remove RANLIB definition.
48413 * Makerules: Don't use RANLIB.
48414 * aclocal.m4: Remove ranlib test.
48415 * configure.in: No need to check for ranlib.
48416 * elf/rtld-Rules: Don't use RANLIB.
48418 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48420 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48422 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48423 inclusion protection macro.
48425 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48426 SIGRTMIN and SIGRTMAX and print information in that case only when
48427 SIGRTMIN is defined.
48429 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48431 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48432 arginfo fn returning -1.
48434 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48435 and thousands string is zero terminated.
48437 2011-02-03 Andreas Schwab <schwab@redhat.com>
48439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48440 sysdeps/unix/sysv/linux/bits/socket.h.
48442 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48444 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48445 (__CPU_COUNT): Remove old macros.
48446 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48447 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48448 (__CPU_ALLOC, __CPU_FREE): Add macros.
48449 (__sched_cpualloc, __sched_cpufree): Add declarations.
48451 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48453 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48454 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48455 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48456 (readdhstai): Return value of addhstaiX call.
48457 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48458 (addgrbyX): Return value returned by cache_addgr.
48459 (readdgrbyname): Return value returned by addgrbyX.
48460 (readdgrbygid): Likewise.
48461 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48462 (addpwbyX): Return value returned by cache_addpw.
48463 (readdpwbyname): Return value returned by addhstbyX.
48464 (readdpwbyuid): Likewise.
48465 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48466 (addservbyX): Return value returned by cache_addserv.
48467 (readdservbyname): Return value returned by addservbyX:
48468 (readdservbyport): Likewise.
48469 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48470 (addhstbyX): Return value returned by cache_addhst.
48471 (readdhstbyname): Return value returned by addhstbyX.
48472 (readdhstbyaddr): Likewise.
48473 (readdhstbynamev6): Likewise.
48474 (readdhstbyaddrv6): Likewise.
48475 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48476 (readdinitgroups): Return value returned by addinitgroupsX.
48477 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48478 (prune_cache): Keep track of timeout value of re-added entries.
48479 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48480 * nscd/nscd.h: Adjust prototypes of readd* functions.
48482 2011-02-04 Roland McGrath <roland@redhat.com>
48484 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48485 (nis_stats): Likewise.
48486 * nis/nis_modify.c (nis_modify): Likewise.
48487 * nis/nis_remove.c (nis_remove): Likewise.
48488 * nis/nis_add.c (nis_add): Likewise.
48490 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48492 * posix/fnmatch_loop.c: Add some consts.
48494 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48496 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48499 * config.make.in (config-cflags-novzeroupper): Define.
48500 * configure.in: Substitute libc_cv_cc_novzeroupper.
48501 * elf/Makefile (AVX-CFLAGS): Define.
48502 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48503 (CFLAGS-tst-auditmod4a.c): Likewise.
48504 (CFLAGS-tst-auditmod4b.c): Likewise.
48505 (CFLAGS-tst-auditmod6b.c): Likewise.
48506 (CFLAGS-tst-auditmod6c.c): Likewise.
48507 (CFLAGS-tst-auditmod7b.c): Likewise.
48508 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48510 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48512 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48513 function to the callback.
48514 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48516 2011-02-02 Andreas Schwab <schwab@redhat.com>
48518 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48521 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48524 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48526 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48528 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48531 * elf/Makefile: Add rules to build and run new test.
48532 * elf/tst-initorder.c: New file.
48533 * elf/tst-initorder.exp: New file.
48534 * elf/tst-initordera1.c: New file.
48535 * elf/tst-initordera2.c: New file.
48536 * elf/tst-initordera3.c: New file.
48537 * elf/tst-initordera4.c: New file.
48538 * elf/tst-initorderb1.c: New file.
48539 * elf/tst-initorderb2.c: New file.
48540 * elf/tst-order-a1.c: New file.
48541 * elf/tst-order-a2.c: New file.
48542 * elf/tst-order-a3.c: New file.
48543 * elf/tst-order-a4.c: New file.
48544 * elf/tst-order-b1.c: New file.
48545 * elf/tst-order-b2.c: New file.
48546 * elf/tst-order-main.c: New file.
48547 New test case by George Gensure <werkt0@gmail.com>.
48549 2010-10-01 Andreas Schwab <schwab@redhat.com>
48551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48552 decoding ACE if AI_CANONIDN.
48554 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48556 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48558 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48560 * version.h (RELEASE): Bump for 2.13 release.
48561 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48563 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48565 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48567 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48568 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48569 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48570 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48574 * posix/getconf.c: Update copyright year.
48575 * catgets/gencat.c: Likewise.
48576 * csu/version.c: Likewise.
48577 * debug/catchsegv.sh: Likewise.
48578 * debug/xtrace.sh: Likewise.
48579 * elf/ldconfig.c: Likewise.
48580 * elf/ldd.bash.in: Likewise.
48581 * elf/sprof.c (print_version): Likewise.
48582 * iconv/iconv_prog.c: Likewise.
48583 * iconv/iconvconfig.c: Likewise.
48584 * locale/programs/locale.c: Likewise.
48585 * locale/programs/localedef.c: Likewise.
48586 * malloc/memusage.sh: Likewise.
48587 * malloc/mtrace.pl: Likewise.
48588 * nscd/nscd.c (print_version): Likewise.
48589 * nss/getent.c: Likewise.
48591 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48592 PF_CAIF, and PF_ALG.
48593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48595 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48597 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48598 (modules-names): Use them.
48599 (ifunc-test-modules, ifunc-pie-tests): Define.
48600 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48601 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48602 (test-extras): Likewise.
48603 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48604 $(compile-command.c).
48605 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48606 (all-built-dso): Define.
48607 (check-textrel.out, check-execstack.out): Depend on it.
48609 * configure.in: Don't override --enable-multi-arch.
48611 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48614 * nscd/hstcache.c (tryagain): Define.
48615 (cache_addhst): Return tryagain not notfound for temporary errors.
48616 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48619 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48622 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48623 to make the syscall.
48624 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48627 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48628 and fall back to matching as normal character if the string ends before
48629 the matching ']' is found. This is what POSIX requires.
48630 * posix/testfnm.c: Adjust test result.
48631 * posix/globtest.sh: Adjust test result. Add new test.
48632 * posix/tst-fnmatch.input: Likewise.
48633 * posix/tst-fnmatch2.c: Add new test.
48635 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48637 * elf/Makefile (check-execstack): Revert last change. Depend on
48639 (check-execstack.h): New target.
48640 (generated): Add check-execstack.h.
48641 * elf/check-execstack.c: Include "check-execstack.h".
48642 (main): Revert last change.
48643 (handle_file): Return zero if GNU_STACK is absent and
48644 DEFAULT_STACK_PERMS doesn't include PF_X.
48646 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48648 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48649 in child fails because the descriptor is already closed.
48650 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48651 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48652 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48655 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48659 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48660 temporary buffer used to handle multi lookups locally.
48661 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48663 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48665 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48668 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48670 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48671 alignment for SSE2.
48673 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48676 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48677 characters. When rounding increased number of integer digits recompute
48679 * stdio-common/tst-grouping.c: New file.
48680 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48682 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48684 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48685 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48687 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48689 * bits/select.h: Likewise.
48691 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48693 * po/ja.po: Update from translation team.
48695 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48698 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48699 implementation just like for lxstat, fxstatat, et al.
48701 2010-12-27 Jim Meyering <meyering@redhat.com>
48704 * posix/regexec.c (build_trtable): Return failure indication upon
48705 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48707 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48710 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48711 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48712 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48713 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48716 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48719 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48720 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48722 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48724 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48725 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48726 script has SORT_BY_INIT_PRIORITY.
48727 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48728 NO_CTORS_DTORS_SECTIONS is defined.
48729 * elf/soinit.c: Likewise.
48730 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48731 NO_CTORS_DTORS_SECTIONS is defined.
48732 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48733 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48734 * sysdeps/sh/init-first.c: Likewise.
48735 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48737 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48739 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48740 always use the slow path.
48742 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48744 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48745 similar rule which adds the sysdep directories to the header search in
48746 order to pick up the correct platform stackinfo.h.
48747 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48748 perform test if it is, otherwise return successfully without testing.
48749 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48750 DEFAULT_STACK_PERMS define in stackinfo.h.
48751 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48752 defined in stackinfo.h.
48753 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48754 DEFAULT_STACK_PERMS defined in stackinfo.h.
48755 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48756 * sysdeps/ia64/stackinfo.h: Likewise.
48757 * sysdeps/s390/stackinfo.h: Likewise.
48758 * sysdeps/sh/stackinfo.h: Likewise.
48759 * sysdeps/sparc/stackinfo.h: Likewise.
48760 * sysdeps/x86_64/stackinfo.h: Likewise.
48761 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48762 PF_X for powerpc64. Retain PF_X for powerpc32.
48764 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48766 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48768 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48769 GETDENTS_64BIT_ALIGNED.
48771 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48773 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48775 2010-12-10 Andreas Schwab <schwab@redhat.com>
48777 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48780 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48781 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48783 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48784 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48786 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48789 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48792 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48794 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48796 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48798 * po/it.po: Update from translation team.
48800 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48805 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48807 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48809 2010-11-24 Andreas Schwab <schwab@redhat.com>
48811 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48813 (gaih_getanswer_slice): Likewise.
48815 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48819 2010-05-31 Petr Baudis <pasky@suse.cz>
48822 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48823 silently even in the chroot mode.
48825 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48827 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48828 last patch a bit. Pretty printing
48830 2010-05-31 Petr Baudis <pasky@suse.cz>
48833 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48834 initialization of skip_initgroups_dyn.
48836 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48838 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48839 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48841 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48843 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48845 2010-11-11 Andreas Schwab <schwab@redhat.com>
48847 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48848 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48849 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48850 ($(objpfx)tst-fnmatch-mem): New rule.
48851 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48852 * posix/tst-fnmatch.c (main): Call mtrace.
48854 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48857 Support Intel processor model 6 and model 0x2c.
48859 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48861 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48864 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48867 * string/test-strncasecmp.c (check_result): New function.
48868 (do_one_test): Use it.
48869 (check1): New function.
48870 (test_main): Use it.
48871 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48872 Support strcasecmp and strncasecmp.
48874 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48877 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48878 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48880 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48882 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48886 * sysdeps/x86_64/multiarch/bzero.S: New file.
48887 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48888 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48889 * sysdeps/x86_64/multiarch/memset.S: New file.
48890 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48892 Set bit_Prefer_SSE_for_memop for Intel processors.
48893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48895 (index_Prefer_SSE_for_memop): Define.
48896 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48898 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48900 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48901 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48903 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48906 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48907 (__x86_64_raw_data_cache_size_half): Likewise.
48908 (__x86_64_raw_shared_cache_size): Likewise.
48909 (__x86_64_raw_shared_cache_size_half): Likewise.
48911 * sysdeps/x86_64/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.
48915 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48916 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48917 and __x86_64_raw_shared_cache_size_half. Round
48918 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48919 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48920 to multiple of 256 bytes.
48922 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48925 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48926 of inacessible symlinks. Verify result of symlink before returning it.
48927 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48928 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48930 2010-10-28 Erich Ritz <erichritz@gmail.com>
48932 * math/math.h (isinf): Fix typo in comment.
48934 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48936 * po/da.po: Update from translation team.
48938 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48940 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48941 is added to the list.
48943 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48944 Ulrich Drepper <drepper@gmail.com>
48946 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48947 the global list here. Move code to...
48948 (_dl_add_to_namespace_list): ...here. New function.
48949 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48950 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48951 * elf/dl-load.c (lose): Don't remove the element from the list.
48952 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48953 (_dl_map_object): Likewise.
48955 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48958 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48959 into all bytes of SSE register.
48960 Patch by Richard Li <richardpku@gmail.com>.
48962 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48965 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48968 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48970 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48971 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48972 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48973 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48978 2010-10-22 Andreas Schwab <schwab@redhat.com>
48980 * include/dlfcn.h (__RTLD_SECURE): Define.
48981 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48982 mode & __RTLD_SECURE instead.
48983 (open_path): Rename preloaded parameter to secure.
48984 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48985 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48986 * elf/dl-deps.c (openaux): Likewise.
48987 * elf/rtld.c (struct map_args): Remove is_preloaded.
48988 (map_doit): Don't use it.
48989 (dl_main): Likewise.
48990 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48991 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48993 2010-09-09 Andreas Schwab <schwab@redhat.com>
48995 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48996 (sysd-rules-targets): Remove duplicates.
48997 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48998 rtld-%.$o dependency.
49000 2010-10-18 Andreas Schwab <schwab@redhat.com>
49002 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49003 _dl_map_object do it.
49005 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49007 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49008 fast fma builtins, define the macros in the C99 standard.
49009 (FP_FAST_FMAF): Likewise.
49010 (FP_FAST_FMAL): Likewise.
49011 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49013 * bits/mathdef.h: Update copyright year.
49014 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49016 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49018 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49019 builtins, define the macros in the C99 standard.
49020 (FP_FAST_FMAF): Likewise.
49021 (FP_FAST_FMAL): Likewise.
49022 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49024 (FP_FAST_FMAF): Likewise.
49026 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49029 * math/libm-test.inc (fma_test): Some new testcases.
49030 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49031 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49032 y and infinite z. Do multiplication by C already in long double.
49033 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49035 y and infinite z. Do bitwise or of inexact bit into u.d.
49036 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49037 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49038 * sysdeps/i386/fpu/s_fma.S: Removed.
49039 * sysdeps/i386/fpu/s_fmal.S: Removed.
49041 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49044 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49046 computation is not scheduled after fetestexcept. Fix value
49047 of minimum denormal long double.
49049 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49052 * math/libm-test.inc (fma_test): Add some more tests.
49053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49056 2010-10-15 Andreas Schwab <schwab@redhat.com>
49058 * scripts/data/localplt-s390-linux-gnu.data: New file.
49059 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49061 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49064 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49065 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49067 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49069 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49071 if one of x and y is very large and the other is subnormal.
49072 * sysdeps/s390/fpu/s_fmaf.c: New file.
49073 * sysdeps/s390/fpu/s_fma.c: New file.
49074 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49075 * sysdeps/powerpc/fpu/s_fma.S: New file.
49076 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49077 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49078 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49080 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49083 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49085 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49086 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49087 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49088 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49089 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49090 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49091 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49093 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49096 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49097 * posix/bug-regex31.input: Add test case.
49099 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49101 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49102 * posix/bug-regex31.input: New file.
49105 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49106 (parse_sub_exp): Fix last change, use postorder.
49108 * posix/bug-regex31.c: New file.
49109 * posix/Makefile: Add rules to build and run bug-regex31.
49111 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49114 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49117 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49118 to have entries in sys_siglist.
49121 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49124 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49127 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49128 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49129 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49130 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49131 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49132 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49133 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49134 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49135 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49136 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49137 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49138 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49139 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49140 * math/ftestexcept.c (fetestexcept): Likewise.
49141 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49142 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49143 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49144 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49145 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49146 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49147 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49149 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49152 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49155 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49157 * string/bug-strstr1.c: New file.
49158 * string/Makefile: Add rules to build and run bug-strstr1.
49160 2010-10-05 Eric Blake <eblake@redhat.com>
49163 * string/str-two-way.h (two_way_long_needle): Always clear memory
49164 when skipping input due to the shift table.
49166 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49169 * malloc/mcheck.c: Handle large requests.
49172 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49173 for strncmp and strncasecmp.
49174 * string/stratcliff.c: Add tests for strcmp and strncmp.
49175 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49177 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49179 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49182 2010-09-30 Andreas Jaeger <aj@suse.de>
49184 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49185 (CGROUP_SUPER_MAGIC): Define.
49186 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49187 Handle btrfs and cgroup file systems.
49188 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49191 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49193 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49194 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49196 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49199 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49200 trying to locate the ELF header.
49202 2010-09-27 Andreas Schwab <schwab@redhat.com>
49205 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49206 Mask out sign-bit copies when constructing f_fsid.
49208 2010-09-24 Petr Baudis <pasky@suse.cz>
49210 * debug/stack_chk_fail_local.c: Add missing licence exception.
49211 * debug/warning-nop.c: Likewise.
49213 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49215 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49216 implementing getdents64 using getdents syscall, set d_type if
49217 __ASSUME_GETDENTS32_D_TYPE.
49219 2010-09-16 Andreas Schwab <schwab@redhat.com>
49221 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49222 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49224 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49227 * posix/unistd.h: Undo change of feature selection for ftruncate from
49230 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49232 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49235 2010-09-20 Andreas Schwab <schwab@redhat.com>
49237 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49239 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49241 2010-09-14 Andreas Schwab <schwab@redhat.com>
49243 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49244 variables after CHECK_SP call.
49245 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49247 2010-09-13 Andreas Schwab <schwab@redhat.com>
49248 Ulrich Drepper <drepper@redhat.com>
49250 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49251 re-relocationg ld.so.
49252 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49253 _dl_init_paths call.
49254 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49257 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49259 * resolv/res_init.c (__res_vinit): Count the default server we added.
49261 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49262 Ulrich Drepper <drepper@redhat.com>
49265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49266 (____longjmp_chk): Use %ebx for saving value across system call.
49269 2010-09-06 Andreas Schwab <schwab@redhat.com>
49271 * manual/Makefile: Don't mix pattern rules with normal rules.
49273 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49275 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49277 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49278 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49279 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49280 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49281 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49284 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49287 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49288 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49290 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49292 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49293 * sysdeps/x86_64/addmul_1.S: Likewise.
49294 * sysdeps/x86_64/lshift.S: Likewise.
49295 * sysdeps/x86_64/mul_1.S: Likewise.
49296 * sysdeps/x86_64/rshift.S: Likewise.
49297 * sysdeps/x86_64/sub_n.S: Likewise.
49298 * sysdeps/x86_64/submul_1.S: Likewise.
49300 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49302 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49303 Define __sched_param instead of SCHED_* and sched_param when
49304 <bits/sched.h> is included with __need_schedparam defined.
49305 * bits/sched.h [__need_schedparam]
49306 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49307 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49308 (__defined_schedparam): Define to 1.
49309 (__sched_param): New structure, identical to sched_param.
49310 (__need_schedparam): Undefine.
49312 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49314 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49315 (epoll_create1): Declare.
49317 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49319 2010-08-31 Andreas Schwab <schwab@redhat.com>
49322 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49323 shifting retval into place.
49325 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49327 * nis/rpcsvc/nis.h: Update copyright notice.
49328 * nis/rpcsvc/nis.x: Likewise.
49329 * nis/rpcsvc/nis_callback.h: Likewise.
49330 * nis/rpcsvc/nis_callback.x: Likewise.
49331 * nis/rpcsvc/nis_object.x: Likewise.
49332 * nis/rpcsvc/nis_tags.h: Likewise.
49333 * nis/rpcsvc/yp.h: Likewise.
49334 * nis/rpcsvc/yp.x: Likewise.
49335 * nis/rpcsvc/ypupd.h: Likewise.
49336 * nis/yp_xdr.c: Likewise.
49337 * nis/ypupdate_xdr.c: Likewise.
49339 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49340 mainly the body of pmap_getport. Add parameters to specify timeouts.
49341 (pmap_getport): Use __libc_rpc_getport.
49342 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49343 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49344 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49346 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49351 2010-08-27 Roland McGrath <roland@redhat.com>
49353 * sysdeps/i386/i686/multiarch/Makefile
49354 (CFLAGS-varshift.c): New variable.
49356 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49358 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49359 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49361 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49363 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49365 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49367 * sysdeps/x86_64/strlen.S: Unroll the loop.
49368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49369 strlen-sse2 strlen-sse2-bsf.
49370 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49371 __strlen_no_bsf if bit_Slow_BSF is set.
49372 (__strlen_sse42): Removed.
49373 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49374 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49376 2010-08-25 Roland McGrath <roland@redhat.com>
49378 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49379 * sysdeps/x86_64/multiarch/varshift.c: New file.
49380 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49381 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49382 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49383 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49385 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49388 strlen-sse2 strlen-sse2-bsf.
49389 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49390 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49391 (__strlen_sse2): Removed.
49392 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49395 bit_Slow_BSF for Atom.
49396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49397 (index_Slow_BSF): Define.
49398 (HAS_SLOW_BSF): Define.
49400 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49403 * resolv/res_init.c (__res_vinit): When no server address at all
49404 is given default to loopback.
49406 2010-08-24 Roland McGrath <roland@redhat.com>
49408 * configure.in: Remove config-name.h generation.
49409 * configure: Regenerated.
49410 * config-name.in: File removed.
49411 * scripts/config-uname.sh: New file.
49412 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49413 ($(objdir)config-name.h): New target.
49415 * sunrpc/rpc_parse.h: Avoid nested comment.
49417 2010-08-24 Richard Henderson <rth@redhat.com>
49418 Ulrich Drepper <drepper@redhat.com>
49419 H.J. Lu <hongjiu.lu@intel.com>
49421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49423 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49424 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49425 _mm_alignr_epi8 with _mm_loadu_si128.
49426 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49427 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49428 (__m128i_shift_right): Removed.
49429 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49430 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49431 * sysdeps/x86_64/multiarch/varshift.h: New file.
49432 * sysdeps/x86_64/multiarch/varshift.S: New file.
49434 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49436 * configure.in: Move assembler checks to before sysdep dir checking.
49438 2010-08-20 Petr Baudis <pasky@suse.cz>
49440 * LICENSES: Sync the sunrpc license.
49442 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49444 * sunrpc/auth_des.c: Update copyright notice once again.
49445 * sunrpc/auth_none.c: Likewise.
49446 * sunrpc/auth_unix.c: Likewise.
49447 * sunrpc/authdes_prot.c: Likewise.
49448 * sunrpc/authuxprot.c: Likewise.
49449 * sunrpc/bindrsvprt.c: Likewise.
49450 * sunrpc/clnt_gen.c: Likewise.
49451 * sunrpc/clnt_perr.c: Likewise.
49452 * sunrpc/clnt_raw.c: Likewise.
49453 * sunrpc/clnt_simp.c: Likewise.
49454 * sunrpc/clnt_tcp.c: Likewise.
49455 * sunrpc/clnt_udp.c: Likewise.
49456 * sunrpc/clnt_unix.c: Likewise.
49457 * sunrpc/des_crypt.c: Likewise.
49458 * sunrpc/des_soft.c: Likewise.
49459 * sunrpc/get_myaddr.c: Likewise.
49460 * sunrpc/getrpcport.c: Likewise.
49461 * sunrpc/key_call.c: Likewise.
49462 * sunrpc/key_prot.c: Likewise.
49463 * sunrpc/openchild.c: Likewise.
49464 * sunrpc/pm_getmaps.c: Likewise.
49465 * sunrpc/pm_getport.c: Likewise.
49466 * sunrpc/pmap_clnt.c: Likewise.
49467 * sunrpc/pmap_prot.c: Likewise.
49468 * sunrpc/pmap_prot2.c: Likewise.
49469 * sunrpc/pmap_rmt.c: Likewise.
49470 * sunrpc/rpc/auth.h: Likewise.
49471 * sunrpc/rpc/auth_unix.h: Likewise.
49472 * sunrpc/rpc/clnt.h: Likewise.
49473 * sunrpc/rpc/des_crypt.h: Likewise.
49474 * sunrpc/rpc/key_prot.h: Likewise.
49475 * sunrpc/rpc/netdb.h: Likewise.
49476 * sunrpc/rpc/pmap_clnt.h: Likewise.
49477 * sunrpc/rpc/pmap_prot.h: Likewise.
49478 * sunrpc/rpc/pmap_rmt.h: Likewise.
49479 * sunrpc/rpc/rpc.h: Likewise.
49480 * sunrpc/rpc/rpc_des.h: Likewise.
49481 * sunrpc/rpc/rpc_msg.h: Likewise.
49482 * sunrpc/rpc/svc.h: Likewise.
49483 * sunrpc/rpc/svc_auth.h: Likewise.
49484 * sunrpc/rpc/types.h: Likewise.
49485 * sunrpc/rpc/xdr.h: Likewise.
49486 * sunrpc/rpc_clntout.c: Likewise.
49487 * sunrpc/rpc_cmsg.c: Likewise.
49488 * sunrpc/rpc_common.c: Likewise.
49489 * sunrpc/rpc_cout.c: Likewise.
49490 * sunrpc/rpc_dtable.c: Likewise.
49491 * sunrpc/rpc_hout.c: Likewise.
49492 * sunrpc/rpc_main.c: Likewise.
49493 * sunrpc/rpc_parse.c: Likewise.
49494 * sunrpc/rpc_parse.h: Likewise.
49495 * sunrpc/rpc_prot.c: Likewise.
49496 * sunrpc/rpc_sample.c: Likewise.
49497 * sunrpc/rpc_scan.c: Likewise.
49498 * sunrpc/rpc_scan.h: Likewise.
49499 * sunrpc/rpc_svcout.c: Likewise.
49500 * sunrpc/rpc_tblout.c: Likewise.
49501 * sunrpc/rpc_util.c: Likewise.
49502 * sunrpc/rpc_util.h: Likewise.
49503 * sunrpc/rpcinfo.c: Likewise.
49504 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49505 * sunrpc/rpcsvc/key_prot.x: Likewise.
49506 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49507 * sunrpc/rpcsvc/mount.x: Likewise.
49508 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49509 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49510 * sunrpc/rpcsvc/rex.x: Likewise.
49511 * sunrpc/rpcsvc/rstat.x: Likewise.
49512 * sunrpc/rpcsvc/rusers.x: Likewise.
49513 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49514 * sunrpc/rpcsvc/spray.x: Likewise.
49515 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49516 * sunrpc/rtime.c: Likewise.
49517 * sunrpc/svc.c: Likewise.
49518 * sunrpc/svc_auth.c: Likewise.
49519 * sunrpc/svc_authux.c: Likewise.
49520 * sunrpc/svc_raw.c: Likewise.
49521 * sunrpc/svc_run.c: Likewise.
49522 * sunrpc/svc_simple.c: Likewise.
49523 * sunrpc/svc_tcp.c: Likewise.
49524 * sunrpc/svc_udp.c: Likewise.
49525 * sunrpc/svc_unix.c: Likewise.
49526 * sunrpc/svcauth_des.c: Likewise.
49527 * sunrpc/xcrypt.c: Likewise.
49528 * sunrpc/xdr.c: Likewise.
49529 * sunrpc/xdr_array.c: Likewise.
49530 * sunrpc/xdr_float.c: Likewise.
49531 * sunrpc/xdr_mem.c: Likewise.
49532 * sunrpc/xdr_rec.c: Likewise.
49533 * sunrpc/xdr_ref.c: Likewise.
49534 * sunrpc/xdr_sizeof.c: Likewise.
49535 * sunrpc/xdr_stdio.c: Likewise.
49537 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49540 2010-08-19 Andreas Schwab <schwab@redhat.com>
49542 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49544 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49546 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49547 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49548 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49549 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49550 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49551 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49552 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49553 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49554 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49555 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49556 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49557 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49558 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49559 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49561 2010-07-26 Anton Blanchard <anton@samba.org>
49563 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49564 * malloc/arena.c (heap_trim): Likewise.
49566 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49568 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49571 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49573 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49575 * sysdeps/i386/elf/Makefile: New file.
49577 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49579 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49580 from fanotify_init.
49581 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49584 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49586 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49588 * sysdeps/multiarch/strcmp.S: Likewise.
49590 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49592 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49593 strncase_l-nonascii.
49594 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49595 Add strncase_l-ssse3.
49596 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49597 * sysdeps/x86_64/strcmp.S: Likewise.
49598 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49599 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49600 * sysdeps/x86_64/strncase.S: New file.
49601 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49602 * sysdeps/x86_64/strncase_l.S: New file.
49603 * string/Makefile (strop-tests): Add strncasecmp.
49604 * string/test-strncasecmp.c: New file.
49606 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49609 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49610 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49612 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49614 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49616 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49618 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49619 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49620 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49622 2010-05-01 Alan Modra <amodra@gmail.com>
49624 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49625 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49626 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49627 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49628 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49629 tidying. Don't tail-call __sigjmp_save for static lib.
49630 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49632 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49633 (CALL_MCOUNT): Add eh info, and nop after bl.
49634 (TAIL_CALL_SYSCALL_ERROR): New macro.
49635 (PSEUDO_RET): Use it.
49636 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49637 Correct save location of integer regs and cr.
49638 (_dl_profile_resolve): Correct cr save location. Delete nops
49639 after bl when SHARED. Reduce cfi size a little by better
49640 placement of cfi directives.
49641 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49642 make a stack frame. Instead use parm save area as a temp.
49643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49644 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49646 Don't make a stack frame for parent, use parm save area.
49647 Increase child stack frame to 112 bytes. Don't save unused reg,
49648 and adjust reg usage. Set up cfi on error recovery and
49649 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49651 (__makecontext): Add dummy nop after jump to exit.
49652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49653 Use correct parm save area and cr save, reduce stack frame.
49654 Correct cfi for possible PSEUDO_RET frame setup.
49655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49656 Branch to local label emitted by PSEUDO_RET rather than
49659 2010-08-12 Andreas Schwab <schwab@redhat.com>
49662 * locale/programs/locale.c (print_assignment): New function.
49663 (show_locale_vars): Use it.
49665 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49667 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49669 (struct statfs64): Likewise.
49670 (_STATFS_F_FLAGS): Define.
49671 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49672 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49673 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49674 (ST_VALID): Define locally.
49675 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49676 __statvfs_getflags, use the provided value.
49677 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49678 __ASSUME_STATFS_F_FLAGS.
49680 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49682 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49683 Add sys/fanotify.h.
49684 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49685 fanotify_mask for GLIBC_2.13.
49686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49687 fanotify_init and fanotify_mark.
49688 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49689 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49691 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49693 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49694 prlimit64 for GLIBC_2.13.
49695 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49697 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49700 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49701 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49702 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49703 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49705 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49708 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49709 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49711 * nss/Makefile: Add rules to build and run tst-nss-test1.
49712 * shlib-versions: Add entry for libnss_test1.
49713 * nss/nss_test1.c: New file.
49714 * nss/tst-nss-test1.c: New file.
49716 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49717 (__nss_configure_lookup): Set appropriate entry in
49718 __nss_configure_lookup to true.
49719 * nss/nsswitch.h: Define enum with indeces of databases in
49720 databases and __nss_database_custom arrays. Declare
49721 __nss_database_custom.
49722 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49723 to avoid using nscd when custom rules are installed.
49724 * nss/getXXbyYY_r.c: Likewise.
49725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49727 * nss/nss_files/files-parse.c: Whitespace fixes.
49729 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49732 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49733 * posix/fnmatch_loop.c: Likewise.
49735 2010-07-17 Andi Kleen <ak@linux.intel.com>
49737 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49738 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49739 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49740 * Versions.def [GLIBC_2.13]: Add.
49742 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49744 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49745 Also fail if tpwd after pwuid call is NULL.
49747 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49749 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49750 when converting to ms.
49752 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49754 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49755 EOPNOTSUPP errors with ENOTTY.
49756 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49757 EOPNOTSUPP errors with ENOTTY.
49759 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49761 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49762 Add strcasecmp_l-ssse3.
49763 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49765 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49766 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49767 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49769 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49771 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49773 * string/Makefile (strop-tests): Add strcasecmp.
49774 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49775 strcasecmp_l-nonascii.
49776 (gen-as-const-headers): Add locale-defines.sym.
49777 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49778 * sysdeps/x86_64/strcasecmp.S: New file.
49779 * sysdeps/x86_64/strcasecmp_l.S: New file.
49780 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49781 * sysdeps/x86_64/locale-defines.sym: New file.
49782 * string/test-strcasecmp.c: New file.
49784 * string/test-strcasestr.c: Test both ends of the range of characters.
49785 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49787 2010-07-29 Roland McGrath <roland@redhat.com>
49790 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49792 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49794 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49797 2010-07-27 Andreas Schwab <schwab@redhat.com>
49799 * manual/memory.texi (Malloc Tunable Parameters): Document
49802 2010-07-26 Roland McGrath <roland@redhat.com>
49805 * configure.in (-fgnu89-inline check): Set and substitute
49806 gnu89_inline, not libc_cv_gnu89_inline.
49807 * configure: Regenerated.
49808 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49810 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49812 * string/test-strnlen.c: New file.
49813 * string/Makefile (strop-tests): Add strnlen.
49814 * string/tester.c (test_strnlen): Add a few more test cases.
49815 * string/tst-strlen.c: Better error reporting.
49817 * sysdeps/x86_64/strnlen.S: New file.
49819 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49821 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49822 lower-latency instructions.
49824 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49826 * string/test-strcasestr.c: New file.
49827 * string/test-strstr.c: New file.
49828 * string/Makefile (strop-tests): Add strstr and strcasestr.
49829 * string/str-two-way.h: Don't undefine MAX.
49830 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49832 2010-07-21 Andreas Schwab <schwab@redhat.com>
49834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49835 strcasestr-nonascii.
49836 (CFLAGS-strcasestr-nonascii.c): Define.
49837 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49838 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49839 Remove unused attribute.
49841 2010-07-20 Roland McGrath <roland@redhat.com>
49843 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49844 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49845 ld.so.cache was broken. With it, there is no way to disable dsocaps
49846 like LD_HWCAP_MASK can disable hwcaps.
49848 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49850 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49852 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49854 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49855 call in strcasestr.
49856 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49857 __strcasestr_sse42_nonascii.
49858 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49859 strcasestr-nonascii.c.
49860 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49862 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49864 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49865 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49866 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49867 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49869 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49871 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49874 2010-07-06 Andreas Schwab <schwab@redhat.com>
49877 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49880 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49882 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49883 _PC_PIPE_BUF using F_GETPIPE_SZ.
49885 2010-07-05 Roland McGrath <roland@redhat.com>
49887 * manual/arith.texi (Rounding Functions): Fix rint description
49888 implicit in round description.
49890 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49892 * elf/Makefile: Fix linking for a few tests to make recent linker
49895 2010-06-30 Andreas Schwab <schwab@redhat.com>
49897 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49898 $(common-objpfx)libc_nonshared.a.
49900 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49902 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49903 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49904 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49905 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49906 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49907 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49908 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49909 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49924 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49925 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49926 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49927 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49928 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49929 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49930 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49931 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49932 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49933 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49934 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49935 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49951 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49953 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49954 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49955 * string/memmove.c (memmove): Renamed to ...
49956 (MEMMOVE): ...this. Default to memmove.
49957 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49958 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49961 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49962 mempcpy-ssse3-back memmove-ssse3-back.
49963 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49964 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49965 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49966 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49967 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49968 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49969 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49970 * sysdeps/x86_64/multiarch/memmove.c: New file.
49971 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49972 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49973 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49974 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49975 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49978 (index_Fast_Copy_Backward): Define.
49979 (HAS_ARCH_FEATURE): Define.
49980 (HAS_FAST_REP_STRING): Define.
49981 (HAS_FAST_COPY_BACKWARD): Define.
49983 2010-06-21 Andreas Schwab <schwab@redhat.com>
49985 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49986 Restore proper fallback handling.
49988 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49991 * posix/group_member.c (__group_member): Correct checking loop.
49993 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49994 OOM in getpwuid_r correctly. Return error number when the caller
49995 should return, otherwise -1.
49996 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49997 call returning > 0 value.
49998 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50000 2010-06-07 Andreas Schwab <schwab@redhat.com>
50002 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50003 libc_nonshared.a from targets in modules-names.
50005 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50007 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50010 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50012 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50013 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50014 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50015 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50017 2010-06-02 Andreas Schwab <schwab@redhat.com>
50019 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50021 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50023 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50025 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50026 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50029 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50030 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50032 2010-06-14 Roland McGrath <roland@redhat.com>
50034 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50036 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50038 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50039 __REDIRECT followed by __THROW.
50040 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50041 * posix/getopt.h (getopt): Likewise.
50043 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50045 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50046 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50047 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50049 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50050 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50052 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50054 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50056 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50060 Properly check family and model.
50062 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50064 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50066 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50068 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50070 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50072 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50075 2010-05-19 Andreas Schwab <schwab@redhat.com>
50077 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50080 2010-05-21 Andreas Schwab <schwab@redhat.com>
50082 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50083 and internal_recvmmsg.
50084 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50085 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50086 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50087 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50089 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50090 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50091 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50093 2010-05-20 Andreas Schwab <schwab@redhat.com>
50095 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50097 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50099 POWER7 optimizations.
50100 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50101 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50103 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50105 * version.h: Update for 2.13 development version.
50107 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50109 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50110 exceptions. Return 0.
50112 2010-05-07 Roland McGrath <roland@redhat.com>
50114 * elf/ldconfig.c (main): Add a const.
50116 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50118 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50119 (args_options): Add no-idn option.
50120 (ahosts_keys_int): Add idn_flags to ai_flags.
50121 (parse_option): Handle 'i' option to clear idn_flags.
50123 * malloc/malloc.c (_int_free): Possible race in the most recently
50124 added check. Only act on the data if no current modification
50127 See ChangeLog.17 for earlier changes.