1 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3 * sysdeps/unix/sysv/linux/eventfd.c:
4 Make first argument unsigned.
5 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11 * socket/sys/socket.h: Likewise
12 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
20 * time/tst-ftime.c: New test.
21 * time/Makefile (tests): Add tst-ftime.
23 2014-09-17 Joseph Myers <joseph@codesourcery.com>
25 * soft-fp/extended.h: Fix comment formatting.
26 * soft-fp/op-1.h: Likewise.
27 * soft-fp/op-2.h: Likewise.
28 * soft-fp/op-4.h: Likewise.
29 * soft-fp/op-8.h: Likewise.
30 * soft-fp/op-common.h: Likewise.
31 * soft-fp/soft-fp.h: Likewise.
33 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35 2014-09-16 Joseph Myers <joseph@codesourcery.com>
38 * Makeconfig (soversions-default-setname): Remove variable.
39 ($(common-objpfx)soversions.i): Don't pass default_setname to
41 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42 oldest_abi to abi-versions.awk.
43 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44 * config.make.in (oldest-abi): Remove variable.
45 * configure.ac (--enable-oldest-abi): Remove configure option.
46 * configure: Regenerated.
47 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
49 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
50 * scripts/soversions.awk: Do not handle default_setname variable.
51 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
53 * sysdeps/mach/hurd/configure: Regenerated.
54 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
56 * sysdeps/unix/sysv/linux/configure: Regenerated.
58 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60 * elf/Makefile (CFLAGS-interp.c): Remove.
61 ($(elf-objpfx)runtime-linker.h): Generate header with linker
63 * elf/interp.c: Include generated runtime-linker.h
65 * Makerules (lib%.so): Don't include $(+interp) in
67 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
68 * dlfcn/eval.c: Remove file.
70 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
74 * misc/sys/cdefs.h: Define __extern_always_inline for clang
78 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
80 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
81 Jakub Jelinek <jakub@redhat.com>
84 * libio/stdio.h: Check definition of __fortify_function
85 instead of __extern_always_inline to include bits/stdio2.h.
86 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
87 check if __extern_always_inline is defined.
88 [__USE_MISC || __USE_XOPEN]: Likewise.
89 [__USE_ISOC99] Likewise.
90 * misc/sys/cdefs.h (__fortify_function): Define only if
91 __extern_always_inline is defined.
92 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
93 __extern_always_inline and __extern_inline only for g++-4.3
94 and newer or a compatible gcc.
96 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
99 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
100 last change to handle zero prefix length.
102 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
104 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
107 * posix/getconf.c (vars): Add _POSIX_IPV6 and
110 2014-09-13 Allan McRae <allan@archlinux.org>
112 * po/ru.po: Update Russian translation from translation project.
114 2014-09-12 Roland McGrath <roland@hack.frob.com>
116 * locale/programs/locale.c (show_locale_vars): Inline local function
117 into its sole call site. Clean up some style nits.
118 (print_item): New function, broken out of ...
119 (show_info): ... local function here. Clean up style nits.
121 * locale/programs/ld-ctype.c (set_one_default): New function, broken
123 (set_class_defaults): ... local function set_default here.
124 Define set_default as a macro locally to pass constant parameters.
125 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
126 rather than a shared local.
128 * stdlib/rpmatch.c (try): New function, broken out of ...
129 (rpmatch): ... local function here. Also, prototypify definition.
131 2014-09-12 Joseph Myers <joseph@codesourcery.com>
133 * scripts/soversions.awk: Do not handle configuration names.
134 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
135 vendor and os variables to soversions.awk.
136 * configure.ac: Do not modify gnu-* host_os.
137 * configure: Regenerated
138 * shlib-versions: Remove first column with configuration names.
139 * nptl/shlib-versions: Likewise.
140 * nptl_db/shlib-versions: Likewise.
141 * sysdeps/hppa/shlib-versions: Likewise.
142 * sysdeps/m68k/shlib-versions: Likewise.
143 * sysdeps/mach/hurd/shlib-versions: Likewise.
144 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
145 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
146 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
147 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
148 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
149 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
150 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
151 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
154 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
155 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
156 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
157 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
158 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
159 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
160 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
161 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
164 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
167 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
169 Condition symbol version definitions on [HAVE_ELFV2_ABI].
171 * shlib-versions: Remove OS-specific entries. Moved to files in
173 * sysdeps/mach/hurd/shlib-versions: New file.
174 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
176 * nptl/shlib-versions: Remove architecture-specific entries.
177 Moved to files in sysdeps.
178 * shlib-versions: Likewise.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
181 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
182 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
183 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
184 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
186 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
187 (UDP_NO_CHECK6_RX): Likewise.
189 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
191 * sysdeps/posix/sysconf.c (__sysconf): Spell
192 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
194 2014-08-12 Florian Weimer <fweimer@redhat.com>
196 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
198 * iconv/Versions (__gconv_transliterate): Export for use from
200 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
201 (struct __gconv_trans_data, __gconv_trans_fct,
202 __gconv_trans_context_fct, __gconv_trans_query_fct,
203 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
205 (struct __gconv_step_data): Remove __trans member.
206 (__gconv_transliterate): Declaration moved from gconv_int.h. No
207 longer hidden. Remove unused trans_data argument.
208 * iconv/gconv_int.h (struct trans_struct): Remove definition.
209 (__gconv_translit_find): Remove declaration.
210 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
212 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
213 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
214 trans_data argument. Add hidden definition.
215 (__gconv_translit_find): Remove.
216 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
217 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
218 * iconv/skeleton.c: Remove transliteration initialization.
219 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
220 __gconv_step_data initialization.
221 * libio/iofwide.c (__libio_translit_): Remove.
222 (_IO_fwide): Adjust struct __gconv_step_data initialization.
223 * wcsmbs/btowc.c (__btowc): Likewise.
224 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
225 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
226 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
227 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
228 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
229 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
230 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
231 * wcsmbs/wctob.c (wctob): Likewise.
233 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
236 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
237 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
239 * sysdeps/x86/Makefile: Adjust.
241 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
242 Roland McGrath <roland@hack.frob.com>
244 * locale/weight.h: Add include guard.
245 (findidx): Make static rather than auto; take new parameters
246 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
247 * locale/weightwc.h: Likewise.
248 * posix/fnmatch_loop.c
249 (FCT): Change type of EXTRA from int32_t to wint_t.
250 Don't include either header inside the function.
251 Call FINDIDX rather than findidx, and pass new arguments.
252 #undef FINDIDX at the end of the file.
253 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
254 FINDIDX before including fnmatch_loop.c for the non-wide version.
255 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
256 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
257 for the wide version.
258 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
259 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
260 Pass new arguments to findidx.
261 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
262 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
263 Don't #include it inside the function. Pass new arguments to findidx.
264 * posix/regex_internal.h
265 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
266 (re_string_elem_size_at): Don't #include it inside the function.
267 Pass new arguments to findidx.
268 * string/strcoll_l.c: #include WEIGHT_H at top level.
269 (get_next_seq): Don't #include it inside the function.
270 Pass new arguments to findidx.
271 (get_next_seq_nocache): Likewise.
272 * string/strxfrm_l.c: #include WEIGHT_H at top level.
273 (STRXFRM): Don't #include it inside the function.
274 Pass new arguments to findidx.
276 2014-09-11 Florian Weimer <fweimer@redhat.com>
279 * malloc/malloc.c (unlink): Turn asserts into a call to
282 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
285 * libio/wfileops (do_ftell_wide): Free OUT.
287 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
289 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
291 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
294 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
295 group if the current group is empty.
297 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
299 * benchtests/bench-memset.c (test_main): Add more test from size
300 from 32 to 512 bytes.
301 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
302 Add POWER8 memset object.
303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
304 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
305 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
307 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
309 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
310 multiarch POWER8 memset optimization.
311 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
312 POWER8 memset optimization.
314 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
315 Remove bzero multiarch objects.
316 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
317 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
318 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
319 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
321 [__bzero]: Redefine to specific name.
322 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
323 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
324 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
326 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
327 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
329 2014-09-10 Florian Weimer <fweimer@redhat.com>
331 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
332 warnings into errors.
334 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
335 __cxa_thread_atexit_impl prototype.
337 2014-09-09 Steve Ellcey <sellcey@mips.com>
339 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
340 Fix capitalization of error message.
342 2014-09-09 Steve Ellcey <sellcey@mips.com>
344 * sysdeps/mips/preconfigure: Modify ABI tests.
346 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
348 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
350 2014-09-07 Roland McGrath <roland@hack.frob.com>
351 Carlos O'Donell <carlos@systemhalted.org>
353 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
354 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
355 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
356 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
357 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
358 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
359 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
360 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
361 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
362 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
363 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
364 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
365 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
366 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
367 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
368 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
369 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
370 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
371 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
372 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
373 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
374 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
375 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
376 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
377 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
378 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
379 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
380 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
381 Deconditionalize the code that was previously under [RESET_PID].
382 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
383 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
384 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
385 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
388 2014-09-08 Allan McRae <allan@archlinux.org>
390 * version.h (RELEASE): Set to "development".
391 (VERSION): Set to "2.20.90"
393 2014-09-07 Allan McRae <allan@archlinux.org
395 * version.h (RELEASE): Set to "stable".
396 (VERSION): Set to "2.20"
397 * include/features.h (__GLIBC_MINOR__): Set to 20.
399 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
402 * po/ko.po: Update Korean translation from translation project.
404 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
407 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
408 macro for handling signed relocations.
410 2014-09-03 Florian Weimer <fweimer@redhat.com>
413 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
414 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
416 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
417 * iconvdata/ibm935.c (BODY): Likewise.
418 * iconvdata/ibm937.c (BODY): Likewise.
419 * iconvdata/ibm939.c (BODY): Likewise.
420 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
422 * iconvdata/Makefile (iconv-test.out): Pass module list to test
424 * iconvdata/run-iconv-test.sh: New test loop for checking for
427 2014-09-02 Khem Raj <raj.khem@gmail.com>
429 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
432 2014-09-01 Allan McRae <allan@archlinux.org>
434 * po/eo.po: Update Esperanto translation from translation project.
436 * po/ca.po: Update Catalan translation from translation project.
438 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
440 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
443 2014-08-27 Mark Wielaard <mjw@redhat.com>
446 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
447 to call set_thread_area instead of hand written asm.
448 (__NR_set_thread_area): Removed define.
449 (TLS_FLAG_WRITABLE): Likewise.
450 (__ASSUME_SET_THREAD_AREA): Remove check.
451 (TLS_EBX_ARG): Remove define.
452 (TLS_LOAD_EBX): Likewise.
454 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
456 Simplify atomicity of socket creation in bind.
458 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
459 looking up the name after linking the file.
461 2014-08-27 Allan McRae <allan@archlinux.org>
463 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
465 2014-08-26 Florian Weimer <fweimer@redhat.com>
468 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
469 trans_compare, open_translit, __gconv_translit_find):
470 Remove module loading code.
472 2014-08-26 Allan McRae <allan@archlinux.org>
474 * po/vi.po: Update Vietnamese translation from translation project.
476 * po/uk.po: Update Ukrainian translation from translation project.
478 * po/fr.po: Update French translation from translation project.
480 * po/ru.po: Update Russian translation from translation project.
482 * po/pl.po: Update Polish translation from translation project.
484 * po/cs.po: Update Czech translation from translation project.
486 * po/de.po: Update German translation from translation project.
488 * po/bg.po: Update Bulgarian translation from translation project.
490 * po/sv.po: Update Sweedish translation from translation project.
492 * po/nl.po: Update Dutch translation from translation project.
494 * po/es.po: Update Spanish translation from translation project.
496 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
498 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
500 * catgets/Makefile (CPPFLAGS-gencat): Remove.
501 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
502 (CPPFLAGS-iconvconfig): Likewise.
503 * timezone/Makefile (CPPFLAGS-zic): Likewise.
505 * include/libc-symbols.h: Remove unnecessary check for
507 * nptl/pthreadP.h: Likewise.
508 * sysdeps/aarch64/setjmp.S: Likewise.
509 * sysdeps/alpha/setjmp.S: Likewise.
510 * sysdeps/arm/sysdep.h: Likewise.
511 * sysdeps/i386/setjmp.S: Likewise.
512 * sysdeps/m68k/setjmp.c: Likewise.
513 * sysdeps/posix/getcwd.c: Likewise.
514 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
515 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
516 * sysdeps/s390/s390-32/setjmp.S: Likewise.
517 * sysdeps/s390/s390-64/setjmp.S: Likewise.
518 * sysdeps/sh/sh3/setjmp.S: Likewise.
519 * sysdeps/sh/sh4/setjmp.S: Likewise.
520 * sysdeps/unix/alpha/sysdep.h: Likewise.
521 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
522 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
523 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
524 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
529 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
532 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
534 * sysdeps/x86_64/setjmp.S: Likewise.
536 2014-08-13 Joseph Myers <joseph@codesourcery.com>
539 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
541 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
542 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
544 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
546 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
549 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
550 and __x86_64__ when disabling x87 inline functions.
552 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
555 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
556 asm statement with __cpuid_count.
558 2014-08-12 Mike Frysinger <vapier@gentoo.org>
560 * configure.ac: Change __ehdr_start code to dereference the struct.
561 Run readelf on the output to look for relocations.
562 * configure: Regenerated.
564 2014-08-12 Joseph Myers <joseph@codesourcery.com>
567 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
569 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
571 2014-08-12 Roland McGrath <roland@hack.frob.com>
573 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
575 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
578 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
579 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
581 2014-08-12 Sean Anderson <seanga2@gmail.com>
583 * malloc/malloc.c: Fix typo in comment.
585 2014-08-09 Allan McRae <allan@archlinux.org>
587 * Regenerate libc.po.
589 2014-08-08 Mike Frysinger <vapier@gentoo.org>
591 * intl/tst-gettext2.sh: Check every lang file for creation.
593 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
595 * sysdeps/aarch64/fpu/math_private.h
596 (libc_feholdsetround_noex_aarch64_ctx): New function.
598 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
600 * sysdeps/arm/armv6/strcpy.S (strcpy):
601 Fix performance issue in misaligned cases.
603 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
605 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
606 Move definition from termios.h.
607 (struct termio): Likewise.
608 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
609 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
610 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
611 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
613 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
614 Move definition to ioctl-types.h
615 (struct termio): Likewise.
616 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
617 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
618 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
619 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
622 2014-08-05 Richard Henderson <rth@redhat.com>
624 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
626 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
628 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
630 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
631 Protect libm symbols with IS_IN_libm.
633 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
635 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
637 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
639 2014-08-04 Will Newton <will.newton@linaro.org>
641 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
644 2014-08-04 Mike Frysinger <vapier@gentoo.org>
646 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
647 variants for each function.
649 2014-08-04 Roland McGrath <roland@hack.frob.com>
651 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
653 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
654 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
656 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
657 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
658 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
659 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
660 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
661 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
662 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
663 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
664 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
665 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
666 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
667 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
668 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
669 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
670 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
671 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
673 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
675 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
676 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
677 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
678 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
679 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
680 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
681 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
682 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
683 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
684 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
685 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
686 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
687 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
688 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
689 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
690 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
691 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
692 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
693 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
694 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
695 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
696 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
697 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
698 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
699 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
700 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
701 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
702 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
703 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
704 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
705 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
706 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
707 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
708 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
710 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
711 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
713 2014-08-04 Roland McGrath <roland@hack.frob.com>
715 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
716 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
717 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
718 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
719 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
720 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
722 2014-08-04 Roland McGrath <roland@hack.frob.com>
724 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
725 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
726 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
727 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
729 2014-08-04 Roland McGrath <roland@hack.frob.com>
731 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
732 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
733 (__libc_vfork): Define function under this name.
734 (__vfork): Define as an alias.
735 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
736 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
738 2014-08-04 Roland McGrath <roland@hack.frob.com>
740 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
741 that was previously under [RESET_PID].
742 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
744 2014-08-04 Andreas Schwab <schwab@suse.de>
746 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
748 2014-08-03 Mike Frysinger <vapier@gentoo.org>
750 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
753 2014-08-01 Roland McGrath <roland@hack.frob.com>
755 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
757 2014-08-01 Richard Henderon <rth@redhat.com>
759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
760 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
761 typo in exact zero test.
762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
764 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
766 2014-08-01 Roland McGrath <roland@hack.frob.com>
768 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
769 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
770 * sysdeps/arm/sysdep.h: ... here.
771 [!__ASSEMBLER__]: Include <stdint.h>.
773 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
775 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
776 (HAVE_WCTYPE_H): Likewise.
777 (HAVE_ISWCTYPE): Likewise.
778 (ENABLE_NLS): Likewise.
779 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
780 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
782 * posix/regex_internal.c: Check if DEBUG is defined and is
785 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
786 (HAVE_MBSRTOWCS): Likewise.
787 * posix/fnmatch.c: Include string.h unconditionally.
789 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
791 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
794 2014-07-31 Roland McGrath <roland@hack.frob.com>
796 * sysdeps/generic/safe-fatal.h: New file.
797 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
798 * nptl/forward.c: Include it.
799 (__pthread_unwind): Use __safe_fatal as default action, rather
800 than a bogus use of INTERNAL_SYSCALL that could never work.
802 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
803 * configure.ac (libc_cv_builtin_trap): New test.
804 * configure: Regenerated.
805 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
806 (ABORT_INSTRUCTION): Define using __builtin_trap.
808 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
809 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
810 * sysdeps/nptl/nptl-signals.h: New file.
811 * nptl/pthreadP.h: Include <nptl-signals.h>.
813 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
815 * sysdeps/s390/s390-64/utf16-utf32-z9.c
816 (ONE_DIRECTION): Define.
817 * sysdeps/s390/s390-64/utf8-utf16-z9.c
818 (ONE_DIRECTION): Define.
819 * sysdeps/s390/s390-64/utf8-utf32-z9.c
820 (ONE_DIRECTION): Define.
822 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
824 * sysdeps/s390/Makefile: Delete file.
825 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
826 * sysdeps/s390/__longjmp.c: Delete file.
827 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
828 Remove fields __flags and __reserved.
829 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
831 * sysdeps/s390/rtld-__longjmp.c: Delete file.
832 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
833 * sysdeps/s390/rtld-setjmp.S: Likewise.
834 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
835 * sysdeps/s390/s390-32/__longjmp.c: ... here.
836 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
837 * sysdeps/s390/s390-32/setjmp.S: ... here.
839 (__sigsetjmp): Remove setting __flags field.
840 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
841 * sysdeps/s390/s390-64/__longjmp.c: ... here.
842 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
843 * sysdeps/s390/s390-64/setjmp.S: ... here.
845 (__sigsetjmp): Remove setting __flags field.
846 * sysdeps/s390/setjmp.S: Delete file.
847 * sysdeps/s390/sigjmp.c: Likewise.
848 * sysdeps/s390/v1-longjmp.c: Likewise.
849 * sysdeps/s390/v1-setjmp.h: Likewise.
850 * sysdeps/s390/v1-sigjmp.c: Likewise.
851 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
852 Remove v1-longjmp_chk.
853 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
854 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
855 Include debug/longjmp_chk.c and add versioning.
856 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
857 Include nptl/pt-longjmp.c and add versioning.
858 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
859 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
861 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
864 (__getcontext): Remove setting __flags field.
866 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
867 Don't restore upper high grps.
868 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
870 (__swapcontext): Remove setting uc_flags field.
871 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
873 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
875 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
877 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
878 (__getcontext): Remove setting __flags field.
880 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
881 (__swapcontext): Remove setting uc_flags field.
882 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
883 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
884 Remove fields uc_high_gprs and __reserved.
885 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
886 New file with reverted content.
887 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
888 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
890 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
893 2014-07-31 Andreas Schwab <schwab@suse.de>
895 * config.h.in (HAVE_IFUNC): Define to 0.
896 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
899 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
902 memmove-avx-unaligned, memcpy-avx-unaligned and
903 mempcpy-avx-unaligned.
904 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
905 Add tests for AVX memcpy functions.
906 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
907 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
909 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
910 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
912 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
913 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
915 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
916 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
917 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
919 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
925 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
928 * manual/llio.texi: Add section about open file description locks.
929 * manual/examples/ofdlocks.c: Example of open file description
931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
932 F_OFD_SETLK, and F_OFD_SETLKW.
934 2014-07-23 Allan McRae <allan@archlinux.org>
936 * po/es.po: Update Spanish translation from translation project.
938 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
940 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
942 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
945 * sysdeps/arm/dl-machine.h (elf_machine_rela)
946 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
947 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
949 2014-07-17 Joseph Myers <joseph@codesourcery.com>
952 * math/fesetenv.c (__fesetenv)
953 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
954 * math/feupdateenv.c (__feupdateenv)
955 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
957 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
958 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
959 (__ASSUME_SOCKETCALL): Do not define.
961 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
962 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
963 (__ASSUME_SOCKETCALL): Do not define.
964 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
965 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
966 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
967 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
968 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
969 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
970 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
971 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
973 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
974 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
975 (__ASSUME_SOCKETCALL): Do not define.
976 (__ASSUME_IPC64): Define unconditionally.
977 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
978 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
979 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
980 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
981 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
982 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
983 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
986 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
987 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
988 (__ASSUME_SOCKETCALL): Do not define.
989 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
990 (__ASSUME_FUTEX_LOCK_PI): Likewise.
991 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
992 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
993 (__ASSUME_REQUEUE_PI): Define unconditionally.
994 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
995 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
996 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
997 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
998 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
999 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1001 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1002 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1003 (__ASSUME_SOCKETCALL): Do not define.
1004 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1005 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1006 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1007 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1008 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1009 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1011 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1012 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1013 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1014 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1015 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1016 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1017 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1018 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1019 (__ASSUME_GETCPU_SYSCALL): Likewise.
1021 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1022 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1023 cases for individual architectures.
1024 * sysdeps/gnu/configure: Regenerated.
1025 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1026 LIBC_SLIBDIR_RTLDDIR.
1027 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1028 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1029 LIBC_SLIBDIR_RTLDDIR.
1030 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1032 LIBC_SLIBDIR_RTLDDIR.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1035 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1036 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1038 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1039 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1041 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1042 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1043 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1044 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1046 * sysdeps/aarch64/shlib-versions: Move to ...
1047 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1048 * sysdeps/alpha/shlib-versions: Move to ...
1049 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1050 * sysdeps/arm/shlib-versions: Move to ...
1051 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1052 * sysdeps/hppa/shlib-versions: Move all contents except for
1053 libgcc_s entry to ...
1054 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1056 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1057 * sysdeps/ia64/shlib-versions: Move to ...
1058 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1060 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1061 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1062 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1063 * sysdeps/microblaze/shlib-versions: Move to ...
1064 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1065 * sysdeps/mips/shlib-versions: Move to ...
1066 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1068 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1069 * sysdeps/tile/shlib-versions: Move to ...
1070 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1071 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1073 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1074 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1076 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1078 2014-07-17 Will Newton <will.newton@linaro.org>
1080 * sysdeps/arm/bits/atomic.h
1081 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1082 (__arch_compare_and_exchange_bool_16_int): Likewise.
1083 (__arch_compare_and_exchange_bool_64_int): Likewise.
1085 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1086 into an #else block.
1088 2014-07-16 Roland McGrath <roland@hack.frob.com>
1090 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1091 just Linux configurations. Test empirically that the compiler sets
1092 __ARM_EABI__, rather than using the tuple to decide.
1093 * sysdeps/arm/preconfigure: Regenerated.
1094 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1095 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1096 contents appended ...
1097 * sysdeps/arm/configure.ac: ... here.
1098 * sysdeps/arm/configure: Regenerated.
1100 2014-07-15 Roland McGrath <roland@hack.frob.com>
1102 * nptl/pthread_kill.c: New file.
1103 * nptl/pthread_sigmask.c: New file.
1104 * nptl/pthread_sigqueue.c: New file.
1106 * sysdeps/nptl/lowlevellock.h: New file.
1107 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1108 * sysdeps/nptl/lowlevellock-futex.h: New file.
1110 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1111 Remove dead declarations.
1113 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1115 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1116 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1118 * sysdeps/x86_64/configure.ac: Likewise.
1119 * sysdeps/i386/configure: Regenerated.
1120 * sysdeps/x86_64/configure: Likewise.
1121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1122 memset-avx2 only if config-cflags-avx2 is yes.
1123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1124 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1126 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1127 only if HAVE_AVX2_SUPPORT is defined.
1128 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1130 2014-07-14 Alan Modra <amodra@gmail.com>
1133 * elf/elf.h (DT_PPC64_NUM): Correct value.
1134 * NEWS: Add to fixed bug list.
1136 2014-07-13 Jim Meyering <meyering@fb.com>
1139 regex: don't deref NULL upon heap allocation failure
1140 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1141 failure in one more place.
1142 To trigger the segfault, configure grep -with-included-regex,
1143 build it, and run these commands:
1144 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1146 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1148 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1150 2014-07-11 Richard Henderson <rth@redhat.com>
1152 * sysdeps/aarch64/libm-test-ulps: Update.
1154 2014-07-10 Florian Weimer <fweimer@redhat.com>
1157 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1158 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1159 (__nptl_setxid): Initialize error member. Call
1160 __nptl_setxid_error.
1161 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1162 * nptl/descr.h (struct xid_command): Add error member.
1163 * nptl/tst-setuid3.c: New file.
1164 * nptl/Makefile (tests): Add it.
1166 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1170 (__lll_trylock): Use __lll_base_trylock.
1171 (__lll_cond_trylock): Likewise.
1173 2014-07-10 Roland McGrath <roland@hack.frob.com>
1175 * nptl/pthread_create.c (start_thread): Use atomic_or and
1176 lll_futex_wake directly rather than lll_robust_dead.
1177 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1178 (lll_robust_dead): Macro removed.
1179 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1180 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1181 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1182 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1183 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1184 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1185 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1186 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1187 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1188 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1189 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1190 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1191 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1192 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1193 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1195 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1196 Use atomic_compare_and_exchange_val_acq directly rather than
1198 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1199 (__lll_robust_trylock, lll_robust_trylock): Removed.
1200 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1201 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1202 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1203 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1204 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1205 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1206 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1207 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1208 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1209 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1210 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1211 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1212 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1213 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1215 2014-07-02 Florian Weimer <fweimer@redhat.com>
1217 * manual/locale.texi (Locale Names): New section documenting
1218 locale name syntax. Adjust menu and node chaining accordingly.
1219 (Choosing Locale): Reference Locale Names, Locale Categories.
1220 Mention setting LC_ALL=C. Reflect that name syntax is now
1222 (Locale Categories): New section title. Reference Locale Names.
1223 LC_ALL is an environment variable, but not a category.
1224 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1225 description, now in Locale Name. Reference that section. Locale
1226 name syntax is now documented.
1228 2014-07-02 Florian Weimer <fweimer@redhat.com>
1231 * locale/findlocale.c (name_present, valid_locale_name): New
1233 (_nl_find_locale): Use the loc_name variable to store name
1234 candidates. Call name_present and valid_locale_name to check and
1235 validate locale names. Return an error if the locale is invalid.
1237 2014-07-02 Florian Weimer <fweimer@redhat.com>
1239 * locale/setlocale.c (setlocale): Use strdup for allocating
1240 composite name copy.
1242 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1244 Sync up with gnulib.
1245 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1246 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1247 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1248 and _GL_ARG_NONNULL.
1249 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1250 [!_LIBC]: Include code for Windows and Cygwin.
1251 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1252 Include prototype for int strerror_r.
1253 [!_LIBC] (is_open): New function.
1254 (flush_stdout): New function.
1255 (print_errno_message): Use it.
1257 (error_at_line): Likewise.
1258 (error_tail) Add function attribute macros. Use
1261 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1263 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1265 * io/ftw.c: Include sys/param.h unconditionally.
1267 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1270 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1272 (freecache): New function to free CACHE on exit.
1274 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1277 2014-07-09 David S. Miller <davem@davemloft.net>
1279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1281 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1282 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1283 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1284 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1285 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1286 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1287 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1288 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1289 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1290 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1291 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1292 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1293 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1295 2014-07-09 Andreas Schwab <schwab@suse.de>
1297 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1299 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1300 (do_test): Likewise.
1302 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1304 2014-07-09 Will Newton <will.newton@linaro.org>
1306 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1307 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1308 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1309 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1310 * sysdeps/hppa/start.S (_start): Likewise.
1312 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1314 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1316 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1319 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1321 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1322 after checking that it is non-NULL.
1324 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1326 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1328 * sysdeps/powerpc/memmove.c: Remove file.
1329 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1330 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1331 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1332 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1333 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1334 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1335 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1336 string memmove instead of removed powerpc one.
1338 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1339 [weak_alias]: Fix compiler warning due trailing data.
1340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1341 [weak_alias]: Likewise.
1342 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1343 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1346 (__libc_ifunc_impl_list): Add memmove functions.
1348 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1350 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1352 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1354 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1356 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1358 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1360 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1362 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1364 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1366 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1368 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1370 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1372 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1374 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1376 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1378 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1380 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1382 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1385 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1388 to avoid alignment traps in non-cacheable memory.
1389 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1393 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1394 file: multiarch power7 memmove.
1395 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1396 multiarch default memmove.
1397 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1398 multiarch memove for powerpc32/power4.
1400 * string/bcopy.c: Use full path to include memmove.c.
1401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1403 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1404 bcopy for powerpc64.
1405 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1406 bcopy for powerpc64.
1407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1408 and memmove implementations.
1409 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1410 optimized multiarch memmove for POWER7/powerpc64.
1411 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1412 default multiarch memmove for powerpc64.
1413 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1414 multiarch for powerpc64.
1415 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1416 for POWER7/powerpc64.
1417 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1418 memmove for POWER7/powerpc64.
1420 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1423 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1424 __ELF_NATIVE_CLASS equal to 64.
1426 2014-07-07 Roland McGrath <roland@hack.frob.com>
1428 * sysdeps/nptl/lowlevellock.h: File removed.
1430 * NEWS: NPTL is no longer an add-on!
1431 * nptl/internaltypes.h: Moved ...
1432 * sysdeps/nptl/internaltypes.h: ... here.
1433 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1434 * sysdeps/nptl/fork.c: Likewise.
1435 * sysdeps/nptl/gai_misc.h: Likewise.
1436 * sysdeps/nptl/librt-cancellation.c: Likewise.
1437 * sysdeps/nptl/jmp-unwind.c: Likewise.
1438 * sysdeps/nptl/setxid.h: Likewise.
1439 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1440 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1441 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1442 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1443 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1444 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1445 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1446 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1447 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1448 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1449 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1450 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1451 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1452 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1453 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1454 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1455 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1456 * nptl/Makeconfig: Moved ...
1457 * sysdeps/nptl/Makeconfig: ... here.
1458 * nptl/configure: File removed.
1459 * nptl/ANNOUNCE: File removed.
1460 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1461 * sysdeps/unix/sysv/linux/configure: Regenerated.
1463 * nptl/Makefile (routines): Add libc_pthread_init,
1464 libc_multiple_threads, register-atfork and unregister-atfork.
1465 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1466 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1467 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1468 pthread-pi-defines.sym, structsem.sym.
1469 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1470 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1471 [$(subdir) = nptl] (tests): Add tst-setgetname.
1472 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1473 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1474 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1475 [!LIBC_SIGACTION]: Remove aliases.
1476 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1477 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1478 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1479 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1480 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1481 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1482 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1483 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1484 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1485 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1486 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1487 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1488 __libc_allocate_rtsig_private.
1489 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1490 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1491 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1492 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1493 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1494 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1495 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1496 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1497 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1498 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1499 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1500 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1501 * nptl/internaltypes.h: ... here.
1502 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1503 * sysdeps/nptl/jmp-unwind.c: ... here.
1504 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1505 * nptl/libc-lowlevellock.c: ... here.
1506 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1507 * nptl/libc_multiple_threads.c: ... here.
1508 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1509 * nptl/libc_pthread_init.c: ... here.
1510 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1511 * nptl/lowlevelbarrier.sym: ... here.
1512 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1513 * nptl/lowlevelcond.sym: ... here.
1514 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1515 * nptl/lowlevellock.c: ... here.
1516 * nptl/lowlevellock.h: Moved ...
1517 * sysdeps/nptl/lowlevellock.h: ... here.
1518 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1519 * nptl/lowlevelrobustlock.c: ... here.
1520 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1521 * nptl/lowlevelrobustlock.sym: ... here.
1522 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1523 * nptl/lowlevelrwlock.sym: ... here.
1524 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1525 * nptl/pt-fork.c: ... here.
1526 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1527 * nptl/pthread-pi-defines.sym: ... here.
1528 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1529 * nptl/pthread_attr_getaffinity.c: ... here.
1530 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1531 * nptl/pthread_attr_setaffinity.c: ... here.
1532 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1533 * nptl/pthread_mutex_cond_lock.c: ... here.
1534 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1536 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1537 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1538 * nptl/pthread_once.c: ... here, replacing old file.
1539 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1540 * nptl/pthread_yield.c: ... here.
1541 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1542 * nptl/register-atfork.c: ... here.
1543 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1544 * nptl/sem_post.c: ... here.
1545 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1546 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1547 * nptl/sem_timedwait.c: ... here.
1548 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1549 * nptl/sem_trywait.c: ... here.
1550 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1551 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1552 * nptl/sem_wait.c: ... here.
1553 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1554 * nptl/structsem.sym: ... here.
1555 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1556 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1557 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1558 * nptl/unregister-atfork.c: ... here.
1559 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1560 * nptl/unwindbuf.sym: ... here.
1561 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1562 * sysdeps/nptl/fork.c: ... here.
1563 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1564 * sysdeps/nptl/fork.h: ... here.
1565 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1566 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1567 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1568 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1569 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1570 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1571 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1572 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1573 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1574 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1575 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1576 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1577 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1578 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1579 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1580 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1581 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1582 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1583 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1584 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1585 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1586 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1587 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1588 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1589 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1590 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1591 * sysdeps/unix/sysv/linux/raise.c: ... here.
1592 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1593 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1594 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1595 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1596 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1597 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1598 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1599 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1600 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1601 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1602 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1603 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1604 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1605 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1606 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1608 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1610 * sysdeps/generic/memcopy.h: Add comment for
1611 MEMCPY_OK_FOR_FWD_MEMMOVE.
1613 2014-07-04 Will Newton <will.newton@linaro.org>
1615 * string/memchr.c: Merge from gnulib.
1616 [_LIBC]: Remove conditionals.
1617 (__ptr_t): Remove define.
1618 (LONG_MAX_32_BITS): Likewise.
1619 (LONG_MAX): Likewise.
1620 (MEMCHR): Use ANSI prototype and optimize algorithm.
1622 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1624 2014-07-03 Roland McGrath <roland@hack.frob.com>
1626 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1627 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1629 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1630 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1631 in a bare environment with no <stdlib.h> installed.
1632 * sysdeps/nptl/configure: Regenerated.
1634 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1636 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1637 AC_EGREP_CPP for kernel header checks, so they only succeed if
1638 including <linux/version.h> actually works right.
1639 * sysdeps/unix/sysv/linux/configure: Regenerated.
1641 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1642 value so it's not diagnosed as unused.
1644 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1645 thing) with "ifeq ($(subdir),rt)".
1647 2014-07-03 Richard Henderson <rth@redhat.com>
1649 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1650 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1651 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1653 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1654 (math_force_eval): New.
1656 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1657 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1659 * sysdeps/alpha/fpu/s_round.c: Remove file.
1660 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1662 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1663 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1664 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1665 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1666 (_dl_start, print_statistics): Likewise.
1667 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1668 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1670 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1671 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1672 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1673 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1674 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1675 (HP_SMALL_TIMING_AVAIL): Define.
1676 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1677 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1678 (HP_SMALL_TIMING_AVAIL): Define.
1679 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1680 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1682 * sysdeps/aarch64/hp-timing.h: New file.
1684 * sysdeps/generic/hp-timing.h: Remove dead comment.
1685 * sysdeps/generic/hp-timing-common.h: New file.
1686 * sysdeps/alpha/hp-timing.h: Include it.
1687 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1688 * sysdeps/i386/i686/hp-timing.h: Likewise.
1689 * sysdeps/ia64/hp-timing.h: Likewise.
1690 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1691 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1692 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1693 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1694 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1695 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1698 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1699 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1700 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1701 * elf/rtld.c (_dl_start_final): Likewise.
1702 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1703 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1704 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1705 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1706 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1708 (HP_TIMING_DIFF_INIT): Remove.
1709 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1710 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1711 (HP_TIMING_DIFF_INIT): Remove.
1712 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1713 * sysdeps/i386/i686/hp-timing.c: Remove file.
1714 * sysdeps/x86_64/hp-timing.c: Remove file.
1715 * sysdeps/ia64/hp-timing.c: Remove file.
1716 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1717 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1718 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1719 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1721 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1722 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1723 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1724 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1726 (HP_TIMING_ACCUM): Remove.
1727 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1728 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1729 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1731 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1732 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1733 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1734 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1735 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1736 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1737 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1738 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1740 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1742 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1744 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1746 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1748 Sync up with gettext.
1749 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1750 [_MSC_VER]: Include malloc.h
1751 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1752 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1753 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1754 TEMP_FAILURE_RETRY. Cast return of alloca.
1755 [!_LIBC] Call gl_rwlock_init.
1756 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1758 2014-07-02 Roland McGrath <roland@hack.frob.com>
1760 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1761 before checking its value.
1763 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1765 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1767 * debug/memcpy_chk.c: Don't include pagecopy.h.
1768 * debug/mempcpy_chk.c: Likewise.
1769 * string/memcpy.c: Likewise.
1770 * string/memmove.c: Likewise.
1771 * sysdeps/powerpc/memmove.c: Likewise.
1772 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1773 definition of PAGE_COPY_FWD_MAYBE here...
1774 * sysdeps/generic/pagecopy.h: ... from here.
1775 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1777 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1778 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1780 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1784 (__libc_ifunc_impl_list): Likewise.
1785 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1786 multiarch strcat for PPC64.
1787 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1788 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1790 2014-07-02 Roland McGrath <roland@hack.frob.com>
1792 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1794 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1796 * intl/loadmsgcat.c: Remove declaration of
1797 get_sysdep_segment_value.
1798 (get_sysdep_segment_value): Use ISO C style.
1799 (_nl_load_domain): Use ISO C style. Get rid of redundant
1800 semicolon. Fix typo and formatting in comment.
1801 (_nl_unload_domain): Use ISO C style.
1803 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1805 2014-07-02 Will Newton <will.newton@linaro.org>
1807 * malloc/obstack.c: Merge from gnulib master.
1808 [HAVE_CONFIG_H]: Remove conditional code.
1809 [!_LIBC]: Include config.h.
1810 [!ELIDE_CODE]: Don't include inttypes.h, include
1811 stdint.h unconditionally.
1812 (print_and_abort): Mark as _Noreturn.
1813 (_obstack_allocated_p): Mark as __attribute_pure__.
1814 (obstack_free): Rename to __obstack_free.
1815 [!__attribute__]: Remove conditional code.
1816 * malloc/obstack.h: Merge from gnulib master.
1817 [__cplusplus]: Move conditional down.
1818 [!__attribute_pure__]: Define __attribute_pure__ here
1819 if it is not already defined.
1820 (_obstack_memory_used): Mark as __attribute_pure__.
1821 [!__obstack_free]: Define as obstack_free.
1822 [__GNUC__]: Remove check for ancient NeXT gcc.
1824 2014-07-02 Will Newton <will.newton@linaro.org>
1825 Paul Eggert <eggert@cs.ucla.edu>
1827 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1829 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1831 * resolv/gethnamaddr.c: Add comment warning that the file is
1834 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1836 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1839 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1840 entry for aio_cancel and aio_cancel64.
1841 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1842 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1843 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1844 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1845 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1846 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1847 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1848 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1849 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1850 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1851 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1852 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1853 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1855 2014-07-01 Roland McGrath <roland@hack.frob.com>
1857 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1858 * nptl/pthread_mutex_lock.c: Likewise.
1859 * nptl/pthread_mutex_timedlock.c: Likewise.
1860 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1862 2014-07-01 Richard henderson <rth@redhat.com>
1864 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1865 (__isnan, __isnanl): Remove.
1866 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1868 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1870 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1872 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1874 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1876 * resolv/nss_dns/dns-host.c (getanswer_r)
1877 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1879 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1881 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1882 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1884 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1885 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1887 2014-07-01 Roland McGrath <roland@hack.frob.com>
1889 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1890 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1892 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1893 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1895 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1896 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1898 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1899 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1901 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1902 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1903 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1904 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1906 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1907 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1908 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1909 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1910 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1912 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1914 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1915 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1917 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1918 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1919 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1935 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1936 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1937 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1938 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1939 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1940 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1941 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1942 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1944 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1946 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1947 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1948 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1951 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1955 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1958 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1960 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1962 * sysdeps/arm/libm-test-ulps: Regenerated.
1964 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1965 Roland McGrath <roland@hack.frob.com>
1967 * test-skeleton.c (signal_handler): Kill the whole process group
1968 before killing the child individually.
1969 (main): Report any failure on `setpgid'.
1971 2014-06-30 Roland McGrath <roland@hack.frob.com>
1973 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1974 from _TLS_H to _ARM_NPTL_TLS_H.
1975 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1976 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1978 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1981 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1982 (__expm1l): Return argument unchanged when small but not
1985 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1987 (_FP_UNPACK_RAW_1_P): Likewise.
1988 (_FP_PACK_RAW_1): Likewise.
1989 (_FP_PACK_RAW_1_P): Likewise.
1990 (_FP_MUL_MEAT_1_wide): Likewise.
1991 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1992 (_FP_MUL_MEAT_1_hard): Likewise.
1993 (_FP_DIV_MEAT_1_imm): Likewise.
1994 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1995 (_FP_DIV_MEAT_1_udiv): Likewise.
1996 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1997 (_FP_UNPACK_RAW_2): Likewise.
1998 (_FP_UNPACK_RAW_2_P): Likewise.
1999 (_FP_PACK_RAW_2): Likewise.
2000 (_FP_PACK_RAW_2_P): Likewise.
2001 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2002 (_FP_MUL_MEAT_2_wide): Likewise.
2003 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2004 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2005 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2006 (_FP_MUL_MEAT_2_gmp): Likewise.
2007 (_FP_DIV_MEAT_2_udiv): Likewise.
2008 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2009 (_FP_FRAC_SRL_4): Likewise.
2010 (_FP_FRAC_SRST_4): Likewise.
2011 (_FP_FRAC_SRS_4): Likewise.
2012 (_FP_UNPACK_RAW_4): Likewise.
2013 (_FP_UNPACK_RAW_4_P): Likewise.
2014 (_FP_PACK_RAW_4): Likewise.
2015 (_FP_PACK_RAW_4_P): Likewise.
2016 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2017 (_FP_MUL_MEAT_4_wide): Likewise.
2018 (_FP_MUL_MEAT_4_gmp): Likewise.
2019 (umul_ppppmnnn): Likewise.
2020 (_FP_DIV_MEAT_4_udiv): Likewise.
2021 (__FP_FRAC_ADD_4): Likewise.
2022 (__FP_FRAC_SUB_3): Likewise.
2023 (__FP_FRAC_SUB_4): Likewise.
2024 (__FP_FRAC_DEC_3): Likewise.
2025 (__FP_FRAC_DEC_4): Likewise.
2026 (__FP_FRAC_ADDI_4): Likewise.
2027 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2028 (_FP_FRAC_SRL_8): Likewise.
2029 (_FP_FRAC_SRS_8): Likewise.
2031 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2033 (FP_UNPACK_RAW_EP): Likewise.
2034 (FP_PACK_RAW_E): Likewise.
2035 (FP_PACK_RAW_EP): Likewise.
2036 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2037 (_FP_ISSIGNAN): Likewise.
2038 (_FP_ADD_INTERNAL): Likewise.
2039 (_FP_FMA): Likewise.
2040 (_FP_CMP): Likewise.
2041 (_FP_SQRT): Likewise.
2042 (_FP_TO_INT): Likewise.
2043 (_FP_FROM_INT): Likewise.
2044 (FP_EXTEND): Likewise.
2045 (_FP_DIV_MEAT_N_loop): Likewise.
2047 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2049 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2052 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2055 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2056 result with correct sign in case of exponents that produce
2057 overflow except for X very close to 1.
2059 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2061 mktime: merge #if/#ifdef usage from glibc
2062 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2063 as that works with both Glibc's and Gnulib's style.
2064 See thread starting at Siddhesh Poyarekar's bug report at:
2065 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2067 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2069 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2070 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2071 * sysdeps/tile/tilegx/memmove.c: Remove file.
2073 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2075 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2076 abi-name definition.
2077 * scripts/soversions.awk: Do not handle or generate ABI lines.
2078 * shlib-versions: Remove ABI entries.
2079 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2080 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2082 2014-06-27 Roland McGrath <roland@hack.frob.com>
2084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2085 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2086 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2087 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2089 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2092 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2094 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2095 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2097 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2099 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2101 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2103 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2105 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2108 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2110 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2112 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2115 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2118 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2120 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2123 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2125 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2127 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2129 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2132 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2134 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2135 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2137 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2138 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2140 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2141 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2142 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2143 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2145 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2147 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2148 Identical file removed.
2149 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2151 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2153 Identical file removed.
2154 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2155 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2156 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2158 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2159 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2160 Identical file removed.
2161 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2162 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2163 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2164 Identical file removed.
2165 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2166 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2167 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2168 Identical file removed.
2169 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2170 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2171 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2172 Identical file removed.
2173 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2175 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2176 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2177 Identical file removed.
2178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2180 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2181 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2182 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2183 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2184 Identical file removed.
2185 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2187 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2189 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2190 Identical file removed.
2191 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2193 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2195 Identical file removed.
2196 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2198 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2200 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2201 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2202 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2203 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2205 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2206 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2207 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2209 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2210 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2211 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2212 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2213 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2215 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2218 * nscd/nscd.c (monitor_child): Return exit status of child
2219 instead of return value from wait syscall.
2221 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2223 * configure.ac (libc_commonpagesize): Remove variable.
2224 (libc_relro_required): Likewise.
2225 (libc_cv_z_relro): Remove configure test.
2226 * configure: Regenerated.
2227 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2229 (libc_relro_required): Likewise.
2230 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2231 (libc_relro_required): Likewise.
2232 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2233 (libc_relro_required): Likewise.
2234 * sysdeps/arm/preconfigure: Regenerated.
2235 * sysdeps/ia64/preconfigure: Remove file.
2236 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2238 (libc_relro_required): Likewise.
2242 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2243 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2244 recompute overflowing results in original rounding mode.
2245 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2246 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2247 recompute overflowing results in original rounding mode.
2248 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2249 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2250 recompute overflowing results in original rounding mode.
2251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2252 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2253 recompute overflowing results in original rounding mode.
2254 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2255 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2256 recompute overflowing results in original rounding mode.
2257 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2258 (libc_feholdsetround_ctx): New macro.
2259 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2260 * sysdeps/i386/fpu/libm-test-ulps: Update.
2261 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2263 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2265 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2266 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2267 corresponding .cpsetup call.
2269 2014-06-26 Roland McGrath <roland@hack.frob.com>
2271 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2272 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2273 * sysdeps/arm/Makefile [$(subdir) = csu]
2274 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2275 (static-only-routines): Add aeabi_read_tp here.
2276 (shared-only-routines): Add libc-aeabi_read_tp here.
2277 (CFLAGS-libc-start.c): Add -fexceptions here.
2278 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2279 (sysdep_routines, static-only-routines, shared-only-routines):
2280 Don't add to these here.
2281 (CFLAGS-libc-start.c): Likewise.
2283 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2284 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2285 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2286 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2287 * sysdeps/arm/Makefile [$(subdir) = rt]
2288 (librt-sysdep_routines, librt-shared-only-routines):
2289 Append rt-aeabi_unwind_cpp_pr1 here.
2290 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2291 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2292 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2293 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2294 Append nptl-aeabi_unwind_cpp_pr1 here.
2295 (tests): Filter out tst-cleanupx4 here.
2296 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2297 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2298 Don't do those here.
2300 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2302 * scripts/list-sources.sh: Do not handle ports specially.
2304 2014-06-26 Roland McGrath <roland@hack.frob.com>
2306 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2307 * sysdeps/arm/feupdateenv.c: Likewise.
2309 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2311 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2313 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2314 trailing whitespace removed.
2315 * scripts/config.guess: Update to version 2014-03-23.
2316 * scripts/config.sub: Update to version 2014-05-01
2317 * scripts/install-sh: Update to version 2013-12-25.23.
2318 * scripts/move-if-change: Update from gnulib.
2320 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2322 * debug/memmove_chk.c: Remove pagecopy.h include.
2324 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2326 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2327 identical to gnulib mktime.
2329 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2331 * configure.ac: Do not test for machine being rs6000. Do not test
2333 * configure: Regenerated.
2335 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2337 * configure: Regenerated.
2338 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2339 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2340 Remove configure test.
2341 * sysdeps/arm/configure: Regenerated.
2342 * sysdeps/nptl/configure.ac: Do not check
2343 libc_cv_asm_cfi_directives.
2344 * sysdeps/nptl/configure: Regenerated.
2345 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2346 * sysdeps/x86_64/nptl/configure: Remove generated file.
2347 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2349 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2351 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2353 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2354 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2355 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2358 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2359 instead of whether it is defined.
2360 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2361 * sysdeps/hppa/dl-machine.h: Likewise.
2362 * sysdeps/ia64/dl-machine.h: Likewise.
2363 * sysdeps/m68k/dl-machine.h: Likewise.
2364 * sysdeps/microblaze/dl-machine.h: Likewise.
2365 * sysdeps/mips/dl-machine.: Likewise.
2366 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2367 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2368 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2369 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2370 * sysdeps/sh/dl-machine.h: Likewise.
2371 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2373 * sysdeps/tile/dl-machine.h: Likewise.
2374 * sysdeps/x86_64/dl-machine.h: Likewise.
2376 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2378 (verify_persistent_db): Likewise.
2380 2014-06-26 Roland McGrath <roland@hack.frob.com>
2382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2383 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2388 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2393 Identical file removed.
2394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2399 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2403 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2406 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2408 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2413 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2415 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2417 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2419 Identical file removed.
2420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2421 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2423 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2426 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2431 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2433 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2435 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2437 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2440 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2443 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2445 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2448 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2450 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2454 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2455 * sysdeps/unix/sysv/linux/s390/Versions
2456 (libpthread: GLIBC_2.19): New version set.
2457 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2458 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2459 (librt: GLIBC_2.3.3): New version set.
2460 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2461 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2462 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2464 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2466 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2467 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2468 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2470 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2472 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2473 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2474 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2475 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2476 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2478 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2480 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2482 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2483 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2484 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2485 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2486 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2488 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2489 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2490 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2491 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2496 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2498 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2499 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2500 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2502 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2504 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2507 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2508 (__libc_vfork): Define the function under this name.
2509 [!NOT_IN_libc] (__vfork): Make this an alias.
2510 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2512 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2513 (__libc_vfork): Define the function under this name.
2514 [!NOT_IN_libc] (__vfork): Make this an alias.
2515 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2516 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2517 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2518 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2519 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2520 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2522 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2523 code that was previously under [RESET_PID].
2524 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2525 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2528 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2529 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2530 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2531 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2532 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2533 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2534 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2535 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2536 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2537 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2538 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2540 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2541 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2542 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2543 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2544 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2545 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2546 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2548 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2549 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2550 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2551 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2552 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2554 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2555 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2556 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2558 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2559 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2560 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2561 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2562 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2563 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2564 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2565 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2566 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2567 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2568 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2570 2014-06-25 Roland McGrath <roland@hack.frob.com>
2572 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2573 that was previously under [RESET_PID].
2574 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2576 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2578 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2579 not undefine and redefine.
2580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2581 [O_CLOEXEC]: Make code unconditional.
2582 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2583 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2584 <kernel-features.h>.
2585 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2586 conditional variable definition.
2587 (shm_open) [O_CLOEXEC]: Make code unconditional.
2588 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2591 * configure.ac (USE_REGPARMS): Don't define here.
2592 * configure: Regenerated.
2593 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2594 * sysdeps/i386/configure: Regenerated.
2596 * nptl/createthread.c: Don't include kernel-features.h.
2597 * nptl/pthread_cancel.c: Likewise.
2598 * nptl/pthread_condattr_setclock.c: Likewise.
2599 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2600 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2601 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2602 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2603 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2604 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2605 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2606 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2607 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2608 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2609 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2610 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2611 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2612 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2613 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2614 * nscd/gai.c: Likewise.
2615 * nss/nss_db/db-open.c: Likewise.
2616 * sysdeps/generic/ldsodefs.h: Likewise.
2617 * sysdeps/sh/nptl/tls.h: Likewise.
2618 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2619 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2620 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2621 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2622 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2623 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2624 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2625 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2626 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2627 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2628 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2629 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2630 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2631 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2632 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2633 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2634 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2635 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2636 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2637 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2638 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2639 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2640 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2641 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2642 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2643 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2644 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2645 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2646 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2647 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2648 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2649 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2650 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2651 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2652 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2653 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2654 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2655 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2656 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2657 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2658 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2659 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2660 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2661 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2662 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2663 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2664 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2665 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2666 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2667 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2668 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2669 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2670 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2671 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2672 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2673 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2675 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2698 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2699 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2700 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2701 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2702 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2703 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2704 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2705 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2706 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2707 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2708 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2709 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2710 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2711 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2712 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2713 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2715 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2716 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2717 * sysdeps/unix/sysv/linux/system.c: Likewise.
2718 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2719 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2720 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2721 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2722 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2723 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2724 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2726 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2727 * configure: Regenerated.
2728 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2730 * configure.ac (base_machine): Do not set specially for particular
2732 * configure: Regenerated.
2733 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2734 settings from configure.ac.
2735 * sysdeps/i386/preconfigure: New file.
2736 * sysdeps/s390/preconfigure: Likewise.
2737 * sysdeps/sh/preconfigure: Likewise.
2738 * sysdeps/sparc/preconfigure: Likewise.
2740 2014-06-25 Roland McGrath <roland@hack.frob.com>
2742 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2743 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2744 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2745 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2746 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2747 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2748 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2749 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2750 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2751 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2752 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2753 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2754 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2755 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2756 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2757 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2759 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2760 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2762 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2763 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2764 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2765 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2766 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2767 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2768 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2769 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2770 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2771 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2772 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2773 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2774 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2775 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2776 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2777 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2778 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2779 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2780 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2781 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2782 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2783 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2784 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2785 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2786 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2787 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2788 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2789 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2790 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2791 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2792 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2793 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2794 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2795 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2796 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2797 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2798 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2799 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2802 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2804 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2807 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2810 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2815 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2817 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2819 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2821 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2824 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2827 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2829 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2832 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2834 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2838 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2843 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2851 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2855 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2857 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2860 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2863 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2865 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2868 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2874 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2876 * timezone/checktab.awk: Update from tzcode 2014e.
2877 * timezone/private.h: Likewise.
2878 * timezone/tzfile.h: Likewise.
2879 * timezone/zdump.c: Likewise.
2880 * timezone/zic.c: Likewise.
2882 * sysdeps/unix/sysv/linux/kernel-features.h
2883 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2885 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2886 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2887 Remove conditional code.
2889 2014-06-25 Will Newton <will.newton@linaro.org>
2891 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2892 (_dl_arm_cap_flags): Add HWCAP2 values.
2893 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2894 (_DL_HWCAP_COUNT): Increase to 37.
2895 (_DL_HWCAP_LAST): New define.
2896 (_DL_HWCAP2_LAST): New define.
2897 (_dl_procinfo): Add support for printing
2899 (_dl_string_hwcap): Use _dl_hwcap_string.
2901 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2905 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2907 * README: Do not mention ports directory.
2909 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2911 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2912 <kernel-features.h>.
2913 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2914 conditional variable definition.
2915 (__futimes): Update comment.
2916 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2917 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2920 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2921 arguments close to 0.
2922 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2924 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2926 * math/auto-libm-test-in: Add more tests of exp10.
2927 * math/auto-libm-test-out: Regenerated.
2928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2930 * sysdeps/unix/sysv/linux/kernel-features.h
2931 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2932 * sysdeps/unix/sysv/linux/readv.c: Do not include
2933 <kernel-features.h>.
2934 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2935 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2936 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2938 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2940 * sysdeps/unix/sysv/linux/writev.c: Do not include
2941 <kernel-features.h>.
2942 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2943 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2944 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2946 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2949 2014-06-25 Will Newton <will.newton@linaro.org>
2951 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2952 comment changes throughout the file. Remove checks
2953 for HAVE_*_H definitions that are not required.
2954 (__gen_tempname): Call abort if an unknown kind value is
2957 2014-06-25 Andreas Schwab <schwab@suse.de>
2960 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2961 scalbln, scalblnf, scalblnl in libc.
2963 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2966 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2967 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2968 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2970 2014-06-24 Roland McGrath <roland@hack.frob.com>
2972 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2973 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2974 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2975 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2977 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2978 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2980 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2981 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2982 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2983 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2984 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2985 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2986 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2987 * sysdeps/x86/bits/semaphore.h: ... here.
2988 * sysdeps/x86/nptl/elide.h: Moved ...
2989 * sysdeps/x86/elide.h: ... here.
2990 * sysdeps/x86_64/nptl/Implies: File removed.
2991 * sysdeps/i386/nptl/Implies: File removed.
2993 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2996 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2997 return the argument for normal arguments with exponent below -64.
2998 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3000 * math/auto-libm-test-in: Add another test of expm1.
3001 * math/auto-libm-test-out: Regenerated.
3004 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3005 calling __erfcl for arguments at least 16.
3006 * math/auto-libm-test-in: Add more tests of erf.
3007 * math/auto-libm-test-out: Regenerated.
3009 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3010 individual architectures.
3011 * sysdeps/unix/sysv/linux/configure: Regenerated.
3012 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3013 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3014 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3015 (ldd_rewrite_script): Define variable.
3016 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3021 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3022 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3023 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3024 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3025 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3026 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3027 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3028 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3030 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3033 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3034 Rename member __data.d to __data.__elision_data.
3036 2014-06-24 Wilco <wdijkstr@arm.com>
3038 * NEWS: Add 16918 to fixed bug list.
3040 2014-06-24 Wilco <wdijkstr@arm.com>
3042 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3044 2014-06-24 Wilco <wdijkstr@arm.com>
3046 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3047 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3048 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3049 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3050 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3051 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3052 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3055 2014-06-24 Wilco <wdijkstr@arm.com>
3057 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3059 2014-06-24 Wilco <wdijkstr@arm.com>
3061 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3062 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3063 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3064 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3066 2014-06-24 Wilco <wdijkstr@arm.com>
3069 * sysdeps/arm/feupdateenv.c (feupdateenv):
3070 Rewrite to reduce FPSCR accesses and fix return value.
3072 2014-06-24 Wilco <wdijkstr@arm.com>
3074 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3075 Optimize to avoid unnecessary FPSCR writes.
3076 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3077 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3078 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3079 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3081 2014-06-24 Wilco <wdijkstr@arm.com>
3083 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3084 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3085 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3086 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3087 Call libc_fetestexcept_vfp.
3088 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3089 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3090 __SOFTFP__ ifdef so that they can be built for softfp.
3092 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3094 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3095 argument type signed char.
3097 * Makerules (check-abi): Dump diff of symlist if the test
3100 2014-06-23 Roland McGrath <roland@hack.frob.com>
3102 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3105 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3106 Remove unused variable ST.
3108 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3112 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3113 small arguments before calling __expm1.
3114 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3115 small arguments before calling __expm1f.
3116 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3117 small arguments before calling __expm1l.
3118 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3120 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3121 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3122 spurious underflow for some cosh tests.
3123 * math/auto-libm-test-out: Regenerated.
3124 * sysdeps/i386/fpu/libm-test-ulps: Update.
3127 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3128 (__ieee754_y1): Set errno if return value overflows.
3129 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3130 (__ieee754_y1f): Set errno if return value overflows.
3131 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3132 (__ieee754_y1l): Set errno if return value overflows.
3133 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3134 (__ieee754_y1l): Set errno if return value overflows.
3135 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3136 * math/auto-libm-test-out: Regenerated.
3138 * math/gen-auto-libm-tests.c: Document use of
3139 ignore-zero-inf-sign.
3140 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3141 (input_flags): Add ignore-zero-inf-sign.
3142 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3143 * math/gen-libm-test.pl (generate_testfile): Handle
3144 ignore-zero-inf-sign.
3145 * math/auto-libm-test-in: Mark some cpow tests with
3146 ignore-zero-inf-sign and some with xfail-rounding.
3147 * math/auto-libm-test-out: Regenerated.
3148 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3149 * sysdeps/i386/fpu/libm-test-ulps: Update.
3150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3154 overflowing or underflowing operations take place with sign of
3156 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3157 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3158 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3159 (__ieee754_pow): Recompute overflowing and underflowing results in
3160 original rounding mode.
3161 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3162 (__powl_helper): Allow negative argument X and scale negated value
3163 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3164 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3165 overflowing or underflowing operations take place with sign of
3167 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3169 * math/auto-libm-test-in: Add more tests of pow.
3170 * math/auto-libm-test-out: Regenerated.
3171 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3172 (pow_tonearest_test_data): Remove.
3173 (pow_test_tonearest): Likewise.
3174 (pow_towardzero_test_data): Likewise.
3175 (pow_test_towardzero): Likewise.
3176 (pow_downward_test_data): Likewise.
3177 (pow_test_downward): Likewise.
3178 (pow_upward_test_data): Likewise.
3179 (pow_test_upward): Likewise.
3180 (main): Don't call removed functions.
3181 * sysdeps/i386/fpu/libm-test-ulps: Update.
3182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3184 2014-06-23 Roland McGrath <roland@hack.frob.com>
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3360 2014-06-23 Will Newton <will.newton@linaro.org>
3361 Wilco <wdijkstr@arm.com>
3363 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3364 implementation. Include get-rounding-mode.h.
3365 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3366 [!libc_feholdsetround_noex_ctx]: Define
3367 libc_feholdsetround_noex_ctx.
3368 [!libc_feholdsetround_noexf_ctx]: Define
3369 libc_feholdsetround_noexf_ctx.
3370 [!libc_feholdsetround_noexl_ctx]: Define
3371 libc_feholdsetround_noexl_ctx.
3372 (libc_feholdsetround_ctx): New function.
3373 (libc_feresetround_ctx): New function.
3374 (libc_feholdsetround_noex_ctx): New function.
3375 (libc_feresetround_noex_ctx): New function.
3377 2014-06-23 Roland McGrath <roland@hack.frob.com>
3379 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3380 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3381 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3382 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3383 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3384 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3386 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3387 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3388 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3389 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3390 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3391 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3393 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3395 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3398 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3400 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3401 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3403 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3404 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3406 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3407 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3408 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3410 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3411 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3412 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3413 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3415 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3418 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3421 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3423 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3425 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3426 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3427 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3428 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3429 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3431 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3434 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3436 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3437 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3439 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3441 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3443 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3445 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3447 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3450 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3451 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3452 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3453 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3454 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3455 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3457 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3459 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3461 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3463 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3464 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3465 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3466 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3467 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3468 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3469 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3470 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3472 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3473 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3474 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3476 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3477 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3478 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3479 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3480 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3481 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3482 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3484 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3486 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3487 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3488 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3489 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3490 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3492 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3494 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3495 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3496 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3497 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3498 (IPV6_PMTUDISC_INTERFACE): Likewise.
3499 (IPV6_PMTUDISC_OMIT): Likewise.
3501 2014-06-23 Andreas Schwab <schwab@suse.de>
3503 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3504 Remove unused errout label.
3506 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3508 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3509 macro: hardware supports Vector Crypto instructions.
3511 2014-06-23 Will Newton <will.newton@linaro.org>
3513 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3514 rather than __builtin_expect.
3516 * elf/dl-lookup.c (undefined_msg): Remove variable.
3517 (_dl_lookup_symbol_x): Replace undefined_msg with string
3520 * elf/dl-lookup.c (do_lookup_unique): New function.
3521 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3522 to a separate function.
3524 2014-06-23 Andreas Schwab <schwab@suse.de>
3527 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3528 before reading the next line.
3530 2014-06-23 Will Newton <will.newton@linaro.org>
3532 * test-skeleton.c (signal_handler): Use printf and %m
3533 rather than perror. Use printf rather than fprintf to
3534 stderr. Use puts rather than fputs to stderr.
3537 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3539 * nscd/nscd.c (thread_info_t): Remove typedef.
3540 (thread_info): Remove variable.
3542 2014-06-21 Allan McRae <allan@archlinux.org>
3544 * NEWS: Mention CVE-2014-4043.
3546 2014-06-20 Roland McGrath <roland@hack.frob.com>
3548 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3549 * nptl/smp.h: ... here.
3551 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3553 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3554 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3555 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3556 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3558 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3559 * nptl/stack-aliasing.h: New file.
3560 * sysdeps/i386/i686/stack-aliasing.h: New file.
3561 * sysdeps/i386/i686/nptl/Makefile: File removed.
3562 * sysdeps/x86_64/stack-aliasing.h: New file.
3563 * sysdeps/x86_64/nptl/Makefile
3564 (CFLAGS-pthread_create.c): Variable removed.
3566 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3567 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3569 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3570 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3573 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3575 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3576 (__ASSUME_SIGFRAME_V2): Remove macro.
3577 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3578 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3579 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3580 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3581 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3582 Declare as function. Remove conditional macro definitions.
3583 (__default_rt_sa_restorer): Likewise.
3584 (__default_sa_restorer_v1): Remove declaration.
3585 (__default_sa_restorer_v2): Likewise.
3586 (__default_rt_sa_restorer_v1): Likewise.
3587 (__default_rt_sa_restorer_v2): Likewise.
3588 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3589 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3590 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3592 2014-06-20 Roland McGrath <roland@hack.frob.com>
3594 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3595 (libpthread-routines): Add sysdep.
3596 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3597 * sysdeps/unix/sysv/linux/sparc/Versions
3598 (libpthread: GLIBC_2.3.3): New version set.
3599 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3600 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3601 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3602 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3603 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3604 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3606 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3608 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3610 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3611 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3612 * sysdeps/sparc/nptl/sem_init.c: ... here.
3613 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3614 * sysdeps/sparc/nptl/sem_post.c: ... here.
3615 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3616 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3617 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3618 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3620 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3621 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3622 (libpthread-routines): Add cpu_relax.
3623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3625 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3626 (librt: GLIBC_2.3.3): New version set.
3627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3628 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3629 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3630 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3633 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3636 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3638 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3640 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3642 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3644 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3647 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3651 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3655 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3659 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3663 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3667 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3670 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3676 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3678 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3681 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3683 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3685 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3687 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3689 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3690 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3691 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3692 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3693 * nscd/nscd.c: Likewise.
3694 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3695 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3696 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3697 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3699 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3700 <kernel-features.h>.
3701 (init_mq_netlink): Remove conditional have_sock_cloexec
3702 definitions. Remove code conditional on have_sock_cloexec < 0.
3703 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3704 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3705 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3706 <kernel-features.h>.
3707 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3708 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3710 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3713 Add tests for memset_chk and memset.
3715 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3718 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3721 * elf/tst-dl-iter-static.c: New file.
3722 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3724 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3727 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3729 * sysdeps/unix/sysv/linux/kernel-features.h
3730 (__ASSUME_F_GETOWN_EX): Remove macro.
3731 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3732 <kernel-features.h>.
3733 (miss_F_GETOWN_EX): Remove variable or macro.
3734 (do_fcntl): Do not check miss_F_GETOWN_EX.
3735 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3740 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3741 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3743 * sysdeps/unix/sysv/linux/kernel-features.h
3744 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3745 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3746 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3747 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3749 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3752 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3753 Fix calculation of the symbol's value.
3754 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3755 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3756 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3757 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3758 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3759 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3760 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3761 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3762 (modules-names): Add `tst-armtlsdescmod',
3763 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3764 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3765 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3766 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3767 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3768 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3769 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3770 ($(objpfx)tst-armtlsdescloc): New dependency.
3771 ($(objpfx)tst-armtlsdescextnow): Likewise.
3772 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3773 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3775 * sysdeps/arm/configure: Regenerate.
3777 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3779 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3780 (__atfct_seterrno_2): Likewise.
3781 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3782 <kernel-features.h>.
3783 (__ASSUME_ATFCTS): Do not undefine and redefine.
3784 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3785 (__have_atfcts): Remove conditional definition.
3786 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3787 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3788 unreachable if [__ASSUME_ATFCTS].
3789 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3790 not undefine and redefine.
3791 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3792 <kernel-features.h>.
3793 (faccessat) [__NR_faccessat]: Make code unconditional.
3794 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3795 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3796 <kernel-features.h>.
3797 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3798 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3799 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3800 <kernel-features.h>.
3801 (fchownat) [__NR_fchownat]: Make code unconditional.
3802 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3803 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3804 <kernel-features.h>.
3805 (futimesat) [__NR_futimesat]: Make code unconditional.
3806 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3807 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3808 <kernel-features.h>.
3809 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3810 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3811 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3812 <kernel-features.h>.
3813 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3814 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3815 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3816 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3817 <kernel-features.h>.
3818 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3819 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3820 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3821 <kernel-features.h>.
3822 (linkat) [__NR_linkat]: Make code unconditional.
3823 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3824 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3825 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3826 <kernel-features.h>.
3827 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3828 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3829 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3830 <kernel-features.h>.
3831 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3832 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3833 * sysdeps/unix/sysv/linux/openat.c: Do not include
3834 <kernel-features.h>.
3835 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3836 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3837 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3838 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3839 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3840 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3841 <kernel-features.h>.
3842 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3843 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3844 result of INLINE_SYSCALL directly, not via int variable.
3845 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3846 <kernel-features.h>.
3847 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3848 (renameat) [__NR_renameat]: Make code unconditional.
3849 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3850 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3851 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3852 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3853 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3854 (__ASSUME_ATFCTS): Do not undefine and redefine.
3855 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3856 <kernel-features.h>.
3857 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3858 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3859 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3860 <kernel-features.h>.
3861 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3862 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3863 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3864 (__ASSUME_ATFCTS): Do not undefine and redefine.
3865 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3866 <kernel-features.h>.
3867 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3868 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3869 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3870 <kernel-features.h>.
3871 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3872 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3874 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3876 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3878 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3881 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3882 constructed tree before returning error.
3883 * posix/bug-regexp36.c: Expand test case.
3885 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3888 * math/libm-test.inc (scalbln_test_date):
3889 Add errno expectations.
3890 * math/w_scalblnf.c: New File.
3891 Add wrapper which checks for setting errno to ERANGE.
3892 Add weak_alias for corresponding scalbln function.
3893 * math/w_scalbln.c: Likewise.
3894 * math/w_scalblnl.c: Likewise.
3895 * math/Makefile (libm-calls): Add w_scalbln.
3896 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3897 Remove weak_alias for corresponding scalbln function.
3898 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3900 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3902 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3903 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3904 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3905 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3906 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3907 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3908 Remove long_double_symbol for scalblnl function in libm, libc.
3909 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3910 Add wrapper which checks for setting errno to ERANGE.
3911 Add long_double_symbol for scalblnl function in libm, libc.
3912 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3913 Remove long_double_symbol for scalblnl in libm.
3914 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3915 Add wrapper which checks for setting errno to ERANGE.
3916 Add long_double_symbol for scalblnl function in libm.
3917 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3918 Do not use wrapper because of own implementation.
3920 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3922 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3923 3 bytes for __pad1 for x32.
3924 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3926 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3927 H.J. Lu <hongjiu.lu@intel.com>
3929 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3930 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3931 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3932 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3933 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3935 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3938 * posix/regcomp.c (parse_expression): Deallocate partially
3939 constructed tree before returning error.
3940 * posix/Makefile.c (tests): Add bug-regex36.
3941 (generated): Add bug-regex36.mtrace.
3942 (tests-special): Add $(objpfx)bug-regex36-mem.out
3943 (bug-regex36-ENV): New variable.
3944 ($(objpfx)bug-regex36-mem.out): New rule.
3945 * posix/bug-regex36.c: New file.
3947 2014-06-19 Will Newton <will.newton@linaro.org>
3949 * malloc/malloc.c (systrim): If extra is zero then return
3952 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3954 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3956 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3958 * sysdeps/aarch64/strchr.S: New file.
3960 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3963 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3964 from arguments -2 or below.
3965 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3966 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3968 2014-06-18 Andreas Schwab <schwab@suse.de>
3971 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3972 of a bracket expr not to run off the end of the string.
3973 * posix/Makefile (tests): Add tst-fnmatch3.
3974 * posix/tst-fnmatch3.c: New file.
3976 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3978 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3979 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3980 [$(cross-compiling) = no]: Likewise.
3981 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3982 [$(cross-compiling) = no]: Likewise.
3984 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3988 double, adjusted for any remainder from the high double.
3989 * math/libm-test.inc (nearbyint): Add tests.
3992 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3994 * nptl/sysdeps/powerpc/Makefile: Moved ...
3995 * sysdeps/powerpc/nptl/Makefile: ... here.
3996 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3997 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3998 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3999 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4000 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4001 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4002 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4003 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4004 * nptl/sysdeps/powerpc/tls.h: Moved ...
4005 * sysdeps/powerpc/nptl/tls.h: ... here.
4007 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4010 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4011 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4012 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4013 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4014 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4015 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4016 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4017 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4018 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4020 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4022 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4024 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4026 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4029 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4032 2014-06-16 Florian Weimer <fweimer@redhat.com>
4035 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4036 non-executed part of the test.
4038 2014-06-16 Andreas Schwab <schwab@suse.de>
4040 * string/bits/string2.h (strdup, strndup): Update feature guard.
4042 2014-06-14 David S. Miller <davem@davemloft.net>
4044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4046 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4048 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4049 that was previously under [RESET_PID].
4050 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4052 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4053 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4054 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4055 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4056 (__libc_vfork): New strong alias.
4057 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4059 2014-06-14 Andi Kleen <ak@linux.intel.com>
4061 * sysdeps/generic/elide.h: New file.
4063 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4065 * Makefile (installed-headers): Adjust path of pthread.h header.
4067 2014-06-13 Roland McGrath <roland@hack.frob.com>
4069 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4070 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4071 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4072 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4074 * nptl/sysdeps/s390/Makefile: Moved ...
4075 * sysdeps/s390/nptl/Makefile: ... here.
4076 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4077 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4078 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4079 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4080 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4081 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4082 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4083 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4084 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4085 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4086 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4087 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4088 * nptl/sysdeps/s390/tls.h: Moved ...
4089 * sysdeps/s390/nptl/tls.h: ... here.
4091 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4092 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4094 2014-06-13 David S. Miller <davem@davemloft.net>
4096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4097 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4099 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4103 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4104 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4105 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4106 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4107 Remove RESET_PID cpp guards.
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4109 Remove RESET_PID cpp guards.
4110 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4112 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4114 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4117 2014-06-13 Andi Kleen <ak@linux.intel.com>
4119 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4120 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4121 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4122 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4123 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4124 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4125 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4126 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4127 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4128 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4129 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4130 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4131 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4133 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4134 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4135 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4136 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4137 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4140 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4141 (pthread_rwlock_rdlock): Add elision.
4142 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4143 (pthread_rwlock_wrlock): Add elision.
4144 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4145 (pthread_rwlock_trywrlock): Add elision.
4146 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4147 (pthread_rwlock_tryrdlock): Add elision.
4148 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4149 (pthread_rwlock_tryrdlock): Add elision unlock.
4150 * nptl/sysdeps/pthread/pthread.h:
4151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4152 (PTHREAD_RWLOCK_INITIALIZER,
4153 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4154 Handle new elision field.
4155 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4156 * sysdeps/arm/nptl/bits/pthreadtypes.h
4157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4158 * sysdeps/sh/nptl/bits/pthreadtypes.h
4159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4160 * sysdeps/tile/nptl/bits/pthreadtypes.h
4161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4162 * sysdeps/a/nptl/bits/pthreadtypes.h
4163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4164 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4166 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4168 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4170 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4172 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4174 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4176 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4178 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4180 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4181 (elision_init): Set try_xbegin to zero when no RTM.
4182 * sysdeps/x86/nptl/bits/pthreadtypes.h
4183 (pthread_rwlock_t): Change __pad1 to __rwelision.
4184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4186 2014-06-13 Andi Kleen <ak@linux.intel.com>
4188 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4189 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4190 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4191 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4193 2014-06-13 Meador Inge <meadori@codesourcery.com>
4196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4197 that the cached result has been set before returning it.
4199 2014-06-12 Roland McGrath <roland@hack.frob.com>
4201 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4202 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4204 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4205 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4206 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4208 * nptl/sysdeps/sparc/Makefile: Moved ...
4209 * sysdeps/sparc/nptl/Makefile: ... here.
4210 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4211 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4212 * nptl/sysdeps/sparc/tls.h: Moved ...
4213 * sysdeps/sparc/nptl/tls.h: ... here.
4214 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4215 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4216 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4217 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4218 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4219 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4220 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4221 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4222 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4223 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4224 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4225 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4226 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4227 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4228 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4229 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4230 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4231 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4233 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4234 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4236 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4237 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4239 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4240 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4243 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4245 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4246 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4248 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4249 (struct list_links): Type removed.
4250 (struct thread_node, struct timer_node): Replace struct list_links
4251 with struct list_head.
4252 (list_unlink_ip): Likewise.
4253 * sysdeps/pthread/timer_routines.c
4254 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4255 (list_append, list_insbefore): Likewise.
4256 (list_init): Function removed.
4257 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4258 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4259 * sysdeps/pthread/Makefile: ... here, new file.
4261 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4262 * sysdeps/nptl/Implies: ... here.
4263 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4264 * nptl/sysdeps/pthread/list.h: Moved ...
4265 * include/list.h: ... here.
4266 * nptl/sysdeps/pthread/createthread.c: Moved ...
4267 * nptl/createthread.c: ... here.
4268 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4269 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4270 * nptl/pt-longjmp.c: ... here.
4271 * nptl/sysdeps/pthread/Makefile: Moved ...
4272 * sysdeps/nptl/Makefile: ... here.
4273 * nptl/sysdeps/pthread/Subdirs: Moved ...
4274 * sysdeps/nptl/Subdirs: ... here.
4275 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4276 * sysdeps/nptl/aio_misc.h: ... here.
4277 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4278 * sysdeps/nptl/bits/libc-lock.h: ... here.
4279 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4280 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4281 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4282 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4283 * nptl/sysdeps/pthread/configure: Moved ...
4284 * sysdeps/nptl/configure: ... here.
4285 * nptl/sysdeps/pthread/configure.ac: Moved ...
4286 * sysdeps/nptl/configure.ac: ... here.
4287 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4288 * sysdeps/nptl/gai_misc.h: ... here.
4289 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4290 * sysdeps/nptl/librt-cancellation.c: ... here.
4291 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4292 * sysdeps/nptl/malloc-machine.h: ... here.
4293 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4294 * sysdeps/nptl/pthread-functions.h: ... here.
4295 * nptl/sysdeps/pthread/pthread.h: Moved ...
4296 * sysdeps/nptl/pthread.h: ... here.
4297 * nptl/sysdeps/pthread/setxid.h: Moved ...
4298 * sysdeps/nptl/setxid.h: ... here.
4299 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4300 * sysdeps/nptl/sigfillset.c: ... here.
4301 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4302 * sysdeps/nptl/tcb-offsets.h: ... here.
4303 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4304 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4305 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4306 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4307 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4308 * sysdeps/pthread/allocalim.h: ... here.
4309 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4310 * sysdeps/pthread/bits/sigthread.h: ... here.
4311 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4312 * sysdeps/pthread/flockfile.c: ... here.
4313 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4314 * sysdeps/pthread/ftrylockfile.c: ... here.
4315 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4316 * sysdeps/pthread/funlockfile.c: ... here.
4317 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4318 * sysdeps/pthread/posix-timer.h: ... here.
4319 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4320 * sysdeps/pthread/timer_create.c: ... here.
4321 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4322 * sysdeps/pthread/timer_delete.c: ... here.
4323 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4324 * sysdeps/pthread/timer_getoverr.c: ... here.
4325 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4326 * sysdeps/pthread/timer_gettime.c: ... here.
4327 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4328 * sysdeps/pthread/timer_routines.c: ... here.
4329 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4330 * sysdeps/pthread/timer_settime.c: ... here.
4331 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4332 * sysdeps/pthread/tst-timer.c: ... here.
4333 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4334 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4336 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4337 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4339 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4340 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4341 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4342 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4343 Update #include target.
4344 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4345 * sysdeps/i386/i686/nptl/Makefile: ... here.
4346 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4347 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4348 Update #include target.
4349 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4350 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4351 * nptl/sysdeps/i386/Makefile: Moved ...
4352 * sysdeps/i386/nptl/Makefile: ... here.
4353 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4354 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4355 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4356 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4357 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4358 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4359 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4360 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4361 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4362 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4363 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4364 * nptl/sysdeps/i386/tls.h: Moved ...
4365 * sysdeps/i386/nptl/tls.h: ... here.
4367 * sysdeps/sh/Makefile [$(subdir) = csu]
4368 (gen-as-const-headers): Add tcb-offsets.sym.
4369 * nptl/sysdeps/sh/Makefile: File removed.
4370 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4371 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4372 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4373 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4374 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4375 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4376 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4377 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4378 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4379 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4380 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4381 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4382 * nptl/sysdeps/sh/tls.h: Moved ...
4383 * sysdeps/sh/nptl/tls.h: ... here.
4384 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4385 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4387 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4389 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4391 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4392 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4393 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4395 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4397 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4399 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4401 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4402 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4403 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4404 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4405 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4406 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4407 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4410 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4411 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4413 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4415 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4417 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4418 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4419 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4420 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4421 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4422 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4423 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4424 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4425 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4426 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4427 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4428 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4429 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4430 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4431 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4433 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4435 * posix/spawn_faction_addopen.c: Include string.h.
4437 2014-06-11 Roland McGrath <roland@hack.frob.com>
4439 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4440 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4441 * nptl/sysdeps/x86_64/Makefile: Moved ...
4442 * sysdeps/x86_64/nptl/Makefile: ... here.
4443 * nptl/sysdeps/x86_64/configure: Moved ...
4444 * sysdeps/x86_64/nptl/configure: ... here.
4445 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4446 * sysdeps/x86_64/nptl/configure.ac: ... here.
4447 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4448 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4449 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4450 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4451 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4452 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4453 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4454 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4455 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4456 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4457 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4458 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4459 * nptl/sysdeps/x86_64/tls.h: Moved ...
4460 * sysdeps/x86_64/nptl/tls.h: ... here.
4461 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4462 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4463 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4464 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4466 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4468 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4472 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4474 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4476 [POSIX] (off_t): Likewise.
4477 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4478 [POSIX] (S_ISBLK): Require macro.
4479 [POSIX] (S_ISCHR): Likewise.
4480 [POSIX] (S_ISDIR): Likewise.
4481 [POSIX] (S_ISFIFO): Likewise.
4482 [POSIX] (S_ISREG): Likewise.
4483 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4485 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4487 [POSIX] (time_t): Likewise.
4488 [POSIX] (timer_t): Likewise.
4490 2014-06-11 Florian Weimer <fweimer@redhat.com>
4493 * posix/spawn_int.h (struct __spawn_action): Make the path string
4494 non-const to support deallocation.
4495 * posix/spawn_faction_addopen.c
4496 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4497 * posix/spawn_faction_destroy.c
4498 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4499 path in all spawn_do_open actions.
4500 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4501 posix_spawn_file_actions_addopen.
4503 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4505 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4506 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4507 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4508 conditional code always true.
4509 (__libc_vfork): New alias.
4511 2014-06-11 Roland McGrath <roland@hack.frob.com>
4513 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4514 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4516 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4518 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4519 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4521 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4522 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4524 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4525 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4527 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4529 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4530 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4531 multiarch strcmp for PPC64.
4532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4533 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4535 multiarch optimizations.
4536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4537 (__libc_ifunc_impl_list): Likewise.
4539 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4541 * benchtests/scripts/validate_benchout.py: New script.
4542 * benchtests/Makefile (bench-func): Call it.
4543 * benchtests/scripts/benchout.schema.json: New file.
4545 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4547 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4548 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4549 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4550 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4551 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4552 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4553 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4554 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4555 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4556 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4557 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4558 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4559 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4560 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4561 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4562 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4667 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4672 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4688 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4689 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4691 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4693 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4696 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4698 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4700 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4701 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4702 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4704 2014-06-10 Wilco <wdijkstr@arm.com>
4706 * math/test-fenv-return.c: New file.
4707 * math/Makefile: Add new test test-fenv-return.
4709 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4712 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4714 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4715 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4716 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4717 0.0L for an argument of 1.0L.
4718 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4720 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4721 value when x - 1 is zero.
4722 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4723 * sysdeps/i386/fpu/libm-test-ulps: Update.
4724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4726 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4729 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4731 2014-06-09 Roland McGrath <roland@hack.frob.com>
4733 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4734 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4736 2014-06-09 Roland McGrath <roland@hack.frob.com>
4738 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4739 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4741 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4742 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4744 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4745 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4747 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4748 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4750 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4751 if not already defined.
4752 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4753 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4754 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4755 (TLS_INIT_TP): Use it.
4756 (TLS_DEFINE_INIT_TP): New macro.
4757 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4759 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4761 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4763 [POSIX] (IXANY): Likewise.
4764 [POSIX] (OLCUC): Likewise.
4765 [POSIX || POSIX2008] (CBAUD): Do not allow.
4766 [POSIX || POSIX2008] (DEFECHO): Likewise.
4767 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4768 [POSIX || POSIX2008] (ECHOKE): Likewise.
4769 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4770 [POSIX || POSIX2008] (EXTA): Likewise.
4771 [POSIX || POSIX2008] (EXTB): Likewise.
4772 [POSIX || POSIX2008] (FLUSHO): Likewise.
4773 [POSIX || POSIX2008] (LOBLK): Likewise.
4774 [POSIX || POSIX2008] (PENDIN): Likewise.
4775 [POSIX || POSIX2008] (SWTCH): Likewise.
4776 [POSIX || POSIX2008] (VDISCARD): Likewise.
4777 [POSIX || POSIX2008] (VDSUSP): Likewise.
4778 [POSIX || POSIX2008] (VLNEXT): Likewise.
4779 [POSIX || POSIX2008] (VREPRINT): Likewise.
4780 [POSIX || POSIX2008] (VSTATUS): Likewise.
4781 [POSIX || POSIX2008] (VWERASE): Likewise.
4782 (B*): Change to B[0123456789]*.
4783 * conform/data/time.h-data [POSIX || UNIX98]
4784 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4785 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4786 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4787 [POSIX] (tm_*): Do not allow.
4789 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4791 * Makefile (install): Don't set LANGUAGE.
4792 * Makefile.in (install): Likewise.
4793 * assert/Makefile (test-assert-ENV): Remove variable.
4794 (test-assert-perr-ENV): Likewise.
4795 * elf/Makefile (neededtest4-ENV): Likewise.
4796 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4797 [$(cross-compiling) = no]: Don't set LANGUAGE.
4798 * io/ftwtest-sh (LANG): Remove variable.
4799 * libio/Makefile (tst-widetext-ENV): Likewise.
4800 * manual/install.texi (Running make install): Don't refer to
4801 environment settings for make install.
4802 * INSTALL: Regenerated.
4803 * nptl/tst-tls6.sh: Don't set LANG.
4804 * posix/globtest.sh (LANG): Remove variable.
4805 * string/Makefile (tester-ENV): Likewise.
4806 (inl-tester-ENV): Likewise.
4807 (noinl-tester-ENV): Likewise.
4808 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4809 [$(cross-compiling) = no]: Don't set LANGUAGE.
4810 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4811 without explicit environment settings.
4813 2014-06-06 Roland McGrath <roland@hack.frob.com>
4815 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4816 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4817 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4818 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4820 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4822 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4823 other files in the crypt directory.
4824 * crypt/crypt.c: Remove duplicate includes.
4825 * crypt/crypt-entry.c: Likewise.
4826 * crypt/crypt_util.c: Likewise.
4828 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4830 * Makeconfig (run-program-env): New variable.
4831 (run-program-prefix-before-env): Likewise.
4832 (run-program-prefix-after-env): Likewise.
4833 (run-program-prefix): Define in terms of new variables.
4834 (built-program-cmd-before-env): New variable.
4835 (built-program-cmd-after-env): Likewise.
4836 (built-program-cmd): Define in terms of new variables.
4837 (test-program-prefix-before-env): New variable.
4838 (test-program-prefix-after-env): Likewise.
4839 (test-program-prefix): Define in terms of new variables.
4840 (test-program-cmd-before-env): New variable.
4841 (test-program-cmd-after-env): Likewise.
4842 (test-program-cmd): Define in terms of new variables.
4843 * Rules (make-test-out): Use $(run-program-env).
4844 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4845 (help): Do not mention environment variables. Mention
4846 --timeoutfactor option.
4847 (timeoutfactor): New variable.
4848 (blacklist_exports): Remove function.
4849 (exports): Remove variable.
4850 (command): Do not include ${exports}.
4851 * manual/install.texi (Configuring and compiling): Do not mention
4852 test wrappers preserving environment variables. Mention that last
4853 assignment to a variable must take precedence.
4854 * INSTALL: Regenerated.
4855 * benchtests/Makefile (run-bench): Use $(run-program-env).
4856 * catgets/Makefile ($(objpfx)test1.cat): Use
4857 $(built-program-cmd-before-env), $(run-program-env) and
4858 $(built-program-cmd-after-env).
4859 ($(objpfx)test2.cat): Do not specify environment variables
4861 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4862 $(run-program-env) and $(built-program-cmd-after-env).
4863 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4864 $(run-program-env) and $(test-program-cmd-after-env).
4865 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4867 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4868 run_program_env and test_program_cmd_after_env arguments.
4869 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4870 * elf/tst-pathopt.sh: Use run_program_env argument.
4871 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4872 $(test-wrapper-env) and $(run-program-env).
4873 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4874 run_program_env arguments.
4875 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4876 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4877 $(test-program-prefix-before-env), $(run-program-env) and
4878 $(test-program-prefix-after-env).
4879 ($(objpfx)tst-gettext2.out): Likewise.
4880 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4881 run_program_env and test_program_prefix_after_env arguments.
4882 * intl/tst-gettext2.sh: Likewise.
4883 * intl/tst-gettext4.sh: Do not set environment variables
4885 * intl/tst-gettext6.sh: Likewise.
4886 * intl/tst-translit.sh: Likewise.
4887 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4888 $(test-program-prefix-before-env), $(run-program-env) and
4889 $(test-program-prefix-after-env).
4890 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4891 run_program_env and test_program_prefix_after_env arguments.
4892 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4893 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4894 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4895 explicitly with each use of ${test_wrapper_env}.
4896 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4897 $(test-program-prefix-before-env), $(run-program-env) and
4898 $(test-program-prefix-after-env).
4899 * posix/tst-getconf.sh: Do not set environment variables
4901 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4902 run_program_env and test_program_prefix_after_env arguments.
4903 * stdio-common/tst-printf.sh: Do not set environment variables
4905 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4906 $(test-program-prefix-before-env), $(run-program-env) and
4907 $(test-program-prefix-after-env).
4908 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4909 run_program_env and test_program_prefix_after_env arguments.
4910 Split $test calls into $test_pre and $test.
4911 * timezone/Makefile (build-testdata): Use
4912 $(built-program-cmd-before-env), $(run-program-env) and
4913 $(built-program-cmd-after-env).
4915 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4917 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4918 strlen for non SHARED builds.
4920 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4922 * nptl/allocatestack.c (check_list): Inlined function...
4923 (__reclaim_stacks): ... here.
4925 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4928 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4931 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4933 * Rules (make-test-out): Include
4934 LOCPATH=$(common-objpfx)localedata in default environment.
4935 * debug/Makefile (tst-chk1-ENV): Remove variable.
4936 (tst-chk2-ENV): Likewise.
4937 (tst-chk3-ENV): Likewise.
4938 (tst-chk4-ENV): Likewise.
4939 (tst-chk5-ENV): Likewise.
4940 (tst-chk6-ENV): Likewise.
4941 (tst-lfschk1-ENV): Likewise.
4942 (tst-lfschk2-ENV): Likewise.
4943 (tst-lfschk3-ENV): Likewise.
4944 (tst-lfschk4-ENV): Likewise.
4945 (tst-lfschk5-ENV): Likewise.
4946 (tst-lfschk6-ENV): Likewise.
4947 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4948 (tst-iconv7-ENV): Likewise.
4949 * intl/Makefile (LOCPATH-ENV): Likewise.
4950 (tst-codeset-ENV): Likewise.
4951 (tst-gettext3-ENV): Likewise.
4952 (tst-gettext5-ENV): Likewise.
4953 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4954 (tst-fopenloc-ENV): Likewise.
4955 (tst-fgetws-ENV): Remove variable.
4956 (tst-ungetwc1-ENV): Likewise.
4957 (tst-ungetwc2-ENV): Likewise.
4958 (bug-ungetwc2-ENV): Likewise.
4959 (tst-swscanf-ENV): Likewise.
4960 (bug-ftell-ENV): Likewise.
4961 (tst-fgetwc-ENV): Likewise.
4962 (tst-fseek-ENV): Likewise.
4963 (tst-ftell-partial-wide-ENV): Likewise.
4964 (tst-ftell-active-handler-ENV): Likewise.
4965 (tst-ftell-append-ENV): Likewise.
4966 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4967 (tst-regexloc-ENV): Likewise.
4968 (bug-regex1-ENV): Likewise.
4969 (tst-regex-ENV): Likewise.
4970 (tst-regex2-ENV): Likewise.
4971 (bug-regex5-ENV): Likewise.
4972 (bug-regex6-ENV): Likewise.
4973 (bug-regex17-ENV): Likewise.
4974 (bug-regex18-ENV): Likewise.
4975 (bug-regex19-ENV): Likewise.
4976 (bug-regex20-ENV): Likewise.
4977 (bug-regex22-ENV): Likewise.
4978 (bug-regex23-ENV): Likewise.
4979 (bug-regex25-ENV): Likewise.
4980 (bug-regex26-ENV): Likewise.
4981 (bug-regex30-ENV): Likewise.
4982 (bug-regex32-ENV): Likewise.
4983 (bug-regex33-ENV): Likewise.
4984 (bug-regex34-ENV): Likewise.
4985 (bug-regex35-ENV): Likewise.
4986 (tst-rxspencer-ENV): Likewise.
4987 (tst-rxspencer-no-utf8-ENV): Likewise.
4988 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4989 (tst-sscanf-ENV): Likewise.
4990 (tst-swprintf-ENV): Likewise.
4991 (tst-swscanf-ENV): Likewise.
4992 (test-vfprintf-ENV): Likewise.
4993 (scanf13-ENV): Likewise.
4994 (bug14-ENV): Likewise.
4995 (tst-grouping-ENV): Likewise.
4996 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4997 (tst-strtod3-ENV): Likewise.
4998 (tst-strtod4-ENV): Likewise.
4999 (tst-strtod5-ENV): Likewise.
5000 (testmb2-ENV): Likewise./
5001 * string/Makefile (tst-strxfrm-ENV): Likewise.
5002 (tst-strxfrm2-ENV): Likewise.
5003 (bug-strcoll1-ENV): Likewise.
5004 (test-strcasecmp-ENV): Likewise.
5005 (test-strncasecmp-ENV): Likewise.
5006 * time/Makefile (tst-strptime-ENV): Likewise.
5007 (tst-ftime_l-ENV): Likewise.
5008 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5009 (tst-mbrtowc-ENV): Likewise.
5010 (tst-wcrtomb-ENV): Likewise.
5011 (tst-mbrtowc2-ENV): Likewise.
5012 (tst-c16c32-1-ENV): Likewise.
5013 (tst-mbsnrtowcs-ENV): Likewise.
5015 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5017 * manual/resource.texi (How to get information about the memory
5018 subsystem?): Fix typo.
5019 Reported by Peon de la Parra Ivan <peon@keba.com>
5021 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5024 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5025 (pthread_spin_lock): Branch out of spin loop to proper location.
5026 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5027 (pthread_spin_lock): Likewise.
5029 * nptl/tst-spin4.c: New test.
5030 * nptl/Makefile (tests): Add tst-spin4.
5032 2014-06-03 Andreas Schwab <schwab@suse.de>
5035 * resolv/res_send.c (send_dg): Reload file descriptor after
5038 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5040 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5042 2014-06-03 Richard Henderson <rth@redhat.com>
5044 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5045 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5046 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5047 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5048 in the SAVE_PID block.
5049 (__libc_vfork): New alias.
5050 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5052 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5053 child in registers, not on the stack. Remove RESET_PID conditionals.
5054 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5056 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5058 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5060 2014-06-03 Wilco <wdijkstr@arm.com>
5062 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5063 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5064 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5065 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5066 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5069 2014-06-03 Wilco <wdijkstr@arm.com>
5071 * sysdeps/aarch64/fpu/math_private.h
5072 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5073 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5074 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5075 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5078 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5080 * crypt/crypt-private.h: Include ufc-crypt.h.
5081 (__b64_from_24bit): Declare extern.
5082 * crypt/crypt_util.c(__b64_from_24bit): New function.
5083 (b64t): New static const variable.
5084 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5085 (b64t): Remove variable.
5086 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5087 * crypt/sha256-crypt.c: Include crypt-private.h.
5088 (b64t): Remove variable.
5089 (__sha256_crypt_r): Remove b64_from_24bit and replace
5090 with __b64_from_24bit.
5091 * crypt/sha512-crypt.c: Likewise.
5093 2014-06-02 Roland McGrath <roland@hack.frob.com>
5095 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5096 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5097 Label the code __libc_vfork rather than __vfork.
5098 [!NOT_IN_libc] (vfork): Define as weak alias.
5099 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5100 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5101 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5103 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5105 * malloc/malloc.c (malloc_info): Fix format specifier for
5108 2014-06-02 Wilco <wdijkstr@arm.com>
5110 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5113 2014-06-02 Wilco <wdijkstr@arm.com>
5116 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5117 Rewrite to reduce FPCR/FPSR accesses.
5119 2014-06-01 David S. Miller <davem@davemloft.net>
5121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5123 2014-05-31 David S. Miller <davem@davemloft.net>
5125 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5126 to occur in round to nearest mode when |x| >= 2.0
5128 2014-05-30 Richard Henderson <rth@twiddle.net>
5130 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5131 (PSEUDO_RET_NOERRNO): Remove.
5132 (ret): Don't redefine.
5133 (ret_NOERRNO): Define in terms of ret.
5134 (ret_ERRVAL): Likewise.
5136 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5137 use of PSEUDO_RET; perform the error check directly.
5139 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5141 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5144 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5146 * malloc/malloc (malloc_info): Fix formatting.
5148 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5149 Roland McGrath <roland@hack.frob.com>
5151 * malloc/malloc (malloc_info): Also print mmapped statistics.
5153 2014-05-30 Roland McGrath <roland@hack.frob.com>
5155 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5156 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5158 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5160 * malloc/malloc.c (malloc_info): Inline mi_arena.
5162 2014-05-29 Richard Henderson <rth@twiddle.net>
5164 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5165 Remove comma before expanding ASM_ARGS_##nr.
5166 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5167 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5169 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5170 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5171 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5172 (ASM_ARGS_1): Add leading comma.
5174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5175 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5176 to __errno_location.
5177 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5178 Remove the expected plt for __errno_location.
5180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5181 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5184 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5185 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5186 it and break it down.
5187 (DOCARGS_0, DOCARGS_1): Do nothing.
5188 (DOCARGS_2): Update to store into the new stack frame.
5189 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5190 (UNDOCARGS_1): Update to restore from the new stack frame.
5191 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5192 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5194 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5195 (SINGLE_THREAD_P): New parameter for result regno.
5196 (PSEUDO): Update to match; use cbz instead of beq.
5198 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5199 Use ENTRY to define the _nocancel entry point. Share the syscall
5200 and syscall error check paths with the cancel path.
5203 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5204 whitespace; tabs before and after asm mnemonics.
5206 2014-05-29 Eric Wong <normalperson@yhbt.net>
5209 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5210 Call fstat64 or stat64 internally, depending on arguments passed.
5211 Replace stat buffer argument with file descriptor argument.
5212 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5213 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5214 Pass fd to __internal_statvfs instead of calling fstat64.
5215 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5216 Pass fd to __internal_statvfs64 instead of calling fstat64.
5217 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5218 Pass -1 to __internal_statvfs instead of calling stat64.
5219 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5220 Pass -1 to __internal_statvfs64 instead of calling stat64.
5222 2014-05-28 Roland McGrath <roland@hack.frob.com>
5224 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5225 that was previously under [RESET_PID].
5226 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5228 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5229 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5231 2014-05-27 Roland McGrath <roland@hack.frob.com>
5233 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5235 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5236 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5238 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5240 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5242 2014-05-27 Andreas Schwab <schwab@suse.de>
5244 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5246 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5247 * elf/rtld.c (init_tls, dl_main): Likewise.
5248 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5249 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5250 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5251 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5252 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5253 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5254 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5255 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5256 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5257 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5258 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5259 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5260 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5261 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5262 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5263 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5264 * sysdeps/generic/tls.h: Update description.
5266 2014-05-27 Will Newton <will.newton@linaro.org>
5269 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5270 and restore r2 rather than just restoring.
5272 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5275 * libio/tst-ftell-append.c: New test case.
5276 * libio/Makefile (tests): Add test case.
5277 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5279 * libio/wfileops.c (do_ftell_wide): Likewise.
5281 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5285 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5289 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5290 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5291 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5292 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5293 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5294 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5301 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5302 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5303 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5304 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5305 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5307 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5310 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5312 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5314 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5316 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5318 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5319 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5320 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5321 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5326 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5344 conditional [RESET_PID].
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5353 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5354 (__libc_vfork): New strong alias.
5355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5362 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5363 (__libc_vfork): New strong alias.
5364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5369 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5371 * malloc/malloc.c (mi_arena): New function.
5372 (malloc_info): Remove nested function mi_arena. Call non-nosted
5375 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5377 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5379 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5380 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5381 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5382 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5383 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5384 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5385 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5387 2014-05-26 Andreas Schwab <schwab@suse.de>
5390 * locale/programs/repertoire.c (repertoire_read): Add slash
5391 between I18NPATH element and file name.
5392 * locale/programs/locfile.c (locfile_read): Likewise.
5394 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5396 * nptl/pthread_mutexattr_settype.c
5397 (__pthread_mutexattr_settype):
5398 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5400 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5402 * nptl/tst-mutex5 (do_test):
5403 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5405 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5407 * benchtests/README: Document 'init' directive.
5408 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5410 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5411 (parse_file): Recognize 'init' directive.
5413 2014-05-26 Kyle McMartin <kyle@redhat.com>
5416 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5417 alignment of struct pthread.
5419 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5422 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5423 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5424 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5425 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5427 2014-05-25 Richard Henderson <rth@twiddle.net>
5429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5430 (SINGLE_THREAD_P_PIC): Remove.
5431 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5432 (SINGLE_THREAD_P_PIC): Remove.
5434 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5435 branch to syscall error ...
5437 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5438 from __local_syscall_error to .Lsyscall_error.
5439 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5440 (SYSCALL_ERROR): Update label name.
5442 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5443 Do not use DOARGS/UNDOARGS.
5444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5445 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5446 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5447 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5448 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5453 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5454 define if !NOT_IN_libc.
5455 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5456 define with non-default symbol versions.
5458 2014-05-23 Richard Henderson <rth@twiddle.net>
5460 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5461 (vfork, __vfork): Define via compat_symbol.
5463 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5464 [!HAVE_IFUNC] (vfork_compat): Remove.
5465 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5467 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5470 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5471 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5474 2014-05-23 Richard Henderson <rth@twiddle.net>
5476 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5477 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5478 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5479 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5481 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5482 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5483 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5484 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5485 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5486 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5487 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5488 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5489 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5490 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5491 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5492 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5493 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5494 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5495 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5496 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5497 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5498 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5499 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5500 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5502 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5503 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5504 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5505 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5506 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5507 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5508 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5509 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5510 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5511 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5512 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5514 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5515 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5516 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5517 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5518 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5519 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5520 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5521 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5522 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5523 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5524 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5525 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5526 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5528 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5529 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5530 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5531 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5532 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5533 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5534 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5535 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5536 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5538 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5539 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5540 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5541 before exiting on error.
5542 (__libc_vfork): New strong alias.
5543 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5544 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5546 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5547 that was previously under [RESET_PID].
5548 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5550 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5552 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5555 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5556 value when x - 1 is zero.
5557 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5558 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5559 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5560 0.0L for an argument of 1.0L.
5561 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5563 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5564 value when x - 1 is zero.
5565 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5566 * sysdeps/i386/fpu/libm-test-ulps: Update.
5567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5569 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5571 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5572 alphasort and versionsort.
5574 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5576 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5578 [copysignf]: Likewise.
5580 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5582 * crypt/md5-crypt.c: Fix formatting.
5584 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5586 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5587 (b64_from_24bit): New function.
5589 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5592 libc_hidden_builtin_def to ifunc.
5593 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5594 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5596 2014-05-21 Roland McGrath <roland@hack.frob.com>
5598 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5599 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5601 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5603 * nscd/Depend (linuxthreads): Remove.
5605 * resolv/Depend (linuxthreads): Remove.
5606 * rt/Depend (linuxthreads): Remove.
5608 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5609 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5610 $(common-objpfx)elf/.
5611 (link-libc-before-gnulib): Likewise.
5612 (elfobjdir): Remove variable.
5613 * Makefile (install): Use $(elf-objpfx) instead of
5614 $(common-objpfx)elf/.
5615 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5617 (link-libc-deps): Likewise.
5618 ($(common-objpfx)libc.so): Likewise.
5619 ($(common-objpfx)linkobj/libc.so): Likewise.
5620 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5621 instead of $(common-objpfx)elf/.
5622 (symbolic-link-list): Likewise.
5623 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5624 [$(cross-compiling) = no]: Likewise.
5625 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5627 (static-gnulib-arch): Likewise.
5628 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5629 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5630 $(common-objpfx)elf/.
5632 2014-05-21 Richard Henderson <rth@redhat.com>
5634 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5635 (SINGLE_THREAD_P): Use the correct width load. Fold
5636 into the ldr offset.
5638 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5639 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5641 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5643 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5644 (libgcc_s_resume): Use __attribute_used__.
5645 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5648 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5650 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5651 optimization when used with float constants.
5653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5655 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5658 * locale/nl_langinfo_l.c: Make direct reference to every
5659 _nl_current_CATEGORY symbol.
5660 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5661 (tests-static): Add tst-langinfo-static.
5662 (tests-special): Add tst-langinfo-static.out.
5663 ($(objpfx)tst-langinfo.out): Redirect output.
5664 ($(objpfx)tst-langinfo-static.out): New.
5665 * localedata/tst-langinfo.sh: Send output to stdout.
5666 * localedata/tst-langinfo-static.c: New file.
5669 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5670 when the shift amount is modulo the limb size.
5672 2014-05-20 Richard Henderson <rth@redhat.com>
5675 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5676 Change type of sa_flags from unsigned int to int.
5679 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5681 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5683 2014-05-20 Will Newton <will.newton@linaro.org>
5685 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5686 Test the return value of the system call in the nocancel case.
5688 2014-05-20 Will Newton <will.newton@linaro.org>
5689 Yvan Roux <yvan.roux@linaro.org>
5691 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5692 #include of asm/ptrace.h.
5693 (PTRACE_GET_THREAD_AREA): Remove #undef.
5694 (PTRACE_GETHBPREGS): Likewise.
5695 (PTRACE_SETHBPREGS): Likewise.
5696 (struct user_regs_struct): New structure.
5697 (struct user_fpsimd_struct): New structure.
5698 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5699 #include of asm/ptrace.h and second #include of sys/user.h.
5700 (PTRACE_GET_THREAD_AREA): Remove #undef.
5701 (PTRACE_GETHBPREGS): Likewise.
5702 (PTRACE_SETHBPREGS): Likewise.
5703 (ELF_NGREG): Use new struct user_regs_struct.
5704 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5706 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5709 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5711 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5715 membar to avoid block loads/stores to overlap previous stores.
5717 2014-05-17 Richard Henderson <rth@redhat.com>
5719 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5720 Create the __##syscall_name##_nocancel entry point.
5721 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5722 Remove; let the sysdep-cancel.h code create it.
5724 2014-05-17 David S. Miller <davem@davemloft.net>
5726 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5727 Protect with __USE_GNU.
5728 (TIOCSET_TEMPT): Likewise.
5729 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5730 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5731 these are already provided in bits/ioctl-types.h
5733 2014-05-16 Roland McGrath <roland@hack.frob.com>
5735 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5736 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5738 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5739 Use wait4 regardless of [__NR_waitpid].
5741 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5744 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5745 (_FP_NANSIGN_Q): Set the quiet bit.
5747 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5749 * benchtests/Makefile
5750 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5751 not $(common-objpfx)math/libm.so.
5752 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5753 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5754 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5755 $(common-objpfx)dlfcn/libdl.so.
5756 ($(objpfx)tst-audit8): Depend on $(libm), not
5757 $(common-objpfx)math/libm.so.
5758 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5759 not $(common-objpfx)dlfcn/libdl.so.
5761 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5762 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5763 [$(build-shared) = yes].
5764 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5765 $(common-objpfx)nptl/libpthread.so.
5766 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5767 $(common-objpfx)math/libm.so$(libm.so-version) or
5768 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5769 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5770 $(common-objpfx)dlfcn/libdl.so.
5771 * setjmp/Makefile (link-libm): Remove variable.
5772 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5773 * stdio-common/Makefile (link-libm): Remove variable.
5774 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5775 * stdlib/Makefile (link-libm): Remove variable.
5776 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5777 ($(objpfx)tst-strtod-round): Likewise.
5778 ($(objpfx)tst-tininess): Likewise.
5779 ($(objpfx)tst-strtod-underflow): Likewise.
5780 ($(objpfx)tst-strtod6): Likewise.
5781 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5782 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5783 $(common-objpfx)dlfcn/libdl.so.
5785 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5788 BSD terminal modes definitions.
5790 2014-05-16 Roland McGrath <roland@hack.frob.com>
5792 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5793 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5795 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5796 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5797 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5798 Don't do #include_next.
5799 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5800 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5801 Don't do #include_next.
5802 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5803 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5804 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5805 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5807 2014-05-16 Allan McRae <allan@archlinux.org>
5809 * po/sv.po: Update Swedish translation from translation project.
5811 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5814 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5817 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5818 errno if the TIOCGPTN ioctl fails with an error different than
5820 * login/tst-ptsname.c: New file.
5821 * login/Makefile (tests): Add tst-ptsname.
5824 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5827 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5831 herrno to return EAI_AGAIN.
5833 2014-05-14 Roland McGrath <roland@hack.frob.com>
5835 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5836 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5837 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5856 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5857 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5858 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5859 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5860 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5864 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5866 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5868 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5871 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5881 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5883 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5885 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5887 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5889 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5891 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5893 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5895 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5897 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5900 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5908 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5912 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5914 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5916 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5918 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5921 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5923 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5925 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5926 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5927 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5928 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5929 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5930 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5931 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5932 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5933 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5934 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5935 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5936 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5937 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5938 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5939 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5941 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5942 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5943 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5944 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5945 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5946 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5947 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5949 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5950 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5951 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5952 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5953 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5955 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5957 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5958 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5960 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5961 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5962 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5964 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5967 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5970 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5971 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5973 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5974 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5976 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5977 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5978 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5979 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5981 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5983 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5985 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5987 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5990 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5991 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5993 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5995 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5996 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5997 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5998 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5999 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6001 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6003 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6005 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6006 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6007 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6009 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6012 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6015 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6016 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6018 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6019 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6021 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6022 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6023 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6024 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6026 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6027 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6028 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6029 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6030 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6031 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6032 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6033 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6035 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6036 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6038 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6040 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6041 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6042 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6043 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6044 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6046 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6048 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6050 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6051 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6052 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6053 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6054 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6055 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6056 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6057 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6058 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6062 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6064 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6065 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6067 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6070 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6072 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6074 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6075 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6077 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6078 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6079 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6080 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6081 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6082 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6083 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6084 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6086 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6089 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6091 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6092 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6093 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6094 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6095 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6097 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6099 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6101 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6102 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6103 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6104 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6105 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6106 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6107 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6108 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6109 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6110 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6111 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6113 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6114 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6116 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6117 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6119 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6120 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6121 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6123 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6124 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6125 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6127 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6129 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6133 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6135 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6138 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6140 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6141 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6143 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6145 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6147 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6149 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6152 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6153 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6155 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6156 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6157 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6158 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6159 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6161 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6162 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6163 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6164 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6165 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6166 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6167 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6168 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6169 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6170 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6171 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6173 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6174 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6175 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6176 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6177 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6179 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6180 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6181 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6182 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6183 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6184 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6185 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6186 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6187 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6188 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6190 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6193 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6194 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6195 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6196 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6197 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6198 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6199 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6200 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6201 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6202 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6203 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6204 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6205 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6206 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6211 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6221 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6225 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6229 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6232 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6233 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6234 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6235 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6236 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6237 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6238 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6239 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6240 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6241 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6243 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6244 that was previously under [RESET_PID].
6245 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6246 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6247 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6249 * sysdeps/i386/nptl/Implies: New file.
6250 * sysdeps/x86_64/nptl/Implies: New file.
6251 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6252 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6253 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6254 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6256 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6257 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6258 (__libc_vfork): New strong alias.
6259 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6260 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6262 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6263 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6264 (__libc_vfork): New strong alias.
6265 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6266 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6268 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6269 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6270 (__libc_vfork): New strong alias.
6271 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6272 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6273 * nptl/pt-vfork.c: New file.
6274 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6275 (libpthread: GLIBC_2.20): New version set (empty).
6277 2014-05-14 Will Newton <will.newton@linaro.org>
6279 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6282 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6285 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6286 arguments with exponent 65 or above.
6287 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6288 arguments 0x1p113L or above.
6289 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6290 to arguments 0x1p107L or above.
6291 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6292 positive arguments with exponent 65 or above.
6293 * math/auto-libm-test-in: Add more tests of log1p.
6294 * math/auto-libm-test-out: Regenerated.
6297 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6298 non-finite arguments is +0.
6299 * math/s_cacosf.c (__cacosf): Likewise.
6300 * math/s_cacosl.c (__cacosl): Likewise.
6301 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6302 * sysdeps/i386/fpu/libm-test-ulps: Update.
6303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6306 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6308 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6309 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6310 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6311 for explicit high bit of mantissa when testing for argument equal
6313 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6314 * sysdeps/i386/fpu/libm-test-ulps: Update.
6315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6318 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6319 (__erf): Scale by 16 instead of 8 in potentially underflowing
6320 case. Ensure exception if result actually underflows.
6321 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6322 (__erff): Scale by 16 instead of 8 in potentially underflowing
6323 case. Ensure exception if result actually underflows.
6324 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6325 (efx8): Remove variable.
6326 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6327 case. Ensure exception if result actually underflows.
6328 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6329 (efx8): Remove variable.
6330 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6331 case. Ensure exception if result actually underflows.
6332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6333 (efx8): Remove variable.
6334 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6335 case. Ensure exception if result actually underflows.
6336 * math/auto-libm-test-in: Add more tests of erf.
6337 * math/auto-libm-test-out: Regenerated.
6339 2014-05-14 Andreas Schwab <schwab@suse.de>
6341 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6342 Remove code conditionalized on USE___THREAD.
6344 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6345 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6348 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6351 Define unconditionally.
6352 (__ASSUME_O_CLOEXEC): Likewise.
6353 (__ASSUME_SOCK_CLOEXEC): Likewise.
6354 (__ASSUME_IN_NONBLOCK): Likewise.
6355 (__ASSUME_PIPE2): Likewise.
6356 (__ASSUME_EVENTFD2): Likewise.
6357 (__ASSUME_SIGNALFD4): Likewise.
6358 (__ASSUME_DUP3): Likewise.
6359 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6360 (__ASSUME_DUP3): Do not define.
6361 (__ASSUME_EVENTFD2): Likewise.
6362 (__ASSUME_IN_NONBLOCK): Likewise.
6363 (__ASSUME_O_CLOEXEC): Likewise.
6364 (__ASSUME_PIPE2): Likewise.
6365 (__ASSUME_SIGNALFD4): Likewise.
6366 (__ASSUME_SOCK_CLOEXEC): Likewise.
6367 (__ASSUME_UTIMES): Undefine.
6368 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6369 (__ASSUME_UTIMES): Do not define.
6370 (__ASSUME_O_CLOEXEC): Likewise.
6371 (__ASSUME_SOCK_CLOEXEC): Likewise.
6372 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6373 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6375 (__ASSUME_PIPE2): Likewise.
6376 (__ASSUME_EVENTFD2): Likewise.
6377 (__ASSUME_SIGNALFD4): Likewise.
6378 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6379 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6381 (__ASSUME_EVENTFD2): Likewise.
6382 (__ASSUME_SIGNALFD4): Likewise.
6383 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6384 (__ASSUME_32BITUIDS): Likewise.
6385 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6386 (__ASSUME_IPC64): Likewise.
6387 (__ASSUME_ST_INO_64_BIT): Likewise.
6388 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6389 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6390 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6391 (__ASSUME_UTIMES): Do not define.
6392 (__ASSUME_PSELECT): Likewise.
6393 (__ASSUME_PPOLL): Likewise.
6394 (__ASSUME_O_CLOEXEC): Likewise.
6395 (__ASSUME_SOCK_CLOEXEC): Likewise.
6396 (__ASSUME_IN_NONBLOCK): Likewise.
6397 (__ASSUME_PIPE2): Likewise.
6398 (__ASSUME_EVENTFD2): Likewise.
6399 (__ASSUME_SIGNALFD4): Likewise.
6400 (__ASSUME_DUP3): Likewise.
6401 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6402 (__ASSUME_UTIMES): Likewise.
6403 (__ASSUME_O_CLOEXEC): Likewise.
6404 (__ASSUME_SOCK_CLOEXEC): Likewise.
6405 (__ASSUME_IN_NONBLOCK): Likewise.
6406 (__ASSUME_PIPE2): Likewise.
6407 (__ASSUME_EVENTFD2): Likewise.
6408 (__ASSUME_SIGNALFD4): Likewise.
6409 (__ASSUME_DUP3): Likewise.
6410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6411 (__ASSUME_UTIMES): Likewise.
6412 (__ASSUME_O_CLOEXEC): Likewise.
6413 (__ASSUME_SOCK_CLOEXEC): Likewise.
6414 (__ASSUME_IN_NONBLOCK): Likewise.
6415 (__ASSUME_PIPE2): Likewise.
6416 (__ASSUME_EVENTFD2): Likewise.
6417 (__ASSUME_SIGNALFD4): Likewise.
6418 (__ASSUME_DUP3): Likewise.
6419 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6421 (__ASSUME_UTIMES): Likewise.
6422 (__ASSUME_EVENTFD2): Likewise.
6423 (__ASSUME_SIGNALFD4): Likewise.
6424 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6425 (__ASSUME_O_CLOEXEC): Likewise.
6426 (__ASSUME_SOCK_CLOEXEC): Likewise.
6427 (__ASSUME_IN_NONBLOCK): Likewise.
6428 (__ASSUME_PIPE2): Likewise.
6429 (__ASSUME_EVENTFD2): Likewise.
6430 (__ASSUME_SIGNALFD4): Likewise.
6431 (__ASSUME_DUP3): Likewise.
6432 (__ASSUME_UTIMES): Undefine.
6434 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6435 feclearexcept. Remove symbol versioning code.
6436 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6437 symbol versioning code.
6438 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6439 symbol versioning code.
6440 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6441 feupdateenv. Remove symbol versioning code.
6442 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6443 fegetexceptflag. Remove symbol versioning code.
6444 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6445 fesetexceptflag. Remove symbol versioning code.
6446 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6447 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6448 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6449 (__posix_fadvise64_l32): Remove prototype.
6450 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6453 2014-05-13 Roland McGrath <roland@hack.frob.com>
6455 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6456 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6457 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6458 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6460 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6462 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6463 current working directory
6465 2014-05-13 Roland McGrath <roland@hack.frob.com>
6467 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6468 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6469 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6470 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6471 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6472 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6473 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6474 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6475 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6476 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6477 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6478 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6479 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6480 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6481 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6482 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6483 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6484 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6485 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6486 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6487 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6488 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6489 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6490 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6491 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6492 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6493 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6494 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6495 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6496 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6497 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6498 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6499 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6500 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6501 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6502 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6503 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6504 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6505 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6506 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6507 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6508 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6510 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6511 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6513 * sysdeps/unix/sysv/linux/arm/Makefile
6514 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6515 Add rt-aeabi_unwind_cpp_pr1.
6516 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6517 Add nptl-aeabi_unwind_cpp_pr1.
6518 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6519 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6520 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6521 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6522 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6523 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6525 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6526 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6527 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6528 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6530 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6531 Deconditionalize the code that was previously under [RESET_PID].
6532 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6534 * sysdeps/generic/exit-thread.h: New file.
6535 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6536 * include/unistd.h (__exit_thread): Remove declaration.
6537 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6538 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6539 * csu/libc-start.c: Include <exit-thread.h>.
6540 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6541 * nptl/pthread_create.c: Include <exit-thread.h>.
6542 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6543 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6544 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6545 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6546 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6547 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6548 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6549 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6550 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6551 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6552 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6553 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6554 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6555 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6556 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6557 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6558 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6560 2014-05-13 Andreas Schwab <schwab@suse.de>
6562 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6564 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6566 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6567 (__ASSUME_UTIMES): Do not condition on kernel version.
6568 (__ASSUME_PSELECT): Define unconditionally.
6569 (__ASSUME_PPOLL): Likewise.
6570 (__ASSUME_ATFCTS): Likewise.
6571 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6572 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6573 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6574 (__ASSUME_UTIMENSAT): Define unconditionally.
6575 (__ASSUME_PRIVATE_FUTEX): Likewise.
6576 (__ASSUME_FALLOCATE): Likewise.
6577 (__ASSUME_O_CLOEXEC): Likewise.
6578 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6579 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6580 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6581 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6582 (__ASSUME_IN_NONBLOCK): Likewise.
6583 (__ASSUME_PIPE2): Likewise.
6584 (__ASSUME_EVENTFD2): Likewise.
6585 (__ASSUME_SIGNALFD4): Likewise.
6586 (__ASSUME_DUP3): Likewise.
6587 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6588 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6589 (__ASSUME_AT_RANDOM): Likewise.
6590 (__ASSUME_PREADV): Likewise.
6591 (__ASSUME_PWRITEV): Likewise.
6592 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6593 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6594 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6595 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6596 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6597 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6598 (__ASSUME_O_CLOEXEC): Define unconditionally.
6599 (__ASSUME_PSELECT): Do not undefine conditionally.
6600 (__ASSUME_PPOLL): Likewise.
6601 (__ASSUME_ATFCTS): Likewise.
6602 (__ASSUME_SET_ROBUST_LIST): Likewise.
6603 (__ASSUME_UTIMENSAT): Likewise.
6604 (__ASSUME_FDATASYNC): Define unconditionally.
6605 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6606 (__ASSUME_SIGFRAME_V2): Likewise.
6607 )__ASSUME_EVENTFD2): Likewise.
6608 (__ASSUME_SIGNALFD4): Likewise.
6609 (__ASSUME_PSELECT): Do not undefine conditionally.
6610 (__ASSUME_PPOLL): Likewise.
6611 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6612 (__ASSUME_PSELECT): Define unconditionally.
6613 (__ASSUME_PPOLL): Likewise.
6614 (__ASSUME_O_CLOEXEC): Likewise.
6615 (__ASSUME_SOCK_CLOEXEC): Likewise.
6616 (__ASSUME_IN_NONBLOCK): Likewise.
6617 (__ASSUME_PIPE2): Likewise.
6618 (__ASSUME_EVENTFD2): Likewise.
6619 (__ASSUME_SIGNALFD4): Likewise.
6620 (__ASSUME_DUP3): Likewise.
6621 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6622 (__ASSUME_O_CLOEXEC): Likewise.
6623 (__ASSUME_SOCK_CLOEXEC): Likewise.
6624 (__ASSUME_IN_NONBLOCK): Likewise.
6625 (__ASSUME_PIPE2): Likewise.
6626 (__ASSUME_EVENTFD2): Likewise.
6627 (__ASSUME_SIGNALFD4): Likewise.
6628 (__ASSUME_DUP3): Likewise.
6629 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6630 (__ASSUME_EVENTFD2): Likewise.
6631 (__ASSUME_SIGNALFD4): Likewise.
6632 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6634 2014-05-12 Andreas Schwab <schwab@suse.de>
6637 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6638 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6639 than maximum RPC packet size.
6640 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6641 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6642 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6643 (_nss_nis_getservbyport_r): Likewise.
6645 2014-05-12 Will Newton <will.newton@linaro.org>
6647 * malloc/Makefile (tests): Add tst-mallopt.
6648 * malloc/tst-mallopt.c: New file.
6650 2014-05-09 Roland McGrath <roland@hack.frob.com>
6652 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6653 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6655 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6657 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6658 (tst-tlsmod6.so): Likewise.
6660 2014-05-09 Roland McGrath <roland@hack.frob.com>
6662 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6664 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6667 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6668 and <dl-procinfo.h>.
6669 (__fegetenv): Save SSE state in envp->__eip if supported.
6670 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6671 envp->__eip if supported.
6672 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6673 and <dl-procinfo.h>.
6674 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6675 __data_offset and __data_selector in environment to 0. Set SSE
6677 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6679 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6681 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6683 2014-05-09 Will Newton <will.newton@linaro.org>
6685 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6686 and libc_relro_required for ARM.
6687 * sysdeps/arm/preconfigure: Regenerate.
6689 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6690 Stefan Liebler <stli@linux.vnet.ibm.com>
6692 * config.make.in (enable-lock-elision): New Makefile variable.
6693 * configure.ac: Likewise.
6694 * configure: Regenerate.
6695 * sysdeps/s390/configure.ac:
6696 Add check for gcc transactions support.
6697 * sysdeps/s390/configure: Regenerate.
6698 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6699 Build elision files if enabled.
6700 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6701 Add lock elision support for s390.
6702 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6703 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6704 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6705 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6706 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6707 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6708 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6710 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6712 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6714 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6716 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6717 (__lll_timedlock_elision, __lll_lock_elision)
6718 (__lll_unlock_elision, __lll_trylock_elision)
6719 (lll_timedlock_elision, lll_lock_elision)
6720 (lll_unlock_elision, lll_trylock_elision): Add.
6721 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6722 (pthread_mutex_t): Add lock elision support for s390.
6724 2014-05-14 Wilco <wdijkstr@arm.com>
6726 * sysdeps/arm/fclrexcpt.c: Cleanup.
6727 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6728 * sysdeps/arm/feenablxcpt.c: Cleanup.
6729 * sysdeps/arm/fegetenv.c: Cleanup.
6730 * sysdeps/arm/fegetexcept.c: Cleanup.
6731 * sysdeps/arm/fegetround.c: Cleanup.
6732 * sysdeps/arm/feholdexcpt.c: Cleanup.
6733 * sysdeps/arm/fesetenv.c: Cleanup.
6734 * sysdeps/arm/fesetround.c: Cleanup.
6735 * sysdeps/arm/feupdateenv.c: Cleanup.
6736 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6737 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6738 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6739 * sysdeps/arm/ftestexcept.c: Cleanup.
6740 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6741 * sysdeps/arm/setfpucw.c: Cleanup.
6743 2014-05-09 Will Newton <will.newton@linaro.org>
6745 * sysdeps/arm/armv7/strcmp.S: New file.
6746 * NEWS: Mention addition of ARMv7 optimized strcmp.
6748 2014-05-08 Roland McGrath <roland@hack.frob.com>
6750 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6751 look for %.ac rather than %.in.
6753 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6754 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6755 * sysdeps/mach/hurd/configure: Regenerated.
6756 * sysdeps/unix/sysv/linux/configure: Regenerated.
6758 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6760 2014-05-07 Steve Ellcey <sellcey@mips.com>
6763 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6767 2014-05-07 Andreas Schwab <schwab@suse.de>
6769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6770 when skipping over non-matching result from nscd.
6772 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6775 * nptl/sockperf.c (client): Check socket return value.
6778 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6779 nscd security class.
6781 2014-05-06 Roland McGrath <roland@hack.frob.com>
6783 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6784 * sysdeps/arm/unwind.h: ... here.
6786 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6789 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6792 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6794 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6795 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6796 multiarch strncpy for PPC64.
6797 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6798 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6800 multiarch optimizations.
6801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6802 (__libc_ifunc_impl_list): Likewise.
6803 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6804 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6805 multiarch stpncpy for PPC64.
6806 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6807 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6809 2014-05-06 Andreas Schwab <schwab@suse.de>
6812 * gmon/mcount.c (_MCOUNT_DECL): Use
6813 atomic_compare_and_exchange_bool_acq instead of
6814 catomic_compare_and_exchange_bool_acq.
6816 2014-05-05 Roland McGrath <roland@hack.frob.com>
6818 * elf/Makefile (others, install-bin): Remove pldd.
6819 (pldd-modules): Variable removed.
6820 ($(objpfx)pldd): Target removed.
6821 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6822 (others, install-bin): Append pldd here.
6823 ($(objpfx)pldd): New target.
6825 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6826 to 0, so the first #if test emitted later doesn't see it undefined.
6827 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6828 * sysdeps/gnu/errlist.c: Regenerated.
6830 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6833 [libc_hidden_builtin_def]: Define to empty value.
6834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6835 [libc_hidden_builtin_def]: Likewise.
6836 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6837 [libc_hidden_builtin_def]: Likewise.
6838 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6839 [libc_hidden_builtin_def]: Likewise.
6840 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6841 __redirect_memcpy and define ifunc as default hidden symbol.
6842 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6843 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6845 2014-05-04 Adam Conrad <adconrad@0c3.net>
6847 * locale/iso-4217.def: Reintroduce XDR currency.
6849 2014-05-04 Allan McRae <allan@archlinux.org>
6851 * po/eo.po: Update Esperanto translation from translation project.
6853 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6855 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6856 and FEATURE_INDEX_MAX to 1.
6857 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6859 2014-05-01 Steve Ellcey <sellcey@mips.com>
6861 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6862 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6863 * iconvdata/big5.c (ONE_DIRECTION): Define.
6864 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6865 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6866 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6867 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6868 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6869 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6870 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6871 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6872 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6873 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6874 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6875 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6876 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6877 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6878 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6879 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6880 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6881 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6882 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6883 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6884 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6885 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6886 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6887 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6888 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6889 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6890 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6891 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6892 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6893 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6894 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6895 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6896 * iconvdata/johab.c (ONE_DIRECTION): Define.
6897 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6898 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6899 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6900 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6901 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6902 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6903 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6904 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6905 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6906 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6908 2014-05-01 Roland McGrath <roland@hack.frob.com>
6910 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6911 (_IO_JUMPS_OFFSET): Define to 0.
6913 * nptl/sysdeps/pthread/bits/libc-lock.h
6914 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6915 (__libc_lock_define_initialized_recursive): Always define using
6916 initializer. Modern compilers treat uninitialized (implicit zero) and
6917 explicit zero initializers the same (i.e. put the datum in bss).
6919 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6921 * nscd/nscd-client.h: Include <string.h>.
6923 2014-05-01 David S. Miller <davem@davemloft.net>
6926 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6927 multiple zero bytes exist at the end of a string.
6928 Reported by Aurelien Jarno <aurelien@aurel32.net>
6930 * string/test-strcmp.c (check): Add explicit test for situations where
6931 there are multiple zero bytes after the first.
6933 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6936 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6937 when compiling wprintf.
6938 * stdio-common/tstdiomisc.c (t3): New function.
6941 2014-05-01 Steve Ellcey <sellcey@mips.com>
6943 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6944 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6945 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6946 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6948 2014-05-01 Steve Ellcey <sellcey@mips.com>
6950 * stdlib/longlong.h: Updated from GCC.
6952 2014-05-01 Will Newton <will.newton@linaro.org>
6953 Bernard Ogden <bernie.ogden@linaro.org>
6955 * NEWS: Update fixed bug list.
6958 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6960 2014-04-30 David S. Miller <davem@davemloft.net>
6962 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6963 (libc_feholdexcept_setround_sparc_ctx): New function.
6964 (libc_fesetenv_sparc_ctx): Likewise.
6965 (libc_feupdateenv_sparc_ctx): Likewise.
6966 (libc_feholdsetround_sparc_ctx): Likewise.
6967 (libc_feholdexcept_setround_ctx): Define.
6968 (libc_feholdexcept_setroundf_ctx): Likewise.
6969 (libc_feholdexcept_setroundl_ctx): Likewise.
6970 (libc_fesetenv_ctx): Likewise.
6971 (libc_fesetenvf_ctx): Likewise.
6972 (libc_fesetenvl_ctx): Likewise.
6973 (libc_feupdateenv_ctx): Likewise.
6974 (libc_feupdateenvf_ctx): Likewise.
6975 (libc_feupdateenvl_ctx): Likewise.
6976 (libc_feresetround_ctx): Likewise.
6977 (libc_feresetroundf_ctx): Likewise.
6978 (libc_feresetroundl_ctx): Likewise.
6979 (libc_feholdsetround_ctx): Likewise.
6980 (libc_feholdsetroundf_ctx): Likewise.
6981 (libc_feholdsetroundl_ctx): Likewise.
6983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6984 with __USE_GNU instead of XOPEN cpp guards.
6986 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6989 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6990 with XOPEN cpp guards.
6992 2014-04-30 Julian Brown <julian@codesourcery.com>
6995 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6998 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7001 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7003 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7004 * sysdeps/unix/sysv/linux/configure: Regenerated.
7005 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7006 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7007 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7008 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7009 * README: Update reference to required Linux kernel version.
7010 * manual/install.texi (Linux): Update reference to required Linux
7011 kernel headers version.
7012 * INSTALL: Regenerated.
7014 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7016 [POSIX] (limits.h): Likewise.
7017 [POSIX] (math.h): Likewise.
7018 [POSIX] (sys/wait.h): Likewise.
7019 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7021 [POSIX] (stddef.h): Do not allow header inclusion.
7023 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7025 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7027 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7029 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7030 Return immediately after lll_futex_wake.
7032 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7035 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7037 (datahead_init_pos): Call datahead_init_common early.
7038 (datahead_init_neg): Likewise.
7040 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7041 datahead_init_neg): New functions.
7042 * nscd/aicache.c (addhstaiX): Use them.
7043 * nscd/grpcache.c (cache_addgr): Likewise.
7044 * nscd/hstcache.c (cache_addhst): Likewise.
7045 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7046 * nscd/netgroupcache.c (do_notfound): Likewise.
7047 (addgetnetgrentX): Likewise.
7048 (addinnetgrX): Likewise.
7049 * nscd/pwdcache.c (cache_addpw): Likewise.
7050 * nscd/servicescache.c (cache_addserv): Likewise.
7052 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7053 Atsushi Onoe <atsushi@onoe.org>
7058 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7059 one response is valid.
7060 * resolv/res_send.c (send_dg): Check for validity of other
7061 response if the current response is a referral.
7063 2014-04-29 Steve Ellcey <sellcey@mips.com>
7065 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7067 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7070 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7071 Always divide by positive zero when computing -Inf result.
7072 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7073 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7075 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7077 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7078 FPSCR if value do not change.
7079 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7080 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7081 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7082 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7083 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7084 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7087 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7089 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7090 * sysdeps/unix/sysv/linux/hppa: Move directory from
7091 ports/systeps/unix/sysv/linux/hppa.
7092 * README: Update listing for hppa-*-linux-gnu.
7094 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7097 * manual/stdio.texi (Hook functions): Fix types of stream hook
7100 * socket/sys/socket.h: Fix typo in comment.
7102 2014-04-28 Wilco <wdijkstr@arm.com>
7104 * sysdeps/arm/fenv_private.h: New file.
7105 * sysdeps/arm/math_private.h: New file.
7106 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7108 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7110 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7112 (La_x86_64_retval): Likewise.
7114 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7116 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7117 fpsr if value didn't change.
7118 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7119 to fpcr if value didn't change.
7120 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7121 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7122 fpsr or fpcr if value didn't change.
7123 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7124 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7125 fpcr if value didn't change.
7126 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7127 to fpsr if value didn't change.
7129 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7131 * nptl/tst-sem3.c: Use test-skeleton.c
7132 (main): Rename to do_test. Use return instead of
7134 * nptl/tst-sem4.c: Use test-skeleton.c
7135 (main): Rename to do_test.
7137 2014-04-22 David S. Miller <davem@davemloft.net>
7139 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7140 (struct sigaction): New struct member __glibc_reserved0, change
7141 type of sa_flags to int.
7143 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7145 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7146 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7148 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7150 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7151 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7153 2014-04-22 Will Newton <will.newton@linaro.org>
7154 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7156 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7157 (__longjmp): Add longjmp and longjmp_target SystemTap
7159 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7160 (__sigsetjmp): Add setjmp SystemTap probe.
7162 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7164 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7167 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7169 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7171 * sysdeps/powerpc/fpu/fenv_private.h
7172 (libc_feholdexcept_setroundl_ctx): Define to
7173 libc_feholdexcept_setround_ppc_ctx.
7174 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7175 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7176 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7177 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7179 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7181 * sysdeps/aarch64/math-tests.h: New file.
7183 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7185 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7188 Check and set bit_AVX2_Usable.
7189 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7191 (bit_AVX2): Likewise.
7192 (index_AVX2_Usable): Likewise.
7193 (CPUID_AVX2): Likewise.
7194 (HAS_AVX2): Likewise.
7196 2014-04-17 Will Newton <will.newton@linaro.org>
7198 * manual/setjmp.texi (System V contexts): Add note that
7199 calling setcontext on a context created by a call to a
7200 signal handler is undefined. Update text to note that
7201 setcontext from a signal handler is possible but not
7205 * stdlib/tst-setcontext.c: Include signal.h.
7206 (main): Check that the signal stack before and
7207 after swapcontext is the same.
7209 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7210 Re-implement to restore registers in user code and avoid
7211 rt_sigreturn system call.
7213 2014-04-17 Wilco <wdijkstr@arm.com>
7215 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7216 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7217 * math/test-fenv.c: Skip exception trap tests on targets which only
7218 support non-stop mode.
7220 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7221 Wilco Dijkstra <wilco.dijkstra@arm.com>
7223 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7224 (libc_feholdsetround_aarch64_ctx)
7225 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7226 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7227 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7228 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7229 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7230 (libc_feresetround_noexl_ctx): Define.
7232 2014-04-16 Richard Henderson <rth@redhat.com>
7234 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7236 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7239 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7240 const from the non-libc, non-ldso copy.
7242 * sysdeps/alpha/libm-test-ulps: Regenerate.
7244 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7245 Wilco Dijkstra <wilco.dijkstra@arm.com>
7247 * sysdeps/aarch64/fpu/math_private.h: New file.
7249 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7251 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7253 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7256 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7257 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7259 Intel MPX bound registers before _dl_profile_fixup.
7260 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7261 registers after _dl_profile_fixup. Save and restore bound
7262 registers bnd0/bnd1 when calling _dl_call_pltexit.
7263 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7264 (LR_BND_OFFSET): Likewise.
7265 (LRV_BND0_OFFSET): Likewise.
7266 (LRV_BND1_OFFSET): Likewise.
7268 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7270 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7272 * sysdeps/mach/hurd/i386/tls.h: ... here.
7273 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7274 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7277 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7279 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7281 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7283 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7285 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7288 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7289 * sysdeps/s390/configure: Regenerate.
7292 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7293 Set round-to-nearest internally to reduce error accumulation.
7295 2014-04-16 Alan Modra <amodra@gmail.com>
7299 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7300 * math/libm-test.inc (frexp_test_data): Add tests.
7301 * NEWS: Update fixed bug list.
7303 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7305 * benchtests/Makefile: Depend on libraries in build directory.
7306 (bench-math): Separate out math tests.
7307 (bench-pthread): Separate out pthread tests.
7308 (bench): Include math and pthread tests.
7310 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7313 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7314 _dl_debug_initialize.
7316 * configure.ac: Remove SELinux header check.
7317 * configure: Regenerate.
7318 * nscd/selinux.c (perms): Array of const char* to permission names.
7319 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7320 default policy. Call string_to_security_class and string_to_av_perm to
7321 translate strings. Enforce default policy and call avs_has_perm with
7322 results of translated strings.
7324 2014-04-13 David S. Miller <davem@davemloft.net>
7326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7328 2014-04-12 Allan McRae <allan@archlinux.org>
7331 * manual/string.texi (Collation Functions): Fix qsort argument
7333 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7335 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7337 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7338 Make the test a no-op if there are no exceptions defined.
7340 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7342 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7343 enable-hardcoded-path-in-tests
7345 2014-04-11 Will Newton <will.newton@linaro.org>
7347 * benchtests/Makefile (extra-objs): Add json-lib.o.
7348 (bench-func): Tidy up JSON output.
7349 * benchtests/bench-skeleton.c: Include json-lib.h.
7350 (main): Use JSON library functions to do output of
7352 * benchtests/bench-timing-type.c (main): Output the
7353 timing type simply, leaving formatting to the user.
7354 * benchtests/json-lib.c: New file.
7355 * benchtests/json-lib.h: Likewise.
7357 2014-04-11 Torvald Riegel <triegel@redhat.com>
7360 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7361 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7362 memory barriers. Add comments.
7363 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7364 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7365 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7366 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7367 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7368 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7370 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7372 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7373 * sysdeps/s390/s390-64/configure.ac: ... this ...
7374 * sysdeps/s390/configure.ac: ... to here.
7375 * sysdeps/s390/s390-32/configure: Delete file.
7376 * sysdeps/s390/s390-64/configure: Delete file.
7377 * sysdeps/s390/configure: Regenerate.
7379 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7381 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7383 2014-04-11 Will Newton <will.newton@linaro.org>
7385 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7386 to zero if it is not defined elsewhere. (mtrim): Test
7387 the value of MALLOC_DEBUG with #if rather than #ifdef.
7389 2014-04-10 Torvald Riegel <triegel@redhat.com>
7391 * benchtests/pthread_once-inputs: New file.
7392 * benchtests/pthread_once-source.c: New file.
7393 * benchtests/README: Update documentation.
7395 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7396 H.J. Lu <hongjiu.lu@intel.com>
7399 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7400 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7401 * sysdeps/x86_64/configure: Regenerated.
7402 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7404 (REGISTER_SAVE_RAX): Likewise.
7405 (REGISTER_SAVE_RCX): Likewise.
7406 (REGISTER_SAVE_RDX): Likewise.
7407 (REGISTER_SAVE_RSI): Likewise.
7408 (REGISTER_SAVE_RDI): Likewise.
7409 (REGISTER_SAVE_R8): Likewise.
7410 (REGISTER_SAVE_R9): Likewise.
7411 (REGISTER_SAVE_BND0): Likewise.
7412 (REGISTER_SAVE_BND1): Likewise.
7413 (REGISTER_SAVE_BND2): Likewise.
7414 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7415 bound registers when calling _dl_fixup.
7417 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7419 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7420 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7422 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7423 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7424 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7425 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7426 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7427 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7428 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7430 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7433 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7434 pathconf(_PC_NAME_MAX).
7436 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7438 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7440 (__PTHREAD_SPINS): Move definition to ...
7441 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7442 (__PTHREAD_SPINS): ... here.
7443 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7444 (__PTHREAD_SPIN): Likewise.
7445 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7446 (__PTHREAD_SPIN): Likewise.
7447 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7448 (__PTHREAD_SPIN): Likewise.
7449 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7450 (__PTHREAD_SPIN): Likewise.
7451 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7452 (__PTHREAD_SPIN): Likewise.
7453 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7454 (__PTHREAD_SPIN): Likewise.
7455 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7456 (__PTHREAD_SPIN): Likewise.
7457 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7458 (__PTHREAD_SPIN): Likewise.
7459 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7460 (__PTHREAD_SPIN): Likewise.
7461 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7462 (__PTHREAD_SPIN): Likewise.
7463 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7464 (__PTHREAD_SPIN): Likewise.
7465 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7466 (__PTHREAD_SPIN): Likewise.
7468 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7469 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7470 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7471 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7473 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7474 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7475 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7476 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7478 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7479 strlen symbol for non multi-arch builds.
7480 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7481 missing hidden_def and weak_alias.
7483 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7485 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7487 2014-04-07 Will Newton <will.newton@linaro.org>
7489 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7490 and contents. [!_LIBC] Remove #ifndef and contents.
7491 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7492 * string/memccpy.c (__memccpy): Use ANSI prototype.
7493 * string/memfrob.c (memfrob): Likewise.
7494 * string/strcoll.c (STRCOLL): Likewise.
7495 * string/strlen.c (strlen): Likewise.
7496 * string/strtok.c (STRTOK): Likewise.
7497 * string/strcat.c: Remove unused #include of memcopy.h.
7498 (strcat): Use ANSI prototype.
7499 * string/strchr.c: Remove unused #include of memcopy.h.
7500 (strchr): Use ANSI prototype.
7501 * string/strcmp.c: Remove unused #include of memcopy.h.
7502 (strcmp): Use ANSI prototype.
7503 * string/strcpy.c: Remove unused #include of memcopy.h.
7504 (strcpy): Use ANSI prototype.
7506 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7508 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7509 * config.make.in (config-extra-cppflags): Set it from
7510 libc_extra_cppflags.
7511 * configure.ac (libc_extra_cflags): Make it accumulate over
7512 configure fragments.
7513 (libc_extra_cppflags): New flag.
7514 * configure. Regenerate.
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7516 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7517 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7521 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7522 result for FE_DOWNWARD rounding mode.
7523 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7527 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7529 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7530 in function argument name.
7532 2014-04-03 David Svoboda <svoboda@cert.org>
7535 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7538 2014-04-03 Roland McGrath <roland@hack.frob.com>
7540 * elf/dl-unmap-segments.h: New file.
7541 * sysdeps/generic/ldsodefs.h
7542 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7543 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7544 * elf/dl-fptr.c: Likewise.
7545 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7546 * sysdeps/aarch64/tlsdesc.c: Likewise.
7547 * sysdeps/arm/tlsdesc.c: Likewise.
7548 * sysdeps/i386/tlsdesc.c: Likewise.
7549 * sysdeps/tile/dl-runtime.c: Likewise.
7550 * sysdeps/x86_64/tlsdesc.c: Likewise.
7551 * elf/dl-load.h: New file.
7552 * elf/dl-load.c: Include it.
7553 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7554 Macros moved to dl-load.h.
7555 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7556 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7557 Use _dl_unmap_segments in place of __munmap.
7558 Break out segment-mapping loop into ...
7559 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7561 2014-04-03 Will Newton <will.newton@linaro.org>
7563 * elf/dl-lookup.c (do_lookup_x): Remove comment
7564 referring to nested function and move variable
7565 declarations down to before first use.
7567 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7571 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7573 * math/s_catanf.c (__catanf): Likewise.
7574 * math/s_catanh.c (__catanh): Likewise.
7575 * math/s_catanhf.c (__catanhf): Likewise.
7576 * math/s_catanhl.c (__catanhl): Likewise.
7577 * math/s_catanl.c (__catanl): Likewise.
7578 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7579 by positive zero when computing -Inf result.
7580 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7581 (catanh_test): Likewise.
7582 * sysdeps/i386/fpu/libm-test-ulps: Update.
7583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7586 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7587 instead of using underflowing value in computing result.
7588 * math/s_clog10.c (__clog10): Likewise.
7589 * math/s_clog10f.c (__clog10f): Likewise.
7590 * math/s_clog10l.c (__clog10l): Likewise.
7591 * math/s_clogf.c (__clogf): Likewise.
7592 * math/s_clogl.c (__clogl): Likewise.
7593 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7594 (clog10_test): Likewise.
7595 * sysdeps/i386/fpu/libm-test-ulps: Update.
7596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7598 2014-04-02 Alan Modra <amodra@gmail.com>
7601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7602 output when value is near a power of two. Use int64_t for lx and
7603 remove casts. Use decimal rather than hex exponent constants.
7604 Don't use long double multiplication when double will suffice.
7605 * math/libm-test.inc (nextafter_test_data): Add tests.
7606 * NEWS: Add 16739 and 16786 to bug list.
7608 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7610 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7612 2014-04-01 Will Newton <will.newton@linaro.org>
7614 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7615 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7617 2014-04-01 Florian Weimer <fweimer@redhat.com>
7620 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7621 * nptl/tst-setuid2.c: New file.
7622 * nptl/Makefile (xtests): Add tst-setuid2.
7624 2014-04-01 Alan Modra <amodra@gmail.com>
7627 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7629 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7633 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7634 set errno as appropriate.
7635 * math/w_scalbf.c (__scalbf): Likewise.
7636 * math/w_scalbl.c (__scalbl): Likewise.
7637 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7638 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7639 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7643 * math/w_atan2.c: Include <errno.h>.
7644 (__atan2): Set errno for result underflowing to zero.
7645 * math/w_atan2f.c: Include <errno.h>.
7646 (__atan2f): Set errno for result underflowing to zero.
7647 * math/w_atan2l.c: Include <errno.h>.
7648 (__atan2l): Set errno for result underflowing to zero.
7649 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7651 * math/auto-libm-test-out: Regenerated.
7653 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7655 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7656 Encode instruction correctly in little endian.
7657 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7659 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7661 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7663 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7666 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7669 * sysdeps/unix/sysv/linux/kernel-features.h
7670 [__sparc__ && !__arch64__ && !__sparc_v9__]
7671 (__ASSUME_SET_ROBUST_LIST): Do not define.
7672 [__sparc__ && !__arch64__ && !__sparc_v9__]
7673 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7674 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7676 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7677 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7678 (__ASSUME_REQUEUE_PI): Likewise.
7679 (__ASSUME_SET_ROBUST_LIST): Likewise.
7680 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7681 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7684 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7686 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7688 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7690 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7691 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7693 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7694 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7699 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7700 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7702 2014-03-31 Will Newton <will.newton@linaro.org>
7704 * benchtests/Makefile (bench): Add ffs and ffsll to list
7706 * benchtests/ffs-inputs: New file.
7707 * benchtests/ffsll-inputs: Likewise.
7709 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7712 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7713 too large before casting to int.
7714 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7715 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7716 * math/libm-test.inc (scalb_test_data): Add more tests.
7718 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7720 * benchtests/Makefile (DETAILED_OPT): New make option.
7721 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7723 * benchtests/bench-skeleton.c: Include stdbool.h.
7724 (main): Store and print timings per input.
7725 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7726 member to each argument value.
7727 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7728 (_print_arg_data): Initialize per-input timing to 0.
7730 * benchtests/Makefile (timing-type): New binary.
7731 (bench-clean): Also remove bench-timing-type.
7732 (bench): New target for timing-type.
7733 (bench-func): Print output in JSON format.
7734 * benchtests/bench-skeleton.c (main): Print output in JSON
7736 * benchtests/bench-timing-type.c: New file.
7737 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7738 (TIMING_PRINT_STATS): Remove.
7739 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7742 * benchtests/bench-modf.c: Remove.
7743 * benchtests/modf-inputs: New inputs file.
7745 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7748 * math/s_clog10.c (M_PI_LOG10E): New macro.
7749 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7750 imaginary parts are 0.
7751 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7752 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7753 imaginary parts are 0.
7754 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7755 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7756 imaginary parts are 0.
7757 * math/libm-test.inc (clog10_test_data): Update expected results
7758 for when real and imaginary parts are 0.
7760 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7762 * elf/dl-load.c: Finish conversion of __builtin_expect into
7765 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7768 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7769 1+x for argument with exponent below -67.
7770 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7772 * math/auto-libm-test-in: Add more tests of exp.
7773 * math/auto-libm-test-out: Regenerated.
7775 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7778 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7779 (nscd_getnetgrent): Use it.
7782 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7785 2014-03-27 Andi Kleen <ak@linux.intel.com>
7787 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7788 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7789 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7790 (lll_robust_unlock): Remove out of line section. Use cfi
7792 (LLL_STUB_UNWIND_INFO*): Remove.
7793 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7794 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7795 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7796 (lll_robust_unlock): Remove out of line section. Use cfi
7798 (LLL_STUB_UNWIND_INFO*): Remove.
7800 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7803 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7806 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7808 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7810 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7813 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7815 * math/test-fenv-preserve.c: New file.
7816 * math/Makefile (tests): Add test-fenv-preserve.
7818 2014-03-26 Will Newton <will.newton@linaro.org>
7820 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7822 2014-03-25 Roland McGrath <roland@hack.frob.com>
7824 * scripts/versionlist.awk: Partition the version sets and emit all
7825 GLIBC_* (sorted) before all others (sorted).
7827 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7829 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7830 GLIBC_2.2.5 version.
7832 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7837 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7842 2014-03-25 Andreas Schwab <schwab@suse.de>
7844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7845 label to be used after in6ailist is initialized.
7847 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7850 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7852 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7856 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7858 (fp_formats): Update initializers.
7859 (init_fp_formats): Initialize new field.
7860 (output_for_one_input_case): Allow underflow for results up to
7862 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7863 * math/auto-libm-test-in: Don't mark some underflows from asin and
7865 * math/auto-libm-test-out: Regenerated.
7866 * sysdeps/i386/fpu/libm-test-ulps: Update.
7867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7869 2014-03-25 Andreas Schwab <schwab@suse.de>
7871 * libio/Makefile (tst-ftell-partial-wide-ENV)
7872 (tst-ftell-active-handler-ENV): Define.
7874 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7876 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7878 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7880 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7882 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7884 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7885 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7886 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7888 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7891 * elf/dl-load.c (open_verify): Add mode parameter.
7892 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7893 (open_path): Change from boolean 'secure' to complete flag 'mode'
7894 (_dl_map_object): Adjust.
7895 * elf/Makefile (tests): Add tst-dlopen-aout.
7896 * elf/tst-dlopen-aout.c: New test.
7898 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7901 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7902 (struct stat): Rename member pad0 to __glibc_reserved0.
7905 * sysdeps/s390/s390-32/bits/wordsize.h
7906 (__WORDSIZE32_SIZE_ULONG): New define.
7907 * sysdeps/s390/s390-64/bits/wordsize.h
7908 (__WORDSIZE32_SIZE_ULONG): Likewise.
7909 * sysdeps/generic/stdint.h (SIZE_MAX):
7910 Define as UL if __WORDSIZE32_SIZE_ULONG.
7913 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7914 (__glibc_reserved0): New variable.
7915 (sa_flags): Change type to int.
7917 * posix/Makefile (before-compile): Use += before-compile instead
7920 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7921 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7923 2014-03-20 Andreas Schwab <schwab@suse.de>
7926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7927 non-matching result from nscd.
7929 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7931 * scripts/bench.py: Moved to ...
7932 * benchtests/scripts/bench.py: ... here.
7933 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7935 2014-03-24 Andreas Schwab <schwab@suse.de>
7938 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7939 alloca_account and account alloca use for struct in6ailist.
7941 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7944 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7945 rounding mode to recompute results that overflow to infinity or
7947 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7949 * math/auto-libm-test-out: Regenerated.
7950 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7951 (ccosh_test): Likewise.
7952 (csin_test_data): Use plus_oflow.
7953 (csin_test): Use ALL_RM_TEST.
7954 (csinh_test_data): Use plus_oflow.
7955 (csinh_test): Use ALL_RM_TEST.
7956 * sysdeps/i386/fpu/libm-test-ulps: Update.
7957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7959 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7961 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7962 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7963 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7966 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7968 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7969 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7970 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7973 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7974 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7976 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7977 * sysdeps/i386/fpu/libm-test-ulps: Update.
7978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7980 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7982 * scripts/bench.pl: Remove file.
7983 * scripts/bench.py: New benchmark script.
7984 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7985 * benchtests/README: Mention python dependency.
7986 * scripts/pylintrc: New file.
7987 * scripts/pylint: New file.
7989 * bits/mathdef.h: Use #ifdef instead of #if.
7990 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7991 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7992 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7993 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7994 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7995 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7997 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7998 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8000 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8002 and strpbrk-ppc64 objects.
8003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8004 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8005 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8006 multiarch strpbrk for POWER7.
8007 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8008 multiarch strpbrk for PPC64.
8009 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8011 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8014 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8016 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8017 (atan_test): Likewise.
8018 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8019 (atanh_test): Use ALL_RM_TEST.
8020 (atan2_test_data): Likewise.
8021 (cabs_test): Likewise.
8022 (cacosh_test): Likewise.
8023 (carg_test): Likewise.
8024 (casin_test): Likewise.
8025 (casinh_test): Likewise.
8026 (cbrt_test): Likewise.
8027 (csqrt_test): Likewise.
8028 (erf_test): Likewise.
8029 (erfc_test): Likewise.
8030 (pow10_test): Likewise.
8031 (exp2_test): Likewise.
8032 (hypot_test): Likewise.
8033 (j0_test): Likewise.
8034 (j1_test): Likewise.
8035 (lgamma_test): Likewise.
8036 (gamma_test): Likewise.
8037 (sincos_test): Likewise.
8038 (tanh_test): Likewise.
8039 (y0_test): Likewise.
8040 (y1_test): Likewise.
8041 * sysdeps/i386/fpu/libm-test-ulps: Update.
8042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8044 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8046 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8048 and strcspn-ppc64 objects.
8049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8050 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8051 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8052 multiarch strcspn for POWER7.
8053 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8054 multiarch strcspn for PPC64.
8055 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8057 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8060 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8062 * math/gen-libm-test.pl (generate_testfile): Expect only function
8063 name as argument to AUTO_TESTS_* and pass results for all rounding
8064 modes to parse_args.
8065 (parse_auto_input): Separate inputs of automatic tests from
8066 outputs before storing in %auto_tests.
8067 * math/libm-test.inc (acos_test_data): Update call to
8069 (acos_test): Use ALL_RM_TEST.
8070 (acos_tonearest_test_data): Remove.
8071 (acos_test_tonearest): Likewise.
8072 (acos_towardzero_test_data): Likewise.
8073 (acos_test_towardzero): Likewise.
8074 (acos_downward_test_data): Likewise.
8075 (acos_test_downward): Likewise.
8076 (acos_upward_test_data): Likewise.
8077 (acos_test_upward): Likewise.
8078 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8079 (asin_test_data): Likewise.
8080 (asin_test): Use ALL_RM_TEST.
8081 (asin_tonearest_test_data): Remove.
8082 (asin_test_tonearest): Likewise.
8083 (asin_towardzero_test_data): Likewise.
8084 (asin_test_towardzero): Likewise.
8085 (asin_downward_test_data): Likewise.
8086 (asin_test_downward): Likewise.
8087 (asin_upward_test_data): Likewise.
8088 (asin_test_upward): Likewise.
8089 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8090 (atan_test_data): Likewise.
8091 (atanh_test_data): Likewise.
8092 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8093 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8094 (carg_test_data): Likewise.
8095 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8096 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8097 (ccosh_test_data): Likewise.
8098 (cexp_test_data): Likewise.
8099 (clog_test_data): Likewise.
8100 (clog10_test_data): Likewise.
8101 (cos_test_data): Update call to AUTO_TESTS_f_f.
8102 (cos_test): Use ALL_RM_TEST.
8103 (cos_tonearest_test_data): Remove.
8104 (cos_test_tonearest): Likewise.
8105 (cos_towardzero_test_data): Likewise.
8106 (cos_test_towardzero): Likewise.
8107 (cos_downward_test_data): Likewise.
8108 (cos_test_downward): Likewise.
8109 (cos_upward_test_data): Likewise.
8110 (cos_test_upward): Likewise.
8111 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8112 (cosh_test): Use ALL_RM_TEST.
8113 (cosh_tonearest_test_data): Remove.
8114 (cosh_test_tonearest): Likewise.
8115 (cosh_towardzero_test_data): Likewise.
8116 (cosh_test_towardzero): Likewise.
8117 (cosh_downward_test_data): Likewise.
8118 (cosh_test_downward): Likewise.
8119 (cosh_upward_test_data): Likewise.
8120 (cosh_test_upward): Likewise.
8121 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8122 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8123 (ctan_test_data): Likewise.
8124 (ctan_test): Use ALL_RM_TEST.
8125 (ctan_tonearest_test_data): Remove.
8126 (ctan_test_tonearest): Likewise.
8127 (ctan_towardzero_test_data): Likewise.
8128 (ctan_test_towardzero): Likewise.
8129 (ctan_downward_test_data): Likewise.
8130 (ctan_test_downward): Likewise.
8131 (ctan_upward_test_data): Likewise.
8132 (ctan_test_upward): Likewise.
8133 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8134 (ctanh_test): Use ALL_RM_TEST.
8135 (ctanh_tonearest_test_data): Remove.
8136 (ctanh_test_tonearest): Likewise.
8137 (ctanh_towardzero_test_data): Likewise.
8138 (ctanh_test_towardzero): Likewise.
8139 (ctanh_downward_test_data): Likewise.
8140 (ctanh_test_downward): Likewise.
8141 (ctanh_upward_test_data): Likewise.
8142 (ctanh_test_upward): Likewise.
8143 (erf_test_data): Update call to AUTO_TESTS_f_f.
8144 (erfc_test_data): Likewise.
8145 (exp_test_data): Likewise.
8146 (exp_test): Use ALL_RM_TEST.
8147 (exp_tonearest_test_data): Remove.
8148 (exp_test_tonearest): Likewise.
8149 (exp_towardzero_test_data): Likewise.
8150 (exp_test_towardzero): Likewise.
8151 (exp_downward_test_data): Likewise.
8152 (exp_test_downward): Likewise.
8153 (exp_upward_test_data): Likewise.
8154 (exp_test_upward): Likewise.
8155 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8156 (exp10_test): Use ALL_RM_TEST.
8157 (exp10_tonearest_test_data): Remove.
8158 (exp10_test_tonearest): Likewise.
8159 (exp10_towardzero_test_data): Likewise.
8160 (exp10_test_towardzero): Likewise.
8161 (exp10_downward_test_data): Likewise.
8162 (exp10_test_downward): Likewise.
8163 (exp10_upward_test_data): Likewise.
8164 (exp10_test_upward): Likewise.
8165 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8166 (expm1_test_data): Likewise.
8167 (expm1_test): Use ALL_RM_TEST.
8168 (expm1_tonearest_test_data): Remove.
8169 (expm1_test_tonearest): Likewise.
8170 (expm1_towardzero_test_data): Likewise.
8171 (expm1_test_towardzero): Likewise.
8172 (expm1_downward_test_data): Likewise.
8173 (expm1_test_downward): Likewise.
8174 (expm1_upward_test_data): Likewise.
8175 (expm1_test_upward): Likewise.
8176 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8177 (fma_test): Use ALL_RM_TEST.
8178 (fma_towardzero_test_data): Remove.
8179 (fma_test_towardzero): Likewise.
8180 (fma_downward_test_data): Likewise.
8181 (fma_test_downward): Likewise.
8182 (fma_upward_test_data): Likewise.
8183 (fma_test_upward): Likewise.
8184 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8185 (j0_test_data): Update call to AUTO_TESTS_f_f.
8186 (j1_test_data): Likewise.
8187 (jn_test_data): Update call to AUTO_TESTS_if_f.
8188 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8189 (log_test_data): Update call to AUTO_TESTS_f_f.
8190 (log10_test_data): Likewise.
8191 (log1p_test_data): Likewise.
8192 (log2_test_data): Likewise.
8193 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8194 (pow_tonearest_test_data): Likewise.
8195 (sin_test_data): Update call to AUTO_TESTS_f_f.
8196 (sin_test): Use ALL_RM_TEST.
8197 (sin_tonearest_test_data): Remove.
8198 (sin_test_tonearest): Likewise.
8199 (sin_towardzero_test_data): Likewise.
8200 (sin_test_towardzero): Likewise.
8201 (sin_downward_test_data): Likewise.
8202 (sin_test_downward): Likewise.
8203 (sin_upward_test_data): Likewise.
8204 (sin_test_upward): Likewise.
8205 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8206 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8207 (sinh_test): Use ALL_RM_TEST.
8208 (sinh_tonearest_test_data): Remove.
8209 (sinh_test_tonearest): Likewise.
8210 (sinh_towardzero_test_data): Likewise.
8211 (sinh_test_towardzero): Likewise.
8212 (sinh_downward_test_data): Likewise.
8213 (sinh_test_downward): Likewise.
8214 (sinh_upward_test_data): Likewise.
8215 (sinh_test_upward): Likewise.
8216 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8217 (sqrt_test): Use ALL_RM_TEST.
8218 (sqrt_tonearest_test_data): Remove.
8219 (sqrt_test_tonearest): Likewise.
8220 (sqrt_towardzero_test_data): Likewise.
8221 (sqrt_test_towardzero): Likewise.
8222 (sqrt_downward_test_data): Likewise.
8223 (sqrt_test_downward): Likewise.
8224 (sqrt_upward_test_data): Likewise.
8225 (sqrt_test_upward): Likewise.
8226 (tan_test_data): Update call to AUTO_TESTS_f_f.
8227 (tan_test): Use ALL_RM_TEST.
8228 (tan_tonearest_test_data): Remove.
8229 (tan_test_tonearest): Likewise.
8230 (tan_towardzero_test_data): Likewise.
8231 (tan_test_towardzero): Likewise.
8232 (tan_downward_test_data): Likewise.
8233 (tan_test_downward): Likewise.
8234 (tan_upward_test_data): Likewise.
8235 (tan_test_upward): Likewise.
8236 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8237 (tgamma_test_data): Likewise.
8238 (y0_test_data): Likewise.
8239 (y1_test_data): Likewise.
8240 (yn_test_data): Update call to AUTO_TESTS_if_f.
8241 (main): Do not call removed functions.
8243 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8245 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8246 (ldexp_test_data): Remove.
8247 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8249 (scalb_test): Use ALL_RM_TEST.
8251 2014-03-19 Andreas Schwab <schwab@suse.de>
8253 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8255 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8258 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8259 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8260 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8261 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8262 (__ASSUME_PREADV): Undefine.
8263 (__ASSUME_PWRITEV): Likewise.
8265 2014-03-18 Roland McGrath <roland@hack.frob.com>
8267 * bits/mman-linux.h: Add comment about non-Linux use.
8268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8269 bits/mman-linux.h resting place.
8271 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8272 * bits/mman-linux.h: ... here.
8274 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8276 * conform/conformtest.pl: Add standard definition when calling C
8277 preprocessor on data files.
8278 (checknamespace): Remove unused variable.
8280 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8282 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8283 minus_oflow, plus_uflow and minus_uflow in expected results.
8284 * math/libm-test.inc (scalbn_test_data): Add more tests of
8285 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8287 (scalbn_test): Use ALL_RM_TEST.
8288 (scalbln_test_data): Add more tests of negative arguments. Use
8289 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8290 (scalbln_test): Use ALL_RM_TEST.
8292 2014-03-18 Roland McGrath <roland@hack.frob.com>
8294 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8296 2014-03-18 Will Newton <will.newton@linaro.org>
8298 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8301 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8303 * Makerules [!subdir] (check-abi): Exit with error status if a
8306 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8308 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8309 for rint. Include results for all rounding modes.
8310 (nearbyint_test): Use ALL_RM_TEST.
8311 (rint_test_data): Include all tests used for nearbyint.
8313 2014-03-17 Will Newton <will.newton@linaro.org>
8315 * nptl/sysdeps/pthread/pthread.h: Revert previous
8318 * sysdeps/generic/ldsodefs.h: Revert previous
8321 * libio/genops.c: Revert previous change.
8322 * libio/libioP.h: Likewise.
8323 * stdio-common/vfprintf.c: Likewise.
8325 * sysdeps/generic/math_private.h: Revert previous
8328 * sysdeps/generic/math_private.h: Check whether
8329 HAVE_RM_CTX is defined with #ifdef rather
8332 * argp/argp-fmtstream.h: Check whether
8333 __STRICT_ANSI__ is defined with #ifdef rather
8335 * argp/argp.h: Likewise.
8337 * libio/genops.c: Check whether
8338 _IO_JUMPS_OFFSET is defined with #ifdef rather
8340 * libio/libioP.h: Likewise.
8341 * stdio-common/vfprintf.c: Likewise.
8343 * sysdeps/generic/ldsodefs.h: Check whether
8344 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8347 * nptl/sysdeps/pthread/pthread.h: Check
8348 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8351 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8353 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8355 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8359 * libio/fileops.c (_IO_file_open): Seek to end of file but
8360 don't cache the offset.
8361 (get_file_offset): Remove function.
8362 (do_ftell): Use cached offset when available.
8363 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8364 don't cache the offset.
8365 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8367 (do_one_test): Call it.
8368 (do_ftell_test): Fix up expected old offset for a+ mode.
8369 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8372 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8373 up test status with function return status.
8374 (do_write_test): Likewise.
8375 (do_append_test): Likewise.
8377 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8378 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8381 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8383 * math/gen-libm-test.pl (parse_args): Handle results specified for
8384 each rounding mode separately.
8385 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8386 tests and results from lrint_tonearest_test_data,
8387 lrint_towardzero_test_data, lrint_downward_test_data and
8388 lrint_upward_test_data.
8389 (lrint_test): Use ALL_RM_TEST.
8390 (lrint_tonearest_test_data): Remove.
8391 (lrint_test_tonearest): Likewise.
8392 (lrint_towardzero_test_data): Likewise.
8393 (lrint_test_towardzero): Likewise.
8394 (lrint_downward_test_data): Likewise.
8395 (lrint_test_downward): Likewise.
8396 (lrint_upward_test_data): Likewise.
8397 (lrint_test_upward): Likewise.
8398 (llrint_test_data): Merge in per-rounding-mode tests and results
8399 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8400 llrint_downward_test_data and llrint_upward_test_data.
8401 (llrint_test): Use ALL_RM_TEST.
8402 (llrint_tonearest_test_data): Remove.
8403 (llrint_test_tonearest): Likewise.
8404 (llrint_towardzero_test_data): Likewise.
8405 (llrint_test_towardzero): Likewise.
8406 (llrint_downward_test_data): Likewise.
8407 (llrint_test_downward): Likewise.
8408 (llrint_upward_test_data): Likewise.
8409 (llrint_test_upward): Likewise.
8410 (rint_test_data): Merge in per-rounding-mode tests and results
8411 from rint_tonearest_test_data, rint_towardzero_test_data,
8412 rint_downward_test_data and rint_upward_test_data. Add
8413 per-rounding-mode results for tests not in those arrays.
8414 (rint_test): Use ALL_RM_TEST.
8415 (rint_tonearest_test_data): Remove.
8416 (rint_test_tonearest): Likewise.
8417 (rint_towardzero_test_data): Likewise.
8418 (rint_test_towardzero): Likewise.
8419 (rint_downward_test_data): Likewise.
8420 (rint_test_downward): Likewise.
8421 (rint_upward_test_data): Likewise.
8422 (rint_test_upward): Likewise.
8423 (main): Don't call removed functions.
8425 2014-03-14 Roland McGrath <roland@hack.frob.com>
8427 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8428 "Compiled on ..." crapola. It is anti-useful.
8430 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8432 * scripts/evaluate-test.sh: Handle fourth argument to determine
8433 whether test run should stop on failure.
8434 * Makeconfig (stop-on-test-failure): New variable.
8435 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8436 $(stop-on-test-failure).
8437 * Makefile (tests): Give a summary of results from testing and
8438 exit with failure status if they include an ERROR or FAIL.
8440 * manual/install.texi (Configuring and compiling): Mention
8441 stop-on-test-failure=y.
8442 * INSTALL: Regenerated.
8444 2014-03-14 Roland McGrath <roland@hack.frob.com>
8446 * scripts/versionlist.awk: New file.
8447 * Makerules [$(build-shared) = yes]
8448 (postclean-generated): Add Versions.def, not Versions.def.v and
8450 ($(common-objpfx)Versions.def.v.i): Target removed.
8451 ($(common-objpfx)Versions.def): New target.
8452 ($(common-objpfx)Versions.all): Depend on that rather that
8453 $(common-objpfx)Versions.def.v.
8454 * Versions.def: File removed.
8456 * Makeconfig (+gccwarn): Add -Wundef.
8457 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8458 a dl-sysdep.h breaking its contract.
8459 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8460 * include/stackinfo.h: New file.
8461 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8462 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8463 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8464 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8465 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8466 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8467 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8468 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8469 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8470 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8471 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8472 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8473 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8474 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8475 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8477 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8480 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8482 * math/libm-test.inc (round_test_data): Add more tests.
8485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8487 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8492 * math/libm-test.inc (ceil_test_data): Add more tests.
8494 * math/libm-test.inc (trunc_test_data): Add more tests related to
8497 2014-03-14 Roland McGrath <roland@hack.frob.com>
8499 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8500 with #if rather than #ifdef.
8501 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8503 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8505 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8506 first. Disable AVX-512 GCC support if assembler doesn't support
8508 * sysdeps/x86_64/configure: Regenerated.
8510 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8512 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8513 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8514 (__old_pthread_attr_setstack): Likewise.
8515 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8516 [!_STACK_GROWS_DOWN]: Likewise.
8518 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8520 * config.make.in (have-bash2): Delete.
8521 * configure.ac (libc_cv_have_bash2): Delete.
8522 * configure: Regenerate.
8523 * elf/Makefile (common-ldd-rewrite): Rename to ...
8524 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8525 (sh-ldd-rewrite): Delete.
8526 (bash-ldd-rewrite): Delete.
8527 (have-bash2): Delete checks.
8528 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8531 * config.make.in (have-ksh): Delete.
8533 * configure.ac (libc_cv_have_ksh): Delete.
8534 * configure: Regenerate.
8536 * elf/Makefile: Delete $(have-ksh) check.
8537 ($(objpfx)sotruss): Change KSH to BASH.
8538 * elf/sotruss.ksh: Rename to ...
8539 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8540 function style to match POSIX. Drop ksh vim mode setting.
8542 * manual/time.texi (Specifying the Time Zone with TZ): Change
8543 Tuesday to Thursday.
8545 * debug/tst-longjmp_chk2.c: Update header comment.
8546 (stackoverflow_handler): Add comment. Call assert on pass value.
8548 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8551 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8552 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8553 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8554 (La_x86_64_vector): Add zmm.
8555 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8556 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8557 ($(objpfx)tst-audit10): New target.
8558 ($(objpfx)tst-audit10.out): Likewise.
8559 (tst-audit10-ENV): New.
8560 (AVX512-CFLAGS): Likewise.
8561 (CFLAGS-tst-audit10.c): Likewise.
8562 (CFLAGS-tst-auditmod10a.c): Likewise.
8563 (CFLAGS-tst-auditmod10b.c): Likewise.
8564 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8565 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8566 * sysdeps/x86_64/configure: Regenerated.
8567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8568 AVX-512 zmm register support.
8569 (_dl_x86_64_save_sse): Likewise.
8570 (_dl_x86_64_restore_sse): Likewise.
8571 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8572 size vector registers.
8573 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8574 (ZMM_SIZE): Likewise.
8575 * sysdeps/x86_64/tst-audit10.c: New file.
8576 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8577 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8579 2014-03-13 Roland McGrath <roland@hack.frob.com>
8581 * configure.ac (HAVE_EHDR_START): New check.
8582 * configure: Regenerated.
8583 * config.h.in (HAVE_EHDR_START): New #undef.
8584 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8585 assuming the lowest-addressed segment maps the start of the file.
8587 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8589 * INSTALL: Regenerated.
8591 2014-03-13 Will Newton <will.newton@linaro.org>
8593 * manual/setjmp.texi (System V contexts): Improve
8594 clarity and grammar of documentation.
8596 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8599 * elf/Makefile (tests): Add tst-pie2.
8600 (tests-pie): Add tst-pie2.
8601 * elf/tst-pie2.c: New file.
8602 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8604 * elf/rtld.c (map_doit): Load executable as lt_executable.
8605 (dl_main): Likewise.
8607 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8611 (__ASSUME_PSELECT): Undefine.
8613 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8616 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8617 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8619 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8620 selector for static builds.
8622 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8625 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8628 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8630 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8631 IFUNC selector for static builds.
8633 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8635 * sysdeps/mips/math_private.h [__mips_hard_float]
8636 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8637 libc_feresetround_mips_ctx.
8638 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8639 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8640 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8643 * math/s_nextafter.c (__nextafter): Do not return value from
8644 overflowing computation.
8645 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8646 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8649 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8651 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8652 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8654 2014-03-11 Roland McGrath <roland@hack.frob.com>
8656 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8657 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8658 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8659 the new mov targetting sp.
8661 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8664 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8665 Define it for static builds as well.
8666 (NO_BZERO_IMPL): Likewise.
8668 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8670 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8671 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8672 multiarch strspn for PPC64.
8673 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8674 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8676 (__libc_ifunc_impl_list): Likewise.
8677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8678 multiarch optimizations
8679 * string/strspn.c (strspn): Using macro to redefine symbol name.
8681 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8682 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8684 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8685 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8686 multiarch strncat for PPC64.
8687 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8688 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8690 (__libc_ifunc_impl_list): Likewise.
8691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8692 multiarch optimizations
8694 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8697 * nscd/nscd.service: Make service type forking.
8699 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8701 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8702 sign in non default rounding modes.
8703 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8705 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8707 * math/libm-test.inc (ALL_RM_TEST): New macro.
8708 (ceil_test): Use ALL_RM_TEST.
8709 (cimag_test): Likewise.
8710 (conj_test): Likewise.
8711 (copysign_test): Likewise.
8712 (cproj_test): Likewise.
8713 (creal_test): Likewise.
8714 (fabs_test): Likewise.
8715 (floor_test): Likewise.
8716 (fmax_test): Likewise.
8717 (fmin_test): Likewise.
8718 (fmod_test): Likewise.
8719 (fpclassify_test): Likewise.
8720 (frexp_test): Likewise.
8721 (ilogb_test): Likewise.
8722 (isfinite_test): Likewise.
8723 (finite_test): Likewise.
8724 (isgreater_test): Likewise.
8725 (isgreaterequal_test): Likewise.
8726 (isinf_test): Likewise.
8727 (isless_test): Likewise.
8728 (islessequal_test): Likewise.
8729 (islessgreater_test): Likewise.
8730 (isnan_test): Likewise.
8731 (isnormal_test): Likewise.
8732 (issignaling_test): Likewise.
8733 (isunordered_test): Likewise.
8734 (logb_test): Likewise.
8735 (logb_downward_test_data): Remove.
8736 (logb_test_downward): Likewise.
8737 (lround_test): Use ALL_RM_TEST.
8738 (llround_test): Likewise.
8739 (modf_test): Likewise.
8740 (nexttoward_test): Likewise.
8741 (remainder_test): Likewise.
8742 (drem_test): Likewise.
8743 (remainder_tonearest_test_data): Likewise.
8744 (remainder_test_tonearest): Likewise.
8745 (drem_test_tonearest): Likewise.
8746 (remainder_towardzero_test_data): Likewise.
8747 (remainder_test_towardzero): Likewise.
8748 (drem_test_towardzero): Likewise.
8749 (remainder_downward_test_data): Likewise.
8750 (remainder_test_downward): Likewise.
8751 (drem_test_downward): Likewise.
8752 (remainder_upward_test_data): Likewise.
8753 (remainder_test_upward): Likewise.
8754 (drem_test_upward): Likewise.
8755 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8756 (round_test): Use ALL_RM_TEST.
8757 (signbit_test): Likewise.
8758 (trunc_test): Likewise.
8759 (significand_test): Likewise.
8760 (main): Don't call removed functions.
8762 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8765 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8767 (ILL_ILLOPN): Likewise.
8768 (ILL_ILLADR): Likewise.
8769 (ILL_ILLTRP): Likewise.
8770 (ILL_PRVOPC): Likewise.
8771 (ILL_PRVREG): Likewise.
8772 (ILL_COPROC): Likewise.
8773 (ILL_BADSTK): Likewise.
8774 (FPE_INTDIV): Likewise.
8775 (FPE_INTOVF): Likewise.
8776 (FPE_FLTDIV): Likewise.
8777 (FPE_FLTOVF): Likewise.
8778 (FPE_FLTUND): Likewise.
8779 (FPE_FLTRES): Likewise.
8780 (FPE_FLTINV): Likewise.
8781 (FPE_FLTSUB): Likewise.
8782 (SEGV_MAPERR): Likewise.
8783 (SEGV_ACCERR): Likewise.
8784 (BUS_ADRALN): Likewise.
8785 (BUS_ADRERR): Likewise.
8786 (BUS_OBJERR): Likewise.
8787 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8788 (TRAP_TRACE): Likewise.
8789 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8791 (CLD_KILLED): Likewise.
8792 (CLD_DUMPED): Likewise.
8793 (CLD_TRAPPED): Likewise.
8794 (CLD_STOPPED): Likewise.
8795 (CLD_CONTINUED): Likewise.
8796 (POLL_IN): Likewise.
8797 (POLL_OUT): Likewise.
8798 (POLL_MSG): Likewise.
8799 (POLL_ERR): Likewise.
8800 (POLL_PRI): Likewise.
8801 (POLL_HUP): Likewise.
8802 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8804 (ILL_ILLOPN): Likewise.
8805 (ILL_ILLADR): Likewise.
8806 (ILL_ILLTRP): Likewise.
8807 (ILL_PRVOPC): Likewise.
8808 (ILL_PRVREG): Likewise.
8809 (ILL_COPROC): Likewise.
8810 (ILL_BADSTK): Likewise.
8811 (FPE_INTDIV): Likewise.
8812 (FPE_INTOVF): Likewise.
8813 (FPE_FLTDIV): Likewise.
8814 (FPE_FLTOVF): Likewise.
8815 (FPE_FLTUND): Likewise.
8816 (FPE_FLTRES): Likewise.
8817 (FPE_FLTINV): Likewise.
8818 (FPE_FLTSUB): Likewise.
8819 (SEGV_MAPERR): Likewise.
8820 (SEGV_ACCERR): Likewise.
8821 (BUS_ADRALN): Likewise.
8822 (BUS_ADRERR): Likewise.
8823 (BUS_OBJERR): Likewise.
8824 (BUS_MCEERR_AR): Likewise.
8825 (BUS_MCEERR_AO): Likewise.
8826 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8827 (TRAP_TRACE): Likewise.
8828 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8830 (CLD_KILLED): Likewise.
8831 (CLD_DUMPED): Likewise.
8832 (CLD_TRAPPED): Likewise.
8833 (CLD_STOPPED): Likewise.
8834 (CLD_CONTINUED): Likewise.
8835 (POLL_IN): Likewise.
8836 (POLL_OUT): Likewise.
8837 (POLL_MSG): Likewise.
8838 (POLL_ERR): Likewise.
8839 (POLL_PRI): Likewise.
8840 (POLL_HUP): Likewise.
8841 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8842 (ILL_ILLOPN): Likewise.
8843 (ILL_ILLADR): Likewise.
8844 (ILL_ILLTRP): Likewise.
8845 (ILL_PRVOPC): Likewise.
8846 (ILL_PRVREG): Likewise.
8847 (ILL_COPROC): Likewise.
8848 (ILL_BADSTK): Likewise.
8849 (FPE_INTDIV): Likewise.
8850 (FPE_INTOVF): Likewise.
8851 (FPE_FLTDIV): Likewise.
8852 (FPE_FLTOVF): Likewise.
8853 (FPE_FLTUND): Likewise.
8854 (FPE_FLTRES): Likewise.
8855 (FPE_FLTINV): Likewise.
8856 (FPE_FLTSUB): Likewise.
8857 (SEGV_MAPERR): Likewise.
8858 (SEGV_ACCERR): Likewise.
8859 (BUS_ADRALN): Likewise.
8860 (BUS_ADRERR): Likewise.
8861 (BUS_OBJERR): Likewise.
8862 (BUS_MCEERR_AR): Likewise.
8863 (BUS_MCEERR_AO): Likewise.
8864 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8865 (TRAP_TRACE): Likewise.
8866 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8868 (CLD_KILLED): Likewise.
8869 (CLD_DUMPED): Likewise.
8870 (CLD_TRAPPED): Likewise.
8871 (CLD_STOPPED): Likewise.
8872 (CLD_CONTINUED): Likewise.
8873 (POLL_IN): Likewise.
8874 (POLL_OUT): Likewise.
8875 (POLL_MSG): Likewise.
8876 (POLL_ERR): Likewise.
8877 (POLL_PRI): Likewise.
8878 (POLL_HUP): Likewise.
8879 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8881 (ILL_ILLOPN): Likewise.
8882 (ILL_ILLADR): Likewise.
8883 (ILL_ILLTRP): Likewise.
8884 (ILL_PRVOPC): Likewise.
8885 (ILL_PRVREG): Likewise.
8886 (ILL_COPROC): Likewise.
8887 (ILL_BADSTK): Likewise.
8888 (ILL_BADIADDR): Likewise.
8889 (ILL_BREAK): Likewise.
8890 (FPE_INTDIV): Likewise.
8891 (FPE_INTOVF): Likewise.
8892 (FPE_FLTDIV): Likewise.
8893 (FPE_FLTOVF): Likewise.
8894 (FPE_FLTUND): Likewise.
8895 (FPE_FLTRES): Likewise.
8896 (FPE_FLTINV): Likewise.
8897 (FPE_FLTSUB): Likewise.
8898 (FPE_DECOVF): Likewise.
8899 (FPE_DECDIV): Likewise.
8900 (FPE_DECERR): Likewise.
8901 (FPE_INVASC): Likewise.
8902 (FPE_INVDEC): Likewise.
8903 (SEGV_MAPERR): Likewise.
8904 (SEGV_ACCERR): Likewise.
8905 (SEGV_PSTKOVF): Likewise.
8906 (BUS_ADRALN): Likewise.
8907 (BUS_ADRERR): Likewise.
8908 (BUS_OBJERR): Likewise.
8909 (BUS_MCEERR_AR): Likewise.
8910 (BUS_MCEERR_AO): Likewise.
8911 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8912 (TRAP_TRACE): Likewise.
8913 (TRAP_BRANCH): Likewise.
8914 (TRAP_HWBKPT): Likewise.
8915 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8917 (CLD_KILLED): Likewise.
8918 (CLD_DUMPED): Likewise.
8919 (CLD_TRAPPED): Likewise.
8920 (CLD_STOPPED): Likewise.
8921 (CLD_CONTINUED): Likewise.
8922 (POLL_IN): Likewise.
8923 (POLL_OUT): Likewise.
8924 (POLL_MSG): Likewise.
8925 (POLL_ERR): Likewise.
8926 (POLL_PRI): Likewise.
8927 (POLL_HUP): Likewise.
8928 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8929 (ILL_ILLOPN): Likewise.
8930 (ILL_ILLADR): Likewise.
8931 (ILL_ILLTRP): Likewise.
8932 (ILL_PRVOPC): Likewise.
8933 (ILL_PRVREG): Likewise.
8934 (ILL_COPROC): Likewise.
8935 (ILL_BADSTK): Likewise.
8936 (FPE_INTDIV): Likewise.
8937 (FPE_INTOVF): Likewise.
8938 (FPE_FLTDIV): Likewise.
8939 (FPE_FLTOVF): Likewise.
8940 (FPE_FLTUND): Likewise.
8941 (FPE_FLTRES): Likewise.
8942 (FPE_FLTINV): Likewise.
8943 (FPE_FLTSUB): Likewise.
8944 (SEGV_MAPERR): Likewise.
8945 (SEGV_ACCERR): Likewise.
8946 (BUS_ADRALN): Likewise.
8947 (BUS_ADRERR): Likewise.
8948 (BUS_OBJERR): Likewise.
8949 (BUS_MCEERR_AR): Likewise.
8950 (BUS_MCEERR_AO): Likewise.
8951 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8952 (TRAP_TRACE): Likewise.
8953 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8955 (CLD_KILLED): Likewise.
8956 (CLD_DUMPED): Likewise.
8957 (CLD_TRAPPED): Likewise.
8958 (CLD_STOPPED): Likewise.
8959 (CLD_CONTINUED): Likewise.
8960 (POLL_IN): Likewise.
8961 (POLL_OUT): Likewise.
8962 (POLL_MSG): Likewise.
8963 (POLL_ERR): Likewise.
8964 (POLL_PRI): Likewise.
8965 (POLL_HUP): Likewise.
8966 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8967 (ILL_ILLOPN): Likewise.
8968 (ILL_ILLADR): Likewise.
8969 (ILL_ILLTRP): Likewise.
8970 (ILL_PRVOPC): Likewise.
8971 (ILL_PRVREG): Likewise.
8972 (ILL_COPROC): Likewise.
8973 (ILL_BADSTK): Likewise.
8974 (FPE_INTDIV): Likewise.
8975 (FPE_INTOVF): Likewise.
8976 (FPE_FLTDIV): Likewise.
8977 (FPE_FLTOVF): Likewise.
8978 (FPE_FLTUND): Likewise.
8979 (FPE_FLTRES): Likewise.
8980 (FPE_FLTINV): Likewise.
8981 (FPE_FLTSUB): Likewise.
8982 (SEGV_MAPERR): Likewise.
8983 (SEGV_ACCERR): Likewise.
8984 (BUS_ADRALN): Likewise.
8985 (BUS_ADRERR): Likewise.
8986 (BUS_OBJERR): Likewise.
8987 (BUS_MCEERR_AR): Likewise.
8988 (BUS_MCEERR_AO): Likewise.
8989 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8990 (TRAP_TRACE): Likewise.
8991 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8993 (CLD_KILLED): Likewise.
8994 (CLD_DUMPED): Likewise.
8995 (CLD_TRAPPED): Likewise.
8996 (CLD_STOPPED): Likewise.
8997 (CLD_CONTINUED): Likewise.
8998 (POLL_IN): Likewise.
8999 (POLL_OUT): Likewise.
9000 (POLL_MSG): Likewise.
9001 (POLL_ERR): Likewise.
9002 (POLL_PRI): Likewise.
9003 (POLL_HUP): Likewise.
9004 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9005 (ILL_ILLOPN): Likewise.
9006 (ILL_ILLADR): Likewise.
9007 (ILL_ILLTRP): Likewise.
9008 (ILL_PRVOPC): Likewise.
9009 (ILL_PRVREG): Likewise.
9010 (ILL_COPROC): Likewise.
9011 (ILL_BADSTK): Likewise.
9012 (FPE_INTDIV): Likewise.
9013 (FPE_INTOVF): Likewise.
9014 (FPE_FLTDIV): Likewise.
9015 (FPE_FLTOVF): Likewise.
9016 (FPE_FLTUND): Likewise.
9017 (FPE_FLTRES): Likewise.
9018 (FPE_FLTINV): Likewise.
9019 (FPE_FLTSUB): Likewise.
9020 (SEGV_MAPERR): Likewise.
9021 (SEGV_ACCERR): Likewise.
9022 (BUS_ADRALN): Likewise.
9023 (BUS_ADRERR): Likewise.
9024 (BUS_OBJERR): Likewise.
9025 (BUS_MCEERR_AR): Likewise.
9026 (BUS_MCEERR_AO): Likewise.
9027 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9028 (TRAP_TRACE): Likewise.
9029 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9031 (CLD_KILLED): Likewise.
9032 (CLD_DUMPED): Likewise.
9033 (CLD_TRAPPED): Likewise.
9034 (CLD_STOPPED): Likewise.
9035 (CLD_CONTINUED): Likewise.
9036 (POLL_IN): Likewise.
9037 (POLL_OUT): Likewise.
9038 (POLL_MSG): Likewise.
9039 (POLL_ERR): Likewise.
9040 (POLL_PRI): Likewise.
9041 (POLL_HUP): Likewise.
9042 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9043 (ILL_ILLOPN): Likewise.
9044 (ILL_ILLADR): Likewise.
9045 (ILL_ILLTRP): Likewise.
9046 (ILL_PRVOPC): Likewise.
9047 (ILL_PRVREG): Likewise.
9048 (ILL_COPROC): Likewise.
9049 (ILL_BADSTK): Likewise.
9050 (ILL_DBLFLT): Likewise.
9051 (ILL_HARDWALL): Likewise.
9052 (FPE_INTDIV): Likewise.
9053 (FPE_INTOVF): Likewise.
9054 (FPE_FLTDIV): Likewise.
9055 (FPE_FLTOVF): Likewise.
9056 (FPE_FLTUND): Likewise.
9057 (FPE_FLTRES): Likewise.
9058 (FPE_FLTINV): Likewise.
9059 (FPE_FLTSUB): Likewise.
9060 (SEGV_MAPERR): Likewise.
9061 (SEGV_ACCERR): Likewise.
9062 (BUS_ADRALN): Likewise.
9063 (BUS_ADRERR): Likewise.
9064 (BUS_OBJERR): Likewise.
9065 (BUS_MCEERR_AR): Likewise.
9066 (BUS_MCEERR_AO): Likewise.
9067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9068 (TRAP_TRACE): Likewise.
9069 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9071 (CLD_KILLED): Likewise.
9072 (CLD_DUMPED): Likewise.
9073 (CLD_TRAPPED): Likewise.
9074 (CLD_STOPPED): Likewise.
9075 (CLD_CONTINUED): Likewise.
9076 (POLL_IN): Likewise.
9077 (POLL_OUT): Likewise.
9078 (POLL_MSG): Likewise.
9079 (POLL_ERR): Likewise.
9080 (POLL_PRI): Likewise.
9081 (POLL_HUP): Likewise.
9082 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9083 (ILL_ILLOPN): Likewise.
9084 (ILL_ILLADR): Likewise.
9085 (ILL_ILLTRP): Likewise.
9086 (ILL_PRVOPC): Likewise.
9087 (ILL_PRVREG): Likewise.
9088 (ILL_COPROC): Likewise.
9089 (ILL_BADSTK): Likewise.
9090 (FPE_INTDIV): Likewise.
9091 (FPE_INTOVF): Likewise.
9092 (FPE_FLTDIV): Likewise.
9093 (FPE_FLTOVF): Likewise.
9094 (FPE_FLTUND): Likewise.
9095 (FPE_FLTRES): Likewise.
9096 (FPE_FLTINV): Likewise.
9097 (FPE_FLTSUB): Likewise.
9098 (SEGV_MAPERR): Likewise.
9099 (SEGV_ACCERR): Likewise.
9100 (BUS_ADRALN): Likewise.
9101 (BUS_ADRERR): Likewise.
9102 (BUS_OBJERR): Likewise.
9103 (BUS_MCEERR_AR): Likewise.
9104 (BUS_MCEERR_AO): Likewise.
9105 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9106 (TRAP_TRACE): Likewise.
9107 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9109 (CLD_KILLED): Likewise.
9110 (CLD_DUMPED): Likewise.
9111 (CLD_TRAPPED): Likewise.
9112 (CLD_STOPPED): Likewise.
9113 (CLD_CONTINUED): Likewise.
9114 (POLL_IN): Likewise.
9115 (POLL_OUT): Likewise.
9116 (POLL_MSG): Likewise.
9117 (POLL_ERR): Likewise.
9118 (POLL_PRI): Likewise.
9119 (POLL_HUP): Likewise.
9120 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9121 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9124 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9125 before #include of <time.h>.
9126 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9127 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9128 (test-xfail-UNIX98/sched.h/conform): Likewise.
9130 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9132 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9133 error absence of trapping exception support.
9134 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9136 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9138 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9139 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9140 * timezone/Makefile (testdata): Move definition above include of
9142 (test-zones): New variable.
9143 (tests-special): Add zone files.
9144 (build-testdata): Use $(evaluate-test).
9146 * elf/Makefile (tests-special): Rename tests to end with .out.
9147 ($(objpfx)noload-mem): Likewise.
9148 ($(objpfx)tst-leaks1-mem): Likewise.
9149 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9150 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9151 $(objpfx)test-iconvconfig.out.
9152 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9153 set -e inside subshell and redirect output to file.
9154 * iconvdata/Makefile (generated): Rename tests to end with .out.
9156 (tests-special): Rename tests to end with .out.
9157 ($(objpfx)mtrace-tst-loading): Likewise.
9158 * intl/Makefile (generated): Likewise.
9159 (tests-special): Likewise.
9160 ($(objpfx)mtrace-tst-gettext): Likewise.
9161 * misc/Makefile (generated): Likewise.
9162 (tests-special): Likewise.
9163 ($(objpfx)tst-error1-mem): Likewise.
9164 * nptl/Makefile (tests-special): Likewise.
9165 ($(objpfx)tst-stack3-mem): Likewise.
9166 (generated): Likewise.
9167 * posix/Makefile (generated): Likewise.
9168 (tests-special): Likewise.
9169 (xtests-special): Likewise.
9170 ($(objpfx)tst-fnmatch-mem): Likewise.
9171 ($(objpfx)bug-regex2-mem): Likewise.
9172 ($(objpfx)bug-regex14-mem): Likewise.
9173 ($(objpfx)bug-regex21-mem): Likewise.
9174 ($(objpfx)bug-regex31-mem): Likewise.
9175 ($(objpfx)tst-vfork3-mem): Likewise.
9176 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9177 ($(objpfx)tst-pcre-mem): Likewise.
9178 ($(objpfx)tst-boost-mem): Likewise.
9179 ($(objpfx)bug-ga2-mem): Likewise.
9180 ($(objpfx)bug-glob2-mem): Likewise.
9181 * resolv/Makefile (generate): Likewise.
9182 (tests-special): Likewise.
9183 (xtests-special): Likewise.
9184 (generated): Likewise.
9185 ($(objpfx)mtrace-tst-leaks): Likewise.
9186 ($(objpfx)mtrace-tst-leaks2): Likewise.
9188 * scripts/merge-test-results.sh: New file.
9189 * Makefile (tests-special-notdir): New variable.
9190 (tests): Run merge-test-results.sh.
9192 * Rules (tests-special-notdir): New variable.
9193 (xtests-special-notdir): Likewise.
9194 (tests): Run merge-test-results.sh
9197 * Makeconfig (test-xfail-name): New variable.
9198 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9199 compute variable name for expected failures.
9200 * conform/Makefile (conformtest-headers-data): New variable.
9201 (conformtest-standards): Likewise.
9202 (conformtest-headers-ISO): Likewise.
9203 (conformtest-headers-ISO99): Likewise.
9204 (conformtest-headers-ISO11): Likewise.
9205 (conformtest-headers-POSIX): Likewise.
9206 (conformtest-headers-XPG3): Likewise.
9207 (conformtest-headers-XPG4): Likewise.
9208 (conformtest-headers-UNIX98): Likewise.
9209 (conformtest-headers-XOPEN2K): Likewise.
9210 (conformtest-headers-POSIX2008): Likewise.
9211 (conformtest-headers-XOPEN2K8): Likewise.
9212 (conformtest-header-list-base): Likewise.
9213 (conformtest-header-list-tests): Likewise.
9214 (conformtest-header-base): Likewise.
9215 (conformtest-header-tests): Likewise.
9216 (tests-special): Add $(conformtest-header-list-tests). If
9217 [$(fast-check) && !$(cross-compiling)], add
9218 $(conformtest-header-tests) instead of
9219 $(objpfx)run-conformtest.out.
9220 (generated): Add $(conformtest-header-list-base). If
9221 [$(fast-check) && !$(cross-compiling)], add
9222 $(conformtest-header-base). Remove previous setting.
9223 ($(conformtest-header-list-tests)): New target.
9224 (test-xfail-run-conformtest): Remove variable.
9225 ($(objpfx)run-conformtest.out): Remove target.
9226 (test-xfail-ISO11/complex.h/conform): New variable.
9227 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9228 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9229 (test-xfail-XPG3/varargs.h/conform): Likewise.
9230 (test-xfail-XPG4/varargs.h/conform): Likewise.
9231 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9232 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9233 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9234 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9235 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9236 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9237 (test-xfail-XPG3/ftw.h/conform): Likewise.
9238 (test-xfail-XPG3/grp.h/conform): Likewise.
9239 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9240 (test-xfail-XPG3/limits.h/conform): Likewise.
9241 (test-xfail-XPG3/pwd.h/conform): Likewise.
9242 (test-xfail-XPG3/search.h/conform): Likewise.
9243 (test-xfail-XPG3/signal.h/conform): Likewise.
9244 (test-xfail-XPG3/stdio.h/conform): Likewise.
9245 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9246 (test-xfail-XPG3/string.h/conform): Likewise.
9247 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9248 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9249 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9250 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9251 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9252 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9253 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9254 (test-xfail-XPG3/termios.h/conform): Likewise.
9255 (test-xfail-XPG3/time.h/conform): Likewise.
9256 (test-xfail-XPG3/unistd.h/conform): Likewise.
9257 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9258 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9259 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9260 (test-xfail-XPG4/netdb.h/conform): Likewise.
9261 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9262 (test-xfail-XPG4/signal.h/conform): Likewise.
9263 (test-xfail-XPG4/stdio.h/conform): Likewise.
9264 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9265 (test-xfail-XPG4/stropts.h/conform): Likewise.
9266 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9267 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9268 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9269 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9270 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9271 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9272 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9273 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9274 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9275 (test-xfail-XPG4/termios.h/conform): Likewise.
9276 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9277 (test-xfail-XPG4/unistd.h/conform): Likewise.
9278 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9279 (test-xfail-POSIX/sched.h/conform): Likewise.
9280 (test-xfail-POSIX/signal.h/conform): Likewise.
9281 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9282 (test-xfail-POSIX/tar.h/conform): Likewise.
9283 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9284 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9285 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9286 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9287 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9288 (test-xfail-UNIX98/sched.h/conform): Likewise.
9289 (test-xfail-UNIX98/signal.h/conform): Likewise.
9290 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9291 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9292 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9293 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9294 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9295 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9296 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9297 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9298 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9299 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9300 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9301 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9302 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9303 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9304 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9305 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9306 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9307 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9308 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9309 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9310 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9311 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9312 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9313 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9314 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9315 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9316 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9317 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9318 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9319 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9320 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9321 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9322 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9323 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9324 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9325 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9326 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9327 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9328 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9329 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9330 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9331 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9332 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9333 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9334 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9335 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9336 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9337 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9338 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9339 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9340 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9341 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9342 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9343 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9344 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9345 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9346 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9347 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9348 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9349 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9350 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9351 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9352 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9353 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9354 (conformtest-cc-flags): Likewise.
9355 ($(conformtest-header-tests): New target.
9356 * conform/check-header-lists.sh: New file.
9357 * conform/run-conformtest.sh: Remove.
9359 * conform/conformtest.pl: Allow ' and \ in values given for
9361 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9363 [POSIX] (sys/types.h): Likewise.
9364 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9366 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9368 * conform/data/signal.h-data (SIGIO): Remove expectation.
9369 [XPG3] (SIGBUS): Do not expect.
9370 [POSIX || XPG3] (SIGPOLL): Likewise.
9371 [POSIX || XPG3] (SIGPROF): Likewise.
9372 [POSIX || XPG3] (SIGSYS): Likewise.
9373 [XPG3] (SIGTRAP): Likewise.
9374 [POSIX || XPG3] (SIGURG): Likewise.
9375 [POSIX || XPG3] (SIGVTALRM): Likewise.
9376 [POSIX || XPG3] (SIGXCPU): Likewise.
9377 [POSIX || XPG3] (SIGXFSZ): Likewise.
9378 [POSIX] (SA_SIGINFO): Expect.
9379 [XPG3] (siginfo_t): Do not expect type or contents.
9380 [POSIX] (si_pid): Do not expect element.
9381 [POSIX] (si_uid): Likewise.
9382 [POSIX] (si_addr): Likewise.
9383 [POSIX] (si_status): Likewise.
9384 [POSIX] (si_band): Likewise.
9385 [XPG4] (si_value): Likewise.
9386 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9387 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9388 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9389 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9390 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9391 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9392 [POSIX || XPG3] (ILL_COPROC): Likewise.
9393 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9394 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9395 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9396 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9397 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9398 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9399 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9400 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9401 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9402 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9403 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9404 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9405 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9406 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9407 [POSIX || XPG3] (CLD_EXITED): Likewise.
9408 [POSIX || XPG3] (CLD_KILLED): Likewise.
9409 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9410 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9411 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9412 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9413 [POSIX || XPG3] (POLL_IN): Likewise.
9414 [POSIX || XPG3] (POLL_OUT): Likewise.
9415 [POSIX || XPG3] (POLL_MSG): Likewise.
9416 [POSIX || XPG3] (POLL_ERR): Likewise.
9417 [POSIX || XPG3] (POLL_PRI): Likewise.
9418 [POSIX || XPG3] (POLL_HUP): Likewise.
9419 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9420 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9421 (SIG*): Do not allow.
9422 [XPG3] (si_*): Likewise.
9423 [XPG3] (SI_*): Likewise.
9424 [XPG3 || XPG4] (sigev_*): Likewise.
9425 [XPG3 || XPG4] (SIGEV_*): Likewise.
9426 [XPG3 || XPG4] (sival_*): Likewise.
9427 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9428 [POSIX || XPG3] (BUS_*): Likewise.
9429 [POSIX || XPG3] (CLD_*): Likewise.
9430 [POSIX || XPG3] (FPE_*): Likewise.
9431 [POSIX || XPG3] (ILL_*): Likewise.
9432 [POSIX || XPG3] (POLL_*): Likewise.
9433 [POSIX || XPG3] (SEGV_*): Likewise.
9434 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9435 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9436 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9437 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9438 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9439 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9440 Specify type and value.
9441 (TVERSLEN): Likewise.
9442 (REGTYPE): Likewise.
9443 (AREGTYPE): Likewise.
9444 (LNKTYPE): Likewise.
9445 (SYMTYPE): Likewise.
9446 (CHRTYPE): Likewise.
9447 (BLKTYPE): Likewise.
9448 (DIRTYPE): Likewise.
9449 (FIFOTYPE): Likewise.
9450 (CONTTYPE): Likewise.
9455 (TUWRITE): Likewise.
9458 (TGWRITE): Likewise.
9461 (TOWRITE): Likewise.
9463 [POSIX] (TSVTX): Expect constant.
9465 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9467 * Makefile (tests): Change dependencies to ....
9468 (tests-special): ... additions to this variable.
9469 (tests): Depend on $(tests-special).
9470 * Makerules (check-abi-list): New variable.
9471 (check-abi): Depend on $(check-abi-list).
9472 [$(subdir) = elf] (tests-special): Add
9473 $(objpfx)check-abi-libc.out.
9474 [$(build-shared) = yes && subdir] (tests-special): Add
9476 [$(build-shared) = yes && subdir] (tests): Do not depend on
9478 * Rules (tests): Depend on $(tests-special).
9479 (xtests): Depend on $(xtests-special).
9480 * catgets/Makefile (tests): Change dependencies to ....
9481 (tests-special): ... additions to this variable.
9482 * conform/Makefile (tests): Change dependencies to ....
9483 (tests-special): ... additions to this variable.
9484 * elf/Makefile (tests): Change dependencies to ....
9485 (tests-special): ... additions to this variable.
9486 * grp/Makefile (tests): Change dependencies to ....
9487 (tests-special): ... additions to this variable.
9488 * iconv/Makefile (xtests): Change dependencies to ....
9489 (xtests-special): ... additions to this variable.
9490 * iconvdata/Makefile (tests): Change dependencies to ....
9491 (tests-special): ... additions to this variable.
9492 * intl/Makefile (tests): Change dependencies to ....
9493 (tests-special): ... additions to this variable. Also add
9494 $(objpfx)tst-gettext.out.
9495 * io/Makefile (tests): Change dependencies to ....
9496 (tests-special): ... additions to this variable.
9497 * libio/Makefile (tests): Change dependencies to ....
9498 (tests-special): ... additions to this variable.
9499 * malloc/Makefile (tests): Change dependencies to ....
9500 (tests-special): ... additions to this variable.
9501 * misc/Makefile (tests): Change dependencies to ....
9502 (tests-special): ... additions to this variable.
9503 * nptl/Makefile (tests): Change dependencies to ....
9504 (tests-special): ... additions to this variable.
9505 * nptl_db/Makefile (tests): Change dependencies to ....
9506 (tests-special): ... additions to this variable.
9507 * posix/Makefile (tests): Change dependencies to ....
9508 (tests-special): ... additions to this variable.
9509 (xtests): Change dependencies to ....
9510 (xtests-special): ... additions to this variable.
9511 * resolv/Makefile (tests): Change dependencies to ....
9512 (tests-special): ... additions to this variable.
9513 (xtests): Change dependencies to ....
9514 (xtests-special): ... additions to this variable.
9515 * stdio-common/Makefile (tests): Change dependencies to ....
9516 (tests-special): ... additions to this variable.
9517 (do-tst-unbputc): Remove target.
9518 (do-tst-printf): Likewise.
9519 * stdlib/Makefile (tests): Change dependencies to ....
9520 (tests-special): ... additions to this variable.
9521 * string/Makefile (tests): Change dependencies to ....
9522 (tests-special): ... additions to this variable.
9523 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9524 (tests-special): ... additions to this variable.
9526 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9528 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9530 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9531 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9533 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9534 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9535 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9536 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9537 * conform/data/libgen.h-data [XPG3]: Likewise.
9538 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9539 * conform/data/ndbm.h-data [XPG3]: Likewise.
9540 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9541 * conform/data/netdb.h-data [XPG3]: Likewise.
9542 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9543 * conform/data/poll.h-data [XPG3]: Likewise.
9544 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9545 * conform/data/strings.h-data [XPG3]: Likewise.
9546 * conform/data/stropts.h-data [XPG3]: Likewise.
9547 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9548 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9549 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9551 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9552 * conform/data/sys/time.h-data [XPG3]: Likewise.
9553 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9554 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9555 * conform/data/sys/un.h-data [XPG3]: Likewise.
9556 * conform/data/syslog.h-data [XPG3]: Likewise.
9557 * conform/data/ucontext.h-data [XPG3]: Likewise.
9558 * conform/data/utmpx.h-data [XPG3]: Likewise.
9559 * conform/data/varargs.h-data [UNIX98]: Enable file.
9561 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9563 * math/libm-test.inc (struct test_f_f_data): Move expected results
9564 into structure for each rounding mode.
9565 (struct test_ff_f_data): Likewise.
9566 (struct test_ff_f_data_nexttoward): Likewise.
9567 (struct test_fi_f_data): Likewise.
9568 (struct test_fl_f_data): Likewise.
9569 (struct test_if_f_data): Likewise.
9570 (struct test_fff_f_data): Likewise.
9571 (struct test_c_f_data): Likewise.
9572 (struct test_f_f1_data): Likewise.
9573 (struct test_fF_f1_data): Likewise.
9574 (struct test_ffI_f1_data): Likewise.
9575 (struct test_c_c_data): Likewise.
9576 (struct test_cc_c_data): Likewise.
9577 (struct test_f_i_data): Likewise.
9578 (struct test_ff_i_data): Likewise.
9579 (struct test_f_l_data): Likewise.
9580 (struct test_f_L_data): Likewise.
9581 (struct test_fFF_11_data): Likewise.
9583 (RM_FE_DOWNWARD): Likewise.
9584 (RM_FE_TONEAREST): Likewise.
9585 (RM_FE_TOWARDZERO): Likewise.
9586 (RM_FE_UPWARD): Likewise.
9587 (RUN_TEST_LOOP_f_f): Update references to expected results.
9588 (RUN_TEST_LOOP_2_f): Likewise.
9589 (RUN_TEST_LOOP_fff_f): Likewise.
9590 (RUN_TEST_LOOP_c_f): Likewise.
9591 (RUN_TEST_LOOP_f_f1): Likewise.
9592 (RUN_TEST_LOOP_fF_f1): Likewise.
9593 (RUN_TEST_LOOP_fI_f1): Likewise.
9594 (RUN_TEST_LOOP_ffI_f1): Likewise.
9595 (RUN_TEST_LOOP_c_c): Likewise.
9596 (RUN_TEST_LOOP_cc_c): Likewise.
9597 (RUN_TEST_LOOP_f_i): Likewise.
9598 (RUN_TEST_LOOP_f_i_tg): Likewise.
9599 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9600 (RUN_TEST_LOOP_f_b): Likewise.
9601 (RUN_TEST_LOOP_f_b_tg): Likewise.
9602 (RUN_TEST_LOOP_f_l): Likewise.
9603 (RUN_TEST_LOOP_f_L): Likewise.
9604 (RUN_TEST_LOOP_fFF_11): Likewise.
9605 * math/gen-libm-test.pl (parse_args): Output four copies of
9606 expected results for each test.
9608 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9609 (__ASSUME_UTIMES): Remove.
9610 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9611 (__ASSUME_UTIMES): Likewise.
9613 * math/gen-auto-libm-tests.c: Update comment on output format.
9614 (output_for_one_input_case): Generate before-rounding and
9615 after-rounding information as conditions on output flags not
9616 floating-point format.
9617 * math/auto-libm-test-out: Regenerated.
9618 * math/gen-libm-test.pl (cond_value): New function.
9619 (or_cond_value): Use cond_value.
9620 (generate_testfile): Handle conditional exceptions.
9622 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9624 * math/libm-test.inc (max_valid_error): New variable.
9625 (init_max_error): Take new argument specifying whether function
9626 results are exactly determined. Set max_valid_error and bound
9627 other variables for errors based on this argument.
9628 (set_max_error): Do not record results above max_valid_error.
9629 (check_float_internal): Only accept errors of up to 0.5ulps if
9630 also at most max_valid_error.
9631 (START): Take new argument EXACT and pass it to init_max_error.
9632 (acos_test): Update call to START.
9633 (acos_test_tonearest): Likewise.
9634 (acos_test_towardzero): Likewise.
9635 (acos_test_downward): Likewise.
9636 (acos_test_upward): Likewise.
9637 (acosh_test): Likewise.
9638 (asin_test): Likewise.
9639 (asin_test_tonearest): Likewise.
9640 (asin_test_towardzero): Likewise.
9641 (asin_test_downward): Likewise.
9642 (asin_test_upward): Likewise.
9643 (asinh_test): Likewise.
9644 (atan_test): Likewise.
9645 (atanh_test): Likewise.
9646 (atan2_test): Likewise.
9647 (cabs_test): Likewise.
9648 (cacos_test): Likewise.
9649 (cacosh_test): Likewise.
9650 (carg_test): Likewise.
9651 (casin_test): Likewise.
9652 (casinh_test): Likewise.
9653 (catan_test): Likewise.
9654 (catanh_test): Likewise.
9655 (cbrt_test): Likewise.
9656 (ccos_test): Likewise.
9657 (ccosh_test): Likewise.
9658 (ceil_test): Likewise.
9659 (cexp_test): Likewise.
9660 (cimag_test): Likewise.
9661 (clog_test): Likewise.
9662 (clog10_test): Likewise.
9663 (conj_test): Likewise.
9664 (copysign_test): Likewise.
9665 (cos_test): Likewise.
9666 (cos_test_tonearest): Likewise.
9667 (cos_test_towardzero): Likewise.
9668 (cos_test_downward): Likewise.
9669 (cos_test_upward): Likewise.
9670 (cosh_test): Likewise.
9671 (cosh_test_tonearest): Likewise.
9672 (cosh_test_towardzero): Likewise.
9673 (cosh_test_downward): Likewise.
9674 (cosh_test_upward): Likewise.
9675 (cpow_test): Likewise.
9676 (cproj_test): Likewise.
9677 (creal_test): Likewise.
9678 (csin_test): Likewise.
9679 (csinh_test): Likewise.
9680 (csqrt_test): Likewise.
9681 (ctan_test): Likewise.
9682 (ctan_test_tonearest): Likewise.
9683 (ctan_test_towardzero): Likewise.
9684 (ctan_test_downward): Likewise.
9685 (ctan_test_upward): Likewise.
9686 (ctanh_test): Likewise.
9687 (ctanh_test_tonearest): Likewise.
9688 (ctanh_test_towardzero): Likewise.
9689 (ctanh_test_downward): Likewise.
9690 (ctanh_test_upward): Likewise.
9691 (erf_test): Likewise.
9692 (erfc_test): Likewise.
9693 (exp_test): Likewise.
9694 (exp_test_tonearest): Likewise.
9695 (exp_test_towardzero): Likewise.
9696 (exp_test_downward): Likewise.
9697 (exp_test_upward): Likewise.
9698 (exp10_test): Likewise.
9699 (exp10_test_tonearest): Likewise.
9700 (exp10_test_towardzero): Likewise.
9701 (exp10_test_downward): Likewise.
9702 (exp10_test_upward): Likewise.
9703 (pow10_test): Likewise.
9704 (exp2_test): Likewise.
9705 (expm1_test): Likewise.
9706 (expm1_test_tonearest): Likewise.
9707 (expm1_test_towardzero): Likewise.
9708 (expm1_test_downward): Likewise.
9709 (expm1_test_upward): Likewise.
9710 (fabs_test): Likewise.
9711 (fdim_test): Likewise.
9712 (floor_test): Likewise.
9713 (fma_test): Likewise.
9714 (fma_test_towardzero): Likewise.
9715 (fma_test_downward): Likewise.
9716 (fma_test_upward): Likewise.
9717 (fmax_test): Likewise.
9718 (fmin_test): Likewise.
9719 (fmod_test): Likewise.
9720 (fpclassify_test): Likewise.
9721 (frexp_test): Likewise.
9722 (hypot_test): Likewise.
9723 (ilogb_test): Likewise.
9724 (isfinite_test): Likewise.
9725 (finite_test): Likewise.
9726 (isgreater_test): Likewise.
9727 (isgreaterequal_test): Likewise.
9728 (isinf_test): Likewise.
9729 (isless_test): Likewise.
9730 (islessequal_test): Likewise.
9731 (islessgreater_test): Likewise.
9732 (isnan_test): Likewise.
9733 (isnormal_test): Likewise.
9734 (issignaling_test): Likewise.
9735 (isunordered_test): Likewise.
9736 (j0_test): Likewise.
9737 (j1_test): Likewise.
9738 (jn_test): Likewise.
9739 (ldexp_test): Likewise.
9740 (lgamma_test): Likewise.
9741 (gamma_test): Likewise.
9742 (lrint_test): Likewise.
9743 (lrint_test_tonearest): Likewise.
9744 (lrint_test_towardzero): Likewise.
9745 (lrint_test_downward): Likewise.
9746 (lrint_test_upward): Likewise.
9747 (llrint_test): Likewise.
9748 (llrint_test_tonearest): Likewise.
9749 (llrint_test_towardzero): Likewise.
9750 (llrint_test_downward): Likewise.
9751 (llrint_test_upward): Likewise.
9752 (log_test): Likewise.
9753 (log10_test): Likewise.
9754 (log1p_test): Likewise.
9755 (log2_test): Likewise.
9756 (logb_test): Likewise.
9757 (logb_test_downward): Likewise.
9758 (lround_test): Likewise.
9759 (llround_test): Likewise.
9760 (modf_test): Likewise.
9761 (nearbyint_test): Likewise.
9762 (nextafter_test): Likewise.
9763 (nexttoward_test): Likewise.
9764 (pow_test): Likewise.
9765 (pow_test_tonearest): Likewise.
9766 (pow_test_towardzero): Likewise.
9767 (pow_test_downward): Likewise.
9768 (pow_test_upward): Likewise.
9769 (remainder_test): Likewise.
9770 (drem_test): Likewise.
9771 (remainder_test_tonearest): Likewise.
9772 (drem_test_tonearest): Likewise.
9773 (remainder_test_towardzero): Likewise.
9774 (drem_test_towardzero): Likewise.
9775 (remainder_test_downward): Likewise.
9776 (drem_test_downward): Likewise.
9777 (remainder_test_upward): Likewise.
9778 (drem_test_upward): Likewise.
9779 (remquo_test): Likewise.
9780 (rint_test): Likewise.
9781 (rint_test_tonearest): Likewise.
9782 (rint_test_towardzero): Likewise.
9783 (rint_test_downward): Likewise.
9784 (rint_test_upward): Likewise.
9785 (round_test): Likewise.
9786 (scalb_test): Likewise.
9787 (scalbn_test): Likewise.
9788 (scalbln_test): Likewise.
9789 (signbit_test): Likewise.
9790 (sin_test): Likewise.
9791 (sin_test_tonearest): Likewise.
9792 (sin_test_towardzero): Likewise.
9793 (sin_test_downward): Likewise.
9794 (sin_test_upward): Likewise.
9795 (sincos_test): Likewise.
9796 (sinh_test): Likewise.
9797 (sinh_test_tonearest): Likewise.
9798 (sinh_test_towardzero): Likewise.
9799 (sinh_test_downward): Likewise.
9800 (sinh_test_upward): Likewise.
9801 (sqrt_test): Likewise.
9802 (sqrt_test_tonearest): Likewise.
9803 (sqrt_test_towardzero): Likewise.
9804 (sqrt_test_downward): Likewise.
9805 (sqrt_test_upward): Likewise.
9806 (tan_test): Likewise.
9807 (tan_test_tonearest): Likewise.
9808 (tan_test_towardzero): Likewise.
9809 (tan_test_downward): Likewise.
9810 (tan_test_upward): Likewise.
9811 (tanh_test): Likewise.
9812 (tgamma_test): Likewise.
9813 (trunc_test): Likewise.
9814 (y0_test): Likewise.
9815 (y1_test): Likewise.
9816 (yn_test): Likewise.
9817 (significand_test): Likewise.
9819 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9820 individual tests in comment.
9821 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9822 (prev_max_error): New variable.
9823 (prev_real_max_error): Likewise.
9824 (prev_imag_max_error): Likewise.
9825 (compare_ulp_data): Don't refer to test names in comment.
9826 (find_test_ulps): Remove function.
9827 (find_function_ulps): Likewise.
9828 (find_complex_function_ulps): Likewise.
9829 (init_max_error): Take function name as argument. Look up ulps
9831 (print_ulps): Remove function.
9832 (print_max_error): Use prev_max_error instead of calling
9834 (print_complex_max_error): Use prev_real_max_error and
9835 prev_imag_max_error instead of calling find_complex_function_ulps.
9836 (check_float_internal): Take max_ulp parameter instead of calling
9837 find_test_ulps. Don't call print_ulps.
9838 (check_float): Update call to check_float_internal.
9839 (check_complex): Update calls to check_float_internal.
9840 (START): Pass argument to init_max_error.
9841 * math/gen-libm-test.pl (%results): Don't include "kind"
9843 (parse_ulps): Don't handle ulps of individual tests.
9844 (print_ulps_file): Likewise.
9845 (output_ulps): Likewise.
9846 * math/README.libm-test: Update.
9847 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9849 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9850 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9851 * sysdeps/arm/libm-test-ulps: Likewise.
9852 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9853 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9854 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9855 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9856 * sysdeps/microblaze/libm-test-ulps: Likewise.
9857 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9858 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9860 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9861 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9862 * sysdeps/sh/libm-test-ulps: Likewise.
9863 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9864 * sysdeps/tile/libm-test-ulps: Likewise.
9865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9867 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9869 * math/libm-test.inc (print_complex_max_error): Check separately
9870 whether real and imaginary errors are within allowed range and
9871 pass 0 to print_complex_function_ulps instead of value within
9874 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9876 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9878 (get_handles_fopen): Likewise.
9879 (do_write_test): Likewise.
9881 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9883 * libio/fileops.c (do_ftell): Use cached offset when
9885 * libio/iofwide.c (do_ftell_wide): Likewise.
9886 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9888 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9891 * libio/libioP.h (get_file_offset): New function.
9892 * libio/fileops.c (get_file_offset): Likewise.
9893 (do_ftell): Likewise.
9894 (_IO_new_file_seekoff): Split out ftell logic.
9895 * libio/wfileops.c (do_ftell_wide): Likewise.
9896 (_IO_wfile_seekoff): Split out ftell logic.
9897 * libio/tst-ftell-active-handler.c: New test case.
9898 * libio/Makefile (tests): Add it.
9900 2014-03-03 Roland McGrath <roland@hack.frob.com>
9902 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9903 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9905 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9908 * nscd/connections.c (nscd_init): Call do_exit.
9909 (start_threads): Call do_exit and notify_parent.
9910 (begin_drop_privileges): Call do_exit.
9911 (finish_drop_privileges): Likewise.
9912 * nscd/selinux.c (preserve_capabilities): Likewise.
9913 (install_real_capabilities): Likewise.
9914 (nscd_selinux_enabled): Likewise.
9915 (avc_create_thread): Likewise.
9916 (avc_alloc_lock): Likewise.
9917 (nscd_avc_init): Likewise.
9918 * nscd/nscd.c (parent_fd): New static variable.
9919 (main): Create a pipe between parent and child processes.
9920 Skip closing parent_fd.
9921 (monitor_child): New function.
9922 (do_exit): Likewise.
9923 (notify_parent): Likewise.
9924 * nscd/nscd.h (notify_parent): Likewise.
9925 (do_exit): Likewise.
9927 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9929 * malloc/malloc.c (__libc_calloc): Revert last change.
9931 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9935 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9937 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9941 (__libc_ifunc_impl_list): Likewise.
9942 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9943 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9944 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9945 * string/strrchr.c: Define STRRCHR.
9947 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9949 * benchtest/bench-strtok.c (simple_strtok): Delete.
9950 (strtok_string): Use as benchmark.
9951 * string/strtok (STRTOK): New macro.
9953 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9955 * manual/threads.texi: Add header and standard comments to all
9958 * elf/dl-lookup.c (check_match): New function.
9959 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9960 (do_lookup_x): Remove nested function check_match. Use non-nested
9961 function check_match.
9963 2014-02-28 Roland McGrath <roland@hack.frob.com>
9965 * csu/Makefile (generated, before-compile): Use += rather than =.
9966 * catgets/Makefile (generated, generated-dirs): Likewise.
9967 * debug/Makefile (generated): Likewise.
9968 * dlfcn/Makefile (generated): Likewise.
9969 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9970 * iconvdata/Makefile (before-compile, generated): Likewise.
9971 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9972 * libio/Makefile (generated): Likewise.
9973 * malloc/Makefile (generated): Likewise.
9974 * manual/Makefile (generated, generated-dirs): Likewise.
9975 * misc/Makefile (generated): Likewise.
9976 * posix/Makefile (generated): Likewise.
9977 * resolv/Makefile (generated): Likewise.
9978 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9979 * timezone/Makefile (generated, generated-dirs): Likewise.
9981 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9983 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9986 power8 implementation.
9987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9988 file: POWER8 llround ifunc implementation.
9989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9990 (__lllround): Add POWER8 implementation.
9991 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9992 POWER8 llround implementation.
9994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9995 power8 implementation.
9996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9997 file: POWER8 llrint ifunc implementation.
9998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9999 Add POWER8 implementation.
10000 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10001 POWER8 llrint implementation.
10003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10004 power8 implementation.
10005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10006 file: POWER8 finite ifunc implementation.
10007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10008 Add POWER8 implementation.
10009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10011 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10012 POWER8 finite implementation.
10013 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10016 power8 implementation.
10017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10018 file: POWER8 isinf ifunc implementation.
10019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10020 POWER8 implementation.
10021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10023 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10024 isinf implementation.
10025 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10027 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10028 (INIT_ARCH): Add hwcap2 initialization.
10029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10030 power8 implementation.
10031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10032 file: POWER8 isnan ifunc implementation.
10033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10034 POWER8 implementation.
10035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10037 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10038 isnan implementation.
10039 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10041 2014-02-27 Joey Ye <joey.ye@arm.com>
10043 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10044 (_FP_NANFRAC_Q): Set to zero.
10046 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10049 * math/auto-libm-test-in: New test inputs.
10050 * math/auto-libm-test-out: Regenerate.
10051 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10054 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10056 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10058 * scripts/evaluate-test.sh: Take new argument indicating whether
10059 failure is expected.
10060 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10061 indicating whether failure is expected.
10062 * conform/Makefile (test-xfail-run-conformtest): New variable.
10063 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10065 * posix/Makefile (test-xfail-annexc): New variable.
10066 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10068 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10070 * argp/Makefile: Include Makeconfig immediately after defining
10072 * assert/Makefile: Likewise.
10073 * benchtests/Makefile: Likewise.
10074 * catgets/Makefile: Likewise.
10075 * conform/Makefile: Likewise.
10076 * crypt/Makefile: Likewise.
10077 * csu/Makefile: Likewise.
10078 (all): Remove target.
10079 * ctype/Makefile: Include Makeconfig immediately after defining
10081 * debug/Makefile: Likewise.
10082 * dirent/Makefile: Likewise.
10083 * dlfcn/Makefile: Likewise.
10084 * gmon/Makefile: Likewise.
10085 * gnulib/Makefile: Likewise.
10086 * grp/Makefile: Likewise.
10087 * gshadow/Makefile: Likewise.
10088 * hesiod/Makefile: Likewise.
10089 * hurd/Makefile: Likewise.
10090 (all): Remove target.
10091 * iconvdata/Makefile: Include Makeconfig immediately after
10093 * inet/Makefile: Likewise.
10094 * intl/Makefile: Likewise.
10095 * io/Makefile: Likewise.
10096 * libio/Makefile: Likewise.
10097 (all): Remove target.
10098 * locale/Makefile: Include Makeconfig immediately after defining
10100 * login/Makefile: Likewise.
10101 * mach/Makefile: Likewise.
10102 (all): Remove target.
10103 * malloc/Makefile: Include Makeconfig immediately after defining
10105 (all): Remove target.
10106 * manual/Makefile: Include Makeconfig immediately after defining
10108 * math/Makefile: Likewise.
10109 * misc/Makefile: Likewise.
10110 * nis/Makefile: Likewise.
10111 * nss/Makefile: Likewise.
10112 * po/Makefile: Likewise.
10113 (all): Remove target.
10114 * posix/Makefile: Include Makeconfig immediately after defining
10116 * pwd/Makefile: Likewise.
10117 * resolv/Makefile: Likewise.
10118 * resource/Makefile: Likewise.
10119 * rt/Makefile: Likewise.
10120 * setjmp/Makefile: Likewise.
10121 * shadow/Makefile: Likewise.
10122 * signal/Makefile: Likewise.
10123 * socket/Makefile: Likewise.
10124 * soft-fp/Makefile: Likewise.
10125 * stdio-common/Makefile: Likewise.
10126 * stdlib/Makefile: Likewise.
10127 * streams/Makefile: Likewise.
10128 * string/Makefile: Likewise.
10129 * sunrpc/Makefile: Likewise.
10130 (all): Remove target.
10131 * sysvipc/Makefile: Include Makeconfig immediately after defining
10133 * termios/Makefile: Likewise.
10134 * time/Makefile: Likewise.
10135 * timezone/Makefile: Likewise.
10136 (all): Remove target.
10137 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10139 * wctype/Makefile: Likewise.
10141 2014-02-26 Steve Ellcey <sellcey@mips.com>
10143 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10144 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10145 (libc_feholdexcept_setround_mips): Ditto.
10146 (libc_feholdsetround): New.
10147 (libc_feholdsetroundf): New.
10148 (libc_feholdsetroundl): New.
10149 (libc_feupdateenv_test_mips): New.
10150 (libc_feupdateenv_test): New.
10151 (libc_feupdateenv_testf): New.
10152 (libc_feupdateenv_testl): New.
10153 (libc_feresetround): New.
10154 (libc_feresetroundf): New.
10155 (libc_feresetroundl): New.
10156 (libc_fetestexcept_mips): New.
10157 (libc_fetestexcept): New.
10158 (libc_fetestexceptf): New.
10159 (libc_fetestexceptl): New.
10160 (HAVE_RM_CTX): New.
10161 (libc_feholdexcept_setround_mips_ctx): New.
10162 (libc_feholdexcept_setround_ctx): New.
10163 (libc_feholdexcept_setroundf_ctx): New.
10164 (libc_feholdexcept_setroundl_ctx): New.
10165 (libc_fesetenv_mips_ctx): New.
10166 (libc_fesetenv_ctx): New.
10167 (libc_fesetenv_ctxf): New.
10168 (libc_fesetenv_ctxl): New.
10169 (libc_feupdateenv_mips_ctx): New.
10170 (libc_feupdateenv_ctx): New.
10171 (libc_feupdateenvf_ctx): New.
10172 (libc_feupdateenvl_ctx): New.
10173 (libc_feholdsetround_mips_ctx): New.
10174 (libc_feholdsetround_ctx): New.
10175 (libc_feholdsetroundf_ctx): New.
10176 (libc_feholdsetroundl_ctx): New.
10177 (libc_feresetround_mips_ctx): New.
10178 (libc_feresetround_ctx): New.
10179 (libc_feresetroundf_ctx): New.
10180 (libc_feresetroundl_ctx): New.
10182 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10184 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10186 * manual/ipc.texi: New file.
10187 * manual/Makefile (chapters): Add ipc.
10188 * manual/job.texi: Add "Inter-Process Communication" to next.
10189 * manual/process.texi: Add "Inter-Process Communication" to prev.
10191 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10195 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10197 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10199 * manual/arith.texi: Fix spaces after sentences.
10200 * manual/charset.texi: Likewise.
10201 * manual/errno.texi: Likewise.
10202 * manual/install.texi: Likewise.
10203 * manual/llio.texi: Likewise.
10204 * manual/locale.texi: Likewise.
10205 * manual/maint.texi: Likewise.
10206 * manual/math.texi: Likewise.
10207 * manual/memory.texi: Likewise.
10208 * manual/message.texi: Likewise.
10209 * manual/probes.texi: Likewise.
10210 * manual/resource.texi: Likewise.
10211 * manual/signal.texi: Likewise.
10212 * manual/socket.texi: Likewise.
10213 * manual/stdio.texi: Likewise.
10214 * manual/string.texi: Likewise.
10215 * manual/time.texi: Likewise.
10216 * manual/users.texi: Likewise.
10218 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10221 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10222 _DEFAULT_SOURCE is defined.
10224 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10225 Carlos O'Donell <carlos@redhat.com>
10228 * elf/dl-tls.c (_dl_count_modids): New function.
10229 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10230 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10231 audit library and increment generation counter.
10232 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10233 * elf/tst-audit9.c: New file.
10234 * elf/tst-auditmod9a.c: New file.
10235 * elf/tst-auditmod9b.c: New file.
10236 * elf/Makefile: Add rules to build and run tst-audit9.
10238 2014-02-25 Florian Weimer <fweimer@redhat.com>
10241 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10243 2014-02-25 Will Newton <will.newton@linaro.org>
10245 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10246 (__longjmp): Restore sp and lr before restoring callee
10247 saved registers. Add longjmp and longjmp_target
10248 SystemTap probe point.
10249 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10250 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10251 Define to zero to match jmpbuf layout.
10252 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10253 (__sigsetjmp): Save sp and lr before saving callee
10254 saved registers. Add setjmp SystemTap probe point.
10256 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10258 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10260 2014-02-24 Andreas Schwab <schwab@suse.de>
10263 * elf/pldd.c (wait_for_ptrace_stop): New function.
10264 (main): Call it after attaching.
10266 2014-02-22 Roland McGrath <roland@hack.frob.com>
10268 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10269 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10270 Versions files is now verboten.
10271 * hurd/Versions (libc: GLIBC_2.0):
10272 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10273 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10274 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10275 * mach/Versions: Likewise.
10277 * csu/Versions: Remove unused %include.
10278 * resolv/Versions: Likewise.
10280 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10282 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10283 ($(objpfx)check-local-headers.out): Likewise.
10284 ($(objpfx)begin-end-check.out): Likewise.
10285 * Makerules (check-abi-%.out): Likewise.
10286 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10287 ($(objpfx)test2.cat): Likewise.
10288 ($(objpfx)de/libc.cat): Likewise.
10289 ($(objpfx)test-gencat.out): Likewise.
10290 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10291 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10292 ($(objpfx)noload-mem): Likewise.
10293 ($(objpfx)tst-pathopt.out): Likewise.
10294 ($(objpfx)tst-rtld-load-self.out): Likewise.
10295 ($(objpfx)tst-array1-cmp.out): Likewise.
10296 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10297 ($(objpfx)tst-array2-cmp.out): Likewise.
10298 ($(objpfx)tst-array3-cmp.out): Likewise.
10299 ($(objpfx)tst-array4-cmp.out): Likewise.
10300 ($(objpfx)tst-array5-cmp.out): Likewise.
10301 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10302 ($(objpfx)check-textrel.out): Likewise.
10303 ($(objpfx)check-execstack.out): Likewise.
10304 ($(objpfx)check-localplt.out): Likewise.
10305 ($(objpfx)order2-cmp.out): Likewise.
10306 ($(objpfx)tst-leaks1-mem): Likewise.
10307 ($(objpfx)tst-leaks1-static-mem): Likewise.
10308 ($(objpfx)tst-initorder-cmp.out): Likewise.
10309 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10310 ($(objpfx)tst-unused-dep.out): Likewise.
10311 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10312 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10313 * iconv/Makefile (test-iconvconfig): Likewise.
10314 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10315 ($(objpfx)iconv-test.out): Likewise.
10316 ($(objpfx)tst-tables.out): Likewise.
10317 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10318 ($(objpfx)tst-gettext.out): Likewise.
10319 ($(objpfx)tst-translit.out): Likewise.
10320 ($(objpfx)tst-gettext2.out): Likewise.
10321 ($(objpfx)tst-gettext4.out): Likewise.
10322 ($(objpfx)tst-gettext6.out): Likewise.
10323 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10324 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10325 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10326 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10327 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10328 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10329 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10330 ($(objpfx)wordexp-tst.out): Likewise.
10331 ($(objpfx)annexc.out): Likewise.
10332 ($(objpfx)tst-fnmatch-mem): Likewise.
10333 ($(objpfx)bug-regex2-mem): Likewise.
10334 ($(objpfx)bug-regex14-mem): Likewise.
10335 ($(objpfx)bug-regex21-mem): Likewise.
10336 ($(objpfx)bug-regex31-mem): Likewise.
10337 ($(objpfx)tst-vfork3-mem): Likewise.
10338 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10339 ($(objpfx)tst-pcre-mem): Likewise.
10340 ($(objpfx)tst-boost-mem): Likewise.
10341 ($(objpfx)tst-getconf.out): Likewise.
10342 ($(objpfx)bug-ga2-mem): Likewise.
10343 ($(objpfx)bug-glob2-mem): Likewise.
10344 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10345 ($(objpfx)mtrace-tst-leaks2): Likewise.
10346 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10347 ($(objpfx)tst-printf.out): Likewise.
10348 ($(objpfx)tst-setvbuf1.out): Likewise.
10349 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10350 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10351 ($(objpfx)tst-fmtmsg.out): Likewise.
10352 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10353 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10355 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10356 * bits/sigaction.h [__USE_MISC]: Likewise.
10357 * bits/waitstatus.h: Update #endif comments.
10358 * ctype/ctype.h: Likewise.
10359 * dirent/dirent.h: Likewise.
10360 [__USE_MISC]: Remove redundant conditionals.
10361 * grp/grp.h: Update #endif comments.
10362 [__USE_GNU]: Remove redundant conditionals.
10363 [__USE_MISC]: Likewise.
10364 * inet/netinet/in.h [__USE_GNU]: Likewise.
10365 * io/sys/stat.h [__USE_MISC]: Likewise.
10366 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10367 * libio/bits/stdio.h: Update #endif comments.
10368 [__USE_MISC]: Remove redundant conditionals.
10369 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10370 * libio/stdio.h: Update #endif comments.
10371 [__USE_MISC]: Remove redundant conditionals.
10372 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10373 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10374 * math/math.h: Update #else and #endif comments.
10375 [__USE_MISC]: Remove redundant conditionals.
10376 * misc/sys/uio.h: Update #endif comments.
10377 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10378 * posix/glob.h [__USE_MISC]: Likewise.
10379 * posix/sys/types.h: Update #endif comments.
10380 [__USE_MISC]: Remove redundant conditionals.
10381 * posix/sys/wait.h: Update #endif comments.
10382 [__USE_MISC]: Remove redundant conditionals.
10383 * posix/unistd.h: Update #endif comments.
10384 [__USE_MISC]: Remove redundant conditionals.
10385 * pwd/pwd.h [__USE_GNU]: Likewise.
10386 [__USE_MISC]: Likewise.
10387 * resolv/netdb.h [__USE_GNU]: Likewise.
10388 * signal/signal.h: Update #endif comments.
10389 [__USE_MISC]: Remove redundant conditionals.
10390 * stdlib/stdlib.h: Update #else and #endif comments.
10391 [__USE_MISC]: Remove redundant conditionals.
10392 [__USE_GNU]: Likewise.
10393 * string/bits/string2.h [__USE_MISC]: Likewise.
10394 * string/string.h: Update #endif comments.
10395 [__USE_MISC]: Remove redundant conditionals.
10396 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10398 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10399 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10400 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10402 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10404 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10406 [__USE_MISC]: Remove redundant conditionals.
10407 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10408 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10409 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10410 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10411 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10413 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10414 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10416 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10417 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10419 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10421 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10422 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10424 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10426 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10427 * sysdeps/x86/bits/string.h: Update #endif comments.
10428 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10430 * time/sys/time.h: Update #endif comments.
10431 * time/time.h: Likewise.
10432 [__USE_MISC]: Remove redundant conditionals.
10434 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10437 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10439 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10441 * Versions.def (librt): Add GLIBC_2.17.
10443 2014-02-21 Adam Conrad <adconrad@0c3.net>
10445 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10446 synonym for _SYS_AUXV_H to allow direct inclusion.
10447 * sysdeps/sparc/bits/hwcap.h: Likewise.
10448 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10449 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10450 * sysdeps/sparc/sysdep.h: Likewise.
10452 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10454 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10456 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10458 * benchtests/bench-strrchr.c: Print length instead of position.
10460 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10463 * sysdeps/unix/sysv/linux/kernel-features.h
10464 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10465 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10466 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10467 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10469 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10470 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10471 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10472 (__ASSUME_SENDMMSG): Define instead of using previous
10473 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10474 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10475 (__ASSUME_SENDMMSG_SYSCALL): Define.
10476 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10477 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10479 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10480 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10482 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10483 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10485 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10486 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10487 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10488 [__ASSUME_SENDMMSG]: Change conditionals to
10489 [__ASSUME_SENDMMSG_SOCKETCALL].
10490 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10491 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10493 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10494 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10496 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10497 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10498 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10499 [!__ASSUME_SENDMMSG]: Change conditional to
10500 [!__ASSUME_SENDMMSG_SOCKETCALL].
10501 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10502 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10506 * sysdeps/unix/sysv/linux/kernel-features.h
10507 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10508 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10509 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10510 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10511 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10512 [__i386__ || __sparc__]
10513 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10514 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10515 (__ASSUME_RECVMMSG): Define instead of using previous
10516 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10517 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10518 (__ASSUME_RECVMMSG_SYSCALL): Define.
10519 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10520 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10523 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10525 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10526 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10528 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10529 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10530 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10531 [__ASSUME_RECVMMSG]: Change condition to
10532 [__ASSUME_RECVMMSG_SOCKETCALL].
10533 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10534 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10536 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10537 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10538 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10540 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10541 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10542 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10543 [!__ASSUME_RECVMMSG]: Change condition to
10544 [!__ASSUME_RECVMMSG_SOCKETCALL].
10545 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10546 (__ASSUME_RECVMMSG_SYSCALL): Define.
10549 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10550 __powerpc__ || __s390__ || __sh__ || __sparc__]
10551 (__ASSUME_SOCKETCALL): Define.
10552 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10553 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10554 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10555 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10556 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10557 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10558 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10559 (__ASSUME_ACCEPT4): Define instead of using previous
10560 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10561 __powerpc__ || __sparc__ || __s390__)] condition.
10562 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10563 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10564 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10565 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10566 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10567 [!__ASSUME_ACCEPT4]: Change condition to
10568 [!__ASSUME_ACCEPT4_SOCKETCALL].
10569 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10570 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10571 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10572 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10573 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10574 __ASSUME_ACCEPT4_SYSCALL.
10575 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10576 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10577 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10578 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10579 __ASSUME_ACCEPT4_SYSCALL.
10580 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10581 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10582 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10583 [__ASSUME_ACCEPT4]: Change condition to
10584 [__ASSUME_ACCEPT4_SOCKETCALL].
10585 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10586 (__ASSUME_SOCKETCALL): Define.
10587 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10589 (__ASSUME_SOCKETCALL): Define.
10590 (__ASSUME_ACCEPT4): Remove.
10591 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10593 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10594 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10596 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10597 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10599 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10601 (HWCAP_ARM_LPAE): Likewise.
10602 (HWCAP_ARM_EVTSTRM): Likewise.
10603 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10604 Add vpfd32, lpae and evtstrm.
10605 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10608 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10610 * math/auto-libm-test-in: Add tests of clog10.
10611 * math/auto-libm-test-out: Regenerated.
10612 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10613 * sysdeps/i386/fpu/libm-test-ulps: Update.
10614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10616 2014-02-18 Andreas Schwab <schwab@suse.de>
10619 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10620 Store non-zero if the second buffer was newly allocated.
10621 (send_dg): Likewise.
10622 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10623 to send_vc and send_dg.
10624 (res_nsend): Pass NULL for ansp2_malloced.
10625 * resolv/res_query.c (__libc_res_nquery): Add parameter
10626 answerp2_malloced and pass it down to __libc_res_nsend.
10627 (res_nquery): Pass additional NULL to __libc_res_nquery.
10628 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10629 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10630 second answer buffer if answerp2_malloced was set.
10631 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10632 (__libc_res_nquerydomain): Add parameter
10633 answerp2_malloced and pass it down to __libc_res_nquery.
10634 (res_nquerydomain): Pass additional NULL to
10635 __libc_res_nquerydomain.
10636 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10637 additional NULL to __libc_res_nsend and __libc_res_nquery.
10638 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10639 additional NULL to __libc_res_nsearch.
10640 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10641 parameter of __libc_res_nsearch to check for separately allocated
10643 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10645 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10646 additional NULL to __libc_res_nquery.
10647 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10648 __libc_res_nsearch.
10649 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10650 * include/resolv.h: Update prototypes of __libc_res_nquery,
10651 __libc_res_nsearch, __libc_res_nsend.
10653 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10655 * math/auto-libm-test-in: Add tests of fma.
10656 * math/auto-libm-test-out: Regenerated.
10657 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10658 (fma_towardzero_test_data): Likewise.
10659 (fma_downward_test_data): Likewise.
10660 (fma_upward_test_data): Likewise.
10661 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10663 (rounding_modes): Add values for new field.
10664 (func_calc_method): Add value mpfr_fff_f.
10665 (func_calc_desc): Add mpfr_fff_f union field.
10666 (test_function): Add field exact_args.
10667 (FUNC): Add macro argument EXACT_ARGS.
10668 (FUNC_mpfr_f_f): Update call to FUNC.
10669 (FUNC_mpfr_f_f): Likewise.
10670 (FUNC_mpfr_ff_f): Likewise.
10671 (FUNC_mpfr_if_f): Likewise.
10672 (FUNC_mpc_c_f): Likewise.
10673 (FUNC_mpc_c_c): Likewise.
10674 (test_functions): Add fma. Update calls to FUNC.
10675 (handle_input_arg): Add argument exact_args.
10676 (add_test): Update call to handle_input_arg.
10677 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10678 (output_for_one_input_case): Update call to calc_generic_results.
10679 Recalculate exact zero results in each rounding mode.
10681 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10682 non-negative before setting low bit.
10683 * math/auto-libm-test-in: Mark one asin test possibly having
10684 spurious underflow.
10685 * math/auto-libm-test-out: Regenerated.
10686 * sysdeps/i386/fpu/libm-test-ulps: Update.
10687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10689 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10691 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10692 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10693 ports/sysdeps/unix/sysv/linux/microblaze.
10694 * README: Add missing listing for microblaze*-*-linux-gnu.
10696 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10698 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10701 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10703 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10704 * sysdeps/unix/sysv/linux/ia64: Move directory from
10705 ports/sysdeps/unix/sysv/linux/ia64.
10706 * README: Update listing for ia64-*-linux-gnu.
10708 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10709 Joseph Myers <joseph@codesourcery.com>
10711 * Makeconfig (test-name): New variable.
10712 (evaluate-test): Likewise.
10713 * Makerules (do-test-clean): Remove .test-result files.
10714 (common-mostlyclean): Likewise.
10715 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10716 * scripts/evaluate-test.sh: New file.
10718 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10720 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10721 separate $(objpfx)tst-fopenloc-cmp.out and
10722 $(objpfx)tst-fopenloc-mem.out targets.
10723 (tests): Update dependencies.
10724 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10725 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10726 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10727 (tst-rxspencer-no-utf8-ARGS): New variable.
10728 (tst-rxspencer-no-utf8-ENV): Likewise.
10729 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10730 instead of $(objpfx)tst-rxspencer-mem.
10731 ($(objpfx)tst-rxspencer-mem): Change target to
10732 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10733 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10734 * posix/tst-rxspencer-no-utf8.c: New file.
10736 * elf/Makefile ($(objpfx)order.out): Remove rule.
10737 [$(run-built-tests) = yes] (tests): Depend on
10738 $(objpfx)order-cmp.out.
10739 ($(objpfx)order-cmp.out): New rule.
10740 [$(run-built-tests) = yes] (tests): Depend on
10741 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10742 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10743 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10744 $(objpfx)tst-array5-static-cmp.out.
10745 ($(objpfx)tst-array1.out): Remove rule.
10746 ($(objpfx)tst-array1-cmp.out): New rule.
10747 ($(objpfx)tst-array1-static.out): Remove rule.
10748 ($(objpfx)tst-array1-static-cmp.out): New rule.
10749 ($(objpfx)tst-array2.out): Remove rule.
10750 ($(objpfx)tst-array2-cmp.out): New rule.
10751 ($(objpfx)tst-array3.out): Remove rule.
10752 ($(objpfx)tst-array3-cmp.out): New rule.
10753 ($(objpfx)tst-array4.out): Remove rule.
10754 ($(objpfx)tst-array4-cmp.out): New rule.
10755 ($(objpfx)tst-array5.out): Remove rule.
10756 ($(objpfx)tst-array5-cmp.out): New rule.
10757 ($(objpfx)tst-array5-static.out): Remove rule.
10758 ($(objpfx)tst-array5-static-cmp.out): New rule.
10759 [$(run-built-tests) = yes] (tests): Depend on
10760 $(objpfx)order2-cmp.out.
10761 ($(objpfx)order2.out): Remove rule.
10762 ($(objpfx)order2-cmp.out): New rule.
10763 ($(objpfx)tst-initorder.out): Remove rule.
10764 [$(run-built-tests) = yes] (tests): Depend on
10765 $(objpfx)tst-initorder-cmp.out.
10766 ($(objpfx)tst-initorder-cmp.out): New rule.
10767 ($(objpfx)tst-initorder2.out): Remove rule.
10768 [$(run-built-tests) = yes] (tests): Depend on
10769 $(objpfx)tst-initorder2-cmp.out.
10770 ($(objpfx)tst-initorder2-cmp.out): New rule.
10771 [$(run-built-tests) = yes] (tests): Depend on
10772 $(objpfx)tst-unused-dep-cmp.out.
10773 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10774 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10775 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10776 on $(objpfx)tst-setvbuf1-cmp.out.
10777 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10778 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10779 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10780 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10781 ($(objpfx)tst-svc.out): Remove rule.
10782 ($(objpfx)tst-svc-cmp.out): New rule.
10784 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10786 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10787 * ctype/ctype.h [__USE_MISC]: Likewise.
10788 * dirent/dirent.h [__USE_MISC]: Likewise.
10789 * grp/grp.h [__USE_MISC]: Likewise.
10790 * io/fcntl.h [__USE_MISC]: Likewise.
10791 * io/sys/stat.h [__USE_MISC]: Likewise.
10792 * libio/stdio.h [__USE_MISC]: Likewise.
10793 * posix/unistd.h [__USE_MISC]: Likewise.
10794 * pwd/pwd.h [__USE_MISC]: Likewise.
10795 * stdlib.h [__USE_MISC]: Likewise.
10796 * string/bits/string2.h [__USE_MISC]: Likewise.
10797 * string/string.h [__USE_MISC]: Likewise.
10798 * time/time.h [__USE_MISC]: Likewise.
10800 2014-02-13 Andreas Schwab <schwab@suse.de>
10803 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10804 second answer buffer if it was separately allocated.
10806 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10808 * sysdeps/mips/math-tests.h: Include <features.h>.
10809 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10810 (ROUNDING_TESTS_long_double): Do not define.
10811 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10812 (EXCEPTION_TESTS_long_double): Likewise.
10813 * sysdeps/mips/mips64/libm-test-ulps: Update.
10815 * include/features.h (__USE_BSD): Remove macro definitions.
10816 (__USE_SVID): Likewise.
10817 (_BSD_SOURCE): Likewise.
10818 (_SVID_SOURCE): Likewise.
10819 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10820 from definition of _DEFAULT_SOURCE.
10821 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10823 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10824 * bits/mman.h [__USE_BSD]: Likewise.
10825 * bits/termios.h [__USE_BSD]: Likewise.
10826 * bits/waitstatus.h [__USE_BSD]: Likewise.
10827 * ctype/ctype.h [__USE_SVID]: Likewise.
10828 * dirent/dirent.h [__USE_BSD]: Likewise.
10829 * grp/grp.h [__USE_SVID]: Likewise.
10830 [__USE_BSD]: Likewise.
10831 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10832 * io/fcntl.h [__USE_BSD]: Likewise.
10833 * io/ftw.h [__USE_BSD]: Likewise.
10834 * io/sys/stat.h [__USE_BSD]: Likewise.
10835 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10836 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10837 * libio/stdio.h [__USE_SVID]: Likewise.
10838 [__USE_BSD]: Likewise.
10839 * math/math.h [__USE_SVID]: Likewise.
10840 [__USE_BSD]: Likewise.
10841 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10842 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10843 * misc/search.h [__USE_SVID]: Likewise.
10844 * misc/sys/mman.h [__USE_BSD]: Likewise.
10845 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10846 * misc/sys/uio.h [__USE_BSD]: Likewise.
10847 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10848 * posix/glob.h [__USE_BSD]: Likewise.
10849 * posix/regex.h [__USE_BSD]: Likewise.
10850 * posix/sys/types.h [__USE_BSD]: Likewise.
10851 [__USE_SVID]: Likewise.
10852 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10853 * posix/sys/wait.h [__USE_BSD]: Likewise.
10854 [__USE_SVID]: Likewise.
10855 * posix/unistd.h [__USE_BSD]: Likewise.
10856 [__USE_SVID]: Likewise.
10857 * pwd/pwd.h [__USE_SVID]: Likewise.
10858 * resolv/netdb.h [__USE_BSD]: Likewise.
10859 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10860 * signal/signal.h [__USE_BSD]: Likewise.
10861 [__USE_SVID]: Likewise.
10862 * socket/sys/socket.h [__USE_BSD]: Likewise.
10863 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10864 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10865 [__USE_SVID]: Likewise.
10866 * string/bits/string2.h [__USE_BSD]: Likewise.
10867 [__USE_SVID]: Likewise.
10868 * string/bits/string3.h [__USE_BSD]: Likewise.
10869 * string/endian.h [__USE_BSD]: Likewise.
10870 * string/string.h [__USE_SVID]: Likewise.
10871 [__USE_BSD]: Likewise.
10872 * string/strings.h [__USE_BSD]: Likewise.
10873 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10874 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10875 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10876 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10877 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10878 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10880 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10882 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10883 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10885 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10886 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10888 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10890 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10891 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10892 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10894 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10896 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10897 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10898 * termios/termios.h [__USE_BSD]: Likewise.
10899 * time/sys/time.h [__USE_BSD]: Likewise.
10900 * time/time.h [__USE_BSD]: Likewise.
10901 [__USE_SVID]: Likewise.
10903 * Makefile (subdir_targets): Remove subdir_lint.out.
10905 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10906 (do-tst-printf): Likewise.
10907 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10908 $(objpfx)tst-printf.out.
10910 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10912 * Makerules (check-abi-%): Change target to
10913 $(objpfx)check-abi-%.out.
10914 (check-abi target): Update dependencies.
10915 (check-abi-pattern variable): Redirect output of diff to $@.
10916 (check-abi variable): Likewise.
10917 * elf/Makefile (check-abi): Update dependencies.
10919 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10921 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10922 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10924 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10925 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10926 value has largest subnormal exponent.
10927 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10928 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10929 * sysdeps/aarch64/soft-fp/sfp-machine.h
10930 (_FP_TININESS_AFTER_ROUNDING): New macro.
10931 * sysdeps/alpha/soft-fp/sfp-machine.h
10932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10933 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10935 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10936 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10937 * sysdeps/mips/soft-fp/sfp-machine.h
10938 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10939 * sysdeps/powerpc/soft-fp/sfp-machine.h
10940 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10941 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10943 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10944 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10945 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10946 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10947 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10950 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10953 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10956 2014-02-12 Richard Henderson <rth@redhat.com>
10958 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10959 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10960 * sysdeps/unix/sysv/linux/alpha: Move directory from
10961 ports/sysdeps/unix/sysv/linux/alpha.
10962 * README: Update listing for alpha-*-linux-gnu.
10964 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10966 * include/features.h: Update comment documenting feature test
10968 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10970 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10971 (_SVID_SOURCE): Likewise.
10972 (_DEFAULT_SOURCE): Update description of default features.
10973 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10975 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10976 (S_ISVTX): Likewise.
10977 * manual/math.texi (Mathematical Constants): Likewise.
10978 * manual/signal.texi (Interrupted Primitives): Likewise.
10979 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10980 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10981 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10982 Don't refer to _SVID_SOURCE in warning text.
10984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10986 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10988 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10989 * sysdeps/mips/dl-lookup.c: Remove.
10990 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10992 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10995 * math/auto-libm-test-in: Add testcase for expl.
10996 * math/auto-libm-test-out: Regenerate.
10997 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10998 calculation of unsafe.
10999 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11001 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11003 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11004 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11005 ports/sysdeps/unix/sysv/linux/aarch64.
11006 * README: Update listing for aarch64*-*-linux-gnu.
11008 2014-02-11 Will Newton <will.newton@linaro.org>
11010 * manual/probes.texi (Mathematical Function Probes): Use
11011 "triggered" instead of "hit".
11013 * manual/probes.texi (Internal Probes): Add documentation
11014 of setjmp, longjmp and longjmp_target probes.
11016 * include/stap-probe.h: Add comment about probe argument
11019 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11020 definition. (tr_where, tr_freehook, tr_mallochook,
11021 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11023 2014-02-11 David S. Miller <davem@davemloft.net>
11025 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11026 processing int_tests.
11028 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11031 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11032 * sysdeps/unix/sysv/linux/mips: Move directory from
11033 ports/sysdeps/unix/sysv/linux/mips.
11034 * README: Update listing for mips-*-linux-gnu and
11035 mips64-*-linux-gnu.
11037 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11039 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11040 * sysdeps/unix/sysv/linux/m68k: Move directory from
11041 ports/sysdeps/unix/sysv/linux/m68k.
11042 * README: Update listing for m68k-*-linux-gnu.
11044 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11046 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11047 * sysdeps/unix/sysv/linux/generic: Move directory from
11048 ports/sysdeps/unix/sysv/linux/generic.
11049 * sysdeps/unix/sysv/linux/tile: Move directory from
11050 ports/sysdeps/unix/sysv/linux/tile.
11051 * README: Update listing for tile*-*-linux-gnu.
11053 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11055 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11057 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11058 * catgets/open_catalog.c (__open_catalog): Likewise.
11059 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11060 * debug/confstr_chk.c: Likewise.
11061 * debug/fread_chk.c (__fread_chk): Likewise.
11062 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11063 * debug/getgroups_chk.c: Likewise.
11064 * debug/mbsnrtowcs_chk.c: Likewise.
11065 * debug/mbsrtowcs_chk.c: Likewise.
11066 * debug/mbstowcs_chk.c: Likewise.
11067 * debug/memcpy_chk.c: Likewise.
11068 * debug/memmove_chk.c: Likewise.
11069 * debug/mempcpy_chk.c: Likewise.
11070 * debug/memset_chk.c: Likewise.
11071 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11072 * debug/strcat_chk.c (__strcat_chk): Likewise.
11073 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11074 * debug/strncat_chk.c (__strncat_chk): Likewise.
11075 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11076 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11077 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11078 * debug/wcpncpy_chk.c: Likewise.
11079 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11080 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11081 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11082 * debug/wcsncpy_chk.c: Likewise.
11083 * debug/wcsnrtombs_chk.c: Likewise.
11084 * debug/wcsrtombs_chk.c: Likewise.
11085 * debug/wcstombs_chk.c: Likewise.
11086 * debug/wmemcpy_chk.c: Likewise.
11087 * debug/wmemmove_chk.c: Likewise.
11088 * debug/wmempcpy_chk.c: Likewise.
11089 * debug/wmemset_chk.c: Likewise.
11090 * dirent/scandirat.c (SCANDIRAT): Likewise.
11091 * dlfcn/dladdr1.c (dladdr1): Likewise.
11092 * dlfcn/dladdr.c (dladdr): Likewise.
11093 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11094 * dlfcn/dlerror.c (__dlerror): Likewise.
11095 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11096 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11097 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11098 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11099 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11100 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11101 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11102 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11104 * elf/dl-conflict.c: Likewise.
11105 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11106 * elf/dl-dst.h: Likewise.
11107 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11108 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11109 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11110 * elf/dl-init.c (call_init, _dl_init): Likewise.
11111 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11112 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11113 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11115 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11117 * elf/dl-minimal.c (__libc_memalign): Likewise.
11118 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11119 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11120 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11121 * elf/dl-sym.c (do_sym): Likewise.
11122 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11123 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11124 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11125 * elf/dl-writev.h (_dl_writev): Likewise.
11126 * elf/ldconfig.c (search_dir): Likewise.
11127 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11128 (dl_main): Likewise.
11129 * elf/setup-vdso.h (setup_vdso): Likewise.
11130 * grp/compat-initgroups.c (compat_call): Likewise.
11131 * grp/fgetgrent.c (fgetgrent): Likewise.
11132 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11133 * grp/putgrent.c (putgrent): Likewise.
11134 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11136 * hurd/hurdinit.c: Likewise.
11137 * iconvdata/8bit-gap.c (struct): Likewise.
11138 * iconvdata/ansi_x3.110.c : Likewise.
11139 * iconvdata/big5.c : Likewise.
11140 * iconvdata/big5hkscs.c : Likewise.
11141 * iconvdata/cp1255.c: Likewise.
11142 * iconvdata/cp1258.c : Likewise.
11143 * iconvdata/cp932.c : Likewise.
11144 * iconvdata/euc-cn.c: Likewise.
11145 * iconvdata/euc-jisx0213.c : Likewise.
11146 * iconvdata/euc-jp.c: Likewise.
11147 * iconvdata/euc-jp-ms.c : Likewise.
11148 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11149 * iconvdata/gb18030.c : Likewise.
11150 * iconvdata/gbbig5.c (const): Likewise.
11151 * iconvdata/gbgbk.c: Likewise.
11152 * iconvdata/gbk.c : Likewise.
11153 * iconvdata/ibm1364.c : Likewise.
11154 * iconvdata/ibm930.c : Likewise.
11155 * iconvdata/ibm932.c: Likewise.
11156 * iconvdata/ibm933.c : Likewise.
11157 * iconvdata/ibm935.c : Likewise.
11158 * iconvdata/ibm937.c : Likewise.
11159 * iconvdata/ibm939.c : Likewise.
11160 * iconvdata/ibm943.c: Likewise.
11161 * iconvdata/iso_11548-1.c: Likewise.
11162 * iconvdata/iso-2022-cn.c : Likewise.
11163 * iconvdata/iso-2022-cn-ext.c : Likewise.
11164 * iconvdata/iso-2022-jp-3.c: Likewise.
11165 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11166 * iconvdata/iso-2022-kr.c : Likewise.
11167 * iconvdata/iso646.c (gconv_end): Likewise.
11168 * iconvdata/iso_6937-2.c : Likewise.
11169 * iconvdata/iso_6937.c : Likewise.
11170 * iconvdata/iso8859-1.c: Likewise.
11171 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11172 * iconvdata/shift_jisx0213.c : Likewise.
11173 * iconvdata/sjis.c : Likewise.
11174 * iconvdata/t.61.c : Likewise.
11175 * iconvdata/tcvn5712-1.c : Likewise.
11176 * iconvdata/tscii.c: Likewise.
11177 * iconvdata/uhc.c : Likewise.
11178 * iconvdata/unicode.c (gconv_end): Likewise.
11179 * iconvdata/utf-16.c (gconv_end): Likewise.
11180 * iconvdata/utf-32.c (gconv_end): Likewise.
11181 * iconvdata/utf-7.c (base64): Likewise.
11182 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11183 * iconv/gconv_close.c (__gconv_close): Likewise.
11184 * iconv/gconv_open.c (__gconv_open): Likewise.
11185 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11186 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11187 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11188 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11189 (ucs4le_internal_loop_single): Likewise.
11190 * iconv/iconv.c (iconv): Likewise.
11191 * iconv/iconv_close.c: Likewise.
11192 * iconv/loop.c (SINGLE): Likewise.
11193 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11194 * include/atomic.h: Likewise.
11195 * inet/inet6_option.c (option_alloc): Likewise.
11196 * intl/bindtextdom.c (set_binding_values): Likewise.
11197 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11198 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11199 * intl/localealias.c (read_alias_file): Likewise.
11200 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11201 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11202 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11203 * libio/fmemopen.c (fmemopen): Likewise.
11204 * libio/iofgets.c (_IO_fgets): Likewise.
11205 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11206 * libio/iofgetws.c (fgetws): Likewise.
11207 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11208 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11209 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11210 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11211 * locale/findlocale.c (_nl_find_locale): Likewise.
11212 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11213 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11215 * locale/setlocale.c (setlocale): Likewise.
11216 * login/programs/pt_chown.c (main): Likewise.
11217 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11218 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11219 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11220 (mmap, mmap64, mremap, munmap): Likewise.
11221 * math/e_exp2l.c: Likewise.
11222 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11223 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11224 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11225 * math/s_catan.c (__catan): Likewise.
11226 * math/s_catanf.c (__catanf): Likewise.
11227 * math/s_catanh.c (__catanh): Likewise.
11228 * math/s_catanhf.c (__catanhf): Likewise.
11229 * math/s_catanhl.c (__catanhl): Likewise.
11230 * math/s_catanl.c (__catanl): Likewise.
11231 * math/s_ccosh.c (__ccosh): Likewise.
11232 * math/s_ccoshf.c (__ccoshf): Likewise.
11233 * math/s_ccoshl.c (__ccoshl): Likewise.
11234 * math/s_cexp.c (__cexp): Likewise.
11235 * math/s_cexpf.c (__cexpf): Likewise.
11236 * math/s_cexpl.c (__cexpl): Likewise.
11237 * math/s_clog10.c (__clog10): Likewise.
11238 * math/s_clog10f.c (__clog10f): Likewise.
11239 * math/s_clog10l.c (__clog10l): Likewise.
11240 * math/s_clog.c (__clog): Likewise.
11241 * math/s_clogf.c (__clogf): Likewise.
11242 * math/s_clogl.c (__clogl): Likewise.
11243 * math/s_csin.c (__csin): Likewise.
11244 * math/s_csinf.c (__csinf): Likewise.
11245 * math/s_csinh.c (__csinh): Likewise.
11246 * math/s_csinhf.c (__csinhf): Likewise.
11247 * math/s_csinhl.c (__csinhl): Likewise.
11248 * math/s_csinl.c (__csinl): Likewise.
11249 * math/s_csqrt.c (__csqrt): Likewise.
11250 * math/s_csqrtf.c (__csqrtf): Likewise.
11251 * math/s_csqrtl.c (__csqrtl): Likewise.
11252 * math/s_ctan.c (__ctan): Likewise.
11253 * math/s_ctanf.c (__ctanf): Likewise.
11254 * math/s_ctanh.c (__ctanh): Likewise.
11255 * math/s_ctanhf.c (__ctanhf): Likewise.
11256 * math/s_ctanhl.c (__ctanhl): Likewise.
11257 * math/s_ctanl.c (__ctanl): Likewise.
11258 * math/w_pow.c: Likewise.
11259 * math/w_powf.c: Likewise.
11260 * math/w_powl.c: Likewise.
11261 * math/w_scalb.c (sysv_scalb): Likewise.
11262 * math/w_scalbf.c (sysv_scalbf): Likewise.
11263 * math/w_scalbl.c (sysv_scalbl): Likewise.
11264 * misc/error.c (error_tail): Likewise.
11265 * misc/pselect.c (__pselect): Likewise.
11266 * nis/nis_callback.c (__nis_create_callback): Likewise.
11267 * nis/nis_call.c (__nisfind_server): Likewise.
11268 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11269 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11270 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11271 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11272 * nis/nis_lookup.c (nis_lookup): Likewise.
11273 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11274 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11275 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11276 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11277 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11278 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11279 * nis/nss_compat/compat-initgroups.c (add_group)
11280 (internal_getgrent_r): Likewise.
11281 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11282 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11283 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11284 (internal_getspnam_r): Likewise.
11285 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11286 (_nss_nis_getaliasbyname_r): Likewise.
11287 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11288 (_nss_nis_getntohost_r): Likewise.
11289 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11290 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11291 (_nss_nis_getgrgid_r): Likewise.
11292 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11293 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11294 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11295 (_nss_nis_gethostbyname4_r): Likewise.
11296 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11297 (initgroups_netid): Likewise.
11298 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11299 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11300 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11301 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11302 (_nss_nis_getprotobynumber_r): Likewise.
11303 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11304 (_nss_nis_getsecretkey): Likewise.
11305 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11306 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11307 (_nss_nis_getpwuid_r): Likewise.
11308 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11309 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11310 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11311 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11312 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11313 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11314 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11316 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11317 (_nss_nisplus_getntohost_r): Likewise.
11318 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11319 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11320 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11321 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11323 * nis/nss_nisplus/nisplus-initgroups.c
11324 (_nss_nisplus_initgroups_dyn): Likewise.
11325 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11326 (_nss_nisplus_getnetbyaddr_r): Likewise.
11327 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11328 (_nss_nisplus_getprotobynumber_r): Likewise.
11329 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11330 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11331 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11333 * nis/nss_nisplus/nisplus-service.c
11334 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11335 (_nss_nisplus_getservbyport_r): Likewise.
11336 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11337 (_nss_nisplus_getspnam_r): Likewise.
11338 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11340 * nscd/aicache.c (addhstaiX): Likewise.
11341 * nscd/cache.c (cache_search, prune_cache): Likewise.
11342 * nscd/connections.c (register_traced_file, send_ro_fd)
11343 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11344 (main_loop_epoll): Likewise.
11345 * nscd/grpcache.c (addgrbyX): Likewise.
11346 * nscd/hstcache.c (addhstbyX): Likewise.
11347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11348 * nscd/mem.c (gc, mempool_alloc): Likewise.
11349 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11350 (addinnetgrX): Likewise.
11351 * nscd/nscd-client.h (__nscd_acquire_maplock)
11352 (__nscd_drop_map_ref): Likewise.
11353 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11354 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11355 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11357 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11359 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11360 (__nscd_get_map_ref): Likewise.
11361 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11362 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11364 * nscd/pwdcache.c (addpwbyX): Likewise.
11365 * nscd/selinux.c (preserve_capabilities): Likewise.
11366 * nscd/servicescache.c (addservbyX): Likewise.
11367 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11368 * posix/fnmatch.c (fnmatch): Likewise.
11369 * posix/getopt.c (_getopt_internal_r): Likewise.
11370 * posix/glob.c (glob, glob_in_dir): Likewise.
11371 * posix/wordexp.c (exec_comm_child): Likewise.
11372 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11373 (getanswer_r, gaih_getanswer_slice): Likewise.
11374 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11375 * resolv/res_init.c: Likewise.
11376 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11377 * resolv/res_query.c (__libc_res_nquery): Likewise.
11378 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11380 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11381 * stdio-common/perror.c (perror): Likewise.
11382 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11383 * stdio-common/tmpnam.c (tmpnam): Likewise.
11384 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11385 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11386 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11388 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11389 * stdlib/putenv.c (putenv): Likewise.
11390 * stdlib/setenv.c (__add_to_environ): Likewise.
11391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11392 * stdlib/strtol_l.c (INTERNAL): Likewise.
11393 * string/memmem.c (memmem): Likewise.
11394 * string/strerror.c (strerror): Likewise.
11395 * string/strnlen.c (__strnlen): Likewise.
11396 * string/test-memmem.c (simple_memmem): Likewise.
11397 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11398 * sunrpc/pm_getport.c (__get_socket): Likewise.
11399 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11400 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11401 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11402 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11404 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11405 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11406 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11407 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11408 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11409 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11411 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11413 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11414 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11415 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11416 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11417 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11419 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11420 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11421 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11422 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11423 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11424 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11426 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11428 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11432 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11433 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11434 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11435 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11436 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11437 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11439 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11440 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11442 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11443 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11445 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11447 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11449 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11451 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11455 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11457 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11458 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11459 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11460 * sysdeps/posix/sleep.c: Likewise.
11461 * sysdeps/posix/tempname.c: Likewise.
11462 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11463 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11465 * sysdeps/powerpc/powerpc32/dl-machine.h
11466 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11467 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11469 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11470 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11472 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11473 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11474 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11476 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11477 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11478 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11479 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11480 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11481 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11483 (elf_machine_lazy_rel): Likewise.
11484 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11486 (elf_machine_lazy_rel): Likewise.
11487 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11488 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11489 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11490 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11491 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11492 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11493 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11496 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11497 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11498 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11499 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11500 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11501 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11502 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11503 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11504 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11505 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11506 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11508 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11509 (__posix_fallocate64_l64): Likewise.
11510 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11511 (posix_fallocate): Likewise.
11512 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11514 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11515 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11516 (getifaddrs_internal): Likewise.
11517 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11518 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11519 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11520 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11521 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11522 (__posix_fallocate64_l64): Likewise.
11523 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11525 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11527 (__get_clockfreq): Likewise.
11528 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11529 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11530 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11533 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11534 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11535 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11537 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11538 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11539 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11541 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11542 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11543 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11545 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11546 (posix_fallocate): Likewise.
11547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11548 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11549 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11550 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11551 (elf_machine_rela, elf_machine_rela_relative)
11552 (elf_machine_lazy_rel): Likewise.
11553 * time/asctime.c (asctime_internal): Likewise.
11554 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11555 * time/tzset.c (__tzset_parse_tz): Likewise.
11556 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11557 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11558 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11559 * wcsmbs/wcsmbsload.h: Likewise.
11562 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11564 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11565 (arena_get2): Remove THREAD_STATS conditionals.
11566 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11567 (__malloc_stats, int): Likewise.
11569 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11571 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11572 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11574 * manual/setjmp.texi: Fix typos/grammar errors.
11576 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11577 Only return early when n is <= 0. Delete unused return statement.
11579 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11580 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11581 * debug/tst-longjmp_chk3.c: New file.
11583 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11584 (test_main): Replace code with set_fortify_handler call.
11585 * debug/test-strcpy_chk.c: Likewise.
11586 * debug/tst-chk1.c: Likewise.
11587 * debug/tst-longjmp_chk.c: Likewise.
11588 * test-skeleton.c: Include fcntl.h & paths.h
11589 (set_fortify_handler): Define.
11591 * debug/tst-longjmp_chk.c: Add header comment and include
11592 ../test-skeleton.c.
11593 (do_test): Mark static.
11594 (TEST_FUNCTION): Define.
11596 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11597 (IP_PMTUDISC_INTERFACE): Likewise.
11598 (IP_MULTICAST_IF): Likewise.
11599 (IP_MULTICAST_TTL): Likewise.
11600 (IP_MULTICAST_LOOP): Likewise.
11601 (IP_ADD_MEMBERSHIP): Likewise.
11602 (IP_DROP_MEMBERSHIP): Likewise.
11603 (IP_UNBLOCK_SOURCE): Likewise.
11604 (IP_BLOCK_SOURCE): Likewise.
11605 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11606 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11607 (IP_MSFILTER): Likewise.
11608 (MCAST_JOIN_GROUP): Likewise.
11609 (MCAST_BLOCK_SOURCE): Likewise.
11610 (MCAST_UNBLOCK_SOURCE): Likewise.
11611 (MCAST_LEAVE_GROUP): Likewise.
11612 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11613 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11614 (MCAST_MSFILTER): Likewise.
11615 (IP_MULTICAST_ALL): Likewise.
11616 (IP_UNICAST_IF): Likewise.
11618 * timezone/Makefile: Delete $(have-ksh) check.
11619 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11620 * timezone/tzselect.ksh: Add +x mode bits.
11622 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11623 (ANON_INODE_FS_MAGIC): Likewise.
11624 (BDEVFS_MAGIC): Likewise.
11625 (BINFMTFS_MAGIC): Likewise.
11626 (BTRFS_TEST_MAGIC): Likewise.
11627 (CRAMFS_MAGIC_WEND): Likewise.
11628 (DEBUGFS_MAGIC): Likewise.
11629 (ECRYPTFS_SUPER_MAGIC): Likewise.
11630 (EXT3_SUPER_MAGIC): Likewise.
11631 (EXT4_SUPER_MAGIC): Likewise.
11632 (FUTEXFS_SUPER_MAGIC): Likewise.
11633 (HOSTFS_SUPER_MAGIC): Likewise.
11634 (HUGETLBFS_MAGIC): Likewise.
11635 (MINIX3_SUPER_MAGIC): Likewise.
11636 (MTD_INODE_FS_MAGIC): Likewise.
11637 (NILFS_SUPER_MAGIC): Likewise.
11638 (OPENPROM_SUPER_MAGIC): Likewise.
11639 (PIPEFS_MAGIC): Likewise.
11640 (PSTOREFS_MAGIC): Likewise.
11641 (QNX6_SUPER_MAGIC): Likewise.
11642 (RAMFS_MAGIC): Likewise.
11643 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11644 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11645 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11646 (SECURITYFS_MAGIC): Likewise.
11647 (SELINUX_MAGIC): Likewise.
11648 (SMACK_MAGIC): Likewise.
11649 (SOCKFS_MAGIC): Likewise.
11650 (SQUASHFS_MAGIC): Likewise.
11651 (STACK_END_MAGIC): Likewise.
11652 (TMPFS_MAGIC): Likewise.
11653 (USBDEVICE_SUPER_MAGIC): Likewise.
11654 (V9FS_MAGIC): Likewise.
11655 (XENFS_SUPER_MAGIC): Likewise.
11656 (CRAMFS_MAGIC): Fix typo in comment.
11657 (EXT2_SUPER_MAGIC): Update comment.
11658 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11660 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11662 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11663 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11664 * sysdeps/unix/sysv/linux/arm: Move directory from
11665 ports/sysdeps/unix/sysv/linux/arm.
11666 * README: Update listing for arm-*-linux-gnueabi.
11668 * README: Remove mention of am33.
11670 2014-02-07 Roland McGrath <roland@hack.frob.com>
11672 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11673 than the comma operator, to avoid "rhs of comma has no effect"
11675 (__sigfillset, __sigandset, __sigorset): Likewise.
11676 * include/signal.h (__sigemptyset): Likewise.
11677 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11679 2014-02-07 Allan McRae <allan@archlinux.org>
11681 * version.h (RELEASE): Set to "development".
11682 (VERSION): Set to "2.19.90"
11683 * NEWS: Add 2.20 section.
11685 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11688 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11690 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11692 * manual/contrib.texi: Update entry for Carlos O'Donell,
11693 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11695 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11697 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11699 * sysdeps/unix/sysv/linux/kernel-features.h
11700 [__LINUX_KERNEL_VERSION >= 0x020621]
11701 (__ASSUME_PROC_PID_TASK_COMM): Define.
11703 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11706 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11707 conversion when destination buffer does not have enough space.
11708 * libio/tst-ftell-partial-wide.c: New test case.
11709 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11711 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11712 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11713 Leonard and Allan McRae.
11715 2014-02-04 David S. Miller <davem@davemloft.net>
11717 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11720 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11749 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11751 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11752 * shlib-versions: Likewise.
11754 2014-02-04 Roland McGrath <roland@hack.frob.com>
11755 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11757 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11758 (abilist-pattern): New variable, set to %-le.abilist.
11760 * Makerules (abilist-pattern): New variable.
11761 (vpath): Use $(abilist-pattern) in place of %.abilist.
11762 (check-abi-% pattern rule): Likewise.
11763 (check-abi, update-abi): Likewise.
11765 2014-02-04 Eric Wong <normalperson@yhbt.net>
11767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11769 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11771 * manual/startup.texi: Add next, previous, and top entries for
11772 the `Program Arguments' and `Environment Variables' nodes.
11774 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11776 * manual/macros.texi: Add comments before MTASC-safety macros.
11778 * manual/users.texi: Document MTASC-safety properties.
11780 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11781 (pthread_getspecific, pthread_setspecific): Format with
11782 @deftypefun, and add @safety note.
11783 * manual/signal.texi: Move comments that analyze the above
11784 functions to their home place.
11786 2014-02-03 Allan McRae <allan@archlinux.org>
11788 * po/sl.po: Update Slovenian translation from translation project.
11790 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11792 * manual/time.texi (timegm): Add missing blank after @c.
11793 Reported by Joseph Myers <joseph@codesourcery.com>.
11795 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11797 * manual/check-safety.sh: New.
11798 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11800 * manual/terminal.texi: Document MTASC-safety properties.
11802 * manual/filesys.texi: Document MTASC-safety properties.
11804 * manual/errno.texi: Document MTASC-safety properties.
11806 * manual/intro.texi: Document safety identifiers and
11809 * manual/string.texi (wcstok): Fix prototype.
11810 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11812 * manual/time.texi: Document MTASC-safety properties.
11814 * manual/string.texi: Document MTASC-safety properties.
11816 * manual/threads.texi: Document MTASC-safety properties.
11818 * manual/stdio.texi: Document MTASC-safety properties.
11820 * manual/syslog.texi: Document MTASC-safety properties.
11822 * manual/sysinfo.texi: Document MTASC-safety properties.
11824 * manual/startup.texi: Document MTASC-safety properties.
11826 * manual/socket.texi: Document MTASC-safety properties.
11828 * manual/signal.texi: Document MTASC-safety properties.
11830 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11832 * manual/setjmp.texi: Document MTASC-safety properties.
11834 * manual/search.texi: Document MTASC-safety properties.
11836 * manual/resource.texi: Document MTASC-safety properties.
11838 * manual/process.texi: Document MTASC-safety properties.
11840 * manual/platform.texi: Document MTASC-safety properties.
11842 * manual/pipe.texi: Document MTASC-safety properties.
11844 * manual/pattern.texi: Document MTASC-safety properties.
11846 * manual/message.texi: Document MTASC-safety properties.
11849 * manual/memory.texi: Document MTASC-safety properties.
11851 * manual/math.texi: Document MTASC-safety properties.
11853 * manual/locale.texi: Document MTASC-safety properties.
11855 * manual/llio.texi: Document MTASC-safety properties.
11857 * manual/libdl.texi: New.
11859 * manual/lang.texi: Document MTASC-safety properties.
11861 * manual/job.texi: Document MTASC-safety properties.
11863 * manual/getopt.texi: Document MTASC-safety properties.
11865 * manual/ctype.texi: Document MTASC-safety properties.
11867 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11870 * csu/libc-tls.c (static_map): Remove variable.
11871 (__libc_setup_tls): Use main executable's link map for TLS data.
11872 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11873 casing for LM_ID_BASE and GL(dl_nns).
11874 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11875 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11876 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11877 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11878 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11880 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11883 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11885 * manual/debug.texi: Document MTASC-safety properties.
11887 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11890 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11891 of __x86_64__ when disabling x87 inline functions.
11893 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11895 * manual/charset.texi: Document MTASC-safety properties.
11897 * manual/crypt.texi: Document MTASC-safety properties.
11899 * manual/conf.texi: Document MTASC-safety properties.
11901 * manual/arith.texi: Document MTASC-safety properties.
11903 * manual/argp.texi: Document MTASC-safety properties.
11905 * manual/macros.texi: Introduce macros to document multi
11906 thread, asynchronous signal and asynchronous cancellation
11908 * manual/intro.texi: Introduce the properties themselves.
11910 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11912 * sysdeps/sh/sh4/Makefile: New file.
11914 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11916 * math/gen-libm-test.pl ($srcdir): New variable.
11917 ($auto_input): Use it.
11919 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11922 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11923 access beyond array bounds when parsing netgroups file.
11925 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11926 the old buffer before realloc.
11928 2014-01-27 Allan McRae <allan@archlinux.org>
11930 * po/fr.po: Update French translation from translation project.
11932 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11934 * sysdeps/sh/libm-test-ulps: Regenerate.
11936 2014-01-24 David S. Miller <davem@davemloft.net>
11938 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11940 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11943 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11945 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11948 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11949 string pointers after reallocation.
11951 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11953 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11954 __SH4A__ instead of __SH_FPU_ANY__.
11956 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11958 * sysdeps/sh/fpu_control.h: New file.
11959 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11960 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11961 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11962 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11963 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11964 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11965 * sysdeps/sh/sys/ucontext.h: Remove.
11966 * sysdeps/sh/sys: Remove directory.
11968 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11970 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11971 s390/sys/ucontext.h.
11972 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11973 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11975 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11978 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11980 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11983 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11984 Adjust the vDSO correctly for internal calls.
11985 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11987 2014-01-20 Allan McRae <allan@archlinux.org>
11989 * po/ca.po: Update Catalan translation from translation project.
11991 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11993 * sysdeps/s390/sotruss-lib.c: New file.
11995 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11998 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11999 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12000 local calls issues by not having a PLT stub required for IFUNC calls.
12001 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12003 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12005 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12006 * math/test-fpucw-static.c: Likewise.
12008 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12011 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12013 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12015 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12016 implementation for powerpc.
12018 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12021 * sysdeps/posix/system.c (__libc_system): Do not enable
12022 asynchronous cancellation.
12024 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12027 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12028 handling only for numbers special also in the IEEE case.
12030 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12032 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12034 2014-01-11 Allan McRae <allan@archlinux.org>
12036 * po/bg.po: Update Bulgarian translation from translation project.
12038 * po/de.po: Update German translation from translation project.
12040 2014-01-10 Roland McGrath <roland@hack.frob.com>
12042 * sysdeps/generic/gcc-compat.h: New file.
12044 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12046 * benchtests/asin-inputs: Correct slow inputs.
12047 * benchtests/acos-inputs: Likewise.
12049 2014-01-10 Allan McRae <allan@archlinux.org>
12051 * po:sv.po: Update Swedish translation from translation project.
12053 * po/vi.po: Update Vietnamese translation from translation project.
12055 * po/eo.po: Update Esperanto translation from translation project.
12057 * po/cs.po: Update Czech translation from translation project.
12059 * po/nl.po: Update Dutch translation from translation project.
12061 * po/pl.po: Update Polish translation from translation project.
12063 * po/ru.po: Update Russian translation from translation project.
12065 * po/uk.po: Update Ukrainian translation from translation project.
12067 2014-01-08 Brooks Moses <bmoses@google.com>
12069 * elf/dl-load.c: Fix comment typo.
12071 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12073 * po/header.pot: Rename to...
12074 * po/pot.header: ... this.
12075 * po/Makefile: Use pot.header.
12077 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12078 Maxim Kuvyrkov <maxim@kugelworks.com>
12081 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12082 SRC and DEST against LEN.
12084 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12087 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12089 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12091 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12095 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12099 for large positive arguments.
12101 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12103 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12105 * math/auto-libm-test-in: Mark various tests with
12106 xfail-rounding:ldbl-128ibm.
12107 * math/auto-libm-test-out: Regenerated.
12110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12111 Increase overflow threshold.
12113 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12116 * stdio-common/vfprintf.c: Check for integer overflow.
12118 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12120 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12121 the first argument and return value of __tls_get_addr_internal.
12123 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12125 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12126 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12128 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12130 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12131 * sysdeps/s390/rtld-global-offsets.sym: New file.
12132 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12134 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12136 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12138 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12139 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12145 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12146 halfs of GPRs for high_gprs contexts.
12147 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12148 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12150 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12152 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12154 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12155 for high GPRs (uc_high_gprs) and for future extensions
12157 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12158 for future extensions (__reserved).
12159 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12161 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12162 SC_HIGHGPRS offset definition.
12163 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12164 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12166 * Versions.def: Add GLIBC_2.19 for libpthread.
12167 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12168 siglongjmp for libpthread with GLIBC_2.19 symver.
12169 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12170 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12171 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12172 * sysdeps/s390/__longjmp.c: New file.
12173 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12174 * sysdeps/s390/longjmp.c: New file.
12175 * sysdeps/s390/setjmp.S: New file.
12176 * sysdeps/s390/sigjmp.S: New file.
12177 * sysdeps/s390/v1-longjmp.c: New file.
12178 * sysdeps/s390/v1-setjmp.h: New file.
12179 * sysdeps/s390/v1-sigjmp.c: New file.
12180 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12181 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12182 GLIBC_2.19 version.
12183 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12184 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12185 versioned symbols for ____longjmp_chk.
12186 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12196 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12197 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12198 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12199 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12200 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12201 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12202 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12203 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12204 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12205 * sysdeps/s390/rtld-__longjmp.c: New file.
12206 * sysdeps/s390/rtld-setjmp.S: New file.
12208 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12212 Return -__logl (x) for small positive arguments without evaluating
12215 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12217 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12219 (__ptrace_peeksiginfo_args): ... this.
12220 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12221 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12222 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12224 2014-01-06 Allan McRae <allan@archlinux.org>
12226 * inet/netinet/in.h: Fix typo in comment.
12228 2014-01-05 Andreas Jaeger <aj@suse.de>
12230 * sysdeps/i386/fpu/libm-test-ulps: Update.
12232 2014-01-05 Allan McRae <allan@archlinux.org>
12234 * po/libc.pot: Regenerated.
12236 * malloc/memusagestat.c: Fix gettext call formatting.
12238 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12240 * nscd/nscd.c: Improve usage() output.
12242 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12244 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12245 * sysdeps/unix/sysv/linux/configure: Regenerated.
12246 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12247 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12249 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12252 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12253 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12255 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12258 extra tokens at end of #undef directive.
12259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12260 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12261 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12263 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12265 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12267 * math/auto-libm-test-in: Mark various tests with
12268 xfail-rounding:ldbl-128ibm.
12269 * math/auto-libm-test-out: Regenerated.
12271 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12274 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12275 numbers with subnormal high part when calculating exponent.
12278 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12284 (__ieee754_acoshl): Use __log1pl not __log1p.
12286 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12288 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12289 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12290 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12291 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12292 (reused_arena, arena_get2): Convert to GNU style.
12293 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12294 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12295 (memalign_check, __malloc_set_state): Likewise.
12296 * malloc/mallocbug.c (main): Likewise.
12297 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12298 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12299 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12300 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12301 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12302 (__posix_memalign, malloc_info): Likewise.
12303 * malloc/malloc.h: Likewise.
12304 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12305 (mallochook, memalignhook, reallochook, mabort): Likewise.
12306 * malloc/mcheck.h: Likewise.
12307 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12308 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12309 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12310 * malloc/morecore.c (__default_morecore): Likewise.
12311 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12312 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12313 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12314 (print_and_abort): Likewise.
12315 * malloc/obstack.h: Likewise.
12316 * malloc/set-freeres.c (__libc_freeres): Likewise.
12317 * malloc/tst-mallocstate.c (main): Likewise.
12318 * malloc/tst-mtrace.c (main): Likewise.
12319 * malloc/tst-realloc.c (do_test): Likewise.
12321 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12324 * nscd/netgroupcache.c (do_notfound): New function.
12325 (addgetnetgrentX): Use it.
12328 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12329 NSS_STATUS_NOTFOUND.
12331 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12333 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12336 2014-01-01 Allan McRae <allan@archlinux.org>
12338 * scripts/update-copyrights: Update configure input file suffix.
12340 * NEWS: Update copyright year.
12341 * catgets/gencat.c: Likewise.
12342 * csu/version.c: Likewise.
12343 * debug/catchsegv.sh: Likewise.
12344 * debug/pcprofiledump.c: Likewise.
12345 * debug/xtrace.sh: Likewise.
12346 * elf/ldconfig.c: Likewise.
12347 * elf/ldd.bash.in: Likewise.
12348 * elf/pldd.c: Likewise.
12349 * elf/sotruss.ksh: Likewise.
12350 * elf/sprof.c: Likewise.
12351 * iconv/iconv_prog.c: Likewise.
12352 * iconv/iconvconfig.c: Likewise.
12353 * locale/programs/locale.c: Likewise.
12354 * locale/programs/localedef.c: Likewise.
12355 * login/programs/pt_chown.c: Likewise.
12356 * malloc/memusage.sh: Likewise.
12357 * malloc/memusagestat.c: Likewise.
12358 * malloc/mtrace.pl: Likewise.
12359 * manual/libc.texinfo: Likewise.
12360 * nscd/nscd.c: Likewise.
12361 * nss/getent.c: Likewise.
12362 * nss/makedb.c: Likewise.
12363 * posix/getconf.c: Likewise.
12364 * scripts/test-installation.pl: Likewise.
12366 * All files with FSF copyright notices: Update copyright dates
12367 using scripts/update-copyrights.
12368 * intl/plural.c: Regenerated.
12369 * locale/programs/charmap-kw.h: Likewise.
12370 * locale/programs/locfile-kw.h: Likewise.
12372 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12374 * sysdeps/unix/sysv/linux/configure: Regenerated.
12375 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12376 the linux/fanotify.h header.
12377 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12378 HAVE_LINUX_FANOTIFY_H is defined.
12380 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12382 * benchtests/cos-inputs: New inputs.
12383 * benchtests/sin-inputs: Likewise.
12385 * benchtests/atan-inputs: New inputs. Fix name of multiple
12386 precision fallback inputs.
12388 * benchtests/atanh-inputs: New inputs.
12389 * benchtests/tanh-inputs: Likewise.
12391 * benchtests/acosh-inputs: New inputs.
12392 * benchtests/asinh-inputs: Likewise.
12394 * benchtests/cosh-inputs: New inputs.
12395 * benchtests/sinh-inputs: Likewise.
12397 * benchtests/acos-inputs: Add more inputs.
12398 * benchtests/asin-inputs: Likewise.
12400 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12403 * manual/arith.texi: Fix spelling.
12404 * manual/charset.texi: Likewise.
12405 * manual/errno.texi: Likewise.
12406 * manual/filesys.texi: Likewise.
12407 * manual/lang.texi: Likewise.
12408 * manual/llio.texi: Likewise.
12409 * manual/locale.texi: Likewise.
12410 * manual/message.texi: Likewise.
12411 * manual/resource.texi: Likewise.
12412 * manual/search.texi: Likewise.
12413 * manual/setjmp.texi: Likewise.
12414 * manual/stdio.texi: Likewise.
12415 * manual/string.texi: Likewise.
12416 * manual/sysinfo.texi: Likewise.
12417 * manual/time.texi: Likewise.
12419 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12421 * po/sl.po: New file.
12423 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12425 * .gitignore: Add core/.gdbinit/.gdb_history.
12427 2013-12-27 Allan McRae <allan@archlinux.org>
12430 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12431 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12433 2013-12-24 Brooks Moses <bmoses@google.com>
12435 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12436 all compilers that claim C++98 compliance, not just GCC.
12437 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12440 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12442 * NEWS: Restore accidentally deleted bug-fix entries.
12444 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12445 Ondřej Bílka <neleai@seznam.cz>
12448 * malloc/malloc.c (_int_free): Perform sanity check only if we
12451 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12454 * manual/stdio.texi (String Input Conversions): Clarify that character
12455 classes are not supported.
12457 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12461 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12464 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12465 Calculate results for small negative arguments directly rather
12466 than using reflection formula with special underflow handling.
12468 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12469 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12470 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12471 (fchflags): Likewise.
12472 (revoke): Likewise.
12473 (setlogin): Likewise.
12474 (sigaltstack): Likewise.
12476 (sigblock): Remove.
12477 (sigsetmask): Likewise.
12479 (waitpid): Likewise.
12480 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12481 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12483 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12484 * sysdeps/unix/bsd/Makefile: ... here.
12485 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12486 * sysdeps/unix/bsd/Versions: ... here.
12487 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12488 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12489 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12490 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12491 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12492 * sysdeps/unix/bsd/sigblock.c: ... here.
12493 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12494 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12495 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12496 * sysdeps/unix/bsd/sigvec.c: ... here.
12497 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12498 * sysdeps/unix/bsd/tcdrain.c: ... here.
12499 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12500 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12501 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12502 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12503 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12504 * sysdeps/unix/bsd/wait.c: ... here.
12505 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12506 * sysdeps/unix/bsd/wait3.c: ... here.
12507 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12508 * sysdeps/unix/bsd/waitpid.c: ... here.
12510 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12513 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12514 round-to-nearest for [!USE_AS_EXPM1L].
12515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12516 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12517 more tests of exp and exp10. Expect some exp10 tests to miss
12518 exceptions or fail in directed rounding modes.
12519 * math/auto-libm-test-out: Regenerated.
12520 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12521 (exp10_test_tonearest): New function.
12522 (exp10_towardzero_test_data): New array.
12523 (exp10_test_towardzero): New function.
12524 (exp10_downward_test_data): New array.
12525 (exp10_test_downward): New function.
12526 (exp10_upward_test_data): New array.
12527 (exp10_test_upward): New function.
12528 (main): Call the new functions.
12529 * sysdeps/i386/fpu/libm-test-ulps: Update.
12530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12532 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12534 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12535 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12536 * math/auto-libm-test-out: Regenerated.
12537 * math/libm-test.inc (acosh_test_data): Add more tests.
12538 (atanh_test_data): Likewise.
12539 (ceil_test_data): Likewise.
12540 (copysign_test_data): Likewise.
12541 * sysdeps/i386/fpu/libm-test-ulps: Update.
12542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12544 * timezone/checktab.awk: Update from tzcode 2013i.
12545 * timezone/private.h: Likewise.
12546 * timezone/scheck.c: Likewise.
12547 * timezone/tzfile.h: Likewise.
12548 * timezone/tzselect.ksh: Likewise.
12549 * timezone/zdump.c: Likewise.
12550 * timezone/zic.c: Likewise.
12552 * math/auto-libm-test-in: Add tests of cpow.
12553 * math/auto-libm-test-out: Regenerated.
12554 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12555 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12557 (func_calc_desc): Add mpc_cc_c union field.
12558 (test_functions): Add cpow.
12559 (special_fill_2pi): New function.
12560 (special_real_inputs): Add 2pi.
12561 (calc_generic_results): Handle mpc_cc_c.
12562 * sysdeps/i386/fpu/libm-test-ulps: Update.
12563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12565 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12566 csqrt, ctan and ctanh.
12567 * math/auto-libm-test-out: Regenerated.
12568 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12569 (TEST_COND_x86): Likewise.
12570 (ccos_test_data): Use AUTO_TESTS_c_c.
12571 (ccosh_test_data): Likewise.
12572 (cexp_test_data): Likewise.
12573 (clog_test_data): Likewise.
12574 (csqrt_test_data): Likewise.
12575 (ctan_test_data): Likewise.
12576 (ctan_tonearest_test_data): Likewise.
12577 (ctan_towardzero_test_data): Likewise.
12578 (ctan_downward_test_data): Likewise.
12579 (ctan_upward_test_data): Likewise.
12580 (ctanh_test_data): Likewise.
12581 (ctanh_tonearest_test_data): Likewise.
12582 (ctanh_towardzero_test_data): Likewise.
12583 (ctanh_downward_test_data): Likewise.
12584 (ctanh_upward_test_data): Likewise.
12585 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12587 (func_calc_desc): Add mpc_c_c union field.
12588 (FUNC_mpc_c_c): New macro.
12589 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12590 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12592 (special_fill_min_subnorm_p120): New function.
12593 (special_real_inputs): Add min_subnorm_p120.
12594 (calc_generic_results): Handle mpc_c_c.
12595 * sysdeps/i386/fpu/libm-test-ulps: Update.
12596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12598 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12600 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12601 (do_sin_slow): New functions.
12602 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12603 (cslow2, csloww1, csloww2): Use the new functions.
12605 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12606 Use M to change sign of result instead of X. Assume X is
12608 (csloww1): Likewise.
12612 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12613 arguments A and DA.
12617 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12619 (sloww1): Don't adjust sign of DX.
12620 (csloww1): Likewise.
12621 (sloww2): Use X directly and don't adjust sign of DX.
12622 (csloww2): Likewise.
12624 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12626 * math/auto-libm-test-in: Add tests of cabs and carg.
12627 * math/auto-libm-test-out: Regenerated.
12628 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12629 (carg_test_data): Likewise.
12630 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12632 (func_calc_desc): Add mpc_c_f union field.
12633 (test_functions): Add cabs and carg.
12634 (calc_generic_results): Handle mpc_c_f.
12636 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12637 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12638 as a macro and a compat symbol.
12639 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12640 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12641 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12642 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12643 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12644 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12646 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12648 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12650 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12652 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12654 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12656 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12657 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12660 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12664 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12666 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12667 trailing whitespace removed.
12668 * scripts/config.guess: Update to version 2013-11-29.
12669 * scripts/config.sub: Update to version 2013-10-01.
12671 * math/auto-libm-test-in: Add tests of sincos.
12672 * math/auto-libm-test-out: Regenerated.
12673 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12674 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12676 (func_calc_desc): Add mpfr_f_11 union field.
12677 (test_functions): Add sincos.
12678 (calc_generic_results): Handle mpfr_f_11.
12679 * sysdeps/i386/fpu/libm-test-ulps: Update.
12680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12682 2013-12-19 Andreas Schwab <schwab@suse.de>
12684 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12686 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12688 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12690 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12692 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12693 * sysdeps/i386/fpu/libm-test-ulps: Update.
12694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12697 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12698 round-to-nearest mode when using frndint.
12699 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12700 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12701 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12703 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12705 * math/auto-libm-test-out: Regenerated.
12706 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12707 (TEST_COND_x86): Likewise.
12708 (expm1_tonearest_test_data): New array.
12709 (expm1_test_tonearest): New function.
12710 (expm1_towardzero_test_data): New array.
12711 (expm1_test_towardzero): New function.
12712 (expm1_downward_test_data): New array.
12713 (expm1_test_downward): New function.
12714 (expm1_upward_test_data): New array.
12715 (expm1_test_upward): New function.
12716 (main): Run the new test functions.
12717 * sysdeps/i386/fpu/libm-test-ulps: Update.
12718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12720 * include/features.h: Update comment documenting feature test
12721 macros. Mention _DEFAULT_SOURCE in comment.
12722 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12723 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12724 _BSD_SOURCE and _SVID_SOURCE.
12725 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12726 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12727 !_SVID_SOURCE]: Likewise.
12728 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12729 (__USE_POSIX_IMPLICITLY): Define.
12730 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12731 (_POSIX_SOURCE): Undefine and redefine.
12732 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12733 (_POSIX_C_SOURCE): Likewise.
12734 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12735 (Feature Test Macros): Update documentation of default features.
12737 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12739 * benchtests/Makefile: Add bench-strtok.
12740 * benchtests/bench-strtok.c: New file: strtok benchtest.
12742 2013-12-19 Allan McRae <allan@archlinux.org>
12744 * manual/install.texi: Suppress menu for plain text output.
12745 * INSTALL: Regenerated.
12747 2013-12-18 Brooks Moses <bmoses@google.com>
12750 * misc/getauxval.c: Include errno.h.
12751 (__getauxval): Set errno to ENOENT if the requested type is not
12753 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12754 don't declare with __attribute_const__.
12755 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12756 * manual/startup.texi: Document that getauxval sets errno.
12758 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12760 * math/auto-libm-test-in: Add tests of jn and yn.
12761 * math/auto-libm-test-out: Regenerated.
12762 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12763 (yn_test_data): Likewise.
12764 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12766 (func_calc_desc): Add mpfr_if_f union field.
12767 (FUNC_mpfr_if_f): New macro.
12768 (test_functions): Add jn and yn.
12769 (calc_generic_results): Assert type of second input for
12770 mpfr_ff_f. Handle mpfr_if_f.
12771 (output_for_one_input_case): Disable all checking for arguments
12772 fitting floating-point types in case of an integer argument.
12773 * sysdeps/i386/fpu/libm-test-ulps: Update.
12774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12777 Don't expect fegetround reference in libm.so.
12779 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12781 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12782 $(config-cflags-nofma).
12784 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12786 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12787 * math/auto-libm-test-out: Regenerated.
12790 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12791 to determine exponent and adjust argument to have exponent of -1.
12792 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12794 * math/auto-libm-test-out: Regenerated.
12795 * sysdeps/i386/fpu/libm-test-ulps: Update.
12796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12798 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12800 * manual/probes.texi: Remove cases when per-thread arenas are
12803 2013-12-18 Andreas Schwab <schwab@suse.de>
12805 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12806 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12807 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12808 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12809 * sysdeps/i386/i686/multiarch/Makefile: Update.
12810 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12812 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12814 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12815 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12817 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12820 Support TZ transition times < 00:00:00.
12821 This is needed for version-3 tz-format files; it supports time
12822 stamps past 2037 for America/Godthab (the only entry in the tz
12823 database for which this change is relevant).
12824 * manual/time.texi (TZ Variable): Document transition times
12825 from -167:59:59 through -00:00:01.
12826 * time/tzset.c (tz_rule): Time of day is now signed.
12827 (__tzset_parse_tz): Parse negative time of day.
12829 Document TZ transition times >= 25:00:00.
12830 * manual/time.texi (TZ Variable): Document transition times from
12831 25:00:00 through 167:59:59. These are already supported, and this
12832 support will help with version-3 tz-format files.
12834 * manual/time.texi (TZ Variable): Modernize North America example
12835 to reflect current (i.e., 2007-and-later) daylight saving rules.
12837 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12839 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12841 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12842 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12845 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12846 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12847 * sysdeps/unix/bsd/clock.c: Likewise.
12848 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12849 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12850 * sysdeps/unix/bsd/init-posix.c: Likewise.
12851 * sysdeps/unix/bsd/poll.c: Likewise.
12852 * sysdeps/unix/bsd/ptsname.c: Likewise.
12853 * sysdeps/unix/bsd/seekdir.c: Likewise.
12854 * sysdeps/unix/bsd/setegid.c: Likewise.
12855 * sysdeps/unix/bsd/seteuid.c: Likewise.
12856 * sysdeps/unix/bsd/setgid.c: Likewise.
12857 * sysdeps/unix/bsd/setrgid.c: Likewise.
12858 * sysdeps/unix/bsd/setruid.c: Likewise.
12859 * sysdeps/unix/bsd/setsid.c: Likewise.
12860 * sysdeps/unix/bsd/setuid.c: Likewise.
12861 * sysdeps/unix/bsd/sigaction.c: Likewise.
12862 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12863 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12864 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12865 * sysdeps/unix/bsd/telldir.c: Likewise.
12866 * sysdeps/unix/bsd/times.c: Likewise.
12867 * sysdeps/unix/bsd/usleep.c: Likewise.
12869 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12870 ($(objpfx)libbsd-compat.a): Remove rule.
12872 * include/features.h (__FAVOR_BSD): Do not define.
12873 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12874 features conflicting with POSIX.
12875 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12876 (_BSD_SOURCE): Remove description of not being a subset of other
12877 feature test macros.
12878 * manual/job.texi (getpgrp): Do not document BSD version.
12879 (getpgid): Do not document by reference to BSD getpgrp.
12880 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12881 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12882 * signal/signal.h [__FAVOR_BSD]: Likewise.
12883 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12884 instead of making contents conditional on [__FAVOR_BSD].
12885 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12887 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12891 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12894 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12895 values below 2**-450, not 2**-500.
12896 * math/auto-libm-test-in: Don't allow spurious underflow from
12898 * math/auto-libm-test-out: Regenerated.
12902 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12903 values of ha and hb and sort them after adjusting subnormal
12905 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12907 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12908 values of ea and eb and sort them after adjusting subnormal
12910 * math/auto-libm-test-in: Do not expect some hypot tests of
12911 subnormals to fail. Add more hypot tests.
12912 * math/auto-libm-test-out: Regenerated.
12914 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12917 * sysdeps/sh/s_fma.c: New file.
12918 * sysdeps/sh/s_fmaf.c: New file.
12919 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12921 * sysdeps/sh/Implies: Add sh/soft-fp.
12923 2013-12-16 Roland McGrath <roland@hack.frob.com>
12925 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12926 level of indirection to members `objname', `errstring', `malloced'.
12927 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12928 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12929 it as the __longjmp argument (just pass 1 instead).
12930 (_dl_catch_error): Initialize C with argument pointers and address of
12931 volatile local ERRCODE rather than copying values out of C at return.
12933 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12935 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12936 * math/auto-libm-test-out: Regenerated.
12937 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12938 (hypot_test_data): Likewise.
12939 (pow_test_data): Likewise.
12940 (pow_tonearest_test_data): Likewise.
12941 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12943 (func_calc_desc): Add mpfr_ff_f union field.
12944 (FUNC_mpfr_ff_f): New macro.
12945 (test_functions): Add atan2, hypot and pow.
12946 (special_fill_min): New function.
12947 (special_fill_minus_min): Likewise.
12948 (special_fill_min_subnorm): Likewise.
12949 (special_fill_minus_min_subnorm): Likewise.
12950 (special_real_inputs): Add min, -min, min_subnorm and
12952 (calc_generic_results): Handle mpfr_ff_f.
12953 * sysdeps/i386/fpu/libm-test-ulps: Update.
12954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956 2013-12-16 Will Newton <will.newton@linaro.org>
12958 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12959 (Aligned Memory Blocks): Add documentation for aligned_alloc
12960 and suggest it as an alternative to posix_memalign.
12961 (Hooks for Malloc): Document __memalign_hook is also called
12962 for aligned_alloc. (Summary of Malloc): Add summary for
12963 aligned alloc. Document __memalign_hook is also called
12966 2013-12-16 Will Newton <will.newton@linaro.org>
12968 * manual/memory.texi (Malloc Examples): Clarify default
12969 alignment documentation. Suggest posix_memalign rather
12970 than memalign or valloc.
12971 (Aligned Memory Blocks): Remove suggestion to use memalign
12972 or valloc. Remove obsolete comment about BSD.
12973 Document memalign errno values and mark the function obsolete.
12974 Document posix_memalign returned error codes. Mark valloc
12975 as obsolete. (Hooks for Malloc): __memalign_hook is also
12976 called for posix_memalign and valloc.
12977 (Summary of Malloc): Add posix_memalign to function summary.
12978 __memalign_hook is also called for posix_memalign and valloc.
12980 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12982 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12986 (sloww): Use mynumber union. Expand ternary operator into
12987 if-else statements.
12988 (cslow): use mynumber union.
12990 2013-12-16 Allan McRae <allan@archlinux.org>
12992 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12993 * configure: Regenerated.
12995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12998 * configure.ac: Added --enable-maintainer-mode. Check for
12999 autoconf when enabled.
13000 * configure: Regenerated.
13002 * nscd/nscd.service: New file.
13003 * nscd/nscd.tmpfiles: New file.
13005 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13008 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13009 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13010 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13011 (strstr): Add __strstr_sse2_unaligned ifunc.
13012 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13013 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13014 (strcasestr): Remove __strcasestr_sse42 ifunc.
13015 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13019 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13021 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13022 * sysdeps/sh/bits/fenv.h: ... here.
13023 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13025 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13027 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13030 hypotf multiarch implementations.
13031 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13032 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13033 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13034 multiarch hypot for PPC64.
13035 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13036 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13037 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13038 multiarch hypotf for PPC64.
13040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13041 modff multiarch implementations.
13042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13045 multiarch modf for PPC64.
13046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13049 multiarch modff for PPC64.
13051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13052 and logl multiarch implementations.
13053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13056 multiarch logb for PPC64.
13057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13060 multiarch logb for PPC64.
13061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13064 multiarch logb for PPC64.
13066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13067 isinff multiarch implementation.
13068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13072 multiarch isinf for PPC64.
13073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13076 multiarch isinff for PPC64.
13078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13079 finitef multiarch implementation.
13080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13084 multiarch finite for PPC64.
13085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13088 multiarch finitef for PPC64.
13090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13091 lrint multiarch implementation.
13092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13096 multiarch llrint for PPC64.
13097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13098 multiarch lrint for PPC64.
13100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13101 copysignf multiarch implementation.
13102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13107 multiarch copysign for PPC64.
13108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13109 multiarch copysignf for PPC64.
13111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13112 multiarch implementation.
13113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13121 multiarch llround for PPC64.
13122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13123 multiarch trunc for PPC64.
13124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13125 multiarch truncf for PPC64.
13127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13128 multiarch implementation.
13129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13137 multiarch llround for PPC64.
13138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13139 multiarch round for PPC64.
13140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13141 multiarch roundf for PPC64.
13143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13144 multiarch implementation.
13145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13153 multiarch llround for PPC64.
13154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13155 multiarch floor for PPC64.
13156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13157 multiarch floorf for PPC64.
13159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13160 multiarch implementation.
13161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13169 multiarch llround for PPC64.
13170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13171 multiarch ceil for PPC64.
13172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13173 multiarch ceilf for PPC64.
13175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13176 multiarch implementation.
13177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13184 multiarch llround for PPC64.
13185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13186 multiarch lround for PPC64.
13188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13189 multiarch implementation.
13190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13197 multiarch isnan for PPC64.
13198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13199 multiarch isnanf for PPC64.
13201 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13202 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13203 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13204 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13205 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13208 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13209 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13214 multiarch implementations.
13215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13216 (__libc_ifunc_impl_list): Likewise.
13217 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13218 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13219 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13220 multiarch stpcpy for PPC64.
13222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13223 multiarch implementations.
13224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13225 (__libc_ifunc_impl_list): Likewise.
13226 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13227 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13228 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13229 multiarch strcpy for PPC64.
13231 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13232 redefine function name.
13233 (_wordcopy_fwd_dest_aligned): Likewise.
13234 (_wordcopy_bwd_aligned): Likewise.
13235 (_wordcopy_bwd_dest_aligned): Likewise.
13236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13237 multiarch implementations.
13238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13239 (__libc_ifunc_impl_list): Likewise.
13240 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13241 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13242 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13243 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13244 multiarch wcscpy for PPC64.
13246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13247 multiarch implementations.
13248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13249 (__libc_ifunc_impl_list): Likewise.
13250 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13251 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13252 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13254 multiarch wcscpy for PPC64.
13256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13257 multiarch implementations.
13258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13259 (__libc_ifunc_impl_list): Likewise.
13260 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13261 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13262 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13263 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13264 multiarch wcsrchr for PPC64.
13266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13267 multiarch implementations.
13268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13269 (__libc_ifunc_impl_list): Likewise.
13270 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13271 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13272 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13273 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13274 multiarch wcschr for PPC64.
13276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13277 multiarch implementations.
13278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13279 (__libc_ifunc_impl_list): Likewise.
13280 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13281 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13282 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13283 multiarch strchrnul for PPC64.
13285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13288 (__libc_ifunc_impl_list): Likewise.
13289 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13290 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13291 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13292 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13298 (__libc_ifunc_impl_list): Likewise.
13299 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13300 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13301 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13302 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13306 multiarch implementations.
13307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13308 (__libc_ifunc_impl_list): Likewise.
13309 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13310 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13311 strncasecmp for PPC64.
13312 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13313 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13314 multiarch strncasecmp_l for PPC64.
13316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13317 multiarch implementations.
13318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13319 (__libc_ifunc_impl_list): Likewise.
13320 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13321 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13322 multiarch strcasecmp for PPC64.
13323 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13325 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13326 multiarch strcasecmp_l for PPC64.
13328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13331 (__libc_ifunc_impl_list): Likewise.
13332 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13333 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13334 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13340 (__libc_ifunc_impl_list): Likewise.
13341 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13342 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13343 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13349 (__libc_ifunc_impl_list): Likewise.
13350 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13351 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13352 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13353 rawmemrchr for PPC64.
13355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13358 (__libc_ifunc_impl_list): Likewise.
13359 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13360 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13361 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13367 (__libc_ifunc_impl_list): Likewise.
13368 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13369 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13370 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13376 (__libc_ifunc_impl_list): Likewise.
13377 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13378 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13379 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13382 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13383 avoid cretion of __bzero symbol.
13384 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13386 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13388 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13391 multiarch implementations.
13392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13393 (__libc_ifunc_impl_list): Likewise.
13394 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13395 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13396 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13397 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13399 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13400 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13401 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13402 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13403 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13405 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13407 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13411 (__libc_ifunc_impl_list): Likewise.
13412 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13413 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13414 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13415 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13419 multiarch for POWER/PPC64.
13420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13421 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13422 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13423 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13424 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13425 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13426 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13427 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13428 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13431 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13432 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13433 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13434 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13435 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13436 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13437 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13438 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13439 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13440 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13441 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13442 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13443 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13444 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13445 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13454 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13458 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13460 * benchtests/Makefile (bench): Add exp2 and log2.
13461 (LDLIBS-bench-exp2): Add -lm.
13462 (LDLIBS-bench-log2): Likewise.
13463 * benchtests/exp2-inputs: New inputs file.
13464 * benchtests/log2-inputs: New inputs file.
13465 * benchtests/log-inputs: Add new inputs.
13466 * benchtests/tan-inputs: Likewise.
13468 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13470 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13472 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13473 (csloww2): ... from here.
13475 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13476 instead of structures.
13477 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13478 (POLYNOMIAL): Likewise.
13479 (TAYLOR_SLOW): Likewise.
13485 (sloww1); Likewise.
13486 (sloww2): Likewise.
13487 (bsloww1): Likewise.
13488 (bsloww2): Likewise.
13489 (cslow2): Likewise.
13490 (csloww): Likewise.
13491 (csloww1): Likewise.
13492 (csloww2): Likewise.
13494 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13496 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13497 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13498 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13499 * malloc/hooks.c (realloc_check): Likewise.
13501 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13502 * malloc/arena.c: Remove PER_THREAD conditional.
13503 [!PER_THREAD]: Remove code.
13504 (ptmalloc_unlock_all2): Likewise.
13505 (ptmalloc_init): Likewise.
13506 (_int_new_arena): Likewise.
13507 (arena_get2): Likewise.
13508 * malloc/hooks.c (__malloc_get_state): Likewise.
13509 (__malloc_set_state): Likewise.
13510 * malloc/malloc.c: Likewise.
13511 (struct malloc_state): Likewise.
13512 (struct malloc_par): Likewise.
13513 (__libc_realloc): Likewise.
13514 (__libc_mallopt): Likewise.
13516 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13518 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13520 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13522 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13523 macro to a function. Check for zero perturb_byte.
13524 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13526 * malloc/malloc.c: (force_reg): Remove.
13527 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13528 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13529 force_reg by atomic_forced_read.
13530 * malloc/arena.c (ptmalloc_init): Likewise.
13531 * malloc/hooks.c (top_check): Likewise.
13533 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13537 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13541 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13543 * math/auto-libm-test-in: Add tests of lgamma.
13544 * math/auto-libm-test-out: Regenerated.
13545 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13546 (M_LOG_2_SQRT_PIl): Likewise.
13547 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13548 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13550 (func_calc_desc): Add mpfr_f_f1 union field.
13551 (ARGS1): New macro.
13559 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13560 (test_functions): Add lgamma.
13561 (calc_generic_results): Handle mpfr_f_f1.
13562 * sysdeps/i386/fpu/libm-test-ulps: Update.
13563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13565 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13567 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13568 __mpn_add_n for PowerPC64/POWER7.
13569 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13570 __mpn_sub_n for PowerPC64/POWER7.
13572 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13573 __mpn_addmul_1 for PowerPC64.
13574 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13575 __mpn_submul_1 for PowerPC64.
13576 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13578 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13581 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13584 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13586 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13588 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13590 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13591 add multiarch folders.
13592 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13593 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13594 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13595 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13596 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13597 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13598 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13599 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13600 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13601 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13602 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13611 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13617 multiarch __ieee754_hypot for PowerPC32.
13618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13623 multiarch __ieee754_hypotf for PowerPC32.
13625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13626 long_double_symbol only if __logbl is defined.
13627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13628 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13630 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13632 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13634 path for implementation.
13635 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13636 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13638 logb, and logbl multiarch implementations for PowerPC32.
13639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13644 multiarch logb for PowerPC32.
13645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13650 multiarch logbf for PowerPC32.
13651 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13655 multiarch logbl implementation for PowerPC32.
13657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13658 and modff multiarch implementations.
13659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13664 multiarch modf for PowerPC32.
13665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13670 multiarch modff for PowerPC32.
13672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13673 and lrintf multiarch implementations.
13674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13679 multiarch lrint for PowerPC32.
13680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13681 file: multiarch lrintf for PowerPC32.
13683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13684 and lroundf multiarch implementations.
13685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13692 multiarch lround for PowerPC32.
13693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13694 file: multiarch lroundf for PowerPC32.
13696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13697 copysign and copysignf multiarch implementations.
13698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13703 file: multiarch copysign for PowerPC32.
13704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13705 file: multiarch copysignf for PowerPC32.
13707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13708 and truncf multiarch implementations.
13709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13714 multiarch trunc for PowerPC32.
13715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13720 multiarch truncf for PowerPC32.
13722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13723 and roundf multiarch implementations.
13724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13729 multiarch round for PowerPC32.
13730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13735 multiarch roundf for PowerPC32.
13737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13738 and floorf multiarch implementations.
13739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13744 multiarch floor for PowerPC32.
13745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13750 multiarch floorf for PowerPC32.
13752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13753 and ceilf multiarch implementations.
13754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13759 multiarch ceil for PowerPC32.
13760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13765 multiarch ceilf for PowerPC32.
13767 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13769 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13770 FINITEF is defined.
13771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13772 and finitef multiarch implementations.
13773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13778 multiarch finite for PowerPC32.
13779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13782 file: multiarch finitef for PowerPC32.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13785 and isinff multiarch implementations.
13786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13791 multiarch isinf for PowerPC32.
13792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13795 multiarch isinff for PowerPC32.
13797 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13798 alias when __isnan is defined.
13799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13800 and isnanf multiarch implementations.
13801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13810 multiarch isnan for PowerPC32.
13811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13816 multiarch isnanf for PowerPC32.
13818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13819 and sqrtf multiarch implementations.
13820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13825 multiarch sqrt for PowerPC32.
13826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13831 multiarch sqrtf for PowerPC32.
13833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13834 and llroundf multiarch implementations.
13835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13842 file: multiarch llround for PowerPC32.
13843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13844 file: multiarch llroundf for PowerPC32.
13846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13847 multiarch PowerPC32 fpu implementations.
13848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13853 multiarch llrint for PowerPC32.
13854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13863 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13865 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13867 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13869 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13870 multiarch wordcopy for PPC32.
13871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13874 (__libc_ifunc_impl_list): Likewise.
13875 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13876 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13878 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13879 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13880 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13882 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13883 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13885 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13890 multiarch wcscpy for PPC32.
13891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13894 (__libc_ifunc_impl_list): Likewise.
13895 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13896 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13897 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13898 sysdeps/powerpc/power6/wcscpy.c.
13900 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13908 multiarch wcsrchr for PPC32.
13909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13912 (__libc_ifunc_impl_list): Likewise.
13913 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13914 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13915 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13916 sysdeps/powerpc/power6/wcsrchr.c.
13918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13924 multiarch wcschr for PPc32.
13925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13928 (__libc_ifunc_impl_list): Likewise.
13929 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13930 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13931 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13932 sysdeps/powerpc/power6/wcschr.c.
13934 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13935 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13937 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13938 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13939 file: multiarch strchr for PPC32.
13940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13943 (__libc_ifunc_impl_list): Likewise.
13945 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13947 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13949 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13951 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13952 multiarch strchrnul for PPC32.
13953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13956 (__libc_ifunc_impl_list): Likewise.
13958 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13960 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13961 multiarch strncasecmp for PPC32.
13962 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13964 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13965 multiarch strncasecmp_l for PPC32.
13966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13967 strncasecmp multiarch objects.
13968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13969 (__libc_ifunc_impl_list): Likewise.
13971 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13973 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13974 multiarch strncasecmp for PPC32.
13975 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13977 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13978 multiarch strcasecmp_l for PPC32.
13979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13982 (__libc_ifunc_impl_list): Likewise.
13984 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13986 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13988 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13989 multiarch strncmp for PPC32.
13990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13993 (__libc_ifunc_impl_list): Likewise.
13995 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13996 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13998 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13999 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14003 (__libc_ifunc_impl_list): Likewise.
14005 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14007 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14009 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14013 (__libc_ifunc_impl_list): Likewise.
14015 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14017 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14019 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14020 multiarch rawmemchr for PPC32.
14021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14024 (__libc_ifunc_impl_list): Likewise.
14026 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14028 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14030 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14031 file: memrchr multiarch for PPC32.
14032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14035 (__libc_ifunc_impl_list): Likewise.
14037 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14038 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14040 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14041 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14042 multiarch memchr for PPC32.
14043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14046 (__libc_ifunc_impl_list): Likewise.
14048 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14049 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14051 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14053 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14054 file: multiarch mempcpy for PPC32.
14055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14058 (__libc_ifunc_impl_list): Likewise.
14060 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14061 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14062 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14063 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14064 multiarch bzero for PPC32.
14065 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14067 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14069 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14070 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14071 file: multiarch memset for PPC32.
14072 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14074 memset multiarch objects.
14075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14076 (__libc_ifunc_impl_list): Likewise.
14078 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14080 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14087 (__libc_ifunc_impl_list): Likewise.
14089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14093 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14095 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14098 multiarch memcpy for PPC32.
14099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14102 (__libc_ifunc_impl_list): Likewise.
14104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14105 support multiarch for POWER/PPC32.
14106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14108 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14110 Implies file to make multiarch folder appers before the fpu and
14111 default folder for power4 configuration.
14113 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14115 * scripts/bench.pl: Append volatile keyword to type.
14117 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14119 * sysdeps/sh/sotruss-lib.c: New file.
14120 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14122 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14126 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14129 * math/w_tgamma.c: Include <errno.h>.
14130 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14131 * math/w_tgammaf.c: Include <errno.h>.
14132 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14133 * math/w_tgammal.c: Include <errno.h>.
14134 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14135 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14136 underflow. Add more tgamma tests.
14137 * math/auto-libm-test-out: Regenerated.
14138 * sysdeps/i386/fpu/libm-test-ulps: Update.
14139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14141 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14142 sin, sinh, tan, tanh, tgamma, y0 and y1.
14143 * math/auto-libm-test-out: Regenerated.
14144 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14145 (TEST_COND_x86): Likewise.
14146 (M_E2l): Remove macro.
14148 (M_2_SQRT_PIl): Likewise.
14149 (M_SQRT_PIl): Likewise.
14150 (M_1_DIV_El): Likewise.
14151 (log_test_data): Use AUTO_TESTS_f_f.
14152 (log10_test_data): Likewise.
14153 (log1p_test_data): Likewise.
14154 (log2_test_data): Likewise.
14155 (sin_test_data): Likewise.
14156 (sin_tonearest_test_data): Likewise.
14157 (sin_towardzero_test_data): Likewise.
14158 (sin_downward_test_data): Likewise.
14159 (sin_upward_test_data): Likewise.
14160 (sinh_test_data): Likewise.
14161 (sinh_tonearest_test_data): Likewise.
14162 (sinh_towardzero_test_data): Likewise.
14163 (sinh_downward_test_data): Likewise.
14164 (sinh_upward_test_data): Likewise.
14165 (tan_test_data): Likewise.
14166 (tan_tonearest_test_data): Likewise.
14167 (tan_towardzero_test_data): Likewise.
14168 (tan_downward_test_data): Likewise.
14169 (tan_upward_test_data): Likewise.
14170 (tanh_test_data): Likewise.
14171 (tgamma_test_data): Likewise.
14172 (y0_test_data): Likewise.
14173 (y1_test_data): Likewise.
14174 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14175 (special_real_inputs): Add pi/4.
14176 * sysdeps/i386/fpu/libm-test-ulps: Update.
14177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14179 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14181 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14182 "longjmp_target" static probes.
14183 (__longjmp): Rename to __longjmp_symbol.
14184 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14185 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14186 on which longjmp to generate.
14187 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14188 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14190 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14191 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14192 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14193 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14194 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14195 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14197 __longjmp_symbol based on which __longjmp to generate.
14198 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14200 (setjmp): Rename to setjmp_symbol.
14201 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14202 (_setjmp): Rename to _setjmp_symbol.
14203 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14204 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14205 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14206 which setjmp to generate.
14207 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14208 "longjmp_target" static probes.
14210 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14212 * benchtests/README: Add note about output arguments.
14213 * benchtests/bench-sincos.c: Remove file.
14214 * benchtests/sincos-inputs: New file.
14215 * scripts/bench.pl: Identify output arguments and define
14216 static variables for them.
14218 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14221 * Makefile (INSTALL): Add install-plain.texi as the primary
14223 * manual/install-plain.texi: New file.
14224 * manual/install.texi: Include node directive only for
14225 non-plaintext output.
14227 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14229 * stdlib/longlong.h: Update from GCC.
14233 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14234 * math/w_j0f.c (y0f): Likewise.
14235 * math/w_j0l.c (__y0l): Likewise.
14236 * math/w_j1.c (y1): Likewise.
14237 * math/w_j1f.c (y1f): Likewise.
14238 * math/w_j1l.c (__y1l): Likewise
14239 * math/w_jn.c (yn): Likewise.
14240 * math/w_jnf.c (ynf): Likewise.
14241 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14242 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14243 value for Bessel function domain errors outside _SVID_ mode.
14244 Adjust sign of return value for yn (negative integer, 0).
14245 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14246 by zero in return for negative x and set sign appropriately for
14248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14249 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14250 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14251 expectations in error cases.
14252 (y1_test_data): Likewise.
14253 (yn_test_data): Likewise.
14254 * sysdeps/i386/fpu/libm-test-ulps: Update.
14255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14257 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14259 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14260 "64" to "64-v1". Add "64-v2".
14261 (abi-64-options): Rename to ...
14262 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14263 (abi-64-condition): Rename to ...
14264 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14265 (abi-64-ld-soname): Rename to ...
14266 (abi-64-v1-ld-soname): ... this.
14267 (abi-64-v2-options): Define.
14268 (abi-64-v2-condition): Likewise.
14269 (abi-64-v2-ld-soname): Likewise.
14270 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14271 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14276 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14277 Alan Modra <amodra@gmail.com>
14279 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14280 New versions for use with the ELFv2 ABI.
14281 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14282 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14284 (struct La_ppc64v2_retval): Likewise.
14285 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14286 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14287 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14288 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14289 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14290 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14291 Do not save or restore CR.
14292 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14293 (_dl_profile_resolve): Do no save or restore CR. Support extended
14294 return values for ELFv2 ABI. Fix location of FPR return registers.
14295 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14296 updated values for _CALL_ELF == 2.
14297 (La_regs, La_retval, int_retval): Likewise.
14299 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14301 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14302 (FRAME_MIN_SIZE_PARM): Likewise.
14303 (FRAME_BACKCHAIN): Likewise.
14304 (FRAME_CR_SAVE): Likewise.
14305 (FRAME_LR_SAVE): Likewise.
14306 (FRAME_TOC_SAVE): Likewise.
14307 (FRAME_PARM_SAVE): Likewise.
14308 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14309 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14310 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14311 (call_mcount_parm_offset): New macro.
14312 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14313 (PROF): Use symbolic stack frame offsets.
14314 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14315 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14316 Redefine in terms of FRAME_MIN_SIZE.
14317 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14318 (_dl_profile_resolve): Likewise. Update comment.
14319 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14320 symbols stack frame offsets.
14321 (__sigsetjmp): Likewise.
14322 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14323 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14324 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14325 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14328 (FRAME_BACKCHAIN): Remove.
14329 (FRAME_CR_SAVE): Likewise.
14330 (FRAME_LR_SAVE): Likewise.
14331 (FRAME_COMPILER_DW): Likewise.
14332 (FRAME_LINKER_DW): Likewise.
14333 (FRAME_TOC_SAVE): Likewise.
14334 (FRAME_PARM_SAVE): Likewise.
14335 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14336 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14337 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14339 (CHECK_SP): Use symbolic stack frame offsets.
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14341 zone" instead of caller's parameter save area for temp storage.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14343 Likewise. Also, use symbolic stack frame offsets.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14345 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14346 our own stack frame instead of the caller's.
14347 (__socket): Use symbolic stack frame offsets.
14349 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14350 Alan Modra <amodra@gmail.com>
14352 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14354 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14355 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14356 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14358 (elf_machine_fixup_plt): Call it.
14359 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14361 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14362 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14363 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14364 r2 before calling target.
14366 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14367 Alan Modra <amodra@gmail.com>
14369 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14370 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14371 versions of macros to support ELFv2 ABI.
14372 (LOCALENTRY): New macro.
14373 (ENTRY, EALIGN): Use it.
14374 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14375 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14376 fall through into ENTRY entry point.
14377 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14378 Only define if _CALL_ELF != 2.
14380 (elf_machine_matches_host): Verify ABI version matches.
14381 (RTLD_START): Use LOCALENTRY.
14382 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14383 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14384 (PLT_ENTRY_WORDS): New macro.
14385 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14386 (elf_machine_runtime_setup): Support ELFv2 ABI.
14387 (elf_machine_fixup_plt): Likewise.
14388 (elf_machine_plt_conflict): Likewise.
14389 (resolve_ifunc): Likewise.
14390 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14391 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14394 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14396 (makecontext): Support ELFv2 ABI.
14397 * elf/elf.h (EF_PPC64_ABI): Define.
14399 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14401 * sysdeps/powerpc/powerpc64/sysdep.h
14402 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14403 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14404 (ENTRY) [ASSEMBLER]: ... but instead here ...
14405 (EALIGN) [ASSEMBLER]: ... and here.
14406 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14407 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14408 (ENTRY_2) [!ASSEMBLER]: Use it.
14409 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14410 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14411 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14412 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14413 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14415 Use PPC64_LOAD_FUNCPTR.
14417 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14419 2013-12-04 Alan Modra <amodra@gmail.com>
14421 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14422 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14423 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14424 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14427 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14428 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14429 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14430 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14431 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14433 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14436 (__makecontext): Fix incorrect CFI when backtracing out of
14437 context created via makecontext.
14438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14439 (__setcontext): Fix incorrect CFI during switch to new context.
14440 (__novec_setcontext): Likewise.
14442 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14445 * time/strptime_l.c (__strptime_internal): Allow modifiers
14447 * time/tst-strptime.c (day_tests): Add testcase.
14449 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14451 * scripts/bench.pl: Skip over blank lines.
14453 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14456 * manual/time.texi (Calendar Time): Clarify what timezone functions
14459 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14463 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14465 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14467 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14468 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14469 * debug/memset_chk.c (__memset_chk): Likewise.
14470 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14471 * debug/strncpy_chk.c: Likewise.
14473 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14477 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14478 (__ieee754_exp): For possibly underflowing results, check size of
14479 result and force underflow exception if required.
14480 * math/auto-libm-test-in: Add more tests of exp.
14481 * math/auto-libm-test-out: Regenerated.
14482 * sysdeps/i386/fpu/libm-test-ulps: Update.
14483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14486 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14487 * math/w_exp2f.c (__exp2f): Likewise.
14488 * math/w_exp2l.c (__exp2l): Likewise.
14489 * math/auto-libm-test-in: Do not allow missing errno on exp2
14491 * math/auto-libm-test-out: Regenerated.
14493 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14496 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14497 handle filename validation.
14498 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14501 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14504 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14505 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14506 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14508 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14509 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14510 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14511 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14512 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14513 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14514 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14515 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14516 Add more erfc tests.
14517 * math/auto-libm-test-out: Regenerated.
14518 * sysdeps/i386/fpu/libm-test-ulps: Update.
14519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14521 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14522 exp2, expm1, j0 and j1.
14523 * math/auto-libm-test-out: Regenerated.
14524 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14525 (erfc_test_data): Likewise.
14526 (exp_test_data): Likewise.
14527 (exp_tonearest_test_data): Likewise.
14528 (exp_towardzero_test_data): Likewise.
14529 (exp_downward_test_data): Likewise.
14530 (exp_upward_test_data): Likewise.
14531 (exp10_test_data): Likewise.
14532 (exp2_test_data): Likewise.
14533 (expm1_test_data): Likewise.
14534 (j0_test_data): Likewise.
14535 (j1_test_data): Likewise.
14536 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14537 (input_flag_type): Add flag_xfail_rounding.
14538 (input_flags): Add xfail-rounding.
14539 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14540 (output_for_one_input_case): Handle flag_xfail_rounding.
14541 * sysdeps/i386/fpu/libm-test-ulps: Update.
14542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14544 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14547 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14550 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14553 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14554 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14555 (STAP_PROBE0): New macro.
14556 (STAP_PROBE1): Likewise.
14557 (STAP_PROBE2): Likewise.
14558 (STAP_PROBE3): Likewise.
14559 (STAP_PROBE4): Likewise.
14561 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14563 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14565 2013-12-02 Steve Ellcey <sellcey@mips.com>
14567 * benchtests/Makefile (bench): Add sqrt.
14568 (LDLIBS-bench-sqrt): New.
14569 * benchtests/sqrt-input: New.
14571 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14573 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14574 (GAIH_EAI): Likewise.
14575 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14576 (gaih_inet): Likewise.
14577 (getaddrinfo): Don't use GAIH_EAI.
14579 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14580 (struct gaih): Remove definition.
14582 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14584 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14585 Use HERRNOP directly.
14587 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14591 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14593 * math/gen-auto-libm-tests.c (test_functions): Add more
14594 single-argument functions.
14595 (special_fill_pi_2): New function.
14596 (special_fill_minus_pi_2): Likewise.
14597 (special_fill_pi_6): Likewise.
14598 (special_fill_minus_pi_6): Likewise.
14599 (special_fill_pi_3): Likewise.
14600 (special_fill_2pi_3): Likewise.
14601 (special_fill_e): Likewise.
14602 (special_fill_1_e): Likewise.
14603 (special_fill_e_minus_1): Likewise.
14604 (special_real_inputs): Add more special inputs.
14605 (output_for_one_input_case): Do not require ERANGE on underflow to
14606 zero if round-to-nearest result does not underflow to zero, unless
14607 exact results required.
14608 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14609 atan, atanh, cbrt, cos and cosh.
14610 * math/auto-libm-test-out: Regenerated.
14611 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14612 (acos_tonearest_test_data): Likewise.
14613 (acos_towardzero_test_data): Likewise.
14614 (acos_downward_test_data): Likewise.
14615 (acos_upward_test_data): Likewise.
14616 (acosh_test_data): Likewise.
14617 (asin_test_data): Likewise.
14618 (asin_tonearest_test_data): Likewise.
14619 (asin_towardzero_test_data): Likewise.
14620 (asin_upward_test_data): Likewise.
14621 (asinh_test_data): Likewise.
14622 (atan_test_data): Likewise.
14623 (atanh_test_data): Likewise.
14624 (cbrt_test_data): Likewise.
14625 (cos_test_data): Likewise.
14626 (cos_tonearest_test_data): Likewise.
14627 (cos_towardzero_test_data): Likewise.
14628 (cos_downward_test_data): Likewise.
14629 (cos_upward_test_data): Likewise.
14630 (cosh_test_data): Likewise.
14631 (cosh_tonearest_test_data): Likewise.
14632 (cosh_towardzero_test_data): Likewise.
14633 (cosh_downward_test_data): Likewise.
14634 (cosh_upward_test_data): Likewise.
14635 * sysdeps/i386/fpu/libm-test-ulps: Update.
14636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14638 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14641 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14642 * math/w_exp10f.c (__exp10f): Likewise.
14643 * math/w_exp10l.c (__exp10l): Likewise.
14644 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14645 errno settings in existing tests.
14648 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14649 precision control set to double precision.
14650 * sysdeps/i386/fpu/w_sqrt.c: New file.
14651 * math/auto-libm-test-in: Add more tests.
14652 * math/auto-libm-test-out: Update.
14654 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14655 (sqrt_test_tonearest): New function.
14656 (sqrt_towardzero_test_data): New variable.
14657 (sqrt_test_towardzero): New function.
14658 (sqrt_downward_test_data): New variable.
14659 (sqrt_test_downward): New function.
14660 (sqrt_upward_test_data): New variable.
14661 (sqrt_test_upward): New function.
14662 (main): Call the new functions.
14664 * math/gen-auto-libm-tests.c: New file.
14665 * math/auto-libm-test-in: Likewise.
14666 * math/auto-libm-test-out: New generated file.
14667 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14669 (%beautify): Add generated representations of zero.
14670 (top level): Set $auto_input and call parse_auto_input.
14671 (beautify): Remove trailing "f" from hex float constants.
14672 (parse_args): Handle XFAIL_TEST.
14673 (convert_condition): New function.
14674 (or_value): Likewise.
14675 (or_cond_value): Likewise.
14676 (generate_testfile): Handle AUTO_TESTS_* lines.
14677 (parse_auto_input): New function.
14678 * math/libm-test.inc (XFAIL_TEST): New macro.
14679 (ERRNO_UNCHANGED): Update value.
14680 (ERRNO_EDOM): Likewise.
14681 (ERRNO_ERANGE): Likewise.
14682 (IGNORE_RESULT): Likewise.
14683 (TEST_COND_flt_32): New macro.
14684 (TEST_COND_dbl_64): Likewise.
14685 (TEST_COND_ldbl_96_intel): Likewise.
14686 (TEST_COND_ldbl_96_m68k): Likewise.
14687 (TEST_COND_ldbl_128): Likewise.
14688 (TEST_COND_ldbl_128ibm): Likewise.
14689 (TEST_COND_long32): Likewise.
14690 (TEST_COND_long64): Likewise.
14691 (TEST_COND_before_rounding): Likewise.
14692 (TEST_COND_after_rounding): Likewise.
14693 (enable_test): Handle XFAIL_TEST flag.
14694 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14695 with finite results.
14696 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14697 auto-libm-test-out.
14699 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14700 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14703 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14704 __tls_get_addr_internal instead of __tls_get_offset in order to
14705 avoid GOT pointer dependency. Make rtld export
14706 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14707 __tls_get_addr since we are a __tls_get_offset platform.
14708 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14709 GOT pointer being set up before.
14710 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14712 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14714 * manual/math.texi (Errors in Math Functions): Document accuracy
14718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14719 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14722 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14724 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14725 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14726 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14727 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14728 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14730 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14735 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14736 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14737 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14738 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14739 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14741 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14743 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14745 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14746 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14747 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14748 atomic-feupdateenv and flt-rounds.
14749 * sysdeps/powerpc/nofpu/Versions (libc): Add
14750 __atomic_feholdexcept, __atomic_feclearexcept,
14751 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14752 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14753 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14754 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14755 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14760 * manual/arith.texi (FP Exceptions): Document that exceptions may
14761 not be raised when matherr is used.
14762 (Math Error Reporting): Document overflow in directed rounding
14763 modes. Document that errno may not be set when finite values are
14764 returned on overflow. Document intent to set errno on underflow
14765 only for underflow to zero.
14768 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14769 round-to-nearest then adjust result for other rounding modes.
14770 * include/fenv.h (fegetround): Use libm_hidden_proto.
14771 * math/fegetround.c (fegetround): Use libm_hidden_def.
14772 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14773 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14774 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14775 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14777 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14779 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14780 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14782 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14785 * nss/Versions (libnss_files): Add
14786 _nss_files_gethostbyname3_r.
14787 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14789 (HOST_DB_LOOKUP): Remove macro.
14790 (_nss_files_gethostbyname_r): Implement function without the
14791 HOST_DB_LOOKUP macro.
14792 (_nss_files_gethostbyname2_r): Likewise.
14794 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14796 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14798 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14800 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14801 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14804 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14806 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14807 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14808 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14809 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14810 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14811 __fe_nomask_env_priv and attribute_hidden.
14812 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14813 (libc_feupdateenv_test_ppc): Likewise.
14814 (libc_feresetround_ppc): Likewise.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14816 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14817 compat_symbol macro.
14818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14819 (__fe_nomask_env): Likewise.
14820 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14822 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14824 * string/Makefile: Remove ifunc tests.
14825 * string/test-string.h: Define TEST_IFUNC.
14826 * string/test-bcopy-ifunc.c: Remove.
14827 * string/test-bzero-ifunc.c: Likewise.
14828 * string/test-memccpy-ifunc.c: Likewise.
14829 * string/test-memchr-ifunc.c: Likewise.
14830 * string/test-memcmp-ifunc.c: Likewise.
14831 * string/test-memcpy-ifunc.c: Likewise.
14832 * string/test-memmem-ifunc.c: Likewise.
14833 * string/test-memmove-ifunc.c: Likewise.
14834 * string/test-mempcpy-ifunc.c: Likewise.
14835 * string/test-memrchr-ifunc.c: Likewise.
14836 * string/test-memset-ifunc.c: Likewise.
14837 * string/test-rawmemchr-ifunc.c: Likewise.
14838 * string/test-stpcpy-ifunc.c: Likewise.
14839 * string/test-stpncpy-ifunc.c: Likewise.
14840 * string/test-strcasecmp-ifunc.c: Likewise.
14841 * string/test-strcasestr-ifunc.c: Likewise.
14842 * string/test-strcat-ifunc.c: Likewise.
14843 * string/test-strchr-ifunc.c: Likewise.
14844 * string/test-strchrnul-ifunc.c: Likewise.
14845 * string/test-strcmp-ifunc.c: Likewise.
14846 * string/test-strcpy-ifunc.c: Likewise.
14847 * string/test-strcspn-ifunc.c: Likewise.
14848 * string/test-strlen-ifunc.c: Likewise.
14849 * string/test-strncasecmp-ifunc.c: Likewise.
14850 * string/test-strncat-ifunc.c: Likewise.
14851 * string/test-strncmp-ifunc.c: Likewise.
14852 * string/test-strncpy-ifunc.c: Likewise.
14853 * string/test-strnlen-ifunc.c: Likewise.
14854 * string/test-strpbrk-ifunc.c: Likewise.
14855 * string/test-strrchr-ifunc.c: Likewise.
14856 * string/test-strspn-ifunc.c: Likewise.
14857 * string/test-strstr-ifunc.c: Likewise.
14859 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14861 * benchtests/Makefile: Remove ifunc tests.
14862 * benchtests/bench-string.h: Define TEST_IFUNC.
14863 * benchtests/bench-bcopy-ifunc.c: Remove.
14864 * benchtests/bench-bzero-ifunc.c: Likewise.
14865 * benchtests/bench-memccpy-ifunc.c: Likewise.
14866 * benchtests/bench-memchr-ifunc.c: Likewise.
14867 * benchtests/bench-memcmp-ifunc.c: Likewise.
14868 * benchtests/bench-memcpy-ifunc.c: Likewise.
14869 * benchtests/bench-memmem-ifunc.c: Likewise.
14870 * benchtests/bench-memmove-ifunc.c: Likewise.
14871 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14872 * benchtests/bench-memrchr-ifunc.c: Likewise.
14873 * benchtests/bench-memset-ifunc.c: Likewise.
14874 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14875 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14876 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14877 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14878 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14879 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14880 * benchtests/bench-strcat-ifunc.c: Likewise.
14881 * benchtests/bench-strchr-ifunc.c: Likewise.
14882 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14883 * benchtests/bench-strcmp-ifunc.c: Likewise.
14884 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14885 * benchtests/bench-strcpy-ifunc.c: Likewise.
14886 * benchtests/bench-strcspn-ifunc.c: Likewise.
14887 * benchtests/bench-strlen-ifunc.c: Likewise.
14888 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14889 * benchtests/bench-strncat-ifunc.c: Likewise.
14890 * benchtests/bench-strncmp-ifunc.c: Likewise.
14891 * benchtests/bench-strncpy-ifunc.c: Likewise.
14892 * benchtests/bench-strnlen-ifunc.c: Likewise.
14893 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14894 * benchtests/bench-strrchr-ifunc.c: Likewise.
14895 * benchtests/bench-strsep-ifunc.c: Likewise.
14896 * benchtests/bench-strspn-ifunc.c: Likewise.
14897 * benchtests/bench-strstr-ifunc.c: Likewise.
14899 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14901 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14903 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14905 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14906 * rt/aio.h: Likewise.
14907 * sysdeps/gnu/bits/utmp.h: Likewise.
14908 * sysdeps/gnu/bits/utmpx.h: Likewise.
14909 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14910 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14911 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14912 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14913 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14914 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14915 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14916 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14917 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14918 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14919 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14920 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14921 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14923 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14924 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14925 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14926 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14927 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14928 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14929 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14930 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14931 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14932 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14933 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14936 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14937 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14938 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14939 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14940 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14941 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14942 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14943 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14944 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14945 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14946 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14947 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14948 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14949 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14950 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14952 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14955 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14956 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14958 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14960 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14961 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14964 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14967 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14968 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14969 (__fesetround): Remove define.
14970 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14971 rounding and exceptions handling.
14972 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14973 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14974 (__fe_nomask_env): Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14976 __fegetround instead of fegetround.
14977 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14980 2013-11-21 Roland McGrath <roland@hack.frob.com>
14982 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14985 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14987 2013-11-21 Meador Inge <meadori@codesourcery.com>
14990 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14991 (encrypt_r): Likewise.
14992 * malloc/obstack.h (obstack_free): Likewise.
14993 * posix/unistd.h (encrypt): Likewise.
14995 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14997 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14998 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14999 DL_CALL_DT_FINI() that call the functions directly.
15000 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15001 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15002 * elf/dl-fini.c: Likewise.
15004 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15006 * malloc/hooks.c (memalign_check): Add alignment rounding.
15007 * malloc/malloc.c (_mid_memalign): New function.
15008 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15009 Implement by calling _mid_memalign.
15010 * manual/probes.texi (Memory Allocation Probes): Remove
15011 memory_valloc_retry and memory_pvalloc_retry.
15013 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15015 * locale/programs/locarchive.c (open_archive): Add const
15016 qualifier to ARCHIVEFNAME and copy default fname to
15020 * libio/tst-widetext.input: Rename Oriya to Odia.
15021 * locale/iso-639.def: Likewise.
15023 * manual/probes.texi (Mathematical Function Probes): Add
15024 documentation for sin, cos, asin and acos probes.
15025 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15026 (__sin32): Add slowasin probe.
15027 (__cos32): Add slowacos probe.
15028 (__mpsin): Add slowsin probe.
15029 (__mpcos): Add slowcos probe.
15031 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15034 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15035 thread-local __sim_exceptions_thread and global
15036 __sim_exceptions_global.
15037 (__sim_disabled_exceptions): Change to thread-local
15038 __sim_disabled_exceptions_thread and global
15039 __sim_disabled_exceptions_global.
15040 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15041 and global __sim_round_mode_global.
15042 (__simulate_exceptions): Use thread-local floating-point state and
15043 set global state from it as needed.
15044 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15045 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15046 __sim_round_mode_thread.
15047 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15048 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15049 and global __sim_exceptions_global.
15050 (__sim_disabled_exceptions): Change to thread-local
15051 __sim_disabled_exceptions_thread and global
15052 __sim_disabled_exceptions_global.
15053 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15054 and global __sim_round_mode_global.
15055 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15056 (SIM_SET_GLOBAL): Likewise.
15057 * sysdeps/powerpc/soft-fp/sfp-machine.h
15058 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15059 __sim_round_mode_thread.
15060 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15061 __sim_disabled_exceptions_thread.
15062 (__sim_exceptions): Change to __sim_exceptions_thread.
15063 (__sim_disabled_exceptions): Change to
15064 __sim_disabled_exceptions_thread.
15065 (__sim_round_mode): Change to __sim_round_mode_thread.
15066 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15067 thread-local floating-point state and set global state from it as
15069 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15070 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15071 (__sim_disabled_exceptions): Remove extern declaration.
15072 (feenableexcept): Use thread-local floating-point state and set
15073 global state from it as needed.
15074 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15075 extern declaration.
15076 (__sim_disabled_exceptions): Likewise.
15077 (__sim_round_mode): Likewise.
15078 (__fegetenv): Use thread-local floating-point state.
15079 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15080 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15081 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15082 floating-point state and set global state from it as needed.
15083 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15084 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15085 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15087 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15088 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15090 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15091 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15092 Use __sim_round_mode_thread.
15093 * math/test-fenv-tls.c: New file.
15094 * math/Makefile (tests): Add test-fenv-tls.
15095 ($(objpfx)test-fenv-tls): Depend on
15096 $(common-objpfx)nptl/libpthread.so.
15098 2013-11-19 Andreas Schwab <schwab@suse.de>
15100 * locale/programs/locale.c (show_info): Decode wordarray elements.
15101 * locale/categories.def (LC_MONETARY): Add element for
15102 _NL_MONETARY_CRNCYSTR.
15103 * locale/C-monetary.c (conversion_rate): New variable.
15104 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15107 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15109 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15110 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15112 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15114 * elf/Makefile (tst-auxv): New test.
15115 * elf/tst-auxv.c: New
15116 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15118 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15120 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15121 (hidden_proto): Caller changed.
15122 (hidden_tls_proto): New macro.
15123 (libc_hidden_tls_proto): Likewise.
15124 (rtld_hidden_tls_proto): Likewise.
15125 (libm_hidden_tls_proto): Likewise.
15126 (libresolv_hidden_tls_proto): Likewise.
15127 (librt_hidden_tls_proto): Likewise.
15128 (libdl_hidden_tls_proto): Likewise.
15129 (libnss_files_hidden_tls_proto): Likewise.
15130 (libnsl_hidden_tls_proto): Likewise.
15131 (libnss_nisplus_hidden_tls_proto): Likewise.
15132 (libutil_hidden_tls_proto): Likewise.
15134 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15137 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15138 (decompose_rpath): Defer expansion to fillin_rpath.
15139 (_dl_init_paths): Pass linkmap to fillin_rpath.
15141 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15143 * benchtests/Makefile: Add strsep.
15144 * benchtests/bench-strsep.c: New file: strsep benchtest.
15145 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15147 2013-11-18 Andreas Schwab <schwab@suse.de>
15149 * locale/programs/locale.c (show_info) [case byte]: Check for
15150 '\377' instead of '\177'.
15151 * locale/C-monetary.c (not_available): Always use "\377".
15152 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15153 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15154 detect unavailable sign_posn locale elements.
15155 * locale/localeconv.c (__localeconv): For grouping and
15156 mon_grouping handle "\177" and "\377" like no grouping.
15157 (INT_ELEM): New macro. Use it to set all numeric members.
15158 * locale/programs/ld-monetary.c (monetary_read)
15159 <tok_mon_grouping>: Normalize single -1 to the empty string.
15160 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15163 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15166 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15167 when we match (nil).
15168 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15170 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15172 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15173 (NO_TEST_INLINE): Update value.
15174 (ERRNO_UNCHANGED): Likewise.
15175 (ERRNO_EDOM): Likewise.
15176 (ERRNO_ERANGE): Likewise.
15177 (IGNORE_RESULT): Likewise.
15178 (check_float_internal): Check signs of NaN results if
15179 TEST_NAN_SIGN used.
15180 (check_complex): Pass TEST_NAN_SIGN flag through to second
15181 check_float_internal call.
15182 (copysign_test_data): Add tests with quiet NaNs as second
15183 argument. Use TEST_NAN_SIGN.
15184 (fabs_test_data): Add test of negative quiet NaN argument. Use
15186 (signbit_test_data): Add tests of quiet NaN argument.
15187 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15189 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15191 (parse_args): Handle function results specified as IGNORE.
15192 * math/libm-test.inc (IGNORE_RESULT): New macro.
15193 (check_float_internal): Do not check numerical result if flag
15195 (check_complex): Pass through IGNORE_RESULT to second
15196 check_float_internal call.
15197 (check_int): Do not check numerical result if flag IGNORE_RESULT
15199 (check_long): Likewise.
15200 (check_bool): Likewise.
15201 (check_longlong): Likewise.
15202 (lrint_test_data): Add tests of infinite and NaN arguments.
15203 (lrint_tonearest_test_data): Likewise.
15204 (lrint_towardzero_test_data): Likewise.
15205 (lrint_downward_test_data): Likewise.
15206 (lrint_upward_test_data): Likewise.
15207 (llrint_test_data): Likewise.
15208 (llrint_tonearest_test_data): Likewise.
15209 (llrint_towardzero_test_data): Likewise.
15210 (llrint_downward_test_data): Likewise.
15211 (llrint_upward_test_data): Likewise.
15212 (lround_test_data): Likewise.
15213 (llround_test_data): Likewise.
15215 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15216 (ERRNO_UNCHANGED): Update value.
15217 (ERRNO_EDOM): Likewise.
15218 (ERRNO_ERANGE): Likewise.
15219 (NO_TEST_INLINE_FLOAT): New macro.
15220 (NO_TEST_INLINE_DOUBLE): Likewise.
15221 (enable_test): New function.
15222 (RUN_TEST_f_f): Check enable_test before running test.
15223 (RUN_TEST_2_f): Likewise.
15224 (RUN_TEST_fff_f): Likewise.
15225 (RUN_TEST_c_f): Likewise.
15226 (RUN_TEST_f_f1): Likewise.
15227 (RUN_TEST_fF_f1): Likewise.
15228 (RUN_TEST_fI_f1): Likewise.
15229 (RUN_TEST_ffI_f1): Likewise.
15230 (RUN_TEST_c_c): Likewise.
15231 (RUN_TEST_cc_c): Likewise.
15232 (RUN_TEST_f_i): Likewise.
15233 (RUN_TEST_f_i_tg): Likewise.
15234 (RUN_TEST_ff_i_tg): Likewise.
15235 (RUN_TEST_f_b): Likewise.
15236 (RUN_TEST_f_b_tg): Likewise.
15237 (RUN_TEST_f_l): Likewise.
15238 (RUN_TEST_f_L): Likewise.
15239 (RUN_TEST_fFF_11): Likewise.
15240 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15242 (cosh_test_data): Likewise.
15243 (exp_test_data): Likewise.
15244 (expm1_test_data): Likewise.
15245 (hypot_test_data): Likewise.
15246 (pow_test_data): Likewise.
15247 (sinh_test_data): Likewise.
15248 (tanh_test_data): Likewise.
15249 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15252 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15253 tests with quiet NaN input and output.
15254 (acosh_test_data): Likewise.
15255 (asin_test_data): Likewise.
15256 (asinh_test_data): Likewise.
15257 (atan_test_data): Likewise.
15258 (atanh_test_data): Likewise.
15259 (atan2_test_data): Likewise.
15260 (cbrt_test_data): Likewise.
15261 (cos_test_data): Likewise.
15262 (cosh_test_data): Likewise.
15263 (erf_test_data): Likewise.
15264 (erfc_test_data): Likewise.
15265 (exp_test_data): Likewise.
15266 (exp10_test_data): Likewise.
15267 (exp2_test_data): Likewise.
15268 (expm1_test_data): Likewise.
15269 (hypot_test_data): Likewise.
15270 (j0_test_data): Likewise.
15271 (j1_test_data): Likewise.
15272 (jn_test_data): Likewise.
15273 (lgamma_test_data): Likewise.
15274 (log_test_data): Likewise.
15275 (log10_test_data): Likewise.
15276 (log1p_test_data): Likewise.
15277 (log2_test_data): Likewise.
15278 (pow_test_data): Likewise.
15279 (scalb_test_data): Likewise.
15280 (sin_test_data): Likewise.
15281 (sincos_test_data): Likewise.
15282 (sinh_test_data): Likewise.
15283 (tan_test_data): Likewise.
15284 (tanh_test_data): Likewise.
15285 (tgamma_test_data): Likewise.
15286 (y0_test_data): Likewise.
15287 (y1_test_data): Likewise.
15288 (yn_test_data): Likewise.
15291 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15292 argument being NaN and avoid computations with second argument in
15294 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15295 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15296 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15298 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15300 * locale/iso-639.def: Add Chitwani Tharu (the).
15302 2013-11-14 Andreas Schwab <schwab@suse.de>
15304 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15305 word instead of empty string.
15307 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15310 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15312 (__fe_nomask_env): Likewise.
15314 2013-11-13 Steve Ellcey <sellcey@mips.com>
15316 * benchtests/bench-timing.h: Include time.h.
15318 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15321 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15323 * sysdeps/unix/sysv/linux/configure: Regenerated.
15325 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15328 * stdlib/strtod_l.c (round_and_return): Do not consider
15329 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15330 exponent one less than half the least subnormal exponent.
15331 * stdlib/test-strtod-round-data: Add more tests.
15332 * stdlib/tst-strtod-round.c (tests): Regenerated.
15334 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15337 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15338 (__fe_mask_env): Likewise.
15339 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15340 libm_hidden_proto and add function prototype.
15341 (__fe_mask_env): Add function prototype.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15343 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15345 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15347 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15349 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15351 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15352 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15354 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15356 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15357 of htab_find_slot().
15359 2013-11-11 David S. Miller <davem@davemloft.net>
15362 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15363 symbol in the non-vis3 case in static builds.
15364 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15365 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15366 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15367 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15369 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15372 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15375 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15377 * benchtests/Makefile: Add bench-strtod.
15378 * benchtests/bench-strtod.c: New file: strtod benchtest
15380 2013-11-11 Andreas Schwab <schwab@suse.de>
15383 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15384 terminating NUL in key length.
15386 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15388 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15389 Add artificial ODP entry for vDSO symbol for PPC64.
15390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15391 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15393 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15396 * nss/getent.c (services_keys): Recognize services starting with digit.
15398 2013-11-06 David S. Miller <davem@davemloft.net>
15401 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15402 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15404 2013-11-06 Will Newton <will.newton@linaro.org>
15406 * manual/memory.texi (Malloc Examples): Remove register
15407 keyword from examples.
15409 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15411 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15413 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15416 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15417 depending on [__GCC_IEC_559 > 0].
15418 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15419 depending on [__GCC_IEC_559_COMPLEX > 0].
15421 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15423 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15426 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15428 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15430 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15433 * malloc/malloc (malloc_info): Do not handle first bin as
15436 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15438 * locale/iso-639.def: Add Central Nahuatl (nhn).
15440 2013-11-01 Bruno Haible <bruno@clisp.org>
15443 * manual/math.texi (BSD Random): Specify range upper bound as
15446 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15448 * locale/iso-639.def: Add Meadow Mari (mhr).
15450 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15452 [BZ #14752], [BZ #15763]
15453 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15455 * rt/tst_shm.c: Add test for escaping directory.
15457 2013-10-31 Andreas Schwab <schwab@suse.de>
15460 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15461 followed by 'x' as part of digit sequence.
15462 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15464 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15467 * configure.ac: allow GNU Make 4.0 and greater.
15468 * configure: Regenerated.
15470 2013-10-30 Will Newton <will.newton@linaro.org>
15473 * malloc/hooks.c (memalign_check): Limit alignment to the
15474 maximum representable power of two.
15475 * malloc/malloc.c (__libc_memalign): Likewise.
15476 * malloc/tst-memalign.c (do_test): Add test for very
15477 large alignment values.
15478 * malloc/tst-posix_memalign.c (do_test): Likewise.
15480 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15483 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15484 (munmap_chunk): Likewise.
15485 (mremap_chunk): Likewise.
15487 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15490 * stdlib/div.c (div): Remove obsolete code.
15491 * stdlib/ldiv.c (ldiv): Likewise.
15492 * stdlib/lldiv.c (lldiv): Likewise.
15494 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15497 * nss/nss_files/files-XXX.c (get_contents_ret): New
15499 (get_contents): New function.
15500 (internal_getent): Use it. Expand size of LINEBUFLEN.
15502 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15504 * configure.in: Moved to ...
15505 * configure.ac: ... here. Change reference to configure.in
15507 * sysdeps/arm/preconfigure.ac: ... here.
15508 configure.in to configure.ac.
15509 * sysdeps/gnu/configure.in: Moved to ...
15510 * sysdeps/gnu/configure.ac: ... here.
15511 * sysdeps/i386/configure.in: Moved to ...
15512 * sysdeps/i386/configure.ac: ... here.
15513 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15514 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15515 * sysdeps/mach/configure.in: Moved to ...
15516 * sysdeps/mach/configure.ac: ... here.
15517 * sysdeps/mach/hurd/configure.in: Moved to ...
15518 * sysdeps/mach/hurd/configure.ac: ... here.
15519 * sysdeps/powerpc/configure.in: Moved to ...
15520 * sysdeps/powerpc/configure.ac: ... here.
15521 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15522 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15523 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15524 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15525 * sysdeps/s390/s390-32/configure.in: Moved to ...
15526 * sysdeps/s390/s390-32/configure.ac: ... here.
15527 * sysdeps/s390/s390-64/configure.in: Moved to ...
15528 * sysdeps/s390/s390-64/configure.ac: ... here.
15529 * sysdeps/sh/configure.in: Moved to ...
15530 * sysdeps/sh/configure.ac: ... here.
15531 * sysdeps/sparc/configure.in: Moved to ...
15532 * sysdeps/sparc/configure.ac: ... here.
15533 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15534 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15535 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15536 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15537 * sysdeps/x86_64/configure.in: Moved to ...
15538 * sysdeps/x86_64/configure.ac: ... here.
15539 * sysdeps/x86_64/preconfigure.in: Moved to ...
15540 * sysdeps/x86_64/preconfigure.ac: ... here.
15541 * aclocal.m4: Change reference to configure.in to configure.ac.
15542 * config.h.in: Likewise.
15543 * manual/install.texi: Likewise.
15544 * manual/maint.texi: Likewise.
15545 * Makefile: Likewise.
15546 * malloc/Makefile: Likewise.
15547 * nscd/Makefile: Likewise.
15548 * Makeconfig: Change reference to configure.in and
15549 preconfigure.in to configure.ac and preconfigure.ac
15551 * INSTALL: Regenerated.
15552 * configure: Likewise.
15553 * sysdeps/gnu/configure: Likewise.
15554 * sysdeps/i386/configure: Likewise.
15555 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15556 * sysdeps/mach/configure: Likewise.
15557 * sysdeps/mach/hurd/configure: Likewise.
15558 * sysdeps/powerpc/configure: Likewise.
15559 * sysdeps/powerpc/powerpc32/configure: Likewise.
15560 * sysdeps/powerpc/powerpc64/configure: Likewise.
15561 * sysdeps/s390/s390-32/configure: Likewise.
15562 * sysdeps/s390/s390-64/configure: Likewise.
15563 * sysdeps/sh/configure: Likewise.
15564 * sysdeps/sparc/configure: Likewise.
15565 * sysdeps/unix/sysv/linux/configure: Likewise.
15566 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15567 * sysdeps/x86_64/configure: Likewise.
15568 * sysdeps/x86_64/preconfigure: Likewise.
15570 2013-10-29 Andreas Schwab <schwab@suse.de>
15572 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15574 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15576 * benchtests/pow-inputs: Add new inputs.
15578 * benchtests/exp-inputs: Add new inputs.
15580 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15581 conditional check for return value.
15582 (__cos32): Likewise.
15584 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15586 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15587 to provide a boost for large inputs with word alignment.
15588 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15589 implementation based on optimized PPC64 strcpy.
15590 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15591 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15592 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15593 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15595 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15598 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15600 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15603 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15604 * time/tst-strptime.c (day_tests): Add testcase.
15606 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15609 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15611 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15614 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15615 MAP_FAILED on error.
15617 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15620 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15621 heap for large requests.
15623 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15626 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15627 result if the result has no associated interface.
15628 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15629 interface for all 127.X.Y.Z addresses.
15631 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15633 * locale/iso-639.def: Add Ligurian (lij)
15635 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15638 * sunrpc/rpc_main.c: Document rpcgen -5.
15640 2013-10-19 Michael Stahl <mstahl@redhat.com>
15642 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15644 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15647 * posix/glob.c: Match only directories when trailing slash is present.
15648 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15649 (main): Add testcase.
15651 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15654 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15656 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15658 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15659 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15660 AUTH_DES and cindex for FIPS 140-2.
15661 (DES Encryption): Add cindex FIPS 46-3.
15663 * locale/locarchive.h (struct locarhandle): Add fname.
15664 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15665 if an optional argument was specified to --list-archive,
15667 * locale/programs/locarchive.c (show_archive_content): Take new
15668 argument fname and pass it via ah.fname to open_archive.
15669 * locale/programs/localedef.h: Update decl.
15670 (open_archive): If AH->fname is non-null, open that file
15671 rather than the default file name, and don't ignore ENOENT.
15672 (create_archive): Set AH.fname to NULL.
15673 (delete_locales_from_archive): Likewise.
15674 (add_locales_to_archive): Likewise.
15675 * locale/programs/locfile.c (write_all_categories): Likewise.
15677 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15678 Aldy Hernandez <aldyh@redhat.com>
15680 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15681 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15682 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15683 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15684 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15685 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15686 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15687 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15688 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15689 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15690 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15691 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15692 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15693 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15694 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15696 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15698 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15700 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15702 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15703 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15705 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15706 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15707 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15708 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15710 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15711 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15712 * sysdeps/powerpc/preconfigure: Likewise.
15713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15715 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15716 Replace contents of file by #include of <fenv_libc.h>.
15717 * sysdeps/powerpc/soft-fp/sfp-machine.h
15718 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15720 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15721 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15722 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15723 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15724 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15725 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15727 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15728 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15729 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15730 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15733 Allow copysignl PLT reference to be missing.
15735 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15736 Joseph Myers <joseph@codesourcery.com
15739 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15741 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15743 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15745 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15746 * elf/tst-tls1.c: Likewise.
15747 * elf/tst-tls10.h: Likewise.
15748 * elf/tst-tls14.c: Likewise.
15749 * elf/tst-tls2.c: Likewise.
15750 * elf/tst-tls3.c: Likewise.
15751 * elf/tst-tls4.c: Likewise.
15752 * elf/tst-tls5.c: Likewise.
15753 * elf/tst-tls6.c: Likewise.
15754 * elf/tst-tls7.c: Likewise.
15755 * elf/tst-tls8.c: Likewise.
15756 * elf/tst-tls9.c: Likewise.
15757 * elf/tst-tlsmod1.c: Likewise.
15758 * elf/tst-tlsmod13.c: Likewise.
15759 * elf/tst-tlsmod13a.c: Likewise.
15760 * elf/tst-tlsmod14a.c: Likewise.
15761 * elf/tst-tlsmod16a.c: Likewise.
15762 * elf/tst-tlsmod16b.c: Likewise.
15763 * elf/tst-tlsmod2.c: Likewise.
15764 * elf/tst-tlsmod3.c: Likewise.
15765 * elf/tst-tlsmod4.c: Likewise.
15766 * elf/tst-tlsmod5.c: Likewise.
15767 * elf/tst-tlsmod6.c: Likewise.
15769 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15772 * malloc/malloc.c: remove checks for statistics.
15774 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15777 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15778 * inet/tst-network.c: Add testcase.
15780 2013-10-17 Andreas Schwab <schwab@suse.de>
15783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15784 to determine canonical name.
15786 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15788 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15789 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15791 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15799 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15800 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15803 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15812 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15813 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15817 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15818 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15823 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15824 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15825 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15826 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15828 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15829 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15833 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15842 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15847 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15850 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15851 make result into a quiet NaN.
15853 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15855 * soft-fp/adddf3.c: Fix horizontal whitespace.
15856 * soft-fp/addsf3.c: Likewise.
15857 * soft-fp/addtf3.c: Likewise.
15858 * soft-fp/divdf3.c: Likewise.
15859 * soft-fp/divsf3.c: Likewise.
15860 * soft-fp/divtf3.c: Likewise.
15861 * soft-fp/double.h: Likewise.
15862 * soft-fp/eqdf2.c: Likewise.
15863 * soft-fp/eqsf2.c: Likewise.
15864 * soft-fp/eqtf2.c: Likewise.
15865 * soft-fp/extenddftf2.c: Likewise.
15866 * soft-fp/extended.h: Likewise.
15867 * soft-fp/extendsfdf2.c: Likewise.
15868 * soft-fp/extendsftf2.c: Likewise.
15869 * soft-fp/extendxftf2.c: Likewise.
15870 * soft-fp/fixdfdi.c: Likewise.
15871 * soft-fp/fixdfsi.c: Likewise.
15872 * soft-fp/fixdfti.c: Likewise.
15873 * soft-fp/fixsfdi.c: Likewise.
15874 * soft-fp/fixsfsi.c: Likewise.
15875 * soft-fp/fixsfti.c: Likewise.
15876 * soft-fp/fixtfdi.c: Likewise.
15877 * soft-fp/fixtfsi.c: Likewise.
15878 * soft-fp/fixtfti.c: Likewise.
15879 * soft-fp/fixunsdfdi.c: Likewise.
15880 * soft-fp/fixunsdfsi.c: Likewise.
15881 * soft-fp/fixunsdfti.c: Likewise.
15882 * soft-fp/fixunssfdi.c: Likewise.
15883 * soft-fp/fixunssfsi.c: Likewise.
15884 * soft-fp/fixunssfti.c: Likewise.
15885 * soft-fp/fixunstfdi.c: Likewise.
15886 * soft-fp/fixunstfsi.c: Likewise.
15887 * soft-fp/fixunstfti.c: Likewise.
15888 * soft-fp/floatdidf.c: Likewise.
15889 * soft-fp/floatdisf.c: Likewise.
15890 * soft-fp/floatditf.c: Likewise.
15891 * soft-fp/floatsidf.c: Likewise.
15892 * soft-fp/floatsisf.c: Likewise.
15893 * soft-fp/floatsitf.c: Likewise.
15894 * soft-fp/floattidf.c: Likewise.
15895 * soft-fp/floattisf.c: Likewise.
15896 * soft-fp/floattitf.c: Likewise.
15897 * soft-fp/floatundidf.c: Likewise.
15898 * soft-fp/floatundisf.c: Likewise.
15899 * soft-fp/floatunditf.c: Likewise.
15900 * soft-fp/floatunsidf.c: Likewise.
15901 * soft-fp/floatunsisf.c: Likewise.
15902 * soft-fp/floatunsitf.c: Likewise.
15903 * soft-fp/floatuntidf.c: Likewise.
15904 * soft-fp/floatuntisf.c: Likewise.
15905 * soft-fp/floatuntitf.c: Likewise.
15906 * soft-fp/fmadf4.c: Likewise.
15907 * soft-fp/fmasf4.c: Likewise.
15908 * soft-fp/fmatf4.c: Likewise.
15909 * soft-fp/gedf2.c: Likewise.
15910 * soft-fp/gesf2.c: Likewise.
15911 * soft-fp/getf2.c: Likewise.
15912 * soft-fp/ledf2.c: Likewise.
15913 * soft-fp/lesf2.c: Likewise.
15914 * soft-fp/letf2.c: Likewise.
15915 * soft-fp/muldf3.c: Likewise.
15916 * soft-fp/mulsf3.c: Likewise.
15917 * soft-fp/multf3.c: Likewise.
15918 * soft-fp/negdf2.c: Likewise.
15919 * soft-fp/negsf2.c: Likewise.
15920 * soft-fp/negtf2.c: Likewise.
15921 * soft-fp/op-1.h: Likewise.
15922 * soft-fp/op-2.h: Likewise.
15923 * soft-fp/op-4.h: Likewise.
15924 * soft-fp/op-8.h: Likewise.
15925 * soft-fp/op-common.h: Likewise.
15926 * soft-fp/quad.h: Likewise.
15927 * soft-fp/single.h: Likewise.
15928 * soft-fp/soft-fp.h: Likewise.
15929 * soft-fp/sqrtdf2.c: Likewise.
15930 * soft-fp/sqrtsf2.c: Likewise.
15931 * soft-fp/sqrttf2.c: Likewise.
15932 * soft-fp/subdf3.c: Likewise.
15933 * soft-fp/subsf3.c: Likewise.
15934 * soft-fp/subtf3.c: Likewise.
15935 * soft-fp/truncdfsf2.c: Likewise.
15936 * soft-fp/trunctfdf2.c: Likewise.
15937 * soft-fp/trunctfsf2.c: Likewise.
15938 * soft-fp/trunctfxf2.c: Likewise.
15939 * soft-fp/unorddf2.c: Likewise.
15940 * soft-fp/unordsf2.c: Likewise.
15941 * soft-fp/unordtf2.c: Likewise.
15943 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15945 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15946 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15948 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15950 * elf/dl-libc.c: Clear initfini list after freeing.
15952 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15954 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15955 * soft-fp/addsf3.c: Likewise.
15956 * soft-fp/addtf3.c: Likewise.
15957 * soft-fp/divdf3.c: Likewise.
15958 * soft-fp/divsf3.c: Likewise.
15959 * soft-fp/divtf3.c: Likewise.
15960 * soft-fp/double.h: Likewise.
15961 * soft-fp/eqdf2.c: Likewise.
15962 * soft-fp/eqsf2.c: Likewise.
15963 * soft-fp/eqtf2.c: Likewise.
15964 * soft-fp/extenddftf2.c: Likewise.
15965 * soft-fp/extended.h: Likewise.
15966 * soft-fp/extendsfdf2.c: Likewise.
15967 * soft-fp/extendsftf2.c: Likewise.
15968 * soft-fp/extendxftf2.c: Likewise.
15969 * soft-fp/fixdfdi.c: Likewise.
15970 * soft-fp/fixdfsi.c: Likewise.
15971 * soft-fp/fixdfti.c: Likewise.
15972 * soft-fp/fixsfdi.c: Likewise.
15973 * soft-fp/fixsfsi.c: Likewise.
15974 * soft-fp/fixsfti.c: Likewise.
15975 * soft-fp/fixtfdi.c: Likewise.
15976 * soft-fp/fixtfsi.c: Likewise.
15977 * soft-fp/fixtfti.c: Likewise.
15978 * soft-fp/fixunsdfdi.c: Likewise.
15979 * soft-fp/fixunsdfsi.c: Likewise.
15980 * soft-fp/fixunsdfti.c: Likewise.
15981 * soft-fp/fixunssfdi.c: Likewise.
15982 * soft-fp/fixunssfsi.c: Likewise.
15983 * soft-fp/fixunssfti.c: Likewise.
15984 * soft-fp/fixunstfdi.c: Likewise.
15985 * soft-fp/fixunstfsi.c: Likewise.
15986 * soft-fp/fixunstfti.c: Likewise.
15987 * soft-fp/floatdidf.c: Likewise.
15988 * soft-fp/floatdisf.c: Likewise.
15989 * soft-fp/floatditf.c: Likewise.
15990 * soft-fp/floatsidf.c: Likewise.
15991 * soft-fp/floatsisf.c: Likewise.
15992 * soft-fp/floatsitf.c: Likewise.
15993 * soft-fp/floattidf.c: Likewise.
15994 * soft-fp/floattisf.c: Likewise.
15995 * soft-fp/floattitf.c: Likewise.
15996 * soft-fp/floatundidf.c: Likewise.
15997 * soft-fp/floatundisf.c: Likewise.
15998 * soft-fp/floatunsidf.c: Likewise.
15999 * soft-fp/floatunsisf.c: Likewise.
16000 * soft-fp/floatuntidf.c: Likewise.
16001 * soft-fp/floatuntisf.c: Likewise.
16002 * soft-fp/floatuntitf.c: Likewise.
16003 * soft-fp/fmadf4.c: Likewise.
16004 * soft-fp/fmasf4.c: Likewise.
16005 * soft-fp/fmatf4.c: Likewise.
16006 * soft-fp/gedf2.c: Likewise.
16007 * soft-fp/gesf2.c: Likewise.
16008 * soft-fp/getf2.c: Likewise.
16009 * soft-fp/ledf2.c: Likewise.
16010 * soft-fp/lesf2.c: Likewise.
16011 * soft-fp/letf2.c: Likewise.
16012 * soft-fp/muldf3.c: Likewise.
16013 * soft-fp/mulsf3.c: Likewise.
16014 * soft-fp/multf3.c: Likewise.
16015 * soft-fp/negdf2.c: Likewise.
16016 * soft-fp/negsf2.c: Likewise.
16017 * soft-fp/negtf2.c: Likewise.
16018 * soft-fp/op-1.h: Likewise.
16019 * soft-fp/op-2.h: Likewise.
16020 * soft-fp/op-4.h: Likewise.
16021 * soft-fp/op-8.h: Likewise.
16022 * soft-fp/op-common.h: Likewise.
16023 * soft-fp/quad.h: Likewise.
16024 * soft-fp/single.h: Likewise.
16025 * soft-fp/soft-fp.h: Likewise.
16026 * soft-fp/sqrtdf2.c: Likewise.
16027 * soft-fp/sqrtsf2.c: Likewise.
16028 * soft-fp/sqrttf2.c: Likewise.
16029 * soft-fp/subdf3.c: Likewise.
16030 * soft-fp/subsf3.c: Likewise.
16031 * soft-fp/subtf3.c: Likewise.
16032 * soft-fp/truncdfsf2.c: Likewise.
16033 * soft-fp/trunctfdf2.c: Likewise.
16034 * soft-fp/trunctfsf2.c: Likewise.
16035 * soft-fp/trunctfxf2.c: Likewise.
16036 * soft-fp/unorddf2.c: Likewise.
16037 * soft-fp/unordsf2.c: Likewise.
16038 * soft-fp/unordtf2.c: Likewise.
16040 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16043 * misc/error.c (error_tail): Fix possible buffer overflow.
16045 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16048 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16051 2013-10-14 P. J. McDermott <pj@pehjota.net>
16054 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16055 testing pipefail option.
16057 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16059 * soft-fp/double.h: Indent preprocessor directives inside #if.
16060 * soft-fp/extended.h: Likewise.
16061 * soft-fp/op-2.h: Likewise.
16062 * soft-fp/op-4.h: Likewise.
16063 * soft-fp/op-common.h: Likewise.
16064 * soft-fp/quad.h: Likewise.
16065 * soft-fp/single.h: Likewise.
16066 * soft-fp/soft-fp.h: Likewise.
16068 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16070 * iconv/iconv_prog.c: Fix typos.
16071 * stdio-common/psiginfo-data.h: Likewise.
16073 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16076 * locale/setlocale.c: Fix typo.
16078 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16081 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16082 signaling NaN arguments.
16083 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16084 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16087 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16088 unordered operands.
16089 * soft-fp/gesf2.c (__gesf2): Likewise.
16090 * soft-fp/getf2.c (__getf2): Likewise.
16091 * soft-fp/ledf2.c (__ledf2): Likewise.
16092 * soft-fp/lesf2.c (__lesf2): Likewise.
16093 * soft-fp/letf2.c (__letf2): Likewise.
16095 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16096 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16097 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16098 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16099 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16100 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16101 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16102 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16103 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16104 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16105 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16106 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16107 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16108 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16109 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16110 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16111 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16112 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16113 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16114 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16115 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16116 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16117 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16118 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16119 * soft-fp/floattidf.c (__floattidf): Likewise.
16120 * soft-fp/floattisf.c (__floattisf): Likewise.
16121 * soft-fp/floattitf.c (__floattitf): Likewise.
16122 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16123 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16124 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16125 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16126 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16127 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16128 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16129 * soft-fp/gesf2.c (__gesf2): Likewise.
16130 * soft-fp/getf2.c (__getf2): Likewise.
16131 * soft-fp/ledf2.c (__ledf2): Likewise.
16132 * soft-fp/lesf2.c (__lesf2): Likewise.
16133 * soft-fp/letf2.c (__letf2): Likewise.
16135 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16136 Undefine and redefine.
16137 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16138 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16139 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16140 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16141 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16142 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16143 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16144 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16145 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16146 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16147 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16148 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16149 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16150 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16151 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16154 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16155 without decrementing exponent if mantissa >= that for the
16156 denominator, not >.
16157 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16158 denominator, not >. Decrement exponent in < case instead of
16159 incrementing in >= case.
16160 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16161 without decrementing exponent if mantissa >= that for the
16162 denominator, not >.
16164 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16165 computing saturated result for unsigned overflow.
16167 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16168 Jeff Law <law@redhat.com>
16170 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16171 (atan2Mp): Add systemtap probe marker.
16172 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16173 (__ieee754_log): Add systemtap probe marker.
16174 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16175 (atanMp): Add systemtap probe marker.
16176 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16177 (tanMp): Add systemtap probe marker.
16178 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16179 (__slowexp): Add systemtap probe marker.
16180 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16181 (__slowpow): Add systemtap probe marker.
16182 * manual/probes.texi: Document probes.
16184 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16187 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16189 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16191 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16192 written to buffer but not flushed.
16193 * libio/iofwrite_u.c: Likewise.
16194 * libio/iopadn.c: Return bytes returned even if EOF was
16196 * libio/iowpadn.c: Likewise.
16197 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16198 if _IO_padn does not write the whole buffer.
16199 [!COMPILE_WPRINTF] (PAD): Likewise.
16201 2013-10-10 David S. Miller <davem@davemloft.net>
16203 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16206 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16208 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16209 instead of FSF address.
16210 * soft-fp/fixdfti.c: Likewise.
16211 * soft-fp/fixsfti.c: Likewise.
16212 * soft-fp/fixtfti.c: Likewise.
16213 * soft-fp/fixunsdfti.c: Likewise.
16214 * soft-fp/fixunssfti.c: Likewise.
16215 * soft-fp/fixunstfti.c: Likewise.
16216 * soft-fp/floattidf.c: Likewise.
16217 * soft-fp/floattisf.c: Likewise.
16218 * soft-fp/floattitf.c: Likewise.
16219 * soft-fp/floatuntidf.c: Likewise.
16220 * soft-fp/floatuntisf.c: Likewise.
16221 * soft-fp/floatuntitf.c: Likewise.
16222 * soft-fp/trunctfxf2.c: Likewise.
16224 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16225 * soft-fp/fixdfti.c: Likewise.
16226 * soft-fp/fixsfti.c: Likewise.
16227 * soft-fp/fixtfti.c: Likewise.
16228 * soft-fp/fixunsdfti.c: Likewise.
16229 * soft-fp/fixunssfti.c: Likewise.
16230 * soft-fp/fixunstfti.c: Likewise.
16231 * soft-fp/floattidf.c: Likewise.
16232 * soft-fp/floattisf.c: Likewise.
16233 * soft-fp/floattitf.c: Likewise.
16234 * soft-fp/floatuntidf.c: Likewise.
16235 * soft-fp/floatuntisf.c: Likewise.
16236 * soft-fp/floatuntitf.c: Likewise.
16237 * soft-fp/trunctfxf2.c: Likewise.
16239 2013-10-10 David S. Miller <davem@davemloft.net>
16241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16243 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16245 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16246 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16247 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16248 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16249 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16250 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16251 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16254 for NaNs before doing comparisons on argument.
16255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16258 2013-10-10 Will Newton <will.newton@linaro.org>
16260 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16261 passed to _int_memalign does not overflow.
16263 2013-10-10 Torvald Riegel <triegel@redhat.com>
16265 * scripts/bench.pl: Add include-sources directive.
16266 * benchtests/README: Update documentation.
16268 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16270 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16271 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16272 instead of FP_INIT_ROUNDMODE.
16273 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16274 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16277 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16278 copy class of input value.
16279 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16280 not handle exceptions.
16281 * soft-fp/negsf2.c (__negsf2): Likewise.
16282 * soft-fp/negtf2.c (__negtf2): Likewise.
16283 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16285 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16287 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16288 semicolon. From Linux kernel.
16290 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16292 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16294 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16297 * manual/socket.texi: Added statement about buffer
16298 for gethostbyname2_r.
16300 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16302 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16303 Use .p2align directive instead, throughout.
16304 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16305 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16306 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16308 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16309 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16310 * sysdeps/x86_64/strchr.S: Likewise.
16311 * sysdeps/x86_64/strrchr.S: Likewise.
16313 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16315 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16317 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16319 * sysdeps/generic/math_private.h (__mpsin1): Remove
16321 (__mpcos1): Likewise.
16322 (__mpsin): New argument __range_reduce.
16323 (__mpcos): Likewise.
16324 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16325 (slow): Use __mpsin and __mpcos.
16329 (sloww1): Likewise.
16330 (sloww2): Likewise.
16331 (bsloww): Likewise.
16332 (bsloww1): Likewise.
16333 (bsloww2): Likewise.
16334 (cslow2): Likewise.
16335 (csloww): Likewise.
16336 (csloww1): Likewise.
16337 (csloww2): Likewise.
16338 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16339 range_reduce. Merge in __mpsin1.
16340 (__mpcos): Likewise.
16341 (__mpsin1): Remove.
16342 (__mpcos1): Likewise.
16344 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16346 * locale/loadlocale.c (_nl_intern_locale_data): Use
16348 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16349 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16350 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16351 obstack data is appropriately aligned.
16352 (obstack_int32_grow_fast): Likewise.
16353 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16354 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16355 (add_locale_uint32_array): Likewise.
16357 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16359 * benchtests/Makefile: Remove ARGLIST and RET variables.
16360 ($(objpfx)bench-%.c): Pass only function name to the script.
16361 * benchtests/README: Update documentation.
16362 * benchtests/acos-inputs: Add new directives.
16363 * benchtests/acosh-inputs: Likewise.
16364 * benchtests/asin-inputs: Likewise.
16365 * benchtests/asinh-inputs: Likewise.
16366 * benchtests/atan-inputs: Likewise.
16367 * benchtests/atanh-inputs: Likewise.
16368 * benchtests/cos-inputs: Likewise.
16369 * benchtests/cosh-inputs: Likewise.
16370 * benchtests/exp-inputs: Likewise.
16371 * benchtests/log-inputs: Likewise.
16372 * benchtests/pow-inputs: Likewise.
16373 * benchtests/rint-inputs: Likewise.
16374 * benchtests/sin-inputs: Likewise.
16375 * benchtests/sinh-inputs: Likewise.
16376 * benchtests/tan-inputs: Likewise.
16377 * benchtests/tanh-inputs: Likewise.
16378 * scripts/bench.pl: Add support for new directives.
16380 2013-10-07 Alan Modra <amodra@gmail.com>
16382 * README: Fix careless merge.
16384 2013-10-05 Alan Modra <amodra@gmail.com>
16386 * NEWS: Mention powerpc64le support and bugs fixed.
16387 * README: Both big-endian and little-endian powerpc64 supported.
16389 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16391 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16392 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16393 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16394 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16396 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16398 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16401 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16403 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16404 Move -mhard-float appending from
16405 ports/sysdeps/powerpc/powerpc32/Makefile.
16406 [$(with-fp) = yes] (ASFLAGS): Likewise.
16407 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16408 * sysdeps/powerpc/nofpu: Move directory from
16409 ports/sysdeps/powerpc/nofpu.
16410 * sysdeps/powerpc/soft-fp: Move directory from
16411 ports/sysdeps/powerpc/soft-fp.
16412 * sysdeps/powerpc/powerpc32/405: Move directory from
16413 ports/sysdeps/powerpc/powerpc32/405.
16414 * sysdeps/powerpc/powerpc32/440: Move directory from
16415 ports/sysdeps/powerpc/powerpc32/440.
16416 * sysdeps/powerpc/powerpc32/464: Move directory from
16417 ports/sysdeps/powerpc/powerpc32/464.
16418 * sysdeps/powerpc/powerpc32/476: Move directory from
16419 ports/sysdeps/powerpc/powerpc32/476.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16421 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16423 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16425 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16427 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16429 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16430 * README: Update for powerpc-*-linux-gnu software floating point
16433 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16434 case to powerpc/powerpc32*.
16435 * sysdeps/unix/sysv/linux/configure: Regenerated.
16437 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16438 (_FPU_MASK_OM): Define as 0x04.
16439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16447 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16450 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16453 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16454 and setcontext_e500.
16456 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16458 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16460 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16462 * manual/threads.texi (Default Thread Attributes): Fix typo.
16464 2013-10-04 Will Newton <will.newton@linaro.org>
16466 * malloc/Makefile: Add tst-memalign.
16467 * malloc/tst-memalign.c: New file.
16469 * malloc/tst-posix_memalign.c: Add comments.
16470 (do_test): Add comments and call free on all potentially
16471 allocated pointers. Add space after cast.
16473 * malloc/tst-pvalloc.c: Add comments.
16474 (do_test): Add comments and call free on all potentially
16475 allocated pointers. Remove duplicate check for NULL pointer.
16476 Add space after cast.
16478 * malloc/tst-valloc.c: Add comments.
16479 (do_test): Add comments and call free on all potentially
16480 allocated pointers. Remove duplicate check for NULL pointer.
16481 Add space after cast.
16483 2013-10-04 Alan Modra <amodra@gmail.com>
16485 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16486 Use stdint types in rather than __attribute__((mode())).
16487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16489 2013-10-04 Alan Modra <amodra@gmail.com>
16491 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16492 Correct handling of unaligned relocs for little-endian.
16493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16495 2013-10-04 Alan Modra <amodra@gmail.com>
16497 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16498 * configure: Regenerate.
16499 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16500 * shlib-versions: Likewise.
16502 2013-10-04 Alan Modra <amodra@gmail.com>
16504 * string/tester.c (test_memrchr): Increment reported test cycle.
16506 2013-10-04 Alan Modra <amodra@gmail.com>
16508 * string/test-memcpy.c (do_one_test): When reporting errors, print
16509 string address and don't overrun end of string.
16511 2013-10-04 Alan Modra <amodra@gmail.com>
16513 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16514 insrdi. Make better use of reg selection to speed exit slightly.
16515 Schedule entry path a little better. Remove useless "are we done"
16516 checks on entry to main loop. Handle wrapping around zero address.
16517 Correct main loop count. Handle single left-over word from main
16518 loop inline rather than by using loop_small. Remove extra word
16519 case in loop_small caused by wrong loop count. Add little-endian
16521 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16522 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16524 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16525 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16526 support. Avoid rlwimi.
16527 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16529 2013-10-04 Alan Modra <amodra@gmail.com>
16531 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16532 insrdi. Formatting.
16533 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16534 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16535 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16536 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16537 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16538 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16540 2013-10-04 Alan Modra <amodra@gmail.com>
16542 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16543 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16544 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16545 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16546 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16548 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16549 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16550 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16551 use of regs. Use power7 mtocrf. Tidy function tails.
16553 2013-10-04 Alan Modra <amodra@gmail.com>
16555 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16556 Formatting. Consistently use rXXX register defines or rN defines.
16557 Use early exit labels that avoid restoring unused non-volatile regs.
16558 Make cr field use more consistent with rWORDn compares. Rename
16559 regs used as shift registers for unaligned loop, using rN defines
16560 for short lifetime/multiple use regs.
16561 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16562 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16563 addi 1,1,64 to pop stack frame. Simplify return value code.
16564 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16566 2013-10-04 Alan Modra <amodra@gmail.com>
16568 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16569 support. Correct typos, formatting. Optimize tail. Use insrdi
16570 rather than rlwimi.
16571 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16572 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16573 little-endian support. Correct typos.
16574 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16575 rather than rlwimi.
16576 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16577 in loop and entry code to keep "and." results.
16578 (strchr): Add little-endian support. Comment. Move cntlzd
16580 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16582 2013-10-04 Alan Modra <amodra@gmail.com>
16584 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16585 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16586 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16587 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16589 2013-10-04 Alan Modra <amodra@gmail.com>
16591 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16592 (rTMP): Define as r11.
16593 (strcmp): Add little-endian support. Optimise tail.
16594 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16595 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16596 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16598 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16602 2013-10-04 Alan Modra <amodra@gmail.com>
16604 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16605 little-endian support. Remove unnecessary "are we done" tests.
16606 Handle "s" wrapping around zero and extremely large "size".
16607 Correct main loop count. Handle single left-over word from main
16608 loop inline rather than by using small_loop. Correct comments.
16609 Delete "zero" tail, use "end_max" instead.
16610 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16612 2013-10-04 Alan Modra <amodra@gmail.com>
16614 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16615 support. Don't branch over align.
16616 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16617 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16618 support. Rearrange tmp reg use to suit. Comment.
16619 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16621 2013-10-04 Alan Modra <amodra@gmail.com>
16623 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16625 2013-10-04 Alan Modra <amodra@gmail.com>
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16628 conditional form of branch and link when obtaining pc.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16631 2013-10-04 Alan Modra <amodra@gmail.com>
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16638 2013-10-04 Alan Modra <amodra@gmail.com>
16640 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16641 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16642 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16643 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16644 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16645 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16646 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16647 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16648 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16649 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16651 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16652 Alistair Popple <alistair@ozlabs.au.ibm.com>
16653 Alan Modra <amodra@gmail.com>
16656 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16657 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16658 _dl_hwcap access for little-endian.
16659 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16660 destroy vmx regs when saving unaligned.
16661 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16662 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16663 destroy vmx regs when saving unaligned.
16665 2013-10-04 Alan Modra <amodra@gmail.com>
16667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16668 Don't use a union to pack hi/low value.
16670 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16672 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16674 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16675 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16676 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16677 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16678 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16680 2013-10-04 Alan Modra <amodra@gmail.com>
16682 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16683 constants to usual value for .cst8 section, and remove redundant
16685 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16686 constant for 0x1p52. Load little-endian words of double from
16687 correct stack offsets.
16689 2013-10-04 Alan Modra <amodra@gmail.com>
16691 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16692 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16693 words of double from correct stack offsets.
16694 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16695 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16696 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16697 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16698 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16699 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16700 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16701 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16702 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16703 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16704 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16705 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16706 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16707 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16708 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16709 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16710 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16712 2013-10-04 Alan Modra <amodra@gmail.com>
16714 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16715 64-bit int/double union.
16716 (_FPU_SETCW): Likewise.
16717 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16718 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16720 2013-10-04 Alan Modra <amodra@gmail.com>
16722 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16723 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16725 2013-10-04 Alan Modra <amodra@gmail.com>
16727 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16728 use vector int constants.
16729 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16731 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16733 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16734 array with long long.
16735 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16736 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16737 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16738 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16739 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16740 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16741 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16742 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16743 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16744 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16745 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16746 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16747 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16749 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16751 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16752 (__signbit): Likewise. Correct for little-endian.
16753 (__signbitl): Call __signbit.
16754 (lrint): Correct for little-endian.
16755 (lrintf): Call lrint.
16757 2013-10-04 Alan Modra <amodra@gmail.com>
16759 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16760 union 32-bit int array member with 64-bit int array.
16761 (t515, tm256): Double rather than long double.
16762 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16764 2013-10-04 Alan Modra <amodra@gmail.com>
16766 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16768 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16769 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16770 version of math_ldbl.h.
16772 2013-10-04 Alan Modra <amodra@gmail.com>
16774 [BZ #15734], [BZ #15735]
16775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16776 all uses of ieee875 long double macros and unions. Simplify test
16777 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16778 ldbl_extract_mantissa value for ix,iy exponents. Properly
16779 normalize after ldbl_extract_mantissa, and don't add hidden bit
16780 already handled. Don't treat low word of ieee854 mantissa like
16781 low word of IBM long double and mask off bit when testing for
16783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16784 all uses of ieee875 long double macros and unions. Simplify tests
16785 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16786 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16787 two1022, instead use their values. Recognise that tests for large
16788 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16789 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16790 Rewrite all uses of ieee875 long double macros and unions. Simplify
16791 test for 0.0L and nan. Correct negation.
16792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16793 ieee875 long double macros and unions. Correct output for large
16794 magnitude x. Correct absolute value calculation.
16795 (__erfcl): Likewise.
16796 * math/libm-test.inc: Add tests for errors discovered in IBM long
16797 double versions of fmodl, remainderl, erfl and erfcl.
16799 2013-10-04 Alan Modra <amodra@gmail.com>
16801 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16802 all uses of ieee854 long double macros and unions. Simplify tests
16803 for long doubles that are fully specified by the high double.
16804 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16806 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16807 Remove dead code too.
16808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16809 (__ieee754_ynl): Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16813 Remove dead code too.
16814 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16824 Comment on variable precision.
16825 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16826 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16828 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16829 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16832 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16834 2013-10-04 Alan Modra <amodra@gmail.com>
16836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16837 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16838 all uses of ieee854 long double macros and unions.
16839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16841 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16843 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16844 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16846 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16847 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16848 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16852 Simplify sign and nan test too.
16853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16854 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16855 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16856 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16858 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16859 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16862 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16864 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16865 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16866 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16868 2013-10-04 Alan Modra <amodra@gmail.com>
16870 * stdio-common/printf_size.c (__printf_size): Don't use
16871 union ieee854_long_double in fpnum union.
16872 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16873 signbit macro to retrieve sign from long double.
16874 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16875 retrieve sign from long double.
16876 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16877 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16878 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16879 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16880 * math/test-misc.c (main): Don't use union ieee854_long_double.
16882 2013-10-04 Alan Modra <amodra@gmail.com>
16885 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16886 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16887 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16888 calculation. Remove unnecessary test for denormal exponent.
16889 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16890 Correct handling of denormals. Avoid undefined shift behaviour.
16891 Correct normalisation of low mantissa when low double is denormal.
16892 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16893 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16894 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16895 Correct normalisation of low mantissa. Test for overflow of high
16896 mantissa and normalise.
16897 (ldbl_nearbyint): Use more readable constant for two52.
16898 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16899 (__mpn_construct_long_double): Fix test for overflow of high
16900 mantissa and correct normalisation. Avoid undefined shift.
16902 2013-10-04 Alan Modra <amodra@gmail.com>
16904 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16905 (union ibm_extended_long_double): Define as an array of ieee754_double.
16906 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16907 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16908 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16909 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16911 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16913 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16914 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16915 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16916 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16918 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16920 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16921 page size instead of calling getpagesize.
16923 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16924 (LOCFILE_ALIGN_MASK): Likewise.
16925 (LOCFILE_ALIGN_UP): Likewise.
16926 (LOCFILE_ALIGNED_P): Likewise.
16927 * locale/programs/ld-collate.c (collate_output): Use the new
16928 macros instead of __alignof__ (int32_t).
16929 * locale/weight.h (findidx): Likewise.
16931 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16934 * manual/string.texi: Fix strncat and wcsncat.
16936 2013-10-03 Brooks Moses <bmoses@google.com>
16939 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16940 * Makerules: ...here, and adjust associated comments.
16942 2013-10-02 Will Newton <will.newton@linaro.org>
16944 * malloc/Makefile: Add tst-pvalloc.
16945 * malloc/tst-pvalloc.c: New file.
16947 2013-10-02 Will Newton <will.newton@linaro.org>
16949 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16950 improve test coverage.
16952 2013-10-02 Will Newton <will.newton@linaro.org>
16954 * malloc/Makefile: Add tst-posix_memalign.
16955 * malloc/tst-posix_memalign.c: New file.
16957 2013-10-01 Eric Blake <eblake@redhat.com>
16959 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16960 Use __THROWNL rather than __THROW on static functions.
16962 2013-09-30 Petr Machata <pmachata@redhat.com>
16964 * elf/elf.h (R_AARCH64_ABS16): New macro.
16965 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16966 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16967 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16968 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16969 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16970 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16971 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16972 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16973 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16974 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16975 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16976 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16977 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16978 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16979 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16980 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16981 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16982 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16983 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16984 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16985 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16986 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16987 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16988 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16989 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16990 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16991 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16992 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16993 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16994 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16995 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16996 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16997 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16998 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16999 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17000 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17001 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17002 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17003 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17004 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17005 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17006 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17007 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17008 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17009 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17010 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17011 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17012 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17013 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17014 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17015 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17016 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17017 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17018 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17019 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17020 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17021 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17022 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17023 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17024 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17025 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17026 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17027 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17028 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17029 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17030 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17031 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17032 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17033 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17034 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17035 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17036 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17037 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17038 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17039 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17040 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17041 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17042 (R_AARCH64_TLSDESC_LDR): Likewise.
17043 (R_AARCH64_TLSDESC_ADD): Likewise.
17044 (R_AARCH64_TLSDESC_CALL): Likewise.
17046 2013-09-30 Andreas Schwab <schwab@suse.de>
17049 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17050 the nss database lookup.
17051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17054 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17056 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17058 2013-09-28 P. J. McDermott <pj@pehjota.net>
17060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17061 ${Bash-specific parameter/pattern/string} parameter expansion.
17062 * sysdeps/unix/make-syscalls.sh: Likewise.
17064 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17066 * sysdeps/sh/stackguard-macros.h: New file.
17068 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17072 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17073 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17074 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17075 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17077 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17079 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17080 Fix thread ID register.
17082 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17084 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17085 [POSIX || UNIX98]: Require rather than permitting all symbols from
17087 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17088 element of struct sched_param.
17089 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17090 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17091 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17092 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17095 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17097 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17098 argument calculation.
17100 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17102 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17104 [POSIX] (pthread_attr_t): Do not require type.
17105 [POSIX] (pthread_cond_t): Likewise.
17106 [POSIX] (pthread_condattr_t): Likewise.
17107 [POSIX] (pthread_key_t): Likewise.
17108 [POSIX] (pthread_mutex_t): Likewise.
17109 [POSIX] (pthread_mutexattr_t): Likewise.
17110 [POSIX] (pthread_once_t): Likewise.
17111 [POSIX] (pthread_t): Likewise.
17112 [POSIX-based standards] (pthread_atfork): Expect function.
17114 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17115 Richard Sandiford <richard@codesourcery.com>
17117 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17118 (swap_endianness_p): New extern variable.
17119 (set_big_endian): New inline function.
17120 (maybe_swap_uint32): Likewise.
17121 (maybe_swap_uint32_array): Likewise.
17122 (maybe_swap_uint32_obstack): Likewise.
17123 * locale/programs/locfile.c: Include <stdbool.h>.
17124 (swap_endianness_p): New variable.
17125 (add_locale_uint32): Call maybe_swap_uint32.
17126 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17127 (write_locale_data): Call maybe_swap_uint32_array.
17128 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17130 (obstack_int32_grow_fast): Likewise.
17131 (output_weightwc): Call maybe_swap_uint32_obstack.
17132 (collate_output): Likewise.
17133 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17134 (OPT_LITTLE_ENDIAN): Likewise.
17135 (options): Add --little-endian and --big-endian options.
17136 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17137 * locale/programs/locarchive.c: Include "locfile.h".
17141 (create_archive): Use the new macros to access fields of
17142 structures directly mapped from or written to locale archives.
17143 (oldlocrecentcmp): Likewise.
17144 (enlarge_archive): Likewise.
17145 (insert_name): Likewise.
17146 (add_alias): Likewise.
17147 (add_locale): Likewise.
17148 (delete_locales_from_archive): Likewise.
17149 (show_archive_content): Likewise.
17150 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17153 2013-09-24 Roland McGrath <roland@hack.frob.com>
17155 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17156 http://www.gnu.org/doc/freemanuals.texi.
17157 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17159 2013-09-24 Will Newton <will.newton@linaro.org>
17161 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17164 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17166 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17169 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17171 * manual/threads.texi (POSIX Threads): Fix a typo.
17173 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17176 * string/tst-strcoll-overflow.c: New test case.
17177 * string/Makefile (xtests): Add tst-strcoll-overflow.
17178 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17179 cache if string sizes may cause integer overflow.
17182 * string/strcoll_l.c (coll_seq): New members rule, idx,
17183 save_idx and back_us.
17184 (get_next_seq_nocache): New function.
17185 (do_compare_nocache): New function.
17186 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17189 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17192 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17193 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17194 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17197 * elf/Makefile (tests): Add tst-ptrguard1.
17198 (tests-static): Add tst-ptrguard1-static.
17199 (tst-ptrguard1-ARGS): Define.
17200 (tst-ptrguard1-static-ARGS): Define.
17201 * elf/tst-ptrguard1.c: New file.
17202 * elf/tst-ptrguard1-static.c: New file.
17203 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17204 * sysdeps/i386/stackguard-macros.h: Likewise.
17205 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17206 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17207 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17208 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17209 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17210 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17212 2013-09-23 Hector Marco <hecmargi@upv.es>
17213 Ismael Ripoll <iripoll@disca.upv.es>
17214 Carlos O'Donell <carlos@redhat.com>
17217 * sysdeps/generic/stackguard-macros.h: Define
17218 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17219 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17220 Define __pointer_chk_guard_local.
17221 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17222 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17224 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17227 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17229 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17231 * include/string.h (__ffs): Declare as hidden.
17232 * string/ffs.c (__ffs): Define as hidden.
17233 * sysdeps/i386/ffs.c (__ffs): Likewise.
17234 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17235 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17236 * sysdeps/s390/ffs.c (__ffs): Likewise.
17237 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17239 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17241 * NEWS: Mention malloc probes.
17243 * malloc/arena.c (new_heap): New memory_heap_new probe.
17244 (grow_heap): New memory_heap_more probe.
17245 (shrink_heap): New memory_heap_less probe.
17246 (heap_trim): New memory_heap_free probe.
17247 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17248 (systrim): New memory_sbrk_less probe.
17249 * manual/probes.texi: Document them.
17251 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17252 * manual/probes.texi: Document it.
17254 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17255 (__libc_realloc): Add memory_realloc_retry probe.
17256 (__libc_memalign): Add memory_memalign_retry probe.
17257 (__libc_valloc): Add memory_valloc_retry probe.
17258 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17259 (__libc_calloc): Add memory_calloc_retry probe.
17260 * manual/probes.texi: Document them.
17262 * malloc/arena.c (get_free_list): Add probe
17263 memory_arena_reuse_free_list.
17264 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17265 and memory_arena_reuse.
17266 (arena_get2) [!PER_THREAD]: Likewise.
17267 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17268 memory_arena_reuse_realloc.
17269 * manual/probes.texi: Document them.
17271 * malloc/malloc.c (__libc_free): Add
17272 memory_mallopt_free_dyn_thresholds probe.
17273 (__libc_mallopt): Add multiple memory_mallopt probes.
17274 * manual/probes.texi: Document them.
17276 * malloc/malloc.c: Include stap-probe.h.
17277 (__libc_mallopt): Add memory_mallopt probe.
17278 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17279 * manual/probes.texi: New.
17280 * manual/Makefile (chapters): Add probes.
17281 * manual/threads.texi: Set next node.
17283 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17285 [BZ #15963, #13985]
17286 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17287 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17288 Add `Chinese' to `nan' entry name.
17290 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17292 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17293 (POLYNOMIAL): Likewise.
17294 (TAYLOR_SINCOS): Likewise.
17295 (TAYLOR_SLOW): Likewise.
17296 (__sin): Use TAYLOR_SINCOS.
17298 (slow): Use TAYLOR_SLOW.
17300 (bsloww): Likewise.
17301 (csloww): Likewise.
17303 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17305 * stdlib/strtod_l.c: Fix buffer overrun.
17307 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17309 * benchtests/Makefile (bench): Add sincos.
17310 * benchtests/bench-sincos.c: New file.
17312 * math/libm-test.inc (cos_test_data): New test inputs.
17313 (sin_test_data): Likewise.
17315 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17321 (sloww1): Likewise.
17322 (sloww2): Likewise.
17323 (bsloww1): Likewise.
17324 (bsloww2): Likewise.
17325 (cslow2): Likewise.
17326 (csloww1): Likewise.
17327 (csloww2): Likewise.
17329 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17338 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17340 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17341 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17342 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17343 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17344 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17345 * elf/cache.c (print_entry): Handle the new cache flags.
17347 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17348 Aldy Hernandez <aldyh@redhat.com>
17350 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17351 Change condition to [_SOFT_FLOAT].
17352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17356 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17364 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17367 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17370 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17372 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17373 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17374 (__longjmp): Use LOAD_GP to load saved GPRs.
17375 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17376 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17377 (__sigsetjmp): Use SAVE_GP to save GPRs.
17379 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17380 Do not append -msoft-float.
17381 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17383 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17385 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17387 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17390 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17391 (_FPU_GETCW): Use initial "__" on variable and field names but not
17392 on macro parameter name.
17393 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17394 parentheses around reference to macro parameter.
17396 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17398 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17400 (ctype_startup): Use uint32_t in cast and sizeof for
17403 2013-09-11 Jia Liu <proljc@gmail.com>
17405 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17407 [__FreeBSD__]: Likewise.
17409 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17412 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17413 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17414 (strchr): Remove __strchr_sse42 ifunc selection.
17415 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17416 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17418 2013-09-11 Will Newton <will.newton@linaro.org>
17420 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17421 parameter to RES. Remove hardcoded 1000 value.
17422 * benchtests/bench-skeleton.c (main): Pass RES parameter
17423 to TIMING_INIT and multiply result by 1000.
17425 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17429 2013-09-11 Andreas Schwab <schwab@suse.de>
17431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17433 (O_TMPFILE) [__USE_GNU]: Define.
17434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17437 2013-09-11 Will Newton <will.newton@linaro.org>
17440 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17443 2013-09-11 Will Newton <will.newton@linaro.org>
17446 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17449 2013-09-11 Will Newton <will.newton@linaro.org>
17452 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17455 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17457 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17458 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17459 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17460 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17461 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17463 2013-09-10 Allan McRae <allan@archlinux.org>
17466 * manual/arith.texi (Parsing of Floats): Clarify
17470 * manual/install.texi (Running make install): Mention
17472 * INSTALL: Regenerated.
17474 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17476 * csu/init-first.c (_init): Remove the !SHARED condition around
17477 FPU control word initialization.
17478 * elf/dl-support.c (_dl_fpu_control): New variable.
17479 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17480 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17481 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17482 * math/test-fpucw-static.c: New file.
17483 * math/test-fpucw-ieee.c: New file.
17484 * math/test-fpucw-ieee-static.c: New file.
17485 * math/Makefile (tests): Add `test-fpucw-ieee' and
17487 (tests-static): New variable.
17488 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17490 [($(build-shared),yes)]
17491 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17493 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17496 2013-09-09 Allan McRae <allan@archlinux.org>
17499 * manual/string.texi (Collation Functions): Fix typo in
17501 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17504 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17507 * libio/memstream.c (open_memstream): Fix memory leak.
17508 * libio/wmemstream.c (open_wmemstream): Likewise.
17511 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17513 2013-09-09 Will Newton <will.newton@linaro.org>
17515 * malloc/Makefile: Add tst-realloc to tests.
17516 * malloc/tst-realloc.c: New file.
17518 2013-09-09 Allan McRae <allan@archlinux.org>
17521 * COPYING: Update from GNU website to fix FSF address.
17522 * COPYING.LIB: Likewise.
17524 2013-09-06 David S. Miller <davem@davemloft.net>
17526 * po/zh_TW.po: Update Chinese (traditional) translation from
17527 translation project.
17529 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17530 Joseph Myers <joseph@codesourcery.com>
17532 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17534 (obstack_chunk_alloc): New macro.
17535 (obstack_chunk_free): Likewise.
17536 (record_offset): New function.
17537 (init_locale_data): Likewise.
17538 (align_locale_data): Likewise.
17539 (add_locale_empty): Likewise.
17540 (add_locale_raw_data): Likewise.
17541 (add_locale_raw_obstack): Likewise.
17542 (add_locale_string): Likewise.
17543 (add_locale_wstring): Likewise.
17544 (add_locale_uint32): Likewise.
17545 (add_locale_uint32_array): Likewise.
17546 (add_locale_char): Likewise.
17547 (start_locale_structure): Likewise.
17548 (end_locale_structure): Likewise.
17549 (start_locale_prelude): Likewise.
17550 (end_locale_prelude): Likewise.
17551 (write_locale_data): Take locale_file structure rather than an
17553 * locale/programs/locfile.h: Include "obstack.h".
17554 (struct locale_file): Change to store locale file contents instead
17556 (init_locale_data): New prototype.
17557 (align_locale_data): Likewise.
17558 (add_locale_empty): Likewise.
17559 (add_locale_raw_data): Likewise.
17560 (add_locale_raw_obstack): Likewise.
17561 (add_locale_string): Likewise.
17562 (add_locale_wstring): Likewise.
17563 (add_locale_uint32): Likewise.
17564 (add_locale_uint32_array): Likewise.
17565 (add_locale_char): Likewise.
17566 (start_locale_structure): Likewise.
17567 (end_locale_structure): Likewise.
17568 (start_locale_prelude): Likewise.
17569 (end_locale_prelude): Likewise.
17570 (write_locale_data): Update prototype.
17571 * locale/programs/3level.h (struct TABLE): Remove result field.
17572 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17573 Use new locale_file interface.
17574 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17575 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17576 * locale/programs/ld-address.c (address_output): Use new
17577 locale_file interface.
17578 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17580 (collate_finish): Don't call collseq_table_finalize.
17581 (collate_output): Use new locale_file interface.
17582 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17584 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17585 (TABLE): Move defines earlier in file.
17586 (ELEMENT): Likewise.
17587 (DEFAULT): Likewise.
17588 (wctrans_table_add): Move macro and inline function earlier in
17590 (struct wctype_table): Move type earlier in file.
17591 (add_locale_wctype_table): New static prototype.
17592 (struct locale_ctype_t): Use logical types instead of struct iovec
17593 pointers for members.
17594 (ctype_output): Use new locale_file interface.
17595 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17596 new locale_file interface.
17597 (allocate_arrays): Update for use of new locale_file interface.
17598 * locale/programs/ld-identification.c (identification_output): Use
17599 new locale_file interface.
17600 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17601 * locale/programs/ld-messages.c (messages_output): Likewise.
17602 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17603 * locale/programs/ld-name.c (name_output): Likewise.
17604 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17605 * locale/programs/ld-paper.c (paper_output): Likewise.
17606 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17607 * locale/programs/ld-time.c (time_output): Likewise.
17609 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17611 * benchtests/Makefile: Add memrchr benchmark.
17612 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17613 benchmark as memrchr.
17614 * benchtests/bench-memrchr-ifunc.c: New file.
17615 * benchtests/bench-memrchr.c: New file.
17617 2013-09-06 Will Newton <will.newton@linaro.org>
17619 * benchtests/Makefile (string-bench): Add memcpy.
17621 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17622 Cong Wang <amwang@redhat.com>
17625 * sysdeps/unix/sysv/linux/bits/in.h
17626 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17627 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17628 before __USE_KERNEL_IPV6_DEFS uses.
17629 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17631 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17632 sockaddr_in6, or ipv6_mreq.
17634 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17636 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17637 memory access for final bytes in some large inputs.
17638 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17640 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17642 * string/test-memrchr.c: New file.
17643 * string/test-memrchr-ifunc.c: New file.
17644 * string/Makefile: Add new memrchr testcase.
17646 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17648 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17649 fanotify_init returns EPERM.
17651 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17653 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17655 (top level): Treat second token from macro or constant entries for
17656 allowed headers as allowed.
17657 * include/complex.h: Condition internal declarations on
17659 * include/fenv.h: Condition include of <stdbool.h> and internal
17660 declarations on [!_ISOMAC].
17662 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17665 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17667 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17669 * configure.in (--enable-versioning): Remove configure option.
17670 (libc_cv_asm_symver_directive): Remove configure test.
17671 (libc_cv_ld_version_script_option): Likewise.
17672 (VERSIONING): Remove variable and AC_SUBST.
17673 (DO_VERSIONING): Remove AC_DEFINE.
17674 * configure: Regenerated.
17675 * config.h.in (DO_VERSIONING): Remove macro.
17676 * Makerules [$(versioning) = yes]: Change conditionals to
17677 [$(build-shared) = yes].
17678 * config.make.in (versioning): Remove variable.
17679 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17680 [$(build-shared) = yes].
17681 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17682 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17683 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17684 [$(build-shared) = yes].
17685 * extra-lib.mk [$(versioning) = yes]: Likewise.
17686 * hurd/Makefile [$(versioning) = yes]: Likewise.
17687 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17689 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17691 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17692 [SHARED && !NO_HIDDEN].
17693 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17695 [SHARED && DO_VERSIONING]: Likewise..
17696 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17697 [$(build-shared) = yes].
17698 * manual/install.texi (--disable-versioning): Remove
17700 * INSTALL: Regenerated.
17701 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17703 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17704 [$(build-shared) = yes].
17705 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17706 * sysdeps/i386/i686/multiarch/strstr-c.c
17707 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17708 [SHARED && !NO_HIDDEN].
17709 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17710 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17711 * sysdeps/powerpc/powerpc32/dl-machine.c
17712 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17713 * sysdeps/powerpc/powerpc32/sysdep.h
17714 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17715 to [SHARED && PIC && !NO_HIDDEN].
17716 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17717 conditional to [SHARED].
17719 2013-09-04 Will Newton <will.newton@linaro.org>
17721 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17722 * benchtests/bench-string.h: Include bench-timing.h instead
17723 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17724 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17725 call to HP_TIMING_DIFF_INIT.
17726 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17727 instead of hp-timing.h macros.
17728 * benchtests/bench-memchr.c: Likewise.
17729 * benchtests/bench-memcmp.c: Likewise.
17730 * benchtests/bench-memcpy.c: Likewise.
17731 * benchtests/bench-memmem.c: Likewise.
17732 * benchtests/bench-memmove.c: Likewise.
17733 * benchtests/bench-memset.c: Likewise.
17734 * benchtests/bench-rawmemchr.c: Likewise.
17735 * benchtests/bench-strcasecmp.c: Likewise.
17736 * benchtests/bench-strcasestr.c: Likewise.
17737 * benchtests/bench-strcat.c: Likewise.
17738 * benchtests/bench-strchr.c: Likewise.
17739 * benchtests/bench-strcmp.c: Likewise.
17740 * benchtests/bench-strcpy.c: Likewise.
17741 * benchtests/bench-strcpy_chk.c: Likewise.
17742 * benchtests/bench-strlen.c: Likewise.
17743 * benchtests/bench-strncasecmp.c: Likewise.
17744 * benchtests/bench-strncat.c: Likewise.
17745 * benchtests/bench-strncmp.c: Likewise.
17746 * benchtests/bench-strncpy.c: Likewise.
17747 * benchtests/bench-strnlen.c: Likewise.
17748 * benchtests/bench-strpbrk.c: Likewise.
17749 * benchtests/bench-strrchr.c: Likewise.
17750 * benchtests/bench-strspn.c: Likewise.
17751 * benchtests/bench-strstr.c: Likewise.
17753 2013-09-04 Will Newton <will.newton@linaro.org>
17755 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17757 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17760 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17761 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17762 * math/libm-test.inc (lgamma_test_data): Add more tests.
17763 * sysdeps/i386/fpu/libm-test-ulps: Update.
17764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17766 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17768 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17772 Add strcmp-sse2-unaligned
17773 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17775 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17777 * Versions.def (libc): Add GLIBC_2.19.
17779 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17781 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17782 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17784 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17787 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17788 intermediate calculations in recurrence.
17789 (__ieee754_ynf): Likewise.
17790 * math/libm-test.inc (jn_test_data): Do not allow spurious
17791 underflow exception. Add more tests.
17792 (yn_test_data): Add more tests.
17793 * sysdeps/i386/fpu/libm-test-ulps: Update.
17794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17796 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17798 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17800 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17802 * csu/init-first.c: Fix then/than typos.
17803 * locale/programs/ld-collate.c: Likewise.
17804 * locale/programs/linereader.h: Likewise.
17805 * manual/charset.texi: Likewise.
17806 * manual/filesys.texi: Likewise.
17807 * manual/stdio.texi: Likewise.
17808 * manual/string.texi: Likewise.
17809 * stdlib/fmtmsg.c: Likewise.
17810 * sysdeps/i386/stpncpy.S: Likewise.
17811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17812 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17813 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17814 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17816 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17818 * elf/dl-open.c: Fix typos.
17819 * iconvdata/gbbig5.c: Likewise.
17820 * iconvdata/iso-2022-jp.c: Likewise.
17821 * iconv/gconv_int.h: Likewise.
17822 * iconv/loop.c: Likewise.
17823 * nis/rpcsvc/nis.h: Likewise.
17824 * resolv/ns_name.c: Likewise.
17825 * stdio-common/vfscanf.c: Likewise.
17826 * streams/stropts.h: Likewise.
17827 * sunrpc/rpc_thread.c: Likewise.
17828 * sysdeps/i386/strpbrk.S: Likewise.
17829 * sysdeps/ieee754/k_standard.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17832 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17833 * sysdeps/mach/hurd/profil.c: Likewise.
17834 * sysdeps/s390/dl-procinfo.h: Likewise.
17835 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17837 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17838 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17841 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17843 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17846 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17848 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17849 aix specific files.
17850 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17851 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17852 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17853 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17854 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17855 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17856 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17857 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17859 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17860 Roland McGrath <roland@hack.frob.com>
17862 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17863 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17865 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17867 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17868 __executable_start symbol instead of _start.
17870 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17872 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17873 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17875 * sysdeps/gnu/ldsodefs.h: ... this new file.
17877 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17878 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17879 instead of ELFOSABI_LINUX.
17881 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17882 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17883 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17884 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17886 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17887 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17888 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17890 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17891 (ibm_extended_long_double): Add ieee_nan member.
17892 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17893 (do_test): New function.
17895 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17897 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17898 functions, renamed from truncdfsf_test, trunctfsf_test,
17900 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17902 (do_test): Run all these.
17904 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17906 * argp/argp-help.c: Fix typos.
17907 * argp/argp-parse.c: Likewise.
17908 * debug/backtracesyms.c: Likewise.
17909 * elf/elf.h: Likewise.
17910 * malloc/malloc.c: Likewise.
17911 * nis/nis_print.c: Likewise.
17912 * resolv/res_comp.c: Likewise.
17913 * stdlib/stdlib.h: Likewise.
17914 * sunrpc/clnt_tcp.c: Likewise.
17915 * sunrpc/clnt_udp.c: Likewise.
17916 * sunrpc/clnt_unix.c: Likewise.
17917 * sysdeps/unix/bsd/ptsname.c: Likewise.
17918 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17919 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17926 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17928 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17930 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17933 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17936 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17937 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17938 ($(objpfx)bug-dl-leaf): New rule.
17939 ($(objpfx)bug-dl-leaf.so): Likewise.
17940 ($(objpfx)bug-dl-leaf.out): Likewise.
17941 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17942 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17943 * dlfcn/bug-dl-leaf.c: New test.
17944 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17945 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17946 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17947 (dlclose): Likewise.
17948 (dlmopen): Likewise.
17950 2013-08-27 Roland McGrath <roland@hack.frob.com>
17952 * include/netdb.h [!_ISOMAC]:
17953 Don't include <tls.h>.
17954 (h_errno, __libc_h_errno): Move declaration and macros out of
17957 * include/resolv.h [_RESOLV_H_]:
17958 Don't include <tls.h>.
17959 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17960 * resolv/res_libc.c: Don't include <tls.h>.
17961 (_res): Use __attribute__ ((nocommon)) in place of
17962 __attribute__ ((section (".bss"))).
17964 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17965 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17967 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17969 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17970 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17972 * resolv/res_mkquery.c: Include <sys/time.h>.
17974 * inet/ifreq.c: Moved to ...
17975 * sysdeps/unix/ifreq.c: ... here.
17976 * inet/ifreq.c: New file, true stub version.
17978 * socket/sa_len.c: New file.
17979 * socket/Makefile (aux): Add it.
17980 * sysdeps/unix/sysv/linux/Makefile
17981 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17982 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17983 and #include <socket/sa_len.c>.
17984 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17985 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17987 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17988 * bits/socket.h: ... here.
17990 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17991 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17992 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17994 2013-08-27 Andreas Schwab <schwab@suse.de>
17997 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17998 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17999 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18000 * string/test-strcasecmp.c (test_main): Run tests in several
18002 * string/test-strncasecmp.c (test_main): Likewise.
18004 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18005 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18006 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18008 (__strncasecmp_ssse3) [PIC]: Likewise.
18010 2013-08-26 Roland McGrath <roland@hack.frob.com>
18012 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18014 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18015 instead of explicitly declaring xdecrypt.
18016 * nis/nss_nis/nis-publickey.c: Likewise.
18018 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18021 * nscd/aicache.c: Include res_hconf.h.
18022 (addhstaiX): Initialize res_hconf.
18024 2013-08-26 Andreas Schwab <schwab@suse.de>
18026 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18027 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18029 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18031 * nscd/aicache.c (addhstaiX): Fix indentation.
18033 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18035 * configure.ac: Quote $build_pt_chown test.
18036 * configure: Regenerated.
18038 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18041 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18042 * math/s_cexpf.c (__cexpf): Likewise.
18043 * math/s_cexpl.c (__cexpl): Likewise.
18044 * math/libm-test.inc (cexp_test_data): Correct expected return
18045 value for NaN + i0. Add another test.
18047 2013-08-22 David S. Miller <davem@davemloft.net>
18049 * po/ca.po: Update Catalan translation from translation project.
18050 * po/uk.po: Add Ukrainian translations from translation project.
18052 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18055 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18056 is infinite, not alongside NaN test.
18057 * math/s_fdimf.c (__fdimf): Likewise.
18058 * math/s_fdiml.c (__fdiml): Likewise.
18059 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18060 errno is unchanged.
18062 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18064 * argp/argp-help.c: Fix typos.
18065 * crypt/speeds.c: Likewise.
18066 * csu/check_fds.c: Likewise.
18067 * elf/dl-load.c: Likewise.
18068 * elf/dl-open.c: Likewise.
18069 * elf/reldep3.c: Likewise.
18070 * elf/reldep.c: Likewise.
18071 * elf/sprof.c: Likewise.
18072 * iconv/iconv_charmap.c: Likewise.
18073 * iconv/skeleton.c: Likewise.
18074 * iconv/strtab.c: Likewise.
18075 * io/lockf64.c: Likewise.
18076 * libio/libioP.h: Likewise.
18077 * resolv/gai_notify.c: Likewise.
18078 * resolv/ns_name.c: Likewise.
18079 * resolv/ns_samedomain.c: Likewise.
18080 * resolv/res_send.c: Likewise.
18081 * stdlib/random.c: Likewise.
18082 * sunrpc/rpc/xdr.h: Likewise.
18083 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18084 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18091 * sysdeps/mach/hurd/check_fds.c: Likewise.
18092 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18093 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18094 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18095 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18096 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18097 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18098 * sysdeps/pthread/aio_notify.c: Likewise.
18099 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18100 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18101 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18103 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18105 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18107 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18108 version if bit_Slow_SSE4_2 is set.
18109 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18112 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18115 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18116 trampoline stack frame information.
18117 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18118 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18119 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18120 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18121 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18122 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18123 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18124 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18126 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18127 interrupting a syscall and set with option SA_SIGINFO.
18129 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18132 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18133 argument is infinite.
18134 * math/s_cprojf.c (__cprojf): Likewise.
18135 * math/s_cprojl.c (__cprojl): Likewise.
18136 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18137 * math/libm-test.inc (cproj_test_data): Add more tests.
18139 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18141 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18142 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18143 size. Use __ffs to determine corresponding shift.
18145 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18146 Roland McGrath <roland@hack.frob.com>
18148 * Makefile (INSTALL): Remove trailing blank lines from output of
18151 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18153 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18154 Align 32 bit compat elf_greg to 8 bytes.
18156 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18158 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18160 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18162 * string/strcoll_l.c (coll_seq): New structure.
18163 (get_next_seq_cached): New function.
18164 (get_next_seq): New function.
18165 (do_compare): New function.
18166 (STRCOLL): Use GNU style definition. Simplify implementation
18167 by using get_next_seq, get_next_seq_cached and do_compare.
18169 2013-08-16 Florian Weimer <fweimer@redhat.com>
18173 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18175 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18177 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18178 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18179 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18181 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18182 GETDENTS_64BIT_ALIGNED.
18183 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18184 * manual/filesys.texi (Reading/Closing Directory): Document
18185 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18187 * manual/conf.texi (Limits for Files): Add portability note to
18188 NAME_MAX, PATH_MAX.
18189 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18191 2013-08-13 Andreas Schwab <schwab@suse.de>
18194 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18196 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18197 LDBL_MAX_EXP >= 16384]: Add tests for it.
18199 2013-08-12 David S. Miller <davem@davemloft.net>
18201 * version.h (RELEASE): Set to "development".
18202 (VERSION): Set to "2.18.90".
18203 * NEWS: Add 2.19 section.
18205 2013-08-03 David S. Miller <davem@davemloft.net>
18207 * po/ko.po: Update Korean translation from translation project.
18209 2013-08-01 David S. Miller <davem@davemloft.net>
18211 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18212 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18215 2013-07-30 David S. Miller <davem@davemloft.net>
18217 * po/fr.po: Update French translation from translation project.
18219 2013-07-28 David S. Miller <davem@davemloft.net>
18221 * po/cs.po: Update Czech translation from translation project.
18223 * po/sv.po: Update Swedish translation from translation project.
18225 2013-07-27 David S. Miller <davem@davemloft.net>
18227 * po/eo.po: Update Esperanto translation from translation project.
18229 * po/vi.po: Update Vietnamese translation from translation project.
18231 * po/de.po: Update German translation from translation project.
18233 2013-07-26 David S. Miller <davem@davemloft.net>
18235 * po/bg.po: Update Bulgarian translation from translation project.
18237 * po/nl.po: Update Dutch translation from translation project.
18238 * po/pl.po: Update Polish translation from translation project.
18239 * po/ru.po: Update Russian translation from translation project.
18241 2013-07-24 David S. Miller <davem@davemloft.net>
18243 * po/libc.pot: Update.
18245 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18247 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18248 variable page size.
18249 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18250 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18251 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18253 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18255 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18257 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18258 Andreas Schwab <schwab@suse.de>
18259 Roland McGrath <roland@hack.frob.com>
18260 Joseph Myers <joseph@codesourcery.com>
18261 Carlos O'Donell <carlos@redhat.com>
18264 * config.h.in: Define HAVE_PT_CHOWN.
18265 * config.make.in (build-pt-chown): New variable.
18266 * configure.in (--enable-pt_chown): New configure option.
18267 * configure: Regenerate.
18268 * login/Makefile: Include Makeconfig. Build pt_chown only if
18269 build-pt-chown is enabled.
18270 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18271 pt_chown to fix pty ownership.
18272 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18274 * manual/install.texi (Configuring and compiling): Mention
18275 --enable-pt_chown. Add @findex for grantpt.
18276 * INSTALL: Regenerate.
18278 2013-07-20 David S. Miller <davem@davemloft.net>
18280 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18281 difference between 32-bit and 64-bit.
18283 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18286 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18287 Avoid system header dependency with -ffreestanding.
18288 ($(objpfx)bits/syscall%d): Likewise.
18290 2013-07-13 David S. Miller <davem@davemloft.net>
18292 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18293 underflows from atanl/atan2l due to bug 15319.
18294 (casinh_test_data): Likewise.
18296 2013-07-07 David S. Miller <davem@davemloft.net>
18298 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18300 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18302 * sysdeps/i386/fpu/libm-test-ulps: Update.
18303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18305 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18307 * configure.in (--enable-lock-elision): Fix message text.
18308 * INSTALL: Regenerate.
18309 * configure: Regenerate.
18311 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18315 2013-07-03 Andreas Jaeger <aj@suse.de>
18317 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18319 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18320 (ptrace_peeksiginfo_args): Add.
18321 (__ptrace_peeksiginfo_flags): Add.
18322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18324 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18326 2013-07-03 Allan McRae <allan@archlinux.org>
18328 * sysdeps/i386/fpu/libm-test-ulps: Update.
18330 2013-07-02 David S. Miller <davem@davemloft.net>
18332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18334 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18338 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18340 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18343 2013-07-02 Andi Kleen <ak@linux.intel.com>
18345 * config.h.in (ENABLE_LOCK_ELISION): Add.
18346 * configure.in (--enable-lock-elision): Add option.
18347 * manual/install.texi: Document --enable lock elision.
18348 * configure: Regenerate
18349 * INSTALL: Regenerate.
18351 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18353 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18354 SSE4.2 strcasecmp for libc.a.
18355 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18357 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18360 * soft-fp/op-common.h (_FP_FMA): New macro.
18361 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18362 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18363 (_FP_MUL_MEAT_1_imm): ... here.
18364 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18365 (_FP_MUL_MEAT_1_wide): ... here.
18366 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18367 (_FP_MUL_MEAT_1_hard): ... here.
18368 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18369 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18370 (_FP_MUL_MEAT_2_wide): ... here.
18371 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18372 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18373 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18374 (_FP_MUL_MEAT_2_gmp): ... here.
18375 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18376 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18377 (_FP_MUL_MEAT_4_wide): ... here.
18378 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18379 (_FP_MUL_MEAT_4_gmp): ... here.
18380 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18381 (_FP_WFRACBITS_DW_S): Likewise.
18382 (_FP_WFRACXBITS_DW_S): Likewise.
18383 (_FP_HIGHBIT_DW_S): Likewise.
18384 (FP_FMA_S): Likewise.
18385 (_FP_FRAC_HIGH_DW_S): Likewise.
18386 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18387 (_FP_WFRACBITS_DW_D): Likewise.
18388 (_FP_WFRACXBITS_DW_D): Likewise.
18389 (_FP_HIGHBIT_DW_D): Likewise.
18390 (FP_FMA_D): Likewise.
18391 (_FP_FRAC_HIGH_DW_D): Likewise.
18392 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18393 (_FP_WFRACBITS_DW_E): Likewise.
18394 (_FP_WFRACXBITS_DW_E): Likewise.
18395 (_FP_HIGHBIT_DW_E): Likewise.
18396 (FP_FMA_E): Likewise.
18397 (_FP_FRAC_HIGH_DW_E): Likewise.
18398 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18399 (_FP_WFRACBITS_DW_Q): Likewise.
18400 (_FP_WFRACXBITS_DW_Q): Likewise.
18401 (_FP_HIGHBIT_DW_Q): Likewise.
18402 (FP_FMA_Q): Likewise.
18403 (_FP_FRAC_HIGH_DW_Q): Likewise.
18404 * soft-fp/fmasf4.c: New file.
18405 * soft-fp/fmadf4.c: Likewise.
18406 * soft-fp/fmatf4.c: Likewise.
18408 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18411 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18415 (index_Slow_SSE4_2): Likewise.
18416 (index_Prefer_PMINUB_for_stringop): Likewise.
18417 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18418 bit_Slow_SSE4_2 is set.
18419 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18420 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18422 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18424 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18425 rtld_global._dl_hwcap2.
18426 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18428 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18429 POWER8 feature descriptions defined in _dl_hwcap2.
18430 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18431 string handling for POWER8 feature bits.
18432 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18433 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18434 _dl_powerpc_cap_flags.
18435 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18436 * sysdeps/powerpc/rtld-global-offsets.sym
18437 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18438 _dl_hwcap2 in the rtld_global_ro structure.
18440 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18442 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18443 hardware capabilities in support of AT_HWCAP2.
18444 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18445 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18447 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18448 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18449 explicitly the unknown a_type display mechanism is used.
18450 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18451 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18453 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18454 to macro prototype for AT_HWCAP2 support.
18455 * sysdeps/i386/dl-procinfo.h: Likewise.
18456 * sysdeps/s390/dl-procinfo.h: Likewise.
18457 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18458 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18459 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18460 return -1 for unknown a_type display fallback.
18461 * sysdeps/sparc/dl-procinfo.h: Likewise.
18462 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18463 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18465 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18467 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18468 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18470 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18473 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18474 mprotect making __stack_prot writable.
18476 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18477 Joseph Myers <joseph@codesourcery.com>
18479 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18480 as being properly aligned.
18482 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18484 * dlfcn/modstatic5.c: New file.
18485 * dlfcn/tststatic5.c: New file.
18486 * dlfcn/Makefile (tests): Add tststatic5.
18487 (tests-static): Likewise.
18488 (modules-names): Add modstatic5.
18489 (tststatic5-ENV): New variable.
18490 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18493 * elf/dl-support.c (_dl_main_map): New variable.
18494 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18495 (_dl_nns, _dl_load_adds): Set to 1.
18496 (_dl_initial_searchlist): Refer to _dl_main_map.
18497 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18498 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18499 call to _dl_get_origin.
18500 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18502 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18503 * dlfcn/modstatic3.c: New file.
18504 * dlfcn/tststatic3.c: New file.
18505 * dlfcn/tststatic4.c: New file.
18506 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18507 (tests-static): Likewise.
18508 (modules-names): Add modstatic3.
18509 (tststatic3-ENV, tststatic4-ENV): New variables.
18510 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18511 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18513 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18515 * configure.in (CC): Require GCC version 4.4 or later.
18516 * configure: Regenerated.
18517 * manual/install.texi (Tools for Compilation): Update GCC version
18519 * INSTALL: Regenerated.
18521 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18524 * string/test-memcmp.c (check2): New.
18525 (main): Call check2.
18527 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18529 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18532 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18534 (dl_open_worker) [!SHARED]: ... here.
18536 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18538 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18540 2013-06-25 Richard Henderson <rth@redhat.com>
18542 * locale/programs/locarchive.c: Include <libc-internal.h>
18544 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18546 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18547 trailing whitespace removed.
18549 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18552 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18553 * locale/programs/locarchive.c: Include libc-mmap.h.
18554 (prepare_address_space): Take two new outputs (the mmap base and len).
18555 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18557 (create_archive): Declare new mmap base and len values for
18558 prepare_address_space, and store the result in ah.
18559 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18560 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18561 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18562 Declare new mmap base and len values for
18563 prepare_address_space, and store the result in new_ah.
18564 (open_archive): Declare new mmap base and len values for
18565 prepare_address_space, and store the result in ah.
18566 (close_archive): If ah->mmap_base is not NULL, use that and
18567 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18568 * sysdeps/generic/libc-mmap.h: New file.
18570 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18572 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18573 (ALIGN_UP): Likewise.
18574 (PTR_ALIGN_DOWN): Likewise.
18575 (PTR_ALIGN_UP): Likewise.
18577 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18579 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18580 entry mapped to PPC_PLATFORM_POWER8.
18581 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18583 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18584 (_dl_string_platform): Add case for exporting platform position for
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18587 search path to sysdeps/powerpc/powerpc32/power8 directory.
18588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18589 search path to sysdeps/powerpc/powerpc64/power8 directory.
18590 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18591 power7 directories.
18592 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18593 power7 directories.
18595 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18597 * INSTALL: Regenerate.
18599 * nscd/connections.c (nscd_init): Fix comment.
18601 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18603 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18606 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18607 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18609 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18611 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18613 (DL_DST_REQ_STATIC): Remove macro.
18615 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18618 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18619 with a shift of 0 bits.
18621 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18623 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18626 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18629 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18631 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18633 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18634 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18635 accepts -fno-tree-loop-distribute-patterns.
18636 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18637 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18639 * string/memset.c (memset): Likewise.
18640 * string/test-memmove.c (simple_memmove): Disable loop transformation
18642 * string/test-memset.c (simple_memset): Likewise.
18643 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18644 * benchtests/bench-memset.c (simple_memset): Likewise.
18645 * configure: Regenerated.
18647 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18649 * math/test-misc.c (main): Ignore fesetround failure when failures
18650 of subsequent rounding tests would be ignored.
18653 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18654 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18655 * math/fegetenv.c (__fegetenv): Return 0.
18656 * math/fegetexcept.c (fegetexcept): Return 0.
18657 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18659 * math/feholdexcpt.c (feholdexcept): Return 0.
18660 * math/fesetenv.c (__fesetenv): Return 0.
18661 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18662 argument FE_TONEAREST.
18663 * math/feupdateenv.c (__feupdateenv): Return 0.
18664 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18666 2013-06-18 Roland McGrath <roland@hack.frob.com>
18668 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18669 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18670 ($(objpfx)rtld-%.os rules): Use them.
18672 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18674 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18677 2013-06-17 Roland McGrath <roland@hack.frob.com>
18679 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18680 length of target pattern, then descending length of dependency pattern.
18681 * configure.in (AWK): Require gawk 3.1.2 or newer.
18682 * manual/install.texi (Tools for Compilation): Say that we do.
18683 * configure: Regenerated.
18685 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18686 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18687 * scripts/sysd-rules.awk: ... this new script.
18688 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18689 than a glob-style pattern.
18691 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18693 * math/test-misc.c (main): Do not treat incorrectly rounded
18694 conversions as failure unless ROUNDING_TESTS passes.
18696 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18699 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18700 restore exception state around main square root computation, then
18701 check for inexactness explicitly.
18703 * math/libm-test.inc (fma_test_data): Add another test.
18705 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18707 * manual/threads.texi (Non-POSIX Extensions): New document
18708 node. Document pthread_getattr_default_np and
18709 pthread_setattr_default_np.
18711 * Versions.def (libpthread): Add GLIBC_2.18.
18712 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18721 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18732 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18735 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18737 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18738 H.J. Lu <hjl.tools@gmail.com>
18741 * sysdeps/x86_64/rtld-memset.c: Remove file.
18742 * sysdeps/x86_64/rtld-memset.S: New file.
18744 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18746 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18747 (test_in_one_mode): Take arguments for whether the rounding mode
18748 is supported for each floating-point type.
18749 (do_test): Pass new arguments to test_in_one_mode using
18752 2013-06-13 Roland McGrath <roland@hack.frob.com>
18754 * posix/tst-waitid.c (do_test): Distinguish different instances of
18755 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18756 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18757 before entering the kernel for waitpid.
18759 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18761 * NEWS: Fix note on clock function precision. Text by Roland
18764 2013-06-13 Roland McGrath <roland@hack.frob.com>
18766 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18767 it into place only when and if the sanity check passes.
18769 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18771 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18772 output for whether conversion result is exact. Take argument
18773 indicating whether type is IBM long double.
18774 (round_for_all): Change need_exact field to ibm_ld.
18775 * stdlib/tst-strtod-round.c (struct exactness): New type.
18776 (struct test): Change bool ld_ok field to struct exactness exact.
18777 (TEST): Update all definitions for change to field.
18778 (tests): Regenerate array contents.
18779 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18780 field value. Check for IBM long double here.
18781 (do_test): Update calls to test_in_one_mode.
18783 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18786 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18787 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18789 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18792 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18793 generated by the compiler on loop optimizations.
18794 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18795 general definitions.
18797 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18799 * math/bug-nextafter.c: Include <math-tests.h>.
18800 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18802 * math/bug-nexttoward.c: Include <math-tests.h>.
18803 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18805 * math/test-misc.c: Include <math-tests.h>.
18806 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18809 2013-06-12 Andreas Jaeger <aj@suse.de>
18811 * po/ia.po: Update Interlingua translation from translation
18814 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18816 * include/fenv.h: Include stdbool.h.
18817 (struct rm_ctx): New structure.
18818 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18820 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18821 (SET_RESTORE_ROUNDF): Likewise.
18822 (SET_RESTORE_ROUNDL): Likewise.
18823 (SET_RESTORE_ROUND_NOEX): Likewise.
18824 (SET_RESTORE_ROUND_NOEXF): Likewise.
18825 (SET_RESTORE_ROUND_NOEXL): Likewise.
18826 (SET_RESTORE_ROUND_53BIT): Likewise.
18827 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18828 (libc_feresetround_noexf_ctx): Likewise.
18829 (libc_feresetround_noexl_ctx): Likewise.
18830 (libc_feholdsetround_53bit_ctx): Likewise.
18831 (libc_feresetround_53bit_ctx): Likewise.
18832 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18833 (libc_feholdexcept_setround_sse_ctx): New function.
18834 (libc_fesetenv_sse_ctx): Likewise.
18835 (libc_feupdateenv_sse_ctx): Likewise.
18836 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18837 (libc_feholdexcept_setround_387_ctx): Likewise.
18838 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18839 (libc_feholdsetround_387_prec_ctx): Likewise.
18840 (libc_feholdsetround_387_ctx): Likewise.
18841 (libc_feholdsetround_387_53bit_ctx): Likewise.
18842 (libc_feholdsetround_sse_ctx): Likewise.
18843 (libc_feresetround_sse_ctx): Likewise.
18844 (libc_feresetround_387_ctx): Likewise.
18845 (libc_feupdateenv_387_ctx): Likewise.
18846 (libc_feholdexcept_setroundf_ctx): Define macro.
18847 (libc_fesetenvf_ctx): Likewise.
18848 (libc_feupdateenvf_ctx): Likewise.
18849 (libc_feholdsetroundf_ctx): Likewise.
18850 (libc_feresetroundf_ctx): Likewise.
18851 (libc_feholdexcept_setround_ctx): Likewise.
18852 (libc_fesetenv_ctx): Likewise.
18853 (libc_feupdateenv_ctx): Likewise.
18854 (libc_feholdsetround_ctx): Likewise.
18855 (libc_feresetround_ctx): Likewise.
18856 (libc_feholdexcept_setroundl_ctx): Likewise.
18857 (libc_feupdateenvl_ctx): Likewise.
18858 (libc_feholdsetroundl_ctx): Likewise.
18859 (libc_feresetroundl_ctx): Likewise.
18860 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18861 (libc_feresetround_53bit_ctx): Likewise.
18863 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18865 * locale/iso-639.def: Convert to UTF-8.
18867 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18869 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18870 (EXCEPTION_TESTS_double): Likewise.
18871 (EXCEPTION_TESTS_long_double): Likewise.
18872 (EXCEPTION_TESTS): Likewise.
18873 * math/libm-test.inc (test_exceptions): Only test exceptions if
18874 EXCEPTION_TESTS (FLOAT).
18876 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18878 * benchtests/Makefile (string-bench): Add strcpy_chk and
18880 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18881 * benchtests/bench-stpcpy_chk.c: New file.
18882 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18883 * benchtests/bench-strcpy_chk.c: New file.
18884 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18886 (do_test): Likewise.
18888 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18890 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18891 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18892 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18893 with tabs where appropriate.
18894 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18896 [PPC_PLATFORM_PPC440]: Likewise.
18897 [PPC_PLATFORM_PPC464]: Likewise.
18898 [PPC_PLATFORM_PPC476]: Likewise.
18899 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18900 ppc464, and ppc476 platform strings merging from ports/
18903 2013-06-11 Andreas Schwab <schwab@suse.de>
18906 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18907 (from_ucs4_idx): Regenerate.
18908 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18909 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18910 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18911 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18912 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18913 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18914 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18915 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18916 from FROM_LOOP and TO_LOOP specific macros.
18917 (BODY): Handle combining characters.
18918 * iconvdata/BIG5HKSCS.irreversible: Update.
18919 * iconvdata/BIG5HKSCS.precomposed: New file.
18920 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18922 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18924 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18926 * include/sys/time.h: Fix indentation and add copyright header.
18928 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18929 (do_test): Likewise.
18930 * string/test-memchr.c (do_one_test): Likewise.
18931 (do_test): Likewise.
18932 * string/test-memcmp.c (do_one_test): Likewise.
18933 (do_test): Likewise.
18934 * string/test-memcpy.c (do_one_test): Likewise.
18935 (do_test): Likewise.
18936 * string/test-memmem.c (do_one_test): Likewise.
18937 (do_test): Likewise.
18938 (do_random_tests): Likewise.
18939 * string/test-memmove.c (do_one_test): Likewise.
18940 (do_test): Likewise.
18941 * string/test-memset.c (do_one_test): Likewise.
18942 (do_test): Likewise.
18943 * string/test-rawmemchr.c (do_one_test): Likewise.
18944 (do_test): Likewise.
18945 * string/test-strcasecmp.c (do_one_test): Likewise.
18946 (do_test): Likewise.
18947 * string/test-strcasestr.c (do_one_test): Likewise.
18948 (do_test): Likewise.
18949 * string/test-strcat.c (do_one_test): Likewise.
18950 (do_test): Likewise.
18951 * string/test-strchr.c (do_one_test): Likewise.
18952 (do_test): Likewise.
18953 * string/test-strcmp.c (do_one_test): Likewise.
18954 (do_test): Likewise.
18955 * string/test-strcpy.c (do_one_test): Likewise.
18956 (do_test): Likewise.
18957 * string/test-string.h: Likewise.
18958 (test_init): Likewise.
18959 * string/test-strlen.c (do_one_test): Likewise.
18960 (do_test): Likewise.
18961 * string/test-strncasecmp.c (do_one_test): Likewise.
18962 (do_test): Likewise.
18963 * string/test-strncat.c (do_one_test): Likewise.
18964 (do_test): Likewise.
18965 * string/test-strncmp.c (do_one_test): Likewise.
18966 (do_test_limit): Likewise.
18967 (do_test): Likewise.
18968 * string/test-strncpy.c (do_one_test): Likewise.
18969 (do_test): Likewise.
18970 * string/test-strnlen.c (do_one_test): Likewise.
18971 (do_test): Likewise.
18972 * string/test-strpbrk.c (do_one_test): Likewise.
18973 (do_test): Likewise.
18974 * string/test-strrchr.c (do_one_test): Likewise.
18975 (do_test): Likewise.
18976 * string/test-strspn.c (do_one_test): Likewise.
18977 (do_test): Likewise.
18978 * string/test-strstr.c (do_one_test): Likewise.
18979 (do_test): Likewise.
18981 * benchtests/Makefile (string-bench): Add string benchmarks.
18982 * benchtests/bench-bcopy-ifunc.c: New file.
18983 * benchtests/bench-bcopy.c: New file.
18984 * benchtests/bench-bzero-ifunc.c: New file.
18985 * benchtests/bench-bzero.c: New file.
18986 * benchtests/bench-memccpy-ifunc.c: New file.
18987 * benchtests/bench-memccpy.c: New file.
18988 * benchtests/bench-memchr-ifunc.c: New file.
18989 * benchtests/bench-memchr.c: New file.
18990 * benchtests/bench-memcmp-ifunc.c: New file.
18991 * benchtests/bench-memcmp.c: New file.
18992 * benchtests/bench-memmem-ifunc.c: New file.
18993 * benchtests/bench-memmem.c: New file.
18994 * benchtests/bench-memmove-ifunc.c: New file.
18995 * benchtests/bench-memmove.c: New file.
18996 * benchtests/bench-mempcpy-ifunc.c: New file.
18997 * benchtests/bench-mempcpy.c: New file.
18998 * benchtests/bench-memset-ifunc.c: New file.
18999 * benchtests/bench-memset.c: New file.
19000 * benchtests/bench-rawmemchr-ifunc.c: New file.
19001 * benchtests/bench-rawmemchr.c: New file.
19002 * benchtests/bench-stpcpy-ifunc.c: New file.
19003 * benchtests/bench-stpcpy.c: New file.
19004 * benchtests/bench-stpncpy-ifunc.c: New file.
19005 * benchtests/bench-stpncpy.c: New file.
19006 * benchtests/bench-strcasecmp-ifunc.c: New file.
19007 * benchtests/bench-strcasecmp.c: New file.
19008 * benchtests/bench-strcasestr-ifunc.c: New file.
19009 * benchtests/bench-strcasestr.c: New file.
19010 * benchtests/bench-strcat-ifunc.c: New file.
19011 * benchtests/bench-strcat.c: New file.
19012 * benchtests/bench-strchr-ifunc.c: New file.
19013 * benchtests/bench-strchr.c: New file.
19014 * benchtests/bench-strchrnul-ifunc.c: New file.
19015 * benchtests/bench-strchrnul.c: New file.
19016 * benchtests/bench-strcmp-ifunc.c: New file.
19017 * benchtests/bench-strcmp.c: New file.
19018 * benchtests/bench-strcpy-ifunc.c: New file.
19019 * benchtests/bench-strcpy.c: New file.
19020 * benchtests/bench-strcspn-ifunc.c: New file.
19021 * benchtests/bench-strcspn.c: New file.
19022 * benchtests/bench-strlen-ifunc.c: New file.
19023 * benchtests/bench-strlen.c: New file.
19024 * benchtests/bench-strncasecmp-ifunc.c: New file.
19025 * benchtests/bench-strncasecmp.c: New file.
19026 * benchtests/bench-strncat-ifunc.c: New file.
19027 * benchtests/bench-strncat.c: New file.
19028 * benchtests/bench-strncmp-ifunc.c: New file.
19029 * benchtests/bench-strncmp.c: New file.
19030 * benchtests/bench-strncpy-ifunc.c: New file.
19031 * benchtests/bench-strncpy.c: New file.
19032 * benchtests/bench-strnlen-ifunc.c: New file.
19033 * benchtests/bench-strnlen.c: New file.
19034 * benchtests/bench-strpbrk-ifunc.c: New file.
19035 * benchtests/bench-strpbrk.c: New file.
19036 * benchtests/bench-strrchr-ifunc.c: New file.
19037 * benchtests/bench-strrchr.c: New file.
19038 * benchtests/bench-strspn-ifunc.c: New file.
19039 * benchtests/bench-strspn.c: New file.
19040 * benchtests/bench-strstr-ifunc.c: New file.
19041 * benchtests/bench-strstr.c: New file.
19043 * benchtests/Makefile: Disable parallel execution of targets.
19044 (string-bench): Add memcpy.
19045 (benchset): New variable to store a list of benchmark sets.
19046 (bench-func): Renamed from bench.
19047 (bench-set): New target.
19048 (bench): Depend on bench-func and bench-set.
19049 * benchtests/README: Add section on benchmark sets.
19050 * benchtests/bench-memcpy-ifunc.c: New file.
19051 * benchtests/bench-memcpy.c: New file.
19052 * benchtests/bench-string.h: New file.
19054 2013-06-11 Andreas Schwab <schwab@suse.de>
19057 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19058 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19059 values in the triple.
19060 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19061 terminator in the group key.
19063 2013-06-11 Andreas Jaeger <aj@suse.de>
19065 * po/zh_TW.po: Update Chinese (traditional) translation from
19066 translation project.
19068 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19070 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19071 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19072 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19074 (clock_getcpuclockid): Likewise.
19075 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19076 Add weak_alias and libc_hidden_def.
19077 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19078 * rt/clock_gettime.c (clock_gettime): Rename to
19079 __clock_gettime. Add weak_alias and libc_hidden_def.
19080 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19081 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19082 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19083 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19084 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19086 * rt/clock_settime.c (clock_settime): Rename to
19087 __clock_settime. Add weak_alias and libc_hidden_def.
19088 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19090 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19092 * mach/err_boot.sub: Remove trailing whitespace.
19093 * mach/err_ipc.sub: Likewise.
19094 * mach/err_mach.sub: Likewise.
19096 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19097 (ROUNDING_TESTS_double): Likewise.
19098 (ROUNDING_TESTS_long_double): Likewise.
19099 (ROUNDING_TESTS): Likewise.
19100 * math/libm-test.inc: Include <math-tests.h>.
19101 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19102 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19103 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19104 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19106 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19108 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19111 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19113 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19114 otherwise empty TRANS lines.
19115 * sysdeps/gnu/errlist.c: Regenerated.
19117 * catgets/gencat.c (error_print): Use (void) in function
19119 * crypt/crypt_util.c (__init_des): Likewise.
19120 * crypt/speeds.c (Stop): Likewise.
19122 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19123 * inet/ruserpass.c (token): Likewise.
19124 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19125 * intl/localealias.c (extend_alias_table): Likewise.
19126 * intl/plural-exp.c (init_germanic_plural): Likewise.
19127 * libio/fcloseall.c (__fcloseall): Likewise.
19128 * libio/genops.c (_IO_flush_all): Likewise.
19129 (_IO_flush_all_linebuffered): Likewise.
19130 (_IO_cleanup): Likewise.
19131 (_IO_iter_begin): Likewise.
19132 (_IO_iter_end): Likewise.
19133 (_IO_list_lock): Likewise.
19134 (_IO_list_unlock): Likewise.
19135 (_IO_list_resetlock): Likewise.
19136 * libio/getchar.c (getchar): Likewise.
19137 * libio/getchar_u.c (getchar_unlocked): Likewise.
19138 * libio/getwchar.c (getwchar): Likewise.
19139 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19140 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19141 * login/getpt.c (__getpt): Likewise.
19142 * login/tst-utmp.c (main): Likewise.
19143 * malloc/hooks.c (__malloc_check_init): Likewise.
19144 * malloc/malloc.c (__malloc_stats): Likewise.
19145 * malloc/mtrace.c (tr_break): Likewise.
19146 (mtrace): Likewise.
19147 (muntrace): Likewise.
19148 * misc/fstab.c (endfsent): Likewise.
19149 * misc/getclktck.c (__getclktck): Likewise.
19150 * misc/getdtsz.c (__getdtablesize): Likewise.
19151 * misc/gethostid.c (gethostid): Likewise.
19152 * misc/getpagesize.c (__getpagesize): Likewise.
19153 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19154 (__get_nprocs): Likewise.
19155 (__get_phys_pages): Likewise.
19156 (__get_avphys_pages): Likewise.
19157 * misc/getttyent.c (getttyent): Likewise.
19158 (setttyent): Likewise.
19159 (endttyent): Likewise.
19160 * misc/getusershell.c (getusershell): Likewise.
19161 (endusershell): Likewise.
19162 (setusershell): Likewise.
19163 (initshells): Likewise.
19164 * misc/hsearch.c (__hdestroy): Likewise.
19165 * misc/sync.c (sync): Likewise.
19166 * misc/syslog.c (closelog_internal): Likewise.
19167 (closelog): Likewise.
19168 * misc/ttyslot.c (ttyslot): Likewise.
19169 * misc/vhangup.c (vhangup): Likewise.
19170 * posix/fork.c (__fork): Likewise.
19171 * posix/getegid.c (__getegid): Likewise.
19172 * posix/geteuid.c (__geteuid): Likewise.
19173 * posix/getgid.c (__getgid): Likewise.
19174 * posix/getpid.c (__getpid): Likewise.
19175 * posix/getppid.c (__getppid): Likewise.
19176 * posix/getuid.c (__getuid): Likewise.
19177 * posix/pause.c (pause): Likewise.
19178 * posix/setpgrp.c (setpgrp): Likewise.
19179 * posix/setsid.c (__setsid): Likewise.
19180 * posix/test-vfork.c (noop): Likewise.
19181 * resolv/gethnamaddr.c (_endhtent): Likewise.
19182 (_gethtent): Likewise.
19183 (ht_endhostent): Likewise.
19184 (gethostent): Likewise.
19185 (dns_service): Likewise.
19186 * stdlib/drand48.c (drand48): Likewise.
19187 * stdlib/lrand48.c (lrand48): Likewise.
19188 * stdlib/mrand48.c (mrand48): Likewise.
19189 * stdlib/rand.c (rand): Likewise.
19190 * stdlib/random.c (__random): Likewise.
19191 * stdlib/setenv.c (clearenv): Likewise.
19192 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19193 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19194 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19195 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19196 (__get_nprocs): Likewise.
19197 (__get_phys_pages): Likewise.
19198 (__get_avphys_pages): Likewise.
19199 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19200 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19201 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19202 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19203 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19204 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19205 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19206 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19207 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19208 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19209 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19210 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19211 * sysdeps/posix/clock.c (clock): Likewise.
19212 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19213 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19214 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19215 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19216 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19218 (__get_nprocs_conf): Likewise.
19219 (__get_phys_pages): Likewise.
19220 (__get_avphys_pages): Likewise.
19221 * time/clock.c (clock): Likewise.
19222 * time/tzset.c (__tzname_max): Likewise.
19224 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19226 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19227 (__bswap_32): Do not use "register".
19228 * crypt/crypt.c (_ufc_doit_r): Likewise.
19229 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19230 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19231 * gmon/gmon.c (__monstartup): Likewise.
19232 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19233 * hurd/hurdmalloc.c (more_memory): Likewise.
19234 (malloc): Likewise.
19236 (realloc): Likewise.
19237 (malloc_fork_prepare): Likewise.
19238 (malloc_fork_parent): Likewise.
19239 (malloc_fork_child): Likewise.
19240 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19241 (_svcauth_des): Likewise.
19242 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19243 * inet/inet_net.c (inet_network): Likewise.
19244 * inet/inet_netof.c (inet_netof): Likewise.
19245 * inet/rcmd.c (__validuser2_sa): Likewise.
19246 * io/fts.c (fts_open): Likewise.
19247 (fts_load): Likewise.
19248 (fts_close): Likewise.
19249 (fts_read): Likewise.
19250 (fts_children): Likewise.
19251 (fts_build): Likewise.
19252 (fts_stat): Likewise.
19253 (fts_sort): Likewise.
19254 (fts_alloc): Likewise.
19255 (fts_lfree): Likewise.
19256 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19257 (_IO_file_xsgetn): Likewise.
19258 (_IO_file_xsgetn_mmap): Likewise.
19259 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19260 (_IO_cookie_write): Likewise.
19261 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19262 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19263 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19264 * malloc/obstack.c (_obstack_begin): Likewise.
19265 (_obstack_begin_1): Likewise.
19266 (_obstack_newchunk): Likewise.
19267 (_obstack_allocated_p): Likewise.
19268 (obstack_free): Likewise.
19269 (_obstack_memory_used): Likewise.
19270 * misc/getttyent.c (getttynam): Likewise.
19271 (getttyent): Likewise.
19274 * misc/getusershell.c (initshells): Likewise.
19275 * misc/syslog.c (__vsyslog_chk): Likewise.
19276 * misc/ttyslot.c (ttyslot): Likewise.
19277 * nis/nis_hash.c (__nis_hash): Likewise.
19278 * posix/fnmatch_loop.c (FCT): Likewise.
19279 * posix/getconf.c (print_all): Likewise.
19281 * posix/getopt.c (exchange): Likewise.
19282 * posix/glob.c (globfree): Likewise.
19283 (prefix_array): Likewise.
19284 (__glob_pattern_type): Likewise.
19285 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19286 (NS_GET32): Likewise.
19287 (NS_PUT16): Likewise.
19288 (NS_PUT32): Likewise.
19289 * resolv/gethnamaddr.c (getanswer): Likewise.
19290 (gethostbyname2): Likewise.
19291 (gethostbyaddr): Likewise.
19292 (_gethtent): Likewise.
19293 (_gethtbyname2): Likewise.
19294 (_gethtbyaddr): Likewise.
19295 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19296 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19297 * resolv/res_init.c (__res_vinit): Likewise.
19298 (net_mask): Likewise.
19299 * resolv/res_mkquery.c (outchar): Likewise.
19301 * stdio-common/printf_fp.c (outchar): Likewise.
19303 * stdio-common/printf_fphex.c (outchar): Likewise.
19305 * stdio-common/printf_size.c (outchar): Likewise.
19307 * stdio-common/test_rdwr.c (main): Likewise.
19308 * stdio-common/tfformat.c (matches): Likewise.
19309 * stdio-common/vfprintf.c (outchar): Likewise.
19310 (printf_unknown): Likewise.
19311 (buffered_vfprintf): Likewise.
19312 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19313 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19314 (ReadFile): Likewise.
19315 * stdlib/qsort.c (SWAP): Likewise.
19316 (_quicksort): Likewise.
19317 * stdlib/setenv.c (__add_to_environ): Likewise.
19318 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19319 * stdlib/strtol_l.c (__strtol_l): Likewise.
19320 * stdlib/tst-strtod.c (main): Likewise.
19321 * stdlib/tst-strtol.c (main): Likewise.
19322 * stdlib/tst-strtoll.c (main): Likewise.
19323 * string/bits/string2.h (__strcmp_cc): Likewise.
19324 (__strcmp_cg): Likewise.
19325 (__strcspn_c1): Likewise.
19326 (__strcspn_c2): Likewise.
19327 (__strcspn_c3): Likewise.
19328 (__strspn_c1): Likewise.
19329 (__strspn_c2): Likewise.
19330 (__strspn_c3): Likewise.
19331 (__strsep_1c): Likewise.
19332 (__strsep_2c): Likewise.
19333 (__strsep_3c): Likewise.
19334 * string/memccpy.c (__memccpy): Likewise.
19335 * string/stpcpy.c (__stpcpy): Likewise.
19336 * string/strcmp.c (strcmp): Likewise.
19337 * string/strrchr.c (strrchr): Likewise.
19338 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19340 * sysdeps/mach/hurd/getcwd.c
19341 (_hurd_canonicalize_directory_name_internal): Likewise.
19342 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19343 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19344 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19345 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19346 Likewise, in both definitions.
19347 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19349 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19350 64] (__bswap_64): Likewise.
19351 * time/test_time.c (main): Likewise.
19352 * time/tzfile.c (__tzfile_read): Likewise.
19353 (__tzfile_compute): Likewise.
19354 * time/tzset.c (__tzset_parse_tz): Likewise.
19355 (tzset_internal): Likewise.
19356 (compute_change): Likewise.
19357 * wcsmbs/wcscat.c (__wcscat): Likewise.
19358 * wcsmbs/wcschr.c (wcschr): Likewise.
19359 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19360 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19361 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19362 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19363 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19364 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19365 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19366 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19367 * wcsmbs/wmemset.c (wmemset): Likewise.
19369 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19371 * scripts/config.guess: Update to version 2013-05-16.
19372 * scripts/config.sub: Update to version 2013-04-24.
19373 * scripts/install-sh: Update to version 2011-11-20.07.
19374 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19375 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19377 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19379 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19380 * elf/sln.c: Likewise.
19381 * hurd/hurd/ioctl.h: Likewise.
19382 * hurd/hurdmalloc.c: Likewise.
19383 * hurd/xattr.c: Likewise.
19384 * include/shlib-compat.h: Likewise.
19385 * inet/ruserpass.c: Likewise.
19386 * libio/iofgets_u.c: Likewise.
19387 * libio/iofgetws_u.c: Likewise.
19388 * locale/programs/ld-identification.c: Likewise.
19389 * locale/programs/ld-time.c: Likewise.
19390 * mach/msg-destroy.c: Likewise.
19391 * nss/nss_files/files-netgrp.c: Likewise.
19392 * resolv/res_data.c: Likewise.
19393 * soft-fp/op-1.h: Likewise.
19394 * soft-fp/op-2.h: Likewise.
19395 * soft-fp/op-4.h: Likewise.
19396 * soft-fp/op-common.h: Likewise.
19397 * stdio-common/printf_fphex.c: Likewise.
19398 * stdlib/strtod_l.c: Likewise.
19399 * sunrpc/rpc/clnt.h: Likewise.
19400 * sysdeps/generic/framestate.c: Likewise.
19401 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19402 * sysdeps/i386/bsd-setjmp.S: Likewise.
19403 * sysdeps/i386/__longjmp.S: Likewise.
19404 * sysdeps/i386/setjmp.S: Likewise.
19405 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19406 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19407 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19408 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19410 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19414 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19415 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19416 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19417 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19420 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19421 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19422 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19423 * sysdeps/ieee754/support.c: Likewise.
19424 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19425 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19426 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19427 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19428 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19429 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19430 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19431 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19432 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19433 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19434 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19435 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19436 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19437 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19438 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19439 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19440 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19443 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19445 * posix/transbug.c: Remove executable mode.
19447 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19449 * crypt/speeds.c: Remove trailing whitespace.
19450 * dlfcn/default.c: Likewise.
19451 * elf/ifuncdep2.c: Likewise.
19452 * elf/ifuncmain1.c: Likewise.
19453 * elf/ifuncmain1vis.c: Likewise.
19454 * elf/testobj.h: Likewise.
19455 * elf/tst-stackguard1.c: Likewise.
19456 * gmon/sys/gmon.h: Likewise.
19457 * hurd/hurdmsg.c: Likewise.
19458 * hurd/new-fd.c: Likewise.
19459 * hurd/ports-get.c: Likewise.
19460 * iconvdata/ibm1008_420.c: Likewise.
19461 * inet/tst-getni1.c: Likewise.
19462 * inet/tst-getni2.c: Likewise.
19463 * libio/ioungetc.c: Likewise.
19464 * libio/wfiledoalloc.c: Likewise.
19465 * manual/libm-err-tab.pl: Likewise.
19466 * math/w_dremf.c: Likewise.
19467 * misc/ftruncate.c: Likewise.
19468 * posix/bug-glob2.c: Likewise.
19469 * posix/tst-pcre.c: Likewise.
19470 * posix/wait4.c: Likewise.
19471 * resolv/README: Likewise.
19472 * resolv/res_debug.h: Likewise.
19473 * resolv/tst-inet_ntop.c: Likewise.
19474 * setjmp/bug269-setjmp.c: Likewise.
19475 * soft-fp/extended.h: Likewise.
19476 * soft-fp/op-1.h: Likewise.
19477 * soft-fp/op-2.h: Likewise.
19478 * soft-fp/op-4.h: Likewise.
19479 * soft-fp/op-8.h: Likewise.
19480 * soft-fp/testit.c: Likewise.
19481 * stdio-common/bug16.c: Likewise.
19482 * stdlib/random.c: Likewise.
19483 * sunrpc/rpcsvc/rquota.x: Likewise.
19484 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19485 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19487 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19488 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19489 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19490 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19491 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19492 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19493 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19494 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19511 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19513 * sysdeps/ieee754/s_lib_version.c: Likewise.
19514 * sysdeps/mach/hurd/check_fds.c: Likewise.
19515 * sysdeps/mach/hurd/getsockname.c: Likewise.
19516 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19517 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19518 * sysdeps/powerpc/bits/link.h: Likewise.
19519 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19520 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19521 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19522 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19523 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19524 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19525 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19526 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19527 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19528 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19529 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19530 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19531 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19532 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19533 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19534 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19535 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19536 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19537 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19538 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19539 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19540 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19542 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19543 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19544 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19545 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19546 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19547 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19548 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19549 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19550 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19551 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19552 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19553 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19554 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19555 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19556 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19557 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19558 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19559 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19560 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19561 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19562 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19563 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19564 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19565 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19566 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19567 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19568 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19569 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19570 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19571 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19572 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19573 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19574 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19575 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19576 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19577 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19578 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19579 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19580 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19581 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19582 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19583 * sysdeps/powerpc/sysdep.h: Likewise.
19584 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19585 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19586 * sysdeps/sh/dl-trampoline.S: Likewise.
19587 * sysdeps/sh/memset.S: Likewise.
19588 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19589 * sysdeps/sh/strlen.S: Likewise.
19590 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19591 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19592 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19593 * sysdeps/sparc/sparc32/rem.S: Likewise.
19594 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19595 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19596 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19597 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19598 * sysdeps/sparc/sparc32/urem.S: Likewise.
19599 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19600 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19601 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19602 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19603 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19604 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19605 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19606 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19607 * sysdeps/unix/bsd/times.c: Likewise.
19608 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19609 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19613 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19614 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19615 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19616 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19617 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19618 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19619 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19620 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19621 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19622 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19623 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19624 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19625 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19626 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19627 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19628 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19629 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19630 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19631 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19632 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19633 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19634 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19636 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19637 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19638 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19639 * sysdeps/x86_64/strcspn.S: Likewise.
19641 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19643 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19644 generated file. Regenerate properly from gen-translit.pl.
19645 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19646 locale/C-translit.h.
19648 2013-06-05 Andreas Schwab <schwab@suse.de>
19651 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19652 week as 6 instead of -1.
19653 * time/tst-strptime.c (day_tests): Add test case.
19655 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19657 * sysdeps/generic/math_private.h
19658 (libc_feholdexcept_setround_53bit): Replace with
19659 libc_feholdsetround_53bit.
19660 (libc_feupdateenv_53bit): Replace with
19661 libc_feresetround_53bit.
19662 (SET_RESTORE_ROUND_53BIT): Adjust.
19664 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19666 * string/test-strchrnul.c: Add copyright header.
19668 * posix/tst-getaddrinfo4.c: Increase test timeout.
19670 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19673 * math/libm-test.inc (MAX_EXP): Remove
19675 (ulp): Use MIN_EXP - MANT_DIG.
19676 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19678 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19680 * po/be.po: Revert last change.
19681 * po/zh_CN.po: Likewise.
19682 * po/header.pot: Likewise.
19684 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19686 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19687 link-libc-deps to empty as target-specific variable.
19688 * Makerules (link-libc-args): New variable.
19689 (libc-for-link): Likewise.
19690 (link-libc-deps): Likewise.
19691 (lib%.so): Depend on $(link-libc-deps). Link with
19693 (build-module): Link with $(link-libc-args).
19694 (build-module-asneeded): Likewise.
19695 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19697 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19698 target-specific variable.
19699 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19700 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19701 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19703 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19705 ($(objpfx)libpcprofile.so): Likewise.
19706 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19708 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19709 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19710 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19712 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19713 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19714 * login/Makefile ($(objpfx)libutil.so): Likewise.
19715 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19716 * math/Makefile ($(objpfx)libm.so): Likewise.
19717 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19718 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19719 variable instead of depending directly on libc.
19720 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19721 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19723 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19725 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19726 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19727 ($(objpfx)libanl.so): Likewise.
19728 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19730 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19732 * sysdeps/i386/fpu/Makefile: Remove file.
19733 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19734 ($(objpfx)libm.so): Remove dependency on ld.so.
19736 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19739 * nis/yp_xdr.c (XDRMAXNAME): Define.
19740 (XDRMAXRECORD): Define.
19741 (xdr_domainname): Use XDRMAXNAME.
19742 (xdr_mapname): Likewise.
19743 (xdr_peername): Likewise.
19744 (xdr_keydat): Use XDRMAXRECORD.
19745 (xdr_valdat): Likewise.
19747 2013-05-30 Jeff Law <law@redhat.com>
19750 * manual/errno.texi (ESTALE): Update to account for more than
19751 just NFS file systems.
19752 * sysdeps/gnu/errlist.c: Regenerated.
19754 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19757 * elf/Makefile (tests): Add tst-null-argv.
19758 (modules-names): Add tst-null-argv-lib.
19759 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19760 (tst-null-argv-ENV): Set environment for tst-null-argv.
19761 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19762 (RTLD_PROGNAME): New macro.
19763 * elf/tst-null-argv.c: New test case.
19764 * elf/tst-null-argv-lib.c: Library for test case.
19765 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19766 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19767 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19768 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19769 * elf/dl-init.c (call_init): Likewise.
19770 (_dl_init): Likewise.
19771 * elf/dl-load.c (print_search_path): Likewise.
19772 (_dl_map_object): Likewise.
19773 * elf/dl-lookup.c (do_lookup_x): Likewise.
19774 (add_dependency): Likewise.
19775 (_dl_lookup_symbol_x): Likewise.
19776 (_dl_debug_bindings): Likewise.
19777 * elf/dl-open.c (_dl_show_scope): Likewise.
19778 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19779 * elf/dl-version.c (match_symbol): Likewise.
19780 (_dl_check_map_versions): Likewise.
19781 * elf/rtld.c (dl_main): Likewise.
19782 (print_unresolved): Use RTLD_PROGNAME.
19783 (print_missing_version): Likewise.
19784 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19785 (elf_machine_rela): Likewise.
19786 * sysdeps/powerpc/powerpc32/dl-machine.c
19787 (__process_machine_rela): Likewise.
19788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19790 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19792 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19794 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19797 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19801 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19803 * po/be.po: Add descriptive title.
19804 * po/zh_CN.po: Likewise.
19805 * po/header.pot: Likewise.
19807 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19809 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19811 (enlarge_archive): Likewise.
19813 2013-05-28 Ben North <ben@redfrontdoor.org>
19815 * manual/arith.texi (frexp): It is the magnitude of the return
19816 value which lies in [0.5, 1), not the return value itself.
19818 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19822 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19824 * stdio-common/bug26.c (main): Correct fscanf template.
19826 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19827 declare _dl_skip_args.
19829 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19832 * manual/platform.texi: Add missing @end deftypefun.
19834 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19837 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19838 bit of mantissa of 2^16382.
19839 * math/libm-test.inc (hypot_test_data): Add more tests.
19841 * math/libm-test.inc: Add drem and pow10 to list of tested
19843 (pow10_test): New function.
19844 (drem_test): Likewise.
19845 (drem_test_tonearest): Likewise.
19846 (drem_test_towardzero): Likewise.
19847 (drem_test_downward): Likewise.
19848 (drem_test_upward): Likewise.
19849 (main): Call the new functions.
19851 * math/libm-test.inc (finite_test_data): Remove.
19852 (finite_test): Run tests from isfinite_test_data.
19853 (gamma_test_data): Remove.
19854 (gamma_test): Run tests from lgamma_test_data.
19855 * sysdeps/i386/fpu/libm-test-ulps: Update.
19856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19858 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19860 * manual/platform.texi: Add PowerPC PPR function set documentation.
19861 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19864 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19866 * math/libm-test.inc (MAX_EXP): Define.
19868 (ulp): New function.
19869 (check_float_internal): Use ULPDIFF.
19870 (cpow_test): Disable failing test.
19871 (check_ulp): Test ulp() implemetnation.
19872 (main): Call check_ulp before starting tests.
19874 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19876 * math/gen-libm-test.pl (generate_testfile): Do not handle
19877 START_DATA and END_DATA.
19878 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19880 (acos_tonearest_test_data): Likewise.
19881 (acos_towardzero_test_data): Likewise.
19882 (acos_downward_test_data): Likewise.
19883 (acos_upward_test_data): Likewise.
19884 (acosh_test_data): Likewise.
19885 (asin_test_data): Likewise.
19886 (asin_tonearest_test_data): Likewise.
19887 (asin_towardzero_test_data): Likewise.
19888 (asin_downward_test_data): Likewise.
19889 (asin_upward_test_data): Likewise.
19890 (asinh_test_data): Likewise.
19891 (atan_test_data): Likewise.
19892 (atanh_test_data): Likewise.
19893 (atan2_test_data): Likewise.
19894 (cabs_test_data): Likewise.
19895 (cacos_test_data): Likewise.
19896 (cacosh_test_data): Likewise.
19897 (carg_test_data): Likewise.
19898 (casin_test_data): Likewise.
19899 (casinh_test_data): Likewise.
19900 (catan_test_data): Likewise.
19901 (catanh_test_data): Likewise.
19902 (cbrt_test_data): Likewise.
19903 (ccos_test_data): Likewise.
19904 (ccosh_test_data): Likewise.
19905 (ceil_test_data): Likewise.
19906 (cexp_test_data): Likewise.
19907 (cimag_test_data): Likewise.
19908 (clog_test_data): Likewise.
19909 (clog10_test_data): Likewise.
19910 (conj_test_data): Likewise.
19911 (copysign_test_data): Likewise.
19912 (cos_test_data): Likewise.
19913 (cos_tonearest_test_data): Likewise.
19914 (cos_towardzero_test_data): Likewise.
19915 (cos_downward_test_data): Likewise.
19916 (cos_upward_test_data): Likewise.
19917 (cosh_test_data): Likewise.
19918 (cosh_tonearest_test_data): Likewise.
19919 (cosh_towardzero_test_data): Likewise.
19920 (cosh_downward_test_data): Likewise.
19921 (cosh_upward_test_data): Likewise.
19922 (cpow_test_data): Likewise.
19923 (cproj_test_data): Likewise.
19924 (creal_test_data): Likewise.
19925 (csin_test_data): Likewise.
19926 (csinh_test_data): Likewise.
19927 (csqrt_test_data): Likewise.
19928 (ctan_test_data): Likewise.
19929 (ctan_tonearest_test_data): Likewise.
19930 (ctan_towardzero_test_data): Likewise.
19931 (ctan_downward_test_data): Likewise.
19932 (ctan_upward_test_data): Likewise.
19933 (ctanh_test_data): Likewise.
19934 (ctanh_tonearest_test_data): Likewise.
19935 (ctanh_towardzero_test_data): Likewise.
19936 (ctanh_downward_test_data): Likewise.
19937 (ctanh_upward_test_data): Likewise.
19938 (erf_test_data): Likewise.
19939 (erfc_test_data): Likewise.
19940 (exp_test_data): Likewise.
19941 (exp_tonearest_test_data): Likewise.
19942 (exp_towardzero_test_data): Likewise.
19943 (exp_downward_test_data): Likewise.
19944 (exp_upward_test_data): Likewise.
19945 (exp10_test_data): Likewise.
19946 (exp2_test_data): Likewise.
19947 (expm1_test_data): Likewise.
19948 (fabs_test_data): Likewise.
19949 (fdim_test_data): Likewise.
19950 (finite_test_data): Likewise.
19951 (floor_test_data): Likewise.
19952 (fma_test_data): Likewise.
19953 (fma_towardzero_test_data): Likewise.
19954 (fma_downward_test_data): Likewise.
19955 (fma_upward_test_data): Likewise.
19956 (fmax_test_data): Likewise.
19957 (fmin_test_data): Likewise.
19958 (fmod_test_data): Likewise.
19959 (fpclassify_test_data): Likewise.
19960 (frexp_test_data): Likewise.
19961 (gamma_test_data): Likewise.
19962 (hypot_test_data): Likewise.
19963 (ilogb_test_data): Likewise.
19964 (isfinite_test_data): Likewise.
19965 (isgreater_test_data): Likewise.
19966 (isgreaterequal_test_data): Likewise.
19967 (isinf_test_data): Likewise.
19968 (isless_test_data): Likewise.
19969 (islessequal_test_data): Likewise.
19970 (islessgreater_test_data): Likewise.
19971 (isnan_test_data): Likewise.
19972 (isnormal_test_data): Likewise.
19973 (issignaling_test_data): Likewise.
19974 (isunordered_test_data): Likewise.
19975 (j0_test_data): Likewise.
19976 (j1_test_data): Likewise.
19977 (jn_test_data): Likewise.
19978 (ldexp_test_data): Likewise.
19979 (lgamma_test_data): Likewise.
19980 (lrint_test_data): Likewise.
19981 (lrint_tonearest_test_data): Likewise.
19982 (lrint_towardzero_test_data): Likewise.
19983 (lrint_downward_test_data): Likewise.
19984 (lrint_upward_test_data): Likewise.
19985 (llrint_test_data): Likewise.
19986 (llrint_tonearest_test_data): Likewise.
19987 (llrint_towardzero_test_data): Likewise.
19988 (llrint_downward_test_data): Likewise.
19989 (llrint_upward_test_data): Likewise.
19990 (log_test_data): Likewise.
19991 (log10_test_data): Likewise.
19992 (log1p_test_data): Likewise.
19993 (log2_test_data): Likewise.
19994 (logb_test_data): Likewise.
19995 (logb_downward_test_data): Likewise.
19996 (lround_test_data): Likewise.
19997 (llround_test_data): Likewise.
19998 (modf_test_data): Likewise.
19999 (nearbyint_test_data): Likewise.
20000 (nextafter_test_data): Likewise.
20001 (nexttoward_test_data): Likewise.
20002 (pow_test_data): Likewise.
20003 (pow_tonearest_test_data): Likewise.
20004 (pow_towardzero_test_data): Likewise.
20005 (pow_downward_test_data): Likewise.
20006 (pow_upward_test_data): Likewise.
20007 (remainder_test_data): Likewise.
20008 (remainder_tonearest_test_data): Likewise.
20009 (remainder_towardzero_test_data): Likewise.
20010 (remainder_downward_test_data): Likewise.
20011 (remainder_upward_test_data): Likewise.
20012 (remquo_test_data): Likewise.
20013 (rint_test_data): Likewise.
20014 (rint_tonearest_test_data): Likewise.
20015 (rint_towardzero_test_data): Likewise.
20016 (rint_downward_test_data): Likewise.
20017 (rint_upward_test_data): Likewise.
20018 (round_test_data): Likewise.
20019 (scalb_test_data): Likewise.
20020 (scalbn_test_data): Likewise.
20021 (scalbln_test_data): Likewise.
20022 (signbit_test_data): Likewise.
20023 (sin_test_data): Likewise.
20024 (sin_tonearest_test_data): Likewise.
20025 (sin_towardzero_test_data): Likewise.
20026 (sin_downward_test_data): Likewise.
20027 (sin_upward_test_data): Likewise.
20028 (sincos_test_data): Likewise.
20029 (sinh_test_data): Likewise.
20030 (sinh_tonearest_test_data): Likewise.
20031 (sinh_towardzero_test_data): Likewise.
20032 (sinh_downward_test_data): Likewise.
20033 (sinh_upward_test_data): Likewise.
20034 (sqrt_test_data): Likewise.
20035 (tan_test_data): Likewise.
20036 (tan_tonearest_test_data): Likewise.
20037 (tan_towardzero_test_data): Likewise.
20038 (tan_downward_test_data): Likewise.
20039 (tan_upward_test_data): Likewise.
20040 (tanh_test_data): Likewise.
20041 (tgamma_test_data): Likewise.
20042 (trunc_test_data): Likewise.
20043 (y0_test_data): Likewise.
20044 (y1_test_data): Likewise.
20045 (yn_test_data): Likewise.
20046 (significand_test_data): Likewise.
20048 * math/gen-libm-test.pl (@functions): Remove variable.
20049 (generate_testfile): Don't handle START and END lines.
20050 * math/libm-test.inc (START): New macro.
20052 (END_COMPLEX): Likewise.
20053 (acos_test): Use END macro without arguments.
20054 (acos_test_tonearest): Likewise.
20055 (acos_test_towardzero): Likewise.
20056 (acos_test_downward): Likewise.
20057 (acos_test_upward): Likewise.
20058 (acosh_test): Likewise.
20059 (asin_test): Likewise.
20060 (asin_test_tonearest): Likewise.
20061 (asin_test_towardzero): Likewise.
20062 (asin_test_downward): Likewise.
20063 (asin_test_upward): Likewise.
20064 (asinh_test): Likewise.
20065 (atan_test): Likewise.
20066 (atanh_test): Likewise.
20067 (atan2_test): Likewise.
20068 (cabs_test): Likewise.
20069 (cacos_test): Use END_COMPLEX macro without arguments.
20070 (cacosh_test): Likewise.
20071 (carg_test): Use END macro without arguments.
20072 (casin_test): Use END_COMPLEX macro without arguments.
20073 (casinh_test): Likewise.
20074 (catan_test): Likewise.
20075 (catanh_test): Likewise.
20076 (cbrt_test): Use END macro without arguments.
20077 (ccos_test): Use END_COMPLEX macro without arguments.
20078 (ccosh_test): Likewise.
20079 (ceil_test): Use END macro without arguments.
20080 (cexp_test): Use END_COMPLEX macro without arguments.
20081 (cimag_test): Use END macro without arguments.
20082 (clog_test): Use END_COMPLEX macro without arguments.
20083 (clog10_test): Likewise.
20084 (conj_test): Likewise.
20085 (copysign_test): Use END macro without arguments.
20086 (cos_test): Likewise.
20087 (cos_test_tonearest): Likewise.
20088 (cos_test_towardzero): Likewise.
20089 (cos_test_downward): Likewise.
20090 (cos_test_upward): Likewise.
20091 (cosh_test): Likewise.
20092 (cosh_test_tonearest): Likewise.
20093 (cosh_test_towardzero): Likewise.
20094 (cosh_test_downward): Likewise.
20095 (cosh_test_upward): Likewise.
20096 (cpow_test): Use END_COMPLEX macro without arguments.
20097 (cproj_test): Likewise.
20098 (creal_test): Use END macro without arguments.
20099 (csin_test): Use END_COMPLEX macro without arguments.
20100 (csinh_test): Likewise.
20101 (csqrt_test): Likewise.
20102 (ctan_test): Likewise.
20103 (ctan_test_tonearest): Likewise.
20104 (ctan_test_towardzero): Likewise.
20105 (ctan_test_downward): Likewise.
20106 (ctan_test_upward): Likewise.
20107 (ctanh_test): Likewise.
20108 (ctanh_test_tonearest): Likewise.
20109 (ctanh_test_towardzero): Likewise.
20110 (ctanh_test_downward): Likewise.
20111 (ctanh_test_upward): Likewise.
20112 (erf_test): Use END macro without arguments.
20113 (erfc_test): Likewise.
20114 (exp_test): Likewise.
20115 (exp_test_tonearest): Likewise.
20116 (exp_test_towardzero): Likewise.
20117 (exp_test_downward): Likewise.
20118 (exp_test_upward): Likewise.
20119 (exp10_test): Likewise.
20120 (exp2_test): Likewise.
20121 (expm1_test): Likewise.
20122 (fabs_test): Likewise.
20123 (fdim_test): Likewise.
20124 (finite_test): Likewise.
20125 (floor_test): Likewise.
20126 (fma_test): Likewise.
20127 (fma_test_towardzero): Likewise.
20128 (fma_test_downward): Likewise.
20129 (fma_test_upward): Likewise.
20130 (fmax_test): Likewise.
20131 (fmin_test): Likewise.
20132 (fmod_test): Likewise.
20133 (fpclassify_test): Likewise.
20134 (frexp_test): Likewise.
20135 (gamma_test): Likewise.
20136 (hypot_test): Likewise.
20137 (ilogb_test): Likewise.
20138 (isfinite_test): Likewise.
20139 (isgreater_test): Likewise.
20140 (isgreaterequal_test): Likewise.
20141 (isinf_test): Likewise.
20142 (isless_test): Likewise.
20143 (islessequal_test): Likewise.
20144 (islessgreater_test): Likewise.
20145 (isnan_test): Likewise.
20146 (isnormal_test): Likewise.
20147 (issignaling_test): Likewise.
20148 (isunordered_test): Likewise.
20149 (j0_test): Likewise.
20150 (j1_test): Likewise.
20151 (jn_test): Likewise.
20152 (ldexp_test): Likewise.
20153 (lgamma_test): Likewise.
20154 (lrint_test): Likewise.
20155 (lrint_test_tonearest): Likewise.
20156 (lrint_test_towardzero): Likewise.
20157 (lrint_test_downward): Likewise.
20158 (lrint_test_upward): Likewise.
20159 (llrint_test): Likewise.
20160 (llrint_test_tonearest): Likewise.
20161 (llrint_test_towardzero): Likewise.
20162 (llrint_test_downward): Likewise.
20163 (llrint_test_upward): Likewise.
20164 (log_test): Likewise.
20165 (log10_test): Likewise.
20166 (log1p_test): Likewise.
20167 (log2_test): Likewise.
20168 (logb_test): Likewise.
20169 (logb_test_downward): Likewise.
20170 (lround_test): Likewise.
20171 (llround_test): Likewise.
20172 (modf_test): Likewise.
20173 (nearbyint_test): Likewise.
20174 (nextafter_test): Likewise.
20175 (nexttoward_test): Likewise.
20176 (pow_test): Likewise.
20177 (pow_test_tonearest): Likewise.
20178 (pow_test_towardzero): Likewise.
20179 (pow_test_downward): Likewise.
20180 (pow_test_upward): Likewise.
20181 (remainder_test): Likewise.
20182 (remainder_test_tonearest): Likewise.
20183 (remainder_test_towardzero): Likewise.
20184 (remainder_test_downward): Likewise.
20185 (remainder_test_upward): Likewise.
20186 (remquo_test): Likewise.
20187 (rint_test): Likewise.
20188 (rint_test_tonearest): Likewise.
20189 (rint_test_towardzero): Likewise.
20190 (rint_test_downward): Likewise.
20191 (rint_test_upward): Likewise.
20192 (round_test): Likewise.
20193 (scalb_test): Likewise.
20194 (scalbn_test): Likewise.
20195 (scalbln_test): Likewise.
20196 (signbit_test): Likewise.
20197 (sin_test): Likewise.
20198 (sin_test_tonearest): Likewise.
20199 (sin_test_towardzero): Likewise.
20200 (sin_test_downward): Likewise.
20201 (sin_test_upward): Likewise.
20202 (sincos_test): Likewise.
20203 (sinh_test): Likewise.
20204 (sinh_test_tonearest): Likewise.
20205 (sinh_test_towardzero): Likewise.
20206 (sinh_test_downward): Likewise.
20207 (sinh_test_upward): Likewise.
20208 (sqrt_test): Likewise.
20209 (tan_test): Likewise.
20210 (tan_test_tonearest): Likewise.
20211 (tan_test_towardzero): Likewise.
20212 (tan_test_downward): Likewise.
20213 (tan_test_upward): Likewise.
20214 (tanh_test): Likewise.
20215 (tgamma_test): Likewise.
20216 (trunc_test): Likewise.
20217 (y0_test): Likewise.
20218 (y1_test): Likewise.
20219 (yn_test): Likewise.
20220 (significand_test): Likewise.
20222 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20225 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20227 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20230 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20231 __ppc_mdoio and __ppc_mdoom.
20232 * manual/platform.texi: Document new functions __ppc_yield,
20233 __ppc_mdoio and __ppc_mdoom.
20235 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20237 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20238 (main): Mention "tls" pseudo-hwcap is legacy.
20239 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20241 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20243 * math/gen-libm-test.pl (parse_args): Output only string of
20244 arguments as text for test name, not full call or descriptions of
20245 tests for extra outputs.
20246 (generate_testfile): Do not pass function name to parse_args.
20247 Generate this_func variable from START.
20248 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20250 (struct test_ff_f_data): Likewise.
20251 (test_ff_f_data_nexttoward): Likewise.
20252 (struct test_fi_f_data): Likewise.
20253 (struct test_fl_f_data): Likewise.
20254 (struct test_if_f_data): Likewise.
20255 (struct test_fff_f_data): Likewise.
20256 (struct test_c_f_data): Likewise.
20257 (struct test_f_f1_data): Likewise. Remove field extra_name.
20258 (struct test_fF_f1_data): Likewise.
20259 (struct test_ffI_f1_data): Likewise.
20260 (struct test_c_c_data): Rename test_name field to arg_str.
20261 (struct test_cc_c_data): Likewise.
20262 (struct test_f_i_data): Likewise.
20263 (struct test_ff_i_data): Likewise.
20264 (struct test_f_l_data): Likewise.
20265 (struct test_f_L_data): Likewise.
20266 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20268 (COMMON_TEST_SETUP): New macro.
20269 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20270 (COMMON_TEST_CLEANUP): Likewise.
20271 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20272 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20274 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20275 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20277 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20278 (RUN_TEST_fff_f): Take argument string. Call new setup and
20280 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20281 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20283 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20284 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20286 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20287 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20289 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20290 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20292 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20293 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20295 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20296 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20298 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20299 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20301 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20302 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20304 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20305 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20307 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20308 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20310 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20311 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20313 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20314 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20316 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20317 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20319 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20320 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20322 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20323 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20325 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20327 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20329 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20330 to _sifields.sigfault.
20331 (si_addr_lsb): Define new macro.
20332 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20333 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20334 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20336 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20339 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20341 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20343 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20344 loading the domain.
20346 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20348 * math/gen-libm-test.pl (parse_args): Do not include expected
20349 result in test name.
20350 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20352 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20353 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20354 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20357 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20359 * benchtests/Makefile: Sort function entries.
20361 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20362 tanh, asinh, acosh, atanh.
20363 * benchtests/acos-inputs: New file.
20364 * benchtests/acosh-inputs: New file.
20365 * benchtests/asin-inputs: New file.
20366 * benchtests/asinh-inputs: New file.
20367 * benchtests/atanh-inputs: New file.
20368 * benchtests/cosh-inputs: New file.
20369 * benchtests/log-inputs: New file.
20370 * benchtests/sinh-inputs: New file.
20371 * benchtests/tanh-inputs: New file.
20373 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20376 * posix/tst-getaddrinfo4.c: New test.
20377 * posix/Makefile (tests): Add it.
20379 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20382 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20383 when no services were used.
20384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20385 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20387 2013-05-21 Andreas Schwab <schwab@suse.de>
20390 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20391 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20393 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20394 redundant variable declarations and reallocation of buffer when
20395 parsing as IPv6 address. Always set NSS status when called from
20396 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20397 buffer too small. Correct computation of needed size.
20398 * nss/Makefile (tests): Add test-digits-dots.
20399 * nss/test-digits-dots.c: New test.
20401 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20403 * benchtests/Makefile: Remove instructions for adding
20405 * benchtests/README: New file to explain how to execute and
20406 enhance the benchmark tests.
20408 2013-05-21 Andreas Schwab <schwab@suse.de>
20411 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20412 * setjmp/tst-sigsetjmp.c: New test.
20414 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20416 * sysdeps/x86_64/memset.S (memset): New implementation.
20417 (__bzero): Likewise.
20418 (__memset_tail): New function.
20420 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20422 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20423 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20424 __memcpy_sse2_unaligned ifunc selection.
20425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20426 Add memcpy-sse2-unaligned.S.
20427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20428 Add: __memcpy_sse2_unaligned.
20430 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20433 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20434 math_force_eval before restoring floating-point envrionment.
20435 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20436 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20438 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20440 (__nearbyintl): Use math_force_eval before restoring
20441 floating-point environment.
20442 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20444 * math/gen-libm-test.pl (special_functions): Remove.
20445 (parse_args): Don't handle TEST_extra. Handle functions with no
20447 * math/libm-test.inc (struct test_sincos_data): Replace with
20448 struct test_fFF_11_data.
20449 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20450 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20451 (sincos_test_data): Change element type to struct
20452 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20453 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20454 RUN_TEST_LOOP_sincos.
20455 * math/README.libm-test: Don't mention special handling of
20456 individual functions.
20457 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20459 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20460 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20461 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20464 * math/gen-libm-test.pl (get_variable): Remove function.
20465 (parse_args): Don't show pointer parameters to call in test
20466 names. Use "extra output N" in test names for extra outputs
20467 rather than naming variables.
20469 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20472 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20473 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20474 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20476 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20478 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20481 * math/gen-libm-test.pl (@tests): Remove variable.
20482 ($count): Likewise.
20483 (new_test): Remove function.
20484 (show_exceptions): New function.
20485 (special_functions): Use show_exceptions instead of new_test.
20486 (parse_args): Likewise.
20487 (generate_testfile): Pass only function name in generated call to
20488 print_max_error or print_complex_max_error.
20489 (get_ulps): Do not handle complex tests specially.
20490 (output_test): Rename to ...
20491 (get_all_ulps_for_test): ... this. Return a string rather than
20492 printing to a file. Require ulps to be present.
20493 (output_ulps): Generate arrays rather than #defines.
20494 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20495 (struct ulp_data): New type.
20496 (BUILD_COMPLEX_ULP): Remove macro.
20497 (compare_ulp_data): New function.
20498 (find_ulps): Likewise.
20499 (find_test_ulps): Likewise.
20500 (find_function_ulps): Likewise.
20501 (find_complex_function_ulps): Likewise.
20502 (print_max_error): Determine allowed ulps using
20503 find_function_ulps.
20504 (print_complex_max_error): Determine allowed ulps using
20505 find_complex_function_ulps.
20506 (check_float_internal): Determine max ulps using find_test_ulps.
20507 (check_float): Do not take max_ulp parameter. Update call to
20508 check_float_internal.
20509 (check_complex): Likewise.
20510 (check_int): Do not take max_ulp parameter.
20511 (check_long): Likewise.
20512 (check_bool): Likewise.
20513 (check_longlong): Likewise.
20514 (struct test_f_f_data): Remove max_ulp field.
20515 (struct test_ff_f_data): Likewise.
20516 (struct test_ff_f_data_nexttoward): Likewise.
20517 (struct test_fi_f_data): Likewise.
20518 (struct test_fl_f_data): Likewise.
20519 (struct test_if_f_data): Likewise.
20520 (struct test_fff_f_data): Likewise.
20521 (struct test_c_f_data): Likewise.
20522 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20523 (struct test_fF_f1_data): Likewise.
20524 (struct test_ffI_f1_data): Likewise.
20525 (struct test_c_c_data): Remove max_ulp field.
20526 (struct test_cc_c_data): Likewise.
20527 (struct test_f_i_data): Likewise.
20528 (struct test_ff_i_data): Likewise.
20529 (struct test_f_l_data): Likewise.
20530 (struct test_f_L_data): Likewise.
20531 (struct test_sincos_data): Likewise.
20532 (RUN_TEST_f_f): Do not handle ulps.
20533 (RUN_TEST_LOOP_f_f): Likewise.
20534 (RUN_TEST_2_f): Likewise.
20535 (RUN_TEST_LOOP_2_f): Likewise.
20536 (RUN_TEST_fff_f): Likewise.
20537 (RUN_TEST_LOOP_fff_f): Likewise.
20538 (RUN_TEST_c_f): Likewise.
20539 (RUN_TEST_LOOP_c_f): Likewise.
20540 (RUN_TEST_f_f1): Likewise.
20541 (RUN_TEST_LOOP_f_f1): Likewise.
20542 (RUN_TEST_fF_f1): Likewise.
20543 (RUN_TEST_LOOP_fF_f1): Likewise.
20544 (RUN_TEST_fI_f1): Likewise.
20545 (RUN_TEST_LOOP_fI_f1): Likewise.
20546 (RUN_TEST_ffI_f1): Likewise.
20547 (RUN_TEST_LOOP_ffI_f1): Likewise.
20548 (RUN_TEST_c_c): Likewise.
20549 (RUN_TEST_LOOP_c_c): Likewise.
20550 (RUN_TEST_cc_c): Likewise.
20551 (RUN_TEST_LOOP_cc_c): Likewise.
20552 (RUN_TEST_f_i): Likewise.
20553 (RUN_TEST_LOOP_f_i): Likewise.
20554 (RUN_TEST_f_i_tg): Likewise.
20555 (RUN_TEST_LOOP_f_i_tg): Likewise.
20556 (RUN_TEST_ff_i_tg): Likewise.
20557 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20558 (RUN_TEST_f_b): Likewise.
20559 (RUN_TEST_LOOP_f_b): Likewise.
20560 (RUN_TEST_f_b_tg): Likewise.
20561 (RUN_TEST_LOOP_f_b_tg): Likewise.
20562 (RUN_TEST_f_l): Likewise.
20563 (RUN_TEST_LOOP_f_l): Likewise.
20564 (RUN_TEST_f_L): Likewise.
20565 (RUN_TEST_LOOP_f_L): Likewise.
20566 (RUN_TEST_sincos): Likewise.
20567 (RUN_TEST_LOOP_sincos): Likewise.
20569 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20573 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20574 main case of finite arguments, set rounding mode to FE_TONEAREST
20575 and discard exceptions.
20576 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20578 (remainder_tonearest_test_data): New variable.
20579 (remainder_test_tonearest): New function.
20580 (remainder_towardzero_test_data): New variable.
20581 (remainder_test_towardzero): New function.
20582 (remainder_downward_test_data): New variable.
20583 (remainder_test_downward): New function.
20584 (remainder_upward_test_data): New variable.
20585 (remainder_test_upward): New function.
20586 (main): Call the new test functions.
20588 * math/libm-test.inc (struct test_f_f1_data): Remove field
20590 (struct test_fF_f1_data): Likewise.
20591 (struct test_ffI_f1_data): Likewise.
20592 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20593 based on value of EXTRA_EXPECTED.
20594 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20595 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20596 EXTRA_VAR based on value of EXTRA_EXPECTED.
20597 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20598 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20599 EXTRA_VAR based on value of EXTRA_EXPECTED.
20600 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20601 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20602 EXTRA_VAR based on value of EXTRA_EXPECTED.
20603 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20604 * math/gen-libm-test.pl (parse_args): Don't output initializers
20605 for extra output values.
20607 * math/libm-test.inc (check_int): Expect result to be exactly
20608 equal to expected value and do not handle ulps.
20609 (check_long): Likewise.
20610 (check_longlong): Likewise.
20612 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20614 (cimag_test_data): Likewise.
20615 (conj_test_data): Likewise.
20616 (copysign_test_data): Likewise.
20617 (cproj_test_data): Likewise.
20618 (creal_test_data): Likewise.
20619 (fabs_test_data): Likewise.
20620 (fdim_test_data): Likewise.
20621 (finite_test_data): Likewise.
20622 (floor_test_data): Likewise.
20623 (fmax_test_data): Likewise.
20624 (fmin_test_data): Likewise.
20625 (fmod_test_data): Likewise.
20626 (fpclassify_test_data): Likewise.
20627 (frexp_test_data): Likewise.
20628 (ilogb_test_data): Likewise.
20629 (isfinite_test_data): Likewise.
20630 (isgreater_test_data): Likewise.
20631 (isgreaterequal_test_data): Likewise.
20632 (isinf_test_data): Likewise.
20633 (isless_test_data): Likewise.
20634 (islessequal_test_data): Likewise.
20635 (islessgreater_test_data): Likewise.
20636 (isnan_test_data): Likewise.
20637 (isnormal_test_data): Likewise.
20638 (issignaling_test_data): Likewise.
20639 (isunordered_test_data): Likewise.
20640 (ldexp_test_data): Likewise.
20641 (lrint_test_data): Likewise.
20642 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20643 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20644 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20645 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20646 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20647 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20649 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20650 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20651 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20652 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20654 (lrint_downward_test_data): Test for "inexact" exceptions.
20655 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20656 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20657 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20659 (lrint_upward_test_data): Test for "inexact" exceptions.
20660 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20662 (llrint_test_data): Test for "inexact" exceptions.
20663 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20664 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20665 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20666 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20667 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20668 (llrint_downward_test_data): Test for "inexact" exceptions.
20669 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20670 (llrint_upward_test_data): Test for "inexact" exceptions.
20671 (logb_test_data): Likewise.
20672 (logb_downward_test_data): Likewise.
20673 (nextafter_test_data): Likewise.
20674 (nexttoward_test_data): Likewise.
20675 (remainder_test_data): Likewise.
20676 (remquo_test_data): Likewise.
20677 (scalbn_test_data): Likewise.
20678 (scalbln_test_data): Likewise.
20679 (signbit_test_data): Likewise.
20680 (sqrt_test_data): Likewise.
20681 (significand_test_data): Likewise.
20683 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20686 * benchtests/bench-modf.c (struct args): Mark arg0 as
20688 * scripts/bench.pl: Mark members of struct args as volatile.
20690 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20693 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20694 negative infinity on POWER6 or lower.
20695 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20697 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20700 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20701 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20702 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20703 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20704 (_FP_SETQNAN): New macro.
20705 (_FP_SETQNAN_SEMIRAW): Likewise.
20706 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20707 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20708 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20709 (FP_EXTEND): Use _FP_FRAC_SNANP.
20710 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20711 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20713 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20715 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20718 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20720 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20721 with DIVIDE_BY_ZERO_EXCEPTION.
20722 (gamma_test_data): Likewise.
20723 (lgamma_test_data): Likewise.
20724 (log_test_data): Likewise.
20725 (log10_test_data): Likewise.
20726 (log2_test_data): Likewise.
20727 (tgamma_test_data): Likewise.
20729 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20730 (acos_test_tonearest): Likewise.
20731 (acos_test_towardzero): Likewise.
20732 (acos_test_downward): Likewise.
20733 (acos_test_upward): Likewise.
20734 (acosh_test): Likewise.
20735 (asin_test): Likewise.
20736 (asin_test_tonearest): Likewise.
20737 (asin_test_towardzero): Likewise.
20738 (asin_test_downward): Likewise.
20739 (asin_test_upward): Likewise.
20740 (asinh_test): Likewise.
20741 (atan_test): Likewise.
20742 (atanh_test): Likewise.
20743 (atan2_test): Likewise.
20744 (cabs_test): Likewise.
20745 (cacos_test): Likewise.
20746 (cacosh_test): Likewise.
20747 (casin_test): Likewise.
20748 (casinh_test): Likewise.
20749 (catan_test): Likewise.
20750 (catanh_test): Likewise.
20751 (cbrt_test): Likewise.
20752 (ccos_test): Likewise.
20753 (ccosh_test): Likewise.
20754 (cexp_test): Likewise.
20755 (clog_test): Likewise.
20756 (clog10_test): Likewise.
20757 (cos_test): Likewise.
20758 (cos_test_tonearest): Likewise.
20759 (cos_test_towardzero): Likewise.
20760 (cos_test_downward): Likewise.
20761 (cos_test_upward): Likewise.
20762 (cosh_test): Likewise.
20763 (cosh_test_tonearest): Likewise.
20764 (cosh_test_towardzero): Likewise.
20765 (cosh_test_downward): Likewise.
20766 (cosh_test_upward): Likewise.
20767 (cpow_test): Likewise.
20768 (csin_test): Likewise.
20769 (csinh_test): Likewise.
20770 (csqrt_test): Likewise.
20771 (ctan_test): Likewise.
20772 (ctan_test_tonearest): Likewise.
20773 (ctan_test_towardzero): Likewise.
20774 (ctan_test_downward): Likewise.
20775 (ctan_test_upward): Likewise.
20776 (ctanh_test): Likewise.
20777 (ctanh_test_tonearest): Likewise.
20778 (ctanh_test_towardzero): Likewise.
20779 (ctanh_test_downward): Likewise.
20780 (ctanh_test_upward): Likewise.
20781 (erf_test): Likewise.
20782 (erfc_test): Likewise.
20783 (exp_test): Likewise.
20784 (exp_test_tonearest): Likewise.
20785 (exp_test_towardzero): Likewise.
20786 (exp_test_downward): Likewise.
20787 (exp_test_upward): Likewise.
20788 (exp10_test): Likewise.
20789 (exp2_test): Likewise.
20790 (expm1_test): Likewise.
20791 (fmod_test): Likewise.
20792 (gamma_test): Likewise.
20793 (hypot_test): Likewise.
20794 (j0_test): Likewise.
20795 (j1_test): Likewise.
20796 (jn_test): Likewise.
20797 (lgamma_test): Likewise.
20798 (log_test): Likewise.
20799 (log10_test): Likewise.
20800 (log1p_test): Likewise.
20801 (log2_test): Likewise.
20802 (logb_test_downward): Likewise.
20803 (pow_test): Likewise.
20804 (pow_test_tonearest): Likewise.
20805 (pow_test_towardzero): Likewise.
20806 (pow_test_downward): Likewise.
20807 (pow_test_upward): Likewise.
20808 (remainder_test): Likewise.
20809 (remquo_test): Likewise.
20810 (sin_test): Likewise.
20811 (sin_test_tonearest): Likewise.
20812 (sin_test_towardzero): Likewise.
20813 (sin_test_downward): Likewise.
20814 (sin_test_upward): Likewise.
20815 (sincos_test): Likewise.
20816 (sinh_test): Likewise.
20817 (sinh_test_tonearest): Likewise.
20818 (sinh_test_towardzero): Likewise.
20819 (sinh_test_downward): Likewise.
20820 (sinh_test_upward): Likewise.
20821 (sqrt_test): Likewise.
20822 (tan_test): Likewise.
20823 (tan_test_tonearest): Likewise.
20824 (tan_test_towardzero): Likewise.
20825 (tan_test_downward): Likewise.
20826 (tan_test_upward): Likewise.
20827 (tanh_test): Likewise.
20828 (tgamma_test): Likewise.
20829 (y0_test): Likewise.
20830 (y1_test): Likewise.
20831 (yn_test): Likewise.
20833 * math/gen-libm-test.pl (adjust_arg): Remove function.
20834 (special_function): Remove argument $in_func. Only handle
20835 generating output for tables of tests, not inside functions.
20836 (parse_args): Likewise.
20837 (generate_testfile): Remove variable $in_func. Update call to
20839 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20840 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20841 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20842 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20843 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20844 (MAX_VALUE_INIT): Rename macro to max_value.
20845 (MIN_VALUE_INIT): Rename macro to min_value.
20846 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20847 (plus_zero): Remove variable.
20848 (minus_zero): Likewise.
20849 (plus_infty): Likewise.
20850 (minus_infty): Likewise.
20851 (qnan_value): Likewise.
20852 (max_value): Likewise.
20853 (min_value): Likewise.
20854 (min_subnorm_value): Likewise.
20856 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20858 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20859 uint64_t or uint32_t usage.
20860 * crypt/sha256-block.c: Likewise.
20861 * crypt/sha256-crypt.c: Likewise.
20862 * crypt/sha256.c: Likewise.
20863 * crypt/sha512-block.c: Likewise.
20864 * crypt/sha512-crypt.c: Likewise.
20865 * crypt/sha512.c: Likewise.
20866 * debug/backtrace-tst.c: Likewise.
20867 * debug/pcprofiledump.c: Likewise.
20868 * elf/cache.c: Likewise.
20869 * elf/dl-cache.c: Likewise.
20870 * elf/dl-misc.c: Likewise.
20871 * elf/dl-profile.c: Likewise.
20872 * elf/dl-support.c: Likewise.
20873 * elf/ldconfig.c: Likewise.
20874 * elf/sprof.c: Likewise.
20875 * iconv/dummy-repertoire.c: Likewise.
20876 * iconv/iconv_charmap.c: Likewise.
20877 * iconv/skeleton.c: Likewise.
20878 * iconvdata/8bit-generic.c: Likewise.
20879 * iconvdata/cp737.h: Likewise.
20880 * iconvdata/cp775.h: Likewise.
20881 * iconvdata/ibm1008.h: Likewise.
20882 * iconvdata/ibm1025.h: Likewise.
20883 * iconvdata/ibm1046.h: Likewise.
20884 * iconvdata/ibm1097.h: Likewise.
20885 * iconvdata/ibm1112.h: Likewise.
20886 * iconvdata/ibm1122.h: Likewise.
20887 * iconvdata/ibm1123.h: Likewise.
20888 * iconvdata/ibm1124.h: Likewise.
20889 * iconvdata/ibm1129.h: Likewise.
20890 * iconvdata/ibm1130.h: Likewise.
20891 * iconvdata/ibm1132.h: Likewise.
20892 * iconvdata/ibm1133.h: Likewise.
20893 * iconvdata/ibm1137.h: Likewise.
20894 * iconvdata/ibm1140.h: Likewise.
20895 * iconvdata/ibm1141.h: Likewise.
20896 * iconvdata/ibm1142.h: Likewise.
20897 * iconvdata/ibm1143.h: Likewise.
20898 * iconvdata/ibm1144.h: Likewise.
20899 * iconvdata/ibm1145.h: Likewise.
20900 * iconvdata/ibm1146.h: Likewise.
20901 * iconvdata/ibm1147.h: Likewise.
20902 * iconvdata/ibm1148.h: Likewise.
20903 * iconvdata/ibm1149.h: Likewise.
20904 * iconvdata/ibm1153.h: Likewise.
20905 * iconvdata/ibm1154.h: Likewise.
20906 * iconvdata/ibm1155.h: Likewise.
20907 * iconvdata/ibm1156.h: Likewise.
20908 * iconvdata/ibm1157.h: Likewise.
20909 * iconvdata/ibm1158.h: Likewise.
20910 * iconvdata/ibm1160.h: Likewise.
20911 * iconvdata/ibm1161.h: Likewise.
20912 * iconvdata/ibm1162.h: Likewise.
20913 * iconvdata/ibm1163.h: Likewise.
20914 * iconvdata/ibm1164.h: Likewise.
20915 * iconvdata/ibm1166.h: Likewise.
20916 * iconvdata/ibm1167.h: Likewise.
20917 * iconvdata/ibm12712.h: Likewise.
20918 * iconvdata/ibm1390.h: Likewise.
20919 * iconvdata/ibm1399.h: Likewise.
20920 * iconvdata/ibm16804.h: Likewise.
20921 * iconvdata/ibm4517.h: Likewise.
20922 * iconvdata/ibm4899.h: Likewise.
20923 * iconvdata/ibm4909.h: Likewise.
20924 * iconvdata/ibm4971.h: Likewise.
20925 * iconvdata/ibm5347.h: Likewise.
20926 * iconvdata/ibm803.h: Likewise.
20927 * iconvdata/ibm856.h: Likewise.
20928 * iconvdata/ibm901.h: Likewise.
20929 * iconvdata/ibm902.h: Likewise.
20930 * iconvdata/ibm9030.h: Likewise.
20931 * iconvdata/ibm9066.h: Likewise.
20932 * iconvdata/ibm921.h: Likewise.
20933 * iconvdata/ibm922.h: Likewise.
20934 * iconvdata/ibm9448.h: Likewise.
20935 * iconvdata/isiri-3342.h: Likewise.
20936 * iconvdata/jis0201.h: Likewise.
20937 * include/link.h: Likewise.
20938 * include/netdb.h: Likewise.
20939 * inet/check_native.c: Likewise.
20940 * inet/check_pf.c: Likewise.
20941 * inet/getipv4sourcefilter.c: Likewise.
20942 * inet/getnameinfo.c: Likewise.
20943 * inet/getsourcefilter.c: Likewise.
20944 * inet/htonl.c: Likewise.
20945 * inet/setipv4sourcefilter.c: Likewise.
20946 * inet/setsourcefilter.c: Likewise.
20947 * inet/test-inet6_opt.c: Likewise.
20948 * inet/tst-network.c: Likewise.
20949 * locale/C-collate.c: Likewise.
20950 * locale/C-ctype.c: Likewise.
20951 * locale/C-time.c: Likewise.
20952 * locale/C-translit.h: Likewise.
20953 * locale/loadarchive.c: Likewise.
20954 * locale/programs/3level.h: Likewise.
20955 * locale/programs/charmap.c: Likewise.
20956 * locale/programs/charmap.h: Likewise.
20957 * locale/programs/ld-address.c: Likewise.
20958 * locale/programs/ld-collate.c: Likewise.
20959 * locale/programs/ld-ctype.c: Likewise.
20960 * locale/programs/ld-identification.c: Likewise.
20961 * locale/programs/ld-measurement.c: Likewise.
20962 * locale/programs/ld-messages.c: Likewise.
20963 * locale/programs/ld-monetary.c: Likewise.
20964 * locale/programs/ld-name.c: Likewise.
20965 * locale/programs/ld-numeric.c: Likewise.
20966 * locale/programs/ld-paper.c: Likewise.
20967 * locale/programs/ld-telephone.c: Likewise.
20968 * locale/programs/ld-time.c: Likewise.
20969 * locale/programs/linereader.c: Likewise.
20970 * locale/programs/locale.c: Likewise.
20971 * locale/programs/locarchive.c: Likewise.
20972 * locale/programs/locfile.h: Likewise.
20973 * locale/programs/repertoire.c: Likewise.
20974 * locale/programs/simple-hash.c: Likewise.
20975 * locale/programs/simple-hash.h: Likewise.
20976 * malloc/memusage.c: Likewise.
20977 * malloc/memusagestat.c: Likewise.
20978 * nis/nis_defaults.c: Likewise.
20979 * nis/nis_hash.c: Likewise.
20980 * nis/nis_print.c: Likewise.
20981 * nis/nis_xdr.c: Likewise.
20982 * nscd/connections.c: Likewise.
20983 * nscd/hstcache.c: Likewise.
20984 * nscd/nscd_gethst_r.c: Likewise.
20985 * nscd/nscd_getserv_r.c: Likewise.
20986 * nscd/nscd_helper.c: Likewise.
20987 * nscd/servicescache.c: Likewise.
20988 * nss/makedb.c: Likewise.
20989 * nss/nss_db/db-XXX.c: Likewise.
20990 * nss/nss_db/db-initgroups.c: Likewise.
20991 * nss/nss_db/db-netgrp.c: Likewise.
20992 * nss/nss_files/files-network.c: Likewise.
20993 * nss/nss_files/files-parse.c: Likewise.
20994 * posix/bug-regex5.c: Likewise.
20995 * posix/fnmatch_loop.c: Likewise.
20996 * posix/regcomp.c: Likewise.
20997 * posix/regexec.c: Likewise.
20998 * posix/tst-rfc3484-2.c: Likewise.
20999 * posix/tst-rfc3484-3.c: Likewise.
21000 * posix/tst-rfc3484.c: Likewise.
21001 * resolv/nss_dns/dns-canon.c: Likewise.
21002 * resolv/nss_dns/dns-network.c: Likewise.
21003 * resolv/res_init.c: Likewise.
21004 * resolv/res_mkquery.c: Likewise.
21005 * resolv/tst-aton.c: Likewise.
21006 * stdlib/cxa_atexit.c: Likewise.
21007 * stdlib/cxa_finalize.c: Likewise.
21008 * stdlib/gen-fpioconst.c: Likewise.
21009 * stdlib/strtol_l.c: Likewise.
21010 * string/tst-endian.c: Likewise.
21011 * sunrpc/auth_des.c: Likewise.
21012 * sunrpc/clnt_udp.c: Likewise.
21013 * sunrpc/rtime.c: Likewise.
21014 * sunrpc/svcauth_des.c: Likewise.
21015 * sunrpc/xdr.c: Likewise.
21016 * sunrpc/xdr_intXX_t.c: Likewise.
21017 * sunrpc/xdr_rec.c: Likewise.
21018 * sysdeps/generic/ldconfig.h: Likewise.
21019 * sysdeps/generic/ldsodefs.h: Likewise.
21020 * sysdeps/generic/memusage.h: Likewise.
21021 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21022 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21023 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21024 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21026 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21028 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21029 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21031 * sysdeps/posix/getaddrinfo.c: Likewise.
21032 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21033 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21034 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21035 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21036 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21037 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21038 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21039 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21040 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21041 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21042 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21043 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21044 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21045 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21046 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21047 * sysdeps/x86_64/dl-tls.h: Likewise.
21048 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21049 * time/alt_digit.c: Likewise.
21050 * time/era.c: Likewise.
21051 * wcsmbs/tst-c16c32-1.c: Likewise.
21053 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21055 * math/libm-test.inc (struct test_sincos_data): New type.
21056 (RUN_TEST_LOOP_sincos): New macro.
21057 (sincos_test_data): New variable.
21058 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21060 2013-05-16 Richard Henderson <rth@redhat.com>
21062 * math/atest-exp2.c (LIMB64): New macro.
21063 (CONSTSZ): New macro.
21064 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21066 (print_mpn_fp): ... to function scope.
21067 (read_mpn_hex): Remove.
21068 (get_log2): Remove.
21069 (exp2_mpn): Use mp_log2.
21070 (main): Use mp_exp1.
21072 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21074 * math/libm-test.inc: Remove comment about not testing "inexact"
21076 (INEXACT_EXCEPTION): New macro.
21077 (NO_INEXACT_EXCEPTION): Likewise.
21078 (INVALID_EXCEPTION_OK): Update value.
21079 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21080 (OVERFLOW_EXCEPTION_OK): Likewise.
21081 (UNDERFLOW_EXCEPTION_OK): Likewise.
21082 (IGNORE_ZERO_INF_SIGN): Likewise.
21083 (ERRNO_UNCHANGED): Likewise.
21084 (ERRNO_EDOM): Likewise.
21085 (ERRNO_ERANGE): Likewise.
21086 (test_exceptions): Handle testing "inexact" exceptions.
21087 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21088 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21089 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21090 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21092 (rint_towardzero_test_data): Likewise.
21093 (rint_downward_test_data): Likewise.
21094 (rint_upward_test_data): Likewise.
21096 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21097 with OVERFLOW_EXCEPTION.
21098 (exp10_test_data): Likewise.
21099 (exp2_test_data): Likewise.
21100 (expm1_test_data): Likewise.
21101 (lgamma_test_data): Likewise.
21102 (pow_test_data): Likewise.
21103 (tgamma_test_data): Likewise.
21104 (yn_test_data): Remove duplicate test of overflow.
21106 * math/libm-test.inc (struct test_cc_c_data): New type.
21107 (RUN_TEST_LOOP_cc_c): New macro.
21108 (cpow_test_data): New variable.
21109 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21111 * math/libm-test.inc (struct test_f_L_data): New type.
21112 (RUN_TEST_LOOP_f_L): New macro.
21113 (llrint_test_data): New variable.
21114 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21115 (llrint_tonearest_test_data): New variable.
21116 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21117 (llrint_towardzero_test_data): New variable.
21118 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21119 (llrint_downward_test_data): New variable.
21120 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21121 (llrint_upward_test_data): New variable.
21122 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21123 (llround_test_data): New variable.
21124 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21126 2013-05-13 Peter Collingbourne <pcc@google.com>
21128 * math/atest-exp2.c (get_log2): Remove const attribute.
21130 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21132 * math/libm-test.inc (struct test_f_l_data): New type.
21133 (RUN_TEST_LOOP_f_l): New macro.
21134 (lrint_test_data): New variable.
21135 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21136 (lrint_tonearest_test_data): New variable.
21137 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21138 (lrint_towardzero_test_data): New variable.
21139 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21140 (lrint_downward_test_data): New variable.
21141 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21142 (lrint_upward_test_data): New variable.
21143 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21144 (lround_test_data): New variable.
21145 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21147 2013-05-15 Peter Collingbourne <pcc@google.com>
21149 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21150 (EXTRACT_WORDS64) Use where appropriate.
21151 (INSERT_WORDS64) Likewise.
21153 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21154 constraints with x constraints.
21155 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21157 * malloc/obstack.c (_obstack_compat): Add initializer.
21159 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21161 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21162 si_trapno and add si_addr_lsb to _sifields.sigfault.
21163 (si_trapno): Remove macro.
21164 (si_addr_lsb): Define new macro.
21165 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21167 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21169 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21170 instead of TEST_f_l.
21171 (llrint_test_tonearest): Likewise.
21172 (llrint_test_towardzero): Likewise.
21173 (llrint_test_downward): Likewise.
21174 (llrint_test_upward): Likewise.
21175 (llround_test): Likewise.
21177 * math/libm-test.inc (struct test_f_i_data): Add comment.
21178 (RUN_TEST_LOOP_f_b): New macro.
21179 (RUN_TEST_LOOP_f_b_tg): Likewise.
21180 (finite_test_data): New variable.
21181 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21182 (isfinite_test_data): New variable.
21183 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21184 (isinf_test_data): New variable.
21185 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21186 (isnan_test_data): New variable.
21187 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21188 (isnormal_test_data): New variable.
21189 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21190 (issignaling_test_data): New variable.
21191 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21192 (signbit_test_data): New variable.
21193 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21195 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21196 with INVALID_EXCEPTION.
21197 (acosh_test_data): Likewise.
21198 (asin_test_data): Likewise.
21199 (atanh_test_data): Likewise.
21200 (fmod_test_data): Likewise.
21201 (log_test_data): Likewise.
21202 (log10_test_data): Likewise.
21203 (log2_test_data): Likewise.
21204 (pow_test_data): Likewise.
21205 (sqrt_test_data): Likewise.
21206 (y0_test_data): Likewise.
21207 (y1_test_data): Likewise.
21208 (yn_test_data): Likewise.
21210 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21213 * math/libm-test.inc (struct test_ff_i_data): New type.
21214 (RUN_TEST_LOOP_ff_i_tg): New macro.
21215 (isgreater_test_data): New variable.
21216 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21217 (isgreaterequal_test_data): New variable.
21218 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21219 (isless_test_data): New variable.
21220 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21221 (islessequal_test_data): New variable.
21222 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21223 (islessgreater_test_data): New variable.
21224 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21225 (isunordered_test_data): New variable.
21226 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21228 2013-05-14 David S. Miller <davem@davemloft.net>
21230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21232 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21234 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21236 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21238 (struct test_f_i_data): Change type of max_ulp to int.
21240 * math/libm-test.inc (test_ffI_f1_data): New type.
21241 (RUN_TEST_LOOP_ffI_f1): New macro.
21242 (remquo_test_data): New variable.
21243 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21245 * setjmp/tst-setjmp-fp.c: New file.
21246 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21247 (link-libm): New variable.
21248 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21250 * math/libm-test.inc (struct test_f_i_data): New type.
21251 (RUN_TEST_LOOP_f_i): New macro.
21252 (RUN_TEST_LOOP_f_i_tg): Likewise.
21253 (fpclassify_test_data): New variable.
21254 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21255 (ilogb_test_data): New variable.
21256 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21258 * math/libm-test.inc (scalbln_test): Correct function name in END
21261 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21262 (RUN_TEST_LOOP_fI_f1): New macro.
21263 (frexp_test_data): New variable.
21264 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21266 * math/libm-test.inc (struct test_fF_f1_data): New type.
21267 (RUN_TEST_LOOP_fF_f1): New macro.
21268 (modf_test_data): New variable.
21269 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21271 * math/libm-test.inc (struct test_f_f1_data): New type.
21272 (RUN_TEST_LOOP_f_f1): New macro.
21273 (gamma_test_data): New variable.
21274 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21275 (lgamma_test_data): New variable.
21276 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21278 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21280 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21281 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21282 (main): Comment "tls" pseudo-hwcap.
21284 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21286 * math/libm-test.inc (struct test_fl_f_data): New type.
21287 (RUN_TEST_LOOP_fl_f): New variable.
21288 (scalbln_test_data): New variable.
21289 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21291 * math/libm-test.inc (struct test_fi_f_data): New type.
21292 (RUN_TEST_LOOP_fi_f): New macro.
21293 (ldexp_test_data): New variable.
21294 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21295 (scalbn_test_data): New variable.
21296 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21298 * math/libm-test.inc (struct test_c_f_data): New type.
21299 (RUN_TEST_LOOP_c_f): New macro.
21300 (cabs_test_data): New variable.
21301 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21302 (carg_test_data): New variable.
21303 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21304 (cimag_test_data): New variable.
21305 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21306 (creal_test_data): New variable.
21307 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21309 * math/libm-test.inc (struct test_if_f_data): New type.
21310 (RUN_TEST_LOOP_if_f): New macro.
21311 (jn_test_data): New variable.
21312 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21313 (yn_test_data): New variable.
21314 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21316 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21318 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21320 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21321 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21323 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21325 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21326 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21327 (bench-deps): Add bench-timing.h.
21328 * benchtests-bench-skeleton.c: Include bench-timing.h.
21329 (main): Use TIMING_* macros instead of clock_gettime.
21330 * benchtests/bench-timing.h: New file.
21333 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21334 Renamed from _LIB_VERSION.
21335 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21337 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21339 * math/libm-test.inc (struct test_fff_f_data): New type.
21340 (RUN_TEST_LOOP_fff_f): New macro.
21341 (fma_test_data): New variable.
21342 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21343 (fma_towardzero_test_data): New variable.
21344 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21345 (fma_downward_test_data): New variable.
21346 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21347 (fma_upward_test_data): New variable.
21348 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21350 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21351 (struct test_c_c_data): New type.
21352 (RUN_TEST_LOOP_c_c): New macro.
21353 (cacos_test_data): New variable.
21354 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21355 (cacosh_test_data): New variable.
21356 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21357 (casin_test_data): New variable.
21358 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21359 (casinh_test_data): New variable.
21360 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21361 (catan_test_data): New variable.
21362 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21363 (catanh_test_data): New variable.
21364 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21365 (ccos_test_data): New variable.
21366 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21367 (ccosh_test_data): New variable.
21368 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21369 (cexp_test_data): New variable.
21370 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21371 (clog_test_data): New variable.
21372 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21373 (clog10_test_data): New variable.
21374 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21375 (conj_test_data): New variable.
21376 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21377 (cproj_test_data): New variable.
21378 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21379 (csin_test_data): New variable.
21380 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21381 (csinh_test_data): New variable.
21382 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21383 (csqrt_test_data): New variable.
21384 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21385 (ctan_test_data): New variable.
21386 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21387 (ctan_tonearest_test_data): New variable.
21388 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21389 (ctan_towardzero_test_data): New variable.
21390 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21391 (ctan_downward_test_data): New variable.
21392 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21393 (ctan_upward_test_data): New variable.
21394 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21395 (ctanh_test_data): New variable.
21396 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21397 (ctanh_tonearest_test_data): New variable.
21398 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21399 (ctanh_towardzero_test_data): New variable.
21400 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21401 (ctanh_downward_test_data): New variable.
21402 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21403 (ctanh_upward_test_data): New variable.
21404 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21405 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21408 * math/libm-test.inc (struct test_ff_f_data): New type.
21409 (struct test_ff_f_data_nexttoward): Likewise.
21410 (RUN_TEST_LOOP_2_f): New macro.
21411 (RUN_TEST_LOOP_ff_f): Likewise.
21412 (atan2_test_data): New variable.
21413 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21414 (copysign_test_data): New variable.
21415 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21416 (fdim_test_data): New variable.
21417 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21418 (fmax_test_data): New variable.
21419 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21420 (fmin_test_data): New variable.
21421 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21422 (fmod_test_data): New variable.
21423 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21424 (hypot_test_data): New variable.
21425 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21426 (nextafter_test_data): New variable.
21427 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21428 (nexttoward_test_data): New variable.
21429 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21430 (pow_test_data): New variable.
21431 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21432 (pow_tonearest_test_data): New variable.
21433 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21434 (pow_towardzero_test_data): New variable.
21435 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21436 (pow_downward_test_data): New variable.
21437 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21438 (pow_upward_test_data): New variable.
21439 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21440 (remainder_test_data): New variable.
21441 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21442 (scalb_test_data): New variable.
21443 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21444 * sysdeps/i386/fpu/libm-test-ulps: Update.
21446 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21448 * math/libm-test.inc (fma_test): Use max_value instead of local
21450 (nextafter_test): Likewise.
21452 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21453 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21454 (acos_downward_test_data): New variable.
21455 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21456 (acos_upward_test_data): New variable.
21457 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21458 (acosh_test_data): New variable.
21459 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21460 (asin_test_data): New variable.
21461 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21462 (asin_tonearest_test_data): New variable.
21463 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21464 (asin_towardzero_test_data): New variable.
21465 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21466 (asin_downward_test_data): New variable.
21467 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21468 (asin_upward_test_data): New variable.
21469 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21470 (asinh_test_data): New variable.
21471 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21472 (atan_test_data): New variable.
21473 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21474 (atanh_test_data): New variable.
21475 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21476 (cbrt_test_data): New variable.
21477 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21478 (ceil_test_data): New variable.
21479 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21480 (cos_test_data): New variable.
21481 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21482 (cos_tonearest_test_data): New variable.
21483 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21484 (cos_towardzero_test_data): New variable.
21485 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21486 (cos_downward_test_data): New variable.
21487 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21488 (cos_upward_test_data): New variable.
21489 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21490 (cosh_test_data): New variable.
21491 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21492 (cosh_tonearest_test_data): New variable.
21493 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21494 (cosh_towardzero_test_data): New variable.
21495 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21496 (cosh_downward_test_data): New variable.
21497 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21498 (cosh_upward_test_data): New variable.
21499 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21500 (erf_test_data): New variable.
21501 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21502 (erfc_test_data): New variable.
21503 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21504 (exp_test_data): New variable.
21505 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21506 (exp_tonearest_test_data): New variable.
21507 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21508 (exp_towardzero_test_data): New variable.
21509 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21510 (exp_downward_test_data): New variable.
21511 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21512 (exp_upward_test_data): New variable.
21513 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21514 (exp10_test_data): New variable.
21515 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21516 (exp2_test_data): New variable.
21517 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21518 (expm1_test_data): New variable.
21519 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21520 (fabs_test_data): New variable.
21521 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21522 (floor_test_data): New variable.
21523 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21524 (j0_test_data): New variable.
21525 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21526 (j1_test_data): New variable.
21527 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21528 (log_test_data): New variable.
21529 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21530 (log10_test_data): New variable.
21531 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21532 (log1p_test_data): New variable.
21533 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21534 (log2_test_data): New variable.
21535 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21536 (logb_test_data): New variable.
21537 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21538 (logb_downward_test_data): New variable.
21539 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21540 (nearbyint_test_data): New variable.
21541 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21542 (rint_test_data): New variable.
21543 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21544 (rint_tonearest_test_data): New variable.
21545 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21546 (rint_towardzero_test_data): New variable.
21547 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21548 (rint_downward_test_data): New variable.
21549 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21550 (rint_upward_test_data): New variable.
21551 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21552 (round_test_data): New variable.
21553 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21554 (sin_test_data): New variable.
21555 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21556 (sin_tonearest_test_data): New variable.
21557 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21558 (sin_towardzero_test_data): New variable.
21559 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21560 (sin_downward_test_data): New variable.
21561 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21562 (sin_upward_test_data): New variable.
21563 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21564 (sinh_test_data): New variable.
21565 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21566 (sinh_tonearest_test_data): New variable.
21567 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21568 (sinh_towardzero_test_data): New variable.
21569 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21570 (sinh_downward_test_data): New variable.
21571 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21572 (sinh_upward_test_data): New variable.
21573 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21574 (sqrt_test_data): New variable.
21575 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21576 (tan_test_data): New variable.
21577 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21578 (tan_tonearest_test_data): New variable.
21579 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21580 (tan_towardzero_test_data): New variable.
21581 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21582 (tan_downward_test_data): New variable.
21583 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21584 (tan_upward_test_data): New variable.
21585 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21586 (tanh_test_data): New variable.
21587 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21588 (tgamma_test_data): New variable.
21589 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21590 (trunc_test_data): New variable.
21591 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21592 (y0_test_data): New variable.
21593 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21594 (y1_test_data): New variable.
21595 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21596 (significand_test_data): New variable.
21597 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21599 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21602 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21604 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21606 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21608 2013-05-10 Andreas Jaeger <aj@suse.de>
21611 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21612 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21614 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21616 * math/gen-libm-test.pl (adjust_arg): New function.
21617 (special_functions): Handle generating output in both functions
21619 (parse_args): Likewise.
21620 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21621 $in_func argument to parse_args.
21622 * math/libm-test.inc (struct test_f_f_data): New type.
21623 (IF_ROUND_INIT_): New macro.
21624 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21625 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21626 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21627 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21628 (ROUND_RESTORE_): Likewise.
21629 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21630 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21631 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21632 (ROUND_RESTORE_FE_UPWARD): Likewise.
21633 (RUN_TEST_LOOP_f_f): New macro.
21634 (acos_test_data): New variable.
21635 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21636 (acos_tonearest_test_data): New variable.
21637 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21639 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21641 * benchtests/bench-skeleton.c (startup): Fix coding style.
21643 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21646 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21647 negative infinity argument.
21648 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21649 negative infinity argument.
21650 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21651 negative infinity argument.
21652 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21655 2013-05-10 Florian Weimer <fweimer@redhat.com>
21657 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21658 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21659 * iconv/iconv_prog.c (main): Likewise.
21660 * locale/programs/charmap-dir.c (charmap_readdir)
21661 (fopen_uncompressed): Likewise.
21662 * locale/programs/locfile.c (siblings_uncached)
21663 (write_locale_data): Use lstat64 instead of lstat.
21664 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21667 2013-05-10 Andreas Jaeger <aj@suse.de>
21670 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21672 Include <locale.h>.
21674 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21676 * elf/dl-close.c (_dl_close_worker): Add comments.
21678 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21681 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21683 (__ieee754_rem_pio2l): Update comments.
21686 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21688 (__ieee754_rem_pio2l): Update comments.
21690 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21691 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21693 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21696 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21697 (M_PI_34_LOG10El): Likewise.
21698 (M_PI2_LOG10El): Likewise.
21699 (M_PI4_LOG10El): Likewise.
21700 (M_PI_LOG10El): Likewise.
21702 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21706 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21708 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21709 (MINUS_ZERO_INIT): Likewise.
21710 (PLUS_INFTY_INIT): Likewise.
21711 (MINUS_INFTY_INIT): Likewise.
21712 (QNAN_VALUE_INIT): Likewise.
21713 (MAX_VALUE_INIT): Likewise.
21714 (MIN_VALUE_INIT): Likewise.
21715 (MIN_SUBNORM_VALUE_INIT): Likewise.
21716 (plus_zero): Initialize with PLUS_ZERO_INIT.
21717 (minus_zero): Initialize with MINUS_ZERO_INIT.
21718 (plus_infty): Initialize with PLUS_INFTY_INIT.
21719 (minus_infty): Initialize with MINUS_INFTY_INIT.
21720 (qnan_value): Initialize with QNAN_VALUE_INIT.
21721 (max_value): Initialize with MAX_VALUE_INIT.
21722 (min_value): Initialize with MIN_VALUE_INIT.
21723 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21725 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21726 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21727 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21728 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21730 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21731 (RUN_TEST_2_f): Likewise.
21732 (RUN_TEST_ff_f): Likewise.
21733 (RUN_TEST_fi_f): Likewise.
21734 (RUN_TEST_fl_f): Likewise.
21735 (RUN_TEST_fff_f): Likewise.
21736 (RUN_TEST_c_f): Likewise.
21737 (RUN_TEST_f_f1): Likewise.
21738 (RUN_TEST_fF_f1): Likewise.
21739 (RUN_TEST_fI_f1): Likewise.
21740 (RUN_TEST_ffI_f1): Likewise.
21741 (RUN_TEST_c_c): Likewise.
21742 (RUN_TEST_cc_c): Likewise.
21743 (RUN_TEST_f_i): Likewise.
21744 (RUN_TEST_f_i_tg): Likewise.
21745 (RUN_TEST_ff_i_tg): Likewise.
21746 (RUN_TEST_f_b): Likewise.
21747 (RUN_TEST_f_b_tg): Likewise.
21748 (RUN_TEST_f_l): Likewise.
21749 (RUN_TEST_f_L): Likewise.
21750 (RUN_TEST_sincos): Likewise.
21751 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21752 whether to show exceptions. Do not include ");\n" in return
21754 (special_functions): Output call to RUN_TEST_sincos instead of
21755 check_float calls. Update calls to new_test.
21756 (parse_args): Output call to single RUN_TEST_* macro instead of
21757 check_* calls and other assignments. Update calls to new_test.
21763 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21764 input to result for tgamma overflow.
21765 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21766 (gamma_coeff): New variable.
21767 (NCOEFF): New macro.
21768 (gamma_positive): New function.
21769 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21770 underflow here. Use gamma_positive instead of exp (lgamma) for
21772 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21773 (gamma_coeff): New variable.
21774 (NCOEFF): New macro.
21775 (gammaf_positive): New function.
21776 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21777 underflow here. Use gamma_positive instead of exp (lgamma) for
21779 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21780 (gamma_coeff): New variable.
21781 (NCOEFF): New macro.
21782 (gammal_positive): New function.
21783 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21784 underflow here. Use gamma_positive instead of exp (lgamma) for
21786 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21787 (gamma_coeff): New variable.
21788 (NCOEFF): New macro.
21789 (gammal_positive): New function.
21790 (__ieee754_gammal_r): Handle positive infinity, overflow and
21791 underflow here. Handle NaN the same as positive infinity. Remove
21792 check x < 0xffffffff for negative integers. Use gamma_positive
21793 instead of exp (lgamma) for other arguments.
21794 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21795 (gamma_coeff): New variable.
21796 (NCOEFF): New macro.
21797 (gammal_positive): New function.
21798 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21799 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21803 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21804 * sysdeps/generic/math_private.h (__gamma_productf): New
21806 (__gamma_product): Likewise.
21807 (__gamma_productl): Likewise.
21808 * math/Makefile (libm-calls): Add gamma_product.
21809 * math/libm-test.inc (tgamma_test): Add more tests.
21810 * sysdeps/i386/fpu/libm-test-ulps: Update.
21811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21813 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21815 * benchtests/bench-skeleton.c (main): Preheat CPU.
21817 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21819 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21821 2013-05-07 Roland McGrath <roland@hack.frob.com>
21823 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21824 and _dl_skip_args_internal.
21826 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21828 * manual/message.texi (Message Translation): Talk about users.
21829 Message to key mapping impacts design.
21831 2013-05-06 Roland McGrath <roland@hack.frob.com>
21833 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21835 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21837 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21838 * sysdeps/wordsize-64/glob64.c: ... here.
21840 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21841 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21844 * debug/getlogin_r_chk.c: Moved to ...
21845 * login/getlogin_r_chk.c: ... here.
21846 * debug/Makefile (routines): Move getlogin_r_chk to ...
21847 * login/Makefile (routines): ... here.
21848 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21849 * login/Versions (libc: GLIBC_2.4): ... here.
21851 * io/poll.c (__poll): Renamed from poll.
21852 Add libc_hidden_def.
21853 (poll): Define as weak alias.
21855 * debug/ptsname_r_chk.c: Moved to ...
21856 * login/ptsname_r_chk.c: ... here.
21857 * debug/Makefile (routines): Move ptsname_r_chk to ...
21858 * login/Makefile (routines): ... here.
21859 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21860 * login/Versions (libc: GLIBC_2.4): ... here.
21862 * posix/getlogin.c: Moved to ...
21863 * login/getlogin.c: ... here.
21864 * posix/getlogin_r.c: Moved to ...
21865 * login/getlogin_r.c: ... here.
21866 * posix/getlogin_r.c: Moved to ...
21867 * login/getlogin_r.c: ... here.
21868 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21869 * login/Makefile (routines): ... here.
21870 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21871 * login/Versions (libc: GLIBC_2.0): ... here.
21873 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21874 (setrlimit): Define as weak alias.
21876 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21877 Call __ names for open, ftruncate, and close.
21878 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21879 (truncate): Define as weak alias.
21881 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21883 * math/gen-libm-test.pl (parse_args): Initialize x before each
21884 test of frexp, modf and remquo.
21886 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21887 test signgam value.
21889 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21893 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21895 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21897 2013-05-06 Roland McGrath <roland@hack.frob.com>
21899 * elf/dl-writev.h: New file.
21900 * elf/dl-misc.c: Include it.
21901 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21902 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21904 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21906 * math/libm-test.inc (noXFails): Remove variable.
21907 (noXPasses): Likewise.
21908 (BUILD_COMPLEX_INT): Remove macro.
21909 (print_screen): Remove xfail argument.
21910 (print_screen_max_error): Likewise.
21911 (update_stats): Likewise.
21912 (print_max_error): Likewise. Update calls to other affected
21914 (print_complex_max_error): Likewise.
21915 (test_single_exception): Update calls to print_screen.
21916 (test_single_errno): Likewise.
21917 (check_float_internal): Remove xfail argument. Update calls to
21918 other affected functions.
21919 (check_float): Likewise.
21920 (check_complex): Likewise.
21921 (check_int): Likewise.
21922 (check_long): Likewise.
21923 (check_bool): Likewise.
21924 (check_longlong): Likewise.
21925 (main): Don't print noXFails and noXPasses.
21926 * math/gen-libm-test.pl (top level): Don't mention expected
21927 failure handling in comment.
21928 (new_test): Don't handle expected failures.
21929 (parse_args): Don't mention expected failure handling in comment.
21930 (generate_testfile): Don't handle expected failures.
21931 (parse_ulps): Likewise.
21932 (print_ulps_file): Likewise.
21933 (get_failure): Remove function.
21934 (output_test): Don't handle expected failures.
21935 * make/README.libm-test: Don't mention expected failure handling.
21937 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21938 (minus_zero): Likewise.
21939 (plus_infty): Likewise.
21940 (minus_infty): Likewise.
21941 (qnan_value): Likewise.
21942 (max_value): Likewise.
21943 (min_value): Likewise.
21944 (min_subnorm_value): Likewise.
21945 (initialize): Do not initialize those variables dynamically.
21947 2013-05-03 Roland McGrath <roland@hack.frob.com>
21949 * io/open.c (__open_2): Moved to ...
21950 * io/open_2.c: ... this new file.
21951 * io/open64.c (__open64_2): Moved to ...
21952 * io/open64_2.c: ... this new file.
21953 * io/openat.c (__openat_2): Moved to ...
21954 * io/openat_2.c: ... this new file.
21955 * io/openat64.c (__openat64_2): Moved to ...
21956 * io/openat64_2.c: ... this new file.
21957 * io/Makefile (routines): Add them.
21958 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21959 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21960 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21961 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21962 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21963 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21964 (__openat64): Add hidden_ver.
21965 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21966 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21968 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21969 Separately conditionalize setting of GLRO(dl_sysinfo) so
21970 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21971 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21973 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21975 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21976 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21978 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21979 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21980 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21981 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21982 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21984 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21986 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21987 test signgam value.
21989 * math/libm-test.inc (hypot_test): Do not use
21990 IGNORE_ZERO_INF_SIGN.
21992 2013-05-03 Andreas Jaeger <aj@suse.de>
21994 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21996 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21997 (PF_MAX): Adjust for VSOCK change.
21999 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22003 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22006 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22007 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22008 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22010 2013-05-02 David S. Miller <davem@davemloft.net>
22012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22014 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22016 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22018 2013-05-01 Roland McGrath <roland@hack.frob.com>
22020 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22022 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22025 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22026 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22027 Use __attribute__ ((__gnu_inline__)).
22028 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22029 Don't use __attribute__ ((__gnu_inline__)).
22031 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22034 * math/s_catan.c (__catan): Handle small real or imaginary part of
22035 input specially to avoid spurious underflow.
22036 * math/s_catanf.c (__catanf): Likewise.
22037 * math/s_catanh.c (__catanh): Likewise.
22038 * math/s_catanhf.c (__catanhf): Likewise.
22039 * math/s_catanhl.c (__catanhl): Likewise.
22040 * math/s_catanl.c (__catanl): Likewise.
22041 * math/libm-test.inc (catan_test): Add more tests.
22042 (catanh_test): Likewise.
22043 * sysdeps/i386/fpu/libm-test-ulps: Update.
22044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22046 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22050 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22053 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22054 accurately for denominator in atan2.
22055 * math/s_catanf.c (__catanf): Likewise.
22056 * math/s_catanh.c (__catanh): Likewise.
22057 * math/s_catanhf.c (__catanhf): Likewise.
22058 * math/s_catanhl.c (__catanhl): Likewise.
22059 * math/s_catanl.c (__catanl): Likewise.
22060 * math/libm-test.inc (catan_test): Add more tests.
22061 (catanh_test): Likewise.
22062 * sysdeps/i386/fpu/libm-test-ulps: Update.
22063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22065 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22067 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22069 * benchtests/Makefile (bench): Remove slow benchmarks.
22070 * benchtests/atan-inputs: Add slow benchmark inputs.
22071 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22072 (BENCH_FUNC): Accept variant offset.
22074 * benchtests/bench-skeleton.c (main): Run benchmark for each
22076 * benchtests/cos-inputs: Add slow benchmark inputs.
22077 * benchtests/exp-inputs: Likewise.
22078 * benchtests/pow-inputs: Likewise.
22079 * benchtests/sin-inputs: Likewise.
22080 * benchtests/slowatan-inputs: Remove.
22081 * benchtests/slowatan.c: Remove.
22082 * benchtests/slowcos-inputs: Remove.
22083 * benchtests/slowcos.c: Remove.
22084 * benchtests/slowexp-inputs: Remove.
22085 * benchtests/slowexp.c: Remove.
22086 * benchtests/slowpow-inputs: Remove.
22087 * benchtests/slowpow.c: Remove.
22088 * benchtests/slowsin-inputs: Remove.
22089 * benchtests/slowsin.c: Remove.
22090 * benchtests/slowtan-inputs: Remove.
22091 * benchtests/slowtan.c: Remove.
22092 * benchtests/tan-inputs: Add slow benchmark inputs.
22093 * scripts/bench.pl: Parse comments and directives.
22095 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22097 ($(objpfx)bench-%.c): Remove *-ITER.
22098 * benchtests/bench-modf.c: Remove definition of ITER.
22099 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22100 (main): Loop for DURATION seconds instead of fixed number of
22102 * scripts/bench.pl: Don't expect iterations in parameters.
22104 2013-04-29 Roland McGrath <roland@hack.frob.com>
22106 * io/fchdir.c (__fchdir): Renamed from fchdir.
22107 (fchdir): Define as weak alias.
22109 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22111 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22112 (ERRNO_EDOM): Likewise.
22113 (ERRNO_ERANGE): Likewise.
22114 (noErrnoTests): New variable.
22115 (init_max_error): Set errno to 0.
22116 (test_single_errno): New function.
22117 (test_errno): Likewise.
22118 (check_float_internal): Call test_errno. Set errno to 0.
22119 (check_complex): Refer to errno tests in comment.
22120 (check_int): Call test_errno. Set errno to 0.
22121 (check_long): Likewise.
22122 (check_bool): Likewise.
22123 (check_longlong): Likewise.
22124 (cos_test): Use ERRNO_* flags for errno tests instead of
22126 (expm1_test): Likewise.
22127 (fmod_test): Likewise.
22128 (ilogb_test): Likewise.
22129 (lgamma_test): Likewise.
22130 (pow_test): Likewise.
22131 (remainder_test): Likewise.
22132 (sin_test): Likewise.
22133 (tan_test): Likewise.
22134 (yn_test): Likewise.
22135 (initialize): Set errno to 0.
22136 (main): Print number of errno tests.
22137 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22139 2013-04-29 Andreas Jaeger <aj@suse.de>
22142 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22146 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22147 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22151 * stdlib/random.c (__initstate): Return NULL if
22155 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22156 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22159 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22163 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22165 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22166 of individual tests.
22167 (casin_test): Likewise.
22168 (casinh_test): Likewise.
22170 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22173 * math/s_catan.c (__catan): Handle arguments with large real or
22174 imaginary part separately without squaring.
22175 * math/s_catanf.c (__catanf): Likewise.
22176 * math/s_catanh.c (__catanh): Likewise.
22177 * math/s_catanhf.c (__catanhf): Likewise.
22178 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22180 (__catanhl): Handle arguments with large real or imaginary part
22181 separately without squaring.
22182 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22184 (__catanl): Handle arguments with large real or imaginary part
22185 separately without squaring.
22186 * math/libm-test.inc (catan_test): Add more tests.
22187 (catanh_test): Likewise.
22188 * sysdeps/i386/fpu/libm-test-ulps: Update.
22189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22191 2013-04-27 Andreas Jaeger <aj@suse.de>
22194 * stdlib/stdlib.h: Update guards for qecvt.
22195 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22198 2013-04-27 Allan McRae <allan@archlinux.org>
22200 * sysdeps/i386/fpu/libm-test-ulps: Update.
22202 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22205 * math/s_catan.c: Include <float.h>.
22206 (__catan): Ensure underflow exception occurs for underflowed
22208 * math/s_catanf.c: Include <float.h>.
22209 (__catanf): Ensure underflow exception occurs for underflowed
22211 * math/s_catanh.c: Include <float.h>.
22212 (__catanh): Ensure underflow exception occurs for underflowed
22214 * math/s_catanhf.c: Include <float.h>.
22215 (__catanhf): Ensure underflow exception occurs for underflowed
22217 * math/s_catanhl.c: Include <float.h>.
22218 (__catanhl): Ensure underflow exception occurs for underflowed
22220 * math/s_catanl.c: Include <float.h>.
22221 (__catanl): Ensure underflow exception occurs for underflowed
22223 * math/libm-test.inc (catan_test): Add more tests.
22224 (catanh_test): Likewise.
22227 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22228 underflowed result.
22229 * math/s_ccoshf.c (__ccoshf): Likewise.
22230 * math/s_ccoshl.c (__ccoshl): Likewise.
22231 * math/s_csin.c (__csin): Likewise.
22232 * math/s_csinf.c (__csinf): Likewise.
22233 * math/s_csinh.c (__csinh): Likewise.
22234 * math/s_csinhf.c (__csinhf): Likewise.
22235 * math/s_csinhl.c (__csinhl): Likewise.
22236 * math/s_csinl.c (__csinl): Likewise.
22237 * math/libm-test.inc (ccos_test): Add more tests.
22238 (ccosh_test): Likewise.
22239 (csin_test): Likewise.
22240 (csinh_test): Likewise.
22242 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22244 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22245 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22246 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22247 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22248 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22249 powerpc/power5+/fpu folders.
22250 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22253 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22257 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22259 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22260 additions to variable.
22261 [$(config-machine) = x86_64] (modules-names): Likewise.
22262 ($(objpfx)tst-audit3): Remove dependency.
22263 ($(objpfx)tst-audit3.out): Likewise.
22264 ($(objpfx)tst-audit4): Likewise.
22265 ($(objpfx)tst-audit4.out): Likewise.
22266 ($(objpfx)tst-audit5): Likewise.
22267 ($(objpfx)tst-audit5.out): Likewise.
22268 ($(objpfx)tst-audit6): Likewise.
22269 ($(objpfx)tst-audit6.out): Likewise.
22270 ($(objpfx)tst-audit7): Likewise.
22271 ($(objpfx)tst-audit7.out): Likewise.
22272 (tst-audit3-ENV): Remove variable.
22273 (tst-audit4-ENV): Likewise.
22274 (tst-audit5-ENV): Likewise.
22275 (tst-audit6-ENV): Likewise.
22276 (tst-audit7-ENV): Likewise.
22277 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22278 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22279 addition to variable.
22280 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22281 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22282 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22283 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22284 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22285 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22286 tst-audit3, tst-audit4 and tst-audit5.
22287 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22288 tst-audit6 and tst-audit7.
22289 [$(subdir) = elf] (modules-names): Add audit modules for those
22291 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22292 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22293 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22294 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22295 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22296 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22297 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22298 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22299 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22300 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22301 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22302 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22303 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22304 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22305 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22306 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22308 [$(subdir) = elf && $(config-cflags-avx) = yes]
22309 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22310 [$(subdir) = elf && $(config-cflags-avx) = yes]
22311 (CFLAGS-tst-auditmod4a.c): Likewise.
22312 [$(subdir) = elf && $(config-cflags-avx) = yes]
22313 (CFLAGS-tst-auditmod4b.c): Likewise.
22314 [$(subdir) = elf && $(config-cflags-avx) = yes]
22315 (CFLAGS-tst-auditmod6b.c): Likewise.
22316 [$(subdir) = elf && $(config-cflags-avx) = yes]
22317 (CFLAGS-tst-auditmod6c.c): Likewise.
22318 [$(subdir) = elf && $(config-cflags-avx) = yes]
22319 (CFLAGS-tst-auditmod7b.c): Likewise.
22320 * elf/tst-audit3.c: Move to ...
22321 * sysdeps/x86_64/tst-audit3.c: ... here.
22322 * elf/tst-audit4.c: Move to ...
22323 * sysdeps/x86_64/tst-audit4.c: ... here.
22324 * elf/tst-audit5.c: Move to ...
22325 * sysdeps/x86_64/tst-audit5.c: ... here.
22326 * elf/tst-audit6.c: Move to ...
22327 * sysdeps/x86_64/tst-audit6.c: ... here.
22328 * elf/tst-audit7.c: Move to ...
22329 * sysdeps/x86_64/tst-audit7.c: ... here.
22330 * elf/tst-auditmod3a.c: Move to ...
22331 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22332 * elf/tst-auditmod3b.c: Move to ...
22333 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22334 * elf/tst-auditmod4a.c: Move to ...
22335 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22336 * elf/tst-auditmod4b.c: Move to ...
22337 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22338 * elf/tst-auditmod5a.c: Move to ...
22339 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22340 * elf/tst-auditmod5b.c: Move to ...
22341 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22342 * elf/tst-auditmod6a.c: Move to ...
22343 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22344 * elf/tst-auditmod6b.c: Move to ...
22345 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22346 * elf/tst-auditmod6c.c: Move to ...
22347 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22348 * elf/tst-auditmod7a.c: Move to ...
22349 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22350 * elf/tst-auditmod7b.c: Move to ...
22351 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22353 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22356 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22357 define unconditionally.
22358 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22359 define unconditionally.
22360 (INT8_C, INT16_C, etc.): Likewise.
22362 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22364 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22365 __ehdr_start with hidden visibility.
22367 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22369 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22371 * math/libm-test.inc (cos_test): Use accurate hex constants.
22372 (sincost_test): Likewise.
22374 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22376 * math/libm-test.inc (catan_test): Add more tests.
22377 (catanh_test): Likewise.
22379 * math/s_catanf.c (__catanf): Use suffixed floating-point
22381 * math/s_catanhf.c (__catanhf): Likewise.
22382 * math/s_catanhl.c (__catanhl): Likewise.
22383 * math/s_catanl.c (__catanl): Likewise.
22386 * math/s_catan.c (__catan): Calculate imaginary part of result
22387 with log1p not log unless computing log of number close to 0.
22388 * math/s_catanf.c (__catanf): Likewise.
22389 * math/s_catanl.c (__catanl): Likewise.
22390 * math/s_catanh.c (__catanh): Calculate real part of result with
22391 log1p not log unless computing log of number close to 0.
22392 * math/s_catanhf.c (__catanhf): Likewise.
22393 * math/s_catanhl.c (__catanhl): Likewise.
22394 * math/libm-test.inc (catan_test): Add more tests.
22395 (catanh_test): Likewise.
22396 * sysdeps/i386/fpu/libm-test-ulps: Update.
22397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22399 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22401 * benchtests/Makefile: Mention files in which fast and slow
22402 paths of math functions are implemented.
22404 2013-04-23 Roland McGrath <roland@hack.frob.com>
22406 * sysdeps/posix/timespec_get.c: New file.
22408 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22410 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22412 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22414 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22415 powerpc/power5/fpu folders.
22416 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22417 * benchtests/Makefile: Add modf testcase.
22418 * benchtests/bench-modf.c: New file: Benchmark test for mo
22420 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22423 * time/Makefile (tests): Add tst-strptime-whitespace.
22424 * time/strptime_l.c (get_number): Use ISSPACE.
22425 (__strptime_internal): Likewise.
22426 * time/tst-strptime-whitespace.c: New test case.
22428 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22430 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22432 (_nss_files_init): Set it here.
22434 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22436 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22437 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22440 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22442 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22444 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22446 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22449 2013-04-21 David S. Miller <davem@davemloft.net>
22451 * po/ru.po: Update Russion translation from translation project.
22453 2013-04-17 Adam Conrad <adconrad@0c3.net>
22455 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22458 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22460 * configure.in: Remove i386 configure warning. Remove i386 case.
22461 * configure: Regenerate.
22462 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22463 Add example to error message.
22464 * sysdeps/i386/configure: Regenerate.
22466 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22468 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22470 * benchtests/cos-inputs: New file.
22471 * benchtests/slowcos-inputs: New file.
22472 * benchtests/slowcos.c: New file.
22473 * benchtests/slowtan-inputs: New file.
22474 * benchtests/slowtan.c: New file.
22475 * benchtests/tan-inputs: New file.
22477 2013-04-16 Roland McGrath <roland@hack.frob.com>
22479 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22482 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22484 * benchtests/Makefile: Include cppflags-iterator.mk to add
22485 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22487 * Makefile.in (bench-clean): New target.
22488 * benchtests/Makefile (bench-clean): Likewise.
22490 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22492 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22494 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22496 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22498 2013-04-15 Andreas Schwab <schwab@suse.de>
22500 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22502 * nscd/pwdcache.c (cache_addpw): Likewise.
22503 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22506 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22508 * benchtests/Makefile (bench): Write all output to
22509 bench-out.tmp together.
22511 2013-04-15 Andreas Schwab <schwab@suse.de>
22513 * nscd/nscd.c (main): Don't fork again after closing files.
22515 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22517 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22519 * benchtests/Rules (bench-deps): Collect dependencies into a
22520 single variable. Add Makefile to dependencies.
22521 ($(objpfx)bench-%.c): Depend on bench-deps.
22523 2013-04-12 Roland McGrath <roland@hack.frob.com>
22524 Xavier Roche <roche+kml2@exalead.com>
22527 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22528 just that it's a file descriptor.
22529 * manual/llio.texi (Synchronizing AIO Operations): Update description
22530 for EBADF error from aio_fsync.
22532 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22534 * Rules (bench): Move target definition...
22535 * benchtests/Makefile: ... here.
22537 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22539 * math/libm-test.inc (cos_test): Fix PI/2 test.
22540 (sincos_test): Likewise.
22541 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22542 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22544 2013-04-11 Andreas Schwab <schwab@suse.de>
22547 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22548 accept exponent character only when digits were seen.
22549 * stdio-common/Makefile (tests): Add bug26.
22550 * stdio-common/bug26.c: New file.
22553 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22556 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22558 * Makeconfig (rtld-prefix): Define built linker prefix.
22559 * Rules (run-bench): Use it.
22560 * math/Makefile (run-regen-ulps): Likewise.
22562 * Rules (bench): Remove eval.
22564 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22565 Roland McGrath <roland@hack.frob.com>
22566 Ondrej Bilka <neleai@seznam.cz>
22569 * time/getdate.c: Include ctype.h and alloca.h.
22570 (__getdate_r): Trim leading and trailing spaces of input.
22571 * time/tst-getdate.c (tests): Add tests with leading and
22574 2013-04-08 Roland McGrath <roland@hack.frob.com>
22577 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22578 when computing value.
22580 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22582 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22583 Use testrun.sh to run libm tests.
22586 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22588 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22591 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22593 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22595 * Makefile.in (regen-ulps): New target.
22596 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22597 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22598 [ifneq (no,$(PERL)] (regen-ulps): New target.
22599 [ifeq (no,$(PERL)] (regen-ulps): New target.
22600 * math/libm-test.inc (ulps_file_name): Define.
22601 (output_dir): New variable.
22602 (options): Add "output-dir" option.
22603 (parse_opt): Handle 'o' case.
22604 (main): If output_dir is non-NULL use it as a prefix
22606 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22608 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22610 [BZ #10060, #10062]
22611 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22612 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22613 fail configure if __sync_val_compare_and_swap is not inlined.
22614 * sysdeps/i386/configure: Regenerate.
22615 * configure.in: Build for i686 when configured for i386.
22616 * configure: Regenerate.
22617 * README: Remove i386 reference.
22619 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22621 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22624 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22626 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22627 (lmsnanval): New variables.
22628 (F): Add conversion tests.
22629 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22630 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22632 * stdio-common/tstdiomisc.c (F): Properly collect individual
22635 [BZ #14686, #15336]
22636 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22637 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22638 Instead, use input NaN values or generate a qNaN by arithmetic
22639 operation. Also fix bugs to comply with the standard.
22640 * math/libm-test.inc (remainder_test): Add more tests.
22642 [BZ #15335, #15342]
22643 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22645 input NaN values or generate a qNaN by arithmetic operation.
22647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22650 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22653 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22656 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22657 underflowed result.
22658 * math/s_cexpf.c (__cexpf): Likewise.
22659 * math/s_cexpl.c (__cexpl): Likewise.
22660 * math/libm-test.inc (cexp_test): Add more tests.
22662 2013-04-03 Andreas Schwab <schwab@suse.de>
22665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22666 order arrays from heap if bigger than alloca cutoff.
22668 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22670 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22671 (SNAN_TESTS_double): Refer to GCC PR56831.
22672 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22675 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22677 * Rules (bench): Move bench.out after the run is complete.
22679 * Rules (bench): Echo currently running benchmark.
22681 * benchtests/Makefile (bench): Add atan and slowatan.
22682 * benchtests/atan-inputs: New file.
22683 * benchtests/slowatan-inputs: New file.
22684 * benchtests/slowatan.c: New file.
22686 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22691 * sysdeps/unix/sysv/linux/kernel-features.h
22692 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22693 __ASSUME_XFS_RESTRICTED_CHOWN.
22694 * sysdeps/unix/sysv/linux/pathconf.c
22695 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22696 Save and restore errno.
22698 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22701 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22702 arguments using __kernel_casinh.
22703 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22704 arguments using __kernel_casinhf.
22705 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22706 arguments using __kernel_casinhl.
22707 * math/libm-test.inc (cacosh_test): Add more tests.
22708 * sysdeps/i386/fpu/libm-test-ulps: Update.
22709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22711 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22713 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22716 * bench/Makefile (bench): Add sin and slowsin.
22717 * benchtests/sin-inputs: New file.
22718 * benchtests/slowsin-inputs: New file.
22719 * benchtests/slowsin.c: New file.
22721 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22722 (bench): Add slowexp and slowpow.
22723 (exp-ITER): Increase iterations.
22724 (pow-ITER): Likewise.
22725 * benchtests/exp-inputs: Change input.
22726 * benchtests/pow-inputs: Likewise.
22727 * benchtests/slowexp-inputs: New file.
22728 * benchtests/slowexp.c: New file.
22729 * benchtests/slowpow-inputs: New file.
22730 * benchtests/slowpow.c: New file.
22732 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22734 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22736 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22737 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22739 * benchtests/Makefile: Add rint benchtest.
22740 * benchtests/rint-inputs: Input for rint benchtest.
22742 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22744 * Versions.def (libm): Add GLIBC_2.18.
22745 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22746 hidden libm prototypes.
22747 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22748 * math/Makefile (libm-calls): Add s_issignaling.
22749 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22750 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22751 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22753 * math/math.h [__USE_GNU] (issignaling): New macro.
22754 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22755 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22757 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22760 * manual/arith.texi (issignaling): New section.
22761 * manual/libm-err-tab.pl (@all_functions): Update comment.
22762 * math/gen-libm-test.pl (parse_args): Apply special handling for
22764 * math/libm-test.inc (print_float, issignaling_test): New
22766 (check_float_internal): Add issignaling checks.
22767 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22768 default definition.
22769 * sysdeps/powerpc/math-tests.h: New file.
22770 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22772 * math/test-snan.c (TEST_FUNC): Likewise.
22774 2013-03-30 David S. Miller <davem@davemloft.net>
22776 * po/de.po: Update from translation team.
22778 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22781 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22782 imaginary part less than 1.0 and real part less than 0.5
22784 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22785 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22786 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22787 (cacos_test): Add more tests.
22788 (casin_test): Likewise.
22789 (casinh_test): Likewise.
22790 * sysdeps/i386/fpu/libm-test-ulps: Update.
22791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22793 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22795 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22796 ONE with its value.
22798 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22799 (__pow_mp): Replace ONE and MONE with their values.
22800 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22802 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22803 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22804 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22805 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22807 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22809 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22810 (__pow_mp): Replace ZERO and MZERO with their values.
22811 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22813 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22815 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22816 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22819 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22821 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22823 2013-03-28 Roland McGrath <roland@hack.frob.com>
22825 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22826 Declare with __attribute__ ((weak)).
22827 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22828 Call __call_tls_dtors only if it's not NULL.
22830 2013-03-28 Roland McGrath <roland@hack.frob.com>
22832 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22833 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22834 magic __ehdr_start linker symbol if it's defined.
22835 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22836 them up here if it was already done.
22838 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22839 (_dl_aux_init): Use const in cast when setting it.
22840 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22841 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22842 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22844 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22846 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22847 * csu/libc-tls.c: Nor here.
22848 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22850 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22851 (__libc_message): Never call vsyslog.
22853 2013-03-28 Alan Modra <amodra@gmail.com>
22855 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22857 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22860 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22863 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22867 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22870 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22871 Don't add gid passed as argument.
22873 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22875 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22878 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22879 imaginary part between 1.0 and 1.5 and real part less than 0.5
22881 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22882 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22883 * math/libm-test.inc (cacos_test): Add more tests.
22884 (casin_test): Likewise.
22885 (casinh_test): Likewise.
22886 * sysdeps/i386/fpu/libm-test-ulps: Update.
22887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22889 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22891 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22894 (denorm): Likewise.
22895 (__dbl_mp): Likewise.
22896 (add_magnitudes): Likewise.
22897 (sub_magnitudes): Likewise.
22905 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22907 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22908 (__dubcos): Likewise.
22909 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22910 (__ieee754_acos): Likewise.
22911 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22912 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22913 (__exp1): Likewise.
22914 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22917 (my_log2): Likewise.
22918 (checkint): Likewise.
22919 * sysdeps/ieee754/dbl-64/e_remainder.c
22920 (__ieee754_remainder): Likewise.
22921 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22923 (bsloww): Likewise.
22924 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22926 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22927 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22928 MANTISSA_STORE_T to store computations on mantissa. Use
22929 macros for rounding and division.
22930 (denorm): Likewise.
22931 (__dbl_mp): Likewise.
22932 (add_magnitudes): Likewise.
22933 (sub_magnitudes): Likewise.
22936 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22937 powers of two in terms of TWOPOW macro.
22938 (mp_no): Make type of mantissa as MANTISSA_T.
22939 [!RADIXI]: Define RADIXI.
22940 [!TWO52]: Define TWO52.
22941 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22943 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22945 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22946 llroundl symbol when building for PPC32.
22948 2013-03-24 Mark H Weaver <mhw@netris.org>
22950 * manual/arith.texi (Normalization Functions): Fix prototypes for
22951 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22953 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22956 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22957 high value to check if expl overflow.
22958 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22959 to check for underflow and overflow.
22960 * math/libm-test.inc: Add exp test.
22962 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22965 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22968 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22970 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22973 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22975 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22976 wrap blocks consisting of several statements.
22978 * sysdeps/generic/math-tests.h: New file.
22979 * sysdeps/i386/fpu/math-tests.h: Likewise.
22980 * math/test-snan.c: Include it.
22981 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22983 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22986 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22987 (__ieee754_j0l): Do not improve calculations using cos of twice
22988 input for inputs above LDBL_MAX / 2.0L.
22989 (__ieee754_y0l): Likewise.
22990 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22991 (__ieee754_j1l): Do not improve calculations using cos of twice
22992 input for inputs above LDBL_MAX / 2.0L.
22993 (__ieee754_y1l): Likewise.
22994 * math/libm-test.inc (j0_test): Add another test.
22995 (j1_test): Likewise.
22996 (y0_test): Likewise.
22997 (y1_test): Likewise.
22998 * sysdeps/i386/fpu/libm-test-ulps: Update.
23000 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23002 * Rules ($(objpfx)bench-%.c): Include code from a C source
23005 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23008 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23009 imaginary part 1.0 and real part less than 0.5 specially.
23010 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23011 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23012 * math/libm-test.inc (cacos_test): Add more tests.
23013 (casin_test): Likewise.
23014 (casinh_test): Likewise.
23015 * sysdeps/i386/fpu/libm-test-ulps: Update.
23016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23018 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23021 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23023 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23025 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23026 * config.make.in (config-cflags-sse4): Remove variable.
23027 (config-cflags-avx): Likewise.
23028 (config-cflags-sse2avx): Likewise.
23029 (config-cflags-novzeroupper): Likewise.
23030 (config-asflags-i686): Likewise.
23031 (have-mfma4): Likewise.
23032 (have-as-vis3): Likewise.
23034 * configure.in (MIG): Do not AC_SUBST.
23035 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23036 (libc_cv_cc_sse4): Do not AC_SUBST.
23037 (libc_cv_cc_avx): Likewise.
23038 (libc_cv_cc_sse2avx): Likewise.
23039 (libc_cv_cc_novzeroupper): Likewise.
23040 (libc_cv_cc_fma4): Likewise.
23041 (libc_cv_as_i686): Likewise.
23042 (libc_cv_sparc_as_vis3): Likewise.
23043 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23045 (config-asflags-i686): Likewise.
23046 (config-cflags-avx): Likewise.
23047 (config-cflags-sse2avx): Likewise.
23048 (have-mfma4): Likewise.
23049 (config-cflags-novzeroupper): Likewise.
23050 * sysdeps/mach/configure.in (MIG): Likewise.
23051 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23052 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23054 (config-cflags-avx): Likewise.
23055 (config-cflags-sse2avx): Likewise.
23056 (have-mfma4): Likewise.
23057 (config-cflags-novzeroupper): Likewise.
23058 * configure: Regenerated.
23059 * sysdeps/i386/configure: Likewise.
23060 * sysdeps/mach/configure: Likewise.
23061 * sysdeps/sparc/configure: Likewise.
23062 * sysdeps/x86_64/configure: Likewise.
23064 2013-03-20 Roland McGrath <roland@hack.frob.com>
23067 * locale/programs/localedef.c (options): Put N_ translation marker
23068 on argument names, not just descriptions.
23070 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23072 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23074 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23077 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23079 2013-03-19 Roland McGrath <roland@hack.frob.com>
23081 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23082 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23083 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23084 [!BEFORE_ABORT] (before_abort): New function.
23085 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23086 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23087 (writev_for_fatal): New function.
23088 (WRITEV_FOR_FATAL): New macro; call that.
23089 (backtrace_and_maps): New function.
23090 (BEFORE_ABORT): New macro; call that.
23091 (struct str_list): Type removed.
23092 (__libc_message, __libc_fatal): Functions removed.
23093 Include <sysdeps/posix/libc_fatal.c> instead.
23095 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23097 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23099 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23102 2013-03-19 Andreas Schwab <schwab@suse.de>
23104 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23105 * sysdeps/gnu/configure: Regenerate.
23107 * configure.in: Substitute libc_cv_rtlddir.
23108 * configure: Regenerate.
23109 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23110 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23111 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23112 * elf/Makefile (install-others, CFLAGS-interp.c)
23113 (ldso_install, common-ldd-rewrite): Likewise.
23114 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23115 $(inst_slibdir)/$(rtld-installed-name).
23116 * scripts/rellns-sh: Add -p option.
23117 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23120 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23122 * manual/nptl.texi: Renamed to ...
23123 * manual/threads.texi: ... this.
23124 * manual/Makefile (chapters): Update.
23126 2013-03-18 Roland McGrath <roland@hack.frob.com>
23129 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23130 on argument names, not just descriptions.
23131 * malloc/memusagestat.c (options): Likewise.
23132 * nss/getent.c (options): Likewise.
23134 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23137 * iconv/iconv_prog.c (options): Put N_ translation marker
23138 on argument names, not just descriptions.
23139 * iconv/iconvconfig.c (options): Likewise.
23141 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23143 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23144 implementation which is faster on all x86_64 architectures.
23145 Tested on AMD, Intel Nehalem, SNB, IVB.
23146 * sysdeps/x86_64/strnlen.S: Likewise.
23148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23149 Remove all multiarch strlen and strnlen versions.
23150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23151 Remove strlen and strnlen related parts.
23153 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23154 Inline strlen part.
23155 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23157 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23158 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23159 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23160 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23161 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23162 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23164 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23166 * manual/memory.texi (Malloc Tunable Parameters):
23167 Sort parameters alphabetically. Add comments for missing entries.
23169 2013-03-17 David S. Miller <davem@davemloft.net>
23171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23173 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23176 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23177 for arguments at most half maximum finite value.
23178 * math/libm-test.inc (j0_test): Add more tests.
23179 (j1_test): Likewise.
23180 (y0_test): Likewise.
23181 (y1_test): Likewise.
23182 * sysdeps/i386/fpu/libm-test-ulps: Update.
23183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23186 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23187 1 / x and functions P and Q for arguments above 0x1p256L.
23188 (__ieee754_y0l): Likewise.
23189 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23190 (__ieee754_y1l): Likewise.
23191 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23192 (j1_test): Likewise.
23193 (y0_test): Likewise.
23194 (y1_test): Likewise.
23196 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23198 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23201 2013-03-15 Roland McGrath <roland@hack.frob.com>
23203 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23204 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23205 zero since it's initialized to EXEC_PAGESIZE.
23207 * sysdeps/unix/sysv/linux/ldsodefs.h
23208 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23209 * sysdeps/generic/ldsodefs.h: ... here.
23211 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23213 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23215 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23217 * math/test-snan.c: Renamed from
23218 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23219 * math/Makefile (tests): Add test-snan.
23220 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23223 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23224 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23226 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23227 __builtin_nan family of functions.
23228 * math/libm-test.inc (initialize): Initialize qnan_value with
23229 __builtin_nan family of functions.
23230 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23232 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23234 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23235 storage class. Initialize qNaN_var and sNaN_var with
23236 __builtin_nan and __builtin_nans families of functions,
23239 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23240 (sqrt_test): Remove duplicate test with qNaN input.
23241 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23242 (round_test, signbit_test, significand_test): Note missing +/-Inf
23243 as well as qNaN tests.
23245 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23246 qNaN_var. Fix a few strings, too.
23247 * math/libm-test.inc (nan_value): Rename to qnan_value.
23248 * math/gen-libm-test.pl (%beautify): Adjust to that.
23249 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23250 * math/test-misc.c (main): Likewise.
23251 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23252 to __qnan_bytes, and __qnan_union, respectively.
23253 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23255 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23256 and lqnanval, respectively.
23257 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23258 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23259 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23260 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23262 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23263 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23266 * math/test-misc.c (main): Fix copy'n'pastos.
23267 * misc/tst-efgcvt.c (special): Likewise.
23269 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23270 Remove declarations.
23272 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23274 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23275 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23276 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23277 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23279 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23281 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23282 macro to return vdso values correctly in IFUNC implementations.
23283 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23284 Optimization by using IFUNC.
23286 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23287 Richard Henderson <rth@redhat.com>
23288 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23290 * Makefile.in (bench): New target.
23291 * NEWS: Mention the benchmark framework.
23292 * Rules (bench): Likewise.
23293 (binaries-bench): Generate binaries for functions to
23295 * benchtests/Makefile: New makefile for benchmark tests.
23296 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23298 * benchtests/exp-inputs: New input file for EXP function.
23299 * benchtests/pow-inputs: New input file for POW function.
23300 * scripts/bench.pl: New script to generate source files for
23301 benchmark programs.
23303 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23305 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23306 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23307 computations on mantissa. Use macros for rounding and
23309 (denorm): Likewise.
23310 (__dbl_mp): Likewise.
23311 (add_magnitudes): Likewise.
23312 (sub_magnitudes): Likewise.
23315 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23316 powers of two in terms of TWOPOW macro.
23317 (mp_no): Make type of mantissa as MANTISSA_T.
23318 [!RADIXI]: Define RADIXI.
23319 [!TWO52]: Define TWO52.
23320 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23322 * manual/nptl.texi (cindex): Modify threads to pthreads.
23324 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23326 * sysdeps/x86_64/preconfigure: Regenerated.
23328 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23331 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23333 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23334 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23336 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23337 * math/libm-test.inc (j0_test): Do not allow one spurious
23338 underflow exception.
23339 (y1_test): Likewise.
23341 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23343 * manual/Makefile (chapters): Add nptl.
23344 * manual/debug.texi (Debugging Support): Add link to Threads
23346 * manual/nptl.texi: New file.
23348 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23350 2013-03-14 Petr Baudis <pasky@ucw.cz>
23352 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23353 for non-NULL pointer before the memory validity test. Pointed
23354 out by Holger Brunck <holger.brunck@keymile.com>.
23356 2013-03-13 Andreas Schwab <schwab@suse.de>
23358 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23361 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23363 * timezone/zic.c: Update from tzcode 2013b.
23365 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23367 * manual/install.texi (Configuring and compiling):
23368 Mention i686 and i586.
23369 * INSTALL: Regenerate.
23371 2013-03-12 Roland McGrath <roland@hack.frob.com>
23373 * sysdeps/init_array/elf-init.c: New file.
23375 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23376 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23378 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23379 __gmon_start__ as global, but as static with a .preinit_array pointer.
23380 * sysdeps/init_array/gmon-start.c: New file. Use that.
23381 * sysdeps/init_array/crti.S: New file, empty except for comments.
23382 * sysdeps/init_array/crtn.S: Likewise.
23384 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23386 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23389 Remove Prefer_SSE_for_memop.
23390 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23391 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23392 HAS_PREFER_SSE_FOR_MEMOP.
23393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23396 Remove bzero, memset ifunc support.
23397 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23398 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23399 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23400 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23402 2013-03-11 Andreas Schwab <schwab@suse.de>
23405 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23408 (GLIBC_2.16): Remove pthread_atfork.
23410 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23412 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23413 (ptestcases.h): Likewise.
23415 2013-03-08 Roland McGrath <roland@hack.frob.com>
23417 * Makeconfig ($(common-objpfx)config.status): Depend on
23418 sysdeps/*/preconfigure{,.in} too.
23420 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23422 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23423 (__free_hook): Use void * instead of __malloc_ptr_t.
23424 (__malloc_hook): Likewise.
23425 (__realloc_hook): Likewise.
23426 (__memalign_hook): Likewise.
23427 (__after_morecore_hook): Likewise.
23428 * malloc/arena.c (save_malloc_hook): Likewise.
23429 (save_free_hook): Likewise.
23430 * malloc/hooks.c (malloc_hook_ini): Likewise.
23431 (realloc_hook_ini): Likewise.
23432 (memalign_hook_ini): Likewise.
23433 * malloc/malloc.c (malloc_hook_ini): Likewise.
23434 (realloc_hook_ini): Likewise.
23435 (memalign_hook_ini): Likewise.
23436 (__free_hook): Likewise.
23437 (__malloc_hook): Likewise.
23438 (__realloc_hook): Likewise.
23439 (__memalign_hook): Likewise.
23440 (__libc_malloc): Likewise.
23441 (__libc_free): Likewise.
23442 (__libc_realloc): Likewise.
23443 (__libc_memalign): Likewise.
23444 (__libc_valloc): Likewise.
23445 (__libc_pvalloc): Likewise.
23446 (__libc_calloc): Likewise.
23447 (__posix_memalign): Likewise.
23448 * malloc/morecore.c (__sbrk): Likewise.
23449 (__default_morecore): Likewise.
23451 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23453 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23454 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23455 __malloc_ptrdiff_t.
23457 * malloc/malloc.h (__malloc_size_t): Remove macro.
23458 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23460 (old_memalign_hook): Likewise.
23461 (old_realloc_hook): Likewise.
23462 (struct hdr): Likewise.
23464 (mallochook): Likewise.
23465 (memalignhook): Likewise.
23466 (reallochook): Likewise.
23467 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23468 (tr_old_realloc_hook): Likewise.
23469 (tr_old_memalign_hook): Likewise.
23470 (tr_mallochook): Likewise.
23471 (tr_reallochook): Likewise.
23472 (tr_memalignhook): Likewise.
23474 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23477 default_ldbl_pack and using as default implementation.
23478 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23480 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23481 redundant definition.
23482 (ldbl_insert_mantissa): Likewise.
23483 (ldbl_canonicalize): Likewise.
23484 (ldbl_nearbyint): Likewise.
23485 (ldbl_pack): Rename to ldbl_pack_ppc.
23486 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23487 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23488 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23490 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23493 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23494 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23495 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23497 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23498 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23499 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23501 2013-03-07 Andreas Jaeger <aj@suse.de>
23503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23506 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23508 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23509 Include mpa.h and declare __MPEXP.
23510 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23511 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23512 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23513 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23514 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23515 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23516 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23518 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23519 (__slowpow): Use long double EXPL and LOGL functions to
23521 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23522 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23523 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23524 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23525 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23526 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23529 intermediate variable to calculate exponent.
23531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23535 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23536 [!NO__SQR]: Define __sqr.
23537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23538 and NO__SQR. Remove all code except __mul and __sqr. Include
23539 sysdeps/ieee754/dbl-64/mpa.c.
23540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23543 * posix/Makefile (tests): Add tst-pathconf.
23544 * posix/tst-pathconf.c: New test case.
23545 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23547 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23549 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23551 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23553 2013-03-06 Andreas Jaeger <aj@suse.de>
23555 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23556 definition via __MAP_ANONYMOUS.
23558 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23559 it's not part of Linux headers.
23561 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23562 (MAP_HUGE_MASK): Define.
23564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23566 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23567 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23569 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23570 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23572 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23575 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23577 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23578 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23579 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23580 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23581 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23582 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23584 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23587 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23588 Handle f2fs and efivarfs.
23590 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23593 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23594 (EFIVARFS_MAGIC): Add.
23595 (F2FS_LINK_MAX): Add.
23597 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23599 * stdio-common/vfprintf.c: Replace __builtin_expect with
23602 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23605 * sysdeps/generic/bp-sym.h: Remove file.
23606 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23607 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23608 <bp-sym.h> and <bp-asm.h>.
23609 (__longjmp): Don't use BP_SYM.
23610 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23612 (memcpy): Don't use BP_SYM.
23613 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23614 <bp-sym.h> and <bp-asm.h>.
23615 (memcpy): Don't use BP_SYM.
23616 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23618 (memcpy): Don't use BP_SYM.
23619 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23621 (memset): Don't use BP_SYM.
23622 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23623 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23624 (__bzero): Don't use BP_SYM.
23625 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23626 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23627 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23628 <bp-sym.h> and <bp-asm.h>.
23629 (memcmp): Don't use BP_SYM. Remove comment about bounded
23631 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23632 <bp-sym.h> and <bp-asm.h>.
23633 (memcpy): Don't use BP_SYM.
23634 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23635 <bp-sym.h> and <bp-asm.h>.
23636 (memset): Don't use BP_SYM.
23637 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23638 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23639 (__bzero): Don't use BP_SYM.
23640 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23641 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23642 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23643 <bp-sym.h> and <bp-asm.h>.
23644 (strncmp): Don't use BP_SYM. Remove comment about bounded
23646 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23647 <bp-sym.h> and <bp-asm.h>.
23648 (memcpy): Don't use BP_SYM.
23649 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23650 <bp-sym.h> and <bp-asm.h>.
23651 (memset): Don't use BP_SYM.
23652 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23653 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23654 (__bzero): Don't use BP_SYM.
23655 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23656 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23657 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23658 <bp-sym.h> and <bp-asm.h>.
23659 (__memchr): Don't use BP_SYM.
23660 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23661 <bp-sym.h> and <bp-asm.h>.
23662 (memcmp): Don't use BP_SYM. Remove comment about bounded
23664 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23665 <bp-sym.h> and <bp-asm.h>.
23666 (memcpy): Don't use BP_SYM.
23667 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23668 <bp-sym.h> and <bp-asm.h>.
23669 (__mempcpy): Don't use BP_SYM.
23670 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23671 <bp-sym.h> and <bp-asm.h>.
23672 (__memrchr): Don't use BP_SYM.
23673 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23674 <bp-sym.h> and <bp-asm.h>.
23675 (memset): Don't use BP_SYM.
23676 (__bzero): Likewise.
23677 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23678 <bp-sym.h> and <bp-asm.h>.
23679 (__rawmemchr): Don't use BP_SYM.
23680 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23681 <bp-sym.h> and <bp-asm.h>.
23682 (__STRCMP): Don't use BP_SYM.
23683 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23684 <bp-sym.h> and <bp-asm.h>.
23685 (strchr): Don't use BP_SYM.
23686 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23687 <bp-sym.h> and <bp-asm.h>.
23688 (__strchrnul): Don't use BP_SYM.
23689 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23690 <bp-sym.h> and <bp-asm.h>.
23691 (strlen): Don't use BP_SYM.
23692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23693 <bp-sym.h> and <bp-asm.h>.
23694 (strncmp): Don't use BP_SYM. Remove comment about bounded
23696 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23697 <bp-sym.h> and <bp-asm.h>.
23698 (__strnlen): Don't use BP_SYM.
23699 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23700 <bp-sym.h> and <bp-asm.h>.
23701 (__GI__setjmp): Don't use BP_SYM.
23702 (_setjmp): Likewise.
23703 (__sigsetjmp): Likewise.
23704 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23705 (L(start_addresses)): Don't use BP_SYM.
23706 (_start): Likewise.
23707 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23709 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23710 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23711 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23712 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23713 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23715 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23716 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23717 about bounded pointers.
23718 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23719 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23720 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23722 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23723 about bounded pointers. Remove GKM FIXME comments.
23724 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23725 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23727 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23728 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23729 Remove GKM FIXME comments.
23730 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23731 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23732 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23734 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23735 about bounded pointers. Remove GKM FIXME comment.
23736 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23738 (strncmp): Don't use BP_SYM. Remove comment about bounded
23740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23741 <bp-sym.h> and <bp-asm.h>.
23742 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23744 <bp-sym.h> and <bp-asm.h>.
23745 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23748 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23750 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23753 2013-03-05 David S. Miller <davem@davemloft.net>
23755 * po/es.po: Update from translation team.
23757 2013-03-05 Andreas Jaeger <aj@suse.de>
23759 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23760 <bits/mman-linux.h>.
23761 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23763 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23764 <bits/mman-linux.h> to end of file.
23765 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23767 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23768 <bits/mman-linux.h> to end of file.
23769 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23772 <bits/mman-linux.h> to end of file.
23774 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23775 (MCL_CURRENT, MCL_FUTURE): Define here.
23777 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23780 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23782 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23784 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23786 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23787 fourth parameter needed for rt_sigprocmask syscall.
23788 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23789 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23790 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23791 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23792 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23793 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23795 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23798 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23799 comment about bounded pointers.
23800 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23801 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23803 2013-03-04 Andreas Jaeger <aj@suse.de>
23805 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23806 common definitions.
23808 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23809 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23810 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23811 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23813 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23815 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23818 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23819 __ieee754_sqrl instead of __sqrl.
23821 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23823 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23824 * sysdeps/powerpc/fpu_control.h: ... here.
23825 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23826 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23827 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23828 * sysdeps/powerpc/bits/mathinline.h: ... here.
23830 2013-03-01 Roland McGrath <roland@hack.frob.com>
23832 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23833 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23834 to just [NEED_DL_SYSINFO_DSO].
23835 * elf/dl-support.c: Likewise.
23836 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23837 * elf/rtld.c (dl_main): Likewise.
23838 * elf/setup-vdso.h (setup_vdso): Likewise.
23839 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23840 * sysdeps/unix/sysv/linux/dl-sysdep.c
23841 (_dl_discover_osversion): Likewise.
23843 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23845 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23846 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23848 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23850 * NEWS: Mention libm performance improvements and non-x86 PI
23853 * csu/libc-start.c (__pthread_initialize_minimal): Change
23854 function arguments.
23855 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23857 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23860 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23861 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23862 <bp-sym.h> and <bp-asm.h>.
23863 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23864 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23866 (memcpy): Don't use BP_SYM.
23867 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23869 (__mpn_add_n): Don't use BP_SYM.
23870 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23871 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23873 (__mpn_addmul_1): Don't use BP_SYM.
23874 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23875 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23877 (_setjmp): Don't use BP_SYM.
23878 (__novmx_setjmp): Likewise.
23879 (__GI__setjmp): Likewise.
23880 (__vmx_setjmp): Likewise.
23881 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23883 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23884 (__bzero): Don't use BP_SYM.
23885 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23886 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23887 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23888 <bp-sym.h> and <bp-asm.h>.
23889 (memcpy): Don't use BP_SYM.
23890 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23891 <bp-sym.h> and <bp-asm.h>.
23892 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23893 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23894 <bp-sym.h> and <bp-asm.h>.
23895 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23896 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23898 (__mpn_lshift): Don't use BP_SYM.
23899 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23900 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23902 (memset): Don't use BP_SYM.
23903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23905 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23907 (__mpn_mul_1): Don't use BP_SYM.
23908 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23909 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23910 <bp-sym.h> and <bp-asm.h>.
23911 (memcmp): Don't use BP_SYM.
23912 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23913 <bp-sym.h> and <bp-asm.h>.
23914 (memcpy): Don't use BP_SYM.
23915 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23916 <bp-sym.h> and <bp-asm.h>.
23917 (memset): Don't use BP_SYM.
23918 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23919 <bp-sym.h> and <bp-asm.h>.
23920 (strncmp): Don't use BP_SYM.
23921 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23922 <bp-sym.h> and <bp-asm.h>.
23923 (memcpy): Don't use BP_SYM.
23924 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23925 <bp-sym.h> and <bp-asm.h>.
23926 (memset): Don't use BP_SYM.
23927 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23928 <bp-sym.h> and <bp-asm.h>.
23929 (__memchr): Don't use BP_SYM.
23930 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23931 <bp-sym.h> and <bp-asm.h>.
23932 (memcmp): Don't use BP_SYM.
23933 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23934 <bp-sym.h> and <bp-asm.h>.
23935 (memcpy): Don't use BP_SYM.
23936 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23937 <bp-sym.h> and <bp-asm.h>.
23938 (__mempcpy): Don't use BP_SYM.
23939 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23940 <bp-sym.h> and <bp-asm.h>.
23941 (__memrchr): Don't use BP_SYM.
23942 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23943 <bp-sym.h> and <bp-asm.h>.
23944 (memset): Don't use BP_SYM.
23945 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23946 <bp-sym.h> and <bp-asm.h>.
23947 (__rawmemchr): Don't use BP_SYM.
23948 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23949 <bp-sym.h> and <bp-asm.h>.
23950 (__STRCMP): Don't use BP_SYM.
23951 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23952 <bp-sym.h> and <bp-asm.h>.
23953 (strchr): Don't use BP_SYM.
23954 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23955 <bp-sym.h> and <bp-asm.h>.
23956 (__strchrnul): Don't use BP_SYM.
23957 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23958 <bp-sym.h> and <bp-asm.h>.
23959 (strlen): Don't use BP_SYM.
23960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23961 <bp-sym.h> and <bp-asm.h>.
23962 (strncmp): Don't use BP_SYM.
23963 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23964 <bp-sym.h> and <bp-asm.h>.
23965 (__strnlen): Don't use BP_SYM.
23966 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23968 (__mpn_rshift): Don't use BP_SYM.
23969 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23970 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23971 <bp-sym.h> and <bp-asm.h>.
23972 (__sigsetjmp): Don't use BP_SYM.
23973 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23974 (L(start_addresses)): Don't use BP_SYM.
23975 (_start): Likewise.
23976 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23978 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23979 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23980 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23981 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23983 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23984 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23985 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23986 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23988 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23990 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23991 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23993 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23995 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23996 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23997 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23999 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24001 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24003 (strncmp): Don't use BP_SYM,
24004 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24006 (__mpn_sub_n): Don't use BP_SYM.
24007 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24008 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24010 (__mpn_submul_1): Don't use BP_SYM.
24011 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24013 <bp-sym.h> and <bp-asm.h>.
24014 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24016 <bp-sym.h> and <bp-asm.h>.
24017 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24020 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24023 Use ZK to minimize writes to Z.
24024 (sub_magnitudes): Simplify code a bit.
24025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24026 Use ZK to minimize writes to Z.
24027 (sub_magnitudes): Simplify code a bit.
24029 2013-02-27 Roland McGrath <roland@hack.frob.com>
24031 * csu/gmon-start.c: Add special exception to license text.
24033 2013-02-27 Richard Henderson <rth@redhat.com>
24035 * scripts/config.guess: Update from config.git.
24036 * scripts/config.sub: Likewise.
24038 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24040 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24042 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24044 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24046 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24048 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24050 2013-02-26 Roland McGrath <roland@hack.frob.com>
24052 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24053 [$(build-shared = yes].
24055 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24057 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24058 (__mul): Reduce iterations for calculating mantissa.
24060 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24062 (__mpranred): Likewise.
24065 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24066 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24068 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24070 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24071 Define __attribute__.
24073 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24075 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24077 * posix/regex_internal.h (__attribute): Remove.
24078 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24079 (re_string_context_at): Likewise.
24080 (bitset_not): Use __attribute__ and mark function as possibly
24082 (bitset_merge): Likewise.
24083 (bitset_mask): Likewise.
24084 (re_string_char_size_at): Likewise.
24085 (re_string_wchar_at): Likewise.
24086 (re_string_elem_size_at): Likewise.
24088 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24090 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24094 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24098 (denorm): Likewise.
24099 (__dbl_mp): Likewise.
24100 (add_magnitudes): Likewise.
24101 (sub_magnitudes): Likewise.
24105 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24108 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24111 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24115 up changes with default code.
24116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24119 2013-02-24 Allan McRae <allan@archlinux.org>
24121 * manual/socket.texi (The Internet Namespace): Order menu items
24122 to match that in the file.
24124 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24125 node listing of the info page menu.
24127 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24130 * sysdeps/i386/bp-asm.h: Remove file.
24131 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24132 (PARMS): Do not use macros from bp-asm.h.
24136 (__mpn_add_n): Do not use BP_SYM
24137 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24139 (PARMS): Do not use macros from bp-asm.h.
24142 (__mpn_addmul_1): Do not use BP_SYM
24143 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24145 (PARMS): Do not use macros from bp-asm.h.
24146 (SIGMSK): Likewise.
24147 (_setjmp): Likewise. Do not use BP_SYM.
24148 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24150 (PARMS): Do not use macros from bp-asm.h.
24151 (SIGMSK): Likewise.
24152 (setjmp): Likewise. Do not use BP_SYM.
24153 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24155 (PARMS): Do not use macros from bp-asm.h.
24156 (__frexp): Do not use BP_SYM.
24158 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24160 (PARMS): Do not use macros from bp-asm.h.
24161 (__frexpf): Do not use BP_SYM.
24162 (frexpf): Likewise.
24163 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24165 (PARMS): Do not use macros from bp-asm.h.
24166 (__frexpl): Do not use BP_SYM.
24167 (frexpl): Likewise.
24168 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24170 (PARMS): Do not use macros from bp-asm.h.
24171 (__remquo): Do not use BP_SYM.
24172 (remquo): Likewise.
24173 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24175 (PARMS): Do not use macros from bp-asm.h.
24176 (__remquof): Do not use BP_SYM.
24177 (remquof): Likewise.
24178 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24180 (PARMS): Do not use macros from bp-asm.h.
24181 (__remquol): Do not use BP_SYM.
24182 (remquol): Likewise.
24183 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24185 (PARMS): Do not use macros from bp-asm.h.
24188 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24189 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24191 (PARMS): Do not use macros from bp-asm.h.
24192 (strlen): Do not use BP_SYM.
24193 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24195 (PARMS): Do not use macros from bp-asm.h.
24199 (__mpn_add_n): Do not use BP_SYM.
24200 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24202 (PARMS): Do not use macros from bp-asm.h.
24205 (__mpn_addmul_1): Do not use BP_SYM.
24206 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24209 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24211 (PARMS): Do not use macros from bp-asm.h.
24214 (__mpn_lshift): Do not use BP_SYM.
24215 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24217 (PARMS): Do not use macros from bp-asm.h.
24221 (memcpy): Likewise. Do not use BP_SYM.
24222 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24223 libc_hidden_def and weak_alias.
24224 (mempcpy): Do not use BP_SYM in weak_alias.
24225 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24227 (PARMS): Do not use macros from bp-asm.h.
24230 [!BZERO_P] (CHR): Likewise.
24231 (memset): Likewise. Do not use BP_SYM.
24232 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24234 (PARMS): Do not use macros from bp-asm.h.
24237 (__mpn_mul_1): Do not use BP_SYM.
24238 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24240 (PARMS): Do not use macros from bp-asm.h.
24243 (__mpn_rshift): Do not use BP_SYM.
24244 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24246 (PARMS): Do not use macros from bp-asm.h.
24249 (strchr): Likewise. Do not use BP_SYM.
24250 (index): Do not use BP_SYM in weak_alias.
24251 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24253 (PARMS): Do not use macros from bp-asm.h.
24256 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24257 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24259 (PARMS): Do not use macros from bp-asm.h.
24260 (strlen): Do not use BP_SYM.
24261 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24263 (PARMS): Do not use macros from bp-asm.h.
24267 (__mpn_sub_n): Do not use BP_SYM.
24268 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24270 (PARMS): Do not use macros from bp-asm.h.
24273 (__mpn_submul_1): Do not use BP_SYM.
24274 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24276 (PARMS): Do not use macros from bp-asm.h.
24280 (__mpn_add_n): Do not use BP_SYM.
24281 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24284 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24286 (PARMS): Do not use macros from bp-asm.h.
24289 (memcmp): Do not use BP_SYM.
24290 (bcmp): Do not use BP_SYM in weak_alias.
24291 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24293 (PARMS): Do not use macros from bp-asm.h.
24297 (memcpy): Likewise. Do not use BP_SYM.
24298 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24300 (PARMS): Do not use macros from bp-asm.h.
24304 (memmove): Likewise. Do not use BP_SYM.
24305 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24307 (PARMS): Do not use macros from bp-asm.h.
24311 (__mempcpy): Likewise. Do not use BP_SYM.
24312 (mempcpy): Do not use BP_SYM in weak_alias.
24313 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24315 (PARMS): Do not use macros from bp-asm.h.
24318 [!BZERO_P] (CHR): Likewise.
24319 (memset): Likewise. Do not use BP_SYM.
24320 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24322 (PARMS): Do not use macros from bp-asm.h.
24324 (strcmp): Do not use BP_SYM.
24325 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24327 (PARMS): Do not use macros from bp-asm.h.
24330 [USE_AS_STRTOK_R] (SAVE): Likewise.
24331 (FUNCTION): Likewise. Do not use BP_SYM.
24332 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24334 (strtok_r): Likewise.
24335 (__GI___strtok_r): Likewise.
24336 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24337 (PARMS): Do not use macros from bp-asm.h.
24340 (__mpn_lshift): Do not use BP_SYM.
24341 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24342 (PARMS): Do not use macros from bp-asm.h.
24345 (__memchr): Do not use BP_SYM.
24346 (memchr): Do not use BP_SYM in weak_alias.
24347 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24348 (PARMS): Do not use macros from bp-asm.h.
24351 (memcmp): Do not use BP_SYM.
24352 (bcmp): Do not use BP_SYM in weak_alias.
24353 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24354 (PARMS): Do not use macros from bp-asm.h.
24357 (__mpn_mul_1): Do not use BP_SYM.
24358 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24360 (PARMS): Do not use macros from bp-asm.h.
24363 (__rawmemchr): Do not use BP_SYM.
24364 (rawmemchr): Do not use BP_SYM in weak_alias.
24365 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24366 (PARMS): Do not use macros from bp-asm.h.
24369 (__mpn_rshift): Do not use BP_SYM.
24370 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24371 (PARMS): Do not use macros from bp-asm.h.
24372 (SIGMSK): Likewise.
24373 (__sigsetjmp): Likewise. Do not use BP_SYM.
24374 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24375 (_start): Do not use BP_SYM.
24376 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24377 (PARMS): Do not use macros from bp-asm.h.
24380 (__stpcpy): Likewise. Do not use BP_SYM.
24381 (stpcpy): Do not use BP_SYM in weak_alias.
24382 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24384 (PARMS): Do not use macros from bp-asm.h.
24388 (__stpncpy): Likewise. Do not use BP_SYM.
24389 (stpncpy): Do not use BP_SYM in weak_alias.
24390 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24391 (PARMS): Do not use macros from bp-asm.h.
24394 (strchr): Likewise. Do not use BP_SYM.
24395 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24397 (PARMS): Do not use macros from bp-asm.h.
24400 (__strchrnul): Likewise. Do not use BP_SYM.
24401 (strchrnul): Do not use BP_SYM in weak_alias.
24402 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24404 (PARMS): Do not use macros from bp-asm.h.
24406 (strcspn): Do not use BP_SYM.
24407 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24409 (PARMS): Do not use macros from bp-asm.h.
24412 (strpbrk): Likewise. Do not use BP_SYM.
24413 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24415 (PARMS): Do not use macros from bp-asm.h.
24418 (strrchr): Likewise. Do not use BP_SYM.
24419 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24420 (PARMS): Do not use macros from bp-asm.h.
24422 (strspn): Do not use BP_SYM.
24423 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24424 (PARMS): Do not use macros from bp-asm.h.
24428 (FUNCTION): Likewise. Do not use BP_SYM.
24429 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24431 (strtok_r): Likewise.
24432 (__GI___strtok_r): Likewise.
24433 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24434 (PARMS): Do not use macros from bp-asm.h.
24438 (__mpn_sub_n): Do not use BP_SYM.
24439 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24441 (PARMS): Do not use macros from bp-asm.h.
24444 (__mpn_submul_1): Do not use BP_SYM.
24445 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24447 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24449 (PARMS): Do not use macros from bp-asm.h.
24454 (__clone): Do not use BP_SYM.
24455 (clone): Do not use BP_SYM in weak_alias.
24456 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24458 (PARMS): Do not use macros from bp-asm.h.
24460 (__mmap64): Do not use BP_SYM.
24461 (mmap64): Do not use BP_SYM in weak_alias.
24462 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24463 <bp-sym.h> and <bp-asm.h>.
24464 (PARMS): Do not use macros from bp-asm.h.
24465 (__posix_fadvise64_l64): Do not use BP_SYM.
24466 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24467 (PARMS): Do not use macros from bp-asm.h.
24469 (semtimedop): Do not use BP_SYM.
24470 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24473 2013-02-21 Allan McRae <allan@archlinux.org>
24475 * manual/message.texi (Charset conversion in gettext):
24476 Move @end statement to beginning of line.
24478 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24485 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24486 (denorm): Likewise.
24487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24490 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24492 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24493 tail-call to the resolved function if pltexit isn't needed.
24495 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24498 or Y being zero as being unlikely.
24499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24502 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24504 * manual/nss.texi (System Databases and Name Service Switch):
24505 Remove frobnicate @pxref.
24507 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24509 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24510 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24512 2013-02-20 Petr Machata <pmachata@redhat.com>
24514 * elf/elf.h (R_ARM_TARGET1): New macro.
24515 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24516 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24517 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24518 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24519 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24520 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24521 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24522 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24523 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24524 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24525 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24526 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24527 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24528 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24529 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24530 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24531 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24532 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24533 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24534 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24535 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24536 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24537 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24538 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24539 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24540 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24541 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24542 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24543 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24544 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24545 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24546 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24547 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24548 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24549 (R_ARM_THM_GOT_BREL12): Likewise.
24550 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24551 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24552 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24553 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24554 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24555 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24556 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24557 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24558 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24560 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24562 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24563 __attribute_used__ to __attribute__ ((unused)).
24565 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24567 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24570 comment formatting.
24571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24573 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24576 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24578 (ENTER): Remove both macro definitions.
24580 (CHECK_BOUNDS_LOW): Likewise.
24581 (CHECK_BOUNDS_HIGH): Likewise.
24582 (CHECK_BOUNDS_BOTH): Likewise.
24583 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24584 (RETURN_BOUNDED_POINTER): Likewise.
24585 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24586 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24587 (POP_ERRNO_LOCATION_RETURN): Likewise.
24588 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24589 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24590 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24592 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24593 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24594 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24595 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24596 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24597 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24598 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24599 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24600 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24601 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24602 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24603 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24604 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24605 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24607 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24608 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24610 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24611 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24612 * sysdeps/i386/i586/memset.S (memset): Likewise.
24613 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24614 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24615 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24617 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24618 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24619 Change uses of L(2) to L(out).
24620 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24621 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24622 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24623 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24624 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24626 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24627 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24629 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24630 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24631 (RETURN): Do not use macro LEAVE.
24632 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24633 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24634 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24635 * sysdeps/i386/i686/memset.S (memset): Likewise.
24636 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24637 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24638 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24639 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24641 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24642 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24643 L(1_2) and L(1_3) into L(1).
24644 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24645 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24646 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24647 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24648 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24649 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24650 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24651 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24652 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24654 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24655 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24656 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24657 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24658 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24659 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24660 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24661 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24662 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24663 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24664 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24665 * sysdeps/i386/strspn.S (strspn): Likewise.
24666 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24668 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24669 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24670 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24671 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24672 L(1_3) into L(1_1).
24673 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24674 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24675 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24677 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24679 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24681 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24684 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24686 * math/atest-exp.c (exp_mpn): Remove ROUND.
24687 * math/atest-exp2.c (exp_mpn): Likewise.
24688 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24690 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24691 * stdlib/tst-tls-atexit-lib.c: Likewise.
24692 * stdlib/tst-tls-atexit.c: Likewise.
24694 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24696 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24697 and __attribute_alloc_size__.
24699 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24701 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24702 __attribute_alloc_size__.
24703 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24704 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24706 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24708 * include/programs/xmalloc.h: New file.
24709 * catgets/gencat.c: Include it.
24710 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24711 * elf/pldd.c: Likewise.
24712 * iconv/iconv_charmap.c: Likewise.
24713 * iconv/iconvconfig.c: Likewise.
24714 * iconv/strtab.c: Likewise.
24715 * locale/programs/locale.c: Likewise.
24716 * locale/programs/localedef.h: Likewise.
24717 * locale/programs/simple-hash.c: Likewise.
24718 * nscd/nscd.h: Likewise.
24719 * nss/makedb.c: Likewise.
24720 * sysdeps/generic/ldconfig.h: Likewise.
24722 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24724 * Versions.def: Add GLIBC_2.18.
24725 * include/link.h (struct link_map): New member l_tls_dtor_count.
24726 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24727 (__call_tls_dtors): Likewise.
24728 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24729 __cxa_thread_atexit_impl.
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24738 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24746 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24747 (tests): Add test case tst-tls-atexit.
24748 (modules-names): Add shared library for tst-tls-atexit.
24749 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24750 (GLIBC_PRIVATE): Add __call_tls_dtors.
24751 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24753 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24754 * stdlib/tst-tls-atexit.c: New test case.
24755 * stdlib/tst-tls-atexit-lib.c: New test case.
24757 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24759 * elf/Versions (ld): Add _dl_find_dso_for_object.
24760 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24761 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24762 (dl_open_worker): Use _dl_find_dso_for_object.
24763 * elf/dl-sym.c (do_sym): Likewise.
24764 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24766 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24768 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24769 Syntactic changes only.
24770 (_dl_runtime_profile): Do a tail-call to the resolved function.
24772 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24775 * sysdeps/x86_64/bp-asm.h: Remove file.
24776 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24777 <bp-sym.h> and <bp-asm.h>.
24778 (__clone): Do not use BP_SYM.
24779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24780 <bp-sym.h> and <bp-asm.h>.
24781 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24782 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24784 (_setjmp): Do not use BP_SYM.
24785 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24787 (setjmp): Do not use BP_SYM.
24788 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24790 (mempcpy): Do not use BP_SYM in weak_alias.
24791 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24793 (strchr): Do not use BP_SYM.
24794 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24796 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24797 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24798 (_start): Do not use BP_SYM.
24799 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24801 (strcat): Do not use BP_SYM.
24802 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24804 (STRCMP): Do not use BP_SYM.
24805 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24807 (STRCPY): Do not use BP_SYM.
24808 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24810 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24812 (FUNCTION): Do not use BP_SYM.
24813 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24815 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24817 2013-02-17 Andreas Jaeger <aj@suse.de>
24819 * time/Versions: Sort entries.
24820 * string/Versions: Likewise.
24821 * resolv/Versions: Likewise.
24822 * posix/Versions: Likewise.
24823 * iconv/Versions: Likewise.
24824 * elf/Versions: Likewise.
24825 * wcsmbs/Versions: Likewise.
24827 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24829 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24830 loop termination condition.
24832 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24833 variable to calculate EZ.
24836 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24837 the lower precision input.
24839 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24842 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24843 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24844 (run-via-rtld-prefix): Do not handle %-bp tests.
24845 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24846 (all-object-suffixes): Remove .ob.
24847 (bppfx): Remove variable.
24848 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24849 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24850 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24851 [$(build-bounded) = yes] (libtype.ob): Likewise.
24852 * Makerules (elide-routines.ob): Remove variable.
24853 (do-tests-clean): Do not handle *-bp.out.
24854 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24855 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24856 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24857 (tests): Do not include $(tests-bp.out).
24858 (xtests): Do not include $(xtests-bp.out).
24859 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24860 [$(build-bounded) = yes] ($(addprefix
24861 $(objpfx),$(binaries-bounded))): Remove rule.
24862 ($(objpfx)%-bp.out): Remove rule.
24863 * config.make.in (build-bounded): Remove variable.
24864 * crypt/Makefile [$(build-bounded) = yes]
24865 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24866 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24867 append to variable.
24868 [$(build-bounded) = yes] (install-lib): Likewise.
24869 [$(build-bounded) = yes] (generated): Likewise.
24870 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24872 * intl/Makefile [$(build-bounded) = yes]
24873 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24874 * math/Makefile [$(build-bounded) = yes]
24875 ($(tests:%=$(objpfx)%-bp): Likewise.
24876 * misc/Makefile [$(build-bounded) = yes]
24877 ($(objpfx)tst-tsearch-bp): Likewise.
24878 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24879 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24881 * string/Makefile (o-objects.ob): Remove variable.
24882 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24883 (CFLAGS-.ob): Remove variable.
24884 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24885 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24886 both definitions of variable.
24887 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24888 (ASFLAGS-.ob): Remove variable.
24890 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24893 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24894 Remove __BOUNDED_POINTERS__ from condition.
24895 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24896 * string/bits/string2.h [!__NO_STRING_INLINES &&
24897 !__BOUNDED_POINTERS__]: Likewise.
24898 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24900 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24901 Remove conditional code.
24902 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24903 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24904 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24908 * csu/libc-start.c: Do not include <bp-sym.h>.
24909 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24910 * elf/dl-open.c: Do not include <bp-sym.h>.
24911 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24912 * math/fegetenv.c: Do not include <bp-sym.h>.
24913 (fegetenv): Do not use BP_SYM in versioned symbols.
24914 * nptl/sysdeps/pthread/bits/libc-lockP.h
24915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24918 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24920 (__pthread_mutex_destroy): Likewise.
24921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24922 (__pthread_mutex_lock): Likewise.
24923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24924 (__pthread_mutex_trylock): Likewise.
24925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24926 (__pthread_mutex_unlock): Likewise.
24927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24928 (__pthread_mutexattr_init): Likewise.
24929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24930 (__pthread_mutexattr_destroy): Likewise.
24931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24932 (__pthread_mutexattr_settype): Likewise.
24933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24934 (__pthread_rwlock_init): Likewise.
24935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24936 (__pthread_rwlock_destroy): Likewise.
24937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24938 (__pthread_rwlock_rdlock): Likewise.
24939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24940 (__pthread_rwlock_tryrdlock): Likewise.
24941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24942 (__pthread_rwlock_wrlock): Likewise.
24943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24944 (__pthread_rwlock_trywrlock): Likewise.
24945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24946 (__pthread_rwlock_unlock): Likewise.
24947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24948 (__pthread_key_create): Likewise.
24949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24950 (__pthread_setspecific): Likewise.
24951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24952 (__pthread_getspecific): Likewise.
24953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24956 (_pthread_cleanup_push_defer): Likewise.
24957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24958 (_pthread_cleanup_pop_restore): Likewise.
24959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24960 (pthread_setcancelstate): Likewise.
24961 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24963 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24964 (memchr): Do not use BP_SYM in weak_alias.
24965 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24966 (fegetenv): Do not use BP_SYM in versioned symbols.
24967 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24968 (fesetenv): Do not use BP_SYM in versioned symbols.
24969 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24970 (feupdateenv): Do not use BP_SYM in versioned symbols.
24971 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24972 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24973 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24974 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24975 (open64): Do not use BP_SYM in weak_alias.
24976 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24977 (fegetenv): Do not use BP_SYM in versioned symbols.
24978 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24979 (fesetenv): Do not use BP_SYM in versioned symbols.
24980 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24981 (feupdateenv): Do not use BP_SYM in versioned symbols.
24982 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24983 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24984 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24985 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24986 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24987 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24988 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24990 (__libc_start_main): Do not use BP_SYM.
24992 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24995 redundant return line.
24997 (denorm): Likewise.
24998 (dbl_mp): Likewise.
24999 (sub_magnitudes): Likewise.
25005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25007 (denorm): Likewise.
25008 (dbl_mp): Likewise.
25009 (sub_magnitudes): Likewise.
25016 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25018 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25019 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25022 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25023 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25025 of __mul for squares.
25026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25030 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25033 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25036 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25038 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25039 prototype or function definition. Rename ubp_* variables and
25040 parameters. Remove argv definitions conditional on
25041 [__BOUNDED_POINTERS__].
25042 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25043 * elf/dl-runtime.c (_dl_fixup): Likewise.
25044 * include/set-hooks.h (RUN_HOOK): Likewise.
25045 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25047 * string/strcpy.c (strcpy): Do not use __unbounded.
25048 * sysdeps/generic/frame.h (struct layout): Likewise.
25049 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25050 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25051 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25052 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25053 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25054 (__backtrace): Likewise.
25055 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25057 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25058 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25059 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25061 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25062 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25063 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25064 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25065 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25066 Do not use __unbounded.
25067 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25068 Rename __unboundedrlimits parameter to rlimits in prototype.
25069 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25070 Do not use __unbounded.
25071 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25072 not use __ptrvalue.
25073 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25074 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25075 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25076 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25077 __ptrvalue or __unbounded.
25078 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25079 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25081 (__new_msgctl): Do not use __ptrvalue.
25082 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25084 (__libc_msgrcv): Do not use __ptrvalue.
25085 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25086 startup_info): Do not use __unbounded.
25087 (__libc_start_main): Likewise. Rename ubp_* variables and
25088 parameters. Remove argv definitions conditional on
25089 [__BOUNDED_POINTERS__].
25090 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25092 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25094 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25096 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25098 (__new_shmctl): Do not use __ptrvalue.
25099 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25100 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25102 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25103 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25104 (__libc_sigaction): Likewise.
25105 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25106 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25108 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25110 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25112 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25114 * string/mempcpy.c: Implement by calling memcpy.
25116 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25123 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25124 values in the mantissa.
25126 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25127 minimize writes to Z.
25128 (sub_magnitudes): Simplify code a bit.
25130 2013-02-12 Roland McGrath <roland@hack.frob.com>
25132 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25133 from the message. The linker prefixes all warnings with that already.
25135 2013-02-12 Andreas Schwab <schwab@suse.de>
25138 * posix/regexec.c (extend_buffers): Add parameter min_len.
25139 (check_matching): Pass minimum needed length.
25140 (clean_state_log_if_needed): Likewise.
25141 (get_subexp): Likewise.
25142 * posix/Makefile (tests): Add bug-regex34.
25143 (bug-regex34-ENV): Define.
25144 * posix/bug-regex34.c: New file.
25147 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25148 elements compare against the byte sequence of it, not its name.
25149 * posix/Makefile (tests): Add bug-regex35.
25150 (bug-regex35-ENV): Define.
25151 * posix/bug-regex35.c: New file.
25153 2013-02-11 Tom de Vries <tom@codesourcery.com>
25155 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25157 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25158 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25159 (CHECK_EOL): Add undef.
25161 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25163 * bits/stdlib-bsearch.h: New file.
25164 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25165 * stdlib/stdlib.h: Likewise.
25167 2013-02-11 Roland McGrath <roland@hack.frob.com>
25169 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25170 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25172 * manual/search.texi (Array Search Function): Add missing const in
25174 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25175 declaration to use rlim_t.
25176 (Basic Scheduling Functions): Remove erroneous const from
25177 sched_getparam prototype. Remove erroneous * from
25178 sched_get_priority_max and sched_get_priority_min prototypes.
25179 (Resource Usage): Fix summary @comment on vtimes to refer to
25180 sys/vtimes.h rather than vtimes.h.
25181 Add missing *s in vtimes prototype.
25182 (Limits on Resources): Fix ulimit prototype to return long int.
25183 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25184 prototypes to use long int rather than double.
25185 (BSD Random): Fix initstate and setstate to use char *, not void *.
25186 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25187 prototype to make second argument 'struct aiocb64 *const[]'.
25188 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25189 (Status of AIO Operations): Remove erroneous const in aio_return and
25190 aio_return64 prototypes.
25191 (Synchronizing I/O): Fix sync prototype to return void.
25192 * manual/startup.texi (Suboptions): Remove an erroneous const in
25193 getsubopt prototype.
25194 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25195 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25196 use size_t rather than int.
25197 (Scanning All Users): Likewise for getpwent_r.
25198 (Setting Groups): Add missing const to setgroups prototype.
25199 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25200 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25201 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25202 'const void *' rather than 'const char *'.
25203 (Host Address Functions): Likewise for inet_ntop.
25204 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25205 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25206 ssize_t for return value.
25207 (Sending Data): Likewise for send, sendto, sendmsg.
25208 (Socket Option Functions): Add a missing const in setsockopt prototype.
25209 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25210 use wchar_t for the argument.
25211 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25212 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25214 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25215 double/float/long double for second argument.
25216 Fix return types of significand, significandf, significandl.
25217 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25218 argument in fchmod prototype.
25219 (File Owner): Use uid_t and gid_t in fchown prototype.
25220 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25221 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25222 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25223 use 'const struct dirent **' as argument types to CMP function pointer
25225 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25226 (File Times): Fix summary magic @comment for struct utimbuf and utime
25227 to refer to utime.h, not time.h.
25228 * manual/string.texi (Argz Functions): Add missing const in
25229 argz_extract and argz_next prototypes.
25230 (Finding Tokens in a String): Likewise for basename.
25231 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25232 (Copying and Concatenation): Fix typo in wmemmove prototype.
25233 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25234 (Signal Stack): Remove erroneous const in sigstack prototype.
25235 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25237 (Simple Calendar Time): Likewise for stime.
25238 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25240 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25241 say sys/sysctl.h instead.
25242 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25243 and vsyslog prototypes.
25245 2013-02-11 Tom de Vries <tom@codesourcery.com>
25247 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25250 2013-02-11 Roland McGrath <roland@hack.frob.com>
25252 * misc/sys/mman.h: Fix typo in mremap comment.
25254 2013-02-08 Roland McGrath <roland@hack.frob.com>
25256 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25257 the '\0' terminator.
25259 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25262 * debug/segfault.c: Don't include <bp-checks.h>.
25263 * sysdeps/generic/bp-checks.h: Remove file.
25264 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25265 (__GETDENTS): Don't use CHECK_N.
25266 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25267 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25268 (__getgroups): Don't use CHECK_N.
25269 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25270 (setgroups): Don't use CHECK_N.
25271 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25272 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25273 (__libc_msgrcv): Don't use CHECK_N.
25274 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25275 (__libc_msgsnd): Don't use CHECK_N.
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25278 (__libc_pread): Don't use CHECK_N.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25280 include <bp-checks.h>.
25281 (__libc_pread64): Don't use CHECK_N.
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25283 include <bp-checks.h>.
25284 (__libc_pwrite): Don't use CHECK_N.
25285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25286 include <bp-checks.h>.
25287 (__libc_pwrite64): Don't use CHECK_N.
25288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25290 (__libc_pread): Don't use CHECK_N.
25291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25292 include <bp-checks.h>.
25293 (__libc_pread64): Don't use CHECK_N.
25294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25295 include <bp-checks.h>.
25296 (__libc_pwrite): Don't use CHECK_N.
25297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25298 include <bp-checks.h>.
25299 (__libc_pwrite64): Don't use CHECK_N.
25300 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25301 (do_pread): Don't use CHECK_N.
25302 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25303 (do_pread64): Don't use CHECK_N.
25304 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25305 (do_pwrite): Don't use CHECK_N.
25306 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25307 (do_pwrite64): Don't use CHECK_N.
25308 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25309 (__libc_readv): Don't use CHECK_N.
25310 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25311 (semop): Don't use CHECK_N.
25312 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25314 (semtimedop): Don't use CHECK_N.
25315 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25316 (__libc_pread): Don't use CHECK_N.
25317 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25319 (__libc_pread64): Don't use CHECK_N.
25320 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25322 (__libc_pwrite): Don't use CHECK_N.
25323 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25325 (__libc_pwrite64): Don't use CHECK_N.
25326 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25328 (__libc_msgrcv): Don't use CHECK_N.
25329 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25330 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25331 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25332 (__libc_writev): Don't use CHECK_N.
25334 2013-02-08 Roland McGrath <roland@hack.frob.com>
25336 * string/strcpy.c: Removed unused variable.
25338 * Makeconfig (+sysdep-includes): Define with := rather than =.
25339 Use an existing include/ subdir of each sysdeps dir before it.
25341 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25343 * nscd/connection.c (register_traced_file): Comment function.
25344 [HAVE_INOTIFY] (union __inev): Define.
25345 [HAVE_INOTIFY] (inotify_check_files): New function.
25346 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25347 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25349 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25351 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25353 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25354 loaded if not already and that a failure is permanent.
25356 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25359 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25360 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25362 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25365 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25366 (CHECK_1_NULL_OK): Likewise.
25367 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25368 (__fxstat): Do not use CHECK_1.
25369 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25371 (___fxstat64): Do not use CHECK_1.
25372 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25374 (__fxstatat): Do not use CHECK_1.
25375 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25377 (__fxstatat64): Do not use CHECK_1.
25378 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25380 (__fxstat): Do not use CHECK_1.
25381 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25383 (__fxstatat): Do not use CHECK_1.
25384 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25386 (__getresgid): Do not use CHECK_1.
25387 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25389 (__getresuid): Do not use CHECK_1.
25390 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25392 (__lxstat): Do not use CHECK_1.
25393 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25395 (__old_msgctl): Do not use CHECK_1.
25396 (__new_msgctl): Likewise.
25397 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25399 (__new_setrlimit): Do not use CHECK_1.
25400 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25402 (__old_shmctl): Do not use CHECK_1.
25403 (__new_shmctl): Likewise.
25404 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25406 (__xstat): Do not use CHECK_1.
25407 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25408 (__lxstat): Do not use CHECK_1.
25409 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25411 (___lxstat64): Do not use CHECK_1.
25412 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25413 (__old_msgctl): Do not use CHECK_1.
25414 (__new_msgctl): Likewise.
25415 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25417 (__gettimeofday): Do not use CHECK_1.
25418 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25419 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25420 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25422 (__gettimeofday): Do not use CHECK_1.
25423 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25424 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25425 (__new_shmctl): Do not use CHECK_1.
25426 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25428 (do_sigtimedwait): Do not use CHECK_1.
25429 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25431 (do_sigwaitinfo): Do not use CHECK_1.
25432 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25434 (msgctl): Do not use CHECK_1.
25435 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25437 (shmctl): Do not use CHECK_1.
25438 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25439 (ustat): Do not use CHECK_1.
25440 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25442 (__fxstat): Do not use CHECK_1.
25443 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25445 (__fxstatat): Do not use CHECK_1.
25446 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25448 (__lxstat): Do not use CHECK_1.
25449 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25451 (__xstat): Do not use CHECK_1.
25452 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25453 (__xstat): Do not use CHECK_1.
25454 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25455 (___xstat64): Do not use CHECK_1.
25458 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25460 (CHECK_BOUNDS_HIGH): Likewise.
25461 * string/strcpy.c: Do not include <bp-checks.h>.
25462 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25464 2013-02-07 Roland McGrath <roland@hack.frob.com>
25466 * nscd/nscd-client.h (__nscd_drop_map_ref):
25467 Add __attribute__ ((unused)).
25468 * nis/nss-nisplus.h (niserr2nss): Likewise.
25470 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25471 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25473 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25474 Remove inline keyword.
25475 * include/rounding-mode.h (round_away): Likewise.
25476 * libio/wfileops.c (adjust_wide_data): Likewise.
25477 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25478 (__m128i_strloadu_tolower): Likewise.
25479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25480 (__m128i_strloadu_tolower): Likewise.
25481 * time/mktime.c (ydhms_diff): Likewise.
25482 * locale/elem-hash.h (elem_hash): Likewise.
25483 * locale/setlocale.c (setdata): Likewise.
25484 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25485 (re_string_wchar_at): Likewise.
25486 (bitset_not, bitset_merge, bitset_mask): Likewise.
25487 [!(__GNUC__ > 3)] (inline): Remove macro.
25488 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25489 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25490 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25491 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25492 * string/memcmp.c (memcmp_bytes): Likewise.
25493 * locale/programs/locarchive.c (compute_hashval): Likewise.
25494 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25495 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25496 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25497 * nss/getent.c (print_rpc, print_protocols): Likewise.
25498 (print_passwd, print_group, print_aliases): Likewise.
25499 * nis/nss-nisplus.h (niserr2nss): Likewise.
25500 * nscd/connections.c (restart_p): Likewise.
25501 Change return type to bool.
25503 2013-02-05 Roland McGrath <roland@hack.frob.com>
25505 * Makeconfig (all-Depend-files): Add existing
25506 $(sorted-subdirs:=/Depend) files.
25507 (all-subdirs): Remove nss.
25508 * sysdeps/unix/inet/Subdirs: Add it here instead.
25509 * hesiod/Depend: New file.
25511 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25512 instead of calling alloca.
25514 * io/lseek.c (__lseek): Rename to __libc_lseek.
25515 Define __lseek as an alias.
25517 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25519 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25521 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25522 else clause and remove check for non-standard endianness.
25524 2013-02-04 David S. Miller <davem@davemloft.net>
25526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25528 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25531 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25532 (__ubp_memchr): Remove prototype.
25533 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25534 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25535 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25536 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25537 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25539 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25540 (__ubp_memchr): Likewise.
25541 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25542 (__ubp_memchr): Likewise.
25543 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25544 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25545 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25546 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25548 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25549 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25550 (__getcwd): Do not use CHECK_STRING.
25551 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25553 (__real_chown): Do not use CHECK_STRING.
25554 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25556 (fchownat): Do not use CHECK_STRING.
25557 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25559 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25561 (__lchown): Do not use CHECK_STRING.
25562 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25563 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25564 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25565 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25567 include <bp-checks.h>.
25568 (truncate64): Do not use CHECK_STRING.
25569 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25571 (__real_chown): Do not use CHECK_STRING.
25572 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25574 (__lchown): Do not use CHECK_STRING.
25575 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25577 (__chown): Do not use CHECK_STRING.
25578 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25580 (truncate64): Do not use CHECK_STRING.
25581 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25583 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25584 (__xmknod): Do not use CHECK_STRING.
25585 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25587 (__xmknodat): Do not use CHECK_STRING.
25588 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25589 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25591 2013-02-04 Andreas Schwab <schwab@suse.de>
25594 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25595 * include/netdb.h: Likewise for h_errno.
25596 * elf/tst-stackguard1.c: Include <tls.h>.
25598 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25600 * elf/link.h (struct link_map): Extend the l_addr comment.
25601 * include/link.h (struct link_map): Likewise.
25603 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25606 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25607 (BOUNDED_1): Remove macro.
25608 * debug/backtrace.c: Don't include <bp-checks.h>.
25609 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25610 (__backtrace): Likewise.
25611 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25613 (__backtrace): Don't use BOUNDED_1.
25614 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25616 (__backtrace): Don't use BOUNDED_1.
25617 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25618 (__backtrace): Don't use BOUNDED_1.
25619 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25620 (shmat): Don't use BOUNDED_N.
25622 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25625 * sysdeps/generic/bp-start.h: Remove file.
25626 * csu/libc-start.c: Don't include <bp-start.h>.
25627 (LIBC_START_MAIN): Set up __environ directly instead of using
25628 INIT_ARGV_and_ENVIRON.
25629 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25633 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25635 (CHECK_FCNTL): Likewise.
25636 (CHECK_N_PAGES): Likewise.
25639 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25641 (CHECK_SIGSET_NULL_OK): Likewise.
25642 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25644 (sigpending): Don't use CHECK_SIGSET.
25645 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25647 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25648 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25650 (do_sigsuspend): Don't use CHECK_SIGSET.
25651 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25653 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25654 (do_sigwait): Don't use CHECK_SIGSET.
25655 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25658 include <bp-checks.h>.
25659 (sigpending): Don't use CHECK_SIGSET.
25660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25661 include <bp-checks.h>.
25662 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25663 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25665 (sigpending): Don't use CHECK_SIGSET.
25666 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25668 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25671 * sysdeps/generic/bp-semctl.h: Remove file.
25672 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25673 <bp-checks.h> and <bp-semctl.h>.
25674 (__old_semctl): Don't use CHECK_SEMCTL.
25675 (__new_semctl): Likewise.
25676 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25678 (__old_semctl): Don't use CHECK_SEMCTL.
25679 (__new_semctl): Likewise.
25680 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25681 <bp-checks.h> and <bp-semctl.h>.
25682 (__old_semctl): Don't use CHECK_SEMCTL.
25683 (__new_semctl): Likewise.
25684 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25685 <bp-checks.h> and <bp-semctl.h>.
25686 (semctl): Don't use CHECK_SEMCTL.
25689 * Makerules (elide-bp-thunks): Remove variable.
25690 (elide-routines.oS): Don't use $(elide-bp-thunks).
25691 (elide-routines.os): Likewise.
25692 (elide-routines.o): Likewise.
25693 (elide-routines.op): Likewise.
25694 (elide-routines.og): Likewise.
25695 (objects): Don't use $(bp-thunks).
25696 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25698 (common-generated): Do not add s-proto-bp.d.
25699 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25702 Do not generate makefile rules for bounded-pointer thunks.
25703 * sysdeps/generic/bp-thunks.h: Remove file.
25704 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25705 * sysdeps/unix/s-proto-bp.S: Likewise.
25708 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25709 parts of result separately when argument is not close to line from
25710 -i to i and one part of argument is small.
25711 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25712 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25713 * math/libm-test.inc (cacos_test): Add more tests.
25714 (casin_test): Likewise.
25715 (casinh_test): Likewise.
25716 * sysdeps/i386/fpu/libm-test-ulps: Update.
25717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25719 2013-01-31 David S. Miller <davem@davemloft.net>
25721 * po/de.po: Update from translation team.
25723 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25725 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25727 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25729 * configure.in (_AC_PROG_CC_C89): New definition.
25730 * configure: Regenerate.
25732 * configure.in (AC_PROG_CPP): New definition.
25733 * configure: Regenerate.
25735 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25737 * debug/tst-backtrace.h: New file.
25738 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25739 (ret): Remove variable.
25741 (FAIL): Remove macro.
25742 (NO_INLINE): Likewise.
25743 (fn1): Use match function instead of strstr.
25744 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25745 (ret): Remove variable.
25747 (FAIL): Remove macro.
25748 (NO_INLINE): Likewise.
25749 (fn): Use match function instead of strstr.
25750 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25751 (ret): Remove variable.
25753 (FAIL): Remove macro.
25754 (NO_INLINE): Likewise.
25755 (handle_signal): Use match function instead of strstr.
25756 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25757 (ret): Remove variable.
25759 (FAIL): Remove macro.
25760 (NO_INLINE): Likewise.
25761 (handle_signal): Use match function instead of strstr.
25763 2013-01-23 Roland McGrath <roland@hack.frob.com>
25765 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25767 2013-01-23 David S. Miller <davem@davemloft.net>
25769 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25770 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25771 argument of CAS if possible.
25772 * sysdeps/sparc/sparc64/bits/atomic.h
25773 (__arch_compare_and_exchange_val_32_acq): Likewise.
25774 (__arch_compare_and_exchange_val_64_acq): Likewise.
25776 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25778 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25779 * sysdeps/posix/ulimit.c: ... this.
25780 Include <limits.h>.
25781 * sysdeps/unix/bsd/ulimit.c: Remove file.
25783 2013-01-23 Adam Conrad <adconrad@0c3.net>
25785 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25786 (LDFLAGS-tst-array5): Likewise.
25788 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25791 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25792 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25793 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25794 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25796 2013-01-21 David S. Miller <davem@davemloft.net>
25798 * sysdeps/sparc/backtrace.c: New file.
25799 * sysdeps/sparc/sparc32/backtrace.h: New file.
25800 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25801 * sysdeps/sparc/sparc64/backtrace.h: New file.
25802 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25803 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25806 2013-01-21 Andreas Schwab <schwab@suse.de>
25809 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25812 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25818 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25819 Mark Mitchell <mark@codesourcery.com>
25820 Tom de Vries <tom@codesourcery.com>
25821 Paul Pluzhnikov <ppluzhnikov@google.com>
25823 * debug/tst-backtrace2.c: New file.
25824 * debug/tst-backtrace3.c: Likewise.
25825 * debug/tst-backtrace4.c: Likewise.
25826 * debug/tst-backtrace5.c: Likewise.
25827 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25828 (CFLAGS-tst-backtrace3.c): Likewise.
25829 (CFLAGS-tst-backtrace4.c): Likewise.
25830 (CFLAGS-tst-backtrace5.c): Likewise.
25831 (LDFLAGS-tst-backtrace2): Likewise.
25832 (LDFLAGS-tst-backtrace3): Likewise.
25833 (LDFLAGS-tst-backtrace4): Likewise.
25834 (LDFLAGS-tst-backtrace5): Likewise.
25835 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25836 tst-backtrace4 and tst-backtrace5.
25838 2013-01-18 Anton Blanchard <anton@samba.org>
25839 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25841 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25842 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25843 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25844 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25846 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25847 "+r" and remove output regs list as redundant. Add explicit inline
25848 asm to specify register of return val to work around compiler codegen
25849 bug. Remove (int) cast on return value. Add return type parameter to
25850 use in macro so that this macro does not truncate return value for
25852 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25853 pass to INTERNAL_VSYSCALL_NCS.
25854 (INLINE_VSYSCALL): Add 'long int' as return type to
25855 INTERNAL_VSYSCALL_NCS macro invocation.
25856 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25857 INTERNAL_VSYSCALL_NCS macro invocation.
25858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25860 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25863 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25864 Fix application of SIMD FP exception mask.
25866 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25867 mp_no from a power of two.
25868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25869 __mpexp_twomm1. Use __pow_mp.
25871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25874 2013-01-17 David S. Miller <davem@davemloft.net>
25876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25878 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25881 * include/complex.h: Condition contents on [!_COMPLEX_H].
25882 (__kernel_casinhf): New prototype.
25883 (__kernel_casinh): Likewise.
25884 (__kernel_casinhl): Likewise.
25885 * math/Makefile (libm_calls): Add k_casinh.
25886 * math/k_casinh.c: New file.
25887 * math/k_casinhf.c: Likewise.
25888 * math/k_casinhl.c: Likewise.
25889 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25890 finite nonzero arguments.
25891 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25892 finite nonzero arguments.
25893 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25894 finite nonzero arguments.
25895 * math/s_casinh.c: Do not include <float.h>.
25896 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25897 * math/s_casinhf.c: Do not include <float.h>.
25898 (__casinhf): Move code for finite nonzero arguments to
25900 * math/s_casinhl.c: Do not include <float.h>.
25901 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25903 (__casinhl): Move code for finite nonzero arguments to
25905 * math/libm-test.inc (cacos_test): Add more tests.
25906 * sysdeps/i386/fpu/libm-test-ulps: Update.
25907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25909 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25911 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25912 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25913 [!HAVE_MREMAP]: Remove [defined linux] case.
25914 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25916 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25918 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25920 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25922 * elf/elf.h (R_386_SIZE32): New relocation.
25923 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25925 (elf_machine_rela): Likewise.
25926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25927 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25929 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25931 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25932 (FP_FAST_FMA): Do not define.
25933 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25934 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25935 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25936 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25937 !_SOFT_FLOAT]: Likewise.
25938 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25939 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25941 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25942 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25943 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25944 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25945 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25946 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25949 2013-01-16 Andreas Schwab <schwab@suse.de>
25952 * include/stdlib.h (__mktemp): Add declaration.
25953 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25954 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25956 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25958 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25960 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25961 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25962 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25964 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25965 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25967 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25969 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25970 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25971 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25973 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25974 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25976 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25978 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25980 2013-01-15 David S. Miller <davem@davemloft.net>
25982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25983 trunc{,f} to libm-sysdep_routes.
25984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25994 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25995 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25996 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25998 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25999 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26002 nearbyint{,f} to libm-sysdep_routes.
26003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26014 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26016 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26017 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26019 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26020 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26021 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26023 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26024 libc_feholdexcept and libc_fesetenv.
26026 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26028 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26030 2013-01-14 David S. Miller <davem@davemloft.net>
26032 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26033 (SPARC_ASM_VIS2_IFUNC): Likewise.
26034 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26036 use of 'siam' instruction.
26037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26070 routines to libm-sysdep_routines.
26071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26074 fdim/fdimf to libm-sysdep_routines.
26075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26083 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26084 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26085 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26086 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26088 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26090 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26091 to optimize copies.
26093 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26098 local variable MPTWO.
26099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26102 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26104 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26107 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26109 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26111 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26113 * manual/pattern.texi (glob_t): Document gl_flags.
26114 (glob64_t): Likewise.
26116 2013-01-11 David S. Miller <davem@davemloft.net>
26118 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26119 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26120 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26121 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26122 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26123 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26124 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26125 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26126 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26127 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26128 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26129 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26130 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26132 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26133 sparc V9 rather than using V8 code.
26134 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26135 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26137 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26139 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26142 2013-01-11 Roland McGrath <roland@hack.frob.com>
26144 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26145 not in the main loop.
26146 * configure: Regenerated.
26148 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26150 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26151 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26153 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26154 [!__GLIBC_HAVE_LONG_LONG] case.
26155 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26156 condition to just #else.
26157 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26158 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26159 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26160 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26162 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26163 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26164 #elif condition to just #else.
26165 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26166 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26167 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26168 #elif condition to just #else.
26170 2013-01-11 Steve Ellcey <sellcey@mips.com>
26172 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26173 (EF_MIPS_ARCH_64): Fix value.
26174 (EF_MIPS_ARCH_32R2): New.
26175 (EF_MIPS_ARCH_64R2): New.
26177 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26179 * Makeconfig (+link-pie-before-libc): New.
26180 (+link-pie-after-libc): Likewise.
26181 (+link-pie-tests): Likewise.
26182 (+link-pie): Rewritten.
26183 (link-before-libc): Remove $(config-LDFLAGS).
26184 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26185 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26186 (config-LDFLAGS): Renamed to ...
26187 (rtld-LDFLAGS): This.
26188 (rtld-tests-LDFLAGS): New macro.
26189 (link-libc-rpath-link): Likewise.
26190 (link-libc-tests-rpath-link): Likewise.
26191 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26192 (link-libc): Prepand $(link-libc-rpath-link).
26193 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26194 (test-program-prefix): New macro.
26195 (test-via-rtld-prefix): Likewise.
26196 (test-program-cmd): Likewise.
26197 (host-test-program-cmd): Likewise.
26198 * Makefile ($(common-objpfx)testrun.sh): Replace
26199 $(run-program-prefix) with $(test-program-prefix).
26200 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26202 ($(common-objpfx)shlib.lds): Likewise.
26203 (build-module-helper): Likewise.
26204 ($(common-objpfx)format.lds): Likewise.
26205 * Rules (binaries-pie-tests): New.
26206 (binaries-pie-notests): Likewise.
26207 (binaries-pie): Rewritten.
26208 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26209 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26210 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26211 (make-test-out): Replace $(host-built-program-cmd) with
26212 $(host-test-program-cmd).
26213 * config.make.in (build-hardcoded-path-in-tests): New variable.
26214 * configure.in (--enable-hardcoded-path-in-tests): New configure
26216 (hardcoded_path_in_tests): New AC_SUBST.
26217 * configure: Regenerated.
26218 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26219 $(built-program-cmd) with $(test-program-cmd).
26220 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26221 (test_program_cmd): This.
26222 * elf/Makefile ($(objpfx)order.out): Run test with
26223 $(test-program-prefix).
26224 ($(objpfx)order2.out): Likewise.
26225 ($(objpfx)tst-initorder.out): Likewise.
26226 ($(objpfx)tst-initorder2.out): Likewise.
26227 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26228 $(test-program-cmd).
26229 ($(objpfx)tst-array1-static.out): Likewise.
26230 ($(objpfx)tst-array2.out): Likewise.
26231 ($(objpfx)tst-array3.out): Likewise.
26232 ($(objpfx)tst-array4.out): Likewise.
26233 ($(objpfx)tst-array5.out): Likewise.
26234 ($(objpfx)tst-array5-static.out): Likewise.
26235 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26236 $(test-program-cmd).
26237 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26238 $(run-program-prefix) with $(test-program-prefix).
26239 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26240 (test_program_prefix): This.
26241 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26242 $(run-program-prefix) with $(test-program-prefix).
26243 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26244 (test_program_prefix): This.
26245 * iconvdata/tst-tables.sh: Likewise.
26246 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26247 $(run-program-prefix) with $(test-program-prefix).
26248 ($(objpfx)tst-translit.out): Likewise.
26249 ($(objpfx)tst-gettext2.out): Likewise.
26250 ($(objpfx)tst-gettext4.out): Likewise.
26251 ($(objpfx)tst-gettext6.out): Likewise.
26252 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26253 (test_program_prefix): This.
26254 * intl/tst-gettext2.sh: Likewise.
26255 * intl/tst-gettext4.sh Likewise.
26256 * intl/tst-gettext6.sh: Likewise.
26257 * intl/tst-translit.sh: Likewise.
26258 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26259 with $(test-program-cmd).
26260 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26261 $(run-program-prefix) with $(test-program-prefix).
26262 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26263 (test_program_prefix): This.
26264 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26265 $(run-program-prefix) with $(test-program-prefix).
26266 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26267 (test_program_prefix): This.
26268 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26269 * posix/Makefile ($(objpfx)globtest.out): Replace
26270 $(run-via-rtld-prefix) and $(test-wrapper) with
26271 $(test-program-prefix) and $(test-via-rtld-prefix).
26272 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26273 $(test-program-prefix).
26274 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26275 $(host-test-program-cmd).
26276 (tst-spawn-ARGS): Likewise.
26277 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26278 $(test-program-prefix).
26279 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26280 (test_via_rtld_prefix): This.
26281 (test_wrapper): Renamed to ...
26282 (test_program_prefix): This.
26283 (run_program_prefix): Replaced by test_program_prefix.
26284 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26285 (test_program_prefix): This.
26286 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26287 with $(host-test-program-cmd).
26288 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26289 $(run-program-prefix) with $(test-program-prefix).
26290 ($(objpfx)tst-printf.out): Likewise.
26291 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26292 $(test-program-cmd).
26293 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26294 (test_program_prefix): This.
26295 * stdio-common/tst-unbputc.sh: Likewise.
26296 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26297 $(run-program-prefix) with $(test-program-prefix).
26298 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26299 (test_program_prefix): This.
26300 * string/Makefile ($(objpfx)tst-svc.out): Replace
26301 $(built-program-cmd) with $(test-program-cmd).
26303 2013-01-11 Andreas Jaeger <aj@suse.de>
26306 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26307 value. Sync with Linux 3.7.
26309 2013-01-10 David S. Miller <davem@davemloft.net>
26311 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26312 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26313 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26315 2013-01-10 Roland McGrath <roland@hack.frob.com>
26317 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26319 * configure: Regenerated.
26321 2013-01-10 David S. Miller <davem@davemloft.net>
26323 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26324 sparc V9 rather than using V8 code.
26325 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26326 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26328 2013-01-10 Roland McGrath <roland@hack.frob.com>
26330 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26331 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26332 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26333 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26334 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26335 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26336 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26337 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26338 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26339 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26340 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26341 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26342 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26343 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26344 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26345 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26346 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26347 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26348 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26349 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26350 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26351 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26352 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26353 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26354 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26355 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26356 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26358 2013-01-10 David S. Miller <davem@davemloft.net>
26360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26362 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26364 * posix/Makefile (tests-static): New variable.
26365 (tests): Add $(tests-static).
26366 (tst-exec-static-ARGS): New variable.
26367 (tst-spawn-static-ARGS): Likewise.
26368 * posix/tst-exec-static.c: New file.
26369 * posix/tst-spawn-static.c: Likewise.
26370 * posix/tst-exec.c: Support run directly.
26371 * posix/tst-spawn.c: Likewise.
26373 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26375 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26377 * math/bits/mathcalls.h (llrint): Likewise.
26378 (llround): Likewise.
26379 * stdlib/stdlib.h (struct drand48_data): Likewise.
26380 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26381 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26382 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26384 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26386 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26387 (elf_greg_t): Likewise.
26388 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26389 (__jmp_buf): Likewise.
26390 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26392 (llrint): Likewise, for all definitions.
26393 (llrintl): Likewise.
26395 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26396 Remove [__GNUC__] condition.
26397 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26398 condition to just [__USE_ISOC99].
26399 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26401 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26404 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26405 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26407 (_POSIX_V6_ILP32_OFF32): Likewise.
26408 (_XBS5_ILP32_OFF32): Likewise.
26409 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26410 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26412 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26414 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26417 doubles __mpexp_twomm1. Adjust usage.
26418 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26421 2013-01-10 Andreas Schwab <schwab@suse.de>
26424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26425 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26427 2013-01-09 David S. Miller <davem@davemloft.net>
26430 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26431 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26432 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26433 (TCP_FASTOPEN): Define.
26434 (tcp_repair_opt): New structure.
26435 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26437 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26438 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26439 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26440 (tcp_cookie_transactions): New structure.
26442 2013-01-09 Anton Blanchard <anton@samba.org>
26444 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26445 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26446 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26447 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26449 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26451 * include/features.h (__USE_ANSI): Remove.
26453 2013-01-09 Roland McGrath <roland@hack.frob.com>
26455 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26457 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26459 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26461 * sysdeps/s390/fpu/libm-test-ulps: Update.
26463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26465 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26469 (denorm): Likewise.
26470 (__mp_dbl): Likewise.
26471 (__dbl_mp): Likewise.
26472 (add_magnitudes): Likewise.
26473 (sub_magnitudes): Likewise.
26479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26483 (denorm): Likewise.
26484 (__mp_dbl): Likewise.
26485 (__dbl_mp): Likewise.
26486 (add_magnitudes): Likewise.
26487 (sub_magnitudes): Likewise.
26493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26497 (denorm): Likewise.
26498 (__mp_dbl): Likewise.
26499 (__dbl_mp): Likewise.
26500 (add_magnitudes): Likewise.
26501 (sub_magnitudes): Likewise.
26508 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26510 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26511 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26512 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26513 2 && __USE_EXTERN_INLINES]: Likewise.
26515 2013-01-08 Andreas Jaeger <aj@suse.de>
26518 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26520 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26521 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26523 2013-01-07 Anton Blanchard <anton@samba.org>
26525 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26526 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26527 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26528 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26529 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26530 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26531 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26532 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26534 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26535 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26536 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26538 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26539 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26540 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26541 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26542 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26543 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26544 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26545 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26546 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26548 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26549 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26550 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26551 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26552 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26554 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26555 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26557 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26558 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26559 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26560 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26561 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26563 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26564 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26565 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26567 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26569 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26571 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26572 (__MALLOC_PMT): Likewise.
26573 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26574 [__GNUC__], only on [_LIBC].
26575 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26576 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26577 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26578 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26579 forward declaration.
26580 (realloc_hook_ini): Likewise.
26581 (memalign_hook_ini): Likewise.
26582 (__libc_memalign): Do not use __MALLOC_PMT in variable
26584 (__libc_valloc): Likewise.
26585 (__libc_pvalloc): Likewise.
26586 (__libc_calloc): Likewise.
26587 (__posix_memalign): Likewise.
26590 * math/s_casinh.c: Include <float.h>.
26591 (__casinh): Do not do computation with squaring and square root
26592 for large arguments.
26593 * math/s_casinhf.c: Include <float.h>.
26594 (__casinhf): Do not do computation with squaring and square root
26595 for large arguments.
26596 * math/s_casinhl.c: Include <float.h>.
26597 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26598 (__casinhl): Do not do computation with squaring and square root
26599 for large arguments.
26600 * math/libm-test.inc (casin_test): Add more tests.
26601 (casinh_test): Likewise.
26602 * sysdeps/i386/fpu/libm-test-ulps: Update.
26603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26605 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26607 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26608 (__x86_64_raw_data_cache_size): Likewise.
26609 (__x86_64_data_cache_size_half): Likewise.
26610 (__x86_64_raw_data_cache_size_half): Likewise.
26611 (__x86_64_shared_cache_size): Likewise.
26612 (__x86_64_raw_shared_cache_size): Likewise.
26613 (__x86_64_shared_cache_size_half): Likewise.
26614 (__x86_64_raw_shared_cache_size_half): Likewise.
26615 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26617 (__x86_data_cache_size): This.
26618 (__x86_64_raw_data_cache_size): Renamed to ...
26619 (__x86_raw_data_cache_size): This.
26620 (__x86_64_data_cache_size_half): Renamed to ...
26621 (__x86_data_cache_size_half): This.
26622 (__x86_64_raw_data_cache_size_half): Renamed to ...
26623 (__x86_raw_data_cache_size_half): This.
26624 (__x86_64_shared_cache_size): Renamed to ...
26625 (__x86_shared_cache_size): This.
26626 (__x86_64_raw_shared_cache_size): Renamed to ...
26627 (__x86_raw_shared_cache_size): This.
26628 (__x86_64_shared_cache_size_half): Renamed to ...
26629 (__x86_shared_cache_size_half): This.
26630 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26631 (__x86_raw_shared_cache_size_half): This.
26632 * sysdeps/x86_64/memcpy.S: Updated.
26633 * sysdeps/x86_64/memset.S: Likewise.
26634 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26635 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26636 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26638 2013-01-04 David S. Miller <davem@davemloft.net>
26640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26642 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26644 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26645 1 to avoid redefinition warning.
26646 (__USE_GNU): Don't define.
26647 (init_signaling_nan): Protoize.
26649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26651 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26653 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26655 (__cpymn): Likewise.
26656 (norm): Remove commented code.
26657 (denorm): Likewise.
26658 (__mp_dbl): Likewise.
26660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26661 (__cpymn): Likewise.
26662 (norm): Remove commented code.
26663 (denorm): Likewise.
26664 (__mp_dbl): Likewise.
26667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26668 mp_no value for 1.0 and 2.0.
26669 (norm): Use RADIXI instead of radixi.d.
26670 (denorm): Likewise.
26671 (__mul): Use 0.0 instead of zero.d.
26672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26673 mp_no value for 1.0 and 2.0.
26674 (norm): Use RADIXI instead of radixi.d.
26675 (denorm): Likewise.
26676 (__mul): Use 0.0 instead of zero.d.
26678 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26681 * math/s_casinh.c (__casinh): Reduce finite argument to first
26682 quadrant then set signs of results at the end.
26683 * math/s_casinhf.c (__casinhf): Likewise.
26684 * math/s_casinhl.c (__casinhl): Likewise.
26685 * math/libm-test.inc (casin_test): Add more tests.
26686 (casinh_test): Likewise.
26687 * sysdeps/i386/fpu/libm-test-ulps: Update.
26688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26690 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26692 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26694 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26696 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26698 (denorm): Likewise.
26699 (__mp_dbl): Likewise.
26702 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26703 and adjust the header comment.
26705 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26706 variable name from declaration.
26708 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26711 Initialize COMMON_CPUID_INDEX_7 element.
26712 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26713 (CPUID_RTM): Likewise.
26714 (HAS_RTM): Likewise.
26715 (COMMON_CPUID_INDEX_7): New enum.
26717 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26720 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26721 size is zero, record memory as freed.
26723 2013-01-03 Andreas Jaeger <aj@suse.de>
26725 * po/ia.po: Add new Interlingua translation.
26727 2012-01-03 Allan McRae <allan@archlinux.org>
26729 * locale/programs/localedef.c: Fix description of '--posix' flag.
26731 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26733 * NEWS: Update dates in second copyright notice.
26734 * README: Update copyright dates in example.
26735 * manual/libc.texinfo: Update copyright dates.
26736 * scripts/test-installation.pl: Update copyright date in --version
26739 * hurd/ctty-input.c: Fix copyright notice formatting.
26740 * hurd/ctty-output.c: Likewise.
26741 * hurd/dtable.c: Likewise.
26742 * hurd/hurd-raise.c: Likewise.
26743 * hurd/hurdprio.c: Likewise.
26744 * hurd/msgportdemux.c: Likewise.
26745 * misc/sys/file.h: Likewise.
26746 * misc/sys/ioctl.h: Likewise.
26747 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26748 * sysdeps/mach/hurd/chdir.c: Likewise.
26749 * sysdeps/mach/hurd/fchdir.c: Likewise.
26750 * sysdeps/mach/hurd/rename.c: Likewise.
26751 * sysdeps/mach/hurd/rmdir.c: Likewise.
26752 * sysdeps/mach/hurd/seekdir.c: Likewise.
26753 * sysdeps/mach/hurd/setsid.c: Likewise.
26754 * sysdeps/posix/wait3.c: Likewise.
26756 * All files with FSF copyright notices: Update copyright dates
26757 using scripts/update-copyrights.
26758 * intl/plural.c: Regenerated.
26759 * locale/programs/charmap-kw.h: Likewise.
26760 * locale/programs/locfile-kw.h: Likewise.
26762 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26764 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26767 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26768 calculation loop and add branch prediction.
26770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26771 check access beyond bounds of m1np.
26773 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26775 (__inv): Remove local variable MPTWO to use the global
26777 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26778 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26780 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26781 MP3HALFS static const.
26783 2013-01-01 David S. Miller <davem@davemloft.net>
26785 * po/ca.po: Update from translation team.
26787 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26789 * scripts/update-copyrights: New file.
26790 * Makeconfig: Reformat copyright notice.
26791 * ctype/ctype.h: Likewise.
26792 * debug/swprintf_chk.c: Likewise.
26793 * elf/dl-cache.c: Likewise.
26794 * elf/dl-debug.c: Likewise.
26795 * elf/dl-object.c: Likewise.
26796 * grp/initgroups.c: Likewise.
26797 * hurd/Makefile: Likewise.
26798 * hurd/hurd/signal.h: Likewise.
26799 * hurd/hurdfault.c: Likewise.
26800 * hurd/hurdioctl.c: Likewise.
26801 * hurd/hurdlookup.c: Likewise.
26802 * hurd/intr-msg.c: Likewise.
26803 * iconv/gconv_open.c: Likewise.
26804 * libio/swprintf.c: Likewise.
26805 * locale/lc-ctype.c: Likewise.
26806 * locale/nl_langinfo.c: Likewise.
26807 * mach/Machrules: Likewise.
26808 * mach/Makefile: Likewise.
26809 * malloc/obstack.h: Likewise.
26810 * manual/Makefile: Likewise.
26811 * manual/tsort.awk: Likewise.
26812 * misc/bits/stab.def: Likewise.
26813 * nis/nis_print_group_entry.c: Likewise.
26814 * nis/nis_table.c: Likewise.
26815 * nis/nss_compat/compat-pwd.c: Likewise.
26816 * nis/nss_compat/compat-spwd.c: Likewise.
26817 * po/Makefile: Likewise.
26818 * posix/fnmatch.c: Likewise.
26819 * posix/regex.h: Likewise.
26820 * resolv/Makefile: Likewise.
26821 * resolv/nss_dns/dns-network.c: Likewise.
26822 * resolv/res_hconf.c: Likewise.
26823 * scripts/gen-sorted.awk: Likewise.
26824 * soft-fp/soft-fp.h: Likewise.
26825 * stdio-common/printf.h: Likewise.
26826 * stdlib/monetary.h: Likewise.
26827 * stdlib/random.c: Likewise.
26828 * stdlib/random_r.c: Likewise.
26829 * sysdeps/generic/Makefile: Likewise.
26830 * sysdeps/gnu/Makefile: Likewise.
26831 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26833 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26838 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26839 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26841 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26842 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26843 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26844 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26845 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26846 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26847 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26851 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26853 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26854 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26855 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26856 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26857 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26858 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26859 * sysdeps/mach/hurd/errnos.awk: Likewise.
26860 * sysdeps/mach/hurd/fork.c: Likewise.
26861 * sysdeps/mach/hurd/getcwd.c: Likewise.
26862 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26863 * sysdeps/mach/hurd/mmap.c: Likewise.
26864 * sysdeps/mach/hurd/utimes.c: Likewise.
26865 * sysdeps/mach/hurd/xmknod.c: Likewise.
26866 * sysdeps/posix/profil.c: Likewise.
26867 * sysdeps/posix/readdir_r.c: Likewise.
26868 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26869 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26870 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26871 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26873 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26874 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26875 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26877 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26878 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26879 * sysdeps/pthread/lio_listio.c: Likewise.
26880 * sysdeps/sparc/dl-procinfo.h: Likewise.
26881 * sysdeps/unix/i386/sysdep.S: Likewise.
26882 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26883 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26884 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26885 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26887 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26888 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26889 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26890 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26891 * sysdeps/wordsize-32/divdi3.c: Likewise.
26892 * time/sys/time.h: Likewise.
26893 * wcsmbs/Makefile: Likewise.
26895 2013-01-01 David S. Miller <davem@davemloft.net>
26897 * po/fr.po: Update from translation team.
26899 * catgets/gencat.c: Update copyright year.
26900 * csu/version.c: Likewise.
26901 * debug/catchsegv.sh: Likewise.
26902 * debug/pcprofiledump.c: Likewise.
26903 * debug/xtrace.sh: Likewise.
26904 * elf/ldconfig.c: Likewise.
26905 * elf/ldd.bash.in: Likewise.
26906 * elf/pldd.c: Likewise.
26907 * elf/sotruss.ksh: Likewise.
26908 * elf/sprof.c: Likewise.
26909 * iconv/iconv_prog.c: Likewise.
26910 * iconv/iconvconfig.c: Likewise.
26911 * locale/programs/locale.c: Likewise.
26912 * locale/programs/localedef.c: Likewise.
26913 * login/programs/pt_chown.c: Likewise.
26914 * malloc/memusage.sh: Likewise.
26915 * malloc/memusagestat.c: Likewise.
26916 * malloc/mtrace.pl: Likewise.
26917 * nscd/nscd.c: Likewise.
26918 * nss/getent.c: Likewise.
26919 * nss/makedb.c: Likewise.
26920 * posix/getconf.c: Likewise.
26922 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26924 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26927 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26929 * math/bits/mathcalls.h (modf): Use __nonnull.
26931 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26933 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26934 (split): Use macro CN instead of the bare value.
26935 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26938 instead of the bare value.
26939 (power1): Likewise.
26941 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26945 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26947 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26949 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26950 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26951 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26952 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26954 2012-12-28 Andreas Jaeger <aj@suse.de>
26956 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26957 values are from Linux 3.7.
26959 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26960 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26962 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26964 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26967 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26969 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26970 variables with preprocessor constants.
26971 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26972 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26973 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26975 2012-12-27 Bruno Haible <bruno@clisp.org>
26978 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26981 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26984 and use variable directly.
26985 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26987 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26989 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26992 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26994 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26995 include directive. Remove local variable MPONE.
26996 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26997 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26998 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27000 2012-12-25 David S. Miller <davem@davemloft.net>
27002 * version.h (RELEASE): Set to "development".
27003 (VERSION): Set to "2.17.90".
27004 * NEWS: Add 2.18 section.
27006 2012-12-21 David S. Miller <davem@davemloft.net>
27008 * po/hr.po: Update from translation team.
27010 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27012 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27014 2012-12-19 Steve Ellcey <sellcey@mips.com>
27016 * NEWS: Mention new memcpy for MIPS.
27018 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27020 * manual/contrib.texi (Contributors): Spelling correction.
27022 2012-12-15 David S. Miller <davem@davemloft.net>
27024 * po/ru.po: Update from translation team.
27026 2012-12-13 David S. Miller <davem@davemloft.net>
27028 * NEWS: Mention IFUNC testsuite enhancements.
27030 * po/pl.po: Update from translation team.
27031 * po/bg.po: Likewise.
27033 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27034 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27036 2012-12-11 David S. Miller <davem@davemloft.net>
27038 * po/sv.po: Update from translation team.
27040 * po/vi.po: Update from translation team.
27042 * po/cs.po: Update from translation team.
27044 * po/de.po: Update from translation team.
27045 * po/eo.po: Likewise.
27046 * po/nl.po: Likewise.
27048 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27051 * manual/argp.texi (Argp Helper Functions): Move node to follow
27052 Argp Parsing State.
27055 * manual/conf.texi (Limits on File System Capacity): Mention if
27056 terminating null is included in the max size.
27058 2012-12-10 Andreas Jaeger <aj@suse.de>
27060 * po/cs.po: Update from translation team.
27062 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27064 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27065 void pointer and cast to uintptr_t.
27066 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27068 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27069 * sysdeps/s390/s390-64/memset.S: Likewise.
27071 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27074 * menual/message.texi (Message Translation): Fix typos.
27075 (Helper programs for gettext): Likewise.
27077 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27080 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27083 2012-12-07 David S. Miller <davem@davemloft.net>
27085 * po/libc.pot: Update.
27087 2012-12-07 Richard Henderson <rth@redhat.com>
27090 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27091 normal/normal case to before the switch.
27092 (_FP_DIV): Likewise.
27094 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27095 Mike Frysinger <vapier@gentoo.org>
27097 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27098 check for __NR_fadvise64_64.
27100 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27102 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27103 0, not just to plain "0" as a statement.
27104 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27107 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27109 * NEWS: Use sourceware.org in Bugzilla URL.
27111 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27114 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27116 * stdio-common/tst-put-error.c (do_test): Add newline to the
27117 padded test to ensure flush.
27119 2012-12-05 Jeff Law <law@redhat.com>
27121 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27123 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27125 * README: Don't refer to ports add-on as distributed separately.
27126 Mention AArch64 in list of systems supported in the ports add-on.
27128 * LICENSES: Add more non-FSF copyright and license notices.
27130 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27133 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27135 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27136 10000 as width of padded output.
27138 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27140 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27142 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27143 variable LX with __attribute__ ((unused)).
27144 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27146 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27147 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27148 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27149 with __attribute__ ((unused)).
27151 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27153 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27155 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27157 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27158 (CFLAGS-nldbl-acos.c): New variable.
27159 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27160 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27161 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27162 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27163 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27164 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27165 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27166 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27167 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27168 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27169 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27170 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27171 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27172 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27173 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27174 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27175 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27176 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27177 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27178 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27179 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27180 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27181 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27182 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27183 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27184 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27185 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27186 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27187 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27188 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27189 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27190 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27191 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27192 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27193 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27194 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27195 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27196 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27197 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27198 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27199 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27200 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27201 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27202 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27203 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27204 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27205 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27206 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27207 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27208 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27209 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27210 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27211 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27212 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27213 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27214 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27215 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27216 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27217 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27218 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27219 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27220 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27221 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27222 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27223 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27224 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27225 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27226 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27227 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27228 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27229 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27230 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27231 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27232 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27233 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27234 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27235 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27236 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27237 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27238 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27239 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27240 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27241 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27242 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27243 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27244 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27245 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27246 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27247 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27248 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27249 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27250 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27251 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27252 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27253 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27254 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27255 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27258 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27262 whole low double instead of just low 47 bits when splitting values
27265 2012-12-03 Allan McRae <allan@archlinux.org>
27267 * manual/stdio.texi (Predefined Printf Handlers): Remove
27268 @hsep and @vsep usage.
27270 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27272 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27273 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27275 2012-12-03 Jeff Law <law@redhat.com>
27277 * time/sys/time.h (settimeofday): Do not mark TV argument
27280 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27282 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27283 when currently writing and seek to current position when not.
27284 * libio/Makefile (tests): Remove bug-fclose1.
27285 * libio/bug-fclose1.c: Delete.
27287 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27289 * manual/arith.texi (feenableexcept): Fix typo.
27290 (fedisableexcept): Likewise.
27292 2012-11-30 Roland McGrath <roland@hack.frob.com>
27294 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27295 second, differently-typed declaration, rather than a cast.
27297 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27299 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27300 * include/rpc/svc.h: ... here.
27302 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27305 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27306 depending n and resplen2 to catch cases where answer
27309 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27311 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27312 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27314 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27318 2012-11-29 Roland McGrath <roland@hack.frob.com>
27320 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27322 2012-11-28 Jeff Law <law@redhat.com>
27325 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27326 dataset_temporary. Track alloca usage into alloca_used.
27327 If dataset is large allocate and release it via malloc/free.
27329 2012-06-04 Florian Weimer <fweimer@redhat.com>
27332 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27334 2012-11-28 David S. Miller <davem@davemloft.net>
27336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27338 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27341 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27342 of pi/2 rounded to nearest to 64 bits.
27343 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27344 nearest to 64 bits.
27345 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27348 2012-11-28 Jeff Law <law@redhat.com>
27349 Martin Osvald <mosvald@redhat.com>
27352 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27353 * sunrpc/svc.c: Include time.h.
27354 (__svc_accept_failed): New function.
27355 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27356 any reason other than EINTR, call __svc_accept_failed.
27357 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27358 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27360 2012-11-28 Andreas Schwab <schwab@suse.de>
27362 * scripts/abilist.awk: Also handle indirect functions in .opd
27365 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27368 * sysdeps/x86/fpu/powl_helper.c: New file.
27369 * sysdeps/x86/fpu/Makefile: Likewise.
27370 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27372 (__ieee754_powl): Use __powl_helper for finite arguments except
27373 integer exponents below 8.
27374 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27376 (__ieee754_powl): Use __powl_helper for finite arguments except
27377 integer exponents below 8.
27378 * math/libm-test.inc (pow_test): Add more tests and enable some
27379 previously disabled tests.
27380 * sysdeps/i386/fpu/libm-test-ulps: Update.
27381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27383 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27384 Carlos O'Donell <carlos_odonell@mentor.com>
27386 * nss/makedb.c (is_prime): Assert that input is odd and greater
27387 than 4. Note that fact in a comment too.
27388 (next_prime): Add 4 to input.
27390 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27393 * libio/Makefile (tests): Add test case tst-fwrite-error.
27394 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27395 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27396 * libio/tst-fwrite-error.c: New test case.
27398 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27400 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27401 before casting to void *.
27402 * include/libc-internal.h (__pointer_type): New macro.
27403 (__integer_if_pointer_type_sub): Likewise.
27404 (__integer_if_pointer_type): Likewise.
27405 (cast_to_integer): Likewise.
27406 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27407 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27408 before casting to atomic64_t.
27409 (atomic_exchange_acq): Likewise.
27410 (__arch_exchange_and_add_body): Likewise.
27411 (__arch_add_body): Likewise.
27412 (atomic_add_negative): Likewise.
27413 (atomic_add_zero): Likewise.
27415 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27417 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27418 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27419 (add_fdes): Likewise.
27420 (linear_search_fdes): Likewise.
27421 (binary_search_unencoded_fdes): Likewise.
27423 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27425 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27427 2012-11-24 Adam Conrad <adconrad@0c3.net>
27429 * configure.in: Autodetect C++ header directories.
27430 * configure: Regenerated.
27432 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27434 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27436 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27440 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27442 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27443 LDBL_MANT_DIG == 106]: Disable some tests.
27444 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27446 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27451 input for small inputs. Return +/- pi/2 for large inputs.
27452 * math/libm-test.inc (atan_test): Add more tests.
27454 * sysdeps/generic/unwind-dw2-fde-glibc.c
27455 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27456 __attribute__ ((unused)).
27459 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27460 x * y if x and y are nonzero and z is zero.
27463 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27464 nonzero exponents with absolute value below 0x1p-117 to +/-
27468 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27469 up arguments below 2**-450, not just those below 2**-500.
27470 * math/libm-test.inc (hypot_test): Add another test.
27473 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27474 Return a+b for ratio over 2**120, not 2**60.
27475 * math/libm-test.inc (hypot_test): Add another test.
27477 * math/libm-test.inc (clog_test): Use
27478 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27479 (clog10_test): Likewise.
27482 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27484 2012-11-22 Andreas Schwab <schwab@suse.de>
27486 * sysdeps/i386/fpu/libm-test-ulps: Update.
27488 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27490 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27491 printf output with newline.
27493 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27496 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27497 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27498 -z nodlopen, -z initfirst and -z execstack support.
27499 * configure: Regenerated.
27501 * elf/elf.h (DF_1_NODIRECT): New macro.
27502 (DF_1_IGNMULDEF): Likewise.
27503 (DF_1_NOKSYMS): Likewise.
27504 (DF_1_NOHDR): Likewise.
27505 (DF_1_EDITED): Likewise.
27506 (DF_1_NORELOC): Likewise.
27507 (DF_1_SYMINTPOSE): Likewise.
27508 (DF_1_GLOBAUDIT): Likewise.
27509 (DF_1_SINGLETON): Likewise.
27510 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27511 DT_1_SUPPORTED_MASK bits.
27512 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27514 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27516 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27518 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27520 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27523 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27524 (sendmmsg): Move declarations...
27525 * socket/sys/socket.h: ... here.
27526 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27527 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27529 * socket/recvmmsg.c: ... this new file.
27530 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27531 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27532 definition of __sendmmsg hidden.
27533 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27534 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27535 Move ENOSYS stub into and include it from...
27536 * socket/sendmmsg.c: ... this new file.
27537 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27538 (sysdep_routines): Move recvmmsg and sendmmsg...
27539 * socket/Makefile (routines): ... here.
27540 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27541 (GLIBC_PRIVATE): Add __sendmmsg.
27542 * include/sys/socket.h (__sendmmsg): Add declarations.
27543 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27546 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27549 variable I1 with __attribute__ ((unused)).
27550 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27552 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27554 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27555 DUMMY variables with __attribute__ ((unused)).
27557 * bits/byteswap.h: Include <bits/types.h>.
27558 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27560 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27562 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27563 string_t. Do not manually set errno.
27564 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27565 length with __strnlen. Make sure to both set errno and return it on
27568 2012-11-19 David S. Miller <davem@davemloft.net>
27570 With help from Joseph Myers.
27571 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27572 very large arguments properly.
27573 * math/libm-test.inc (atan_test): New tests.
27574 (atan2_test): New tests.
27575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27578 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27581 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27584 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27585 [POSIX] (EADDRNOTAVAIL): Likewise.
27586 [POSIX] (EAFNOSUPPORT): Likewise.
27587 [POSIX] (EALREADY): Likewise.
27588 [POSIX] (ECONNABORTED): Likewise.
27589 [POSIX] (ECONNREFUSED): Likewise.
27590 [POSIX] (ECONNRESET): Likewise.
27591 [POSIX] (EDESTADDRREQ): Likewise.
27592 [POSIX] (EDQUOT): Likewise.
27593 [POSIX] (EHOSTUNREACH): Likewise.
27594 [POSIX] (EIDRM): Likewise.
27595 [POSIX] (EISCONN): Likewise.
27596 [POSIX] (ELOOP): Likewise.
27597 [POSIX] (EMULTIHOP): Likewise.
27598 [POSIX] (ENETDOWN): Likewise.
27599 [POSIX] (ENETUNREACH): Likewise.
27600 [POSIX] (ENOBUFS): Likewise.
27601 [POSIX] (ENODATA): Likewise.
27602 [POSIX] (ENOLINK): Likewise.
27603 [POSIX] (ENOMSG): Likewise.
27604 [POSIX] (ENOPROTOOPT): Likewise.
27605 [POSIX] (ENOSR): Likewise.
27606 [POSIX] (ENOSTR): Likewise.
27607 [POSIX] (ENOTCONN): Likewise.
27608 [POSIX] (ENOTSOCK): Likewise.
27609 [POSIX] (EOPNOTSUPP): Likewise.
27610 [POSIX] (EOVERFLOW): Likewise.
27611 [POSIX] (EPROTO): Likewise.
27612 [POSIX] (EPROTONOSUPPORT): Likewise.
27613 [POSIX] (EPROTOTYPE): Likewise.
27614 [POSIX] (ESTALE): Likewise.
27615 [POSIX] (ETIME): Likewise.
27616 [POSIX] (ETXTBSY): Likewise.
27617 [POSIX] (EWOULDBLOCK): Likewise.
27618 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27619 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27620 [POSIX] (SEEK_CUR): Likewise.
27621 [POSIX] (SEEK_END): Likewise.
27622 [POSIX || UNIX98] (mode_t): Do not require.
27623 [POSIX] (off_t): Likewise.
27624 [POSIX] (pid_t): Likewise.
27625 [POSIX] (sys/stat.h): Do not allow header.
27626 [POSIX] (unistd.h): Likewise.
27627 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27628 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27629 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27630 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27632 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27633 sigevent): Specify elements.
27634 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27636 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27637 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27639 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27640 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27641 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27642 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27643 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27644 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27645 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27646 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27647 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27648 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27649 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27650 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27651 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27652 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27654 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27656 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27658 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27660 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27661 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27662 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27663 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27664 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27665 Specify lower bound on value.
27666 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27667 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27668 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27669 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27670 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27671 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27672 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27673 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27675 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27677 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27678 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27679 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27680 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27681 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27682 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27683 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27684 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27685 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27686 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27687 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27688 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27689 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27690 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27691 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27692 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27694 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27696 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27697 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27698 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27699 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27700 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27701 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27703 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27704 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27705 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27706 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27707 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27708 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27709 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27711 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27712 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27713 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27714 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27715 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27716 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27717 specify as optional.
27718 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27719 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27720 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27721 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27722 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27723 [XPG3] (NL_LANGMAX): Likewise.
27724 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27725 [POSIX || XPG3] (NL_NMAX): Likewise.
27726 [POSIX || XPG3] (NL_SETMAX): Likewise.
27727 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27728 [XPG3] (NZERO): Likewise.
27729 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27730 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27731 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27732 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27733 (REG_ERANGE): Expect.
27734 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27736 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27737 Use (void) in prototype.
27738 [POSIX] (*_t): Allow.
27739 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27740 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27741 (WRDE_BADVAL): Expect.
27743 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27745 [XPG3 || XPG4] (O_RSYNC): Likewise.
27746 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27748 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27749 [XPG3 || XPG4] (sigqueue): Likewise.
27750 [XPG3 || XPG4] (sigtimedwait): Likewise.
27751 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27752 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27753 [XPG3 || XPG4] (vsnprintf): Likewise.
27754 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27756 [XPG3 || XPG4] (blksize_t): Likewise.
27757 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27759 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27760 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27761 [XPG3 || XPG4] (struct itimerspec): Likewise.
27762 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27763 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27764 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27765 [XPG3 || XPG4] (clockid_t): Likewise.
27766 [XPG3 || XPG4] (timer_t): Likewise.
27767 [XPG3 || XPG4] (clock_getres): Likewise.
27768 [XPG3 || XPG4] (clock_gettime): Likewise.
27769 [XPG3 || XPG4] (clock_settime): Likewise.
27770 [XPG3 || XPG4] (nanosleep): Likewise.
27771 [XPG3 || XPG4] (timer_create): Likewise.
27772 [XPG3 || XPG4] (timer_delete): Likewise.
27773 [XPG3 || XPG4] (timer_gettime): Likewise.
27774 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27775 [XPG3 || XPG4] (timer_settime): Likewise.
27776 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27777 [XPG3 || XPG4] (getlogin_r): Likewise.
27778 [XPG3 || XPG4] (pread): Likewise.
27779 [XPG3 || XPG4] (pthread_atfork): Likewise.
27780 [XPG3 || XPG4] (pwrite): Likewise.
27783 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27786 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27788 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27789 finalizing MALLSTREAM.
27791 * sysdeps/mach/hurd/syncfs.c: New file.
27793 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27796 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27797 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27798 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27799 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27800 (_nss_dns_gethostbyname4_r): Likewise.
27801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27802 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27804 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27807 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27809 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27811 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27812 * elf/cache.c (print_entry): Print ",AArch64" for
27815 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27816 * elf/cache.c (print_entry): Print ",hard-float" for
27819 2012-11-18 David S. Miller <davem@davemloft.net>
27821 With help from Joseph Myers.
27822 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27824 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27826 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27827 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27829 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27830 * math/libm-test.inc (y0_test): New tests.
27831 (y1_test): New tests.
27832 * sysdeps/i386/fpu/libm-test-ulps: Update.
27833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27836 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27838 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27840 * configure: Regenerated.
27842 2012-11-17 David S. Miller <davem@davemloft.net>
27845 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27846 nonzero exponents with absolute value below 0x1p-128 to +/-
27849 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27851 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27853 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27855 * posix/getconf-speclist.c: New file.
27856 * posix/posix-envs.def: Likewise.
27857 * posix/confstr.c (START_ENV_GROUP): New macro.
27858 (END_ENV_GROUP): Likewise.
27859 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27860 (KNOWN_PRESENT_ENV_STRING): Likewise.
27861 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27862 (UNKNOWN_ENVIRONMENT): Likewise.
27863 (confstr): Include posix-envs.def instead of handling
27864 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27865 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27866 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27867 (END_ENV_GROUP): Likewise.
27868 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27869 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27870 (UNKNOWN_ENVIRONMENT): Likewise.
27871 (__sysconf): Include posix-envs.def instead of handling associated
27872 cases directly here.
27873 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27874 preprocessing getconf-speclist.c rather than running getconf or
27875 generating empty file.
27877 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27879 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27881 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27884 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27886 2012-11-16 David S. Miller <davem@davemloft.net>
27888 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27889 smaller than LDBL_EPSILON/2.0L, just return xm1.
27891 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27893 * elf/tst-array1.c (init): Set constructor priority to 1000.
27894 (fini): Set destructor priority to 1000.
27895 * elf/tst-array2dep.c: Likewise.
27897 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27900 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27901 (_IO_new_file_xsputn): Also return EOF if none of the input
27902 data was written when overflow failed.
27903 * libio/iopadn.c (_IO_padn): Likewise.
27904 * libio/iowpadn.c (_IO_wpadn): Likewise.
27905 * stdio-common/tst-put-error.c: Add copyright notice.
27906 (do_test): Add case for printing padded string.
27907 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27908 _IO_padn returned error.
27909 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27910 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27913 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27915 * libio/libioP.h: Add comment note that the references to C++
27916 bits are now obsolete.
27918 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27920 * math/libm-test.inc (check_complex): Use asprintf.
27922 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27924 * debug/pcprofiledump.c (print_version): Update copyright year.
27925 * malloc/memusagestat.c (print_version): Likewise.
27927 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27930 * elf/Makefile (tests): Add tst-audit8.
27931 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27932 ($(objpfx)tst-audit8.out): New target.
27933 (tst-audit8-ENV): New variable.
27934 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27935 audit if l_reloc_result is NULL.
27936 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27937 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27938 * elf/tst-audit8.c: New file.
27940 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27942 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27943 * misc/Makefile (CFLAGS-select.c): Define.
27944 * posix/Makefile (CFLAGS-pause.c): Define.
27946 2012-11-13 David S. Miller <davem@davemloft.net>
27948 * crypt/Makefile: Move test targets after toplevel Rules
27949 inclusion. Grab any necessary sysdep routines when linking.
27950 * crypt/md5.c (md5_process_block): Remove define, we will always
27951 name it __md5_process_block.
27952 (md5_finish_ctx): Update md5_process_block call.
27953 (md5_stream): Likewise.
27954 (md5_process_bytes): Likewise.
27955 (md5_process_block): Rename to __md5_process_block and move to ...
27956 * crypt/md5-block.c: ... here.
27957 * crypt/sha256.c (sha256_process_block): Move to ...
27958 * crypt/sha256-block.c: ... here.
27959 * crypt/sha512.c (sha512_process_block): Move to ...
27960 * crypt/sha512-block.c: ... here.
27961 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27963 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27964 * sysdeps/sparc/sparc64/multiarch/Makefile
27965 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27967 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27968 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27970 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27971 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27972 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27973 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27974 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27975 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27976 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27977 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27978 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27980 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27981 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27983 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27985 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27987 * timezone/tzselect.ksh: Update from tzcode git revision
27988 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27989 * timezone/zdump.c: Likewise.
27990 * timezone/zic.c: Likewise.
27991 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27992 in TZVERSION setting, not $(PKGVERSION).
27993 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27994 REPORT_BUGS_TO settings.
27997 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28000 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28002 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28003 detection to immediately after _FP_ROUND().
28004 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28007 2012-11-11 David S. Miller <davem@davemloft.net>
28009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28011 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28012 __close rather than their public counterparts.
28014 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28016 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28018 [UNIX98] (sem_timedwait): Do not expect.
28019 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28020 [XPG4 || UNIX98] (sockatmark): Do not expect.
28021 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28022 (clock_getcpuclockid): Do not expect.
28023 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28024 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28026 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28027 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28028 [UNIX98] (vwscanf): Likewise.
28029 [UNIX98] (vswscanf): Likewise.
28031 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28033 * timezone/version.h: Remove file.
28034 * timezone/README: Do not refer to version.h.
28035 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28036 $(objpfx)version.h.
28037 ($(objpfx)zdump.o): Likewise.
28038 ($(objpfx)version.h): New target.
28040 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28042 * timezone/README: Don't mention modification to tzselect.ksh.
28043 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28044 work on unmodified tzselect.ksh. Substitute version numbers in
28047 * Makefile (format-me): Remove.
28048 (INSTALL): Adjust indentation. Use commands directly instead of
28049 using $(format-me).
28051 * aclocal.m4 (ACX_PKGVERSION): New macro.
28052 (ACX_BUGURL): Likewise.
28053 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28054 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28055 (REPORT_BUGS_TO): Likewise.
28056 * configure: Regenerated.
28057 * config.h.in (PKGVERSION): New macro.
28058 (REPORT_BUGS_TO): Likewise.
28059 * config.make.in (PKGVERSION): New variable.
28060 (PKGVERSION_TEXI): Likewise.
28061 (REPORT_BUGS_TO): Likewise.
28062 (REPORT_BUGS_TEXI): Likewise.
28063 * Makefile (format-me): Use -I$(common-objpfx)manual.
28064 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28065 ($(common-objpfx)manual/%): New target.
28066 (manual/%): Remove target.
28067 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28068 (print_version): Use PKGVERSION.
28069 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28070 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28071 and REPORT_BUGS_TO.
28072 ($(objpfx)xtrace): Likewise.
28073 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28074 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28075 (print_version): Use PKGVERSION.
28076 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28077 (do_version): Use PKGVERSION.
28078 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28080 (common-ldd-rewrite): Likewise.
28081 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28082 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28083 (print_version): Use PKGVERSION.
28084 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28085 * elf/pldd.c (argp_program_bug_address): Remove variable.
28086 (more_help): New function.
28087 (argp): Use more_help.
28088 (print_version): Use PKGVERSION.
28089 * elf/sln.c (main): Use PKGVERSION.
28090 (usage): Use REPORT_BUGS_TO.
28091 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28092 (top level): Use PKGVERSION.
28093 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28094 (print_version): Use PKGVERSION.
28095 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28096 (print_version): Use PKGVERSION.
28097 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28098 (print_version): Use PKGVERSION.
28099 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28100 (print_version): Use PKGVERSION.
28101 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28102 (print_version): Use PKGVERSION.
28103 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28104 (print_version): Use PKGVERSION.
28105 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28107 ($(objpfx)memusage): Likewise.
28108 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28109 (do_version): Use PKGVERSION.
28110 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28111 (print_version): Use PKGVERSION.
28112 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28113 ($PKGVERSION): New variable.
28114 ($REPORT_BUGS_TO): Likewise.
28115 (usage): Use $REPORT_BUGS_TO.
28116 (top level): Use $PKGVERSION.
28117 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28118 ($(objpfx)pkgvers.texi): New rule.
28119 ($(objpfx)stamp-pkgvers): Likewise.
28120 * manual/install.texi: Include pkgvers.texi.
28121 (--with-pkgversion): Document new configure option.
28122 (--with-bugurl): Likewise.
28123 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28124 than necessarily for this particular distribution. Use
28125 REPORT_BUGS_TO for where to report bugs.
28126 * INSTALL: Regenerated.
28127 * manual/libc.texinfo: Include pkgvers.texi.
28128 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28129 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28130 (print_version): Use PKGVERSION.
28131 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28132 (print_version): Use PKGVERSION.
28133 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28134 (print_version): Use PKGVERSION.
28135 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28136 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28138 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28139 (print_version): Use PKGVERSION.
28140 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28141 (print_version): Use PKGVERSION.
28142 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28145 * timezone/checktab.awk: Update from tzcode 2012i.
28146 * timezone/ialloc.c: Likewise.
28147 * timezone/private.h: Likewise.
28148 * timezone/scheck.c: Likewise.
28149 * timezone/tzfile.h: Likewise.
28150 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28151 (TZVERSION): Hardcode tzcode version number.
28152 * timezone/zdump.c: Update from tzcode 2012i.
28153 * timezone/zic.c: Likewise.
28154 * timezone/version.h: New file.
28155 * timezone/README: Describe version.h. Update upstream location.
28158 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28159 (mktemp): Enable declaration.
28160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28165 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28169 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28177 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28178 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28179 for copies of such integer values.
28180 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28181 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28183 2012-11-09 Andreas Jaeger <aj@suse.de>
28185 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28186 definitions and declarations that are provided by
28187 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28189 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28191 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28192 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28193 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28196 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28198 * elf/elf.h: Update comment before AArch64 relocations.
28200 2012-11-07 David S. Miller <davem@davemloft.net>
28202 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28203 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28204 (__start_context): Declare.
28205 (__makecontext_ret): Delete.
28206 (__makecontext): Hook up __start_context instead of
28208 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28209 (sysdep_routines): Add __start_context when in stdlib.
28211 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28213 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28214 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28215 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28217 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28218 (READELF): New variable. Use it instead of hardcoded "readelf".
28220 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28222 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28223 * sysdeps/x86/Makefile: Here.
28224 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28225 * sysdeps/x86/tst-xmmymm.sh: This.
28227 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28229 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28231 [UNIX98] (pthread_barrier_t): Do not expect.
28232 [UNIX98] (pthread_barrierattr_t): Likewise.
28233 [UNIX98] (pthread_spinlock_t): Likewise.
28234 [UNIX98] (pthread_barrier_destroy): Likewise.
28235 [UNIX98] (pthread_barrier_init): Likewise.
28236 [UNIX98] (pthread_barrier_wait): Likewise.
28237 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28238 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28239 [UNIX98] (pthread_barrierattr_init): Likewise.
28240 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28241 [UNIX98] (pthread_getcpuclockid): Likewise.
28242 [UNIX98] (pthread_mutex_timedlock): Likewise.
28243 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28244 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28245 [UNIX98] (pthread_sigmask): Likewise.
28246 [UNIX98] (pthread_spin_destroy): Likewise.
28247 [UNIX98] (pthread_spin_init): Likewise.
28248 [UNIX98] (pthread_spin_lock): Likewise.
28249 [UNIX98] (pthread_spin_trylock): Likewise.
28250 [UNIX98] (pthread_spin_unlock): Likewise.
28251 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28253 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28254 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28255 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28256 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28257 [XPG3 || XPG4] (pthread_key_t): Likewise.
28258 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28259 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28260 [XPG3 || XPG4] (pthread_once_t): Likewise.
28261 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28262 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28263 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28264 [XPG3 || XPG4] (pthread_t): Likewise.
28266 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28268 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28270 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28271 Change function return type to int.
28273 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28274 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28275 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28276 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28277 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28278 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28279 [!POSIX] (posix_madvise): Likewise.
28280 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28282 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28283 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28284 (mode_t): Likewise.
28285 (posix_mem_offset): Likewise.
28286 (posix_typed_mem_get_info): Likewise.
28287 (posix_typed_mem_open): Likewise.
28289 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28290 Change condition to [XOPEN2K8].
28292 * conform/conformtest.pl: Preprocess allow-header data with -x c
28293 instead of from stdin.
28294 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28295 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28296 [C99-based standards] (cerfc): Likewise.
28297 [C99-based standards] (cexp2): Likewise.
28298 [C99-based standards] (cexpm1): Likewise.
28299 [C99-based standards] (clog10): Likewise.
28300 [C99-based standards] (clog1p): Likewise.
28301 [C99-based standards] (clog2): Likewise.
28302 [C99-based standards] (clgamma): Likewise.
28303 [C99-based standards] (ctgamma): Likewise.
28304 [C99-based standards] (cerff): Likewise.
28305 [C99-based standards] (cerfcf): Likewise.
28306 [C99-based standards] (cexp2f): Likewise.
28307 [C99-based standards] (cexpm1f): Likewise.
28308 [C99-based standards] (clog10f): Likewise.
28309 [C99-based standards] (clog1pf): Likewise.
28310 [C99-based standards] (clog2f): Likewise.
28311 [C99-based standards] (clgammaf): Likewise.
28312 [C99-based standards] (ctgammaf): Likewise.
28313 [C99-based standards] (cerfl): Likewise.
28314 [C99-based standards] (cerfcl): Likewise.
28315 [C99-based standards] (cexp2l): Likewise.
28316 [C99-based standards] (cexpm1l): Likewise.
28317 [C99-based standards] (clog10l): Likewise.
28318 [C99-based standards] (clog1pl): Likewise.
28319 [C99-based standards] (clog2l): Likewise.
28320 [C99-based standards] (clgammal): Likewise.
28321 [C99-based standards] (ctgammal): Likewise.
28322 * conform/data/inttypes.h-data [C99-based standards]: Include
28323 stdint.h-data. Remove all expectations for stdint.h contents.
28324 [C99-based standards] (PRI*): Do not allow.
28325 [C99-based standards] (SCN*): Likewise.
28326 [C99-based standards] (*_t): Likewise.
28327 [C99-based-standards] (PRId8): Expect macro.
28328 [C99-based-standards] (PRIi8): Likewise.
28329 [C99-based-standards] (PRIo8): Likewise.
28330 [C99-based-standards] (PRIu8): Likewise.
28331 [C99-based-standards] (PRIx8): Likewise.
28332 [C99-based-standards] (PRIX8): Likewise.
28333 [C99-based-standards] (SCNd8): Likewise.
28334 [C99-based-standards] (SCNi8): Likewise.
28335 [C99-based-standards] (SCNo8): Likewise.
28336 [C99-based-standards] (SCNu8): Likewise.
28337 [C99-based-standards] (SCNx8): Likewise.
28338 [C99-based-standards] (PRIdLEAST8): Likewise.
28339 [C99-based-standards] (PRIiLEAST8): Likewise.
28340 [C99-based-standards] (PRIoLEAST8): Likewise.
28341 [C99-based-standards] (PRIuLEAST8): Likewise.
28342 [C99-based-standards] (PRIxLEAST8): Likewise.
28343 [C99-based-standards] (PRIXLEAST8): Likewise.
28344 [C99-based-standards] (SCNdLEAST8): Likewise.
28345 [C99-based-standards] (SCNiLEAST8): Likewise.
28346 [C99-based-standards] (SCNoLEAST8): Likewise.
28347 [C99-based-standards] (SCNuLEAST8): Likewise.
28348 [C99-based-standards] (SCNxLEAST8): Likewise.
28349 [C99-based-standards] (PRIdFAST8): Likewise.
28350 [C99-based-standards] (PRIiFAST8): Likewise.
28351 [C99-based-standards] (PRIoFAST8): Likewise.
28352 [C99-based-standards] (PRIuFAST8): Likewise.
28353 [C99-based-standards] (PRIxFAST8): Likewise.
28354 [C99-based-standards] (PRIXFAST8): Likewise.
28355 [C99-based-standards] (SCNdFAST8): Likewise.
28356 [C99-based-standards] (SCNiFAST8): Likewise.
28357 [C99-based-standards] (SCNoFAST8): Likewise.
28358 [C99-based-standards] (SCNuFAST8): Likewise.
28359 [C99-based-standards] (SCNxFAST8): Likewise.
28360 [C99-based-standards] (PRId16): Likewise.
28361 [C99-based-standards] (PRIi16): Likewise.
28362 [C99-based-standards] (PRIo16): Likewise.
28363 [C99-based-standards] (PRIu16): Likewise.
28364 [C99-based-standards] (PRIx16): Likewise.
28365 [C99-based-standards] (PRIX16): Likewise.
28366 [C99-based-standards] (SCNd16): Likewise.
28367 [C99-based-standards] (SCNi16): Likewise.
28368 [C99-based-standards] (SCNo16): Likewise.
28369 [C99-based-standards] (SCNu16): Likewise.
28370 [C99-based-standards] (SCNx16): Likewise.
28371 [C99-based-standards] (PRIdLEAST16): Likewise.
28372 [C99-based-standards] (PRIiLEAST16): Likewise.
28373 [C99-based-standards] (PRIoLEAST16): Likewise.
28374 [C99-based-standards] (PRIuLEAST16): Likewise.
28375 [C99-based-standards] (PRIxLEAST16): Likewise.
28376 [C99-based-standards] (PRIXLEAST16): Likewise.
28377 [C99-based-standards] (SCNdLEAST16): Likewise.
28378 [C99-based-standards] (SCNiLEAST16): Likewise.
28379 [C99-based-standards] (SCNoLEAST16): Likewise.
28380 [C99-based-standards] (SCNuLEAST16): Likewise.
28381 [C99-based-standards] (SCNxLEAST16): Likewise.
28382 [C99-based-standards] (PRIdFAST16): Likewise.
28383 [C99-based-standards] (PRIiFAST16): Likewise.
28384 [C99-based-standards] (PRIoFAST16): Likewise.
28385 [C99-based-standards] (PRIuFAST16): Likewise.
28386 [C99-based-standards] (PRIxFAST16): Likewise.
28387 [C99-based-standards] (PRIXFAST16): Likewise.
28388 [C99-based-standards] (SCNdFAST16): Likewise.
28389 [C99-based-standards] (SCNiFAST16): Likewise.
28390 [C99-based-standards] (SCNoFAST16): Likewise.
28391 [C99-based-standards] (SCNuFAST16): Likewise.
28392 [C99-based-standards] (SCNxFAST16): Likewise.
28393 [C99-based-standards] (PRId32): Likewise.
28394 [C99-based-standards] (PRIi32): Likewise.
28395 [C99-based-standards] (PRIo32): Likewise.
28396 [C99-based-standards] (PRIu32): Likewise.
28397 [C99-based-standards] (PRIx32): Likewise.
28398 [C99-based-standards] (PRIX32): Likewise.
28399 [C99-based-standards] (SCNd32): Likewise.
28400 [C99-based-standards] (SCNi32): Likewise.
28401 [C99-based-standards] (SCNo32): Likewise.
28402 [C99-based-standards] (SCNu32): Likewise.
28403 [C99-based-standards] (SCNx32): Likewise.
28404 [C99-based-standards] (PRIdLEAST32): Likewise.
28405 [C99-based-standards] (PRIiLEAST32): Likewise.
28406 [C99-based-standards] (PRIoLEAST32): Likewise.
28407 [C99-based-standards] (PRIuLEAST32): Likewise.
28408 [C99-based-standards] (PRIxLEAST32): Likewise.
28409 [C99-based-standards] (PRIXLEAST32): Likewise.
28410 [C99-based-standards] (SCNdLEAST32): Likewise.
28411 [C99-based-standards] (SCNiLEAST32): Likewise.
28412 [C99-based-standards] (SCNoLEAST32): Likewise.
28413 [C99-based-standards] (SCNuLEAST32): Likewise.
28414 [C99-based-standards] (SCNxLEAST32): Likewise.
28415 [C99-based-standards] (PRIdFAST32): Likewise.
28416 [C99-based-standards] (PRIiFAST32): Likewise.
28417 [C99-based-standards] (PRIoFAST32): Likewise.
28418 [C99-based-standards] (PRIuFAST32): Likewise.
28419 [C99-based-standards] (PRIxFAST32): Likewise.
28420 [C99-based-standards] (PRIXFAST32): Likewise.
28421 [C99-based-standards] (SCNdFAST32): Likewise.
28422 [C99-based-standards] (SCNiFAST32): Likewise.
28423 [C99-based-standards] (SCNoFAST32): Likewise.
28424 [C99-based-standards] (SCNuFAST32): Likewise.
28425 [C99-based-standards] (SCNxFAST32): Likewise.
28426 [C99-based-standards] (PRId64): Likewise.
28427 [C99-based-standards] (PRIi64): Likewise.
28428 [C99-based-standards] (PRIo64): Likewise.
28429 [C99-based-standards] (PRIu64): Likewise.
28430 [C99-based-standards] (PRIx64): Likewise.
28431 [C99-based-standards] (PRIX64): Likewise.
28432 [C99-based-standards] (SCNd64): Likewise.
28433 [C99-based-standards] (SCNi64): Likewise.
28434 [C99-based-standards] (SCNo64): Likewise.
28435 [C99-based-standards] (SCNu64): Likewise.
28436 [C99-based-standards] (SCNx64): Likewise.
28437 [C99-based-standards] (PRIdLEAST64): Likewise.
28438 [C99-based-standards] (PRIiLEAST64): Likewise.
28439 [C99-based-standards] (PRIoLEAST64): Likewise.
28440 [C99-based-standards] (PRIuLEAST64): Likewise.
28441 [C99-based-standards] (PRIxLEAST64): Likewise.
28442 [C99-based-standards] (PRIXLEAST64): Likewise.
28443 [C99-based-standards] (SCNdLEAST64): Likewise.
28444 [C99-based-standards] (SCNiLEAST64): Likewise.
28445 [C99-based-standards] (SCNoLEAST64): Likewise.
28446 [C99-based-standards] (SCNuLEAST64): Likewise.
28447 [C99-based-standards] (SCNxLEAST64): Likewise.
28448 [C99-based-standards] (PRIdFAST64): Likewise.
28449 [C99-based-standards] (PRIiFAST64): Likewise.
28450 [C99-based-standards] (PRIoFAST64): Likewise.
28451 [C99-based-standards] (PRIuFAST64): Likewise.
28452 [C99-based-standards] (PRIxFAST64): Likewise.
28453 [C99-based-standards] (PRIXFAST64): Likewise.
28454 [C99-based-standards] (SCNdFAST64): Likewise.
28455 [C99-based-standards] (SCNiFAST64): Likewise.
28456 [C99-based-standards] (SCNoFAST64): Likewise.
28457 [C99-based-standards] (SCNuFAST64): Likewise.
28458 [C99-based-standards] (SCNxFAST64): Likewise.
28459 [C99-based-standards] (PRIdMAX): Likewise.
28460 [C99-based-standards] (PRIiMAX): Likewise.
28461 [C99-based-standards] (PRIoMAX): Likewise.
28462 [C99-based-standards] (PRIuMAX): Likewise.
28463 [C99-based-standards] (PRIxMAX): Likewise.
28464 [C99-based-standards] (PRIXMAX): Likewise.
28465 [C99-based-standards] (SCNdMAX): Likewise.
28466 [C99-based-standards] (SCNiMAX): Likewise.
28467 [C99-based-standards] (SCNoMAX): Likewise.
28468 [C99-based-standards] (SCNuMAX): Likewise.
28469 [C99-based-standards] (SCNxMAX): Likewise.
28470 [C99-based-standards] (PRIdPTR): Likewise.
28471 [C99-based-standards] (PRIiPTR): Likewise.
28472 [C99-based-standards] (PRIoPTR): Likewise.
28473 [C99-based-standards] (PRIuPTR): Likewise.
28474 [C99-based-standards] (PRIxPTR): Likewise.
28475 [C99-based-standards] (PRIXPTR): Likewise.
28476 [C99-based-standards] (SCNdPTR): Likewise.
28477 [C99-based-standards] (SCNiPTR): Likewise.
28478 [C99-based-standards] (SCNoPTR): Likewise.
28479 [C99-based-standards] (SCNuPTR): Likewise.
28480 [C99-based-standards] (SCNxPTR): Likewise.
28481 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28483 * conform/data/stdint.h-data: Update comments to clarify
28485 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28487 [C99-based standards] (INT8_MAX): Likewise.
28488 [C99-based standards] (INT16_MIN): Likewise.
28489 [C99-based standards] (INT16_MAX): Likewise.
28490 [C99-based standards] (INT32_MIN): Likewise.
28491 [C99-based standards] (INT32_MAX): Likewise.
28492 [C99-based standards] (INT64_MIN): Likewise.
28493 [C99-based standards] (INT64_MAX): Likewise.
28494 [C99-based standards] (UINT8_MAX): Likewise.
28495 [C99-based standards] (UINT16_MAX): Likewise.
28496 [C99-based standards] (UINT32_MAX): Likewise.
28497 [C99-based standards] (UINT64_MAX): Likewise.
28498 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28499 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28500 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28501 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28502 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28503 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28504 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28505 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28506 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28507 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28508 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28509 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28510 [C99-based standards] (INT_FAST8_MIN): Likewise.
28511 [C99-based standards] (INT_FAST8_MAX): Likewise.
28512 [C99-based standards] (INT_FAST16_MIN): Likewise.
28513 [C99-based standards] (INT_FAST16_MAX): Likewise.
28514 [C99-based standards] (INT_FAST32_MIN): Likewise.
28515 [C99-based standards] (INT_FAST32_MAX): Likewise.
28516 [C99-based standards] (INT_FAST64_MIN): Likewise.
28517 [C99-based standards] (INT_FAST64_MAX): Likewise.
28518 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28519 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28520 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28521 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28522 [C99-based standards] (INTPTR_MIN): Likewise.
28523 [C99-based standards] (INTPTR_MAX): Likewise.
28524 [C99-based standards] (UINTPTR_MAX): Likewise.
28525 [C99-based standards] (INTMAX_MIN): Likewise.
28526 [C99-based standards] (INTMAX_MAX): Likewise.
28527 [C99-based standards] (UINTMAX_MAX): Likewise.
28528 [C99-based standards] (PTRDIFF_MIN): Likewise.
28529 [C99-based standards] (PTRDIFF_MAX): Likewise.
28530 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28531 [C99-based standards] (SIZE_MAX): Likewise.
28532 [C99-based standards] (WCHAR_MAX): Likewise.
28533 [C99-based standards] (WINT_MAX): Likewise.
28534 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28535 constraint on value.
28536 [C99-based standards] (WCHAR_MIN): Likewise.
28537 [C99-based standards] (WINT_MIN): Likewise.
28538 [C99-based standards] (*_t): Allow.
28539 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28540 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28541 Include math.h-data and complex.h-data. Remove all expectations
28542 of math.h and complex.h contents.
28543 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28545 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28546 (struct tm): Expect tag.
28547 [C99-based-standards] (wcstof): Expect function.
28548 [C99-based-standards] (wcstold): Likewise.
28549 [C99-based-standards] (wcstoll): Likewise.
28550 [C99-based-standards] (wcstoull): Likewise.
28551 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28552 macro-int-constant. Specify type.
28553 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28554 constraint on value.
28555 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28557 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28559 [ISO C standards]: Do not allow headers.
28560 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28561 wcs[abcdefghijklmnopqrstuvwxyz]*.
28562 [ISO C standards] (*_t): Do not allow.
28563 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28565 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28566 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28568 [ISO C standards]: Do not allow headers.
28569 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28570 is[abcdefghijklmnopqrstuvwxyz]*.
28571 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28572 to[abcdefghijklmnopqrstuvwxyz]*.
28573 [ISO C standards] (*_t): Do not allow.
28574 * conform/data/stdalign.h-data: New file.
28575 * conform/data/stdbool.h-data: Likewise.
28576 * conform/data/stdnoreturn.h-data: Likewise.
28578 2012-11-07 Roland McGrath <roland@hack.frob.com>
28581 * manual/filesys.texi (Directory Entries): Typo fix.
28582 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28584 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28586 * elf/elf.h (EM_AARCH64): New macro.
28587 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28588 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28589 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28590 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28591 (R_AARCH64_TLSDESC): Likewise.
28592 (NT_ARM_TLS): Likewise.
28593 (NT_ARM_HW_BREAK): Likewise.
28594 (NT_ARM_HW_WATCH): Likewise.
28596 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28599 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28600 (__ieee754_powl): Saturate nonzero exponents with absolute value
28601 below 0x1p-79 to +/- 0x1p-79.
28602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28603 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28604 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28605 nonzero exponents with absolute value below 0x1p-32 to +/-
28607 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28608 (__ieee754_powl): Saturate nonzero exponents with absolute value
28609 below 0x1p-79 to +/- 0x1p-79.
28610 * math/libm-test.inc (pow_test): Add more tests.
28612 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28614 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28615 _dl_s390_cap_flags with kernel. Increase string length.
28616 (_dl_s390_platforms): Add z196 and zEC12.
28618 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28620 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28621 Change XOPEN21K to XOPEN2K.
28623 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28625 * string/memmove.c: Use memcpy when possible.
28627 2012-11-06 Andreas Jaeger <aj@suse.de>
28629 * po/eo.po: Update from translation team.
28631 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28635 exponent and small x and y exponents, scale x or y up. Increase
28636 by 2 the exponent used in scaling up.
28637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28639 * math/libm-test.inc (fma_test): Add more tests.
28640 (fma_test_towardzero): Likewise.
28641 (fma_test_downward): Likewise.
28642 (fma_test_upward): Likewise.
28644 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28647 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28651 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28652 namespace for names of struct fields.
28653 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28655 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28656 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28658 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28661 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28663 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28665 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28669 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28672 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28676 definitely overflow as x * y not x * y + z.
28677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28679 * math/libm-test.inc (fma_test): Add more tests.
28680 (fma_test_towardzero): Likewise.
28681 (fma_test_downward): Likewise.
28682 (fma_test_upward): Likewise.
28684 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28688 * include/stub-tag.h: Remove file.
28689 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28691 * manual/maint.texi (Porting): Don't reference it.
28692 * Makerules ($(objpfx)stubs): Likewise.
28693 * dirent/closedir.c: Don't include <stub-tag.h>.
28694 * dirent/dirfd.c: Likewise.
28695 * dirent/fdopendir.c: Likewise.
28696 * dirent/getdents.c: Likewise.
28697 * dirent/getdents64.c: Likewise.
28698 * dirent/opendir.c: Likewise.
28699 * dirent/readdir.c: Likewise.
28700 * dirent/readdir64.c: Likewise.
28701 * dirent/readdir64_r.c: Likewise.
28702 * dirent/readdir_r.c: Likewise.
28703 * dirent/rewinddir.c: Likewise.
28704 * dirent/seekdir.c: Likewise.
28705 * dirent/telldir.c: Likewise.
28706 * gmon/profil.c: Likewise.
28707 * grp/setgroups.c: Likewise.
28708 * inet/if_index.c: Likewise.
28709 * io/access.c: Likewise.
28710 * io/chdir.c: Likewise.
28711 * io/chmod.c: Likewise.
28712 * io/chown.c: Likewise.
28713 * io/close.c: Likewise.
28714 * io/dup.c: Likewise.
28715 * io/dup2.c: Likewise.
28716 * io/dup3.c: Likewise.
28717 * io/euidaccess.c: Likewise.
28718 * io/faccessat.c: Likewise.
28719 * io/fchdir.c: Likewise.
28720 * io/fchmod.c: Likewise.
28721 * io/fchmodat.c: Likewise.
28722 * io/fchown.c: Likewise.
28723 * io/fchownat.c: Likewise.
28724 * io/fcntl.c: Likewise.
28725 * io/flock.c: Likewise.
28726 * io/fstatfs.c: Likewise.
28727 * io/fstatfs64.c: Likewise.
28728 * io/fstatvfs.c: Likewise.
28729 * io/fstatvfs64.c: Likewise.
28730 * io/futimens.c: Likewise.
28731 * io/fxstat.c: Likewise.
28732 * io/fxstat64.c: Likewise.
28733 * io/fxstatat.c: Likewise.
28734 * io/fxstatat64.c: Likewise.
28735 * io/getcwd.c: Likewise.
28736 * io/isatty.c: Likewise.
28737 * io/lchmod.c: Likewise.
28738 * io/lchown.c: Likewise.
28739 * io/link.c: Likewise.
28740 * io/linkat.c: Likewise.
28741 * io/lseek.c: Likewise.
28742 * io/lseek64.c: Likewise.
28743 * io/lxstat64.c: Likewise.
28744 * io/mkdir.c: Likewise.
28745 * io/mkdirat.c: Likewise.
28746 * io/mkfifo.c: Likewise.
28747 * io/mkfifoat.c: Likewise.
28748 * io/open.c: Likewise.
28749 * io/open64.c: Likewise.
28750 * io/openat.c: Likewise.
28751 * io/openat64.c: Likewise.
28752 * io/pipe.c: Likewise.
28753 * io/pipe2.c: Likewise.
28754 * io/poll.c: Likewise.
28755 * io/posix_fadvise.c: Likewise.
28756 * io/posix_fadvise64.c: Likewise.
28757 * io/posix_fallocate.c: Likewise.
28758 * io/posix_fallocate64.c: Likewise.
28759 * io/read.c: Likewise.
28760 * io/readlink.c: Likewise.
28761 * io/readlinkat.c: Likewise.
28762 * io/rmdir.c: Likewise.
28763 * io/sendfile.c: Likewise.
28764 * io/sendfile64.c: Likewise.
28765 * io/statfs.c: Likewise.
28766 * io/statfs64.c: Likewise.
28767 * io/statvfs.c: Likewise.
28768 * io/statvfs64.c: Likewise.
28769 * io/symlink.c: Likewise.
28770 * io/symlinkat.c: Likewise.
28771 * io/ttyname.c: Likewise.
28772 * io/ttyname_r.c: Likewise.
28773 * io/umask.c: Likewise.
28774 * io/unlink.c: Likewise.
28775 * io/unlinkat.c: Likewise.
28776 * io/utime.c: Likewise.
28777 * io/utimensat.c: Likewise.
28778 * io/write.c: Likewise.
28779 * io/xmknod.c: Likewise.
28780 * io/xmknodat.c: Likewise.
28781 * io/xstat.c: Likewise.
28782 * io/xstat64.c: Likewise.
28783 * login/getpt.c: Likewise.
28784 * login/grantpt.c: Likewise.
28785 * login/unlockpt.c: Likewise.
28786 * math/e_acoshl.c: Likewise.
28787 * math/e_acosl.c: Likewise.
28788 * math/e_asinl.c: Likewise.
28789 * math/e_atan2l.c: Likewise.
28790 * math/e_atanhl.c: Likewise.
28791 * math/e_coshl.c: Likewise.
28792 * math/e_expl.c: Likewise.
28793 * math/e_fmodl.c: Likewise.
28794 * math/e_gammal_r.c: Likewise.
28795 * math/e_hypotl.c: Likewise.
28796 * math/e_j0l.c: Likewise.
28797 * math/e_j1l.c: Likewise.
28798 * math/e_jnl.c: Likewise.
28799 * math/e_lgammal_r.c: Likewise.
28800 * math/e_log10l.c: Likewise.
28801 * math/e_log2l.c: Likewise.
28802 * math/e_logl.c: Likewise.
28803 * math/e_powl.c: Likewise.
28804 * math/e_rem_pio2l.c: Likewise.
28805 * math/e_sinhl.c: Likewise.
28806 * math/e_sqrtl.c: Likewise.
28807 * math/fclrexcpt.c: Likewise.
28808 * math/fedisblxcpt.c: Likewise.
28809 * math/feenablxcpt.c: Likewise.
28810 * math/fegetenv.c: Likewise.
28811 * math/fegetexcept.c: Likewise.
28812 * math/fegetround.c: Likewise.
28813 * math/feholdexcpt.c: Likewise.
28814 * math/fesetenv.c: Likewise.
28815 * math/fesetround.c: Likewise.
28816 * math/feupdateenv.c: Likewise.
28817 * math/fgetexcptflg.c: Likewise.
28818 * math/fraiseexcpt.c: Likewise.
28819 * math/fsetexcptflg.c: Likewise.
28820 * math/ftestexcept.c: Likewise.
28821 * math/k_cosl.c: Likewise.
28822 * math/k_rem_pio2l.c: Likewise.
28823 * math/k_sinl.c: Likewise.
28824 * math/k_tanl.c: Likewise.
28825 * math/s_asinhl.c: Likewise.
28826 * math/s_atanl.c: Likewise.
28827 * math/s_cbrtl.c: Likewise.
28828 * math/s_erfl.c: Likewise.
28829 * math/s_expm1l.c: Likewise.
28830 * math/s_log1pl.c: Likewise.
28831 * math/s_tanhl.c: Likewise.
28832 * misc/acct.c: Likewise.
28833 * misc/brk.c: Likewise.
28834 * misc/chflags.c: Likewise.
28835 * misc/chroot.c: Likewise.
28836 * misc/fchflags.c: Likewise.
28837 * misc/fgetxattr.c: Likewise.
28838 * misc/flistxattr.c: Likewise.
28839 * misc/fremovexattr.c: Likewise.
28840 * misc/fsetxattr.c: Likewise.
28841 * misc/fsync.c: Likewise.
28842 * misc/ftruncate.c: Likewise.
28843 * misc/futimes.c: Likewise.
28844 * misc/futimesat.c: Likewise.
28845 * misc/getdomain.c: Likewise.
28846 * misc/getdtsz.c: Likewise.
28847 * misc/gethostid.c: Likewise.
28848 * misc/gethostname.c: Likewise.
28849 * misc/getloadavg.c: Likewise.
28850 * misc/getpagesize.c: Likewise.
28851 * misc/getsysstats.c: Likewise.
28852 * misc/getxattr.c: Likewise.
28853 * misc/gtty.c: Likewise.
28854 * misc/ioctl.c: Likewise.
28855 * misc/lgetxattr.c: Likewise.
28856 * misc/listxattr.c: Likewise.
28857 * misc/llistxattr.c: Likewise.
28858 * misc/lremovexattr.c: Likewise.
28859 * misc/lsetxattr.c: Likewise.
28860 * misc/lutimes.c: Likewise.
28861 * misc/madvise.c: Likewise.
28862 * misc/mincore.c: Likewise.
28863 * misc/mlock.c: Likewise.
28864 * misc/mlockall.c: Likewise.
28865 * misc/mmap.c: Likewise.
28866 * misc/mprotect.c: Likewise.
28867 * misc/msync.c: Likewise.
28868 * misc/munlock.c: Likewise.
28869 * misc/munlockall.c: Likewise.
28870 * misc/munmap.c: Likewise.
28871 * misc/preadv.c: Likewise.
28872 * misc/preadv64.c: Likewise.
28873 * misc/ptrace.c: Likewise.
28874 * misc/pwritev.c: Likewise.
28875 * misc/pwritev64.c: Likewise.
28876 * misc/readv.c: Likewise.
28877 * misc/reboot.c: Likewise.
28878 * misc/remap_file_pages.c: Likewise.
28879 * misc/removexattr.c: Likewise.
28880 * misc/revoke.c: Likewise.
28881 * misc/select.c: Likewise.
28882 * misc/setdomain.c: Likewise.
28883 * misc/setegid.c: Likewise.
28884 * misc/seteuid.c: Likewise.
28885 * misc/sethostid.c: Likewise.
28886 * misc/sethostname.c: Likewise.
28887 * misc/setregid.c: Likewise.
28888 * misc/setreuid.c: Likewise.
28889 * misc/setxattr.c: Likewise.
28890 * misc/sstk.c: Likewise.
28891 * misc/stty.c: Likewise.
28892 * misc/swapoff.c: Likewise.
28893 * misc/swapon.c: Likewise.
28894 * misc/sync.c: Likewise.
28895 * misc/syncfs.c: Likewise.
28896 * misc/syscall.c: Likewise.
28897 * misc/truncate.c: Likewise.
28898 * misc/ualarm.c: Likewise.
28899 * misc/usleep.c: Likewise.
28900 * misc/ustat.c: Likewise.
28901 * misc/utimes.c: Likewise.
28902 * misc/vhangup.c: Likewise.
28903 * misc/writev.c: Likewise.
28904 * posix/_exit.c: Likewise.
28905 * posix/alarm.c: Likewise.
28906 * posix/execve.c: Likewise.
28907 * posix/fexecve.c: Likewise.
28908 * posix/fork.c: Likewise.
28909 * posix/fpathconf.c: Likewise.
28910 * posix/getaddrinfo.c: Likewise.
28911 * posix/getegid.c: Likewise.
28912 * posix/geteuid.c: Likewise.
28913 * posix/getgid.c: Likewise.
28914 * posix/getgroups.c: Likewise.
28915 * posix/getlogin.c: Likewise.
28916 * posix/getlogin_r.c: Likewise.
28917 * posix/getpgid.c: Likewise.
28918 * posix/getpid.c: Likewise.
28919 * posix/getppid.c: Likewise.
28920 * posix/getresgid.c: Likewise.
28921 * posix/getresuid.c: Likewise.
28922 * posix/getsid.c: Likewise.
28923 * posix/getuid.c: Likewise.
28924 * posix/glob64.c: Likewise.
28925 * posix/nanosleep.c: Likewise.
28926 * posix/pathconf.c: Likewise.
28927 * posix/pause.c: Likewise.
28928 * posix/posix_madvise.c: Likewise.
28929 * posix/pread.c: Likewise.
28930 * posix/pread64.c: Likewise.
28931 * posix/pwrite.c: Likewise.
28932 * posix/pwrite64.c: Likewise.
28933 * posix/sched_getaffinity.c: Likewise.
28934 * posix/sched_getp.c: Likewise.
28935 * posix/sched_gets.c: Likewise.
28936 * posix/sched_primax.c: Likewise.
28937 * posix/sched_primin.c: Likewise.
28938 * posix/sched_rr_gi.c: Likewise.
28939 * posix/sched_setaffinity.c: Likewise.
28940 * posix/sched_setp.c: Likewise.
28941 * posix/sched_sets.c: Likewise.
28942 * posix/sched_yield.c: Likewise.
28943 * posix/setgid.c: Likewise.
28944 * posix/setlogin.c: Likewise.
28945 * posix/setpgid.c: Likewise.
28946 * posix/setresgid.c: Likewise.
28947 * posix/setresuid.c: Likewise.
28948 * posix/setsid.c: Likewise.
28949 * posix/setuid.c: Likewise.
28950 * posix/sleep.c: Likewise.
28951 * posix/spawni.c: Likewise.
28952 * posix/sysconf.c: Likewise.
28953 * posix/times.c: Likewise.
28954 * posix/wait.c: Likewise.
28955 * posix/wait3.c: Likewise.
28956 * posix/wait4.c: Likewise.
28957 * posix/waitpid.c: Likewise.
28958 * resolv/gai_sigqueue.c: Likewise.
28959 * resource/getpriority.c: Likewise.
28960 * resource/getrlimit.c: Likewise.
28961 * resource/getrusage.c: Likewise.
28962 * resource/nice.c: Likewise.
28963 * resource/setpriority.c: Likewise.
28964 * resource/setrlimit.c: Likewise.
28965 * resource/ulimit.c: Likewise.
28966 * rt/aio_cancel.c: Likewise.
28967 * rt/aio_fsync.c: Likewise.
28968 * rt/aio_read.c: Likewise.
28969 * rt/aio_sigqueue.c: Likewise.
28970 * rt/aio_suspend.c: Likewise.
28971 * rt/aio_write.c: Likewise.
28972 * rt/clock_getres.c: Likewise.
28973 * rt/clock_gettime.c: Likewise.
28974 * rt/clock_nanosleep.c: Likewise.
28975 * rt/clock_settime.c: Likewise.
28976 * rt/lio_listio.c: Likewise.
28977 * rt/mq_close.c: Likewise.
28978 * rt/mq_getattr.c: Likewise.
28979 * rt/mq_notify.c: Likewise.
28980 * rt/mq_open.c: Likewise.
28981 * rt/mq_receive.c: Likewise.
28982 * rt/mq_send.c: Likewise.
28983 * rt/mq_setattr.c: Likewise.
28984 * rt/mq_timedreceive.c: Likewise.
28985 * rt/mq_timedsend.c: Likewise.
28986 * rt/mq_unlink.c: Likewise.
28987 * rt/shm_open.c: Likewise.
28988 * rt/shm_unlink.c: Likewise.
28989 * rt/timer_create.c: Likewise.
28990 * rt/timer_delete.c: Likewise.
28991 * rt/timer_getoverr.c: Likewise.
28992 * rt/timer_gettime.c: Likewise.
28993 * rt/timer_settime.c: Likewise.
28994 * setjmp/__longjmp.c: Likewise.
28995 * setjmp/setjmp.c: Likewise.
28996 * signal/kill.c: Likewise.
28997 * signal/killpg.c: Likewise.
28998 * signal/raise.c: Likewise.
28999 * signal/sigaction.c: Likewise.
29000 * signal/sigaltstack.c: Likewise.
29001 * signal/sigblock.c: Likewise.
29002 * signal/sigignore.c: Likewise.
29003 * signal/sigintr.c: Likewise.
29004 * signal/signal.c: Likewise.
29005 * signal/sigpause.c: Likewise.
29006 * signal/sigpending.c: Likewise.
29007 * signal/sigqueue.c: Likewise.
29008 * signal/sigreturn.c: Likewise.
29009 * signal/sigset.c: Likewise.
29010 * signal/sigsetmask.c: Likewise.
29011 * signal/sigstack.c: Likewise.
29012 * signal/sigsuspend.c: Likewise.
29013 * signal/sigtimedwait.c: Likewise.
29014 * signal/sigvec.c: Likewise.
29015 * signal/sigwait.c: Likewise.
29016 * signal/sigwaitinfo.c: Likewise.
29017 * signal/sysv_signal.c: Likewise.
29018 * socket/accept.c: Likewise.
29019 * socket/accept4.c: Likewise.
29020 * socket/bind.c: Likewise.
29021 * socket/connect.c: Likewise.
29022 * socket/getpeername.c: Likewise.
29023 * socket/getsockname.c: Likewise.
29024 * socket/getsockopt.c: Likewise.
29025 * socket/isfdtype.c: Likewise.
29026 * socket/listen.c: Likewise.
29027 * socket/recv.c: Likewise.
29028 * socket/recvfrom.c: Likewise.
29029 * socket/recvmsg.c: Likewise.
29030 * socket/send.c: Likewise.
29031 * socket/sendmsg.c: Likewise.
29032 * socket/sendto.c: Likewise.
29033 * socket/setsockopt.c: Likewise.
29034 * socket/shutdown.c: Likewise.
29035 * socket/sockatmark.c: Likewise.
29036 * socket/socket.c: Likewise.
29037 * socket/socketpair.c: Likewise.
29038 * stdio-common/ctermid.c: Likewise.
29039 * stdio-common/cuserid.c: Likewise.
29040 * stdio-common/remove.c: Likewise.
29041 * stdio-common/rename.c: Likewise.
29042 * stdio-common/renameat.c: Likewise.
29043 * stdio-common/tempname.c: Likewise.
29044 * stdlib/getcontext.c: Likewise.
29045 * stdlib/makecontext.c: Likewise.
29046 * stdlib/setcontext.c: Likewise.
29047 * stdlib/swapcontext.c: Likewise.
29048 * stdlib/system.c: Likewise.
29049 * streams/fattach.c: Likewise.
29050 * streams/fdetach.c: Likewise.
29051 * streams/getmsg.c: Likewise.
29052 * streams/getpmsg.c: Likewise.
29053 * streams/putmsg.c: Likewise.
29054 * streams/putpmsg.c: Likewise.
29055 * sysdeps/unix/bsd/getpt.c: Likewise.
29056 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29057 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29058 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29061 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29062 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29063 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29064 * sysvipc/msgctl.c: Likewise.
29065 * sysvipc/msgget.c: Likewise.
29066 * sysvipc/msgrcv.c: Likewise.
29067 * sysvipc/msgsnd.c: Likewise.
29068 * sysvipc/semctl.c: Likewise.
29069 * sysvipc/semget.c: Likewise.
29070 * sysvipc/semop.c: Likewise.
29071 * sysvipc/semtimedop.c: Likewise.
29072 * sysvipc/shmat.c: Likewise.
29073 * sysvipc/shmctl.c: Likewise.
29074 * sysvipc/shmdt.c: Likewise.
29075 * sysvipc/shmget.c: Likewise.
29076 * termios/tcdrain.c: Likewise.
29077 * termios/tcflow.c: Likewise.
29078 * termios/tcflush.c: Likewise.
29079 * termios/tcgetattr.c: Likewise.
29080 * termios/tcgetpgrp.c: Likewise.
29081 * termios/tcsendbrk.c: Likewise.
29082 * termios/tcsetattr.c: Likewise.
29083 * termios/tcsetpgrp.c: Likewise.
29084 * time/adjtime.c: Likewise.
29085 * time/clock.c: Likewise.
29086 * time/getitimer.c: Likewise.
29087 * time/gettimeofday.c: Likewise.
29088 * time/setitimer.c: Likewise.
29089 * time/settimeofday.c: Likewise.
29090 * time/stime.c: Likewise.
29091 * time/time.c: Likewise.
29093 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29095 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29098 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29100 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29102 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29106 FE_TONEAREST before applying Dekker multiplication and Knuth
29107 addition. Clear inexact exceptions and check for exact zero
29108 results afterwards.
29109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29110 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29111 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29112 * math/libm-test.inc (fma_test): Add more tests.
29113 (fma_test_towardzero): Likewise.
29114 (fma_test_downward): Likewise.
29115 (fma_test_upward): Likewise.
29116 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29118 (libc_fesetround): New macro.
29119 (libc_fesetroundf): Likewise.
29120 (libc_fesetroundl): Likewise.
29121 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29123 (libc_fesetround_387): Likewise.
29124 (libc_fesetroundf): New macro.
29125 (libc_fesetround): Likewise.
29126 (libc_fesetroundl): Likewise.
29127 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29129 (libc_fesetroundf): New macro.
29130 (libc_fesetround): Likewise.
29131 (libc_fesetroundl): Likewise.
29132 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29133 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29134 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29136 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29137 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29139 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29140 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29142 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29146 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29147 integer constant usable in #if and use that to give value to enum
29149 (FE_DIVBYZERO): Likewise.
29150 (FE_UNDERFLOW): Likewise.
29151 (FE_OVERFLOW): Likewise.
29152 (FE_INVALID): Likewise.
29153 (FE_INVALID_SNAN): Likewise.
29154 (FE_INVALID_ISI): Likewise.
29155 (FE_INVALID_IDI): Likewise.
29156 (FE_INVALID_ZDZ): Likewise.
29157 (FE_INVALID_IMZ): Likewise.
29158 (FE_INVALID_COMPARE): Likewise.
29159 (FE_INVALID_SOFTWARE): Likewise.
29160 (FE_INVALID_SQRT): Likewise.
29161 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29162 (FE_TONEAREST): Likewise.
29163 (FE_TOWARDZERO): Likewise.
29164 (FE_UPWARD): Likewise.
29165 (FE_DOWNWARD): Likewise.
29166 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29167 (FE_DIVBYZERO): Likewise.
29168 (FE_OVERFLOW): Likewise.
29169 (FE_UNDERFLOW): Likewise.
29170 (FE_INEXACT): Likewise.
29171 (FE_TONEAREST): Likewise.
29172 (FE_DOWNWARD): Likewise.
29173 (FE_UPWARD): Likewise.
29174 (FE_TOWARDZERO): Likewise.
29175 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29176 (FE_UNDERFLOW): Likewise.
29177 (FE_OVERFLOW): Likewise.
29178 (FE_DIVBYZERO): Likewise.
29179 (FE_INVALID): Likewise.
29180 (FE_TONEAREST): Likewise.
29181 (FE_TOWARDZERO): Likewise.
29182 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29183 (FE_OVERFLOW): Likewise.
29184 (FE_UNDERFLOW): Likewise.
29185 (FE_DIVBYZERO): Likewise.
29186 (FE_INEXACT): Likewise.
29187 (FE_TONEAREST): Likewise.
29188 (FE_TOWARDZERO): Likewise.
29189 (FE_UPWARD): Likewise.
29190 (FE_DOWNWARD): Likewise.
29191 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29192 (FE_DIVBYZERO): Likewise.
29193 (FE_OVERFLOW): Likewise.
29194 (FE_UNDERFLOW): Likewise.
29195 (FE_INEXACT): Likewise.
29196 (FE_TONEAREST): Likewise.
29197 (FE_DOWNWARD): Likewise.
29198 (FE_UPWARD): Likewise.
29199 (FE_TOWARDZERO): Likewise.
29201 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29203 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29205 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29207 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29208 commands. Quote $PWD.
29209 (blacklist_exports): Don't use remove_newlines. Replace "declare
29211 (remove_newlines): Remove.
29213 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29215 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29216 * stdlib/stdlib.h (atof): Moved to ...
29217 * include/bits/stdlib-float.h: Here. New file.
29218 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29219 * stdlib/bits/stdlib-float.h: New file.
29220 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29222 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29225 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29227 * conform/conformtest.pl (@headers): Add fenv.h.
29228 * conform/data/fenv.h-data: New file.
29229 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29230 include of <math/fenv.h>.
29232 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29233 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29234 && !UNIX98]. Enables tests for XOPEN2K8.
29235 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29236 POSIX2008]: Likewise.
29238 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29239 (struct rusage): Do not expect type or its members.
29242 * math/math.h (FP_NAN): Define macro to integer constant usable in
29243 #if and use that to give value to enum constant.
29244 (FP_INFINITE): Likewise.
29245 (FP_ZERO): Likewise.
29246 (FP_SUBNORMAL): Likewise.
29247 (FP_NORMAL): Likewise.
29249 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29251 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29252 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29255 2012-11-02 Roland McGrath <roland@hack.frob.com>
29257 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29258 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29259 autoconf-time if not.
29260 * configure.in: Remove AC_PREREQ.
29262 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29264 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29265 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29266 of the internal implementation.
29268 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29270 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29271 except include of <misc/sys/syslog.h>.
29273 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29276 function returns with a NULL context exit with zero.
29278 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29280 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29282 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29284 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29285 (run_program_cmd): This.
29286 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29287 (tst_langinfo): New variable. Use it.
29289 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29291 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29292 floating point opcodes.
29294 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29296 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29299 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29301 * sysdeps/mach/hurd/powerpc: Remove directory.
29302 * sysdeps/mach/powerpc: Likewise.
29304 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29306 * scripts/check-local-headers.sh: Ignore c++ headers.
29308 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29310 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29311 __libc_cleanup_region_start argument.
29313 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29318 x * y using scaling, not as x * y + z.
29319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29321 * math/libm-test.inc (fma_test): Add more tests.
29322 (fma_test_towardzero): Likewise.
29323 (fma_test_downward): Likewise.
29324 (fma_test_upward): Likewise.
29326 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29328 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29330 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29332 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29335 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29337 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29339 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29346 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29349 Fix the order of the list for glibc 2.17.
29350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29353 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29357 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29360 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29361 for low part of x being zero before using __atanl (y).
29362 * math/libm-test.inc (atan2_test): Add another test.
29364 * manual/install.texi (Configuring and compiling): Document
29365 general use of test-wrapper and test-wrapper-env.
29366 * INSTALL: Regenerated.
29368 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29369 (__fma): Do not extract and scale down low bits on after-rounding
29370 systems when result rounded to normal precision would have normal
29372 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29373 (__fmal): Do not extract and scale down low bits on after-rounding
29374 systems when result rounded to normal precision would have normal
29376 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29377 (__fmal): Do not extract and scale down low bits on after-rounding
29378 systems when result rounded to normal precision would have normal
29380 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29382 (fma_test): Add more tests.
29383 (fma_test_towardzero): Likewise.
29384 (fma_test_downward): Likewise.
29385 (fma_test_upward): Likewise.
29387 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29389 * sysdeps/i386/tininess.h: Renamed to ...
29390 * sysdeps/x86/tininess.h: This.
29391 * sysdeps/x86_64/tininess.h: Removed.
29393 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29395 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29396 input. Use $(build-program-cmd).
29397 ($(objpfx)tst-array1-static.out): Likewise.
29398 ($(objpfx)tst-array2.out): Likewise.
29399 ($(objpfx)tst-array3.out): Likewise.
29400 ($(objpfx)tst-array4.out): Likewise.
29401 ($(objpfx)tst-array5.out): Likewise.
29402 ($(objpfx)tst-array5-static.out): Likewise.
29404 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29406 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29409 * nss/nsswitch.h (nss_interface_function): Provide new
29410 macro for use with NSS functions.
29411 * grp/initgroups.c: Use new macro.
29412 * nss/getXXbyYY.c: Likewise.
29413 * nss/getXXbyYY_r.c: Likewise.
29414 * nss/getXXent.c: Likewise.
29415 * nss/getXXent_r.c: Likewise.
29416 * sysdeps/posix/getaddrinfo.c: Likewise.
29418 2012-10-30 Andreas Jaeger <aj@suse.de>
29420 * po/ru.po: Update Russion translation from translation project.
29422 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29427 result and shift together with sticky bit instead of replicating
29428 round-to-nearest rounding.
29429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29430 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29431 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29432 missing underflow exceptions.
29433 (fma_test_towardzero): Add more tests.
29434 (fma_test_downward): Likewise.
29435 (fma_test_upward): Likewise.
29438 * sysdeps/generic/tininess.h: New file.
29439 * sysdeps/i386/tininess.h: Likewise.
29440 * sysdeps/sh/tininess.h: Likewise.
29441 * sysdeps/x86_64/tininess.h: Likewise.
29442 * stdlib/tst-strtod-underflow.c: Likewise.
29443 * stdlib/tst-tininess.c: Likewise.
29444 * stdlib/strtod_l.c: Include <tininess.h>.
29445 (round_and_return): Do not set errno for exact underflow cases.
29446 Force an underflow exception when setting errno for underflow.
29447 Determine underflow based on rounding to normal precision if
29448 TININESS_AFTER_ROUNDING.
29449 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29450 ERANGE for exact underflow cases.
29451 * stdlib/Makefile (tests): Add tst-tininess and
29452 tst-strtod-underflow.
29453 ($(objpfx)tst-tininess): Use $(link-libm).
29454 ($(objpfx)tst-strtod-underflow): Likewise.
29456 2012-10-30 Andreas Jaeger <aj@suse.de>
29459 * elf/Makefile (tests): Remove conditional for have-initfini-array
29460 since this is now always required and the variable does not exist
29462 (tests-static): Likewise.
29463 (modules-names): Likewise.
29465 * po/eo.po: Add Esperanto translation from translation project.
29467 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29468 merged with constructor/destructor.
29469 (init_array): Likewise.
29470 * elf/tst-array2dep.c (fini_array): Likewise.
29471 (init_array): Likewise.
29473 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29475 * manual/message.texi: Delete @cartouche tags.
29477 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29479 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29481 * sysdeps/mach/hurd/fsync.c: Likewise.
29483 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29484 [_POSIX_REALTIME_SIGNALS]: Change condition to
29485 [_POSIX_REALTIME_SIGNALS > 0].
29487 2012-10-27 Andreas Jaeger <aj@suse.de>
29489 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29490 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29492 [__WORDSIZE != 64]: Likewise.
29494 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29496 * iconvdata/tst-table.sh: Remove ${SHELL}.
29497 * iconvdata/tst-tables.sh: Likewise.
29499 2012-10-25 David S. Miller <davem@davemloft.net>
29501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29502 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29507 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29508 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29509 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29512 2012-10-25 Roland McGrath <roland@hack.frob.com>
29514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29515 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29518 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29519 Jim Blandy <jimb@codesourcery.com>
29521 * scripts/cross-test-ssh.sh: New file.
29522 * manual/install.texi (Configuring and compiling): Document use of
29524 * INSTALL: Regenerated.
29526 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29528 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29531 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29533 * Makeconfig (run-program-prefix): Fix comment.
29535 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29536 Jim Blandy <jimb@codesourcery.com>
29538 * Makeconfig (test-wrapper): New variable,
29539 (test-wrapper-env): Likewise.
29540 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29541 (run-built-tests): Define to yes.
29542 (run-program-prefix): Use $(test-wrapper).
29543 (built-program-cmd): Likewise.
29544 * Rules (make-test-out): Use $(test-wrapper-env) and
29545 $(host-built-program-cmd).
29546 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29547 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29549 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29550 $(test-wrapper-env) to tst-rtld-load-self.sh.
29551 ($(objpfx)order2.out): Use $(test-wrapper).
29552 ($(objpfx)tst-initorder.out): Likewise.
29553 ($(objpfx)tst-initorder2.out): Likewise.
29554 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29555 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29556 (test_wrapper_env): New variable. Use it to run ld.so.
29557 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29558 Use it to run ld.so.
29559 (test_wrapper_env): Likewise.
29560 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29561 $(test-wrapper) to run-iconv-test.sh.
29562 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29563 (ICONV): Use $test_wrapper.
29564 * posix/Makefile ($(objpfx)globtest.out): Pass
29565 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29566 globtest.sh, not $(run-program-prefix).
29567 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29568 (test_wrapper): Likewise.
29569 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29570 set together with run_via_rtld_prefix.
29571 (run_program_prefix): Define in terms of test_wrapper and
29572 run_via_rtld_prefix.
29574 2012-10-24 Roland McGrath <roland@hack.frob.com>
29576 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29577 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29581 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29582 Declare __clock_getres, __clock_gettime, __clock_settime,
29583 __clock_nanosleep, and __clock_getcpuclockid.
29584 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29585 Remove librt_hidden_def (clock_gettime).
29586 * sysdeps/unix/clock_gettime.c: Likewise.
29587 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29588 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29589 * rt/clock_getres.c: Define __clock_getres as an alias.
29590 * sysdeps/posix/clock_getres.c: Likewise.
29591 * rt/clock_settime.c: Define __clock_settime as an alias.
29592 * sysdeps/unix/clock_settime.c: Likewise.
29593 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29594 * sysdeps/unix/clock_nanosleep.c: Likewise.
29595 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29596 * rt/clock-compat.c: New file.
29597 * rt/Makefile (librt-routines): Add clock-compat and move
29598 $(clock-routines) to ...
29599 (routines): ... here, new variable.
29600 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29601 Don't add get_clockfreq here.
29602 * rt/Versions (libc: GLIBC_2.17): New version set.
29603 Add clock_* symbols here.
29604 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29605 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29606 (GLIBC_2.17): Add clock_* symbols.
29607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29618 * NEWS: Mention the move.
29620 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29621 Use __open, __read, __close rather than their public counterparts.
29622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29623 (__get_clockfreq_via_cpuinfo): Likewise.
29624 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29625 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29627 * config.h.in (HAVE_IFUNC): New #undef.
29628 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29630 * configure: Regenerated.
29632 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29634 * configure.in: Move READELF check to start of file.
29635 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29636 libc_cv_asm_gnu_indirect_function in the process.
29637 * configure: Regenerated.
29639 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29641 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29642 send the output to /dev/null.
29643 (libc_cv_cc_with_libunwind): Likewise.
29644 (libc_cv_as_noexecstack): Likewise.
29645 * configure: Regenerate.
29647 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29649 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29651 * posix/globtest.sh (TMPDIR): Do not set.
29652 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29653 (testout): Likewise.
29655 2012-10-24 Andreas Jaeger <aj@suse.de>
29657 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29658 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29659 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29660 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29661 posix_fadvise64, posix_fallocate64.
29663 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29664 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29665 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29667 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29669 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29672 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29673 <bits/fcntl-linux.h>.
29674 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29677 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29678 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29679 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29680 [__WORDSIZE != 64]: Likewise.
29682 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29684 * Makeconfig (run-built-tests): New variable.
29685 * Rules [$(cross-compiling) = yes]: Change condition to
29686 [$(run-built-tests) = no].
29687 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29688 to [$(run-built-tests) = yes].
29689 * elf/Makefile [$(cross-compiling) = no]: Likewise
29690 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29691 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29692 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29693 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29694 * io/Makefile [$(cross-compiling) = no]: Likewise.
29695 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29696 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29697 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29698 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29699 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29700 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29701 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29702 * string/Makefile [$(cross-compiling) = no]: Likewise.
29704 * posix/Makefile ($(objpfx)globtest.out): Pass
29705 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29706 $(rtld-installed-name).
29707 * posix/globtest.sh (elf_objpfx): Remove variable.
29708 (rtld_installed_name): Likewise.
29709 (library_path): Likewise.
29710 (run_program_prefix): New variable. Use for running globtest
29713 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29714 Joseph Myers <joseph@codesourcery.com>
29716 * Makeconfig (host-built-program-cmd): New variable.
29717 * elf/Makefile (tst-stackguard1-ARGS): Use
29718 $(host-built-program-cmd).
29719 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29720 (tst-spawn-ARGS): Likewise.
29721 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29723 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29724 Jim Blandy <jimb@codesourcery.com>
29726 * Makeconfig (run-via-rtld-prefix): New variable.
29727 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29728 (built-program-cmd): Likewise.
29730 2012-10-22 Andreas Jaeger <aj@suse.de>
29732 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29733 __O_RSYNC if it exists, otherwise to O_SYNC.
29735 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29736 Joseph Myers <joseph@codesourcery.com>
29738 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29740 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29742 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29745 2012-10-22 Andreas Jaeger <aj@suse.de>
29747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29752 bits/fcntl-linux.h.
29754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29755 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29762 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29763 Joseph Myers <joseph@codesourcery.com>
29765 * config.make.in (NM): New variable.
29767 2012-10-21 Andreas Jaeger <aj@suse.de>
29769 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29770 definitions and declarations that are provided by
29771 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29773 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29776 * elf/Makefile (tests-static): Add tst-leaks1-static.
29777 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29778 ($(objpfx)tst-leaks1-static): New rule.
29779 ($(objpfx)tst-leaks1-static-mem): Likewise.
29780 (tst-leaks1-static-ENV): New macro.
29781 * elf/dl-open.c (dl_open_worker): Check the main application
29782 only if SHARED is defined.
29783 * elf/tst-leaks1-static.c: New file.
29785 2012-10-20 Andreas Jaeger <aj@suse.de>
29787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29788 generic values for Linux.
29789 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29790 and declarations that are provided by <bits/fcntl-linux.h> and
29791 include <bits/fcntl-linux.h>.
29792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29795 2012-10-20 Roland McGrath <roland@hack.frob.com>
29797 * io/fcntl.h: Move include of <bits/types.h> to the top and
29798 include it unconditionally.
29800 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29802 * wcsmbs/Makefile (tests-ifunc): New variable.
29803 (tests): Add $(tests-ifunc).
29804 * wcsmbs/test-wcschr-ifunc.c: New file.
29805 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29806 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29807 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29808 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29809 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29811 * string/Makefile (tests-ifunc): New variable.
29812 (tests): Add $(tests-ifunc).
29813 * string/test-memccpy.c (TEST_NAME): New macro.
29814 * string/test-memchr.c (TEST_NAME): Likewise.
29815 * string/test-memcmp.c (TEST_NAME): Likewise.
29816 * string/test-memcpy.c (TEST_NAME): Likewise.
29817 * string/test-memmem.c (TEST_NAME): Likewise.
29818 * string/test-memmove.c (TEST_NAME): Likewise.
29819 * string/test-memset.c (TEST_NAME): Likewise.
29820 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29821 * string/test-stpcpy.c (TEST_NAME): Likewise.
29822 * string/test-stpncpy.c (TEST_NAME): Likewise.
29823 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29824 * string/test-strcasestr.c (TEST_NAME): Likewise.
29825 * string/test-strcat.c (TEST_NAME): Likewise.
29826 * string/test-strchr.c (TEST_NAME): Likewise.
29827 * string/test-strcmp.c(TEST_NAME): Likewise.
29828 * string/test-strcpy.c (TEST_NAME): Likewise.
29829 * string/test-strcspn.c (TEST_NAME): Likewise.
29830 * string/test-strlen.c (TEST_NAME): Likewise.
29831 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29832 * string/test-strncmp.c (TEST_NAME): Likewise.
29833 * string/test-strncpy.c (TEST_NAME): Likewise.
29834 * string/test-strnlen.c (TEST_NAME): Likewise.
29835 * string/test-strpbrk.c (TEST_NAME): Likewise.
29836 * string/test-strrchr.c (TEST_NAME): Likewise.
29837 * string/test-strspn.c (TEST_NAME): Likewise.
29838 * string/test-strstr.c (TEST_NAME): Likewise.
29839 * string/test-bcopy-ifunc.c: New file.
29840 * string/test-bzero-ifunc.c: Likewise.
29841 * string/test-memccpy-ifunc.c: Likewise.
29842 * string/test-memchr-ifunc.c: Likewise.
29843 * string/test-memcmp-ifunc.c: Likewise.
29844 * string/test-memcpy-ifunc.c: Likewise.
29845 * string/test-memmem-ifunc.c: Likewise.
29846 * string/test-memmove-ifunc.c: Likewise.
29847 * string/test-mempcpy-ifunc.c: Likewise.
29848 * string/test-memset-ifunc.c: Likewise.
29849 * string/test-rawmemchr-ifunc.c: Likewise.
29850 * string/test-stpcpy-ifunc.c: Likewise.
29851 * string/test-stpncpy-ifunc.c: Likewise.
29852 * string/test-strcasecmp-ifunc.c: Likewise.
29853 * string/test-strcasestr-ifunc.c: Likewise.
29854 * string/test-strcat-ifunc.c: Likewise.
29855 * string/test-strchr-ifunc.c: Likewise.
29856 * string/test-strchrnul-ifunc.c: Likewise.
29857 * string/test-strcmp-ifunc.c: Likewise.
29858 * string/test-strcpy-ifunc.c: Likewise.
29859 * string/test-strcspn-ifunc.c: Likewise.
29860 * string/test-strlen-ifunc.c: Likewise.
29861 * string/test-strncasecmp-ifunc.c: Likewise.
29862 * string/test-strncat-ifunc.c: Likewise.
29863 * string/test-strncmp-ifunc.c: Likewise.
29864 * string/test-strncpy-ifunc.c: Likewise.
29865 * string/test-strnlen-ifunc.c: Likewise.
29866 * string/test-strpbrk-ifunc.c: Likewise.
29867 * string/test-strrchr-ifunc.c: Likewise.
29868 * string/test-strspn-ifunc.c: Likewise.
29869 * string/test-strstr-ifunc.c: Likewise.
29871 * debug/Makefile (tests-ifunc): New variable.
29872 (tests): Add $(tests-ifunc).
29873 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29874 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29875 * debug/test-stpcpy_chk-ifunc.c: New file.
29876 * debug/test-strcpy_chk-ifunc.c: Likewise.
29878 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29881 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29882 header is not read in.
29884 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29886 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29887 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29888 directly. Pass built executable to script as
29889 $(built-program-cmd).
29890 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29891 $testprogram without using LD_LIBRARY_PATH and $ldso.
29893 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29894 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29895 $(rtld-installed-name).
29896 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29897 (rtld_installed_name): Likewise.
29898 (library_path): Likewise.
29899 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29900 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29901 $(run-program-prefix) to tst-tables.sh.
29902 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29903 it to run tst-table-from and tst-table-to.
29904 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29905 Pass it to tst-table.sh.
29906 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29907 $(run-program-prefix) to tst-gettext.sh.
29908 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29910 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29912 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29913 to run tst-gettext.
29914 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29915 to run tst-gettext2.
29916 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29917 to run tst-translit.
29918 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29919 $(run-program-prefix) to tst-mtrace.sh.
29920 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29922 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29923 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29924 $(rtld-installed-name).
29925 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29926 (rtld_installed_name): Likewise.
29927 (run_program_prefix): New variable. Use it to run wordexp-test.
29929 * Makeconfig (ARCH): Remove all definitions.
29930 (machine): Likewise.
29931 [ARCH]: Remove conditional code.
29932 [!objdir]: Give error.
29933 [!objdir] (objpfx): Remove.
29934 [!objdir] (common-objpfx): Likewise.
29935 [!objdir] (common-objdir): Likewise.
29936 * configure.in (config_makefile): Remove. Hardcode Makefile in
29937 AC_CONFIG_FILES call.
29938 * configure: Regenerated.
29941 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29943 (testout): Likewise.
29945 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29946 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29947 $(rtld-installed-name).
29948 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29949 (rtld_installed_name): Likwise.
29950 (runit): Remove function.
29951 (run_getconf): New variable, Use it for running getconf binary.
29953 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29956 * string/test-memmem.c (check_result): New function.
29957 (do_one_test): Use it.
29958 (check1): New function.
29959 (test_main): Use it.
29961 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29963 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29965 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29967 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29968 (_G_LSEEK64): Likewise.
29969 (_G_MMAP64): Likewise.
29970 (_G_FSTAT64): Likewise.
29971 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29972 (_G_LSEEK64): Likewise.
29973 (_G_MMAP64): Likewise.
29974 (_G_FSTAT64): Likewise.
29975 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29976 unconditional. Call __mmap64 directly.
29977 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29978 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29979 __lseek64 directly.
29980 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29981 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29983 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29984 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29985 __lseek64 directly.
29986 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29987 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29988 __lseek64 directly.
29989 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29990 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29991 __lseek64 directly.
29992 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29993 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29994 __fxstat64 directly.
29995 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29996 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29998 (freopen64) [!_G_OPEN64]: Remove conditional code.
29999 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30001 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30002 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30004 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30005 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30007 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30008 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30010 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30011 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30013 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30014 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30016 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30017 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30019 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30021 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30024 * manual/memory.texi (Malloc Tunable Parameters): Add note
30025 about free list pointers overwriting some perturb bytes.
30026 Wording suggested by Roland McGrath.
30028 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30030 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30031 (lgamma_test): Likewise.
30032 (tgamma_test): Likewise.
30034 2012-10-16 Florian Weimer <fweimer@redhat.com>
30037 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30038 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30040 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30042 * NEWS: Mention BZ #14716.
30043 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30044 when removing AVAILABLE1_USES_J macro.
30046 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30048 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30049 (__bswap_64): __uint64_t for unsigned 64-bit int.
30051 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30053 * include/string.h (memmem): Declare libc hidden alias.
30054 * string/memmem.c (memmem): Define libc hidden alias.
30055 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30056 __read, __close instead of open, read, close.
30058 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30061 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30063 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30064 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30065 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30067 (__rawmemchr_sse2): Likewise.
30068 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30069 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30070 (__strchr_sse2): Likewise.
30071 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30072 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30073 (__strcasecmp_sse2): Likewise.
30074 (__strncasecmp_sse2): Likewise.
30075 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30076 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30077 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30078 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30079 (__strrchr_sse2): Likewise.
30080 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30082 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30083 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30084 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30085 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30086 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30087 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30088 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30089 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30090 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30091 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30092 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30093 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30094 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30095 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30096 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30097 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30098 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30099 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30100 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30101 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30102 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30103 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30104 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30105 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30106 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30108 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30109 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30110 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30111 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30113 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30115 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30116 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30117 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30118 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30120 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30122 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30123 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30124 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30125 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30127 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30128 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30129 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30130 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30131 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30132 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30133 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30134 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30135 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30136 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30137 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30138 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30139 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30140 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30141 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30142 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30143 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30144 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30145 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30146 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30147 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30148 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30149 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30150 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30152 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30153 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30154 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30155 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30156 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30157 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30158 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30159 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30160 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30163 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30166 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30167 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30169 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30170 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30171 * include/ifunc-impl-list.h: New file.
30172 * misc/ifunc-impl-list.c: Likewise.
30173 * misc/Makefile (routines): Add ifunc-impl-list.
30174 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30175 * string/test-string.h: Include <ifunc-impl-list.h>.
30176 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30177 TEST_NAME]: New variables.
30178 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30180 (test_init): Call __libc_ifunc_impl_list to initialize
30181 func_list if TEST_IFUNC and TEST_NAME are defined.
30183 * string/Makefile (strop-tests): Add bcopy and bzero.
30184 * string/test-bcopy.c: New file.
30185 * string/test-bzero.c: Likewise.
30186 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30188 * string/test-memset.c: Support bzero test if TEST_BZERO is
30190 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30192 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30194 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30197 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30199 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30200 * configure: Regenerated.
30202 * Makeconfig (+link-static-before-libc): Don't include
30203 $(link-static-libc).
30205 * libio/libio.h (_IO_pos_t): Remove.
30207 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30209 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30212 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30214 * crypt/crypt-entry.c: Include fips-private.h.
30215 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30216 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30217 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30218 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30220 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30222 * crypt/crypt-private.h: Include stdbool.h.
30223 (_ufc_setup_salt_r): Return bool.
30224 * crypt/crypt-entry.c: Include errno.h.
30225 (__crypt_r): Return NULL with EINVAL for bad salt.
30226 * crypt/crypt_util.c (bad_for_salt): New.
30227 (_ufc_setup_salt_r): Check that salt is long enough and within
30228 the specified alphabet.
30229 * crypt/badsalttest.c: New file.
30230 * crypt/Makefile (tests): Add it.
30231 ($(objpfx)badsalttest): New.
30233 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30235 * NEWS: Add entry for BZ #14602.
30237 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30239 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30241 * math/libm-test.inc: Update comment listing what functions and
30243 (isgreater_test): New function.
30244 (isgreaterequal_test): Likewise.
30245 (isless_test): Likewise.
30246 (islessequal_test): Likewise.
30247 (islessgreater_test): Likewise.
30248 (isunordered_test): Likewise.
30249 (main): Call the new functions.
30251 2012-10-09 Roland McGrath <roland@hack.frob.com>
30253 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30254 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30255 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30256 * sysdeps/i386/configure: Regenerated.
30257 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30258 * sysdeps/mach/configure: Regenerated.
30259 * sysdeps/mach/hurd/configure: Regenerated.
30260 * sysdeps/powerpc/configure: Regenerated.
30261 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30262 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30263 * sysdeps/s390/s390-32/configure: Regenerated.
30264 * sysdeps/s390/s390-64/configure: Regenerated.
30265 * sysdeps/sh/configure: Regenerated.
30266 * sysdeps/sparc/configure: Regenerated.
30267 * sysdeps/unix/sysv/linux/configure: Regenerated.
30268 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30269 * sysdeps/x86_64/configure: Regenerated.
30271 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30272 defined. Don't check if MAP is NULL.
30274 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30276 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30277 (_G_stat64): Likewise.
30278 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30279 (_G_stat64): Likewise.
30280 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30281 instead of struct _G_stat64.
30282 * libio/fileops.c (mmap_remap_check): Likewise.
30283 (decide_maybe_mmap): Likewise.
30284 (_IO_new_file_seekoff): Likewise.
30285 (_IO_file_stat): Likewise.
30286 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30288 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30289 instead of struct _G_stat64.
30290 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30292 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30295 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30297 (CHECK_EOL): New macro.
30298 (two_way_short_needle): Check beginning of haystack for EOL. Use
30300 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30301 Replace with CHECK_EOL.
30302 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30303 Replace with CHECK_EOL.
30305 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30307 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30309 * math/libm-test.inc: Update comment listing what functions and
30311 (finite_test): New function.
30312 (isinf_test): Likewise.
30313 (isnan_test): Likewise.
30314 (fpclassify_test): Test subnormal input.
30315 (isfinite_test): Likewise.
30316 (isnormal_test): Likewise.
30317 (main): Call the new functions.
30319 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30322 * Makerules (%.dynsym): Force C locale when running
30323 $(OBJDUMP) --dynamic-syms.
30325 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30327 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30330 2012-10-06 David S. Miller <davem@davemloft.net>
30332 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30333 upper 32-bits of the length value in %o2 since we use branch-on-register
30334 tests which consider the entire 64-bit register.
30336 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30338 * string/test-strstr.c (check2): Add a test for page boundary.
30340 2012-10-05 David S. Miller <davem@davemloft.net>
30342 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30343 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30345 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30347 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30348 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30349 and bzero when HWCAP_SPARC_CRYPTO is present.
30351 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30354 * string/test-strstr.c (check2): New function.
30355 (test_main): Call check2.
30357 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30359 * string/bug-strcasestr1.c (do_test): Moved to ...
30360 * string/test-strcasestr.c (check1): Here. New function.
30361 (do_one_test): Break out result checking code into ...
30362 (check_result): This. New function.
30363 (do_one_test): Call check_result.
30364 (test_main): Call check1.
30365 * string/bug-strchr1.c (do_test): Moved to ...
30366 * string/test-strchr.c (check1): Here. New function.
30367 (do_one_test): Break out result checking code into ...
30368 (check_result): This. New function.
30369 (do_one_test): Call check_result.
30370 (test_main): Call check1.
30371 * string/bug-strstr1.c (main): Moved to ...
30372 * string/test-strstr.c (check1): Here. New function.
30373 (do_one_test): Break out result checking code into ...
30374 (check_result): This. New function.
30375 (do_one_test): Call check_result.
30376 (test_main): Call check1.
30377 * string/bug-strcasestr1.c: Removed.
30378 * string/bug-strchr1.c: Likewise.
30379 * string/bug-strstr1.c: Likewise.
30381 * elf/Makefile (dl-routines): Add hwcaps.
30382 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30383 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30384 (_dl_important_hwcaps): Moved to ...
30385 * elf/dl-hwcaps.c: Here. New file.
30386 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30389 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30390 if IS_IN_rtld isn't defined.
30392 * elf/dl-support.c (_dl_sysinfo_map): New.
30393 Include "get-dynamic-info.h" and "setup-vdso.h".
30394 (_dl_non_dynamic_init): Call setup_vdso.
30395 * elf/dynamic-link.h: Don't include <assert.h>.
30396 (elf_get_dynamic_info): Moved to ...
30397 * elf/get-dynamic-info.h: Here. New file.
30398 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30399 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30400 * elf/setup-vdso.h: Here. New file.
30401 * elf/rtld.c: Include "setup-vdso.h".
30402 (dl_main): Call setup_vdso.
30404 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30406 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30407 creal in comment listing functions tested. List finite, isinf,
30408 isnan, isless, islessequal, isgreater, isgreaterequal,
30409 islessgreater, isunordered, lgamma_r and pow10 as functions and
30410 macros not tested. Mention which functions not tested are aliases
30411 for other functions. Fix typo. Note that signs of NaNs are not
30414 * scripts/config.guess: Update from config.git.
30415 * scripts/config.sub: Likewise.
30417 2012-10-04 Roland McGrath <roland@hack.frob.com>
30419 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30420 * misc/madvise.c (madvise): Renamed to __madvise.
30421 Make madvise a weak alias.
30422 * include/sys/mman.h: Declare __madvise.
30423 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30424 * sysdeps/unix/syscalls.list
30425 (madvise): Make __madvise the strong name, and madvise a weak alias.
30426 * sysdeps/unix/sysv/linux/syscalls.list
30427 (madvise, mmap): Remove redundant entries.
30428 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30429 * malloc/malloc.c (mtrim): Likewise.
30430 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30432 2012-10-03 Roland McGrath <roland@hack.frob.com>
30434 * sysdeps/mach/hurd/dl-cache.c: File removed.
30435 * config.h.in (USE_LDCONFIG): New #undef.
30436 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30437 * configure: Regenerated.
30438 * elf/Makefile (dl-routines): Add dl-cache only under
30439 [$(use-ldconfig) = yes].
30440 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30441 cache on [USE_LDCONFIG].
30442 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30444 * elf/rtld.c (dl_main): Likewise.
30446 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30448 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30449 _SC_LEVEL4_CACHE_LINESIZE.
30451 2012-10-03 Roland McGrath <roland@hack.frob.com>
30453 * sysdeps/unix/bsd/confstr.h: File removed.
30455 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30457 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30460 2012-10-02 Roland McGrath <roland@hack.frob.com>
30462 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30463 Make 'mapoff' field ElfW(Off) rather than off_t.
30465 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30467 * nscd/Makefile: Remove nscd-cflags and all its users.
30468 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30469 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30472 * malloc.c (malloc_printerr): Clarify error message.
30474 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30478 Set bit_FMA_Usable if FMA is supported.
30479 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30481 (bit_FMA4_Usable): Updated.
30482 (index_FMA_Usable): New macro.
30483 (CPUID_FMA): Likewise
30484 (HAS_FMA): Defined with bit_FMA_Usable.
30486 2012-10-01 Roland McGrath <roland@hack.frob.com>
30488 * bits/types.h (__swblk_t): Type removed.
30489 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30490 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30492 (__SWBLK_T_TYPE): Likewise.
30493 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30494 (__SWBLK_T_TYPE): Likewise.
30495 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30496 (__SWBLK_T_TYPE): Likewise.
30497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30498 (__SWBLK_T_TYPE): Likewise.
30500 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30501 Honza Horak <hhorak@redhat.com>
30503 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30504 (xdr_mapname): Use YPMAXMAP as maxsize.
30505 (xdr_peername): Use YPMAXPEER as maxsize.
30506 (xdr_keydat): Use YPAXRECORD as maxsize.
30507 (xdr_valdat): Use YPMAXRECORD as maxsize.
30509 2012-10-01 Roland McGrath <roland@hack.frob.com>
30511 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30513 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30514 * csu/init-first.c: ... here.
30515 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30516 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30517 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30518 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30519 * sysdeps/i386/init-first.c: File removed.
30520 * sysdeps/sh/init-first.c: File removed.
30522 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30526 if x * y might underflow to zero and z is zero.
30527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30529 * math/libm-test.inc (min_subnorm_value): New variable.
30530 (fma_test): Add more tests.
30531 (fma_test_towardzero): Likewise.
30532 (fma_test_downward): Likewise
30533 (fma_test_upward): Likewise.
30534 (initialize): Set min_subnorm_value.
30536 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30542 mode for addition resulting in exact zero.
30543 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30546 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30547 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30548 * math/libm-test.inc (fma_test): Add more tests.
30549 (fma_test_towardzero): New function.
30550 (fma_test_downward): Likewise.
30551 (fma_test_upward): Likewise.
30552 (main): Call the new functions.
30554 2012-09-28 David S. Miller <davem@davemloft.net>
30556 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30558 2012-09-28 Roland McGrath <roland@hack.frob.com>
30560 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30561 instead of SIGALRM.
30563 * sysdeps/gnu/_G_config.h: Moved to ...
30564 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30565 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30566 * sysdeps/generic/_G_config.h: ... here.
30568 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30570 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30572 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30573 Conditionalize target on [libnss_test1.so-version].
30575 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30577 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30578 (elfobjdir): Move out of conditionals.
30580 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30581 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30582 (__nss_lookup_function): Conditionalize label remove_from_tree on
30583 [!DO_STATIC_NSS || SHARED], matching its only use.
30585 2012-09-28 David S. Miller <davem@davemloft.net>
30587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30588 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30590 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30592 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30594 when HWCAP_SPARC_CRYPTO is present.
30596 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30598 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30600 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30603 * stdio-common/vfprintf.c (process_string_arg): Revert
30606 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30608 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30610 * stdio-common/tst-sprintf.c: Include <locale.h>
30611 (main): Test sprintf's handling of incomplete multibyte
30614 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30616 * elf/dl-runtime.c (VERSYMIDX): Removed.
30617 * elf/dl-version.c (VERSYMIDX): Likewise.
30618 * elf/do-rel.h (VERSYMIDX): Likewise.
30619 (VALIDX): Likewise.
30620 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30621 * elf/rtld.c (VALIDX): Likewise.
30622 (ADDRIDX): Likewise.
30623 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30624 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30625 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30626 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30627 (VALIDX): Likewise.
30628 (ADDRIDX): Likewise.
30630 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30632 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30634 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30637 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30639 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30640 addresses are in the same scope as 192.0.2/24.
30641 * posix/gai.conf: Document new scope table defaults.
30643 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30646 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30647 for ftell. Compute offsets from write pointers instead.
30648 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30650 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30653 * libio/Makefile (tests): New test case tst-fseek.
30654 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30655 combination works in wide mode.
30656 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30657 state when the external buffer state changes.
30659 2012-09-27 David S. Miller <davem@davemloft.net>
30662 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30663 pass reloc->r_addend in as the 'high' argument to
30664 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30668 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30670 * rt/tst-aio2.c: Include <pthread.h>.
30671 * rt/tst-aio3.c: Likewise.
30673 2012-09-27 Steve Ellcey <sellcey@mips.com>
30675 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30677 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30679 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30680 contents on [SHARED].
30682 2012-09-26 Marek Polacek <polacek@redhat.com>
30686 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30687 for C++ and GCC <4.3 as well as for non GCC compilers.
30689 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30693 2012-09-25 Roland McGrath <roland@hack.frob.com>
30695 * Makefile.in (all, install): Declare with .PHONY.
30696 Reported by Michael Hope <michael.hope@linaro.org>.
30698 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30700 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30701 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30703 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30705 (sydep_routines): Add the new and the internal functions.
30706 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30707 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30709 (GLIBC_2.17): Add the new function.
30710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30711 (GLIBC_2.17): Likewise.
30712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30713 (GLIBC_2.17): Likewise.
30714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30715 (GLIBC_2.17): Likewise.
30716 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30718 2012-09-25 Alan Modra <amodra@gmail.com>
30720 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30721 Add release barrier before setting once_control to say
30722 initialisation is done. Add hints on lwarx. Use macro in
30724 (clear_once_control): Add release barrier.
30726 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30729 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30731 * math/s_clog10.c (__clog10): Likewise.
30732 * math/s_clog10f.c (__clog10f): Likewise.
30733 * math/s_clog10l.c (__clog10l): Likewise.
30734 * math/s_clogf.c (__clogf): Likewise.
30735 * math/s_clogl.c (__clogl): Likewise.
30736 * math/Makefile (libm-calls): Add x2y2m1.
30737 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30738 (__x2y2m1): Likewise.
30739 (__x2y2m1l): Likewise.
30740 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30741 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30744 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30745 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30746 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30747 * sysdeps/i386/fpu/libm-test-ulps: Update.
30748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30751 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30752 int as type of variable DEPTH.
30753 (glob): Use size_t instead of int as type of variables NEWCOUNT
30756 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30758 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30759 Add s_sincosf-sse2.
30760 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30761 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30762 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30763 macros for using routine as __sincosf_ia32.
30764 Use macro for function declaration and weak_alias.
30765 * sysdeps/i386/fpu/libm-test-ulps: Update.
30767 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30770 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30771 subnormal argument.
30772 * math/s_cexpf.c (__cexpf): Likewise.
30773 * math/s_csinf.c (__csinf): Likewise.
30774 * math/s_csinhf.c (__csinhf): Likewise.
30775 * math/s_ctanf.c (__ctanf): Likewise.
30776 * math/s_ctanhf.c (__ctanhf): Likewise.
30777 * math/s_ccosh.c (__ccoshf): Likewise.
30778 * math/s_cexp.c (__cexpl): Likewise.
30779 * math/s_csin.c (__csin): Likewise.
30780 * math/s_csinh.c (__csinh): Likewise.
30781 * math/s_ctan.c (__ctan): Likewise.
30782 * math/s_ctanh.c (ctanh): Likewise.
30783 * math/s_ccoshl.c (__ccoshl): Likewise.
30784 * math/s_cexpl.c (__cexpl): Likewise.
30785 * math/s_csinl.c (__csinl): Likewise.
30786 * math/s_csinhl.c (__csinhl): Likewise.
30787 * math/s_ctanl.c (__ctanl): Likewise.
30788 * math/s_ctanhl.c (__ctanhl): Likewise.
30790 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30792 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30793 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30794 (_IO_off_t): Define to __off_t, not _G_off_t.
30795 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30796 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30797 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30798 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30799 type of __dummy and __dummy2 fields.
30800 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30801 (_G_ssize_t): Likewise.
30802 (_G_off_t): Likewise.
30803 (_G_pid_t): Likewise.
30804 (_G_uid_t): Likewise.
30805 (_G_wchar_t): Likewise.
30806 (_G_wint_t): Likewise.
30807 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30808 (_G_ssize_t): Likewise.
30809 (_G_off_t): Likewise.
30810 (_G_pid_t): Likewise.
30811 (_G_uid_t): Likewise.
30812 (_G_wchar_t): Likewise.
30813 (_G_wint_t): Likewise.
30814 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30815 (_G_ssize_t): Likewise.
30816 (_G_off_t): Likewise.
30817 (_G_pid_t): Likewise.
30818 (_G_uid_t): Likewise.
30819 (_G_wchar_t): Likewise.
30820 (_G_wint_t): Likewise.
30822 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30824 * malloc/arena.c: Include malloc-sysdep.h.
30825 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30826 is sufficient to shrink the heap or an unmap is needed.
30827 * sysdeps/generic/malloc-sysdep.h: New file. Define
30828 new function check_may_shrink_heap.
30829 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30830 new function check_may_shrink_heap.
30832 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30834 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30837 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30839 * catgets/test-gencat.sh: Add "set -e".
30840 * elf/tst-pathopt.sh: Likewise.
30841 * grp/tst_fgetgrent.sh: Likewise.
30842 * iconvdata/run-iconv-test.sh: Likewise.
30843 * intl/tst-gettext.sh: Likewise.
30844 * intl/tst-gettext2.sh: Likewise.
30845 * intl/tst-gettext4.sh: Likewise.
30846 * intl/tst-gettext6.sh: Likewise.
30847 * intl/tst-translit.sh: Likewise.
30848 * io/ftwtest-sh: Likewise.
30849 * libio/test-freopen.sh: Likewise.
30850 * malloc/tst-mtrace.sh: Likewise.
30851 * posix/globtest.sh: Likewise.
30852 * posix/tst-getconf.sh: Likewise.
30853 * posix/wordexp-tst.sh: Likewise.
30854 * stdio-common/tst-printf.sh: Likewise.
30855 * stdio-common/tst-unbputc.sh: Likewise.
30856 * stdlib/tst-fmtmsg.sh: Likewise.
30857 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30858 * catgets/Makefile: Do not specify -e option when running
30859 testsuite shell scripts.
30860 * elf/Makefile: Likewise.
30861 * grp/Makefile: Likewise.
30862 * iconvdata/Makefile: Likewise.
30863 * intl/Makefile: Likewise.
30864 * io/Makefile: Likewise.
30865 * libio/Makefile: Likewise.
30866 * malloc/Makefile: Likewise.
30867 * posix/Makefile: Likewise.
30868 * stdio-common/Makefile: Likewise.
30869 * stdlib/Makefile: Likewise.
30870 * sysdeps/x86_64/Makefile: Likewise.
30872 * io/ftwtest-sh: Add copyright header.
30873 * posix/globtest.sh: Likewise.
30874 * posix/tst-getconf.sh: Likewise.
30875 * posix/wordexp-tst.sh: Likewise.
30876 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30878 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30881 * Makeconfig (+link): Defined as $(+link-static) if
30882 $(build-shared) isn't yes.
30883 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30885 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30887 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30890 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30891 new chunk size with MALLOC_ALIGN_MASK.
30893 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30896 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30898 (__printf_fphex): Determine rounding using get_rounding_mode and
30900 * stdio-common/tst-printf-round.c (struct hex_test): New
30902 (hex_tests): New variable.
30903 (test_hex_in_one_mode): New function.
30904 (do_test): Also run tests for hex float output.
30906 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30908 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30909 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30910 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30911 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30912 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30913 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30914 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30915 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30917 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30919 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30920 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30921 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30922 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30924 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30927 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30929 * elf/tst-rtld-load-self.sh: New test.
30930 * elf/Makefile: Run it.
30932 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30934 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30935 (tst-writev-ENV): Remove.
30936 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30938 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30940 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30942 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30944 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30946 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30948 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30949 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30950 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30953 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30956 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30957 * config.make.in (have-cpp-asm-debuginfo): Removed.
30958 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30959 * configure: Regenerated.
30961 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30964 * stdio-common/printf_fp.c: Include <stdbool.h> and
30966 (___printf_fp): Determine rounding using get_rounding_mode and
30968 * stdio-common/tst-printf-round.c: New file.
30969 * stdio-common/Makefile (tests): Add tst-printf-round.
30970 (link-libm): New variable.
30971 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30973 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30976 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30977 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30979 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30982 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30984 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30985 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30986 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30987 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30989 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30992 * include/rounding-mode.h: New file.
30993 * sysdeps/generic/get-rounding-mode.h: Likewise.
30994 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30995 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30996 (MAX_VALUE): New macro.
30997 (MIN_VALUE): Likewise.
30998 (overflow_value): New function.
30999 (underflow_value): Likewise.
31000 (round_and_return): Use overflow_value and underflow_value to
31001 determine return values in overflow and underflow cases. Use
31002 round_away to determine rounding depending on rounding mode.
31003 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31004 determine return values in overflow and underflow cases.
31005 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31006 (struct test_results): New structure.
31007 (struct test): Use struct test_results to store expected results
31008 for all rounding modes.
31009 (TEST): Include expected results for all rounding modes.
31010 (test_in_one_mode): New function.
31011 (do_test): Use test_in_one_mode to compute and check results.
31012 Check results for all rounding modes.
31013 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31016 2012-12-09 Allan McRae <allan@archlinux.org>
31018 * sysdeps/i386/fpu/libm-test-ulps: Update
31020 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31022 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31023 (_G_int32_t): Likewise.
31024 (_G_uint16_t): Likewise.
31025 (_G_uint32_t): Likewise.
31026 (_G_HAVE_BOOL): Likewise.
31027 (_G_HAVE_ATEXIT): Likewise.
31028 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31029 (_G_HAVE_IO_FILE_OPEN): Likewise.
31030 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31031 (_G_int32_t): Likewise.
31032 (_G_uint16_t): Likewise.
31033 (_G_uint32_t): Likewise.
31034 (_G_HAVE_BOOL): Likewise.
31035 (_G_HAVE_ATEXIT): Likewise.
31036 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31037 (_G_HAVE_IO_FILE_OPEN): Likewise.
31038 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31039 (_G_int32_t): Likewise.
31040 (_G_uint16_t): Likewise.
31041 (_G_uint32_t): Likewise.
31042 (_G_HAVE_BOOL): Likewise.
31043 (_G_HAVE_ATEXIT): Likewise.
31044 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31045 (_G_HAVE_IO_FILE_OPEN): Likewise.
31047 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31049 * csu/libc-tls.c: Update copyright years.
31051 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31053 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31054 [!_G_USING_THUNKS]: Remove conditional code.
31055 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31056 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31058 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31059 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31060 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31061 (_G_VTABLE_LABEL_PREFIX): Likewise.
31062 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31063 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31064 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31065 (_G_VTABLE_LABEL_PREFIX): Likewise.
31066 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31067 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31068 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31069 (_G_VTABLE_LABEL_PREFIX): Likewise.
31070 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31072 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31074 * libio/Makefile: Include ../Makeconfig before tests.
31075 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31076 only if $(build-shared) is yes.
31078 * iconv/gconv_db.c: Update copyright years.
31080 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31082 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31083 unwind info if defined PIC. Fix special cases description.
31084 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31086 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31088 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31090 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31092 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31094 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31097 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31098 (LDLIBS-tst-chk4): This.
31099 (LDFLAGS-tst-chk5): Renamed to ...
31100 (LDLIBS-tst-chk5): This.
31101 (LDFLAGS-tst-chk6): Renamed to ...
31102 (LDLIBS-tst-chk6): This.
31103 (LDFLAGS-tst-lfschk4): Renamed to ...
31104 (LDLIBS-tst-lfschk4): This.
31105 (LDFLAGS-tst-lfschk5): Renamed to ...
31106 (LDLIBS-tst-lfschk5): This.
31107 (LDFLAGS-tst-lfschk6): Renamed to ...
31108 (LDLIBS-tst-lfschk6): This.
31110 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31111 on $(common-objpfx)soversions.mk.
31113 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31116 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31119 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31121 * malloc/arena.c (arena_get_retry): New function that gets
31122 another arena for the caller to try its request on.
31123 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31124 current arena cannot fulfill the request.
31125 (__libc_memalign): Likewise.
31126 (__libc_memalign): Likewise.
31127 (__libc_pvalloc): Likewise.
31128 (__libc_calloc): Likewise.
31130 2012-09-05 John Tobey <john.tobey@gmail.com>
31133 * manual/arith.texi (Operations on Complex): Fix description
31134 of carg branch cut.
31136 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31139 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31143 * manual/memory.texi (Memory): Make order of menu items match
31146 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31148 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31149 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31150 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31152 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31154 * csu/libc-tls.c (static_dtv): Renamed to ...
31155 (_dl_static_dtv): This. Make it global.
31156 (_dl_initial_dtv): Removed.
31157 (__libc_setup_tls): Updated.
31158 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31159 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31162 2012-09-06 Petr Machata <pmachata@redhat.com>
31164 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31165 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31166 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31167 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31169 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31172 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31173 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31176 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31179 * Makeconfig (link-static-before-libc): Replace $(+prector)
31181 (link-static-after-libc): Replace $(+postctor) with
31183 (link-bounded): Replace $(+prector)/$(+postctor) with
31184 $(+prectorT)/$(+postctorT).
31185 (+prectorT): New macro.
31186 (+postctorT): Likewise.
31188 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31190 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31191 (round_str): Handle values above the maximum for IBM long double
31193 * stdlib/tst-strtod-round.c (tests): Regenerated.
31195 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31197 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31199 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31200 zarch_nohighgprs around the zarch optimized routines.
31201 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31202 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31203 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31206 2012-09-05 David S. Miller <davem@davemloft.net>
31208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31210 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31211 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31212 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31213 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31216 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31218 * malloc/arena.c: Fold copyright years.
31219 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31221 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31223 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31225 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31227 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31229 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31231 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31232 change internal state upon failure.
31234 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31236 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31237 * malloc/memusage.c (mmap): Likewise.
31238 (mmap64, mremap): Likewise. Adjust name in comment.
31240 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31242 * libio/fileops.c: Fix typos in comments.
31243 * libio/oldfileops.c: Likewise.
31244 * libio/wfileops.c: Likewise.
31246 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31249 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31250 (tst-malloc-usable-ENV): Set environment for test case.
31251 * malloc/hooks.c (malloc_check_get_size): New function to get
31253 * malloc/malloc.c (musable): Use malloc_check_get_size.
31254 * malloc/tst-malloc-usable.c: New test case.
31256 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31258 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31260 2012-09-05 Allan McRae <allan@archlinux.org>
31263 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31264 determine header location.
31265 * configure: Regenerated.
31267 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31269 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31271 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31272 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31274 (test): Regenerate.
31276 2012-09-04 David S. Miller <davem@davemloft.net>
31278 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31279 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31282 2012-09-04 Florian Weimer <fweimer@redhat.com>
31284 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31287 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31289 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31292 * libio/iogetdelim.c: Include <limits.h>.
31293 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31294 + len + 1 would overflow.
31296 2012-09-03 Andreas Jaeger <aj@suse.de>
31298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31299 * sysdeps/i386/fpu/libm-test-ulps: Update.
31301 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31303 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31304 Add s_sinf-sse2, s_conf-sse2.
31306 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31307 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31308 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31309 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31311 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31312 for using routine as __sinf_ia32.
31313 Use macro for function declaration and weak_alias.
31314 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31315 for using routine as __cosf_ia32.
31316 Use macro for function declaration and weak_alias.
31318 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31319 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31321 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31322 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31325 * math/libm-test.inc (cos_test): Add more test cases.
31326 (sin_test): Likewise.
31327 (sincos_test): Likewise.
31329 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31331 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31332 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31334 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31336 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31339 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31340 first element of the GOT.
31341 (elf_machine_load_address): Return the difference between
31342 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31344 2012-09-01 Allan McRae <allan@archlinux.org>
31347 * configure.in (AWK): Require gawk version 3.0 or later.
31348 * configure: Regenerated.
31350 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31352 * sysdeps/unix/sysv/linux/kernel-features.h
31353 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31354 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31355 [__NR_clock_getres]: Make code unconditional.
31356 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31357 (clock_getcpuclockid): Remove code left unreachable by removal of
31359 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31360 code unconditional.
31361 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31362 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31363 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31364 Make code unconditional.
31365 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31366 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31367 * sysdeps/unix/sysv/linux/clock_settime.c
31368 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31370 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31371 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31373 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31376 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31377 scripts/test-installation.pl.
31379 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31380 and $ld_so_version if it is set.
31382 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31385 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31386 failure if reading from procfs failed.
31387 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31389 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31391 * sysdeps/unix/sysv/linux/kernel-features.h
31392 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31393 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31394 Remove conditional code.
31395 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31396 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31397 Remove conditional code.
31398 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31399 * sysdeps/unix/sysv/linux/i386/fxstat.c
31400 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31402 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31403 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31405 * sysdeps/unix/sysv/linux/i386/lxstat.c
31406 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31408 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31409 Remove conditional code.
31410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31411 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31412 Remove conditional code.
31413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31414 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31415 <kernel-features.h>.
31416 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31418 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31419 Remove conditional code.
31420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31421 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31422 Remove conditional.
31424 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31427 * NEWS: Add fixed bug number.
31429 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31432 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31433 underflowing exponent in case of negative sign.
31434 * stdlib/tst-strtod-round-data: Add more tests.
31435 * stdlib/tst-strtod-round.c (tests): Regenerated.
31438 * stdlib/strtod_l.c (NDIG): Remove.
31439 (HEXNDIG): Likewise.
31440 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31441 smallest representable value.
31442 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31443 lie within an exact representation of 1/2 ulp of the result.
31444 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31446 (TENS_P9_IDX): Define unconditionally.
31447 (TENS_P9_SIZE): Likewise.
31448 (TENS_P10_IDX): Likewise.
31449 (TENS_P10_SIZE): Likewise.
31450 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31451 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31452 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31453 entries for 10^2^13 and 10^2^14.
31454 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31455 (TENS_P13_IDX): Define.
31456 (TENS_P13_SIZE): Likewise.
31457 (TENS_P14_IDX): Likewise.
31458 (TENS_P14_SIZE): Likewise.
31459 (_fpioconst_pow10): Change array size to
31460 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31462 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31463 1024]: Add entries for 10^2^13 and 10^2^14.
31464 [LAST_POW10 > _LAST_POW10]: Remove #error.
31465 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31466 (_fpioconst_pow10): Change array size to
31467 FPIOCONST_POW10_ARRAY_SIZE.
31468 * stdlib/gen-fpioconst.c: New file.
31469 * stdlib/gen-tst-strtod-round.c: Likewise.
31470 * stdlib/tst-strtod-round-data: Likewise.
31471 * stdlib/tst-strtod-round.c: Likewise.
31472 * stdlib/Makefile (tests): Add tst-strtod-round.
31475 * stdlib/strtod_l.c: Include <stdint.h>.
31476 (NDEBUG): Do not define.
31477 (round_and_return): Change EXPONENT parameter to type intmax_t.
31478 Rearrange calculations to avoid internal overflow possibilities.
31479 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31480 Rearrange calculations to avoid internal overflow possibilities.
31481 Assert that number fits inside MPNSIZE limbs.
31482 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31483 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31484 calculations and add assertions to avoid internal overflow
31485 possibilities. Add casts to avoid signed/unsigned operations.
31486 * stdlib/tst-strtod-overflow.c: New file.
31487 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31489 2012-08-25 Marek Polacek <polacek@redhat.com>
31491 * time/time.h: Fix some typos in comments.
31493 2012-08-23 Roland McGrath <roland@hack.frob.com>
31495 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31496 * posix/tst-rfc3484-2.c: Likewise.
31497 * posix/tst-rfc3484-3.c: Likewise.
31499 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31501 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31502 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31504 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31506 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31507 #include of fxstatat64.c.
31509 2012-08-22 Roland McGrath <roland@hack.frob.com>
31511 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31512 * shadow/getspent_r.c: Likewise.
31513 * shadow/getspnam.c: Likewise.
31514 * shadow/getspnam_r.c: Likewise.
31515 * gshadow/getsgent.c: Likewise.
31516 * gshadow/getsgent_r.c: Likewise.
31517 * gshadow/getsgnam.c: Likewise.
31518 * gshadow/getsgnam_r.c: Likewise.
31519 * inet/getnetbyad.c: Likewise.
31520 * inet/getnetbyad_r.c: Likewise.
31521 * inet/getnetbynm.c: Likewise.
31522 * inet/getnetbynm_r.c: Likewise.
31523 * inet/getnetent.c: Likewise.
31524 * inet/getnetent_r.c: Likewise.
31525 * inet/getproto.c: Likewise.
31526 * inet/getproto_r.c: Likewise.
31527 * inet/getprtent.c: Likewise.
31528 * inet/getprtent_r.c: Likewise.
31529 * inet/getprtname.c: Likewise.
31530 * inet/getprtname_r.c: Likewise.
31531 * inet/getrpcbyname.c: Likewise.
31532 * inet/getrpcbyname_r.c: Likewise.
31533 * inet/getrpcbynumber.c: Likewise.
31534 * inet/getrpcbynumber_r.c: Likewise.
31535 * inet/getrpcent.c: Likewise.
31536 * inet/getrpcent_r.c: Likewise.
31537 * inet/getaliasent.c: Likewise.
31538 * inet/getaliasent_r.c: Likewise.
31539 * inet/getaliasname.c: Likewise.
31540 * inet/getaliasname_r.c: Likewise.
31541 * nscd/getgrgid_r.c: Likewise.
31542 * nscd/getgrnam_r.c: Likewise.
31543 * nscd/gethstbyad_r.c: Likewise.
31544 * nscd/gethstbynm3_r.c: Likewise.
31545 * nscd/getpwnam_r.c: Likewise.
31546 * nscd/getpwuid_r.c: Likewise.
31547 * nscd/getsrvbynm_r.c: Likewise.
31548 * nscd/getsrvbypt_r.c: Likewise.
31549 * nscd/gai.c: Likewise.
31551 * configure.in (build_nscd): New substituted variable, set
31552 by --disable-build-nscd and defaults to $use_nscd.
31553 * configure: Regenerated.
31554 * config.make.in (build-nscd): New substituted variable.
31555 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31556 Change conditional to require [$(build-nscd) = yes] as well.
31557 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31560 * configure.in (use_nscd): New substituted variable, set by
31561 --disable-nscd. If enabled, define USE_NSCD.
31562 * configure: Regenerated.
31563 * config.h.in: Add USE_NSCD.
31564 * config.make.in (use-nscd): New substituted variable.
31565 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31566 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31567 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31568 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31569 (CFLAGS-getgrnam_r.c): Likewise.
31570 (CFLAGS-initgroups.c): Likewise.
31571 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31572 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31574 * inet/getnetgrent_r.c
31575 (nscd_setnetgrent): New function, broken out of ...
31576 (setnetgrent): ... here. Call it.
31577 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31578 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31579 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31580 * nscd/Makefile (routines, aux): Move definitions after include of
31581 Makeconfig. Conditionalize on [$(use-nscd) != no].
31582 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31583 Conditionalize on [USE_NSCD].
31584 (is_nscd, nscd_init_cb): Likewise.
31585 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31586 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31587 * nss/nss_db/db-init.c: Likewise.
31588 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31590 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31591 (make_request): Use it.
31592 (cache_valid_p): New function.
31593 (__check_pf): Use it.
31594 * NEWS: Add item for --disable-nscd.
31596 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31598 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31599 to support sed >= 4.2.1-20-ga9bf076.
31600 * configure: Regenerated.
31602 2012-08-22 Roland McGrath <roland@hack.frob.com>
31604 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31605 Conditionalize whole body on [IREL].
31607 2012-08-22 Jeff Law <law@redhat.com>
31610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31611 if the family is PF_UNSPEC.
31613 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31615 * Makerules (lib-version): Rename from V.
31616 (install-lib-nosubdir): Change V to lib-version.
31618 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31621 * powerpc32/power6/wcschr.c: New file.
31622 * powerpc32/power6/wcscpy.c: New file.
31623 * powerpc32/power6/wcsrchr.c: New file.
31624 * powerpc64/power6/wcschr.c: New file.
31625 * powerpc64/power6/wcscpy.c: New file.
31626 * powerpc64/power6/wcsrchr.c: New file.
31628 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31630 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31631 (two_way_short_needle): Use it.
31632 * string/strstr.c (AVAILABLE1_USES_J): Define.
31633 * string/strcasestr.c: Likewise.
31635 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31637 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31640 * NEWS: Add an entry.
31641 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31642 define their defaults.
31643 (two_way_short_needle): Detect end-of-string on-the-fly.
31644 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31645 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31646 * string/bug-strcasestr1.c: New test.
31647 * string/Makefile: Run it.
31649 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31652 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31653 the first character.
31655 2012-08-21 Roland McGrath <roland@hack.frob.com>
31657 * csu/elf-init.c (__libc_csu_irel): Function removed.
31658 * csu/libc-start.c (apply_irel): New function.
31659 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31661 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31663 * sysdeps/unix/sysv/linux/kernel-features.h
31664 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31665 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31666 <kernel-features.h>.
31667 [__NR_fadvise64_64]: Make code unconditional.
31668 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31669 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31670 !__NR_fadvise64_64)]: Likewise.
31671 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31672 !__NR_fadvise64_64))]: Likewise.
31673 [__NR_fadvise64]: Make code unconditional.
31674 [!__NR_fadvise64]: Remove conditional code.
31675 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31676 <kernel-features.h>.
31677 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31679 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31682 not include <kernel-features.h>.
31683 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31685 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31687 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31688 include <kernel-features.h>.
31689 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31691 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31694 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31696 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31697 slight instruction rearrangements per scrollpipe analysis.
31698 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31700 2012-08-20 Roland McGrath <roland@hack.frob.com>
31702 * manual/syslog.texi (syslog; vsyslog, closelog):
31703 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31704 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31706 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31707 DSOCAPS to match condition on defining it.
31709 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31711 * sysdeps/unix/sysv/linux/kernel-features.h
31712 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31714 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31715 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31717 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31718 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31720 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31721 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31723 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31724 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31726 * sysdeps/unix/sysv/linux/kernel-features.h
31727 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31728 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31730 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31731 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31732 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31733 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31734 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31735 Make code unconditional.
31736 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31737 (__mmap64) [!__NR_mmap2]: Likewise.
31738 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31739 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31740 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31741 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31742 [__NR_mmap2]: Make code unconditional.
31743 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31744 (__mmap64) [!__NR_mmap2]: Likewise.
31746 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31748 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31750 2012-08-18 Andreas Jaeger <aj@suse.de>
31752 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31754 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31756 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31757 * include/unistd.h (__have_sock_cloexec): Likewise.
31758 (__have_pipe2): Likewise.
31759 (__have_dup3): Likewise.
31761 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31764 * include/unistd.h (__have_pipe2): Change define into an extern int.
31765 (__have_dup3): Likewise.
31766 * socket/have_sock_cloexec.c: Include fcntl.h.
31767 (__have_pipe2): New variable.
31768 (__have_dup3): Likewise.
31770 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31772 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31774 2012-08-17 Marek Polacek <polacek@redhat.com>
31776 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31777 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31779 2012-08-17 Roland McGrath <roland@hack.frob.com>
31781 * configure.in: Add AC_SUBST for sysheaders.
31782 * configure: Regenerated.
31783 * config.make.in (sysheaders): New substituted variable.
31785 * sysdeps/unix/mkfifo.c: Moved ...
31786 * sysdeps/posix/mkfifo.c: ... here.
31787 * sysdeps/unix/mkfifoat.c: Moved ...
31788 * sysdeps/posix/mkfifoat.c: ... here.
31790 * sysdeps/unix/utime.c: Moved ...
31791 * sysdeps/posix/utime.c: ... here.
31793 * sysdeps/unix/time.c: Moved ...
31794 * sysdeps/posix/time.c: ... here.
31795 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31796 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31798 * sysdeps/unix/nice.c: Moved ...
31799 * sysdeps/posix/nice.c: ... here.
31801 * sysdeps/unix/alarm.c: Moved ...
31802 * sysdeps/posix/alarm.c: ... here.
31804 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31806 2012-08-17 Jeff Law <law@redhat.com>
31808 * intl/Makefile (codeset_mo): New variable.
31809 ($(codeset_mo)): New target.
31810 (tst-codeset.out): Depend on that. Remove explicit rule.
31811 (tst-gettext3.out, tst-gettext5.out): Likewise.
31812 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31813 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31814 * intl/tst-codeset.sh: Remove.
31815 * intl/tst-gettext3.sh: Likewise.
31816 * intl/tst-gettext5.sh: Likewise.
31818 2012-08-17 Roland McGrath <roland@hack.frob.com>
31820 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31821 * sysdeps/unix/syscalls.list: ... here.
31823 * sysdeps/posix/getaddrinfo.c
31824 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31825 (gaiconf_init, gaiconf_reload): Use them.
31826 [!_STATBUF_ST_NSEC]
31827 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31828 Define using time_t rather than struct timespec.
31830 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31831 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31833 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31835 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31836 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31839 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31840 __libc_cleanup_push argument.
31842 * bits/param.h: New file.
31843 * misc/sys/param.h: New file.
31844 * include/sys/param.h: New file.
31845 * misc/Makefile (headers): Add bits/param.h.
31846 * sysdeps/generic/sys/param.h: File removed.
31847 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31848 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31849 * sysdeps/mach/hurd/bits/param.h: New file.
31850 * sysdeps/mach/hurd/sys/param.h: File removed.
31852 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31855 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31857 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31858 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31861 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31862 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31863 rather than -D_IO_MTSAFE_IO conditionally.
31864 * stdio-common/Makefile (CPPFLAGS): Likewise.
31865 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31866 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31867 Use $(libio-mtsafe).
31868 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31869 of -D_IO_MTSAFE_IO.
31870 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31871 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31872 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31873 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31874 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31875 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31876 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31877 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31878 (CFLAGS-fread_u_chk.c): Likewise.
31879 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31880 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31881 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31882 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31883 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31884 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31885 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31886 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31887 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31889 * libio/Makefile: Test [$(libc-reentrant) = yes]
31890 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31893 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31894 * sysdeps/pthread/configure: File removed.
31895 * sysdeps/pthread/Makeconfig: New file.
31896 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31897 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31899 2012-08-16 Gary Benson <gbenson@redhat.com>
31901 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31902 unmapping the first object in a namespace.
31904 2012-08-16 Roland McGrath <roland@hack.frob.com>
31906 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31907 (__internal_setnetgrent): ... this. Add internal_function to
31908 definition. Add libc_hidden_def.
31909 (setnetgrent): Update caller.
31910 (internal_endnetgrent): Renamed to ...
31911 (__internal_endnetgrent): ... this. Add internal_function to
31912 definition. Add libc_hidden_def.
31913 (endnetgrent): Update caller.
31914 (internal_getnetgrent_r): Renamed to ...
31915 (__internal_getnetgrent_r): ... this. Add internal_function to
31916 definition. Add libc_hidden_def.
31917 (__getnetgrent_r): Update caller.
31918 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31920 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31922 * stdlib/longlong.h: Update from GCC.
31924 2012-08-16 Roland McGrath <roland@hack.frob.com>
31926 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31927 on _QL, which is set by umul_ppmm but never used.
31928 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31929 variables, which are set by GMP macros but never used.
31930 * stdio-common/_itowa.c (_itowa): Likewise.
31931 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31932 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31934 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31936 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31937 struct La_sh_regs is not constant.
31938 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31939 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31940 and struct La_sparc64_regs are not constant.
31942 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31944 * sysdeps/unix/sysv/linux/kernel-features.h
31945 (__ASSUME_POSIX_TIMERS): Remove.
31946 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31947 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31948 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31949 Make code unconditional.
31950 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31951 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31952 Make code unconditional.
31953 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31954 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31955 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31956 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31957 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31958 Make code unconditional.
31959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31960 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31961 (__libc_missing_posix_timers): Remove.
31963 2012-08-15 Roland McGrath <roland@hack.frob.com>
31965 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31966 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31968 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31970 * elf/dl-sym.c: Include <stdlib.h>.
31972 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31973 constants, which avoids warnings in 32-bit builds.
31975 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31976 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31978 * misc/lseek.c: File moved to ...
31979 * io/lseek.c: ... here.
31981 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31983 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31984 shifting LEN more than 31 bits at once.
31986 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31989 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31990 segmentation fault for a case of two empty input strings.
31991 * string/test-strncasecmp.c (check1): Renamed to...
31992 (bz12205): ...this.
31993 (bz14195): Add new testcase for two empty input strings and N > 0.
31994 (test_main): Call new testcase, adapt for renamed function.
31996 2012-08-15 Andreas Jaeger <aj@suse.de>
31999 * crypt/md5test2.c: New test, based on test supplied by Serge
32000 Belyshev <belyshev@depni.sinp.msu.ru>.
32001 * crypt/Makefile (xtests): Add md5test-giant..
32002 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32004 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32007 * crypt/md5.c (md5_process_block): Don't assume the buffer
32008 length is less than 2**32.
32009 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32010 length is less than 2**64.
32012 2012-08-15 Roland McGrath <roland@hack.frob.com>
32014 * string/str-two-way.h: Include <sys/param.h>.
32015 (MAX): Macro removed.
32017 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32018 Move #define and #undef of memmove to just before and after
32019 including <string.h>.
32021 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32022 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32023 and after including <string.h>. Move declarations of
32024 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32025 to before #include "string/memmove.c".
32027 * include/dirent.h: Declare __getdirentries.
32029 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32030 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32032 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32034 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32035 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32036 * sysdeps/i386/configure: Regenerated.
32037 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32038 STABS_CURRENT_FILE, and STABS_FUN.
32039 (END): Remove call to STABS_FUN_END.
32040 (STABS_CURRENT_FILE1): Delete.
32041 (STABS_CURRENT_FILE): Likewise.
32042 (STABS_FUN): Likewise.
32043 (STABS_FUN_END): Likewise.
32044 (STABS_FUN2): Likewise.
32045 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32046 * sysdeps/x86_64/configure: Regenerated.
32048 2012-08-14 Roland McGrath <roland@hack.frob.com>
32050 * elf/dl-open.c: Include <atomic.h>.
32051 * elf/dl-lookup.c: Likewise.
32053 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32055 * sysdeps/unix/sysv/linux/kernel-features.h
32056 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32057 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32059 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32061 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32062 condition on __ASSUME_CLONE_THREAD_FLAGS.
32064 2012-08-14 Andreas Jaeger <aj@suse.de>
32066 * sysdeps/i386/fpu/libm-test-ulps: Update.
32068 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32070 * include/atomic.h (atomic_exchange_and_add): Split into ...
32071 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32074 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32078 2012-08-13 Jeff Law <law@redhat.com>
32080 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32081 null byte in the output string.
32083 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32085 * sysdeps/unix/sysv/linux/kernel-features.h
32086 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32087 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32088 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32090 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32091 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32092 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32094 2012-08-09 Jeff Law <law@redhat.com>
32097 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32098 When avoid_arena is set, don't retry in the that arena. Pick the
32099 next one, whatever it might be.
32100 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32101 (arena_lock): Pass in new parameter to arena_get2.
32102 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32104 (__libc_malloc): Unify retrying after main arena failure with
32105 __libc_memalign version.
32106 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32108 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32111 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32112 to __redirect_strstr.
32113 (__strstr_sse42): Use typeof __redirect_strstr.
32114 (__strstr_ia32): Likewise.
32115 (__libc_strstr): New prototype.
32116 (strstr): Renamed to ...
32117 (__libc_strstr): This.
32118 (strstr): New strong alias of __libc_strstr.
32119 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32120 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32123 (__libc_time): New prototype.
32124 (time_ifunc): Replace time with __libc_time.
32125 (time): New strong alias and hidden definition of __libc_time.
32126 (__GI_time): Remove strong alias.
32127 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32128 Include <stddef.h>.
32129 (memmove): Redefined to __redirect_memmove.
32130 (__memmove_sse2): Use typeof __redirect_memmove.
32131 (__memmove_ssse3): Likewise.
32132 (__memmove_ssse3_back): Likewise.
32133 (__libc_memmove): New prototype.
32134 (memmove): Renamed to ...
32135 (__libc_memmove): This.
32136 (memmove): New strong alias of __libc_memmove.
32138 2012-08-08 Mark Salter <msalter@redhat.com>
32141 (R_MN10300_TLS_GD): Define.
32142 (R_MN10300_TLS_LD): Likewise.
32143 (R_MN10300_TLS_LDO): Likewise.
32144 (R_MN10300_TLS_GOTIE): Likewise.
32145 (R_MN10300_TLS_IE): Likewise.
32146 (R_MN10300_TLS_LE): Likewise.
32147 (R_MN10300_TLS_DTPMOD): Likewise.
32148 (R_MN10300_TLS_DTPOFF): Likewise.
32149 (R_MN10300_TLS_TPOFF): Likewise.
32150 (R_MN10300_SYM_DIFF): Likewise.
32151 (R_MN10300_ALIGN): Likewise.
32152 (R_MN10300_NUM): Update.
32154 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32156 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32159 2012-08-08 Roland McGrath <roland@hack.frob.com>
32161 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32163 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32164 sysdeps/unix -> sysdeps/posix move.
32165 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32167 2012-08-07 Allan McRae <allan@archlinux.org>
32170 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32171 (SUNOS_CPP): Likewise.
32172 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32174 (open_input): Call CPP using execvp.
32176 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32178 * sysdeps/unix/sysv/linux/kernel-features.h
32179 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32180 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32181 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32182 (__ASSUME_WAITID_SYSCALL): Likewise.
32183 * sysdeps/unix/sysv/linux/dl-execstack.c
32184 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32185 code unconditional.
32186 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32188 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32189 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32190 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32192 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32194 [__ASSUME_WAITID_SYSCALL]: Likewise.
32195 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32197 2012-08-07 Roland McGrath <roland@hack.frob.com>
32199 * sysdeps/unix/closedir.c: Renamed to ...
32200 * sysdeps/posix/closedir.c: ... here.
32201 * sysdeps/unix/dirfd.c: Renamed to ...
32202 * sysdeps/posix/dirfd.c: ... here.
32203 * sysdeps/unix/dirstream.h: Renamed to ...
32204 * sysdeps/posix/dirstream.h: ... here.
32205 * sysdeps/unix/fdopendir.c: Renamed to ...
32206 * sysdeps/posix/fdopendir.c: ... here.
32207 * sysdeps/unix/opendir.c: Renamed to ...
32208 * sysdeps/posix/opendir.c: ... here.
32209 * sysdeps/unix/readdir.c: Renamed to ...
32210 * sysdeps/posix/readdir.c: ... here.
32211 * sysdeps/unix/readdir_r.c: Renamed to ...
32212 * sysdeps/posix/readdir_r.c: ... here.
32213 * sysdeps/unix/rewinddir.c: Renamed to ...
32214 * sysdeps/posix/rewinddir.c: ... here.
32215 * sysdeps/unix/seekdir.c: Renamed to ...
32216 * sysdeps/posix/seekdir.c: ... here.
32217 * sysdeps/unix/telldir.c: Renamed to ...
32218 * sysdeps/posix/telldir.c: ... here.
32219 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32220 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32221 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32222 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32224 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32225 * bits/fcntl.h: ... here.
32227 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32229 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32230 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32231 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32232 (struct flock): Move l_start, l_len to the beginning.
32233 Use __pid_t for l_pid.
32234 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32235 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32236 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32237 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32238 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32239 [__USE_LARGEFILE64] (struct flock64): New type.
32240 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32242 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32243 * bits/dirent.h: ... here.
32245 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32246 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32248 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32251 Change from 2.6.0 to 2.6.16.
32252 * sysdeps/unix/sysv/linux/configure: Regenerated.
32253 * sysdeps/unix/sysv/linux/kernel-features.h
32254 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32255 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32257 (__ASSUME_UTIMES): Likewise.
32258 (__ASSUME_CLONE_STOPPED): Remove.
32259 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32260 architectures, not kernel version.
32261 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32262 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32263 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32264 (__ASSUME_WAITID_SYSCALL): Likewise.
32265 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32266 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32267 * README: State 2.6.16 as minimum Linux kernel version. Do not
32268 refer to older versions.
32270 2012-08-06 Roland McGrath <roland@hack.frob.com>
32272 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32273 Define alphasort64 as an alias.
32274 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32275 Define versionsort64 as an alias.
32276 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32277 Define scandir64 as an alias.
32278 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32279 Define scandirat64 as an alias.
32280 * dirent/alphasort64.c (alphasort64):
32281 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32282 * dirent/versionsort64.c: Likewise.
32283 * dirent/scandir64.c: Likewise.
32284 * dirent/scandirat64.c: Likewise.
32285 * sysdeps/wordsize-64/alphasort.c: File removed.
32286 * sysdeps/wordsize-64/alphasort64.c: File removed.
32287 * sysdeps/wordsize-64/scandir.c: File removed.
32288 * sysdeps/wordsize-64/scandir64.c: File removed.
32289 * sysdeps/wordsize-64/scandirat.c: File removed.
32290 * sysdeps/wordsize-64/scandirat64.c: File removed.
32291 * sysdeps/wordsize-64/versionsort.c: File removed.
32292 * sysdeps/wordsize-64/versionsort64.c: File removed.
32293 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32294 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32295 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32296 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32297 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32298 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32299 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32300 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32302 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32304 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32306 [defined __arch64__ || defined __sparcv9]
32307 (__INO_T_MATCHES_INO64_T): New macro.
32308 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32309 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32310 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32311 * sysdeps/unix/sysv/linux/bits/dirent.h
32312 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32313 (_DIRENT_MATCHES_DIRENT64): New macro.
32315 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32316 Define lockf64 as an alias.
32317 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32318 Define fseeko64 as an alias.
32319 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32320 Define ftello64 as an alias.
32321 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32322 Define _IO_fgetpos64 and fgetpos64 as aliases.
32323 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32324 Define _IO_fsetpos64 and fsetpos64 as aliases.
32325 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32326 Conditionalize body on this.
32327 * libio/fseeko64.c: Likewise.
32328 * libio/ftello64.c: Likewise.
32329 * libio/iofgetpos64.c: Likewise.
32330 * libio/iofsetpos64.c: Likewise.
32331 * sysdeps/wordsize-64/lockf.c: File removed.
32332 * sysdeps/wordsize-64/lockf64.c: File removed.
32333 * sysdeps/wordsize-64/fseeko.c: File removed.
32334 * sysdeps/wordsize-64/fseeko64.c: File removed.
32335 * sysdeps/wordsize-64/ftello.c: File removed.
32336 * sysdeps/wordsize-64/ftello64.c: File removed.
32337 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32338 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32339 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32340 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32342 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32343 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32344 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32345 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32346 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32347 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32350 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32352 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32353 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32354 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32355 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32356 [defined __arch64__ || defined __sparcv9]
32357 (__OFF_T_MATCHES_OFF64_T): New macro.
32358 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32359 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32361 (__OFF_T_MATCHES_OFF64_T): New macro.
32363 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32365 * stdlib/secure-getenv.c (__secure_getenv): Replace
32366 GLIBC_2_16 with GLIBC_2_17.
32368 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32373 2012-08-03 David S. Miller <davem@davemloft.net>
32375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32377 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32379 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32381 (__ASSUME_CORRECT_SI_PID): Likewise.
32382 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32383 (__ASSUME_TMPFS_NAME): Likewise.
32384 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32385 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32386 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32387 (HAVE_AUX_SECURE): Make definition unconditional.
32388 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32389 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32391 2012-08-03 Roland McGrath <roland@hack.frob.com>
32393 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32394 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32395 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32396 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32397 __eloop_threshold instead of SYMLOOP_MAX.
32399 * sysdeps/generic/eloop-threshold.h: New file.
32400 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32402 * elf/chroot_canon.c (chroot_canon): Likewise.
32404 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32407 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32408 Change to 2.6.0 everywhere.
32409 * sysdeps/unix/sysv/linux/configure: Regenerated.
32410 * sysdeps/unix/sysv/linux/kernel-features.h
32411 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32412 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32414 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32415 (__ASSUME_FUTEX_REQUEUE): Remove.
32416 (__ASSUME_STATFS64): Define unconditionally.
32417 (__ASSUME_AT_SECURE): Likewise.
32418 (__ASSUME_CORRECT_SI_PID): Likewise.
32419 (__ASSUME_TGKILL): Define without depending on kernel version for
32421 (__ASSUME_UTIMES): Likewise.
32422 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32424 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32425 (__ASSUME_TMPFS_NAME): Likewise.
32426 * README: Update reference to Linux kernel versions.
32428 2012-08-02 Marek Polacek <polacek@redhat.com>
32431 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32432 libc_cv_asm_type_prefix with %.
32433 * configure: Regenerated.
32434 * include/libc-symbols.h: Remove comment about
32435 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32436 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32437 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32438 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32439 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32440 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32441 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32442 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32443 * elf/tst-unique2mod1.c: Likewise.
32444 * elf/tst-unique1mod2.c: Likewise.
32445 * elf/tst-unique1mod1.c: Likewise.
32446 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32447 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32448 Replace ASM_TYPE_DIRECTIVE with .type.
32449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32450 * sysdeps/i386/sysdep.h: Likewise.
32451 * sysdeps/x86_64/sysdep.h: Likewise.
32452 * sysdeps/sh/sysdep.h: Likewise.
32453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32454 Do not define ASM_TYPE_DIRECTIVE.
32455 * sysdeps/powerpc/sysdep.h: Likewise.
32456 * sysdeps/powerpc/powerpc32/sysdep.h:
32457 Replace ASM_TYPE_DIRECTIVE with .type.
32458 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32459 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32460 * sysdeps/i386/fpu/e_powf.S: Likewise.
32461 * sysdeps/i386/fpu/e_expl.S: Likewise.
32462 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32463 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32464 * sysdeps/i386/fpu/e_pow.S: Likewise.
32465 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32466 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32467 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32468 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32469 * sysdeps/i386/fpu/e_log2.S: Likewise.
32470 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32471 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32472 * sysdeps/i386/fpu/e_powl.S: Likewise.
32473 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32474 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32475 * sysdeps/i386/fpu/e_logl.S: Likewise.
32476 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32477 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32478 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32479 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32480 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32481 * sysdeps/i386/fpu/e_log.S: Likewise.
32482 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32483 * sysdeps/i386/fpu/e_logf.S: Likewise.
32484 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32485 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32486 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32487 * sysdeps/i386/fpu/e_log10.S: Likewise.
32488 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32489 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32490 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32491 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32492 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32493 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32494 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32495 * sysdeps/i386/i686/strtok.S: Likewise.
32496 * sysdeps/i386/i386-mcount.S: Likewise.
32497 * sysdeps/i386/strtok.S: Likewise.
32498 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32499 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32500 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32501 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32502 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32503 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32504 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32505 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32506 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32507 * sysdeps/x86_64/_mcount.S: Likewise.
32508 * sysdeps/x86_64/strtok.S: Likewise.
32509 * sysdeps/sh/_mcount.S: Likewise.
32511 2012-08-01 Roland McGrath <roland@hack.frob.com>
32513 * libio/iofopen.c: Include <fcntl.h>.
32514 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32515 (_IO_fopen64, fopen64): Define as aliases.
32516 * libio/iofopen64.c: Include <fcntl.h>.
32517 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32518 Conditionalize body on this.
32519 * sysdeps/wordsize-64/iofopen.c: File removed.
32520 * sysdeps/wordsize-64/iofopen64.c: File removed.
32522 2012-08-01 Marek Polacek <polacek@redhat.com>
32524 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32525 Use dlfcn directly instead of a variable.
32526 (binfmt-subdir): Do not define.
32529 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32532 Remove all definitions.
32533 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32534 <kernel-features.h>.
32535 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32536 (miss_F_GETOWN_EX): Remove all definitions.
32537 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32539 [!__ASSUME_FCNTL64]: Remove conditional code.
32540 [__ASSUME_FCNTL64]: Make code unconditional.
32541 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32542 <kernel-features.h>.
32543 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32544 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32545 (lockf64) [__NR_fcntl64]: Make code unconditional.
32546 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32548 * sysdeps/unix/sysv/linux/kernel-features.h
32549 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32550 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32551 Make code unconditional.
32552 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32553 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32555 [__NR_vfork]: Make code unconditional.
32556 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32557 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32559 [__NR_vfork]: Make code unconditional.
32560 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32561 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32563 2012-08-01 Roland McGrath <roland@hack.frob.com>
32565 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32566 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32568 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32569 Define mkstemp64 as an alias.
32570 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32571 Define mkstemps64 as an alias.
32572 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32573 Define mkostemp64 as an alias.
32574 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32575 Define mkostemps64 as an alias.
32576 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32577 Conditionalize body on this.
32578 * misc/mkostemp64.c: Likewise.
32579 * misc/mkostemps64.c: Likewise.
32580 * misc/mkstemps64.c: Likewise.
32581 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32582 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32583 * sysdeps/wordsize-64/mkostemp.c: File removed.
32584 * sysdeps/wordsize-64/mkstemp.c: File removed.
32585 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32591 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32592 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32593 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32594 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32596 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32597 compat_symbol macros from <shlib-compat.h> rather than the underlying
32598 default_symbol_version and symbol_version macros, so that DEFAULT
32599 lines in shlib-versions are respected.
32600 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32602 2012-08-01 Florian Weimer <fweimer@redhat.com>
32604 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32605 Declare with warn_unused_result.
32606 (setgid, setregid, setegid, setresgid): Likewise.
32607 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32609 * WUR-REPORT: Remove set*id functions.
32611 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32613 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32615 2012-07-31 Roland McGrath <roland@hack.frob.com>
32618 * include/sys/socket.h (__libc_accept, __libc_accept4):
32619 Add attribute_hidden.
32620 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32622 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32624 * inet/getnetgrent_r.c (setup): Likewise.
32626 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32628 2012-07-31 David S. Miller <davem@davemloft.net>
32630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32632 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32635 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32636 value between 1.0 and 2.0 and smaller part has absolute value less
32638 * math/s_clog10.c (__clog10): Likewise.
32639 * math/s_clog10f.c (__clog10f): Likewise.
32640 * math/s_clog10l.c (__clog10l): Likewise.
32641 * math/s_clogf.c (__clogf): Likewise.
32642 * math/s_clogl.c (__clogl): Likewise.
32643 * math/libm-test.inc (clog_test): Add more tests.
32644 (clog10_test): Likewise.
32645 * sysdeps/i386/fpu/libm-test-ulps: Update.
32646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32648 2012-07-31 Florian Weimer <fweimer@redhat.com>
32650 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32651 Exit with zero in case no suitable GID is found, and write a
32652 message to standard error.
32654 2012-07-30 Roland McGrath <roland@hack.frob.com>
32656 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32658 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32659 (MAXPATHLEN): Removed.
32660 (NOGROUP, NODEV): New macros.
32661 (setbit, clrbit, isset, isclr): New macros.
32662 (howmany, roundup, powerof2): New macros.
32663 (DEV_BSIZE): New macro.
32665 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32666 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32668 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32669 definition on [!__NO_LONG_DOUBLE_MATH].
32671 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32672 PTR_MANGLE and PTR_DEMANGLE.
32674 * socket/accept4.c (accept4): Rename to __libc_accept4.
32675 Define accept4 as a weak alias.
32677 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32678 on [_DIRENT_HAVE_D_TYPE].
32679 * io/ftw.c (ftw_dir): Likewise.
32681 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32683 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32685 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32686 Use the BSD numbers rather than the arbitrary ones we had.
32687 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32688 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32689 (SIGXCPU, SIGXFSZ): New macros.
32692 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32693 initializer on [_LIBC_REENTRANT].
32695 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32696 definitions inside [_POSIX_MAPPED_FILES].
32698 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32700 * dirent/opendir.c: Include <fcntl.h>.
32702 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32703 (__libc_getspecific): Likewise.
32704 (__libc_key_create): Likewise.
32706 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32707 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32708 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32709 (tmpfile64): Define as alias.
32710 * sysdeps/wordsize-64/tmpfile.c: File removed.
32711 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32712 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32713 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32715 * stdio-common/vfscanf.c: Include <stdbool.h>.
32716 * nss/makedb.c: Likewise.
32717 * stdio-common/_i18n_number.h: Likewise.
32718 * argp/argp-help.c: Likewise.
32719 * posix/wordexp.c: Likewise.
32720 * sysdeps/posix/spawni.c: Likewise.
32721 * nss/nss_files/files-initgroups.c: Likewise.
32722 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32723 * nss/nss_files/files-initgroups.c: Likewise.
32724 * nss/nss_db/db-netgrp.c: Likewise.
32725 * nss/nss_db/db-initgroups.c: Likewise.
32726 * io/fchmodat.c: Include <sys/stat.h>.
32728 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32729 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32731 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32734 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32735 Add multiple inclusion protection.
32737 2012-07-27 David S. Miller <davem@davemloft.net>
32739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32741 2012-07-27 Gary Benson <gbenson@redhat.com>
32744 * elf/rtld.c: Include <stap-probe.h>.
32745 (dl_main): Added static probes "init_start" and "init_complete".
32746 * elf/dl-load.c: Include <stap-probe.h>.
32747 (lose): Take new parameter "nsid".
32748 Added static probe "map_failed".
32749 (_dl_map_object_from_fd): Pass namespace id to lose.
32750 Added static probe "map_start".
32751 (open_verify): Pass namespace id to lose.
32752 * elf/dl-open.c: Include <stap-probe.h>.
32753 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32754 and "reloc_complete".
32755 * elf/dl-close.c: Include <stap-probe.h>.
32756 (_dl_close_worker): Added static probes "unmap_start" and
32758 * elf/rtld-debugger-interface.txt: New file documenting the above.
32760 2012-07-26 Roland McGrath <roland@hack.frob.com>
32762 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32763 rather than a string variable.
32764 * sunrpc/rpc_main.c (h_output): Likewise.
32765 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32767 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32769 * inet/check_native.c: New file.
32771 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32774 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32775 if larger part has absolute value 1.0.
32776 * math/s_clog10.c (__clog10): Likewise.
32777 * math/s_clog10f.c (__clog10f): Likewise.
32778 * math/s_clog10l.c (__clog10l): Likewise.
32779 * math/s_clogf.c (__clogf): Likewise.
32780 * math/s_clogl.c (__clogl): Likewise.
32781 * math/libm-test.inc (clog_test): Add more tests.
32782 (clog10_test): Likewise.
32783 * sysdeps/i386/fpu/libm-test-ulps: Update.
32784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32786 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32787 (pltexit): Likewise.
32788 (La_regs): Likewise.
32789 (La_retval): Likewise.
32790 (int_retval): Likewise.
32791 Update #error for removed macros to refer only to definitions in
32793 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32795 (pltexit): Likewise.
32796 (La_regs): Likewise.
32797 (La_retval): Likewise.
32798 (int_retval): Likewise.
32799 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32801 (pltexit): Likewise.
32802 (La_regs): Likewise.
32803 (La_retval): Likewise.
32804 (int_retval): Likewise.
32805 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32807 (pltexit): Likewise.
32808 (La_regs): Likewise.
32809 (La_retval): Likewise.
32810 (int_retval): Likewise.
32811 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32813 (pltexit): Likewise.
32814 (La_regs): Likewise.
32815 (La_retval): Likewise.
32816 (int_retval): Likewise.
32817 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32819 (pltexit): Likewise.
32820 (La_regs): Likewise.
32821 (La_retval): Likewise.
32822 (int_retval): Likewise.
32823 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32825 (pltexit): Likewise.
32826 (La_regs): Likewise.
32827 (La_retval): Likewise.
32828 (int_retval): Likewise.
32829 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32830 macro definitions in tst-audit.h.
32831 * sysdeps/i386/tst-audit.h: New file.
32832 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32833 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32834 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32835 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32836 * sysdeps/sh/tst-audit.h: Likewise.
32837 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32838 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32839 * sysdeps/x86_64/tst-audit.h: Likewise.
32841 2012-07-26 Andreas Jaeger <aj@suse.de>
32843 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32846 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32847 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32848 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32850 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32851 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32852 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32854 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32857 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32859 (si_call_addr, si_syscall, si_arch): Define new macro.
32860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32862 (si_call_addr, si_syscall, si_arch): Define new marcro.
32863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32865 (si_call_addr, si_syscall, si_arch): Define new macro.
32866 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32868 (si_call_addr, si_syscall, si_arch): Define new macro.
32870 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32874 Change to 2.4.21 where previously 2.4.1.
32875 * sysdeps/unix/sysv/linux/configure: Regenerated.
32876 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32877 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32878 Linux kernel version.
32879 (__ASSUME_STD_AUXV): Remove.
32880 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32882 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32883 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32884 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32885 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32886 (__ASSUME_NETLINK_SUPPORT): Likewise.
32887 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32888 (__no_netlink_support): Remove conditional definition.
32889 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32891 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32892 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32893 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32894 (if_nameindex_ioctl): Remove.
32895 (if_nameindex_netlink): Do not handle __no_netlink_support.
32896 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32898 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32899 Remove conditional code.
32900 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32902 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32904 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32905 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32906 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32908 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32909 [!__ASSUME_STD_AUXV]: Remove conditional code.
32910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32911 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32912 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32914 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32915 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32917 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32919 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32920 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32922 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32924 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32927 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32930 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32931 code unconditional.
32932 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32934 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32936 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32939 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32941 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32944 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32945 code unconditional.
32946 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32948 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32950 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32953 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32954 code unconditional.
32955 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32957 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32959 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32962 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32964 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32965 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32966 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32967 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32968 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32969 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32970 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32971 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32972 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32973 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32974 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32975 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32976 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32977 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32978 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32979 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32980 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32981 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32982 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32984 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32985 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32988 2012-07-25 Florian Weimer <fweimer@redhat.com>
32990 * Versions.def: Add GLIBC_2.17.
32991 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32992 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32993 Introduce __libc_secure_getenv.
32994 * stdlib/Versions (2.17): Add secure_getenv
32995 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32996 * stdlib/secure-getenv.c: Rename __secure_getenv to
32997 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32998 symbol __secure_getenv for GLIBC_2.0.
32999 * stdlib/tst-secure-getenv.c: New.
33000 * stdlib/Makefile (tests): Add testcase.
33001 * manual/startup.texi (Environment Access): Document
33003 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33004 __libc_secure_getenv.
33005 * inet/ruserpass.c (ruserpass): Likewise.
33006 * malloc/mtrace.c (mtrace): Likewise.
33007 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33008 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33009 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33010 * sysdeps/posix/tempname.c: Likewise. Evaluate
33011 HAVE_SECURE_GETENV.
33012 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33013 __secure_getenv to __libc_secure_getenv.
33014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33027 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33029 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33030 (struct La_i86_retval): Likewise.
33031 (struct La_x86_64_regs): Likewise.
33032 (struct La_x86_64_retval): Likewise.
33033 (struct La_x32_regs): Likewise.
33034 (struct La_x32_retval): Likewise.
33035 (struct La_ppc32_regs): Likewise.
33036 (struct La_ppc32_retval): Likewise.
33037 (struct La_ppc64_regs): Likewise.
33038 (struct La_ppc64_retval): Likewise.
33039 (struct La_sh_regs): Likewise.
33040 (struct La_sh_retval): Likewise.
33041 (struct La_s390_32_regs): Likewise.
33042 (struct La_s390_32_retval): Likewise.
33043 (struct La_s390_64_regs): Likewise.
33044 (struct La_s390_64_retval): Likewise.
33045 (struct La_sparc32_regs): Likewise.
33046 (struct La_sparc32_retval): Likewise.
33047 (struct La_sparc64_regs): Likewise.
33048 (struct La_sparc64_retval): Likewise.
33049 (struct audit_ifaces): Remove architecture-specific pltenter and
33051 * sysdeps/i386/ldsodefs.h: New file.
33052 * sysdeps/powerpc/ldsodefs.h: Likewise.
33053 * sysdeps/s390/ldsodefs.h: Likewise.
33054 * sysdeps/sh/ldsodefs.h: Likewise.
33055 * sysdeps/sparc/ldsodefs.h: Likewise.
33056 * sysdeps/x86_64/ldsodefs.h: Likewise.
33058 2012-07-25 Marek Polacek <polacek@redhat.com>
33061 * math/libm-test.inc (yn_test): Add another test.
33062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33063 to ERANGE when the result is +-Inf.
33064 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33065 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33066 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33067 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33069 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33071 * conform/data/time.h-data (NULL): Use macro-constant. Require
33073 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33075 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33077 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33079 * configure.in <sysdeps resolving>: Correct printing
33081 * configure: Regenerate.
33083 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33085 * math/w_ilogb.c: Include <limits.h>.
33086 * math/w_ilogbl.c: Likewise.
33088 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33090 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33091 va_copy. Document allowing for unavailable va_copy only as
33092 pre-C99 compatibility.
33093 * manual/string.texi (Copying and Concatenation): Use va_copy
33094 instead of __va_copy in concat example.
33096 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33098 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33099 (__sendto): Use create_address_port. Initialize APORT and deallocate
33102 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33103 with O_NOLINK passed to __file_name_lookup.
33105 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33106 with O_NOLINK passed to __file_name_lookup.
33108 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33109 negative N or less than NGIDS.
33111 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33112 type to string_t. Set ERANGE as errno and return it if NAME is not big
33113 enough. Use memcpy instead of strncpy.
33115 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33117 * elf/Makefile (check-data): Remove.
33118 (localplt.data): New vpath directive.
33119 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33120 instead of $(check-data).
33121 * scripts/data/localplt-generic.data: Move to ...
33122 * sysdeps/generic/localplt.data: ... here.
33123 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33124 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33125 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33128 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33131 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33134 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33137 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33140 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33144 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33146 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33147 PPC32 and PPC64 files.
33148 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33149 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33151 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33153 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33154 __makecontext_ret to ...
33155 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33156 ... here and call exit if uc_link is NULL. New file.
33157 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33158 __makecontext_ret.S.
33159 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33160 __makecontext_ret to ...
33161 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33162 ... here and call exit if uc_link is NULL. New file.
33163 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33164 __makecontext_ret.S.
33166 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33168 * elf/elf.h (R_390_IRELATIVE): New definition.
33169 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33170 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33171 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33172 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33173 (elf_machine_lazy_rel): Likewise.
33174 * sysdeps/s390/dl-irel.h: New file.
33175 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33176 * sysdeps/s390/s390-64/memset.S: New asm code.
33177 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33178 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33179 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33180 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33181 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33182 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33184 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33185 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33186 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33187 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33188 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33189 * sysdeps/s390/s390-32/memset.S: New asm code.
33190 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33192 2012-07-17 Marek Polacek <polacek@redhat.com>
33195 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33196 * sysdeps/s390/s390-64/configure.in: Likewise.
33197 * sysdeps/sparc/configure.in: Likewise.
33198 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33199 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33200 * sysdeps/i386/configure.in: Likewise.
33201 * sysdeps/x86_64/configure.in: Likewise.
33202 * sysdeps/sh/configure.in: Likewise.
33203 * sysdeps/s390/s390-32/configure: Regenerated.
33204 * sysdeps/s390/s390-64/configure: Likewise.
33205 * sysdeps/x86_64/configure: Likewise.
33206 * sysdeps/sh/configure: Likewise.
33207 * sysdeps/powerpc/powerpc64/configure: Likewise.
33208 * sysdeps/powerpc/powerpc32/configure: Likewise.
33209 * sysdeps/sparc/configure: Likwise.
33210 * sysdeps/i386/configure: Likewise.
33212 * elf/dl-open.c: Comment fixes.
33214 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33216 * Makefile [CXX] (check-data): Remove.
33217 [CXX] (c++-types.data): New vpath directive.
33218 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33219 vpath. Do not allow for C++ type data being missing.
33220 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33221 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33222 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33223 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33224 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33225 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33226 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33229 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33232 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33235 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33238 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33241 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33244 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33247 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33250 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33251 definitions to architecture-specific files.
33252 (TLS_IE): Likewise.
33253 (TLS_LD): Likewise.
33254 (TLS_GD): Likewise.
33255 * sysdeps/i386/tls-macros.h: New file.
33256 * sysdeps/powerpc/tls-macros.h: Likewise.
33257 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33258 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33259 * sysdeps/sh/tls-macros.h: Likewise.
33260 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33261 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33262 * sysdeps/x86_64/tls-macros.h: Likewise.
33264 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33267 zero value for regular exit case.
33269 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33270 (__start_context): Preserve zero value for regular exit case.
33272 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33273 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33275 * manual/setjmp.texi (setcontext): Clarify normal process
33276 termination when uc_link is the null pointer.
33277 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33280 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33282 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33283 preprocessor. Test for each exception mask separately.
33285 2012-07-16 Andreas Jaeger <aj@suse.de>
33287 * po/ru.po: Update from translation team.
33289 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33291 * conform/data/string.h-data (NULL): Use macro-constant. Require
33293 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33294 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33295 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33296 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33299 2012-07-13 Andreas Jaeger <aj@suse.de>
33301 * po/fr.po: Update from translation team.
33303 2012-07-12 Marek Polacek <polacek@redhat.com>
33306 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33310 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33314 Change to 2.4.1 where previously 2.4.0.
33315 * sysdeps/unix/sysv/linux/configure: Regenerated.
33316 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33317 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33319 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33320 (__ASSUME_AT_CLKTCK): Remove.
33321 (__ASSUME_AT_PAGESIZE): Likewise.
33322 (__ASSUME_AT_XID): Likewise.
33323 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33324 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33325 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33327 (HAVE_AUX_PAGESIZE): Likewise.
33328 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33329 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33330 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33332 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33336 the temporary buffer used to invoke __gethostbyname2_r,
33337 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33338 host_data / struct gaih_addrtuple.
33339 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33340 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33341 header file nss/nsswitch.h.
33342 * nss/nsswitch.h (global scope): Add definition of implementation
33343 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33344 resolv/nss_dns/dns-host.c).
33346 2012-07-11 Andreas Jaeger <aj@suse.de>
33348 * po/fr.po: Update from translation team.
33350 * po/sv.po: Update from translation team
33351 * po/fr.po: Another update from translation team.
33353 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33355 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33356 for subnormals or multiply small sinh result by itself.
33357 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33360 2012-07-11 David S. Miller <davem@davemloft.net>
33362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33364 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33367 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33368 (INTERNAL_MARK): Shift it here.
33370 2012-07-10 Marek Polacek <polacek@redhat.com>
33373 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33374 libc_cv_asm_global_directive with .globl.
33375 * configure: Regenerated.
33376 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33378 * sysdeps/i386/configure: Regenerated.
33379 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33381 * sysdeps/x86_64/configure: Regenerated.
33382 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33383 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33384 * elf/tst-unique2mod2.c: Likewise.
33385 * elf/tst-unique2mod1.c: Likewise.
33386 * elf/tst-unique1mod2.c: Likewise.
33387 * elf/tst-unique1mod1.c: Likewise.
33388 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33389 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33390 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33391 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33392 * sysdeps/mach/sysdep.h: Likewise.
33393 * sysdeps/i386/sysdep.h: Likewise.
33394 * sysdeps/i386/i386-mcount.S: Likewise.
33395 * sysdeps/x86_64/_mcount.S: Likewise.
33396 * sysdeps/x86_64/sysdep.h: Likewise.
33397 * sysdeps/sh/_mcount.S: Likewise.
33398 * sysdeps/sh/sysdep.h: Likewise.
33399 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33400 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33401 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33402 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33403 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33404 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33405 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33406 * locale/localeinfo.h: Likewise.
33407 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33408 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33410 2012-07-09 Roland McGrath <roland@hack.frob.com>
33413 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33415 * manual/message.texi (The Uniforum approach): Likewise.
33416 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33417 (glibc iconv Implementation): Likewise.
33419 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33422 * math/s_clog.c (__clog): Avoid scaling a value down where that
33423 could result in underflow.
33424 * math/s_clog10.c (__clog10): Likewise.
33425 * math/s_clog10f.c (__clog10f): Likewise.
33426 * math/s_clog10l.c (__clog10l): Likewise.
33427 * math/s_clogf.c (__clogf): Likewise.
33428 * math/s_clogl.c (__clogl): Likewise.
33429 * math/libm-test.inc (clog_test): Add more tests.
33430 (clog10_test): Likewise.
33431 * sysdeps/i386/fpu/libm-test-ulps: Update.
33432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33434 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33437 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33438 by 7 not 8 to examine high bit of fractional part.
33441 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33442 for call to __mcount_internal.
33443 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33444 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33445 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33447 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33450 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33451 approximation for values within 0x1p-13f of an odd multiple of
33453 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33454 exception. Add more tests.
33455 * sysdeps/i386/fpu/libm-test-ulps: Update.
33458 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33459 inputs and return -1 for them. Do not check for +Inf in case not
33460 reachable for +Inf.
33461 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33462 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33463 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33464 and return -1 for them. Do not check for +Inf in case not
33465 reachable for +Inf.
33466 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33468 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33469 and return -1 for them. Do not check for +Inf in case not
33470 reachable for +Inf.
33471 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33472 spurious underflow.
33473 * sysdeps/i386/fpu/libm-test-ulps: Update.
33474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33476 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33478 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33480 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33484 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33485 could result in spurious underflow. Scale down values above
33486 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33487 * math/s_csqrtf.c (__csqrtf): Likewise.
33488 * math/s_csqrtl.c (__csqrtl): Likewise.
33489 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33490 spurious underflow.
33491 * sysdeps/i386/fpu/libm-test-ulps: Update.
33492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33494 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33496 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33498 * catgets/xopen-msg.awk: New file.
33499 * catgets/xopen-msg.sed: Removed.
33501 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33503 * intl/po2test.awk: New file.
33504 * intl/po2test.sed: Removed.
33506 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33509 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33510 or multiply small sinh result by itself.
33511 * math/s_ctanf.c (__ctanf): Likewise.
33512 * math/s_ctanh.c (__ctanh): Likewise.
33513 * math/s_ctanhf.c (__ctanhf): Likewise.
33514 * math/s_ctanhl.c (__ctanhl): Likewise.
33515 * math/s_ctanl.c (__ctanl): Likewise.
33516 * math/libm-test.inc (ctan_test_tonearest): New function.
33517 (ctan_test_towardzero): Likewise.
33518 (ctan_test_downward): Likewise.
33519 (ctan_test_upward): Likewise.
33520 (ctanh_test_tonearest): Likewise.
33521 (ctanh_test_towardzero): Likewise.
33522 (ctanh_test_downward): Likewise.
33523 (ctanh_test_upward): Likewise.
33524 (main): Call these new functions.
33525 * sysdeps/i386/fpu/libm-test-ulps: Update.
33526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33528 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33530 * .gitignore: Delete /ports entry.
33532 2012-07-03 Andreas Jaeger <aj@suse.de>
33534 * po/bg.po: Update from translation team.
33535 * po/cs.po: Likewise.
33536 * po/de.po: Likewise.
33537 * po/hr.po: Likewise.
33538 * po/nl.pl: Likewise.
33539 * po/pl.po: Likewise.
33540 * po/vi.po: Likewise.
33542 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33544 * Makeconfig [!+link] (+link-before-libc): New variable.
33545 [!+link] (+link-after-libc): Likewise.
33546 [!+link] (+link-tests): Likewise.
33547 [!+link] (+link): Define in terms of $(+link-before-libc) and
33548 $(+link-after-libc).
33549 [!+link-static] (+link-static-before-libc): New variable.
33550 [!+link-static] (+link-static-after-libc): Likewise.
33551 [!+link-static] (+link-static-tests): Likewise.
33552 [!+link-static] (+link-static): Define in terms of
33553 $(+link-static-before-libc) and $(+link-static-after-libc).
33554 [build-shared] (link-libc-before-gnulib): New variable.
33555 [build-shared] (link-libc-tests): Likewise.
33556 [build-shared] (link-libc): Define in terms of
33557 $(link-libc-before-gnulib).
33558 [!build-shared] (link-libc-tests): New variable.
33559 (link-libc-static-tests): New variable.
33560 [!gnulib] (gnulib-arch): New variable.
33561 [!gnulib] (gnulib-tests): Likewise.
33562 [!gnulib] (static-gnulib-arch): Likewise.
33563 [!gnulib] (static-gnulib-tests): Likewise.
33564 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33565 Define with "=" instead of ":=".
33566 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33567 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33568 * Rules (binaries-all-notests): New variable.
33569 (binaries-all-tests): Likewise.
33570 (binaries-static-notests): Likewise.
33571 (binaries-static-tests): Likewise.
33572 (binaries-all): Define using $(binaries-all-notests) and
33573 $(binaries-all-tests).
33574 (binaries-static): Define using $(binaries-static-notests) and
33575 $(binaries-static-tests).
33576 (binaries-shared-tests): New variable.
33577 (binaries-shared-notests): Likewise.
33578 (binaries-shared): Remove variable.
33579 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33580 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33581 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33582 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33583 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33584 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33585 * elf/Makefile (sln-modules): New variable.
33586 (extra-objs): Add $(sln-modules:=.o).
33587 (ldconfig-modules): Add static-stubs.
33588 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33589 * elf/static-stubs.c: New file.
33592 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33593 by 7 not 8 to examine high bit of fractional part. Use volatile
33594 variables when splitting into final array of floats if
33595 __FLT_EVAL_METHOD__ != 0.
33596 * math/libm-test.inc (cos_test): Add another test.
33597 (sin_test): Likewise.
33598 * sysdeps/i386/fpu/libm-test-ulps: Update.
33601 * math/libm-test.inc (cosh_test): Add more tests.
33603 * version.h (RELEASE): Set to "development".
33604 (VERSION): Set to "2.16.90".
33606 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33608 * NEWS: Update copyright. Remove last-updated date.
33609 Mention math library bug fixes and timezone data changes.
33610 * README: Mention GNU/Hurd, x32, and HPPA support status.
33612 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33614 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33616 2012-06-27 Andreas Jaeger <aj@suse.de>
33618 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33620 2012-06-25 Andreas Jaeger <aj@suse.de>
33622 * sysdeps/s390/fpu/libm-test-ulps: Update.
33624 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33625 Thomas Schwinge <thomas@codesourcery.com>
33627 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33628 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33632 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33634 * sysdeps/mach/start.c: Remove file.
33635 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33636 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33637 * sysdeps/sh/init-first.c: Likewise.
33639 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33640 registers for frame unwinding purposes, add CFI directives.
33641 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33643 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33646 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33647 __fortify_fail returning.
33648 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33650 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33651 sysdeps/sh/____longjmp_chk.S.
33652 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33653 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33654 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33655 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33657 * sysdeps/sh/abort-instr.h: New file.
33658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33659 process in case exit returns.
33661 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33662 initialize the GOT register before use.
33664 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33665 calculation of ARGC > 4.
33667 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33668 meaningful names to some local labels.
33670 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33671 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33673 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33674 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33675 (__arch_compare_and_exchange_val_16_acq): Likewise.
33676 (__arch_compare_and_exchange_val_32_acq): Likewise.
33677 (atomic_exchange_and_add): Fix gUSA sequence.
33678 (atomic_add): Likewise.
33679 (atomic_add_negative): Likewise.
33680 (atomic_add_zero): Likewise.
33681 (atomic_bit_test_set): Likewise.
33683 2012-06-22 Andreas Schwab <schwab@redhat.com>
33686 * include/link.h (struct link_map): Add l_free_initfini.
33687 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33689 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33690 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33691 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33694 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33696 * configure.in: Use AC_LANG_SOURCE.
33697 * configure: Regenerate.
33699 2012-06-22 Roland McGrath <roland@hack.frob.com>
33701 * configure.in (libc_cv_localstatedir): New substituted variable.
33702 * configure: Regenerated.
33703 * config.make.in (localstatedir): New variable, substituted from
33704 libc_cv_localstatedir.
33705 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33706 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33707 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33708 * sysdeps/gnu/configure: Regenerated.
33710 2012-06-21 Jeff Law <law@redhat.com>
33713 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33714 free. Simplify list management for _LIBC case.
33716 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33719 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33720 Clear sign bit of 64-bit integer value before comparing against
33723 * sysdeps/mach/configure: Regenerated.
33725 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33728 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33730 2012-06-21 Jeff Law <law@redhat.com>
33733 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33734 uint16_t for elements in the "seen" array to avoid char overflows.
33735 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33736 * elf/dl-open.c (dl_open_worker): Likewise.
33738 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33740 * scripts/list-sources.sh: Scan PORTS for translations.
33741 * po/libc.pot: Regenerated.
33743 2012-06-21 Andreas Jaeger <aj@suse.de>
33746 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33748 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33749 * bits/byteswap-16.h (__bswap_16): Likewise.
33750 * bits/byteswap.h (__bswap_constant_16): Likewise.
33752 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33755 * sysdeps/i386/fpu_control.h: Removed.
33756 * sysdeps/x86_64/fpu_control.h: Moved to ...
33757 * sysdeps/x86/fpu_control.h: Here.
33759 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33760 (_FPU_SETCW): Likewise.
33762 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33765 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33766 * sysdeps/x86/fpu/bits/mathinline.h: This.
33767 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33771 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33772 functions if __x86_64__ is defined.
33774 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33776 * string/endian.h: Add !__ASSEMBLER__ condition for including
33777 conversion interfaces.
33779 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33783 of ABS(x) in calculating zero to negative powers other than odd
33785 * math/libm-test.inc (pow_test): Add more tests.
33787 2012-06-15 Andreas Jaeger <aj@suse.de>
33789 * manual/contrib.texi (Contributors): Update entry of Liubov
33790 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33793 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33795 * string/string.h: Add __wur to GNU version of strerror_r.
33797 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33800 * string/Makefile (tests): Add tst-strtok_r.
33801 * string/tst-strtok_r.c: New file.
33802 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33803 RAX_LP/RDX_LP on SAVE_PTR.
33805 2012-06-14 Roland McGrath <roland@hack.frob.com>
33807 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33809 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33811 * libm_test.inc (csqrt_test): Allow more spurious underflow
33813 (j0_test): Likewise.
33814 (j1_test): Likewise.
33815 (y0_test): Likewise.
33816 (y1_test): Likewise.
33818 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33820 * po/Makefile (libc.pot): Use UTF-8 charset.
33822 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33825 Suppress sign-conversion warning from FD_SET.
33826 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33827 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33828 not unsigned long int.
33829 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33831 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33835 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33836 __extern_always_inline instead of __extern_inline.
33837 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33838 (__signbit): Likewise.
33839 (__signbitl): Support C++ namespace.
33840 (lrintf): New inline function.
33842 (llrintf): Likewise.
33843 (llrint): Likewise.
33853 (floorf): Likewise.
33854 (nearbyint): Likewise.
33855 (nearbyintf): Likewise.
33857 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33860 non-default versions.
33862 2012-06-11 Roland McGrath <roland@hack.frob.com>
33865 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33867 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33869 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33870 (FE_UPWARD, FE_DOWNWARD): Don't define.
33871 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33872 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33874 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33876 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33877 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33879 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33881 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33883 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33884 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33886 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33889 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33890 * sysdeps/i386/fpu/Implies: New file.
33891 * sysdeps/x86_64/fpu/Implies: Likewise.
33892 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33893 * sysdeps/x86/fpu/bits/fenv.h: This.
33895 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33898 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33901 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33902 character 0xffff that matches the last element of the
33905 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33910 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33913 values higher than 25.6283.
33915 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33917 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33918 subnormal exponent extraction and add some __builtin_expect.
33919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33920 Fix for subnormal mantissa calculation.
33922 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33924 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33925 cpu2 is -1 and errno is not ENOSYS.
33927 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33930 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33931 * sysdeps/x86/bits/string.h: This.
33932 * sysdeps/x86_64/bits/string.h: Removed.
33934 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33935 if not compiling for x86-64, but compiling for >= i486.
33937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33938 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33940 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33941 New macro from Linux kernel 3.4.0.
33942 (FP_XSTATE_MAGIC2): Likewise.
33943 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33944 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33945 (struct _fpx_sw_bytes): New struct.
33946 (struct _xsave_hdr): Likewise.
33947 (struct _ymmh_state): Likewise.
33948 (struct _xstate): Likewise.
33950 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33951 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33952 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33953 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33954 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33955 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33957 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33958 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33959 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33960 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33961 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33962 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33964 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33967 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33968 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33969 (sysdep_headers): Include sys/platform/ppc.h.
33970 * sysdeps/powerpc/test-gettimebase.c: Test for
33971 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33972 * manual/Makefile (appendices): Include platform.texi.
33973 * manual/contrib.texi (Contributors): Update @node pointers.
33974 * manual/maint.texi (Maintenance): Likewise.
33975 (Platform): New node.
33976 * manual/platform.texi: New file. Document the new features.
33978 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33979 Jakub Jelinek <jakub@redhat.com>
33982 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33983 where __builtin_expect is unavailable.
33985 2012-06-03 David S. Miller <davem@davemloft.net>
33987 * stdlib/longlong.h: Updated from GCC.
33989 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33992 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33993 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33996 (GLIBC_2.16): Likewise.
33998 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34000 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34002 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34005 (default-abi): New variable.
34006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34007 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34009 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34011 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34013 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34016 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34017 definition. Document in comment.
34019 2012-06-01 David S. Miller <davem@davemloft.net>
34021 * stdlib/longlong.h: Updated from GCC.
34023 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34026 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34027 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34028 sys/debugreg.h sys/io.h here.
34029 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34030 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34032 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34033 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34034 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34035 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34036 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34037 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34039 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34040 Define only if __x86_64__ is defined.
34042 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34046 Use int64_t for variable i.
34047 * math/libm-test.inc (fmod_test): Add more tests.
34049 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34050 z computation is not scheduled after fetestexcept.
34051 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34052 Use math_force_eval instead of asm to ensure calculation scheduled
34053 before exception test.
34054 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34055 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34057 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34060 computation is not scheduled after fetestexcept.
34062 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34065 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34066 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34068 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34070 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34071 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34073 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34076 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34078 (__WCHAR_MIN): Support __WORDSIZE == 64.
34079 (__WCHAR_MAX): Likewise.
34081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34082 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34086 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34089 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34090 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34092 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34093 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34095 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34096 Defined to 1 if __x86_64__ isn't defined.
34097 (_STAT_VER_LINUX_OLD): New.
34098 (st_atime): Remove duplicate.
34099 (st_mtime): Likewise.
34100 (st_ctime): Likewise.
34102 2012-05-31 David S. Miller <davem@davemloft.net>
34104 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34107 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34109 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34113 * elf/dl-reloc.c: Include <_itoa.h>.
34114 (_dl_reloc_bad_type): Remove use of INTUSE.
34115 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34116 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34117 * stdio-common/psiginfo.c (psiginfo): Likewise.
34118 * stdio-common/psignal.c (psignal): Likewise.
34119 * string/strsignal.c (strsignal): Likewise.
34120 * include/signal.h (_sys_siglist): Declare hidden proto.
34121 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34122 INTVARDEF with libc_hidden_data_def.
34123 * stdio-common/itoa-udigits.c: Likewise.
34124 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34125 (_itoa_lower_digits_internal): Remove declaration.
34126 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34127 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34128 (_sys_sigabbrev_internal): Remove aliases.
34129 (_sys_siglist): Define hidden alias.
34131 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34136 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34139 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34140 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34142 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34143 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34144 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34145 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34147 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34149 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34150 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34151 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34153 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34162 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34163 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34165 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34166 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34168 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34169 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34170 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34172 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34173 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34175 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34176 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34180 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34182 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34183 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34185 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34187 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34188 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34189 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34191 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34193 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34195 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34197 * math/math.h (M_El): Use two more decimal places.
34198 (M_LOG2El): Likewise.
34199 (M_LOG10El): Likewise.
34200 (M_LN2l): Likewise.
34201 (M_LN10l): Likewise.
34203 (M_PI_2l): Likewise.
34204 (M_PI_4l): Likewise.
34205 (M_1_PIl): Likewise.
34206 (M_2_PIl): Likewise.
34207 (M_2_SQRTPIl): Likewise.
34208 (M_SQRT2l): Likewise.
34209 (M_SQRT1_2l): Likewise.
34211 2012-05-31 David S. Miller <davem@davemloft.net>
34213 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34214 values between float registers.
34215 * sysdeps/sparc/sparc64/memset.S: Likewise.
34216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34218 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34220 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34221 -D_FORTIFY_SOURCE=1.
34222 (CPPFLAGS-tst-longjmp_chk.c): Define.
34223 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34224 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34225 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34226 CFLAGS-tst-wchar-h.c.
34228 2012-05-31 Marek Polacek <polacek@redhat.com>
34231 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34232 __endmntent_internal): Remove declaration.
34233 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34234 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34235 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34237 2012-05-30 David S. Miller <davem@davemloft.net>
34239 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34240 (___Q_simulate_exceptions): Use real FP ops rather than writing
34242 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34245 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34248 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34249 * sysdeps/x86/bits/xtitypes.h: This.
34251 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34252 * sysdeps/x86/bits/wordsize.h: This.
34254 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34255 * sysdeps/x86/bits/huge_vall.h: This.
34257 * sysdeps/i386/bits/select.h: Removed.
34258 * sysdeps/x86_64/bits/select.h: Renamed to ...
34259 * sysdeps/x86/bits/select.h: This.
34261 * sysdeps/i386/bits/setjmp.h: Removed.
34262 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34263 * sysdeps/x86/bits/setjmp.h: This.
34265 * sysdeps/i386/bits/mathdef.h: Removed.
34266 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34267 * sysdeps/x86/bits/mathdef.h: This.
34269 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34272 * include/sys/socket.h (__connect_internal)
34273 (__libc_sa_len_internal): Remove declaration.
34274 (__connect, __libc_sa_len): Declare hidden_proto.
34275 (SA_LEN): Remove use of INTUSE.
34276 * socket/connect.c: Add libc_hidden_def.
34277 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34278 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34279 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34281 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34282 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34283 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34284 of adding _internal alias.
34286 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34289 * sysdeps/i386/bits/link.h: Removed.
34290 * sysdeps/i386/bits/linkmap.h: Likewise.
34291 * sysdeps/x86_64/bits/link.h: Renamed to ...
34292 * sysdeps/x86/bits/link.h: This.
34293 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34294 * sysdeps/x86/bits/linkmap.h: This.
34296 * sysdeps/i386/bits/endian.h: Removed.
34297 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34298 * sysdeps/x86/bits/endian.h: This.
34300 * sysdeps/i386/bits/byteswap.h: Removed.
34301 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34302 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34303 * sysdeps/x86/bits/byteswap.h: This.
34304 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34305 * sysdeps/x86/bits/byteswap-16.h: This.
34306 * sysdeps/i386/Implies: Add x86.
34307 * sysdeps/x86_64/Implies: Likewise.
34309 2012-05-30 David S. Miller <davem@davemloft.net>
34311 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34312 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34314 (FP_TRAPPING_EXCEPTIONS): Define.
34315 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34316 (FP_TRAPPING_EXCEPTIONS): Define.
34317 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34318 subnormals only when inexact has been signalled or underflow
34319 exceptions are enabled.
34320 (_FP_PACK_CANONICAL): Likewise.
34322 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34326 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34328 2012-05-30 Richard Henderson <rth@twiddle.net>
34330 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34331 with #ifndef NOT_IN_libc.
34333 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34334 marked to avoid plt entry.
34336 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34339 * Makeconfig (default-abi): New macro.
34340 (abi-includes): Likewise.
34341 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34342 $(abi-$(default-abi)-lib-soname) for soname if defined.
34343 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34345 * Makefile (installed-stubs): Likewise.
34346 * include/stubs-biarch.h: Removed.
34347 * scripts/lib-names.awk: Only handle one library at a time.
34348 * scripts/soversions.awk: Remove WORDSIZE support.
34349 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34351 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34353 (syscall-list-default-condition): Likewise.
34354 (syscall-list-default-condition): Likewise.
34355 (syscall-list-includes): Likewise.
34356 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34357 syscall-list-* with abi-*. Handle undefined abi-variants.
34358 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34359 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34360 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34361 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34362 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34363 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34365 (syscall-list-32-options): Likewise.
34366 (syscall-list-32-condition): Likewise.
34367 (syscall-list-64-options): Likewise.
34368 (syscall-list-64-condition): Likewise.
34369 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34371 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34374 (abi-64-ld-soname): New macro.
34375 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34376 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34379 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34380 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34382 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34384 * sysdeps/unix/sysv/linux/kernel-features.h
34385 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34386 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34387 include <kernel-features.h>.
34388 [!__NR_ftruncate64]: Remove conditional code.
34389 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34390 [__NR_ftruncate64]: Make code unconditional.
34391 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34392 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34393 include <kernel-features.h>.
34394 [!__NR_ftruncate64]: Remove conditional code.
34395 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34396 [__NR_ftruncate64]: Make code unconditional.
34397 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34399 include <kernel-features.h>.
34400 [!__NR_ftruncate64]: Remove conditional code.
34401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34402 [__NR_ftruncate64]: Make code unconditional.
34403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34405 include <kernel-features.h>.
34406 [!__NR_ftruncate64]: Remove conditional code.
34407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34408 [__NR_ftruncate64]: Make code unconditional.
34409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34411 * configure.in (libc_cv_fpie): Weaken to a compile test using
34412 LIBC_TRY_CC_OPTION.
34413 * configure: Regenerated.
34415 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34430 2012-05-27 David S. Miller <davem@davemloft.net>
34432 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34434 (__Q_simulate_exceptions): Return void. Change to simulate
34435 exceptions by writing into the %fsr.
34436 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34437 (__Qp_handle_exceptions): Likewise.
34439 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34440 __Qp_handle_exceptions.
34441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34442 __Qp_handle_exceptions.
34443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34444 as unused and give dummy FP_RND_NEAREST initializer.
34445 (FP_INHIBIT_RESULTS): Define.
34446 (___Q_simulate_exceptions): Update declaration.
34447 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34449 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34450 as unused and give dummy FP_RND_NEAREST initializer.
34451 (__Qp_handle_exceptions): Update declaration.
34452 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34455 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34457 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34458 the temporary FPU control word.
34459 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34460 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34461 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34462 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34463 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34464 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34465 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34466 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34467 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34468 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34469 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34471 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34473 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34476 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34478 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34479 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34480 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34481 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34483 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34484 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34487 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34489 * po/h.po: Update from translation team.
34491 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34493 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34495 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34496 handling of denormals.
34497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34498 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34499 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34500 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34506 2012-05-26 Marek Polacek <polacek@redhat.com>
34509 * math/libm-test.inc (fma_test): Don't always expect underflow
34512 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34515 * elf/tst-execstack.c: Include stackinfo.h.
34516 (do_test): Adjust test case to ensure that pthread_getattr_np
34517 behaviour remains the same after marking stack executable.
34519 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34521 * sysdeps/unix/sysv/linux/kernel-features.h
34522 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34523 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34525 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34526 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34527 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34529 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34530 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34532 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34534 * configure.in: Define the default includes to being none.
34535 * configure: Regenerated.
34537 2012-05-25 Roland McGrath <roland@hack.frob.com>
34539 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34540 * sysdeps/x86_64/setjmp.S: Likewise.
34541 * sysdeps/i386/bsd-setjmp.S: Likewise.
34542 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34543 * sysdeps/i386/setjmp.S: Likewise.
34544 * sysdeps/i386/__longjmp.S: Likewise.
34545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34546 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34548 * include/stap-probe.h: New file.
34549 * configure.in: Handle --enable-systemtap.
34550 * configure: Regenerated.
34551 * config.h.in (USE_STAP_PROBE): New #undef.
34552 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34553 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34554 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34556 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34560 to 2.4.0 where earlier.
34561 * sysdeps/unix/sysv/linux/configure: Regenerated.
34562 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34563 <kernel-features.h>.
34564 [__ASSUME_32BITUIDS]: Make code unconditional.
34565 [!__ASSUME_32BITUIDS]: Remove conditional code.
34566 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34567 <kernel-features.h>.
34568 [__ASSUME_32BITUIDS]: Make code unconditional.
34569 [!__ASSUME_32BITUIDS]: Remove conditional code.
34570 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34571 [__ASSUME_32BITUIDS]: Make code unconditional.
34572 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34573 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34574 <kernel-features.h>.
34575 [__ASSUME_32BITUIDS]: Make code unconditional.
34576 [!__ASSUME_32BITUIDS]: Remove conditional code.
34577 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34578 <kernel-features.h>.
34579 [__ASSUME_32BITUIDS]: Make code unconditional.
34580 [!__ASSUME_32BITUIDS]: Remove conditional code.
34581 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34582 <kernel-features.h>.
34583 [__ASSUME_32BITUIDS]: Make code unconditional.
34584 [!__ASSUME_32BITUIDS]: Remove conditional code.
34585 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34586 <kernel-features.h>.
34587 [__ASSUME_32BITUIDS]: Make code unconditional.
34588 [!__ASSUME_32BITUIDS]: Remove conditional code.
34589 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34590 <kernel-features.h>.
34591 [__ASSUME_32BITUIDS]: Make code unconditional.
34592 [!__ASSUME_32BITUIDS]: Remove conditional code.
34593 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34594 <kernel-features.h>.
34595 [__ASSUME_32BITUIDS]: Make code unconditional.
34596 [!__ASSUME_32BITUIDS]: Remove conditional code.
34597 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34598 <kernel-features.h>.
34599 [__ASSUME_32BITUIDS]: Make code unconditional.
34600 [!__ASSUME_32BITUIDS]: Remove conditional code.
34601 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34602 <kernel-features.h>.
34603 [__ASSUME_32BITUIDS]: Make code unconditional.
34604 [!__ASSUME_32BITUIDS]: Remove conditional code.
34605 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34606 <kernel-features.h>.
34607 [__ASSUME_32BITUIDS]: Make code unconditional.
34608 [!__ASSUME_32BITUIDS]: Remove conditional code.
34609 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34610 <kernel-features.h>.
34611 [__ASSUME_32BITUIDS]: Make code unconditional.
34612 [!__ASSUME_32BITUIDS]: Remove conditional code.
34613 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34614 <kernel-features.h>.
34615 [__NR_setresgid] (__setresgid): Do not declare.
34616 [__ASSUME_32BITUIDS]: Make code unconditional.
34617 [!__ASSUME_32BITUIDS]: Remove conditional code.
34618 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34619 <kernel-features.h>.
34620 [__NR_setresuid] (__setresuid): Do not declare.
34621 [__ASSUME_32BITUIDS]: Make code unconditional.
34622 [!__ASSUME_32BITUIDS]: Remove conditional code.
34623 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34624 <kernel-features.h>.
34625 [__ASSUME_32BITUIDS]: Make code unconditional.
34626 [!__ASSUME_32BITUIDS]: Remove conditional code.
34627 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34628 <kernel-features.h>.
34629 [__ASSUME_32BITUIDS]: Make code unconditional.
34630 [!__ASSUME_32BITUIDS]: Remove conditional code.
34631 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34632 <kernel-features.h>.
34633 [__ASSUME_32BITUIDS]: Make code unconditional.
34634 [!__ASSUME_32BITUIDS]: Remove conditional code.
34635 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34636 <kernel-features.h>.
34637 [__ASSUME_32BITUIDS]: Make code unconditional.
34638 [!__ASSUME_32BITUIDS]: Remove conditional code.
34639 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34640 <kernel-features.h>.
34641 [__ASSUME_32BITUIDS]: Make code unconditional.
34642 [!__ASSUME_32BITUIDS]: Remove conditional code.
34643 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34644 <kernel-features.h>.
34645 [__ASSUME_32BITUIDS]: Make code unconditional.
34646 [!__ASSUME_32BITUIDS]: Remove conditional code.
34647 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34648 <kernel-features.h>.
34649 [__ASSUME_32BITUIDS]: Make code unconditional.
34650 [!__ASSUME_32BITUIDS]: Remove conditional code.
34651 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34652 <kernel-features.h>.
34653 [__ASSUME_32BITUIDS]: Make code unconditional.
34654 [!__ASSUME_32BITUIDS]: Remove conditional code.
34655 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34656 <kernel-features.h>.
34657 [__ASSUME_32BITUIDS]: Make code unconditional.
34658 [!__ASSUME_32BITUIDS]: Remove conditional code.
34659 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34660 <kernel-features.h>.
34661 [__ASSUME_32BITUIDS]: Make code unconditional.
34662 [!__ASSUME_32BITUIDS]: Remove conditional code.
34663 * sysdeps/unix/sysv/linux/kernel-features.h
34664 (__ASSUME_SETRESUID_SYSCALL): Remove.
34665 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34666 (__ASSUME_32BITUIDS): Likewise.
34667 (__ASSUME_LDT_WORKS): Likewise.
34668 (__ASSUME_O_DIRECTORY): Likewise.
34669 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34670 architecture but not kernel version.
34671 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34672 (__ASSUME_MMAP2_SYSCALL): Likewise.
34673 (__ASSUME_STAT64_SYSCALL): Likewise.
34674 (__ASSUME_IPC64): Likewise.
34675 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34676 <kernel-features.h>.
34677 [__ASSUME_32BITUIDS]: Make code unconditional.
34678 [!__ASSUME_32BITUIDS]: Remove conditional code.
34679 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34680 <kernel-features.h>.
34681 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34682 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34683 132096]: Remove conditional code.
34684 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34685 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34686 <kernel-features.h>.
34687 [__ASSUME_32BITUIDS]: Make code unconditional.
34688 [!__ASSUME_32BITUIDS]: Remove conditional code.
34689 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34690 <kernel-features.h>.
34691 [__ASSUME_32BITUIDS]: Make code unconditional.
34692 [!__ASSUME_32BITUIDS]: Remove conditional code.
34693 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34694 <kernel-features.h>.
34695 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34697 (__setresgid): Do not declare.
34698 [__ASSUME_32BITUIDS]: Make code unconditional.
34699 [!__ASSUME_32BITUIDS]: Remove conditional code.
34700 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34701 <kernel-features.h>.
34702 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34704 (__setresuid): Do not declare.
34705 [__ASSUME_32BITUIDS]: Make code unconditional.
34706 [!__ASSUME_32BITUIDS]: Remove conditional code.
34707 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34708 <kernel-features.h>.
34709 [__ASSUME_32BITUIDS]: Make code unconditional.
34710 [!__ASSUME_32BITUIDS]: Remove conditional code.
34711 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34712 <kernel-features.h>.
34713 [__ASSUME_32BITUIDS]: Make code unconditional.
34714 [!__ASSUME_32BITUIDS]: Remove conditional code.
34716 2012-05-25 Richard Henderson <rth@twiddle.net>
34718 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34719 dl_hwcap to ifunc resolver.
34720 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34722 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34723 dl_hwcap to ifunc resolver.
34724 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34726 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34729 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34730 for |x| <= 2**-26, not 2**-57.
34731 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34734 2012-05-24 Jeff Law <law@redhat.com>
34736 * stdio-common/Makefile (tests): Add bug25.
34737 * stdio-common/bug25.c: New test.
34739 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34742 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34743 multiple of MALLOC_ALIGNMENT in size.
34744 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34746 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34748 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34750 (FILENAME_MAX): Use macro-int-constant.
34751 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34752 (_IOFBF): Use macro-int-constant.
34753 (_IOLBF): Likewise.
34754 (_IONBF): Likewise.
34755 (SEEK_CUR): Likewise.
34756 (SEEK_END): Likewise.
34757 (SEEK_SET): Likewise.
34758 (TMP_MAX): Likewise.
34759 (EOF): Use macro-int-constant. Require < 0.
34760 (NULL): Use macro-constant. Require == 0.
34761 (stdin): Require type to be FILE *.
34762 (stdout): Likewise.
34763 (stderr): Likewise.
34764 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34765 macro-int-constant.
34766 (EXIT_SUCCESS): Likewise.
34767 (NULL): Use macro-constant. Require == 0.
34768 (RAND_MAX): Use macro-int-constant.
34769 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34770 [C99-based standards] (strtof): Require function.
34771 [C99-based standards] (strtold): Likewise.
34772 [C99-based standards] (strtoll): Likewise.
34773 [C99-based standards] (strtoull): Likewise.
34774 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34775 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34776 [ISO || ISO99 || ISO11] (math.h): Likewise.
34777 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34778 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34781 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34784 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34785 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34786 * intl/dgettext.c (DCGETTEXT): Likewise.
34787 * intl/gettext.c (DCGETTEXT): Likewise.
34788 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34789 * posix/regex_internal.h (gettext): Likewise.
34790 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34791 Remove declaration.
34792 * include/argz.h (__argz_count_internal)
34793 (__argz_stringify_internal): Remove declaration.
34794 (__argz_count, __argz_stringify): Declare hidden proto.
34795 * intl/dcgettext.c: Remove use of INTDEF.
34796 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34797 * string/argz-stringify.c: Likewise.
34798 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34799 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34800 Declare hidden proto.
34801 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34802 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34803 Declare hidden proto.
34804 * include/stdio.h (__asprintf_internal): Don't declare.
34805 (__asprintf): Don't define as macro. Declare hidden proto.
34806 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34807 (__fsetlocking): Declare hidden proto.
34808 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34809 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34811 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34812 (_IO_setlinebuf): Remove use of INTUSE.
34813 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34814 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34815 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34816 Remove declaration.
34817 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34818 (_IO_do_flush): Remove use of INTUSE.
34819 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34820 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34821 (_IO_adjust_column, _IO_least_wmarker)
34822 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34823 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34824 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34825 (_IO_default_doallocate, _IO_wdefault_doallocate)
34826 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34827 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34828 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34829 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34830 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34831 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34832 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34833 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34834 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34835 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34836 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34837 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34838 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34840 (_IO_flush_all_internal, _IO_adjust_column_internal)
34841 (_IO_default_uflow_internal, _IO_default_finish_internal)
34842 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34843 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34844 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34845 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34846 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34847 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34848 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34849 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34850 (_IO_file_close_internal, _IO_file_close_it_internal)
34851 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34852 (_IO_file_init_internal, _IO_file_attach_internal)
34853 (_IO_file_fopen_internal, _IO_file_read_internal)
34854 (_IO_file_sync_internal, _IO_file_seek_internal)
34855 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34856 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34857 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34858 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34859 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34860 (_IO_list_all_internal, _IO_link_in_internal)
34861 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34862 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34863 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34864 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34865 (_IO_do_write_internal, _IO_padn_internal)
34866 (_IO_getline_info_internal, _IO_getline_internal)
34867 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34868 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34869 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34870 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34871 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34872 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34873 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34874 with libc_hidden_ver, remove use of INTUSE.
34875 * libio/genops.c: Likewise.
34876 * libio/freopen.c: Likewise.
34877 * libio/freopen64.c: Likewise.
34878 * libio/iofclose.c: Likewise.
34879 * libio/iofdopen.c: Likewise.
34880 * libio/iofflush.c: Likewise.
34881 * libio/iofflush_u.c: Likewise.
34882 * libio/iofgets.c: Likewise.
34883 * libio/iofgets_u.c: Likewise.
34884 * libio/iofopen.c: Likewise.
34885 * libio/iofopncook.c: Likewise.
34886 * libio/iofread.c: Likewise.
34887 * libio/iofread_u.c: Likewise.
34888 * libio/ioftell.c: Likewise.
34889 * libio/iofwrite.c: Likewise.
34890 * libio/iogetline.c: Likewise.
34891 * libio/iogets.c: Likewise.
34892 * libio/iogetwline.c: Likewise.
34893 * libio/iopadn.c: Likewise.
34894 * libio/iopopen.c: Likewise.
34895 * libio/ioseekoff.c: Likewise.
34896 * libio/ioseekpos.c: Likewise.
34897 * libio/iosetbuffer.c: Likewise.
34898 * libio/iosetvbuf.c: Likewise.
34899 * libio/ioungetc.c: Likewise.
34900 * libio/ioungetwc.c: Likewise.
34901 * libio/iovdprintf.c: Likewise.
34902 * libio/iovsprintf.c: Likewise.
34903 * libio/iovsscanf.c: Likewise.
34904 * libio/memstream.c: Likewise.
34905 * libio/obprintf.c: Likewise.
34906 * libio/oldfileops.c: Likewise.
34907 * libio/oldiofclose.c: Likewise.
34908 * libio/oldiofdopen.c: Likewise.
34909 * libio/oldiofopen.c: Likewise.
34910 * libio/oldiopopen.c: Likewise.
34911 * libio/oldstdfiles.c: Likewise.
34912 * libio/putc.c: Likewise.
34913 * libio/setbuf.c: Likewise.
34914 * libio/setlinebuf.c: Likewise.
34915 * libio/stdfiles.c: Likewise.
34916 * libio/strops.c: Likewise.
34917 * libio/vasprintf.c: Likewise.
34918 * libio/vscanf.c: Likewise.
34919 * libio/vsnprintf.c: Likewise.
34920 * libio/vswprintf.c: Likewise.
34921 * libio/wfiledoalloc.c: Likewise.
34922 * libio/wfileops.c: Likewise.
34923 * libio/wgenops.c: Likewise.
34924 * libio/wmemstream.c: Likewise.
34925 * libio/wstrops.c: Likewise.
34926 * libio/__fpurge.c: Likewise.
34927 * libio/__fsetlocking.c: Likewise.
34928 * assert/assert.c: Likewise.
34929 * debug/fgets_chk.c: Likewise.
34930 * debug/fgets_u_chk.c: Likewise.
34931 * debug/fread_chk.c: Likewise.
34932 * debug/fread_u_chk.c: Likewise.
34933 * debug/gets_chk.c: Likewise.
34934 * debug/obprintf_chk.c: Likewise.
34935 * debug/vasprintf_chk.c: Likewise.
34936 * debug/vdprintf_chk.c: Likewise.
34937 * debug/vsnprintf_chk.c: Likewise.
34938 * debug/vsprintf_chk.c: Likewise.
34939 * malloc/mtrace.c: Likewise.
34940 * misc/error.c: Likewise.
34941 * misc/syslog.c: Likewise.
34942 * stdio-common/asprintf.c: Likewise.
34943 * stdio-common/fxprintf.c: Likewise.
34944 * stdio-common/getw.c: Likewise.
34945 * stdio-common/isoc99_fscanf.c: Likewise.
34946 * stdio-common/isoc99_scanf.c: Likewise.
34947 * stdio-common/isoc99_vfscanf.c: Likewise.
34948 * stdio-common/isoc99_vscanf.c: Likewise.
34949 * stdio-common/isoc99_vsscanf.c: Likewise.
34950 * stdio-common/printf-prs.c: Likewise.
34951 * stdio-common/printf_fp.c: Likewise.
34952 * stdio-common/printf_fphex.c: Likewise.
34953 * stdio-common/printf_size.c: Likewise.
34954 * stdio-common/putw.c: Likewise.
34955 * stdio-common/scanf.c: Likewise.
34956 * stdio-common/sprintf.c: Likewise.
34957 * stdio-common/tmpfile.c: Likewise.
34958 * stdio-common/vfprintf.c: Likewise.
34959 * stdio-common/vfscanf.c: Likewise.
34960 * stdlib/strfmon_l.c: Likewise.
34961 * sunrpc/openchild.c: Likewise.
34962 * sunrpc/xdr_stdio.c: Likewise.
34963 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34964 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34966 2012-05-24 Roland McGrath <roland@hack.frob.com>
34968 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34970 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34971 in the third column, to generate for the shared library an IFUNC
34972 that uses _dl_vdso_vsym.
34973 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34974 * Makeconfig (object-suffixes-noshared): New variable.
34976 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34977 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34978 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34979 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34982 * include/sys/time.h (__gettimeofday): Remove macro.
34983 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34984 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34986 (__gettimeofday): Add libc_hidden_def.
34987 (gettimeofday): Add libc_hidden_weak.
34988 * sysdeps/mach/gettimeofday.c: Likewise.
34989 * sysdeps/posix/gettimeofday.c: Likewise.
34990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34991 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34993 (__gettimeofday_internal): Remove strong_alias.
34994 (__gettimeofday): Add libc_hidden_def.
34995 (gettimeofday): Add libc_hidden_weak.
34996 * sysdeps/unix/syscalls.list (gettimeofday):
34997 Remove __gettimeofday_internal alias.
34999 2012-05-24 Daniel Jacobowitz <drow@false.org>
35000 H.J. Lu <hongjiu.lu@intel.com>
35003 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35004 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35005 (largebin_index_32_big): New.
35006 (largebin_index): Use it for 16-byte alignment.
35007 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35008 correction with front_misalign.
35010 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35038 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35039 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35041 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35045 * math/libm-test.inc (exp_test): Add test from bug 14036.
35046 (pow_test): Add test from bug 10846.
35048 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35050 (special_function): Do not include flags in test name.
35051 (parse_args): Likewise.
35052 * sysdeps/i386/fpu/libm-test-ulps: Update.
35053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35054 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35055 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35058 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35060 * math/libm-test.inc ("Philosophy"): Update comment about
35062 (UNDERFLOW_EXCEPTION): New macro.
35063 (UNDERFLOW_EXCEPTION_OK): Likewise.
35064 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35065 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35066 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35067 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35068 (INVALID_EXCEPTION_OK): Update value.
35069 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35070 (OVERFLOW_EXCEPTION_OK): Likewise.
35071 (IGNORE_ZERO_INF_SIGN): Likewise.
35072 (test_exceptions): Handle underflow exceptions.
35073 (acos_test): Update for underflow exception expectations.
35074 (cexp_test): Likewise.
35075 (clog_test): Likewise.
35076 (clog10_test): Likewise.
35077 (csqrt_test): Likewise.
35078 (ctan_test): Likewise.
35079 (ctanh_test): Likewise.
35080 (exp_test): Likewise.
35081 (exp10_test): Likewise.
35082 (exp2_test): Likewise.
35083 (expm1_test): Likewise.
35084 (fma_test): Likewise.
35085 (j0_test): Likewise.
35086 (jn_test): Likewise.
35087 (nexttoward_test): Likewise.
35088 (pow_test): Likewise.
35089 (scalbn_test): Likewise.
35090 (scalbln_test): Likewise.
35091 (tan_test): Likewise.
35092 (y1_test): Likewise.
35093 * sysdeps/i386/fpu/libm-test-ulps: Update.
35094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35096 2012-05-23 David S. Miller <davem@davemloft.net>
35098 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35099 (__libc_sigaction): Remove unused local variables.
35101 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35103 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35105 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35107 mktime: avoid signed integer overflow
35108 * time/mktime.c (__mktime_internal): Do not mishandle the case
35109 where diff == INT_MIN.
35111 mktime: simplify computation of average
35112 * time/mktime.c (ranged_convert): Use new time_t_avg function
35113 instead of rolling our own (probably-slower) code.
35115 mktime: do not assume signed right shift propagates sign bit
35116 * time/mktime.c (isdst_differ): New static function.
35117 (__mktime_internal): No need to normalize tm_isdst now.
35118 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35121 mktime: merge another wrapv change from gnulib
35122 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35123 from some compilers.
35125 mktime: remove incorrect attempt at unusual arithmetics
35126 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35127 The code didn't really work on such machines anyway.
35128 (TYPE_MINIMUM): Assume two's complement.
35129 (twos_complement_arithmetic): Verify that long_int and time_t
35130 are two's complement (or unsigned, in the latter case).
35132 mktime: check signed shifts on long_int and time_t, too
35133 * time/mktime.c (SHR): Check that shifts work as desired
35134 on the types long_int and time_t too, as SHR is used on
35137 mktime: do not assume 'long' is wide enough
35138 * time/mktime.c (verify): Move decl up.
35139 (long_int): New type.
35140 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35141 to remove assumption in the code that 'long' is wide enough to
35142 store year values. This assumption is not true on x32 and on
35143 some non-glibc platforms.
35145 mktime: merge wrapv change from gnulib
35146 * time/mktime.c (WRAPV): New macro.
35147 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35148 (guess_time_tm, __mktime_internal): Do not assume that signed
35149 integer overflow wraps around; modern compilers generate code
35150 where this assumption is no longer valid.
35152 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35154 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35155 Replace "jmp L(pseudo_end)" with "ret".
35156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35159 2012-05-23 Andreas Jaeger <aj@suse.de>
35161 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35162 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35164 2012-05-23 Andreas Jaeger <aj@suse.de>
35165 Maximilian Attems <max@stro.at>
35167 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35170 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35172 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35173 code so that pseudo_end is just ret and the stack pointer is
35174 correct also for static library in error case.
35176 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35178 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35179 move to syscalls.list.
35180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35185 * manual/install.texi (Running make install): Do not mention Linux
35186 kernel version for which pt_chown is not needed.
35187 (Linux): Do not mention problems with nscd with 2.0 kernels.
35188 * INSTALL: Regenerated.
35190 2012-05-23 Andreas Jaeger <aj@suse.de>
35192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35193 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35195 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35196 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35197 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35198 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35199 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35200 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35202 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35205 * sysdeps/unix/sysv/linux/bits/in.h
35206 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35208 2012-05-22 Roland McGrath <roland@hack.frob.com>
35210 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35211 (PREPARE_VERSION): Just use assert instead, it will be elided
35212 under [NDEBUG] anyway.
35214 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35216 * sysdeps/unix/sysv/linux/Makefile: Include
35217 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35218 (sysdep_routines): Remove sysctl.
35219 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35220 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35221 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35222 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35223 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35225 2012-05-22 Andreas Jaeger <aj@suse.de>
35227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35228 that pseudo_end is just ret and the stack pointer is correct also
35229 for static library in error case.
35231 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35234 * nss/nsswitch.c (defconfig_entries): New variable.
35235 (__nss_database_lookup): Don't leak defconfig entries.
35236 (nss_parse_service_list): Don't leak on error paths.
35237 (free_database_entries): New function.
35238 (free_defconfig): New function.
35239 (free_mem): Move common code to free_database_entries.
35241 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35243 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35245 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35247 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35248 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35251 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35252 (INTERNAL_SYSCALL_TYPES): Likewise.
35253 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35254 (LOAD_REGS_TYPES_[1-6]): Likewise.
35255 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35256 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35258 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35261 copysignl for GLIBC_2_0.
35262 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35263 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35265 logbl for GLIBC_2_0.
35266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35267 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35269 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35272 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35274 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35277 * time/mktime.c: Update copyright years.
35279 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35281 mktime: merge comment-quoting-style change from gnulib
35282 * time/mktime.c: Quote 'like this' in comments.
35283 The GNU coding standards suggest that we no longer quote `like this',
35284 as "`" and "'" are typically rendered asymmetrically nowadays.
35285 The typical gnulib style is to quote 'like this' when quoting
35286 code, and "like this" when quoting English.
35288 * time/mktime.c (compile-command): Add "-I.".
35290 mktime: merge mktime-internal.h change from gnulib
35291 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35293 mktime: merge time_r change from gnulib
35294 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35296 mktime: merge DEBUG change from gnulib
35297 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35298 case system <time.h> has a #define.
35300 mktime: merge <sys/types.h> change from gnulib
35301 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35302 since <time.t> is now guaranteed to define time_t.
35304 mktime: merge HAVE_CONFIG_H change from gnulib
35305 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35307 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35314 (struct rusage): Use anonymous union to pad each field to
35317 2012-05-21 David S. Miller <davem@davemloft.net>
35319 * Makefules (o-iterator): Remove .s cases.
35320 (compile-command.s): Delete.
35321 (COMPILE.s): Delete.
35322 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35324 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35326 * configure.in (libc_cv_predef_stack_protector): Only consider
35327 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35328 * configure: Regenerated.
35330 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35333 New macro. Use R*LP on int and pointer.
35334 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35335 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35336 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35337 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35339 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35340 [__WORDSIZE_TIME64_COMPAT32] instead of
35341 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35342 (struct utmp): Likewise.
35343 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35344 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35346 (__WORDSIZE_TIME64_COMPAT32): This.
35347 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35348 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35349 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35350 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35351 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35352 (__WORDSIZE_TIME64_COMPAT32): New macro.
35354 2012-05-21 Andreas Jaeger <aj@suse.de>
35356 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35357 only if [SHARED]. Add prototype for __wcschr_ia32.
35359 2012-05-21 Roland McGrath <roland@hack.frob.com>
35361 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35362 of %rbp unmolested in the jmp_buf while mangling the low bits.
35363 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35364 unmolested high bits of %rbp while demangling the low bits.
35365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35367 2012-05-21 Andreas Jaeger <aj@suse.de>
35369 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35370 * sunrpc/svc_simple.c: Use it for registerrpc.
35371 * sunrpc/xcrypt.c: Use it for passwd2des.
35373 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35375 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35377 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35378 Don't define if [__SYSCALL_WORDSIZE != 32].
35379 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35382 2012-05-21 Bruno Haible <bruno@clisp.org>
35383 Andreas Jaeger <aj@suse.de>
35385 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35386 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35387 inptr and inend for must_buffer_ch.
35388 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35389 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35390 * stdio-common/Makefile (tests): Remove bug15.
35391 (bug15-ENV): Remove macro.
35392 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35395 2012-05-19 Andreas Jaeger <aj@suse.de>
35396 Roland McGrath <roland@hack.frob.com>
35398 * manual/contrib.texi: Completely rewritten. It contains now an
35399 alphabetical list of contributors and their contributions.
35401 2012-05-21 Richard Henderson <rth@twiddle.net>
35403 * misc/getauxval.c (__getauxval): Use unsigned long int.
35404 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35405 (getauxval): Use unsigned long int.
35407 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35409 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35411 2012-05-21 Roland McGrath <roland@hack.frob.com>
35413 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35414 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35415 __alignof__ (long double).
35417 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35421 2012-05-20 Richard Henderson <rth@twiddle.net>
35423 * misc/getauxval.c: New file.
35424 * misc/sys/auxv.h: New file.
35425 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35426 (routines): Add getauxval.
35427 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35428 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35429 * elf/dl-sysdep.c (_dl_auxv): Remove.
35430 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35431 * elf/dl-support.c (_dl_auxv): New variable.
35432 (_dl_aux_init): Initialize it.
35433 * manual/startup.texi (Auxiliary Vector): New node.
35434 * sysdeps/generic/bits/hwcap.h: New file.
35435 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35436 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35437 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35438 * sysdeps/sparc/sysdep.h: ... here. Include it.
35439 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35452 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35456 2012-05-19 David S. Miller <davem@davemloft.net>
35458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35460 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35463 * math/s_ccosh.c: Include <float.h>
35464 (__ccosh): Avoid internal overflow calculating sinh and cosh
35465 values before multiplying by sin and cos values.
35466 * math/s_ccoshf.c: Likewise.
35467 * math/s_ccoshl.c: Likewise.
35468 * math/s_csin.c: Likewise.
35469 * math/s_csinf.c: Likewise.
35470 * math/s_csinl.c: Likewise.
35471 * math/s_csinh.c: Likewise.
35472 * math/s_csinhf.c: Likewise.
35473 * math/s_csinhl.c: Likewise.
35474 * math/libm-test.inc (ccos_test): Add more tests.
35475 (ccosh_test): Likewise.
35476 (csin_test): Likewise.
35477 (csinh_test): Likewise.
35478 * sysdeps/i386/fpu/libm-test-ulps: Update.
35479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35481 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35483 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35484 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35486 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35488 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35490 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35491 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35492 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35493 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35494 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35495 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35496 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35497 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35498 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35499 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35500 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35501 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35502 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35503 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35504 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35505 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35506 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35507 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35508 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35509 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35510 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35511 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35512 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35513 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35514 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35515 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35516 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35517 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35518 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35519 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35520 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35522 2012-05-18 Andreas Jaeger <aj@suse.de>
35524 * csu/.gitignore: Delete.
35526 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35528 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35529 (timex): Use __syscall_slong_t.
35531 2012-05-18 Andreas Jaeger <aj@suse.de>
35532 Carlos O'Donell <carlos_odonell@mentor.com>
35534 * manual/install.texi (Configuring and compiling): Update
35535 description about files modified in the source directory.
35536 * INSTALL: Regenerated.
35538 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35540 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35541 value. Use "or" to set return value to -1.
35542 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35543 negate return value.
35545 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35547 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35548 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35549 failure if the compiler has Graphite support disabled.
35550 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35552 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35553 (CFLAGS-memmove.c): Likewise.
35554 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35557 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35559 * sysdeps/x86_64/x32/_itoa.h: New file.
35561 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35562 getdents system call only if kernel and user dirents have the
35563 same d_ino and d_off.
35565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35566 LLONG_MAX != LONG_MAX.
35567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35568 (_fitoa_word): Likewise.
35570 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35572 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35573 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35574 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35576 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35577 include <bits/wordsize.h>. Check __x86_64__ instead of
35579 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35580 if __x86_64__ is defined. Use anonymous union on fpstate.
35582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35585 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35587 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35588 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35589 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35590 Refer to _rtld_local_ro instead of _rtld_global_ro.
35591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35593 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35595 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35597 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35598 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35599 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35601 * sysdeps/powerpc/powerpc32/dl-machine.c
35602 (__elf_machine_runtime_setup) [PROF]: Don't reference
35605 2012-05-18 Andreas Jaeger <aj@suse.de>
35607 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35608 function only available for GCCs before 3.4 since GCC 3.4
35609 introduced a builtin.
35611 (llrintf): Likewise.
35612 (llrint): Likewise.
35619 (nearbyint): Likewise.
35620 (nearbyintf): Likewise.
35624 (floorf): Likewise.
35626 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35628 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35629 on both fields and cast pointer to __syscall_ulong_t.
35631 * bits/types.h (__fsword_t): New type.
35632 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35633 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35635 (__FSWORD_T_TYPE): Likewise.
35636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35637 (__FSWORD_T_TYPE): Likewise.
35638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35639 (__FSWORD_T_TYPE): Likewise.
35640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35641 (__FSWORD_T_TYPE): Likewise.
35642 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35643 __SWORD_TYPE with __fsword_t.
35644 (statfs64): Likewise.
35646 2012-05-17 David S. Miller <davem@davemloft.net>
35648 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35650 2012-05-17 Andreas Jaeger <aj@suse.de>
35652 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35655 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35657 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35659 2012-05-17 Andreas Jaeger <aj@suse.de>
35661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35664 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35666 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35668 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35670 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35671 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35673 2012-05-17 Andreas Jaeger <aj@suse.de>
35674 Carlos O'Donell <carlos_odonell@mentor.com>
35677 * sysdeps/x86_64/multiarch/init-arch.h
35678 (bit_YMM_Usable): Rename to...
35679 (bit_AVX_Usable): ... this.
35680 (bit_FMA4_Usable): New macro.
35681 (bit_XMM_state): New macro.
35682 (bit_YMM_state): New macro.
35683 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35684 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35685 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35686 (CPUID_OSXSAVE): New macro.
35687 (CPUID_AVX): New macro.
35688 (CPUID_FMA4): New macro.
35689 (index_YMM_Usable): Rename to...
35690 (index_AVX_Usable): ... this.
35691 (HAS_AVX): Use HAS_ARCH_FEATURE.
35692 (HAS_FMA4): Likewise.
35693 (HAS_YMM_USABLE): Remove.
35694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35695 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35697 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35698 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35699 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35700 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35701 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35703 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35705 * math/libm-test.c: Support platforms without multiple rounding modes.
35706 * math/bug-nextafter.c: Support platforms without FP exceptions.
35707 * math/bug-nexttoward.c: Likewise.
35708 * math/test-fenv.c: Likewise.
35709 * math/test-misc.c: Likewise.
35710 * stdlib/bug-getcontext.c: Likewise.
35712 2012-05-17 Andreas Jaeger <aj@suse.de>
35714 * manual/examples/search.c (critter_cmp): Change signature to
35716 * manual/string.texi (Collation Functions): Likewise.
35718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35720 * bits/types.h: Fold copyright years.
35721 * bits/typesizes.h: Likewise.
35722 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35726 * time/time.h: Likewise.
35728 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35731 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35732 in instead of returning them. Return void.
35733 (__libc_mallinfo): Accumulate over all arenas.
35734 (__malloc_stats): Adjust for change in int_mallinfo interface.
35736 2012-05-16 Roland McGrath <roland@hack.frob.com>
35739 * configure.in (NM): Add AC_CHECK_TOOL for it.
35740 (libc_extra_cflags): New substituted variable.
35741 Check for -fstack-protector being used implicitly.
35742 * configure: Regenerated.
35743 * config.make.in (config-extra-cflags): New variable,
35744 gets @libc_extra_cflags@.
35745 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35748 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35749 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35750 * configure: Regenerated.
35751 * config.make.in (CPPUNDEFS): New substituted variable.
35752 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35753 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35754 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35756 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35758 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35759 (mq_attr): Use __syscall_slong_t.
35761 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35763 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35764 Check __x86_64__ instead of __WORDSIZE.
35765 (_STAT_VER_LINUX): Likewise.
35766 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35767 __syscall_ulong_t and __syscall_slong_t.
35768 (stat64): Likewise.
35770 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35774 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35776 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35778 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35780 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35783 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35784 include <bits/wordsize.h>. Check __x86_64__ instead of
35786 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35788 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35791 include <bits/wordsize.h>. Check __x86_64__ instead of
35793 (user_regs_struct): Use "__extension__ unsigned long long"
35794 instead of "unsigned long" if __x86_64__ is defined.
35795 (user): Likewise. Pad after pointer field if __ILP32__ is
35798 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35800 * configure.in (makeinfo): Require version 4.5 or later. Allow
35802 * configure: Regenerated.
35803 * manual/install.texi (texinfo): Increase version requirement to
35805 * INSTALL: Regenerated.
35807 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35809 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35811 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35813 * sysdeps/x86_64/x32/ffs.c: New file.
35815 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35817 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35818 defined. Use __syscall_ulong_t.
35819 (shminfo): Use __syscall_ulong_t.
35820 (shm_info): Likewise.
35822 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35825 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35827 (msgqnum_t): Use __syscall_ulong_t.
35828 (msglen_t): Likewise.
35829 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35832 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35833 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35835 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35837 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35838 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35840 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35844 include <bits/wordsize.h>. Check __x86_64__ instead of
35847 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35848 "unsigned long long int" if __x86_64__ is defined.
35849 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35852 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35853 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35855 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35857 (GET_PC): Cast to uintptr_t first.
35858 (GET_FRAME): Likewise.
35859 (GET_STACK): Likewise.
35861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35867 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35868 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35869 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35870 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35871 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35874 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35875 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35876 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35877 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35878 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35879 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35881 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35882 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35883 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35884 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35885 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35886 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35889 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35891 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35893 * Makerules (+depfiles): Also collect depfiles from .oS in
35895 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35896 .oS, $(libnldbl-routines)).
35898 * Makerules (native-compile-mkdep-flags): Define.
35899 * sunrpc/Makefile (extra-objs): Add $(addprefix
35900 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35901 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35902 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35903 calling $(make-target-directory).
35905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35907 * bits/types.h (__snseconds_t): Removed.
35908 * time/time.h (struct timespec): Replace __snseconds_t with
35910 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35911 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35914 (__SNSECONDS_T_TYPE): Likewise.
35915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35916 (__SNSECONDS_T_TYPE): Likewise.
35917 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35918 (__SNSECONDS_T_TYPE): Likewise.
35920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35922 * sysdeps/mach/hurd/bits/typesizes.h
35923 (__SYSCALL_SLONG_TYPE): New macro.
35924 (__SYSCALL_ULONG_TYPE): Likewise.
35926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35928 * bits/types.h (__syscall_slong_t): New type.
35929 (__syscall_ulong_t): Likewise.
35931 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35932 (__SYSCALL_ULONG_TYPE): Likewise.
35933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35934 (__SYSCALL_SLONG_TYPE): Likewise.
35935 (__SYSCALL_ULONG_TYPE): Likewise.
35936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35937 (__SYSCALL_SLONG_TYPE): Likewise.
35938 (__SYSCALL_ULONG_TYPE): Likewise.
35939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35940 (__SYSCALL_SLONG_TYPE): Likewise.
35941 (__SYSCALL_ULONG_TYPE): Likewise.
35943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35945 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35946 Add sigaltstack-offsets.sym.
35947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35948 <sigaltstack-offsets.h>.
35949 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35950 longjmp_msg pointer.
35951 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35952 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35954 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35956 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35958 * elf/stackguard-macros.h: Remove file.
35959 * sysdeps/generic/stackguard-macros.h: New file.
35960 * sysdeps/i386/stackguard-macros.h: Likewise.
35961 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35962 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35963 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35964 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35965 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35966 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35967 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35968 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35969 <elf/stackguard-macros.h>.
35972 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35973 __aligned__ in attribute.
35974 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35975 (gregset_t): Likewise.
35977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35979 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35980 * sysdeps/x86_64/64/Implies-after: Here. New file.
35981 * sysdeps/x86_64/x32/Implies-after: New file.
35983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35986 and access return value for _dl_profile_fixup. Use R10_LP to
35989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35991 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35995 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35996 * sysdeps/x86_64/x32/sysdep.h: New file.
35998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36000 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36001 * sysdeps/x86_64/setjmp.S: Likewise.
36003 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36005 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36007 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36008 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36009 remove unused global constant.
36011 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36013 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36014 include of <not-cancel.h>.
36016 2012-05-15 Roland McGrath <roland@hack.frob.com>
36018 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36020 2012-05-15 Jeff Law <law@redhat.com>
36021 Andreas Jaeger <aj@suse.de>
36024 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36026 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36027 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36028 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36029 code changing __hst_map_handle.map.
36031 2012-05-15 Roland McGrath <roland@hack.frob.com>
36033 * configure.in (sysnames): Look for Implies-before and Implies-after
36035 * configure: Regenerated.
36037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36039 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36040 8-byte data alignment with LP_SIZE alignment.
36042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36044 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36049 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36053 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36054 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36055 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36057 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36061 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36062 (stackinfo_sub_sp): Likewise.
36064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36071 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36081 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36085 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36086 into R11_LP and load __x86_64_shared_cache_size_half into
36089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36091 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36094 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36103 powerpc32/power7/fpu/s_logb.c via #include.
36104 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36105 powerpc32/power7/fpu/s_logbf.c via #include.
36106 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36107 powerpc32/power7/fpu/s_logbl.c via #include.
36109 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36111 * README.libm: Remove file.
36113 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36115 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36116 count for x32. Use R*_LP and omit operand-size suffix.
36118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36120 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36121 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36122 * sysdeps/x86_64/x32/shlib-versions: New file.
36124 2012-05-14 Roland McGrath <roland@hack.frob.com>
36126 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36127 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36128 Use _dl_fatal_printf instead.
36130 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36132 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36133 set if not set by the user. Do not allow for being unset.
36134 * sysdeps/unix/sysv/linux/configure: Regenerated.
36136 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36138 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36139 the `q' suffix from lea and replace .quad with ASM_ADDR.
36141 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36144 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36146 (PTR_DEMANGLE): Likewise.
36148 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36150 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36152 (ASM_ADDR): Likewise.
36153 (RAX_LP): Likewise.
36154 (RBP_LP): Likewise.
36155 (RBX_LP): Likewise.
36156 (RCX_LP): Likewise.
36157 (RDI_LP): Likewise.
36158 (RSI_LP): Likewise.
36159 (RSP_LP): Likewise.
36162 (R10_LP): Likewise.
36163 (R10_LP): Likewise.
36164 (R11_LP): Likewise.
36165 (R12_LP): Likewise.
36166 (R13_LP): Likewise.
36167 (R14_LP): Likewise.
36168 (R15_LP): Likewise.
36170 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36172 * sysdeps/x86_64/x32/dl-machine.h: New file.
36174 2012-05-14 Andreas Jaeger <aj@suse.de>
36176 * manual/Makefile (subdir): Remove export of subdir.
36177 (all): Remove target.
36178 (.PHONY): Remove all from list.
36179 (mkinstalldirs): Remove.
36180 (.PHONY): Remove installdirs from list.
36181 ($(inst_infodir)/libc.info): Use make-target-directory.
36182 (installdirs): Remove.
36183 (subdir_%): Remove.
36184 (glibc-targets): Remove.
36187 ($(objpfx)stubs ../po/manual.pot): Remove.
36188 ($(objpfx)stamp%): Remove.
36189 (make-target-directory): Remove.
36190 (subdir_install): Remove.
36191 (routines): Remove.
36198 * manual/.gitignore: Remove, it's not needed anymore.
36199 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36201 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36203 (texis): Renamed to $(objpfx)texis.
36204 (texis-path): New, contains path to generated files.
36205 (chapters.%): Use texis-path for complete path, add extra argument
36207 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36208 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36209 (summary,texi, stamp-summary): Use complete path of
36210 files. Generate files in build dir.
36211 (dir-add.texi): Build in build dir.
36212 (libm-err.texi,stamp-libm-err): Likewise.
36213 (version.texi, stamp-version): Likewise.
36214 (.%c.texi): Likewise.
36215 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36216 (mostlyclean): Remove target.
36217 (realclean): Remove target.
36218 (generated): Add new variable with contents from mostlyclean and
36219 realclean, remove entries duplicated in common-mostlyclean, add
36220 stamp-libm-err and stamp-version.
36221 (generated-dirs): Add libc directory.
36222 ($(inst_infodir)/libc.info): Install files from build dir.
36224 * manual/install.texi (Configuring and compiling): Adjust since
36225 the info files are not part of the tar ball anymore.
36227 2012-05-14 Andreas Jaeger <aj@suse.de>
36229 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36232 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36235 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36236 to 2.2.0 where earlier.
36237 * sysdeps/unix/sysv/linux/configure: Regenerated.
36238 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36239 Remove conditional code.
36240 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36241 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36242 Remove conditional code.
36243 [!__NR_lchown]: Likewise.
36244 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36245 [__NR_lchown]: Likewise.
36246 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36247 comment referencing __ASSUME_LCHOWN_SYSCALL.
36248 * sysdeps/unix/sysv/linux/i386/sigaction.c
36249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36251 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36252 Remove conditional code.
36253 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36254 (__protocol_available): Remove #if 0 code.
36255 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36257 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36258 * sysdeps/unix/sysv/linux/kernel-features.h
36259 (__ASSUME_GETCWD_SYSCALL): Don't define.
36260 (__ASSUME_REALTIME_SIGNALS): Likewise.
36261 (__ASSUME_PREAD_SYSCALL): Likewise.
36262 (__ASSUME_PWRITE_SYSCALL): Likewise.
36263 (__ASSUME_POLL_SYSCALL): Likewise.
36264 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36265 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36267 (__ASSUME_SIOCGIFNAME): Don't define.
36268 (__ASSUME_MSG_NOSIGNAL): Likewise.
36269 (__ASSUME_SENDFILE): Define unconditionally.
36270 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36271 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36273 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36274 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36275 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36276 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36277 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36278 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36279 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36281 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36284 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36287 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36290 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36304 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36305 Remove conditional code.
36306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36307 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36308 Remove conditional code.
36309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36310 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36311 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36312 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36313 Remove conditional code.
36314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36315 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36316 Remove conditional code.
36317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36318 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36319 Remove conditional code.
36320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36321 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36322 Remove conditional code.
36323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36324 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36325 Remove conditional code.
36326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36327 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36330 * sysdeps/unix/sysv/linux/sigaction.c
36331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36333 * sysdeps/unix/sysv/linux/sigpending.c
36334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36336 * sysdeps/unix/sysv/linux/sigprocmask.c
36337 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36338 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36339 * sysdeps/unix/sysv/linux/sigsuspend.c
36340 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36341 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36342 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36343 (__libc_missing_rt_sigs): Remove.
36344 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36345 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36346 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36347 Remove conditional code.
36348 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36349 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36351 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36352 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36353 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36354 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36356 2012-05-14 Andreas Jaeger <aj@suse.de>
36358 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36359 it's not used in glibc.
36360 (__coshm1): Likewise.
36361 (__acosh1p): Likewise.
36364 * manual/string.texi (Copying and Concatenation): Add missing
36365 variable in concat example.
36366 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36372 __builtin_clzl with __builtin_clzll.
36374 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36377 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36380 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36382 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36383 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36384 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36385 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36387 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36389 * NEWS: Update ia64 info.
36391 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36393 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36396 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36398 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36399 * sysdeps/unix/syscalls.list (dup3): Likewise.
36400 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36401 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36403 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36405 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36406 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36408 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36410 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36412 (TLS_IE): Use mov/add instead of movq/addq to load thread
36414 (TLS_GD_PREFIX): New.
36417 2012-05-11 David S. Miller <davem@davemloft.net>
36419 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36420 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36421 (_FPU_SETCW): Likewise.
36423 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36425 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36426 is 32-byte aligned.
36428 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36431 * iconvdata/gb18030.c: Update tables.
36432 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36433 characters specially.
36434 (BODY for TO_LOOP): Add encoding of missing ranges.
36436 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36439 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36440 * sysdeps/mach/hurd/dup3.c: Likewise.
36441 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36442 * sysdeps/powerpc/memmove.c:: Likewise.
36444 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36446 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36447 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36449 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36451 * elf/elf.h (R_X86_64_RELATIVE64): New.
36452 (R_X86_64_NUM): Updated.
36453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36454 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36455 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36456 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36457 tst-quad1pie tst-quad2pie
36458 (modules-names): Add tst-quadmod1 tst-quadmod2.
36459 ($(objpfx)tst-quad1): New dependency.
36460 ($(objpfx)tst-quad2): Likewise.
36461 ($(objpfx)tst-quad1pie): Likewise.
36462 ($(objpfx)tst-quad2pie): Likewise.
36463 * sysdeps/x86_64/tst-quad1.c: New file.
36464 * sysdeps/x86_64/tst-quad1pie.c: New file.
36465 * sysdeps/x86_64/tst-quad2.c: Likewise.
36466 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36467 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36468 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36469 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36470 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36474 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36475 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36476 * streams/stropts.h (t_scalar_t): Define type.
36478 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36479 (_PATH_PRESERVE): Set to "/var/lib".
36480 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36482 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36485 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36486 if __dir_mkfile succeeded.
36488 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36489 checking for _hurd_dtablesize. Unlock it right after having
36490 finished _hurd_dtable allocation.
36492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36494 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36495 * sysdeps/mach/hurd/configure: Regenerated.
36496 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36497 special-casing to...
36498 * sysdeps/gnu/configure.in: ... this new file.
36499 * sysdeps/unix/sysv/linux/configure: Regenerated.
36500 * sysdeps/gnu/configure: New generated file.
36502 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36503 for Linux: use nsec instead of usec, as well as:
36504 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36505 members of type struct timespec.
36506 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36508 (struct stat64): Likewise.
36509 (_STATBUF_ST_NSEC): New macro.
36510 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36512 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36513 __strtoul_internal rather than strtoul.
36515 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36517 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36522 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36523 which preserves existing values.
36524 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36526 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36528 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36529 TIMEOUT values. Return EINVAL for NFDS values either negative or
36530 greater than FD_SETSIZE.
36532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36534 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36535 allocated, call __vm_protect to finish enabling the existing space, and
36536 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36537 allocate the remainder.
36539 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36541 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36542 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36544 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36546 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36547 sysdeps/mach/hurd/readlink.c.
36549 * posix/tst-sysconf.c (posix_options): Only use
36550 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36551 _POSIX_SYNCHRONIZED_IO when they are defined
36552 * sysdeps/mach/hurd/bits/posix_opt.h:
36553 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36554 (_XOPEN_REALTIME): Undefine macro.
36555 (_XOPEN_REALTIME_THREADS): Undefine macro.
36556 (_XOPEN_SHM): Undefine macro.
36557 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36559 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36561 (_POSIX_ASYNC_IO): Undefine macro.
36562 (_POSIX_PRIORITIZED_IO): Undefine macro.
36563 (_POSIX_SPIN_LOCKS): Define macro to -1.
36565 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36566 SA_NODEFER, SA_RESETHAND.
36567 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36568 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36573 * elf/Makefile (pldd-modules): Define unconditionally.
36575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36577 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36581 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36582 Return ENOENT when name is empty.
36583 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36585 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36587 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36589 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36593 Fix mlock in all cases except non-readable pages.
36594 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36595 instead of VM_PROT_ALL as parameter to __vm_wire function.
36597 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36598 (__mkdir): When path is `/', just fail with EEXIST.
36599 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36601 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36603 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36604 <sys/uio.h> (for writev).
36605 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36606 and <sys/param.h> (for MIN).
36608 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36610 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36611 REQUESTED_TIME. Properly set the remaining time and return EINTR
36614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36616 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36617 Depend on against $(link-rpcuserlibs).
36619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36621 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36622 (__libc_stack_end): Do not use attribute_relro.
36623 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36624 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36625 to libthread-provided value.
36626 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36632 * bits/libc-lock.h (__libc_once_get): New macro.
36633 * sysdeps/mach/bits/libc-lock.h: Likewise.
36634 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36636 instead of using implementation details.
36638 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36639 * libio/freopen.c: Likewise.
36640 * libio/freopen64.c: Likewise.
36641 * misc/syslog.c: Likewise.
36642 * nscd/connections.c: Likewise.
36643 * nscd/netgroupcache.c: Likewise.
36644 * sysdeps/posix/getcwd.c: Likewise.
36646 2012-05-10 Roland McGrath <roland@hack.frob.com>
36648 * math/w_ilogbf.c: Add #include <limits.h>.
36650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36652 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36653 path instead of returning without unlocking.
36655 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36656 immediate-write ioctls.
36657 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36659 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36661 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36662 __builtin_frame_address instead of making assumptions about the
36663 location of the return address relative to DATA. Force early load of
36664 the return address.
36665 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36666 __builtin_frame_address.
36669 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36670 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36671 implement dup3 and do some further code clean-ups.
36672 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36673 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36677 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36679 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36680 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36681 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36682 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36683 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36686 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36687 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36688 when handler == SIG_ERR, not when handler != SIG_ERR.
36690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36692 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36693 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36696 accept4 for GNU Hurd.
36697 * include/sys/socket.h (__libc_accept4): New prototype.
36698 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36699 to implement __libc_accept4.
36700 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36702 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36704 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36705 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36706 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36707 signal-defines.sym.
36709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36711 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36713 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36715 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36716 assertion on O_CLOEXEC flag.
36717 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36718 * hurd/intern-fd.c: Likewise.
36719 * hurd/port2fd.c: Likewise.
36721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36724 * bits/in.h (IPV6_PKTINFO): Define new macro.
36725 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36727 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36732 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36734 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36735 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36737 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36738 * math/libm-test.inc (logb_test) : Additional logb tests.
36740 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36741 Andreas Jaeger <aj@suse.de>
36743 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36744 * configure: Regenerated.
36745 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36746 * config.make.in (link-obsolete-rpc): New substituted variable.
36747 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36748 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36749 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36750 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36751 so that libc.a contains the symbols.
36752 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36753 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36754 * sunrpc/auth_none.c: Likewise.
36755 * sunrpc/auth_unix.c: Likewise.
36756 * sunrpc/authdes_prot.c: Likewise.
36757 * sunrpc/authuxprot.c: Likewise.
36758 * sunrpc/clnt_gen.c: Likewise.
36759 * sunrpc/clnt_perr.c: Likewise.
36760 * sunrpc/clnt_raw.c: Likewise.
36761 * sunrpc/clnt_simp.c: Likewise.
36762 * sunrpc/clnt_tcp.c: Likewise.
36763 * sunrpc/clnt_udp.c: Likewise.
36764 * sunrpc/clnt_unix.c: Likewise.
36765 * sunrpc/des_crypt.c: Likewise.
36766 * sunrpc/des_soft.c: Likewise.
36767 * sunrpc/get_myaddr.c: Likewise.
36768 * sunrpc/key_call.c: Likewise.
36769 * sunrpc/key_prot.c: Likewise.
36770 * sunrpc/netname.c: Likewise.
36771 * sunrpc/pm_getmaps.c: Likewise.
36772 * sunrpc/pm_getport.c: Likewise.
36773 * sunrpc/pmap_clnt.c: Likewise.
36774 * sunrpc/pmap_prot.c: Likewise.
36775 * sunrpc/pmap_prot2.c: Likewise.
36776 * sunrpc/pmap_rmt.c: Likewise.
36777 * sunrpc/publickey.c: Likewise.
36778 * sunrpc/rpc_cmsg.c: Likewise.
36779 * sunrpc/rpc_common.c: Likewise.
36780 * sunrpc/rpc_dtable.c: Likewise.
36781 * sunrpc/rpc_prot.c: Likewise.
36782 * sunrpc/rpc_thread.c: Likewise.
36783 * sunrpc/rtime.c: Likewise.
36784 * sunrpc/svc.c: Likewise.
36785 * sunrpc/svc_auth.c: Likewise.
36786 * sunrpc/svc_raw.c: Likewise.
36787 * sunrpc/svc_run.c: Likewise.
36788 * sunrpc/svc_tcp.c: Likewise.
36789 * sunrpc/svc_udp.c: Likewise.
36790 * sunrpc/svc_unix.c: Likewise.
36791 * sunrpc/svcauth_des.c: Likewise.
36792 * sunrpc/xcrypt.c: Likewise.
36793 * sunrpc/xdr.c: Likewise.
36794 * sunrpc/xdr_array.c: Likewise.
36795 * sunrpc/xdr_float.c: Likewise.
36796 * sunrpc/xdr_intXX_t.c: Likewise.
36797 * sunrpc/xdr_mem.c: Likewise.
36798 * sunrpc/xdr_rec.c: Likewise.
36799 * sunrpc/xdr_ref.c: Likewise.
36800 * sunrpc/xdr_sizeof.c: Likewise.
36801 * sunrpc/xdr_stdio.c: Likewise.
36803 2012-05-10 Roland McGrath <roland@hack.frob.com>
36805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36806 change. Update copyright years.
36808 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36810 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36812 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36813 Joseph Myers <joseph@codesourcery.com>
36814 Paul Pluzhnikov <ppluzhnikov@google.com>
36817 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36819 [cross-compiling] (extra-libs): Likewise.
36820 [cross-compiling] (extra-libs-others): Likewise.
36821 [cross-compiling] (librpcsvc-routines): Likewise.
36822 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36823 [cross-compiling] (omit-deps): Likewise.
36824 (sunrpc-CPPFLAGS): New variable.
36825 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36826 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36827 (cross-rpcgen-objs): New variable.
36828 (extra-objs): Append $(cross-rpcgen-objs).
36829 ($(cross-rpcgen-objs)): New rule.
36830 ($(objpfx)cross-rpcgen): Likewise.
36831 (rpcgen-cmd): Define to use $(built-program-file). Expand
36833 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36834 ($(objpfx)x%.stmp): Likewise.
36835 * sunrpc/proto.h [IS_IN_build] (_): Define.
36836 [IS_IN_build] (_libc_intl_domainname): Likewise.
36838 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36841 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36842 and R_X86_64_TPOFF64.
36844 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36846 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36847 sysdeps/unix/sysv/syscalls.list.
36850 * sysdeps/unix/sysv/syscalls.list: Remove file.
36852 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36855 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36856 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36857 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36858 (__LC_IDENTIFICATION): Make these macros useful in #if
36859 expressions, as required by C99.
36861 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36863 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36864 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36867 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36869 * stdlib/longlong.h: Updated from GCC.
36871 2012-05-09 Andreas Jaeger <aj@suse.de>
36873 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36874 default is first entry.
36875 (run_mode): Set type.
36876 (main): Remove informal message about syslog.
36877 (options): Fix typo.
36880 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36883 (llrintf): Likewise.
36884 (llrint): Likewise.
36887 (nearbyint): Likewise.
36888 (nearbyintf): Likewise.
36890 2012-05-09 Andreas Jaeger <aj@suse.de>
36891 Pedro Alves <palves@redhat.com>
36893 * nscd/nscd.c (run_mode): Use enum.
36894 (main): Cleanup coding style issue.
36896 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36897 Andreas Jaeger <aj@suse.de>
36899 * nscd/nscd.c (go_background): Replaced with...
36900 (run_mode): ... this.
36901 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36902 (options): Add -F --foreground.
36903 (main): Implement it.
36904 (parse_opt): Parse it.
36906 2012-05-09 Andreas Jaeger <aj@suse.de>
36909 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36910 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36911 -Wconversion warning.
36912 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36915 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36917 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36919 (LC_ALL): Use macro-int-constant.
36920 (LC_COLLATE): Likewise.
36921 (LC_CTYPE): Likewise.
36922 (LC_MESSAGES): Likewise.
36923 (LC_MONETARY): Likewise.
36924 (LC_NUMERIC): Likewise.
36925 (LC_TIME): Likewise.
36926 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36927 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36928 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36929 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36931 [C99-based standards] (float_t): Expect type.
36932 [C99-based standards] (double_t): Expect type.
36933 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36935 [C99-based standards] (HUGE_VALL): Likewise.
36936 [C99-based standards] (INFINITY): Likewise.
36937 [C99-based standards] (NAN): Likewise.
36938 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36939 [C99-based standards] (FP_NAN): Likewise.
36940 [C99-based standards] (FP_NORMAL): Likewise.
36941 [C99-based standards] (FP_SUBNORMAL): Likewise.
36942 [C99-based standards] (FP_ZERO): Likewise.
36943 [C99-based standards] (FP_FAST_FMA): Use
36944 optional-macro-int-constant. Specify type. Require == 1.
36945 [C99-based standards] (FP_FAST_FMAF): Likewise.
36946 [C99-based standards] (FP_FAST_FMAL): Likewise.
36947 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36948 [C99-based standards] (FP_ILOGBNAN): Likewise.
36949 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36951 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36952 [C99-based standards] (math_errhandling): Specify type.
36953 [ISO99 || ISO11] (signgam): Do not allow.
36954 [non-C99-based standards] (copysignf): Do not allow.
36955 [non-C99-based standards] (exp2f): Likewise.
36956 [non-C99-based standards] (log2f): Likewise.
36957 [non-C99-based standards] (modff): Allow.
36958 [non-C99-based standards] (erff): Do not allow.
36959 [non-C99-based standards] (erfcf): Likewise.
36960 [non-C99-based standards] (gammaf): Likewise.
36961 [non-C99-based standards] (hypotf): Likewise.
36962 [non-C99-based standards] (j0f): Likewise.
36963 [non-C99-based standards] (j1f): Likewise.
36964 [non-C99-based standards] (jnf): Likewise.
36965 [non-C99-based standards] (lgammaf): Likewise.
36966 [non-C99-based standards] (tgammaf): Likewise.
36967 [non-C99-based standards] (y0f): Likewise.
36968 [non-C99-based standards] (y1f): Likewise.
36969 [non-C99-based standards] (ynf): Likewise.
36970 [non-C99-based standards] (isnanf): Likewise.
36971 [non-C99-based standards] (acoshf): Likewise.
36972 [non-C99-based standards] (asinhf): Likewise.
36973 [non-C99-based standards] (atanhf): Likewise.
36974 [non-C99-based standards] (cbrtf): Likewise.
36975 [non-C99-based standards] (expm1f): Likewise.
36976 [non-C99-based standards] (ilogbf): Likewise.
36977 [non-C99-based standards] (log1pf): Likewise.
36978 [non-C99-based standards] (logbf): Likewise.
36979 [non-C99-based standards] (nextafterf): Likewise.
36980 [non-C99-based standards] (remainderf): Likewise.
36981 [non-C99-based standards] (rintf): Likewise.
36982 [non-C99-based standards] (scalbf): Likewise.
36983 [non-C99-based standards] (copysignl): Likewise.
36984 [non-C99-based standards] (exp2l): Likewise.
36985 [non-C99-based standards] (log2l): Likewise.
36986 [non-C99-based standards] (modfl): Allow.
36987 [non-C99-based standards] (erfl): Do not allow.
36988 [non-C99-based standards] (erfcl): Likewise.
36989 [non-C99-based standards] (gammal): Likewise.
36990 [non-C99-based standards] (hypotl): Likewise.
36991 [non-C99-based standards] (j0l): Likewise.
36992 [non-C99-based standards] (j1l): Likewise.
36993 [non-C99-based standards] (jnl): Likewise.
36994 [non-C99-based standards] (lgammal): Likewise.
36995 [non-C99-based standards] (tgammal): Likewise.
36996 [non-C99-based standards] (y0l): Likewise.
36997 [non-C99-based standards] (y1l): Likewise.
36998 [non-C99-based standards] (ynl): Likewise.
36999 [non-C99-based standards] (isnanl): Likewise.
37000 [non-C99-based standards] (acoshl): Likewise.
37001 [non-C99-based standards] (asinhl): Likewise.
37002 [non-C99-based standards] (atanhl): Likewise.
37003 [non-C99-based standards] (cbrtl): Likewise.
37004 [non-C99-based standards] (expm1l): Likewise.
37005 [non-C99-based standards] (ilogbl): Likewise.
37006 [non-C99-based standards] (log1pl): Likewise.
37007 [non-C99-based standards] (logbl): Likewise.
37008 [non-C99-based standards] (nextafterl): Likewise.
37009 [non-C99-based standards] (remainderl): Likewise.
37010 [non-C99-based standards] (rintl): Likewise.
37011 [non-C99-based standards] (scalbl): Likewise.
37012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37013 [non-C99-based standards] (FP_*): Do not allow.
37014 [C99-based standards] (FP_*): Change to
37015 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37016 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37018 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37019 (SIG_ERR): Likewise.
37020 [X/Open-based standards] (SIG_HOLD): Likewise.
37021 (SIG_IGN): Likewise.
37022 (SIGABRT): Use macro-int-constant. Specify type. Require
37024 (SIGFPE): Likewise.
37025 (SIGILL): Likewise.
37026 (SIGINT): Likewise.
37027 (SIGSEGV): Likewise.
37028 (SIGTER): Likewise.
37029 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37030 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37031 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37032 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37033 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37034 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37035 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37036 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37037 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37038 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37039 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37040 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37041 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37042 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37043 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37044 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37045 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37046 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37047 [X/Open-based standards] (SIGTRAP): Likewise.
37048 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37049 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37050 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37051 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37052 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37055 2012-05-08 Ian Wienand <ianw@vmware.com>
37058 * time/tzset.c (__tzset_parse_tz): Update default rules for
37059 daylight time changes in the Energy Policy Act of 2005.
37061 2012-05-09 Andreas Jaeger <aj@suse.de>
37064 * elf/ldconfig.c (parse_conf): Change string to make clear that
37065 ldconfig only issued a warning if ld.so.conf does not exist.
37067 2012-05-08 David S. Miller <davem@davemloft.net>
37069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37070 movxtod instead of popping the value on the stack.
37072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37074 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37076 * config.h.in: Add HAVE_ARM_PCS_VFP.
37078 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37081 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37082 checking but the checks are disabled for any reason.
37084 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37086 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37087 and ELF64_R_TYPE with ELFW(R_TYPE).
37089 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37091 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37092 (ulimit): Likewise.
37094 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37095 (settimeofday): Likewise.
37097 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37099 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37100 a struct th_u2 inside the union, and move tu_block/tu_code into
37101 a new th_u3 union of tu_block/tu_code inside of that. Move
37102 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37103 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37104 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37105 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37106 (th_stuff): Change to th_u1.tu_stuff.
37108 (th_msg): Change to th_u1.th_u2.tu_data.
37110 2012-05-07 David S. Miller <davem@davemloft.net>
37112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37115 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37116 (SETUP_PIC_REG): Use it.
37117 (SETUP_PIC_REG_LEAF): Use it.
37119 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37125 (EXPL_FINITE): Likewise.
37126 (FLDLOG): Likewise.
37127 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37128 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37132 (EXPL_FINITE): Likewise.
37133 (FLDLOG): Likewise.
37134 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37135 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37137 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37138 test of -max_value argument for long double.
37139 * sysdeps/i386/fpu/libm-test-ulps: Update.
37140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37142 2012-05-06 David S. Miller <davem@davemloft.net>
37144 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37145 quad soft-float symbols whose references which are compiler
37147 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37149 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37153 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37155 (EXPL_FINITE): Likewise.
37156 (FLDLOG): Likewise.
37159 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37160 Adjust comments for base varying.
37161 (__expl_finite): Change alias to EXPL_FINITE.
37162 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37164 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37165 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37166 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37167 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37168 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37170 (EXPL_FINITE): Likewise.
37171 (FLDLOG): Likewise.
37174 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37175 Adjust comments for base varying.
37176 (__expl_finite): Change alias to EXPL_FINITE.
37177 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37182 * math/libm-test.inc (check_float_internal): Correct ulp
37183 calculation for subnormal expected results.
37185 2012-05-06 Andreas Jaeger <aj@suse.de>
37187 * Makeconfig (+math-flags): New, set to -frounding-math.
37188 (+cflags): Add +math-flags so that all of glibc gets compiled with
37191 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37193 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37195 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37201 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37202 (__ieee754_expl): Allow for and saturate large arguments.
37203 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37204 (u_threshold): Likewise.
37205 (__exp): Call __ieee754_exp before checking for overflow and
37207 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37208 (u_threshold): Likewise.
37209 (__expf): Call __ieee754_expf before checking for overflow and
37211 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37212 (u_threshold): Likewise.
37213 (__expl): Call __ieee754_expl before checking for overflow and
37215 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37216 (__ieee754_expl): Allow for and saturate large arguments.
37217 * math/libm-test.inc (exp_test): Add another test. Do not allow
37218 missing overflow exception on overflow.
37219 (expm1_test): Do not allow missing overflow exception on overflow.
37221 * sysdeps/i386/fpu/e_expl.c: Move to ...
37222 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37223 rather than using inline asm.
37224 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37225 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37226 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37228 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37231 (signal): Likewise.
37235 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37237 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37238 sysdeps/unix/common/syscalls.list.
37239 (fchmod): Likewise.
37240 (fchown): Likewise.
37241 (ftruncate): Likewise.
37242 (getrusage): Likewise.
37243 (gettimeofday): Likewise.
37244 (setpgid): Likewise.
37245 (setregid): Likewise.
37246 (setreuid): Likewise.
37247 (sigaction): Likewise.
37248 (truncate): Likewise.
37249 (vhangup): Likewise.
37250 * sysdeps/unix/common/syscalls.list: Remove file.
37251 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37252 * sysdeps/unix/sysv/linux/Implies: Likewise.
37254 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37256 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37258 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37262 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37265 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37268 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37271 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37274 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37277 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37280 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37284 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37288 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37291 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37295 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37299 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37301 * sysdeps/unix/common/bits/dirent.h: Remove file.
37302 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37304 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37305 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37306 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37307 * sysdeps/unix/bsd/isatty.c: Likewise.
37308 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37309 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37310 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37312 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37316 long double comparison inaccuracies.
37317 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37320 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37322 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37325 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37329 nonzero digits before rounding a hex value.
37330 * stdlib/tst-strtod.c (tests): Add another test.
37332 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37334 * sysdeps/s390/fpu/libm-test-ulps: Update.
37336 2012-05-03 Andreas Jaeger <aj@suse.de>
37338 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37339 does not get optimized out.
37340 (malloc_opt_barrier): New.
37342 2012-05-03 Andreas Jaeger <aj@suse.de>
37343 Roland McGrath <roland@hack.frob.com>
37345 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37346 intermediate file deletion.
37347 (generated): Add .symlist files.
37349 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37352 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37353 Redirect under this condition.
37354 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37355 [__USE_GNU] (__dprintf_chk): Not under this condition.
37356 [__USE_GNU] (__vdprintf_chk): Likewise.
37357 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37358 under this condition.
37359 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37360 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37361 [__USE_XOPEN2K8] (vdprintf): Likewise.
37362 [__USE_GNU] (__dprintf_chk): Not under this condition.
37363 [__USE_GNU] (__vdprintf_chk): Likewise.
37364 [__USE_GNU] (dprintf): Likewise.
37365 [__USE_GNU] (vdprintf): Likewise.
37367 2012-05-03 Roland McGrath <roland@hack.frob.com>
37369 * elf/Makefile (common-generated): Set this instead of generated for
37370 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37371 $(all-built-dso)-derived lists.
37373 2012-05-03 Andreas Jaeger <aj@suse.de>
37375 * sysdeps/i386/fpu/libm-test-ulps: Update.
37378 * FAQ.in: Likewise.
37379 * scripts/gen-FAQ.pl: Likewise.
37380 * manual/install.texi (Installation): Point to online location of
37382 * Makefile (files-for-dist): Remove FAQ.
37385 2012-05-02 Allan McRae <allan@archlinux.org>
37387 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37388 (LDFLAGS-reldepmod5.so): Likewise.
37389 (LDFLAGS-reldep6mod1.so): Likewise.
37390 (LDFLAGS-reldep6mod4.so): Likewise.
37391 (LDFLAGS-reldep8mod3.so): Likewise.
37392 (LDFLAGS-unload4mod1.so): Likewise.
37393 (LDFLAGS-unload4mod2.so): Likewise.
37394 (LDFLAGS-tst-initorder): Likewise.
37395 (LDFLAGS-tst-initordera2.so): Likewise.
37396 (LDFLAGS-tst-initordera3.so): Likewise.
37397 (LDFLAGS-tst-initordera4.so): Likewise.
37398 (LDFLAGS-tst-initorderb2.so): Likewise.
37399 (LDFLAGS-noload): Likewise.
37400 (LDFLAGS-next): Likewise.
37401 (LDFLAGS-order2mod1.so): Likewise.
37402 (LDFLAGS-order2mod2.so): Likewise.
37403 (LDFLAGS-tst-initorder2): Likewise.
37404 (LDFLAGS-tst-initorder2a.so): Likewise.
37405 (LDFLAGS-tst-initorder2b.so): Likewise.
37406 (LDFLAGS-tst-initorder2c.so): Likewise.
37407 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37409 2012-05-02 David S. Miller <davem@davemloft.net>
37411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37413 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37416 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37418 2012-05-02 Andreas Jaeger <aj@suse.de>
37420 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37421 since we manipulate rounding mode.
37422 (CPPFLAGS-test-idouble.c): Likewise.
37423 (CPPFLAGS-test-ifloat.c): Likewise.
37424 (CFLAGS-test-ldouble.c): Likewise.
37425 (CFLAGS-test-double.c): Likewise.
37426 (CFLAGS-test-float.c): Likewise.
37427 (CFLAGS-test-misc.c): Likewise.
37428 (CFLAGS-test-test-fenv.c): Likewise.
37430 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37435 comparisons to determine direction to adjust input.
37437 2012-05-01 Roland McGrath <roland@hack.frob.com>
37439 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37440 output to the target.
37442 * scripts/localplt.awk: New file.
37443 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37444 (check-localplt-CFLAGS): Variable removed.
37445 ($(all-built-dso:=.jmprel)): New static pattern rule.
37446 (generated): Add those targets.
37447 (localplt-built-dso): New variable.
37448 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37450 * elf/check-localplt.c: File removed.
37452 * scripts/check-execstack.awk: New file.
37453 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37454 (check-execstack-CFLAGS): Variable removed.
37455 ($(objpfx)check-execstack.h): Target removed.
37456 ($(objpfx)execstack-default): New target.
37457 (generated): Add that instead of check-execstack.h.
37458 ($(all-built-dso:=.phdr)): New static pattern rule.
37459 (generated): Add those targets.
37460 * elf/check-execstack.c: File removed.
37462 * scripts/check-textrel.awk: New file.
37463 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37464 (check-textrel-CFLAGS): Variable removed.
37465 (all-built-dso): Use := to define.o
37466 ($(all-built-dso:=.dyn)): New static pattern rule.
37467 (generated): Add those targets.
37468 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37469 * config.make.in (READELF): New substituted variable.
37470 * elf/check-textrel.c: File removed.
37472 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37474 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37476 * conform/data/ctype.h-data [C99-based standards] (isblank):
37478 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37479 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37481 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37482 Specify type. Require positive value.
37483 (EILSEQ): Likewise.
37484 (ERANGE): Likewise.
37485 [ISO || POSIX] (EILSEQ): Do not expect.
37486 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37487 Specify type. Require positive value.
37488 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37489 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37490 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37491 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37492 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37493 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37494 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37495 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37496 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37497 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37498 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37499 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37500 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37501 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37502 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37503 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37504 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37505 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37506 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37507 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37508 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37509 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37510 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37511 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37512 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37513 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37514 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37515 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37516 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37517 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37518 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37519 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37520 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37521 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37522 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37523 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37524 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37525 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37526 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37527 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37528 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37529 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37530 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37531 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37532 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37533 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37534 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37535 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37536 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37537 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37538 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37539 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37540 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37541 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37542 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37543 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37544 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37545 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37546 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37547 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37548 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37549 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37550 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37551 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37552 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37553 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37554 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37555 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37556 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37557 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37558 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37559 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37560 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37561 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37562 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37563 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37564 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37566 (FLT_ROUNDS): Expect as macro, not constant.
37567 (FLT_MANT_DIG): Use macro-int-constant.
37568 (DBL_MANT_DIG): Likewise.
37569 (LDBL_MANT_DIG): Likewise.
37570 (FLT_DIG): Likewise.
37571 (DBL_DIG): Likewise.
37572 (LDBL_DIG): Likewise.
37573 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37574 (DBL_MIN_EXP): Likewise.
37575 (LDBL_MIN_EXP): Likewise.
37576 (FLT_MAX_EXP): Use macro-int-constant.
37577 (DBL_MAX_EXP): Likewise.
37578 (LDBL_MAX_EXP): Likewise.
37579 (FLT_MAX_10_EXP): Likewise.
37580 (DBL_MAX_10_EXP): Likewise.
37581 (LDBL_MAX_10_EXP): Likewise.
37582 (FLT_MAX): Use macro-constant.
37583 (DBL_MAX): Likewise.
37584 (LDBL_MAX): Likewise.
37585 (FLT_EPSILON): Use macro-constant. Give upper bound.
37586 (DBL_EPSILON): Likewise.
37587 (LDBL_EPSILON): Likewise.
37588 (FLT_MIN): Likewise.
37589 (DBL_MIN): Likewise.
37590 (LDBL_MIN): Likewise.
37591 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37592 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37593 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37594 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37595 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37596 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37597 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37598 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37599 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37600 [ISO11] (FLT_TRUE_MIN): Likewise.
37601 [ISO11] (LDBL_TRUE_MIN): Likewise.
37602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37603 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37604 (SCHAR_MIN): Use macro-int-constant. Specify type.
37605 (SCHAR_MAX): Likewise.
37606 (UCHAR_MAX): Likewise.
37607 (CHAR_MIN): Likewise.
37608 (CHAR_MAX): Likewise.
37609 (MB_LEN_MAX): Use macro-int-constant.
37610 (SHRT_MIN): Use macro-int-constant. Specify type.
37611 (SHRT_MAX): Likewise.
37612 (USHRT_MAX): Likewise.
37613 (INT_MAX): Likewise.
37614 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37616 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37618 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37620 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37621 bound negative. Suffix upper bound with "L".
37622 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37624 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37626 [C99-based standards] (LLONG_MAX): Likewise.
37627 [C99-based standards] (ULLONG_MAX): Likewise.
37628 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37630 [ISO11] (max_align_t): Require type.
37631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37633 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37634 from $CFLAGS, without defining away __attribute__ calls.
37635 (checknamespace): Use $CFLAGS_namespace.
37637 * conform/conformtest.pl (@keywords): Only include C99 keywords
37638 for standards based on C99 or C11.
37640 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37642 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37645 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37646 usability of symbols in #if.
37648 * conform/conformtest.pl: If macro or constant types start
37649 "promoted:", expect the symbol to be of the following type
37650 promoted by the integer promotions.
37652 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37653 in one place. Also handle "macro-constant".
37655 * conform/conformtest.pl: Only accept expected macro values with
37656 "==". Parse all "macro" lines in one place.
37657 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37659 * conform/conformtest.pl: Handle braced types on "constant" lines
37660 instead of handling "typed-constant".
37661 * conform/data/signal.h-data: Use "constant" instead of
37664 * conform/conformtest.pl: Handle "optional-" at start of lines in
37665 one place rather than duplicating several cases. Handle each
37666 format of "macro" line with initial "optional-".
37668 * conform/conformtest.pl: Only accept expected constant or
37669 optional-constant values with "==". Parse all "constant" lines in
37670 one place. Parse all "optional-constant" lines in one place.
37671 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37672 * conform/data/fmtmsg.h-data: Likewise.
37673 * conform/data/netinet/in.h-data: Likewise.
37674 * conform/data/tar.h-data: Likewise.
37675 * conform/data/limits.h-data: Use "==" form on "constant" and
37676 "optional-constant" lines.
37678 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37679 Use -std=c99 for XOPEN2K.
37680 (@knownproblems): Remove.
37681 (newtoken): Don't check %isknown.
37683 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37684 Do not expect macro.
37685 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37686 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37687 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37688 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37689 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37690 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37691 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37692 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37693 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37694 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37695 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37696 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37697 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37698 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37699 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37700 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37701 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37702 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37703 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37704 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37705 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37706 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37707 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37708 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37709 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37710 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37711 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37712 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37713 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37714 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37715 [XPG3] (acosh): Likewise.
37716 [XPG3] (asinh): Likewise.
37717 [XPG3] (atanh): Likewise.
37718 [XPG3] (cbrt): Likewise.
37719 [XPG3] (expm1): Likewise.
37720 [XPG3] (ilogb): Likewise.
37721 [XPG3] (log1p): Likewise.
37722 [XPG3] (logb): Likewise.
37723 [XPG3] (nextafter): Likewise.
37724 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37725 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37726 [XPG3] (remainder): Likewise.
37727 [XPG3] (rint): Likewise.
37728 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37729 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37730 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37731 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37732 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37733 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37734 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37735 [UNIX98 || XOPEN2K] (scalb): Expect.
37736 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37737 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37738 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37739 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37740 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37741 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37742 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37743 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37744 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37745 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37746 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37747 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37748 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37749 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37750 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37751 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37752 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37753 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37754 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37755 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37756 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37757 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37758 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37759 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37760 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37761 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37762 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37763 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37764 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37765 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37766 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37767 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37768 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37769 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37770 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37771 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37772 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37773 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37774 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37775 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37776 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37777 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37778 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37779 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37780 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37781 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37782 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37783 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37784 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37785 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37786 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37787 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37788 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37789 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37790 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37791 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37792 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37793 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37794 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37795 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37796 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37797 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37798 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37799 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37800 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37801 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37802 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37803 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37804 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37805 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37806 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37807 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37808 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37809 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37810 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37811 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37812 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37813 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37814 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37815 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37816 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37817 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37818 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37819 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37820 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37821 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37822 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37823 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37824 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37825 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37826 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37827 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37828 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37829 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37830 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37831 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37832 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37833 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37834 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37835 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37836 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37837 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37838 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37839 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37840 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37841 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37842 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37843 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37844 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37845 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37846 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37847 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37848 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37849 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37850 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37851 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37852 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37853 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37854 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37855 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37856 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37857 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37858 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37859 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37860 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37861 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37862 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37863 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37864 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37865 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37866 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37867 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37868 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37869 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37870 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37871 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37872 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37874 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37875 _XOPEN_SOURCE_EXTENDED for XPG4.
37877 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37879 * Makeconfig (localtime): Remove variable.
37880 (inst_localtime-file): Likewise.
37882 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37903 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37907 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37908 comparisons to determine direction to adjust input.
37909 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37910 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37911 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37915 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37917 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37918 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37920 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37922 * math/libm-test.inc (nexttoward_test): Add more tests.
37924 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37928 in version GLIBC_2.1, not GLIBC_2.0.
37929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37932 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37935 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37937 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37938 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37939 * math/libm-test.inc (acos_test): Add more tests.
37940 (asin_test): Likewise.
37941 * sysdeps/i386/fpu/libm-test-ulps: Update.
37942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37945 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37947 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37948 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37949 * math/libm-test.inc (acos_test_tonearest): New function.
37950 (acos_test_towardzero): Likewise.
37951 (acos_test_downward): Likewise.
37952 (acos_test_upward): Likewise.
37953 (asin_test_tonearest): Likewise.
37954 (asin_test_towardzero): Likewise.
37955 (asin_test_downward): Likewise.
37956 (asin_test_upward): Likewise.
37957 (main): Call the new functions.
37958 * sysdeps/i386/fpu/libm-test-ulps: Update.
37959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37963 * math/e_exp10.c: Include <float.h>.
37964 (__ieee754_exp10): Handle underflow here rather than multiplying
37965 large negative argument by M_LN10.
37966 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37968 * math/e_exp10l.c: Include <float.h>.
37969 (__ieee754_exp10l): Handle underflow here rather than multiplying
37970 large negative argument by M_LN10l.
37971 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37972 spurious overflow exception on underflow.
37974 2012-04-29 Marek Polacek <polacek@redhat.com>
37976 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37977 (__fortify_function): New macro.
37978 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37979 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37980 __extern_always_inline.
37981 * libio/bits/stdio2.h: Likewise.
37982 * libio/bits/stdio.h: Likewise.
37983 * string/string.h: Likewise.
37984 * string/bits/string3.h: Likewise.
37985 * include/stdio.h: Likewise.
37986 * stdlib/bits/stdlib.h: Likewise.
37987 * stdlib/stdlib.h: Likewise.
37988 * rt/bits/mqueue2.h: Likewise.
37989 * rt/mqueue.h: Likewise.
37990 * posix/bits/unistd.h: Likewise.
37991 * posix/unistd.h: Likewise.
37992 * io/bits/poll2.h: Likewise.
37993 * io/bits/fcntl2.h: Likewise.
37994 * io/fcntl.h: Likewise.
37995 * io/sys/poll.h: Likewise.
37996 * misc/bits/syslog.h: Likewise.
37997 * misc/bits/syslog-ldbl.h: Likewise.
37998 * misc/sys/syslog.h: Likewise.
37999 * socket/bits/socket2.h: Likewise.
38000 * socket/sys/socket.h: Likewise.
38001 * debug/tst-chk1.c: Likewise.
38002 * wcsmbs/bits/wchar2.h: Likewise.
38003 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38004 * wcsmbs/wchar.h: Likewise.
38006 2012-04-29 Andreas Jaeger <aj@suse.de>
38008 * Makerules (tests): Remove enable-check-abi protection.
38009 (check-abi-warn): Remove.
38010 (check-abi-%): Remove check-abi-warn usage.
38012 * configure.in: Remove check-abi configure option.
38013 * configure: Regenerated.
38014 * config.make.in (enable-check-abi): Remove.
38016 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38019 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38020 double functions to double *_finite functions.
38023 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38024 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38026 * stdio-common/Makefile (tests): Add tst-sprintf3.
38027 * stdio-common/tst-sprintf3.c: New file.
38029 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38030 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38032 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38034 * conform/conformtest.pl: Remove duplicate typed-constant
38037 2012-04-28 David S. Miller <davem@davemloft.net>
38039 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38040 (check-abi-%): Remove AWK script prerequisite and explicit
38042 (check-abi): Rewrite to just diff the symlist with the abilist.
38043 (config-tls, config-abi-config): Delete, no longer used.
38044 (update-abi-%): Remove AWK script and explicit abilist directory.
38045 (update-abi): Rewrite to simply compare and conditionally copy the
38046 symlist and the sysdep abilist file. Remove update-abi-config
38048 * abilist/ld.abilist: Remove.
38049 * abilist/libBrokenLocale.abilist: Remove.
38050 * abilist/libanl.abilist: Remove.
38051 * abilist/libcrypt.abilist: Remove.
38052 * abilist/libdl.abilist: Remove.
38053 * abilist/librt.abilist: Remove.
38054 * abilist/libthread_db.abilist: Remove.
38055 * abilist/libutil.abilist: Remove.
38056 * scripts/extract-abilist.awk: Remove.
38057 * scripts/merge-abilist.awk: Remove.
38058 * sysdeps/generic/libcidn.abilist: New file.
38059 * sysdeps/generic/libnss_compat.abilist: New file.
38060 * sysdeps/generic/libnss_db.abilist: New file.
38061 * sysdeps/generic/libnss_dns.abilist: New file.
38062 * sysdeps/generic/libnss_files.abilist: New file.
38063 * sysdeps/generic/libnss_hesiod.abilist: New file.
38064 * sysdeps/generic/libnss_nis.abilist: New file.
38065 * sysdeps/generic/libnss_nisplus.abilist: New file.
38066 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38067 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38068 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38070 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38071 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38072 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38073 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38074 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38075 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38076 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38077 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38078 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38080 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38081 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38082 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38083 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38085 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38086 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38087 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38088 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38089 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38090 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38092 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38093 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38094 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38096 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38199 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38200 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38201 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38204 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38205 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38206 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38207 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38208 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38209 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38210 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38211 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38212 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38264 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38266 * conform/conformtest.pl: Fix typo in handling typed-constant from
38269 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38271 * README: Cut down references to pre-2.6 Linux kernels and
38272 Linuxthreads. Update lists of configurations in libc and ports
38273 and sort alphabetically. Say "or newer" with Linux kernel version
38276 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38278 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38281 * math/libm-test.inc (logb_test_downward): New test to expose
38282 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38285 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38288 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38290 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38291 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38293 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38295 * sysdeps/unix/i386/brk.S: Remove file.
38296 * sysdeps/unix/i386/dl-brk.S: Likewise.
38297 * sysdeps/unix/i386/pipe.S: Likewise.
38298 * sysdeps/unix/i386/sigreturn.S: Likewise.
38299 * sysdeps/unix/i386/syscall.S: Likewise.
38300 * sysdeps/unix/i386/vfork.S: Likewise.
38301 * sysdeps/unix/i386/wait.S: Likewise.
38303 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38304 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38306 * configure.in (arm*-none*): Do not allow without
38307 --enable-hacker-mode.
38308 (netbsd*): Remove case setting base_os.
38309 (386bsd*): Likewise.
38310 (freebsd*): Likewise.
38313 (sunos*): Likewise.
38314 (ultrix*): Likewise.
38315 (newsos*): Likewise.
38316 (dynix*): Likewise.
38322 (minix*): Likewise.
38323 (irix4*): Likewise.
38324 (irix6*): Likewise.
38325 (solaris[2-9]*): Likewise.
38327 * configure: Regenerated.
38329 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38332 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38333 overflow or cancellation in calculating denominator.
38334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38336 down expression to avoid unexpected rounding in newer GCCs.
38337 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38339 2012-04-26 David S. Miller <davem@davemloft.net>
38341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38342 long-double compat symbols.
38343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38357 2012-04-25 David S. Miller <davem@davemloft.net>
38359 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38360 HWCAP_* values only after the memory barriers have been defined.
38361 (atomic_full_barrier): Define.
38362 (atomic_read_barrier): Define.
38363 (atomic_write_barrier): Define.
38365 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38367 * shlib-versions: Add libgcc_s version information.
38368 * sysdeps/generic/libgcc_s.h: Remove.
38369 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38371 * sysdeps/gnu/unwind-resume.c: Likewise.
38372 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38374 2012-04-25 David S. Miller <davem@davemloft.net>
38376 * sysdeps/unix/sparc/brk.S: Delete.
38377 * sysdeps/unix/sparc/dl-brk.S: Delete.
38378 * sysdeps/unix/sparc/pipe.S: Delete.
38379 * sysdeps/unix/sparc/sysdep.S: Delete.
38380 * sysdeps/unix/sparc/sysdep.h: Delete.
38381 * sysdeps/unix/sparc/vfork.S: Delete.
38382 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38383 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38385 (ret_ERRVAL, r0, r1, MOVE): Define.
38386 (JUMPTARGET): Remove.
38387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38388 sysdeps/unix/sparc/sysdep.h
38389 (ENTRY, END): Remove.
38390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38392 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38394 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38395 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38398 * timezone/README: Update upstream location and email address for
38400 * timezone/zdump.c: Update from tzcode 2012b.
38401 * timezone/zic.c: Likewise.
38403 * configure.in (libc_cv_as_needed): Remove test.
38404 * configure: Regenerated.
38405 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38406 conditional definition.
38407 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38408 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38409 * config.make.in (have-as-needed): Remove variable.
38411 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38412 Paul Pluzhnikov <ppluzhnikov@google.com>
38414 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38417 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38419 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38420 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38421 * sysdeps/sh/strlen.S: Likewise.
38423 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38425 * sysdeps/unix/fork.S: Remove file.
38426 * sysdeps/unix/i386/fork.S: Likewise.
38427 * sysdeps/unix/sparc/fork.S: Likewise.
38429 * sysdeps/unix/system.c: Remove file.
38430 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38432 * sysdeps/unix/getegid.S: Remove file.
38433 * sysdeps/unix/geteuid.S: Likewise.
38435 2012-04-24 Roland McGrath <roland@hack.frob.com>
38437 * scripts/check-localplt.awk: New file.
38438 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38440 * scripts/data/localplt-generic.data: Add a comment.
38442 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38443 NODE when __dir_mkfile failed.
38444 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38445 Reported by Ludovic Courtès <ludo@gnu.org>.
38447 2012-04-24 Andreas Jaeger <aj@suse.de>
38449 * Makerules (common-clean): Also remove gen-as-const-headers
38452 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38454 * Makerules (native-compile): Do not change working directory for
38455 build. Use $(OUTPUT_OPTION) in command.
38456 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38458 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38461 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38462 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38463 * math/libm-test.inc (floor_test): Add more tests.
38464 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38466 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38468 * sysdeps/unix/getdents.c: Remove file.
38469 * sysdeps/unix/sysv/getdents.c: Likewise.
38470 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38472 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38473 sysdeps/unix/mman/syscalls.list.
38475 (mprotect): Likewise.
38477 (munmap): Likewise.
38478 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38479 * sysdeps/unix/mman/syscalls.list: Remove.
38480 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38482 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38483 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38484 * configure: Regenerated.
38485 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38486 $(libgcc_s_suffix).
38487 * config.make.in (libgcc_s_suffix): Remove variable.
38489 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38491 * sysdeps/unix/sysv/gethostname.c: Move to ...
38492 * sysdeps/posix/gethostname.c: ... here.
38494 * sysdeps/unix/execve.S: Remove file.
38496 * sysdeps/unix/_exit.S: Remove file.
38498 2012-04-23 Andreas Jaeger <aj@suse.de>
38501 * manual/Makefile: Remove make dist support, there's no
38502 need for a stand-alone documentation tar ball.
38503 (TEXI2DVI): Define always, it's not in Makeconfig.
38506 (edition): Removed.
38507 (glibc-doc-$(edition).tar): Removed
38511 (ETAGS): Remove, it's in Makeconfig.
38512 (move-if-change): Remove, it's in Makeconfig.
38514 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38517 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38518 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38519 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38520 (strtod_l, strtof_l, strtold_l): Remove __wur.
38521 It is not necessarily an error to ignore strtol's return value.
38522 One can reliably look at the stored endptr to decide whether
38523 the number had valid syntax.
38525 2012-04-21 Andreas Jaeger <aj@suse.de>
38528 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38530 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38532 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38533 * sysdeps/unix/sysv/Versions: Remove file.
38535 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38540 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38544 version from __vm86.
38546 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38548 * sysdeps/unix/common/lxstat.c: Remove file.
38549 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38551 * sysdeps/unix/sysv/Makefile: Remove file.
38553 * sysdeps/unix/sysv/direct.h: Remove file.
38555 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38556 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38557 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38558 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38559 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38560 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38561 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38563 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38565 * sysdeps/unix/xmknod.c: Remove file.
38566 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38568 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38570 * sysdeps/unix/sysv/i386/time.S: Remove file.
38572 * sysdeps/unix/fxstat.c: Remove file.
38573 * sysdeps/unix/xstat.c: Likewise.
38574 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38576 * sysdeps/unix/sysv/sigaction.c: Remove file.
38578 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38579 (sysdep_headers): Remove variable.
38580 [termio.h not in sysdep_headers] (generated): Likewise.
38581 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38582 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38583 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38584 * sysdeps/unix/sysv/tcflow.c: Likewise.
38585 * sysdeps/unix/sysv/tcflush.c: Likewise.
38586 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38587 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38588 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38589 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38590 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38592 * sysdeps/unix/siglist.c: Remove file.
38594 * sysdeps/unix/getppid.S: Remove file.
38596 * sysdeps/unix/mkdir.c: Remove file.
38597 * sysdeps/unix/rmdir.c: Likewise.
38599 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38601 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38603 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38604 errlist-compat value.
38606 2012-04-18 David S. Miller <davem@davemloft.net>
38608 * sysdeps/generic/memcopy.h (reg_char): Delete.
38609 * debug/strcat_chk.c: Use char, not reg_char.
38610 * debug/strcpy_chk.c: Likewise.
38611 * debug/strncat_chk.c: Likewise.
38612 * debug/strncpy_chk.c: Likewise.
38613 * string/memchr.c: Likewise.
38614 * string/memrchr.c: Likewise.
38615 * string/rawmemchr.c: Likewise.
38616 * string/strcat.c: Likewise.
38617 * string/strchr.c: Likewise.
38618 * string/strchrnul.c: Likewise.
38619 * string/strcmp.c: Likewise.
38620 * string/strcpy.c: Likewise.
38621 * string/strncat.c: Likewise.
38622 * string/strncmp.c: Likewise.
38623 * string/strncpy.c: Likewise.
38625 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38627 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38628 __builtin_memcopy is called when src and dest ranges are known to not
38631 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38633 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38634 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38635 fwd_align_merge macro call.
38636 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38637 bwd_align_merge macro call.
38638 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38640 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38642 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38643 bwd_align_merge macros.
38644 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38645 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38648 2012-04-18 David S. Miller <davem@davemloft.net>
38650 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38652 2012-04-18 Andreas Jaeger <aj@suse.de>
38655 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38656 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38657 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38659 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38660 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38661 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38663 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38664 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38665 Adjust for changed ldbl-128 files.
38667 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38668 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38671 2012-04-17 David S. Miller <davem@davemloft.net>
38673 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38675 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38677 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38678 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38679 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38680 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38681 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38682 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38684 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38687 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38688 * math/libm-test.inc: Add ilogb errno and exception tests.
38689 * math/w_ilogb.c: New file: ilogb wrapper.
38690 * math/w_ilogbf.c: New file: ilogbf wrapper.
38691 * math/w_ilogbl.c: New file: ilogbl wrapper.
38692 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38693 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38694 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38695 exception being thrown with 0.0 as argument.
38696 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38697 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38698 exception being thrown with 0.0 as argument.
38699 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38700 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38701 exception being thrown with 0.0 as argument.
38702 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38703 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38704 exception being thrown with 0.0 as argument.
38705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38706 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38707 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38708 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38709 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38710 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38711 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38712 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38713 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38715 2012-04-17 Petr Baudis <pasky@ucw.cz>
38717 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38720 2012-04-16 Marek Polacek <polacek@redhat.com>
38722 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38724 2012-04-16 Marek Polacek <polacek@redhat.com>
38726 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38727 operands of fdivp instruction.
38729 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38731 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38732 * elf/tst-auditmod3b.c: Likewise.
38733 * elf/tst-auditmod4b.c: Likewise.
38734 * elf/tst-auditmod5b.c: Likewise.
38735 * elf/tst-auditmod6b.c: Likewise.
38736 * elf/tst-auditmod6c.c: Likewise.
38737 * elf/tst-auditmod7b.c: Likewise.
38738 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38739 * sysdeps/x86_64/preconfigure.in: Likewise.
38740 * sysdeps/x86_64/preconfigure: Regenerated.
38742 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38744 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38747 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38750 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38752 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38755 * locale/iso-639.def: Fix gl language name. Spotted by
38758 2012-04-12 Roland McGrath <roland@hack.frob.com>
38761 * libio/libio.h (__io_write_fn): Update comment.
38763 2012-04-12 Petr Baudis <pasky@ucw.cz>
38766 * stdio.texi (Hook Functions): The user provided writer function
38767 is not allowed to return -1.
38769 2012-04-11 David S. Miller <davem@davemloft.net>
38771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38773 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38775 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38776 Add a leading slash to rtkaio.
38778 2012-04-11 Jim Meyering <meyering@redhat.com>
38781 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38782 It is not necessarily an error to ignore fwrite's return
38783 value. One can reliably use ferror to test for errors after
38786 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38788 * bits/types.h (__snseconds_t): New type.
38789 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38791 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38793 (__SNSECONDS_T_TYPE): Likewise.
38794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38795 (__SNSECONDS_T_TYPE): Likewise.
38796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38797 (__SNSECONDS_T_TYPE): Likewise.
38799 2012-04-10 Andreas Jaeger <aj@suse.de>
38802 * manual/time.texi (Processor Time): Return type of times is
38803 elapsed real time since an arbitrary point in the past.
38804 (CPU Time): Move CLK_TCK from here...
38805 (Processor Time): ...to here. Correct description.
38806 * manual/conf.texi (Constants for Sysconf): Correct description of
38809 2012-04-10 David S. Miller <davem@davemloft.net>
38812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38813 where the is a gap between DT_REL(A) and DT_JMPREL.
38815 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38817 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38818 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38819 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38821 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38823 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38824 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38825 (dl_main): Handle --inhibit-cache.
38826 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38828 * elf/dl-load.c (_dl_map_object): Use it.
38829 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38831 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38834 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38835 (__ieee754_powl): Saturate large exponents rather than testing for
38836 overflow of y*log2(x).
38837 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38838 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38842 * math/s_ctan.c: Include <float.h>.
38843 (__ctan): Avoid internal overflow or cancellation in calculating
38845 * math/s_ctanf.c: Likewise.
38846 * math/s_ctanl.c: Likewise.
38847 * math/s_ctanh.c: Likewise.
38848 * math/s_ctanhf.c: Likewise.
38849 * math/s_ctanhl.c: Likewise.
38850 * math/libm-test.inc (ctan_test): Add more tests.
38851 (ctanh_test): Likewise.
38852 * sysdeps/i386/fpu/libm-test-ulps: Update.
38853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38855 2012-04-09 Andreas Jaeger <aj@suse.de>
38858 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38859 is an optional BSD extension.
38862 * manual/stdio.texi (Opening Streams): Document additional fopen
38865 2012-04-09 Roland McGrath <roland@hack.frob.com>
38867 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38868 %eax without telling the compiler.
38870 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38873 * manual/install.texi: Use sourceware.org.
38875 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38878 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38879 (__ieee754_pow): Generate overflow and underflow using huge*huge
38880 and tiny*tiny rather than just returning constant infinity or zero
38881 for large exponents.
38882 * math/libm-test.inc (pow_test): Require overflow exceptions for
38883 applicable cases of large exponents.
38886 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38887 (__ieee754_pow): Use iterative multiplication algorithm only for
38888 integer exponents with absolute value below 1024. Check for odd
38889 integer exponents when using algorithm for real exponents.
38890 * math/libm-test.inc (pow_test): Add more tests.
38891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38893 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38896 * math/libm-test.inc (exp_test): Do not allow overflow exception
38899 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38902 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38903 instead of __kernel_standard_f.
38905 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38907 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38908 * sysdeps/x86_64/memset_chk.S: Likewise.
38910 2012-04-08 Andreas Jaeger <aj@suse.de>
38913 * manual/startup.texi (Environment Access): Describe return value
38914 for putenv and setenv.
38917 * manual/filesys.texi (Directory Entries): Add description for
38921 * manual/filesys.texi (Directory Entries): Clarify that it's file
38922 system not operating system in the description of DT_UNKNOWN.
38925 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38927 2012-04-08 Stephen Compall <s11@member.fsf.org>
38930 * manual/llio.texi (Opening and Closing Files): Add cross
38931 reference to explain mode argument.
38933 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38935 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38936 * sysdeps/x86_64/memset_chk.S: Likewise.
38938 2012-04-07 David S. Miller <davem@davemloft.net>
38940 * elf/elf.h (R_SPARC_WDISP10): Define.
38941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38944 R_SPARC_SIZE64 and R_SPARC_H34.
38946 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38948 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38949 conditions and remove no longer applicable assertion.
38951 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38953 * bits/byteswap.h: Include <features.h>.
38954 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38955 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38957 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38959 * bits/byteswap.h (__bswap_16): Removed.
38960 Include <bits/byteswap-16.h> to get __bswap_16.
38961 * sysdeps/i386/bits/byteswap.h: Likewise.
38962 * sysdeps/s390/bits/byteswap.h: Likewise.
38963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38964 * bits/byteswap-16.h: New file.
38965 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38966 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38967 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38968 * string/Makefile (headers): Add bits/byteswap-16.h.
38970 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38973 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38975 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38976 * nss/tst-nss-static.c: New.
38978 2012-04-06 Robert Millan <rmh@gnu.org>
38981 * manual/llio.texi (File Position Primitive): lseek
38982 refers to WHENCE when it really means OFFSET.
38984 2012-04-06 Andreas Jaeger <aj@suse.de>
38986 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38987 strncmp declarations.
38989 * abilist/libc.abilist: Add __poll and __ppoll.
38991 2012-04-05 David S. Miller <davem@davemloft.net>
38993 * scripts/check-local-headers.sh: Accept a host triplet in the
38994 path matched by the exclude regexp.
38996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38998 * sysdeps/powerpc/powerpc32/dl-machine.h
38999 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39000 * sysdeps/s390/s390-32/dl-machine.h
39001 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39002 * sysdeps/sparc/sparc32/dl-machine.h
39003 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39004 * sysdeps/sparc/sparc64/dl-machine.h
39005 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39007 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39009 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39010 undefined symbol errors.
39012 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39015 2012-04-05 Michael Matz <matz@suse.de>
39018 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39020 2012-04-05 Andreas Jaeger <aj@suse.de>
39023 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39026 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39028 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39029 which ROUND is no valid rounding mode.
39031 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39033 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39035 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39037 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39039 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39040 an exception using FPU order intentionally.
39042 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39044 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39045 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39046 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39047 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39049 2012-04-05 Simon Josefsson <simon@josefsson.org>
39052 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39053 EINVAL when BUFLEN is too smal.
39055 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39058 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39059 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39061 2012-04-03 Andreas Jaeger <aj@suse.de>
39064 * manual/setjmp.texi (System V contexts): Fix sentence.
39067 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39068 New macro for this case.
39069 [!__GNUC__] (__bswap_64): New inline function for this case.
39070 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39071 * bits/byteswap.h: Likewise.
39072 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39073 ull, guard with __GLIBC_HAVE_LONG_LONG.
39075 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39076 __GLIBC_HAVE_LONG_LONG.
39078 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39079 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39081 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39084 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39085 inptr and inend, rather than using last_ch.
39087 2012-04-02 David S. Miller <davem@davemloft.net>
39089 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39090 * stdio-common/printf-parse.h (read_int): Change return type to
39091 'int', return -1 on INT_MAX overflow.
39092 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39093 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39094 overflows INT_MAX. Check for overflow of in-format-string precision
39095 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39096 SIZE_MAX not INT_MAX for integer overflow test.
39097 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39098 skip the construct in the format string but do not record anything.
39099 * stdio-common/bug22.c: Adjust to test both width/prevision
39100 INT_MAX overflow as well as total length INT_MAX overflow. Check
39101 explicitly for proper errno values.
39103 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39105 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39107 * string/test-strcmp.c [! WIDE]: Likewise.
39108 * time/tst-mktime2.c: Likewise for INT_MAX.
39109 * string/test-string.h: #include <sys/param.h> for MIN.
39111 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39112 * sysdeps/i386/init-first.c (init): Likewise.
39113 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39114 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39115 * sysdeps/sh/init-first.c (init): Likewise.
39117 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39119 * po/ru.po: Update from translation team.
39120 * po/vi.po: Likewise.
39122 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39124 * resolv/nss_dns/dns-host.c: Merge copyright years.
39126 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39129 Optimize memcpy with prefetch if
39130 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39131 src, dst pointers have unequal 16 byte alignments.
39133 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39136 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39137 from a CNAME entry and return the minimum ttl for the query.
39138 (gaih_getanswer_slice): Likewise.
39140 2012-03-30 Jeff Law <law@redhat.com>
39142 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39144 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39145 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39147 * resolv/nss_dns/dns-host.c: Update copyright year.
39149 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39151 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39152 requests to save a system call. Fix check that all bytes are sent.
39154 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39155 comments for sendmmsg.
39157 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39160 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39161 with only 1 character between 0x0041 and 0x01b0.
39162 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39163 * wcsmbs/tst-mbsnrtowcs.c: New file.
39165 2012-03-29 David S. Miller <davem@davemloft.net>
39167 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39168 small copies by hand.
39170 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39173 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39174 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39177 2012-03-28 David S. Miller <davem@davemloft.net>
39179 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39180 that branches into memcpy.
39181 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39184 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39187 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39188 implementation too.
39189 * sysdeps/sparc/mempcpy.S: New file.
39191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39192 the IFUNC routine in the libc case.
39193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39195 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39196 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39197 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39198 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39199 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39200 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39201 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39202 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39204 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39205 loop to 256 bytes instead of 64 bytes and fix test signedness.
39207 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39208 * sysdeps/sparc/sparc32/Makefile: rather than here...
39209 * sysdeps/sparc/sparc64/Makefile: and here.
39211 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39213 * malloc/mallocbug.c: Avoid warnings about unused variables.
39215 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39218 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39219 in the right place. Discard and retry query if response is
39220 larger than input buffer size.
39222 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39228 x for large integer exponent.
39229 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39230 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39231 sign of result as needed afterwards.
39232 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39233 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39234 result for underflowing pow the same as for overflow.
39235 (__kernel_standard_l): Handle powl overflow and underflow here
39236 rather than calling __kernel_standard.
39237 * math/libm-test.inc (pow_test): Add more tests.
39252 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39253 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39254 (__kernel_standard_l): New function.
39255 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39257 * math/w_acosl.c (__acosl): Likewise.
39258 * math/w_asinl.c (__asinl): Likewise.
39259 * math/w_atan2l.c (__atan2l): Likewise.
39260 * math/w_atanhl.c (__atanhl): Likewise.
39261 * math/w_coshl.c (__coshl): Likewise.
39262 * math/w_exp10l.c (__exp10l): Likewise.
39263 * math/w_exp2l.c (__exp2l): Likewise.
39264 * math/w_fmodl.c (__fmodl): Likewise.
39265 * math/w_hypotl.c (__hypotl): Likewise.
39266 * math/w_j0l.c (__j0l, __y0l): Likewise.
39267 * math/w_j1l.c (__j1l, __y1l): Likewise.
39268 * math/w_jnl.c (__jnl, __ynl): Likewise.
39269 * math/w_lgammal.c (__lgammal): Likewise.
39270 * math/w_log10l.c (__log10l): Likewise.
39271 * math/w_log2l.c (__log2l): Likewise.
39272 * math/w_logl.c (__logl): Likewise.
39273 * math/w_powl.c (__powl): Likewise.
39274 * math/w_remainderl.c (__remainderl): Likewise.
39275 * math/w_scalbl.c (sysv_scalbl): Likewise.
39276 * math/w_sinhl.c (__sinhl): Likewise.
39277 * math/w_sqrtl.c (__sqrtl): Likewise.
39278 * math/w_tgammal.c (__tgammal): Likewise.
39279 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39280 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39281 * math/libm-test.inc (acos_test): Add more tests.
39282 (acosh_test): Likewise.
39283 (asin_test): Likewise.
39284 (atanh_test): Likewise.
39285 (exp_test): Likewise.
39286 (exp10_test): Likewise.
39287 (exp2_test): Likewise.
39288 (expm1_test): Likewise.
39289 (lgamma_test): Likewise.
39290 (log_test): Likewise.
39291 (log10_test): Likewise.
39292 (log1p_test): Likewise.
39293 (log2_test): Likewise.
39294 (pow_test): Do not allow some spurious overflow exceptions.
39295 (sqrt_test): Add more tests.
39296 (tgamma_test): Likewise.
39297 (y0_test): Likewise.
39298 (y1_test): Likewise.
39299 (yn_test): Likewise.
39301 2012-03-27 Anton Blanchard <anton@samba.org>
39303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39305 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39309 2012-03-27 David S. Miller <davem@davemloft.net>
39311 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39313 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39314 have-as-vis3 check.
39316 2012-03-27 Andreas Jaeger <aj@suse.de>
39318 * sysdeps/x86_64/elf/configure.in: Moved to ...
39319 * sysdeps/x86_64/configure.in: ... here.
39320 * sysdeps/x86_64/elf/start.S: Moved to ...
39321 * sysdeps/x86_64/start.S: ... here.
39322 * sysdeps/x86_64/elf/configure: Delete.
39324 * sysdeps/x86_64/configure.in: Merge contents from
39325 sysdeps/i386/configure.in (without i686 check).
39327 * sysdeps/i386/elf/Versions: Merge into ...
39328 * sysdeps/i386/Versions: ... this.
39329 * sysdeps/i386/elf/Versions: Delete file.
39330 * sysdeps/i386/elf/start.S: Moved to ...
39331 * sysdeps/i386/start.S: ...here.
39332 * sysdeps/i386/elf/configure.in: Merge into...
39333 * sysdeps/i386/configure.in: ...here.
39334 * sysdeps/i386/elf/configure.in: Delete file.
39335 * sysdeps/i386/elf/configure: Delete file.
39337 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39338 * debug/backtracesyms.c: ... here.
39339 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39340 * debug/backtracesymsfd.c: ... here.
39341 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39342 * sysdeps/generic/ifunc-sel.h: ... here.
39344 * sysdeps/unix/i386/start.c: Delete file.
39345 * sysdeps/unix/sparc/start.c: Delete file.
39346 * sysdeps/unix/start.c: Delete file.
39348 * sysdeps/sh/elf/configure.in: Moved to ...
39349 * sysdeps/sh/configure.in: ... here.
39350 * sysdeps/sh/elf/start.S: Moved to ...
39351 * sysdeps/sh/start.S: ... here.
39352 * sysdeps/sh/elf/configure: Delete file.
39354 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39355 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39356 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39357 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39358 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39359 * sysdeps/powerpc/powerpc64/start.S: here.
39360 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39361 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39362 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39363 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39364 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39366 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39367 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39368 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39369 * sysdeps/powerpc/powerpc32/start.S: ... here.
39370 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39371 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39372 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39374 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39375 * sysdeps/powerpc/ifunc-sel.h: ... here.
39376 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39377 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39379 * sysdeps/sparc/elf/configure.in: Moved to ...
39380 * sysdeps/sparc/configure.in: ... here.
39381 * sysdeps/sparc/elf/configure: Delete file.
39382 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39383 * sysdeps/sparc/sparc32/start.S: ... here.
39384 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39385 * sysdeps/sparc/sparc64/start.S: ... here.
39386 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39387 * sysdeps/sparc/sparc32/Makefile: ... this.
39388 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39389 * sysdeps/sparc/sparc64/Makefile: ... this.
39391 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39392 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39393 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39394 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39395 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39396 * sysdeps/s390/s390-32/setjmp.S: ... here.
39397 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39398 * sysdeps/s390/s390-32/configure.in: ... here.
39399 * sysdeps/s390/s390-32/elf/configure: Delete file.
39400 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39401 * sysdeps/s390/s390-32/start.S: ... here.
39403 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39404 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39405 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39406 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39407 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39408 * sysdeps/s390/s390-64/setjmp.S: ... here.
39409 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39410 * sysdeps/s390/s390-64/configure.in: ... here
39411 * sysdeps/s390/s390-64/elf/configure: Delete file.
39412 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39413 * sysdeps/s390/s390-64/start.S: ... here.
39414 * sysdeps/s390/s390-64/elf/configure: Delete.
39416 * configure.in: Remove support for elf directories in sysdeps.
39418 * configure: Regenerated.
39419 * sysdeps/i386/configure: Regenerated.
39420 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39421 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39422 * sysdeps/s390/s390-32/configure: Regenerated.
39423 * sysdeps/s390/s390-64/configure: Regenerated.
39424 * sysdeps/sh/configure: Regenerated.
39425 * sysdeps/sparc/configure: Regenerated.
39426 * sysdeps/x86_64/configure: Regenerated.
39428 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39433 denormal result into account.
39435 2012-03-25 Roland McGrath <roland@hack.frob.com>
39437 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39438 Reported by Allan McRae <allan@archlinux.org>.
39440 2012-03-23 Jeff Law <law@redhat.com>
39442 * nss/getnssent.c (__nss_getent): Fix typo.
39444 2012-03-23 David S. Miller <davem@davemloft.net>
39446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39448 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39450 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39451 to pad to uint64_t for each field.
39452 (dl_tls_index): Replace unsigned long with uint64_t.
39454 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39455 Paul Pluzhnikov <ppluzhnikov@google.com>
39458 * grp/Makefile (otherlibs): Don't set it.
39459 * inet/Makefile (otherlibs): Likewise.
39460 * login/Makefile (otherlibs): Likewise.
39461 * nscd/Makefile (otherlibs): Likewise.
39462 * posix/Makefile (otherlibs): Likewise.
39463 * pwd/Makefile (otherlibs): Likewise.
39464 * rt/Makefile (otherlibs): Likewise.
39465 * sunrpc/Makefile (otherlibs): Likewise.
39466 * nss/Makefile (otherlibs): Likewise.
39467 Add libnss_files to routines and static-only-routines.
39468 ($(objpfx)getent): Remove rule.
39469 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39470 static-only-routines.
39472 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39475 * math/s_cexp.c: Include <float.h>.
39476 (__cexp): Handle exp result overflowing not necessarily
39477 overflowing both real and imaginary parts of result.
39478 * math/s_cexpf.c: Likewise.
39479 * math/s_cexpl.c: Likewise.
39480 * math/libm-test.inc (cexp_test): Add more tests.
39481 * sysdeps/i386/fpu/libm-test-ulps: Update.
39482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39484 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39486 * include/link.h (ELFW): New macro.
39487 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39488 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39490 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39492 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39495 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39497 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39499 (struct La_x32_retval): Likewise.
39501 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39503 * sysdeps/x86_64/preconfigure.in: New file.
39504 * sysdeps/x86_64/preconfigure: New generated file.
39506 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39509 * math/e_exp2l.c: Include <float.h>.
39510 (__ieee754_exp2l): Handle overflow and underflow cases
39511 separately. Only pass fractional part of argument to
39513 * math/libm-test.inc (exp2_test): Add more tests.
39515 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39516 negating x to take absolute value.
39517 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39522 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39523 computing low part if x was negated.
39524 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39526 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39528 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39529 la_x32_gnu_pltexit.
39530 (pltexit): Cast int_retval to ptrdiff_t.
39531 * elf/tst-auditmod3b.c: Likewise.
39532 * elf/tst-auditmod4b.c: Likewise.
39533 * elf/tst-auditmod5b.c: Likewise.
39534 * elf/tst-auditmod6b.c: Likewise.
39535 * elf/tst-auditmod6c.c: Likewise.
39536 * elf/tst-auditmod7b.c: Likewise.
39538 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39539 and x32_gnu_pltexit.
39541 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39542 __ELF_NATIVE_CLASS.
39543 (La_x32_regs): New macro.
39544 (La_x32_retval): Likewise.
39545 (la_x32_gnu_pltenter): New function prototype.
39546 (la_x32_gnu_pltexit): Likewise.
39548 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39555 * configure.in (libc_cv_cc_nofma): Check for option to disable
39556 generation of FMA instructions.
39557 * configure: Regenerate.
39558 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39559 * sysdeps/ieee754/dbl-64/Makefile: New file.
39560 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39561 Remove brandred-fma4.
39562 (CFLAGS-brandred-fma4.c): Remove.
39563 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39564 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39566 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39569 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39571 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39572 LLONG_MAX != LONG_MAX.
39573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39574 (_fitoa_word): Likewise.
39575 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39576 LLONG_MAX != LONG_MAX.
39577 * stdio-common/_itowa.h: Include <_itoa.h>.
39578 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39579 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39580 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39581 only if not defined.
39582 (_ITOA_WORD_TYPE): Likewise.
39583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39584 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39586 2012-03-21 David S. Miller <davem@davemloft.net>
39588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39590 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39592 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39593 of x86_64 when setting libc_cv_slibdir, libdir and
39595 * sysdeps/unix/sysv/linux/configure: Regenerated.
39597 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39599 * manual/lang.texi (Old Varargs): Remove section.
39600 (How Variadic): Update menu.
39601 (va_start): Do not mention varargs.h.
39603 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39604 Joseph Myers <joseph@codesourcery.com>
39606 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39608 * configure: Regenerated.
39610 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39612 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39613 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39616 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39619 * Makefile (files-for-dist): Remove NOTES.
39620 (NOTES): Remove rule.
39621 * README: Don't refer to NOTES.
39622 * manual/creature.texi: Don't include macros.texi.
39623 * manual/intro.texi (creature.texi): Remove comment referring to
39626 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39627 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39628 * configure: Regenerated.
39629 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39630 LIBC_TRY_CC_OPTION.
39631 (libc_cv_as_i686): Likewise.
39632 (libc_cv_cc_avx): Likewise.
39633 (libc_cv_cc_sse2avx): Likewise.
39634 (libc_cv_cc_fma4): Likewise.
39635 (libc_cv_cc_novzeroupper): Likewise.
39636 * sysdeps/i386/configure: Regenerated.
39639 * sysdeps/i386/fpu/s_cexp.S: Remove.
39640 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39641 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39642 * math/libm-test.inc (cexp_test): Add more tests.
39643 * sysdeps/i386/fpu/libm-test-ulps: Update.
39644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39646 2012-03-21 Allan McRae <allan@archlinux.org>
39648 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39650 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39653 * math/w_exp2.c: Do not include <float.h>.
39654 (o_threshold, u_threshold): Remove.
39655 (__exp2): Calculate result before checking finiteness and calling
39657 * math/w_exp2f.c: Likewise.
39658 * math/w_exp2l.c: Likewise.
39659 * math/libm-test.inc (exp2_test): Require overflow exception for
39663 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39664 range of signed 64-bit integers before using fistpll. Remove
39665 checks for whether integers fit in mantissa bits.
39666 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39667 the range of signed 32-bit integers before using fistpl. Remove
39668 checks for whether integers fit in mantissa bits.
39669 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39670 (__ieee754_powl): Test for y outside the range of signed 64-bit
39671 integers before using fistpll. Reduce 64-bit values to 63-bit
39673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39674 divide-by-zero is raised for zero to large negative powers.
39675 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39676 (__ieee754_powl): Test for y outside the range of signed 64-bit
39677 integers before using fistpll. Reduce 64-bit values to 63-bit
39679 * math/libm-test.inc (pow_test): Add more tests.
39681 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39683 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39684 <stdio-common/_itoa.h>.
39685 * debug/segfault.c: Likewise.
39686 * elf/dl-cache.c: Likewise.
39687 * elf/dl-minimal.c: Likewise.
39688 * elf/dl-misc.c: Likewise.
39689 * elf/dl-sysdep.c: Likewise.
39690 * elf/dl-version.c: Likewise.
39691 * elf/rtld.c: Likewise.
39692 * hurd/hurdsock.c: Likewise.
39693 * hurd/lookup-retry.c: Likewise.
39694 * malloc/malloc.c: Likewise.
39695 * malloc/mtrace.c: Likewise.
39696 * nscd/nscd_getgr_r.c: Likewise.
39697 * nscd/nscd_getpw_r.c: Likewise.
39698 * nscd/nscd_getserv_r.c: Likewise.
39699 * posix/getopt_init.c: Likewise.
39700 * posix/wordexp.c: Likewise.
39701 * stdio-common/_itoa.c: Likewise.
39702 * stdio-common/printf_fphex.c: Likewise.
39703 * stdio-common/vfprintf.c: Likewise.
39704 * string/_strerror.c: Likewise.
39705 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39706 * sysdeps/i386/i686/hp-timing.h: Likewise.
39707 * sysdeps/mach/_strerror.c: Likewise.
39708 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39709 * sysdeps/mach/hurd/sethostid.c: Likewise.
39710 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39711 * sysdeps/mach/xpg-strerror.c: Likewise.
39712 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39713 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39714 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39715 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39716 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39717 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39718 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39719 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39720 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39721 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39722 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39723 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39724 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39725 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39726 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39727 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39728 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39729 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39730 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39731 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39732 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39734 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39736 * stdio-common/_itoa.h: Moved to ...
39737 * sysdeps/generic/_itoa.h: Here.
39739 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39741 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39742 instead of "_itoa.h" and "_itowa.h".
39743 * stdio-common/vfprintf.: Likewise.
39745 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39749 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39750 (__signbit): Likwise.
39751 (llrintf): Likwise.
39754 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39756 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39759 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39761 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39762 OVERFLOW_EXCEPTION_OK.
39763 * math/libm-test.inc ("Philosophy"): Update comment about
39765 (OVERFLOW_EXCEPTION): Define.
39766 (OVERFLOW_EXCEPTION_OK): Likewise.
39767 (INVALID_EXCEPTION_OK): Renumber.
39768 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39769 (IGNORE_ZERO_INF_SIGN): Likewise.
39770 (test_exceptions): Handle FE_OVERFLOW.
39771 (exp10_test): Expect overflow exceptions.
39772 (exp2_test): Likewise.
39773 (expm1_test): Likewise.
39774 (nextafter_test): Likewise.
39775 (pow_test): Likewise.
39776 (scalbn_test): Likewise.
39777 (scalbln_test): Likewise.
39779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39781 * sysdeps/x86_64/bits/atomic.h
39782 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39784 (atomic_exchange_acq): Likewise.
39785 (__arch_exchange_and_add_body): Likewise.
39786 (__arch_add_body): Likewise.
39787 (atomic_add_negative): Likewise.
39788 (atomic_add_zero): Likewise.
39790 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39792 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39793 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39795 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39797 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39798 Check __x86_64__ instead of __WORDSIZE.
39800 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39802 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39804 2012-03-19 David S. Miller <davem@davemloft.net>
39806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39808 * sysdeps/sparc/fpu/fenv_private.h: New file.
39809 * sysdeps/sparc/fpu/math_private.h: Use it.
39810 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39812 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39813 (libc_feholdexcept_setroundl): Remove.
39814 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39816 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39817 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39819 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39821 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39822 int64_t instead of long int.
39823 (INSERT_WORDS64): Likwise.
39825 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39827 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39828 _Unwind_GetCFA return to _Unwind_Ptr first.
39830 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39833 * math/s_clog.c: Include <float.h>.
39834 (__clog): Scale large or subnormal inputs.
39835 * math/s_clogf.c: Likewise.
39836 * math/s_clogl.c: Likewise.
39837 * math/s_clog10.c: Include <float.h>.
39838 (M_LOG10_2): Define.
39839 (__clog10): Scale large or subnormal inputs.
39840 * math/s_clog10f.c: Likewise.
39841 * math/s_clog10l.c: Likewise.
39842 * math/libm-test.inc (clog_test): Add more tests.
39843 (clog10_test): Likewise.
39844 * sysdeps/i386/fpu/libm-test-ulps: Update.
39845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39848 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39850 * math/libm-test.inc (atan2_test): Add another test.
39852 * Makerules (common-objdir-compile): Remove.
39853 * sysdeps/unix/Makefile (config-generated): Do not add
39854 $(unix-generated) to variable.
39855 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39856 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39858 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39860 [generic bits/local_lim.h] (before-compile): Do not append to
39862 [generic bits/local_lim.h] (common-generated): Likewise.
39863 [generic sys/param.h] (before-compile): Do not append to variable.
39864 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39865 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39866 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39867 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39869 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39870 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39871 [generic sys/param.h] ($(addprefix
39872 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39873 [generic sys/param.h] (common-generated): Do not append to
39875 [generic sys/param.h] (sysdep_headers): Likewise.
39876 [generic bits/errno.h] (before-compile): Do not append to
39878 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39880 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39881 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39882 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39883 [generic bits/errno.h] (common-generated): Do not append to
39885 [generic bits/ioctls.h] (before-compile): Do not append to
39887 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39889 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39890 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39891 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39893 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39894 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39895 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39896 [generic bits/ioctls.h] (common-generated): Do not append to
39898 [generic sys/syscall.h] (syscall.h): Remove variable.
39899 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39901 [generic sys/syscall.h] (before-compile): Do not append to
39903 [generic sys/syscall.h] (common-generated): Likewise.
39904 * sysdeps/unix/errnos-tmpl.c: Remove file.
39905 * sysdeps/unix/errnos.awk: Likewise.
39906 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39907 * sysdeps/unix/ioctls.awk: Likewise.
39908 * sysdeps/unix/mk-local_lim.c: Likewise.
39909 * sysdeps/unix/snarf-ioctls: Likewise.
39911 2012-03-19 Richard Henderson <rth@twiddle.net>
39913 * sysdeps/i386/fpu/fenv_private.h: New file.
39914 * sysdeps/i386/fpu/math_private.h: Use it.
39915 (math_opt_barrier, math_force_eval): Remove.
39916 (libc_feholdexcept_setround_53bit): Remove.
39917 (libc_feupdateenv_53bit): Remove.
39918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39919 (math_opt_barrier, math_force_eval): Remove.
39920 (libc_feholdexcept): Remove.
39921 (libc_feholdexcept_setround): Remove.
39922 (libc_fetestexcept, libc_fesetenv): Remove.
39923 (libc_feupdateenv_test): Remove.
39924 (libc_feupdateenv, libc_feholdsetround): Remove.
39925 (libc_feresetround): Remove.
39927 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39928 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39930 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39931 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39932 (libc_feupdateenv_testl): New.
39933 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39934 (libc_feupdateenv_testf): New.
39935 (libc_feupdateenv): Use libc_feupdateenv_test.
39936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39939 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39940 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39941 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39942 (libc_feresetround_noex): New.
39943 (libc_feresetround_noexf): New.
39944 (libc_feresetround_noexl): New.
39945 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39946 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39947 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39948 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39951 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39953 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39954 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39955 SET_RESTORE_ROUND_NOEX.
39956 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39957 SET_RESTORE_ROUND_NOEXF.
39958 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39959 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39960 (libc_feholdsetroundf): New.
39961 (libc_feresetround, libc_feresetroundf): New.
39963 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39964 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39965 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39967 * sysdeps/generic/math_private.h: Include <fenv.h>.
39968 (default_libc_feholdexcept): New.
39969 (default_libc_feholdexcept_setround): New.
39970 (default_libc_fesetenv, default_libc_feupdateenv): New.
39971 (libc_feholdexcept): Only define if undefined.
39972 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39973 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39974 (libc_feholdexcept_setroundl): Likewise.
39975 (libc_feholdexcept_setround_53bit): Likewise.
39976 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39977 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39978 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39979 (libc_feupdateenv_53bit): Likewise.
39980 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39981 (libc_feholdexcept): Convert from macro to inline function.
39982 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39983 (libc_fesetenv, libc_feupdateenv): Likewise.
39985 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39986 not previously defined.
39987 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39988 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39989 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39990 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39991 * sysdeps/ieee754/flt-32/math_private.h: New file.
39992 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39993 math_private.h below SET_FLOAT_WORD.
39994 (__isnan, __isinf_ns, __finite): Remove.
39995 (__isnanf, __isinf_nsf, __finitef): Remove.
39997 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40001 2012-03-17 David S. Miller <davem@davemloft.net>
40004 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40007 2012-03-16 David S. Miller <davem@davemloft.net>
40009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40013 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40015 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40016 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40017 sysdep_routines when subdir is sysvipc.
40018 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40019 __getshmlba helper.
40021 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40023 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40025 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40028 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40030 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40031 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40032 (__lround): Renamed to ...
40033 (__llround): This. Replace long int with long long int.
40034 Define lround functions as aliases of llround functions.
40035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40037 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40039 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40040 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40041 adresses to uintptr_t. Replace "long int" and "unsigned long
40042 int" with "greg_t" on va_arg.
40044 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40046 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40047 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40049 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40050 Move e_machine check before EI_CLASS check. Handle x32
40051 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40052 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40053 SKIP_EM_IA_64 and include
40054 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40056 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40057 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40058 (add_system_dir): New macro.
40060 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40061 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40063 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40074 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40076 * math/w_j0f.c (j0f): Likewise.
40078 * math/w_j0l.c (__j0l): Likewise.
40080 * math/w_j1.c (j1): Likewise.
40082 * math/w_j1f.c (j1f): Likewise.
40084 * math/w_j1l.c (__j1l): Likewise.
40086 * math/w_jn.c (jn): Likewise.
40088 * math/w_jnf.c (jnf): Likewise.
40090 * math/w_jnl.c (__jnl): Likewise.
40092 * math/libm-test.inc (j0_test): Add more tests.
40093 (j1_test): Likewise.
40094 (jn_test): Likewise. Add trailing semicolon to existing test.
40095 (y0_test): Likewise.
40096 (y1_test): Likewise.
40097 * sysdeps/i386/fpu/libm-test-ulps: Update.
40098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40102 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40103 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40104 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40105 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40106 (__tanl): Set errno for infinite argument.
40107 * sysdeps/i386/fpu/mptan.c: Remove.
40108 * sysdeps/i386/fpu/s_tan.S: Likewise.
40109 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40110 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40111 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40112 * math/libm-test.inc (tan_test): Add more tests and enable more
40113 tests for double and long double.
40114 * sysdeps/i386/fpu/libm-test-ulps: Update.
40115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40117 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40119 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40120 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40122 2012-03-16 Roland McGrath <roland@hack.frob.com>
40124 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40125 * configure.in: Use it for both main tree and add-ons.
40126 * configure: Regenerated.
40128 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40130 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40132 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40134 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40138 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40139 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40144 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40146 != 0 for prec == 2.
40147 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40148 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40149 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40150 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40151 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40152 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40153 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40154 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40155 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40156 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40157 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40158 * math/libm-test.inc (cos_test): Add more tests and enable more
40159 tests for long double.
40160 (sin_test): Likewise.
40161 (sincos_test): Likewise.
40162 * sysdeps/i386/fpu/libm-test-ulps: Update.
40163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40165 2012-03-16 David S. Miller <davem@davemloft.net>
40167 * sysdeps/sparc/fpu/math_private.h: New file.
40169 2012-03-15 David S. Miller <davem@davemloft.net>
40171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40181 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40185 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40186 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40188 * sysdeps/sparc/sparc-ifunc.h: New file.
40189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40234 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40236 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40240 2012-03-15 Andreas Jaeger <aj@suse.de>
40243 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40244 ieee754/flt-32 implementation for sin, cos and sincos.
40245 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40246 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40247 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40248 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40249 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40250 ieee754/flt-32 implementation for tan.
40252 * math/libm-test.inc (cos_test): Enable some large input tests for
40254 (sin_test): Likewise.
40255 (sincos_test): Likewise.
40256 (tan_test): Add tests for large input.
40258 * sysdeps/i386/fpu/libm-test-ulps: Update.
40260 2012-03-15 Andreas Jaeger <aj@suse.de>
40263 * math/libm-test.inc (cos_test): Add more test cases.
40264 (sin_test): Likewise.
40265 (sincos_test): Likewise.
40267 2012-03-15 Andreas Jaeger <aj@suse.de>
40270 * math/libm-test.inc (cos_test): Add a test case for large input
40272 (sin_test): Likewise.
40273 (sincos_test): Likewise.
40275 2012-03-15 Andreas Jaeger <aj@suse.de>
40276 Joseph Myers <joseph@codesourcery.com>
40279 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40280 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40281 * sysdeps/i386/fpu/branred.c: Likewise.
40282 * sysdeps/i386/fpu/dosincos.c: Likewise.
40283 * sysdeps/i386/fpu/mpa.c: Likewise.
40284 * sysdeps/i386/fpu/s_cos.S: Likewise.
40285 * sysdeps/i386/fpu/s_sin.S: Likewise.
40286 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40287 * sysdeps/i386/fpu/sincos32.c: Likewise.
40289 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40291 (libc_feupdateenv_53bit): Define.
40292 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40294 (libc_feupdateenv_53bit): Define.
40296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40297 53 bit (without extend i386 double precision).
40299 * math/libm-test.inc (sincos_test): Add tests for large input.
40303 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40305 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40309 2012-03-15 David S. Miller <davem@davemloft.net>
40311 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40312 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40313 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40314 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40339 fmin/fmax sysdep routines.
40340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40342 2012-03-14 David S. Miller <davem@davemloft.net>
40344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40371 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40416 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40421 * sysdeps/sparc/configure.in: New file.
40422 * sysdeps/sparc/configure: Generate.
40423 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40424 * configure: Regenerate.
40425 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40426 * config.make.in (have-as-vis3): New.
40427 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40428 available use -Av9d instead of -Av9a.
40429 * sysdeps/sparc/sparc64/Makefile: Likewise.
40430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40445 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40446 fzeros/fnegs to load 0x80000000 into a float register instead of
40448 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40450 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40454 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40455 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40456 ($(inst_includedir)/bits/syscall.h): Remove rule.
40457 ($(objpfx)bits/syscall.d): Include instead of
40458 $(objpfx)syscall-list.d.
40459 (generated): Change syscall-list.h and syscall-list.d to
40460 bits/syscall.h and bits/syscall.d.
40462 2012-03-14 Roland McGrath <roland@hack.frob.com>
40465 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40467 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40470 * math/s_csqrt.c: Include <float.h>.
40471 (__csqrt): Scale large or subnormal inputs.
40472 * math/s_csqrtf.c: Likewise.
40473 * math/s_csqrtl.c: Likewise.
40474 * math/libm-test.inc (csqrt_test): Add more tests.
40475 * sysdeps/i386/fpu/libm-test-ulps: Update.
40476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40479 * math/libm-test.inc (hypot_test): Add more tests.
40481 2012-03-13 David S. Miller <davem@davemloft.net>
40484 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40485 double-precision for the calculation instead of scaling.
40487 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40489 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40490 manipulate bits before adding and subtracting TWO52[sx].
40491 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40492 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40494 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40496 2012-03-13 David S. Miller <davem@davemloft.net>
40498 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40499 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40501 rtld-global-offsets.h
40502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40504 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40507 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40509 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40510 'err' in the ifdef scope in which it is actually used.
40512 * nss/nss_db/db-init.c: Include string.h
40514 2012-03-12 David S. Miller <davem@davemloft.net>
40516 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40517 masking out of the most significant byte of random value used.
40518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40519 Fix coding style in previous change.
40521 * sysdeps/unix/sysv/linux/kernel-features.h
40522 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40523 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40525 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40528 2012-03-11 David S. Miller <davem@davemloft.net>
40530 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40531 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40532 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40533 for 'resultvar' otherwise things get truncated on 64-bit.
40535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40536 Fix masking out of the most significant byte of random value used.
40538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40540 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40544 2012-03-09 David S. Miller <davem@davemloft.net>
40546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40547 variables with appropriate CPP guards.
40548 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40549 from the frame pointer, not the stack pointer. Correct layout
40550 comments. Fix test on resulting framesize and the management of
40551 the outregs buffer for pltexit. Preserve floating point return
40552 values across _dl_call_pltexit call.
40553 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40554 framesize and the management of the outregs buffer for pltexit.
40555 Preserve floating point return values across _dl_call_pltexit
40557 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40558 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40559 (la_sparc64_gnu_pltexit): New functions.
40560 (print_exit): Fix format string for return register value.
40562 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40564 * sunrpc/Makefile (others): Add rpcgen.
40565 ($(objpfx)rpcgen): Remove special build rule and dependency on
40567 * sunrpc/rpcgen.c: New file.
40569 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40572 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40573 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40574 * sysdeps/i386/crti.S: Likewise.
40575 * sysdeps/i386/crtn.S: Likewise.
40576 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40577 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40578 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40579 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40580 * sysdeps/sh/crti.S: Likewise.
40581 * sysdeps/sh/crtn.S: Likewise.
40582 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40585 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40587 * locale/programs/locfile-kw.gperf: Likewise.
40588 * locale/programs/charmap-kw.h: Regenerated.
40589 * locale/programs/locfile-kw.h: Likewise.
40592 * intl/plural.y: Replace FSF snail mail address with URL.
40593 * intl/plural.c: Regenerated.
40595 2012-03-09 Richard Henderson <rth@twiddle.net>
40597 * include/math_private.h: Remove file.
40598 * math/math_private.h: Move file ...
40599 * sysdeps/generic/math_private.h: ... here.
40601 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40602 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40603 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40605 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40606 and <math_private.h>.
40607 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40608 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40609 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40610 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40611 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40612 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40613 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40615 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40616 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40618 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40619 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40620 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40621 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40622 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40623 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40624 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40625 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40626 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40628 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40629 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40631 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40632 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40633 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40634 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40637 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40639 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40640 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40641 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40642 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40644 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40645 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40647 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40649 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40650 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40651 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40652 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40653 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40654 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40655 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40656 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40657 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40658 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40659 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40660 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40661 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40662 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40663 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40664 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40665 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40666 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40668 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40670 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40671 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40672 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40673 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40674 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40675 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40676 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40677 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40678 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40680 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40681 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40684 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40686 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40687 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40688 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40689 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40690 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40691 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40692 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40693 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40694 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40695 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40696 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40697 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40698 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40699 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40700 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40701 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40702 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40703 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40704 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40705 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40706 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40707 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40708 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40709 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40710 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40711 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40712 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40713 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40714 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40715 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40716 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40717 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40718 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40719 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40720 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40721 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40722 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40723 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40724 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40725 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40726 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40727 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40728 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40729 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40730 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40731 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40732 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40733 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40734 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40735 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40736 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40737 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40739 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40740 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40741 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40742 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40743 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40744 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40745 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40746 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40747 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40748 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40749 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40750 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40751 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40752 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40753 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40754 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40755 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40756 * sysdeps/ieee754/k_standard.c: Likewise.
40757 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40758 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40759 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40760 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40761 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40764 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40767 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40769 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40770 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40771 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40772 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40773 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40775 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40780 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40785 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40787 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40788 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40789 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40790 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40791 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40792 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40793 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40794 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40795 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40796 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40797 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40798 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40799 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40800 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40802 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40803 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40805 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40806 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40808 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40809 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40810 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40811 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40812 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40813 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40814 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40815 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40816 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40817 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40818 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40819 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40820 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40821 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40822 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40823 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40824 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40825 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40826 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40827 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40829 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40830 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40831 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40833 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40834 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40835 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40836 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40837 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40838 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40839 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40840 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40842 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40843 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40847 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40848 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40849 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40850 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40851 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40852 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40853 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40854 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40856 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40858 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40859 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40860 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40861 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40867 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40868 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40869 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40871 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40872 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40873 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40874 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40876 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40877 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40878 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40879 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40881 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40882 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40883 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40884 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40885 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40886 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40887 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40888 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40889 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40890 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40892 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40893 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40894 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40895 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40896 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40897 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40898 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40899 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40900 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40903 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40904 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40905 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40906 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40907 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40909 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40910 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40911 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40912 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40913 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40914 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40915 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40916 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40917 * sysdeps/ieee754/s_lib_version.c: Likewise.
40918 * sysdeps/ieee754/s_matherr.c: Likewise.
40919 * sysdeps/ieee754/s_signgam.c: Likewise.
40920 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40921 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40922 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40923 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40924 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40925 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40926 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40927 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40928 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40929 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40930 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40931 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40932 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40933 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40934 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40935 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40936 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40937 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40938 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40942 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40944 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40945 * sunrpc/rpc_main.c: Likewise.
40946 * sunrpc/rpc_svcout.c: Likewise.
40948 2012-03-09 David S. Miller <davem@davemloft.net>
40950 * include/math_private.h: New file.
40952 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40954 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40955 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40956 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40957 from <bits/socket_type.h>.
40958 (enum __socket_type): Don't define here.
40959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40961 bits/socket_type.h.
40964 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40965 checking __USE_GNU.
40967 * Makerules ($(inst_includedir)/%.h): New rule.
40968 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40969 (install-others): Remove variable setting.
40970 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40972 2012-03-08 Richard Henderson <rth@twiddle.net>
40974 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40975 from macro to inline function; merge with the
40976 !__LIBC_INTERNAL_MATH_INLINES version.
40977 (__ieee754_sqrtf): Likewise.
40979 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40980 to inline function.
40981 (__rintf, __floor, __floorf): Likewise.
40983 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40984 macro to inline function.
40985 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40987 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40988 not <math/math_private.h>.
40990 2012-03-08 David S. Miller <davem@davemloft.net>
40992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40994 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40996 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40998 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41000 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41001 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41003 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41005 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41006 be defined individually, they must be defined as a block. Define
41007 S for printing a string instead of hidint the different by using a
41008 macro for adding the 'l'.
41009 * stdio-common/tst-fphex-wide.c: Adjust.
41011 2012-03-07 Marek Polacek <polacek@redhat.com>
41013 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41015 2012-03-08 Marek Polacek <polacek@redhat.com>
41018 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41019 * stdio-common/tst-fphex.c: Define a few macros to make the
41020 test reusable. Use them.
41021 * stdio-common/tst-fphex-wide.c: New file.
41023 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41026 * manual/macros.texi (gnusystems): New macro.
41027 (nongnusystems): Likewise.
41028 (gnulinuxhurdsystems): Likewise.
41029 (gnuhurdsystems): Likewise..
41030 (gnulinuxsystems): Likewise.
41031 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41032 variants of the GNU system, not "GNU system".
41033 * manual/conf.texi: Likewise.
41034 * manual/errno.texi: Likewise. Update example of errno macro
41036 * manual/filesys.texi: Likewise.
41037 (getumask): Document as specific to GNU/Hurd.
41038 * manual/install.texi: Likewise. Reword some references to
41040 * manual/intro.texi: Likewise.
41041 * manual/io.texi: Likewise.
41042 (File Name Portability): Detail which constraints are inapplicable
41043 to all GNU systems and which are only inapplicable to GNU/Hurd.
41044 * manual/job.texi: Likewise.
41045 * manual/llio.texi: Likewise.
41046 (O_NOCTTY): Document as present on GNU/Linux.
41047 * manual/maint.texi: Likewise.
41048 * manual/memory.texi: Likewise.
41049 * manual/pattern.texi: Likewise.
41050 * manual/pipe.texi: Likewise.
41051 * manual/process.texi: Likewise.
41052 * manual/resource.texi: Likewise.
41053 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41055 * manual/setjmp.texi: Likewise.
41056 * manual/signal.texi: Likewise.
41057 * manual/startup.texi: Likewise.
41058 * manual/stdio.texi: Likewise.
41059 * manual/terminal.texi: Likewise.
41060 (ONLCR): Document as POSIX.
41061 (OXTABS): Document availability on GNU/Linux as XTABS.
41062 (ONOEOT): Document availability separately from other bits.
41063 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41064 * manual/time.texi: Likewise.
41065 * manual/users.texi: Likewise.
41066 * INSTALL: Regenerated.
41067 * sysdeps/gnu/errlist.c: Regenerated.
41069 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41070 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41071 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41073 * configure: Regenerated.
41075 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41077 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41078 default includes instead of AC_HEADER_CHECK.
41079 * sysdeps/i386/configure: Regenerated.
41082 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41083 * math/s_cacoshf.c (__cacoshf): Likewise.
41084 * math/s_cacoshl.c (__cacoshl): Likewise.
41085 * math/s_casinh.c (__casinh): Set signs of result from argument.
41086 * math/s_casinhf.c (__casinhf): Likewise.
41087 * math/s_casinhl.c (__casinhl): Likewise.
41088 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41089 (casinh_test): Add more tests.
41090 * sysdeps/i386/fpu/libm-test-ulps: Update.
41091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41093 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41095 * po/zh_TW.po: Update from translation team.
41097 * login/Makefile (distribute): Remove variable.
41098 * catgets/Makefile: Likewise.
41099 * mach/Makefile: Likewise.
41100 * malloc/Makefile: Likewise.
41101 * misc/Makefile: Likewise.
41102 * iconv/Makefile: Likewise.
41103 * nscd/Makefile: Likewise.
41104 * hurd/Makefile: Likewise.
41105 * manual/Makefile: Likewise.
41106 * locale/Makefile: Likewise.
41107 * intl/Makefile: Likewise.
41108 * conform/Makefile: Likewise.
41109 * nss/Makefile: Likewise.
41110 * time/Makefile: Likewise.
41111 * soft-fp/Makefile: Likewise.
41112 * dirent/Makefile: Likewise.
41113 * gmon/Makefile: Likewise.
41114 * po/Makefile: Likewise.
41115 * rt/Makefile: Likewise.
41116 * socket/Makefile: Likewise.
41117 * math/Makefile: Likewise.
41118 * signal/Makefile: Likewise.
41119 * debug/Makefile: Likewise.
41120 * elf/Makefile: Likewise.
41121 * timezone/Makefile: Likewise.
41122 * stdlib/Makefile: Likewise.
41123 * iconvdata/Makefile: Likewise.
41124 * sunrpc/Makefile: Likewise.
41125 * io/Makefile: Likewise.
41126 * argp/Makefile: Likewise.
41127 * inet/Makefile: Likewise.
41128 * hesiod/Makefile: Likewise.
41129 * grp/Makefile: Likewise.
41130 * csu/Makefile: Likewise.
41131 * wctype/Makefile: Likewise.
41132 * crypt/Makefile: Likewise.
41133 * libio/Makefile: Likewise.
41134 * string/Makefile: Likewise.
41135 * nis/Makefile: Likewise.
41136 * resolv/Makefile: Likewise.
41137 * stdio-common/Makefile: Likewise.
41138 * wcsmbs/Makefile: Likewise.
41139 * dlfcn/Makefile: Likewise.
41140 * posix/Makefile: Likewise.
41143 * timezone/Makefile: Don't install timezone files, just the programs
41146 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41148 * nss/databases.def: Add missing gshadow entry.
41150 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41152 2012-03-06 Marek Polacek <polacek@redhat.com>
41155 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41156 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41157 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41158 * stdio-common/tst-long-dbl-fphex.c: New file.
41160 2012-03-06 David S. Miller <davem@davemloft.net>
41162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41163 (set_obp_int): New function.
41164 (get_obp_int): New function.
41165 (__get_clockfreq_via_dev_openprom): Likewise.
41166 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41167 Avoid unused variable warnings on 'val' and use builtin_expect.
41168 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41170 (INLINE_CLONE_SYSCALL): Likewise.
41172 2012-03-05 David S. Miller <davem@davemloft.net>
41174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41176 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41181 only for |x| >= 40.
41182 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41184 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41187 Replace gettimeofday with __vdso_gettimeofday.
41189 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41190 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41191 __vdso_clock_gettime and __vdso_getcpu.
41193 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41194 time with __vdso_time.
41196 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41198 * manual/lang.texi (size_t): Note types to which size_t may be
41199 equivalent with the GNU C Library, but do not describe when
41200 differences between them are significant.
41202 2012-03-05 Andreas Jaeger <aj@suse.de>
41204 * sysdeps/i386/fpu/libm-test-ulps: Update.
41206 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41209 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41210 (__ieee754_pow): Save and restore rounding mode and use
41211 round-to-nearest for main computations.
41212 * math/libm-test.inc (pow_test_tonearest): New function.
41213 (pow_test_towardzero): Likewise.
41214 (pow_test_downward): Likewise.
41215 (pow_test_upward): Likewise.
41216 (main): Call the new functions.
41217 * sysdeps/i386/fpu/libm-test-ulps: Update.
41218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41221 * math/libm-test.inc (cosh_test_tonearest): New function.
41222 (cosh_test_towardzero): Likewise.
41223 (cosh_test_downward): Likewise.
41224 (cosh_test_upward): Likewise.
41225 (sinh_test_tonearest): Likewise.
41226 (sinh_test_towardzero): Likewise.
41227 (sinh_test_downward): Likewise.
41228 (sinh_test_upward): Likewise.
41229 (main): Call the new functions.
41230 * sysdeps/i386/fpu/libm-test-ulps: Update.
41231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41233 2012-03-05 Tom de Vries <tom@codesourcery.com>
41235 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41236 default stack guard is set in last bytes.
41237 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41239 2012-03-05 Kees Cook <keescook@chromium.org>
41241 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41244 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41245 possibly allocate from heap instead of stack.
41246 * stdio-common/bug-vfprintf-nargs.c: New file.
41247 * stdio-common/Makefile (tests): Add nargs overflow test.
41249 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41253 2012-03-03 Marek Polacek <polacek@redhat.com>
41255 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41256 * math/math_private.h: Likewise.
41257 * stdlib/tst-strtod.c: Likewise.
41258 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41259 * sysdeps/x86_64/bits/atomic.h: Likewise.
41261 2012-03-02 David S. Miller <davem@davemloft.net>
41263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41267 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41268 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41269 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41270 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41272 2012-03-02 Roland McGrath <roland@hack.frob.com>
41275 * manual/examples/README: New file, says the example source files
41276 can be used under GPL>=2.
41277 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41278 line containing just "*/".
41279 * manual/examples/add.c: Add copyright header (GPL>=2).
41280 * manual/examples/argp-ex1.c: Likewise.
41281 * manual/examples/argp-ex2.c: Likewise.
41282 * manual/examples/argp-ex3.c: Likewise.
41283 * manual/examples/argp-ex4.c: Likewise.
41284 * manual/examples/atexit.c: Likewise.
41285 * manual/examples/db.c: Likewise.
41286 * manual/examples/dir.c: Likewise.
41287 * manual/examples/dir2.c: Likewise.
41288 * manual/examples/execinfo.c: Likewise.
41289 * manual/examples/filecli.c: Likewise.
41290 * manual/examples/filesrv.c: Likewise.
41291 * manual/examples/fmtmsgexpl.c: Likewise.
41292 * manual/examples/genpass.c: Likewise.
41293 * manual/examples/inetcli.c: Likewise.
41294 * manual/examples/inetsrv.c: Likewise.
41295 * manual/examples/isockad.c: Likewise.
41296 * manual/examples/longopt.c: Likewise.
41297 * manual/examples/memopen.c: Likewise.
41298 * manual/examples/memstrm.c: Likewise.
41299 * manual/examples/mkfsock.c: Likewise.
41300 * manual/examples/mkisock.c: Likewise.
41301 * manual/examples/mygetpass.c: Likewise.
41302 * manual/examples/pipe.c: Likewise.
41303 * manual/examples/popen.c: Likewise.
41304 * manual/examples/rprintf.c: Likewise.
41305 * manual/examples/search.c: Likewise.
41306 * manual/examples/select.c: Likewise.
41307 * manual/examples/setjmp.c: Likewise.
41308 * manual/examples/sigh1.c: Likewise.
41309 * manual/examples/sigusr.c: Likewise.
41310 * manual/examples/stpcpy.c: Likewise.
41311 * manual/examples/strdupa.c: Likewise.
41312 * manual/examples/strftim.c: Likewise.
41313 * manual/examples/strncat.c: Likewise.
41314 * manual/examples/subopt.c: Likewise.
41315 * manual/examples/swapcontext.c: Likewise.
41316 * manual/examples/termios.c: Likewise.
41317 * manual/examples/testopt.c: Likewise.
41318 * manual/examples/testpass.c: Likewise.
41319 * manual/examples/timeval_subtract.c: Likewise.
41322 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41324 * manual/timeval_subtract.c.texi: ... here, new file.
41326 2012-03-02 David S. Miller <davem@davemloft.net>
41328 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41330 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41333 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41334 (__sin): Save and restore rounding mode and use round-to-nearest
41335 for all computations.
41336 (__cos): Save and restore rounding mode and use round-to-nearest
41337 for all computations.
41338 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41340 (tan): Save and restore rounding mode and use round-to-nearest for
41342 * math/libm-test.inc (cos_test_tonearest): New function.
41343 (cos_test_towardzero): Likewise.
41344 (cos_test_downward): Likewise.
41345 (cos_test_upward): Likewise.
41346 (sin_test_tonearest): Likewise.
41347 (sin_test_towardzero): Likewise.
41348 (sin_test_downward): Likewise.
41349 (sin_test_upward): Likewise.
41350 (tan_test_tonearest): Likewise.
41351 (tan_test_towardzero): Likewise.
41352 (tan_test_downward): Likewise.
41353 (tan_test_upward): Likewise.
41354 (main): Call the new functions.
41355 * sysdeps/i386/fpu/libm-test-ulps: Update.
41356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41359 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41360 small n, then large n, before computing and testing k+n.
41361 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41366 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41367 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41368 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41369 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41372 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41373 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41374 * math/libm-test.inc (scalbn_test): Add more tests.
41375 (scalbln_test): Likewise.
41377 * manual/filesys.texi (mode_t): Describe constraints on size and
41378 signedness, not exact equivalence to a particular type.
41380 (ino64_t): Likewise.
41382 (nlink_t): Likewise.
41383 (blkcnt_t): Likewise.
41384 (blkcnt64_t): Likewise.
41385 * manual/llio.texi (off_t): Likewise.
41388 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41389 (__ieee754_exp): Save and restore rounding mode and use
41390 round-to-nearest for all computations.
41391 * math/libm-test.inc (exp_test_tonearest): New function.
41392 (exp_test_towardzero): Likewise.
41393 (exp_test_downward): Likewise.
41394 (exp_test_upward): Likewise.
41395 (main): Call the new functions.
41396 * sysdeps/i386/fpu/libm-test-ulps: Update.
41397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41399 2012-03-01 Chris Demetriou <cgd@google.com>
41401 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41402 have predictable order.
41404 2012-03-01 David S. Miller <davem@davemloft.net>
41406 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41408 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41409 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41410 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41411 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41413 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41414 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41415 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41417 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41418 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41419 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41420 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41421 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41425 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41426 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41427 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41429 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41430 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41431 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41432 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41433 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41435 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41436 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41437 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41438 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41439 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41440 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41442 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41443 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41445 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41446 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41447 * sysdeps/sparc/elf/configure: Regenerated.
41449 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41451 * configure.in (AS, LD): Require binutils 2.20 or later.
41452 * configure: Regenerated.
41453 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41454 as required minimum version.
41455 * INSTALL: Regenerated.
41459 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41460 before squaring exponent.
41461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41462 bottom long double and 27 bits of top long double before squaring
41464 * math/libm-test.inc (erfc_test): Add more tests.
41465 * sysdeps/i386/fpu/libm-test-ulps: Update.
41466 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41469 2012-03-01 Kai Tietz <ktietz@redhat.com>
41471 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41472 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41473 containing bit-fields.
41474 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41475 * soft-fp/single.h (_FP_UNION_S): Likewise.
41476 * soft-fp/double.h (_FP_UNION_D): Likewise.
41478 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41481 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41482 not include ../strcmp.S.
41483 [USE_AS_STRNCASECMP_L]: Likewise.
41484 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41485 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41486 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41487 (__strncasecmp_l_ia32): Define as alias to
41488 __strncasecmp_l_nonascii.
41491 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41492 * sysdeps/i386/fpu/libm-test-ulps: Update.
41493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41495 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41498 2012-02-29 Jeff Law <law@redhat.com>
41500 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41501 out of bounds read.
41503 2012-02-29 Marek Polacek <polacek@redhat.com>
41506 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41507 * elf/Makefile: Add rules to run tst-unused-dep.out.
41509 2012-02-28 David S. Miller <davem@davemloft.net>
41511 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41512 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41514 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41515 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41516 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41518 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41520 * math/libm-test.inc (llround_test): Move one test from
41521 lround_test. Use TEST_f_L in moved test.
41522 (lround_test): Move misplaced test to llround_test. Add testcase
41525 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41527 * sysdeps/x86_64/fpu/e_expf.S: New file.
41528 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41530 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41533 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41534 of remain_len that may cause incomplete multi-byte character and
41536 * posix/bug-regex33.c: New file.
41537 * posix/Makefile (tests): Add bug-regex33.
41539 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41541 * manual/macros.texi: New file.
41542 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41543 * manual/libc.texinfo: Include macros.texi.
41544 * manual/creatute.texi: Likewise.
41545 * manual/install.texi: Likewise.
41546 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41547 @glibcadj{} in references to the GNU C Library.
41548 * manual/charset.texi: Likewise.
41549 * manual/conf.texi: Likewise.
41550 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41551 when not using those macros.
41552 * manual/creature.texi: Likewise.
41553 * manual/crypt.texi: Likewise.
41554 * manual/errno.texi: Likewise.
41555 * manual/filesys.texi: Likewise.
41556 * manual/header.texi: Likewise.
41557 * manual/install.texi: Likewise.
41558 * manual/intro.texi: Likewise.
41559 * manual/io.texi: Likewise.
41560 * manual/job.texi: Likewise.
41561 * manual/lang.texi: Likewise.
41562 * manual/libc.texiinfo: Likewise.
41563 * manual/llio.texi: Likewise.
41564 * manual/locale.texi: Likewise.
41565 * manual/maint.texi: Likewise.
41566 * manual/math.texi: Likewise.
41567 * manual/memory.texi: Likewise.
41568 * manual/message.texi: Likewise.
41569 * manual/nss.texi: Likewise.
41570 * manual/pattern.texi: Likewise.
41571 * manual/process.texi: Likewise.
41572 * manual/resource.texi: Likewise.
41573 * manual/search.texi: Likewise.
41574 * manual/setjmp.texi: Likewise.
41575 * manual/signal.texi: Likewise.
41576 * manual/socket.texi: Likewise.
41577 * manual/startup.texi: Likewise.
41578 * manual/stdio.texi: Likewise.
41579 * manual/string.texi: Likewise.
41580 * manual/sysinfo.texi: Likewise.
41581 * manual/syslog.texi: Likewise.
41582 * manual/terminal.texi: Likewise.
41583 * manual/time.texi: Likewise.
41584 * manual/users.texi: Likewise.
41585 * INSTALL: Regenerated.
41586 * NOTES: Regenerated.
41587 * sysdeps/gnu/errlist.c: Regenerated.
41589 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41591 * include/dirent.h: Include <dirstream.h> before
41594 2012-02-28 David S. Miller <davem@davemloft.net>
41596 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41597 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41598 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41599 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41601 2012-02-27 David S. Miller <davem@davemloft.net>
41603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41605 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41606 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41609 frame pointer instead of stack pointer relative arg slot.
41610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41611 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41612 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41614 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41617 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41619 2012-02-27 David S. Miller <davem@davemloft.net>
41621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41625 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41626 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41627 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41628 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41630 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41632 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41633 later. Allow versions 5-9.
41634 * configure: Regenerated.
41635 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41636 required minimum version and 4.6 as recommended version. Do not
41637 mention bugs in GCC 2.7 and 2.8.
41638 * INSTALL: Regenerated.
41640 2012-02-27 David S. Miller <davem@davemloft.net>
41642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41646 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41647 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41648 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41649 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41652 manipulate bits before adding and subtracting TWO112[sx].
41653 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41655 2012-02-27 Roland McGrath <roland@hack.frob.com>
41658 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41659 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41660 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41661 being in POSIX, because they are in 1003.1-2008.
41663 * rt/tst-aio.c: Include <fcntl.h>.
41664 * rt/tst-aio7.c: Likewise.
41665 * rt/tst-aio64.c: Likewise.
41667 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41669 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41671 * manual/install.texi (--with-headers): Describe headers as
41672 interface headers, not private headers.
41673 (Specific advice for GNU/Linux systems): Describe use of headers
41674 from "make headers_install", not private headers from older
41676 * INSTALL: Regenerated.
41677 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41679 * sysdeps/unix/sysv/linux/configure: Regenerated.
41681 * manual/llio.texi (fclean): Remove documentation.
41683 * manual/Makefile (libc-texi-generated): New variable. Include
41685 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41686 $(libc-texi-generated), not duplicated list of files.
41687 (version.texi, stamp-version): New rules.
41688 (realclean): Remove $(libc-texi-generated), not individual files
41689 from that list. Do not remove dir-add.texinfo.
41690 * manual/libc.texinfo: Comment out uses of edition numbers and
41691 references to printed manual. Remove last-updated dates.
41692 (EDITION): Comment out.
41694 (VERSION, UPDATED): Remove.
41695 (version.texi): Include.
41697 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41699 * sysdeps/posix/spawni.c: Include <signal.h>.
41700 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41701 * sysdeps/pthread/aio_fsync.c: Likewise.
41703 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41705 * conform/Makefile (tests): Run only when not cross-compiling and
41706 when fast-check is not defined.
41708 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41709 * conform/data/limits.h-data: Fixes for POSIX2008.
41710 * conform/run-conformtest.sh: Run all tests.
41711 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41713 * include/bits/dlfcn.h: Likewise.
41714 * include/langinfo.h: Likewise.
41715 * include/monetary.h: Likewise.
41716 * include/sys/poll.h: Likewise.
41718 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41720 * posix/spawn.h: Define __need_sigset_t.
41721 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41722 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41723 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41724 to get sigevent_t only.
41725 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41726 only for __USE_GNU.
41727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41728 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41729 process_vm_writev only for __USE_GNU.
41730 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41732 * conform/Makefile: For now ignore errors from run-conformtest.
41733 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41734 POSIX to avoid namespace pollution. Don't prepend headers.
41735 * conform/data/aio.h-data: Fixes for POSIX testing.
41736 * conform/data/fcntl.h-data: Likewise.
41737 * conform/data/glob.h-data: Likewise.
41738 * conform/data/grp.h-data: Likewise.
41739 * conform/data/pthread.h-data: Likewise.
41740 * conform/data/pwd.h-data: Likewise.
41741 * conform/data/signal.h-data: Likewise.
41742 * conform/data/spawn.h-data: Likewise.
41743 * conform/data/stdio.h-data: Likewise.
41744 * conform/data/stdlib.h-data: Likewise.
41745 * conform/data/stropts.h-data: Likewise.
41746 * conform/data/sys/mman.h-data: Likewise.
41747 * conform/data/sys/stat.h-data: Likewise.
41748 * conform/data/sys/types.h-data: Likewise.
41749 * conform/data/sys/wait.h-data: Likewise.
41750 * conform/data/time.h-data: Likewise.
41751 * conform/data/unistd.h-data: Likewise.
41752 * conform/data/utime.h-data: Likewise.
41754 * io/sys/stat.h: fchmod was always in POSIX.
41755 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41756 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41757 * rt/aio.h: Define __need_timespec before including <time.h>.
41758 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41759 struct. Add forward declaration of pthread_attr_t and use it in
41761 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41763 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41764 always remove CLK_TCK definition.
41766 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41768 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41770 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41772 * conform/run-conformtest.sh: New file.
41773 * conform/Makefile: Run run-conformtest for tests.
41774 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41777 * conform/data/uchar.h-data: New file.
41778 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41779 * conform/data/arpa/inet.h-data: Likewise.
41780 * conform/data/assert.h-data: Likewise.
41781 * conform/data/complex.h-data: Likewise.
41782 * conform/data/cpio.h-data: Likewise.
41783 * conform/data/ctype.h-data: Likewise.
41784 * conform/data/dirent.h-data: Likewise.
41785 * conform/data/dlfcn.h-data: Likewise.
41786 * conform/data/errno.h-data: Likewise.
41787 * conform/data/fcntl.h-data: Likewise.
41788 * conform/data/float.h-data: Likewise.
41789 * conform/data/fmtmsg.h-data: Likewise.
41790 * conform/data/fnmatch.h-data: Likewise.
41791 * conform/data/ftw.h-data: Likewise.
41792 * conform/data/glob.h-data: Likewise.
41793 * conform/data/grp.h-data: Likewise.
41794 * conform/data/iconv.h-data: Likewise.
41795 * conform/data/inttypes.h-data: Likewise.
41796 * conform/data/langinfo.h-data: Likewise.
41797 * conform/data/libgen.h-data: Likewise.
41798 * conform/data/limits.h-data: Likewise.
41799 * conform/data/locale.h-data: Likewise.
41800 * conform/data/math.h-data: Likewise.
41801 * conform/data/monetary.h-data: Likewise.
41802 * conform/data/mqueue.h-data: Likewise.
41803 * conform/data/ndbm.h-data: Likewise.
41804 * conform/data/net/if.h-data: Likewise.
41805 * conform/data/netdb.h-data: Likewise.
41806 * conform/data/netinet/in.h-data: Likewise.
41807 * conform/data/nl_types.h-data: Likewise.
41808 * conform/data/poll.h-data: Likewise.
41809 * conform/data/pthread.h-data: Likewise.
41810 * conform/data/pwd.h-data: Likewise.
41811 * conform/data/regex.h-data: Likewise.
41812 * conform/data/sched.h-data: Likewise.
41813 * conform/data/search.h-data: Likewise.
41814 * conform/data/semaphore.h-data: Likewise.
41815 * conform/data/setjmp.h-data: Likewise.
41816 * conform/data/signal.h-data: Likewise.
41817 * conform/data/spawn.h-data: Likewise.
41818 * conform/data/stdarg.h-data: Likewise.
41819 * conform/data/stdio.h-data: Likewise.
41820 * conform/data/stdlib.h-data: Likewise.
41821 * conform/data/string.h-data: Likewise.
41822 * conform/data/strings.h-data: Likewise.
41823 * conform/data/stropts.h-data: Likewise.
41824 * conform/data/sys/ipc.h-data: Likewise.
41825 * conform/data/sys/mman.h-data: Likewise.
41826 * conform/data/sys/msg.h-data: Likewise.
41827 * conform/data/sys/resource.h-data: Likewise.
41828 * conform/data/sys/select.h-data: Likewise.
41829 * conform/data/sys/sem.h-data: Likewise.
41830 * conform/data/sys/shm.h-data: Likewise.
41831 * conform/data/sys/socket.h-data: Likewise.
41832 * conform/data/sys/stat.h-data: Likewise.
41833 * conform/data/sys/statvfs.h-data: Likewise.
41834 * conform/data/sys/time.h-data: Likewise.
41835 * conform/data/sys/timeb.h-data: Likewise.
41836 * conform/data/sys/times.h-data: Likewise.
41837 * conform/data/sys/types.h-data: Likewise.
41838 * conform/data/sys/uio.h-data: Likewise.
41839 * conform/data/sys/un.h-data: Likewise.
41840 * conform/data/sys/utsname.h-data: Likewise.
41841 * conform/data/sys/wait.h-data: Likewise.
41842 * conform/data/syslog.h-data: Likewise.
41843 * conform/data/tar.h-data: Likewise.
41844 * conform/data/termios.h-data: Likewise.
41845 * conform/data/utime.h-data: Likewise.
41846 * conform/data/utmpx.h-data: Likewise.
41847 * conform/data/varargs.h-data: Likewise.
41848 * conform/data/wchar.h-data: Likewise.
41849 * conform/data/wctype.h-data: Likewise.
41850 * conform/data/wordexp.h-data: Likewise.
41852 * include/stropts.h: New file.
41853 * include/uchar.h: New file.
41854 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41855 * include/assert.h: Likewise.
41856 * include/ctype.h: Likewise.
41857 * include/dirent.h: Likewise.
41858 * include/dlfcn.h: Likewise.
41859 * include/fcntl.h: Likewise.
41860 * include/fnmatch.h: Likewise.
41861 * include/glob.h: Likewise.
41862 * include/grp.h: Likewise.
41863 * include/libio.h: Likewise.
41864 * include/locale.h: Likewise.
41865 * include/math.h: Likewise.
41866 * include/net/if.h: Likewise.
41867 * include/netdb.h: Likewise.
41868 * include/netinet/in.h: Likewise.
41869 * include/pthread.h: Likewise.
41870 * include/pwd.h: Likewise.
41871 * include/regex.h: Likewise.
41872 * include/sched.h: Likewise.
41873 * include/search.h: Likewise.
41874 * include/setjmp.h: Likewise.
41875 * include/signal.h: Likewise.
41876 * include/stdio.h: Likewise.
41877 * include/stdlib.h: Likewise.
41878 * include/string.h: Likewise.
41879 * include/sys/cdefs.h: Likewise.
41880 * include/sys/mman.h: Likewise.
41881 * include/sys/msg.h: Likewise.
41882 * include/sys/resource.h: Likewise.
41883 * include/sys/select.h: Likewise.
41884 * include/sys/socket.h: Likewise.
41885 * include/sys/stat.h: Likewise.
41886 * include/sys/statvfs.h: Likewise.
41887 * include/sys/time.h: Likewise.
41888 * include/sys/times.h: Likewise.
41889 * include/sys/uio.h: Likewise.
41890 * include/sys/utsname.h: Likewise.
41891 * include/sys/wait.h: Likewise.
41892 * include/termios.h: Likewise.
41893 * include/time.h: Likewise.
41894 * include/ulimit.h: Likewise.
41895 * include/unistd.h: Likewise.
41896 * include/utime.h: Likewise.
41897 * include/wchar.h: Likewise.
41898 * include/wctype.h: Likewise.
41899 * include/wordexp.h: Likewise.
41901 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41903 * time/time.h: TIME_UTC must be a macro.
41904 Make timespec_get available for ISO C11 only as well.
41906 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41908 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41909 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41911 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41913 * configure.in: Use -o not -a in test for unsupported multi-arch.
41915 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41917 * manual/texinfo.tex: Update to version 2012-01-19.16.
41919 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41921 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41923 2012-02-24 Roland McGrath <roland@hack.frob.com>
41926 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41927 * manual/fdl-1.3.texi: New file.
41928 * manual/fdl-1.1.texi: File removed.
41931 * manual/libc.texinfo (FDL_VERSION): New @set.
41932 Use it for mention of FDL in cover text.
41933 (Documentation License): Use it in @include file name.
41935 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41936 Roland McGrath <roland@hack.frob.com>
41939 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41940 (not LONG_LONG_MAX and LONG_LONG_MIN.
41941 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41942 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41944 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41946 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41950 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41951 manipulate bits before adding and subtracting TWO23[sx].
41952 * math/libm-test.inc (nearbyint_test): Add more tests.
41954 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41957 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41958 bits before adding and subtracting TWO23[sx].
41959 * math/libm-test.inc (rint_test): Add more tests.
41960 (rint_test_tonearest): Likewise.
41961 (rint_test_towardzero): Likewise.
41962 (rint_test_downward): Likewise.
41963 (rint_test_upward: Likewise.
41965 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41968 * include/stdc-predef.h: New file. Extracted from features.h.
41969 * include/features.h: Include stdc-predef.h.
41970 * Makefile (headers): Add stdc-predef.h.
41971 * CONFORMANCE (Compiler limitations): Update.
41973 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41975 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41977 2012-02-21 David S. Miller <davem@davemloft.net>
41979 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41980 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41982 2012-02-20 David S. Miller <davem@davemloft.net>
41984 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41985 using a normal save/restore sequence, rather than allocating a
41986 dummy stack frame just to store a frame pointer and restore.
41987 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41989 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41991 * manual/install.texi: Fix stray word in line-wrapped comment.
41993 2012-02-20 David S. Miller <davem@davemloft.net>
41995 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41996 both binutils and gcc support GOTDATA.
41998 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41999 "rd %pc" in the PIC register setup sequences.
42001 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42002 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42003 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42004 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42005 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42007 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42008 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42010 (SYSCALL_ERROR_HANDLER): Likewise.
42011 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42012 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42014 (SYSCALL_ERROR_HANDLER): Likewise.
42016 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42017 (HAVE_GCC_GOTDATA): New.
42018 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42019 relocation support in both binutils and gcc.
42020 * sysdeps/sparc/elf/configure: Regenerate.
42022 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42023 * sysdeps/sparc/sparc32/elf/configure: Delete.
42024 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42025 * sysdeps/sparc/sparc64/elf/configure: Delete.
42026 * sysdeps/sparc/elf/configure.in: New file.
42027 * sysdeps/sparc/elf/configure: Generate.
42029 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42030 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42031 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42032 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42033 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42035 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42037 * manual/install.texi: Do not mention specific glibc version
42039 * manual/libc.texinfo (VERSION, UPDATED): Update.
42040 (@copying): Use @copyright{} and range of years.
42042 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42045 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42046 [crti.S not in sysdirs] (generated): Do not append.
42047 [crti.S not in sysdirs] (omit-deps): Likewise.
42048 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42049 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42050 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42051 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42052 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42054 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42055 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42056 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42057 * csu/defs.awk: Remove file.
42058 * sysdeps/generic/initfini.c: Likewise.
42059 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42061 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42064 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42066 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42067 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42068 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42069 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42070 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42071 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42073 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42074 (__EPOLL_PACKED): Define to empty if not defined by
42076 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42080 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42082 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42083 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42084 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42085 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42087 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42091 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42093 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42095 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42096 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42097 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42100 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42102 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42103 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42105 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42107 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42108 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42110 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42112 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42115 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42117 * math/w_acos.c: Use non-signaling floating-point comparisons.
42118 * math/w_acosf.c: Likewise.
42119 * math/w_acosh.c: Likewise.
42120 * math/w_acoshf.c: Likewise.
42121 * math/w_acoshl.c: Likewise.
42122 * math/w_acosl.c: Likewise.
42123 * math/w_asin.c: Likewise.
42124 * math/w_asinf.c: Likewise.
42125 * math/w_asinl.c: Likewise.
42126 * math/w_atanh.c: Likewise.
42127 * math/w_atanhf.c: Likewise.
42128 * math/w_atanhl.c: Likewise.
42129 * math/w_exp2.c: Likewise.
42130 * math/w_exp2f.c: Likewise.
42131 * math/w_exp2l.c: Likewise.
42132 * math/w_j0.c: Likewise.
42133 * math/w_j0f.c: Likewise.
42134 * math/w_j0l.c: Likewise.
42135 * math/w_j1.c: Likewise.
42136 * math/w_j1f.c: Likewise.
42137 * math/w_j1l.c: Likewise.
42138 * math/w_jn.c: Likewise.
42139 * math/w_jnf.c: Likewise.
42140 * math/w_log.c: Likewise.
42141 * math/w_log10.c: Likewise.
42142 * math/w_log10f.c: Likewise.
42143 * math/w_log10l.c: Likewise.
42144 * math/w_log2.c: Likewise.
42145 * math/w_log2f.c: Likewise.
42146 * math/w_log2l.c: Likewise.
42147 * math/w_logf.c: Likewise.
42148 * math/w_logl.c: Likewise.
42149 * math/w_sqrt.c: Likewise.
42150 * math/w_sqrtf.c: Likewise.
42151 * math/w_sqrtl.c: Likewise.
42152 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42153 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42154 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42155 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42156 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42158 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42161 * manual/string.texi (strnlen): Use correct parameter name in
42162 equivalent expression.
42164 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42167 * manual/users.texi (seteuid): Consistently use neweuid for
42170 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42173 * manual/nss.texi (Services in the NSS configuration): Correct
42174 list of services in example configuration file.
42176 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42179 * manual/arith.texi: Remove statements about negative zero
42180 behaving identically to zero.
42182 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42185 * manual/install.texi: Do not document upgrading from libc5.
42187 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42190 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42192 2012-02-18 David S. Miller <davem@davemloft.net>
42194 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42195 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42196 %o7 across the call.
42197 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42200 SETUP_PIC_REG_LEAF.
42201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42202 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42203 * sysdeps/sparc/crtn.S: Likewise.
42205 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42207 * aout/Makefile: Remove.
42209 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42212 * manual/examples/argp-ex1.c (main): Format definition in GNU
42214 * manual/examples/argp-ex2.c (main): Likewise.
42215 * manual/examples/argp-ex3.c (main): Likewise.
42216 * manual/examples/argp-ex4.c (main): Likewise.
42217 * manual/examples/longopt.c (main): Use new-style prototype
42219 * manual/examples/strncat.c (main): Specify return type and use
42220 (void) for arguments.
42221 * manual/examples/subopt.c (main): Use char **argv argument.
42223 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42226 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42229 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42232 * manual/string.texi (strchr): Change when strchrnul is
42235 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42238 * manual/locale.texi (setlocale): Document LOCPATH.
42240 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42243 * manual/process.texi (execle): Move @dots{} before last argument.
42245 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42248 * manual/charset.texi (Generic Charset Conversion): Fix typo
42249 (LC_TYPE -> LC_CTYPE).
42251 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42254 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42255 (scalbnf): Likewise.
42256 (scalbnl): Likewise.
42257 (scalbln): Likewise.
42258 (scalblnf): Likewise.
42259 (scalblnl): Likewise.
42260 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42261 (vwarnx): Likewise.
42264 * manual/filesys.texi (telldir): Use braces around return type.
42265 * manual/llio.texi (mmap): Add space after comma.
42266 (mmap64): Likewise.
42267 * manual/math.texi (jn): Use @var{} on parameter names.
42273 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42275 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42277 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42278 (sched_get_priority_max): Likewise.
42279 * manual/signal.texi (sigvec): Add space after comma.
42280 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42282 (if_indextoname): Likewise.
42283 (if_freenameindex): Likewise.
42284 (sendto): Use ',' instead of '.' in prototype.
42285 * manual/startup.texi (syscall): Use @dots{} instead of literal
42287 * manual/stdio.texi (__fpending): Separate initial words of
42288 paragraph from @deftypefun line.
42289 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42291 (vsyslog): Use @var{} on parameter names.
42292 * manual/terminal.texi (stty): Use @var{} on parameter names.
42293 * manual/users.texi (getutmp): Use @var{} on parameter names.
42294 (getutmpx): Likewise.
42296 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42299 * manual/stdio.texi (fopen): Fix typos in description of
42302 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42305 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42306 get clock_id definition.
42308 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42311 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42312 (madvise): Cast every argument to void on its own.
42314 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42317 * manual/startup.texi (Exit Status): Fix typo.
42319 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42322 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42323 * manual/examples/argp-ex2.c: Likewise.
42324 * manual/examples/argp-ex3.c: Likewise.
42326 2012-02-16 Richard Henderson <rth@redhat.com>
42328 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42329 * sysdeps/s390/s390-32/initfini.c: Remove.
42330 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42331 * sysdeps/s390/s390-64/initfini.c: Remove.
42333 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42335 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42336 compiler output for sysdeps/generic/initfini.c.
42337 * sysdeps/sh/elf/initfini.c: Remove file.
42339 2012-02-16 David S. Miller <davem@davemloft.net>
42342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42344 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42345 * sysdeps/sparc/crti.S: New file.
42346 * sysdeps/sparc/crtn.S: New file.
42347 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42348 * sysdeps/sparc/sparc64/Makefile: Likewise.
42350 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42353 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42355 2012-02-15 Roland McGrath <roland@hack.frob.com>
42358 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42360 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42361 (write, read, close): Likewise.
42362 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42364 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42366 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42367 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42368 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42369 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42371 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42375 2012-02-14 Marek Polacek <polacek@redhat.com>
42377 * sysdeps/x86_64/crti.S: New file.
42378 * sysdeps/x86_64/crtn.S: New file.
42379 * sysdeps/x86_64/elf/initfini.c: Remove file.
42381 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42383 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42384 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42385 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42386 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42388 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42392 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42394 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42395 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42396 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42397 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42399 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42403 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42405 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42406 __feraiseexcept instead of feraiseexcept.
42408 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42409 nanosleep invocations.
42410 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42411 strings, and add error checking for a nanosleep invocations.
42413 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42415 Replace FSF snail mail address with URLs, as per GNU coding standards.
42416 Most of the snail mail addresses were wrong anyway, and omitting
42417 them makes the source code easier to maintain. Almost all of the
42418 changes are to license notices and to locale LC_IDENTIFICATION
42419 addresses, except for this one:
42420 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42421 not its snail mail address.
42423 2012-02-09 Richard Henderson <rth@twiddle.net>
42425 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42426 of kernel-features.h.
42428 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42430 2012-02-08 Marek Polacek <polacek@redhat.com>
42432 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42433 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42434 * sysdeps/gnu/_G_config.h: Likewise.
42435 * sysdeps/generic/_G_config.h: Likewise.
42437 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42439 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42443 * sysdeps/powerpc/powerpc32/crti.S: New file.
42444 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42445 * sysdeps/powerpc/powerpc64/crti.S: New file.
42446 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42448 * Makeconfig (have-initfini): Don't set.
42449 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42450 * configure.in (nopic_initfini): Don't substitute.
42451 * config.h.in (HAVE_INITFINI): Don't #undef.
42452 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42453 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42455 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42457 Support crti.S and crtn.S provided directly by architectures.
42458 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42459 [crti.S in sysdirs] (omit-deps): Likewise.
42460 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42461 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42462 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42463 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42464 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42465 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42466 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42467 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42468 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42469 compiler output for sysdeps/generic/initfini.c.
42470 * sysdeps/i386/elf/Makefile: Remove file.
42471 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42473 2012-02-07 Marek Polacek <polacek@redhat.com>
42475 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42476 * sysdeps/gnu/_G_config.h: Likewise.
42477 * sysdeps/mach/hurd/_G_config.h: Likewise.
42479 2012-02-07 Marek Polacek <polacek@redhat.com>
42481 * math/Makefile (tests): Add tst-CMPLX2.
42482 * math/tst-CMPLX2.c: New file.
42484 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42486 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42488 * math/libm-test.inc (jn_test): Add missing L suffix.
42490 2012-02-06 Marek Polacek <polacek@redhat.com>
42492 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42493 * sysdeps/i386/fpu/e_powf.S: Likewise.
42494 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42495 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42496 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42497 * sysdeps/i386/fpu/e_pow.S: Likewise.
42498 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42499 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42500 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42501 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42502 * sysdeps/i386/fpu/e_log2.S: Likewise.
42503 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42504 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42505 * sysdeps/i386/fpu/e_powl.S: Likewise.
42506 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42507 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42508 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42509 * sysdeps/i386/fpu/e_logl.S: Likewise.
42510 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42511 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42512 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42513 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42514 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42516 * sysdeps/i386/fpu/e_log.S: Likewise.
42517 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42518 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42519 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42520 * sysdeps/i386/fpu/e_logf.S: Likewise.
42521 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42522 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42523 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42524 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42525 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42526 * sysdeps/i386/fpu/e_log10.S: Likewise.
42527 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42528 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42529 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42530 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42531 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42532 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42533 * sysdeps/i386/asm-syntax.h: Likewise.
42534 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42535 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42536 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42537 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42538 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42539 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42540 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42541 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42542 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42543 * sysdeps/powerpc/sysdep.h: Likewise.
42544 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42545 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42547 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42550 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42552 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42554 * sysdeps/i386/sysdep.h: Include <features.h>.
42555 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42558 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42560 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42562 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42565 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42567 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42568 (SETUP_PIC_REG): Use GET_PC_THUNK.
42569 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42572 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42574 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42575 for non-PIC compilation.
42576 (SETUP_PIC_REG): Add .p2align directive.
42577 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42578 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42579 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42580 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42581 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42582 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42583 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42584 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42585 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42586 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42587 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42588 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42589 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42590 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42591 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42592 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42593 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42594 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42595 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42596 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42597 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42598 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42599 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42600 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42601 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42602 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42603 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42604 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42605 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42606 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42607 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42608 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42609 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42610 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42611 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42612 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42613 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42614 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42615 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42616 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42617 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42619 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42621 * math/tst-CMPLX.c: Include <stdio.h>.
42623 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42625 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42627 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42628 * sysdeps/sparc/bits/mathdef.h: Likewise.
42630 2012-01-31 Marek Polacek <polacek@redhat.com>
42632 * libio/libio.h: Don't define _PARAMS.
42633 * locale/programs/config.h: Don't define PARAMS.
42634 * stdlib/strtol_l.c: Likewise.
42635 (__strtol_l): Remove PARAMS from the prototype.
42637 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42639 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42640 names. Just use the correct names. Remove unnecessary wrapper
42642 * malloc/arena.c: Likewise.
42643 * malloc/hooks.c: Likewise.
42645 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42646 ARENA_TEST says not to. Simplify test for creation of a new arena.
42647 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42649 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42651 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42653 (update_get_addr): New function.
42654 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42655 GET_ADDR_MODULE parameter.
42657 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42659 * crypt/cert.c: Remove __STDC__ conditionals.
42660 * crypt/crypt-entry.c: Likewise.
42661 * crypt/crypt_util.c: Likewise.
42662 * libio/filedoalloc.c: Likewise.
42663 * libio/fileops.c: Likewise.
42664 * libio/genops.c: Likewise.
42665 * libio/iofclose.c: Likewise.
42666 * libio/iofdopen.c: Likewise.
42667 * libio/iofopen.c: Likewise.
42668 * libio/iofopen64.c: Likewise.
42669 * libio/iogetdelim.c: Likewise.
42670 * libio/iopopen.c: Likewise.
42671 * libio/obprintf.c: Likewise.
42672 * libio/oldfileops.c: Likewise.
42673 * libio/oldiofclose.c: Likewise.
42674 * libio/oldiofdopen.c: Likewise.
42675 * libio/oldiofopen.c: Likewise.
42676 * libio/oldiopopen.c: Likewise.
42677 * libio/wfiledoalloc.c: Likewise.
42678 * libio/wgenops.c: Likewise.
42679 * locale/programs/xmalloc.c: Likewise.
42680 * misc/syslog.c: Likewise.
42681 * stdio-common/xbug.c: Likewise.
42682 * string/memchr.c: Likewise.
42683 * string/memcmp.c: Likewise.
42684 * string/memrchr.c: Likewise.
42685 * string/rawmemchr.c: Likewise.
42686 * sysdeps/posix/getcwd.c: Likewise.
42687 * time/strftime_l.c: Likewise.
42689 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42691 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42692 * config.make.in (config-cflags-sse2avx): Define.
42693 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42696 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42698 * scripts/config.guess: Update from upstream config git repository.
42699 * scripts/config.sub: Likewise.
42701 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42703 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42705 (R_TILEPRO_*, R_TILEGX_*): New macros.
42707 * scripts/firstversions.awk: Fix bug in version range handling.
42709 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42711 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42713 * include/sys/epoll.h: New file.
42714 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42717 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42719 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42720 Avoid unnecessary __WORDSIZE == 64 test.
42721 (fmaxf): Use VEX format if possible.
42726 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42727 * math/math_private.h: Remove libc_fegetround* and
42729 * sysdeps/i386/configure.in: Check for -msse2avx.
42730 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42731 also if SSE2AVX is defined.
42732 Remove libc_fegetround* and libc_fesetround*.
42733 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42734 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42735 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42737 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42738 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42739 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42740 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42741 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42743 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42745 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42747 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42749 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42751 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42754 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42756 * Makeconfig (libm): Define.
42757 * elf/Makefile: Add rules to build and run tst-relsort1.
42758 * elf/tst-relsort1.c: New file.
42759 * elf/tst-relsort1mod1.c: New file.
42760 * elf/tst-relsort1mod2.c: New file.
42762 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42764 * math/s_ldexp.c: Remove __STDC__ conditionals.
42765 * math/s_ldexpf.c: Likewise.
42766 * math/s_ldexpl.c: Likewise.
42767 * math/s_nextafter.c: Likewise.
42768 * math/s_nexttowardf.c: Likewise.
42769 * math/s_significand.c: Likewise.
42770 * math/s_significandf.c: Likewise.
42771 * math/s_significandl.c: Likewise.
42772 * math/w_jnl.c: Likewise.
42773 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42774 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42775 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42776 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42777 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42778 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42779 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42780 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42781 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42782 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42783 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42784 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42792 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42793 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42794 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42795 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42796 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42797 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42798 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42799 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42800 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42801 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42802 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42803 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42804 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42805 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42806 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42807 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42808 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42809 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42810 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42811 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42812 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42813 * sysdeps/ieee754/k_standard.c: Likewise.
42814 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42815 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42816 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42817 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42818 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42819 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42821 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42823 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42824 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42825 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42826 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42827 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42828 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42829 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42830 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42831 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42832 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42833 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42834 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42835 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42836 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42837 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42838 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42839 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42840 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42842 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42843 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42844 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42845 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42846 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42847 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42849 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42850 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42851 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42852 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42853 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42854 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42856 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42857 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42858 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42859 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42861 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42862 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42863 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42864 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42865 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42866 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42867 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42868 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42869 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42870 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42871 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42872 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42874 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42875 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42876 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42877 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42878 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42879 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42880 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42881 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42882 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42883 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42884 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42885 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42886 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42887 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42888 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42889 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42890 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42891 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42892 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42893 * sysdeps/ieee754/s_matherr.c: Likewise.
42894 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42895 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42899 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42901 * crypt/md5.h: Remove __STDC__ conditionals.
42902 * libio/libioP.h: Likewise.
42903 * locale/programs/config.h: Likewise.
42904 * sysdeps/generic/sysdep.h: Likewise.
42905 * sysdeps/i386/asm-syntax.h: Likewise.
42906 * sysdeps/s390/asm-syntax.h: Likewise.
42907 * sysdeps/unix/sysdep.h: Likewise.
42908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42911 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42913 * libio/libio.h: Remove __STDC__ conditionals.
42914 * malloc/obstack.h: Likewise.
42915 * math/complex.h: Likewise.
42916 * math/math.h: Likewise.
42917 * sysdeps/generic/_G_config.h: Likewise.
42918 * sysdeps/gnu/_G_config.h: Likewise.
42919 * sysdeps/mach/hurd/_G_config.h: Likewise.
42920 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42921 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42922 * sysdeps/sparc/bits/mathdef.h: Likewise.
42924 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42927 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42928 Clean up HAS_* macros.
42929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42930 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42932 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42934 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42935 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42936 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42937 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42940 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42942 * elf/tst-unique3.cc (gets): Remove declaration.
42943 * elf/tst-unique3lib.cc (gets): Likewise.
42944 * elf/tst-unique3lib2.cc (gets): Likewise.
42945 * elf/tst-unique4.cc (gets): Likewise.
42947 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42949 * include/stdio.h: Add C++ protection. Add gets declarations and
42951 * debug/tst-chk1.c: Don't declare gets here.
42952 * stdio-common/tst-gets.c: Likewise.
42954 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42956 * posix/glob: Remove directory.
42958 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42960 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42962 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42964 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42965 of the non-standard EPFNOSUPPORT.
42967 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42969 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42970 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42971 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42973 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42975 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42977 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42979 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42981 * nscd/grpcache.c (cache_addgr): Likewise.
42982 * nscd/hstcache.c (cache_addhst): Likewise.
42983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42984 * nscd/pwdcache.c (cache_addpw): Likewise.
42985 * nscd/servicescache.c (cache_addserv): Likewise.
42987 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42989 * malloc/malloc.c: Various cleanups.
42990 * malloc/hooks.c: Likewise.
42992 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42993 * stdlib/bug-fmtmsg1.c: New file.
42995 * stdlib/fmtmsg.c (init): Add missing unlock.
42996 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42998 2012-01-12 Marek Polacek <polacek@redhat.com>
43000 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43003 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43005 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43006 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43007 macro to ensure uniqueness of label name.
43008 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43009 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43011 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43013 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43015 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43016 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43017 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43020 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43022 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43024 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43025 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43026 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43028 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43030 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43031 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43032 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43035 * math/bits/math-finite.h: Add ldexp support.
43037 2012-01-10 Marek Polacek <polacek@redhat.com>
43039 * locale/programs/localedef.h (show_archive_content): Add noreturn
43042 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43044 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43046 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43048 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43050 * io/Makefile (headers): Add bits/poll2.h.
43052 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43055 typo #include statement.
43057 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43059 * include/sys/cdefs.h: Define __attribute_alloc_size.
43060 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43061 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43062 * elf/pldd.c: Likewise.
43063 * iconv/iconv_charmap.c: Likewise.
43064 * iconv/iconvconfig.c: Likewise.
43065 * iconv/strtab.c: Likewise.
43066 * locale/programs/locale.c: Likewise.
43067 * locale/programs/localedef.h: Likewise.
43068 * locale/programs/simple-hash.c: Likewise.
43069 * nscd/nscd.h: Likewise.
43070 * nss/makedb.c: Likewise.
43071 * sysdeps/generic/ldconfig.h: Likewise.
43072 * locale/programs/localedef.c: Remove xmalloc prototype.
43073 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43075 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43077 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43080 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43082 * math/Makefile (tests): Add tst-CMPLX.
43083 * math/tst-CMPLX.c: New file.
43085 * math/complex.h (CMPLXL): Fix typo.
43087 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43088 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43090 * debug/tst-chk1.c: Add poll and ppoll tests.
43091 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43092 * include/sys/poll.h: Add hidden proto for ppoll.
43093 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43094 * sysdeps/mach/hurd/ppoll.c: Likewise.
43095 * io/ppoll.c: Likewise.
43096 * debug/poll_chk.c: New file.
43097 * debug/ppoll_chk.c: New file.
43098 * include/bits/poll2.h: New file.
43099 * io/bits/poll2.h: New file.
43102 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43104 * configure.in: static is always set to yes. Remove.
43105 * config.make.in: Don't set build-static.
43106 * Makeconfig: Remove use of build-static.
43107 * dlfcn/Makefile: Likewise.
43108 * elf/Makefile: Likewise.
43109 * math/Makefile: Likewise.
43110 * misc/Makefile: Likewise.
43111 * nptl/Makefile: Likewise.
43112 * sysdeps/mach/hurd/Makefile: Likewise.
43114 * configure.in: PWD_P is not used anymore.
43115 * config.make.in: Remove PWD_P entry.
43117 * configure.in: Remove last remnants of RANLIB.
43118 No need to check for signed size_t anymore.
43119 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43121 Remove __builtin_expect test because we require at least gcc 3.4.
43122 * aclocal.m4: Likewise.
43124 * wcsmbs/mbrtoc16.c: Implement using towc function.
43125 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43126 * wcsmbs/wcsmbsload.c: Likewise.
43127 * iconv/gconv_simple.c: Likewise.
43128 * iconv/gconv_int.h: Likewise.
43129 * iconv/gconv_builtin.h: Likewise.
43130 * iconv/iconv_prog.c: Remove CHAR16 handling.
43132 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43134 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43136 * configure.in: Remove --with-elf and --enable-bounded options.
43137 Dont set base_machine for ia64. More non-ELF conditions removed.
43138 Remove testing and setting of leading underscore information.
43139 * config.make.in (build-bounded): Set to no.
43140 * config.h.in: Remove NO_UNDERSCORES entry.
43141 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43143 * csu/start.c: Remove !NO_UNDERSCORE code.
43144 * locale/localeinfo.h: Likewise.
43145 * sysdeps/generic/machine-gmon.h: Likewise.
43146 * sysdeps/generic/sysdep.h: Likewise.
43147 * sysdeps/i386/sysdep.h: Likewise.
43148 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43149 * sysdeps/mach/sysdep.h: Likewise.
43150 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43151 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43152 * sysdeps/sh/sysdep.h: Likewise.
43153 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43154 * sysdeps/unix/i386/sysdep.S: Likewise.
43155 * sysdeps/unix/sparc/start.c: Likewise.
43156 * sysdeps/unix/sparc/sysdep.S: Likewise.
43157 * sysdeps/unix/sparc/sysdep.h: Likewise.
43158 * sysdeps/unix/start.c: Likewise.
43159 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43160 * sysdeps/x86_64/sysdep.h: Likewise.
43162 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43165 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43167 * argp/argp-fmtstream.h: Use const instead __const.
43168 * argp/argp.h: Likewise.
43169 * assert/assert.h: Likewise.
43170 * bits/fenv.h: Likewise.
43171 * bits/sched.h: Likewise.
43172 * bits/sigset.h: Likewise.
43173 * bits/sigthread.h: Likewise.
43174 * catgets/nl_types.h: Likewise.
43175 * conform/data/pthread.h-data: Likewise.
43176 * crypt/crypt-private.h: Likewise.
43177 * crypt/crypt.h: Likewise.
43178 * crypt/crypt_util.c: Likewise.
43179 * ctype/ctype.h: Likewise.
43180 * debug/execinfo.h: Likewise.
43181 * debug/mbsnrtowcs_chk.c: Likewise.
43182 * debug/mbsrtowcs_chk.c: Likewise.
43183 * debug/wcsnrtombs_chk.c: Likewise.
43184 * debug/wcsrtombs_chk.c: Likewise.
43185 * debug/wcstombs_chk.c: Likewise.
43186 * dirent/dirent.h: Likewise.
43187 * dlfcn/dlfcn.h: Likewise.
43188 * elf/neededtest4.c: Likewise.
43189 * grp/grp.h: Likewise.
43190 * gshadow/gshadow.h: Likewise.
43191 * iconv/gconv.h: Likewise.
43192 * iconv/gconv_int.h: Likewise.
43193 * iconv/gconv_simple.c: Likewise.
43194 * iconv/iconv.h: Likewise.
43195 * iconv/loop.c: Likewise.
43196 * iconv/skeleton.c: Likewise.
43197 * include/aio.h: Likewise.
43198 * include/aliases.h: Likewise.
43199 * include/argz.h: Likewise.
43200 * include/arpa/inet.h: Likewise.
43201 * include/assert.h: Likewise.
43202 * include/dirent.h: Likewise.
43203 * include/dlfcn.h: Likewise.
43204 * include/execinfo.h: Likewise.
43205 * include/fcntl.h: Likewise.
43206 * include/fenv.h: Likewise.
43207 * include/glob.h: Likewise.
43208 * include/grp.h: Likewise.
43209 * include/libintl.h: Likewise.
43210 * include/mntent.h: Likewise.
43211 * include/netdb.h: Likewise.
43212 * include/pwd.h: Likewise.
43213 * include/rpc/netdb.h: Likewise.
43214 * include/sched.h: Likewise.
43215 * include/search.h: Likewise.
43216 * include/shadow.h: Likewise.
43217 * include/signal.h: Likewise.
43218 * include/stdio.h: Likewise.
43219 * include/stdlib.h: Likewise.
43220 * include/string.h: Likewise.
43221 * include/sys/socket.h: Likewise.
43222 * include/sys/stat.h: Likewise.
43223 * include/sys/statfs.h: Likewise.
43224 * include/sys/statvfs.h: Likewise.
43225 * include/sys/syslog.h: Likewise.
43226 * include/sys/time.h: Likewise.
43227 * include/sys/uio.h: Likewise.
43228 * include/time.h: Likewise.
43229 * include/unistd.h: Likewise.
43230 * include/utmp.h: Likewise.
43231 * include/wchar.h: Likewise.
43232 * include/wctype.h: Likewise.
43233 * inet/aliases.h: Likewise.
43234 * inet/arpa/inet.h: Likewise.
43235 * inet/netinet/ether.h: Likewise.
43236 * inet/netinet/in.h: Likewise.
43237 * intl/libintl.h: Likewise.
43238 * io/bits/fcntl2.h: Likewise.
43239 * io/fcntl.h: Likewise.
43240 * io/ftw.h: Likewise.
43241 * io/sys/poll.h: Likewise.
43242 * io/sys/stat.h: Likewise.
43243 * io/sys/statfs.h: Likewise.
43244 * io/sys/statvfs.h: Likewise.
43245 * io/utime.h: Likewise.
43246 * libio/bits/stdio.h: Likewise.
43247 * libio/bits/stdio2.h: Likewise.
43248 * libio/libio.h: Likewise.
43249 * libio/libioP.h: Likewise.
43250 * libio/stdio.h: Likewise.
43251 * locale/lc-ctype.c: Likewise.
43252 * locale/locale.h: Likewise.
43253 * login/utmp.h: Likewise.
43254 * malloc/arena.c: Likewise.
43255 * malloc/malloc.c: Likewise.
43256 * malloc/malloc.h: Likewise.
43257 * malloc/mcheck.c: Likewise.
43258 * malloc/mtrace.c: Likewise.
43259 * math/bits/mathcalls.h: Likewise.
43260 * math/fenv.h: Likewise.
43261 * math/math_private.h: Likewise.
43262 * misc/bits/error.h: Likewise.
43263 * misc/bits/syslog.h: Likewise.
43264 * misc/err.h: Likewise.
43265 * misc/error.h: Likewise.
43266 * misc/fstab.h: Likewise.
43267 * misc/mntent.h: Likewise.
43268 * misc/regexp.h: Likewise.
43269 * misc/search.h: Likewise.
43270 * misc/sgtty.h: Likewise.
43271 * misc/sys/mman.h: Likewise.
43272 * misc/sys/syslog.h: Likewise.
43273 * misc/sys/uio.h: Likewise.
43274 * misc/sys/xattr.h: Likewise.
43275 * misc/ttyent.h: Likewise.
43276 * nis/rpcsvc/ypclnt.h: Likewise.
43277 * nss/nss.h: Likewise.
43278 * posix/bits/unistd.h: Likewise.
43279 * posix/fnmatch.h: Likewise.
43280 * posix/glob.h: Likewise.
43281 * posix/sched.h: Likewise.
43282 * posix/spawn.h: Likewise.
43283 * posix/sys/wait.h: Likewise.
43284 * posix/unistd.h: Likewise.
43285 * posix/wordexp.h: Likewise.
43286 * pwd/pwd.h: Likewise.
43287 * resolv/netdb.h: Likewise.
43288 * resource/sys/resource.h: Likewise.
43289 * rt/aio.h: Likewise.
43290 * rt/bits/mqueue2.h: Likewise.
43291 * rt/mqueue.h: Likewise.
43292 * shadow/shadow.h: Likewise.
43293 * signal/signal.h: Likewise.
43294 * socket/send.c: Likewise.
43295 * socket/sendto.c: Likewise.
43296 * socket/sys/socket.h: Likewise.
43297 * stdio-common/printf.h: Likewise.
43298 * stdlib/bits/stdlib.h: Likewise.
43299 * stdlib/fmtmsg.h: Likewise.
43300 * stdlib/monetary.h: Likewise.
43301 * stdlib/stdlib.h: Likewise.
43302 * stdlib/ucontext.h: Likewise.
43303 * streams/stropts.h: Likewise.
43304 * string/argz.h: Likewise.
43305 * string/bits/string2.h: Likewise.
43306 * string/string.h: Likewise.
43307 * string/strings.h: Likewise.
43308 * sunrpc/rpc/auth.h: Likewise.
43309 * sunrpc/rpc/auth_des.h: Likewise.
43310 * sunrpc/rpc/clnt.h: Likewise.
43311 * sunrpc/rpc/netdb.h: Likewise.
43312 * sunrpc/rpc/pmap_clnt.h: Likewise.
43313 * sunrpc/rpc/xdr.h: Likewise.
43314 * sysdeps/generic/inttypes.h: Likewise.
43315 * sysdeps/generic/net/if.h: Likewise.
43316 * sysdeps/generic/sys/swap.h: Likewise.
43317 * sysdeps/gnu/net/if.h: Likewise.
43318 * sysdeps/gnu/utmpx.h: Likewise.
43319 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43320 * sysdeps/i386/i486/bits/string.h: Likewise.
43321 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43322 * sysdeps/s390/bits/string.h: Likewise.
43323 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43324 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43325 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43326 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43327 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43328 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43329 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43330 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43331 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43332 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43333 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43334 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43335 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43336 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43337 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43338 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43339 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43341 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43342 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43343 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43344 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43345 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43346 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43347 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43348 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43349 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43350 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43351 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43352 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43353 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43354 * sysvipc/sys/ipc.h: Likewise.
43355 * sysvipc/sys/msg.h: Likewise.
43356 * sysvipc/sys/sem.h: Likewise.
43357 * sysvipc/sys/shm.h: Likewise.
43358 * termios/termios.h: Likewise.
43359 * time/sys/time.h: Likewise.
43360 * time/time.h: Likewise.
43361 * wcsmbs/bits/wchar2.h: Likewise.
43362 * wcsmbs/uchar.h: Likewise.
43363 * wcsmbs/wchar.h: Likewise.
43364 * wctype/wctype.h: Likewise.
43367 * Makeconfig: Remove all but ELF support including AIX support.
43368 * Makerules: Likewise.
43369 * config.h.in: Likewise.
43370 * config.make.in: Likewise.
43371 * configure: Likewise.
43372 * configure.in: Likewise.
43373 * csu/Makefile: Likewise.
43374 * csu/version.c: Likewise.
43375 * debug/Makefile: Likewise.
43376 * dlfcn/Makefile: Likewise.
43377 * elf/Makefile: Likewise.
43378 * extra-lib.mk: Likewise.
43379 * iconv/Makefile: Likewise.
43380 * include/libc-symbols.h: Likewise.
43381 * include/shlib-compat.h: Likewise.
43382 * resolv/Makefile: Likewise.
43383 * resolv/res_libc.c: Likewise.
43384 * rt/Makefile: Likewise.
43385 * sysdeps/i386/asm-syntax.h: Likewise.
43386 * sysdeps/i386/sysdep.h: Likewise.
43387 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43388 * sysdeps/mach/sysdep.h: Likewise.
43389 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43390 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43391 * sysdeps/s390/asm-syntax.h: Likewise.
43392 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43393 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43394 * sysdeps/sh/sysdep.h: Likewise.
43395 * sysdeps/unix/sparc/sysdep.h: Likewise.
43396 * sysdeps/wordsize-32/divdi3.c: Likewise.
43397 * sysdeps/x86_64/sysdep.h: Likewise.
43399 * argp/Versions: Remove _argp_unlock_xxx.
43402 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43403 * abilist/libBrokenLocale.abilist: Likewise.
43404 * abilist/libanl.abilist: Likewise.
43405 * abilist/libc.abilist: Likewise.
43406 * abilist/libcrypt.abilist: Likewise.
43407 * abilist/libdl.abilist: Likewise.
43408 * abilist/libm.abilist: Likewise.
43409 * abilist/libnsl.abilist: Likewise.
43410 * abilist/libpthread.abilist: Likewise.
43411 * abilist/libresolv.abilist: Likewise.
43412 * abilist/librt.abilist: Likewise.
43413 * abilist/libthread_db.abilist: Likewise.
43414 * abilist/libutil.abilist: Likewise.
43415 * abilist/libnss_db.abilist: New file.
43417 * scripts/abilist.awk: Add support for indirect functions.
43419 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43421 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43423 * shlib-versions: Remove entries for ports architectures.
43425 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43427 * elf/stackguard-macros.h: Remove support for IA-64.
43428 * elf/tst-auditmod1.c: Likewise.
43429 * sysdeps/generic/ldsodefs.h: Likewise.
43431 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43432 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43436 * configure.in: Remove --enable-omitfp support.
43438 * config.make.in: Likewise.
43439 * Makeconfig: Likewise.
43440 * manual/install.texi: Likewise.
43442 In case anyone cares, the IA-64 architecture could move to ports.
43443 * sysdeps/ia64/*: Removed.
43444 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43445 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43448 * configure.in: Remove entries for unsupported architectures.
43451 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43452 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43454 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43455 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43456 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43457 fall back to using wcrtomb.
43458 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43459 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43461 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43462 * wcsmbs/tst-c16c32-1.c: New file.
43464 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43467 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43469 * elf/tst-unique3.cc: Add explicit declaration of gets.
43470 * elf/tst-unique3lib.cc: Likewise.
43471 * elf/tst-unique3lib2.cc: Likewise.
43472 * elf/tst-unique4.cc: Likewise.
43474 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43476 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43479 * assert/assert.h (static_assert): Don't define for C++.
43480 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43481 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43483 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43485 * iconv/loop.c (single loop): Fix assertion in storing of
43488 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43490 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43492 * posix/getconf.c: Update copyright year.
43493 * nss/getent.c: Likewise.
43494 * nss/makedb.c: Likewise.
43495 * iconv/iconvconfig.c: Likewise.
43496 * iconv/iconv_prog.c: Likewise.
43497 * elf/ldconfig.c: Likewise.
43498 * elf/pldd.c: Likewise.
43499 * elf/sotruss.ksh: Likewise.
43500 * catgets/gencat.c: Likewise.
43501 * csu/version.c: Likewise.
43502 * elf/ldd.bash.in: Likewise.
43503 * elf/sprof.c (print_version): Likewise.
43504 * locale/programs/locale.c: Likewise.
43505 * locale/programs/localedef.c: Likewise.
43506 * login/programs/pt_chown.c: Likewise.
43507 * nscd/nscd.c (print_version): Likewise.
43508 * debug/xtrace.sh: Likewise.
43509 * malloc/memusage.sh: Likewise.
43510 * malloc/mtrace.pl: Likewise.
43511 * debug/catchsegv.sh: Likewise.
43513 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43515 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43518 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43521 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43522 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43524 * iconv/gconv_int.h: Likewise.
43525 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43526 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43527 from libc for GLIBC_2.16.
43528 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43529 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43530 * wcsmbs/uchar.h: Really define mbstate_t.
43531 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43532 * wcsmbs/c16rtomb.c: New file.
43533 * wcsmbs/mbrtoc16.c: New file.
43534 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43535 for C/POSIX locale.
43536 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43537 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43539 * wcsmbs/wchar.h: Add missing __restrict.
43541 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43544 * time/Makefile (routines): Add timespec_get.
43545 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43546 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43547 timespec for ISO C11.
43548 * time/timespec_get.c: New file.
43549 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43550 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43553 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43554 * stdlib/stdlib.h: Declare aligned_alloc.
43555 * Versions.def: Add GLIBC_2.16 for libc.
43556 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43559 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43562 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43566 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43569 * assert/assert.h (static_assert): Define.
43571 * version.h: Update for 2.16 development version.
43574 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43577 * version.h (RELEASE): Bump for 2.15 release.
43578 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43580 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43581 Patch by Marek Polacek <mpolacek@redhat.com>.
43583 * bits/byteswap.h: Protect long long constants with __extension__.
43584 * sysdeps/i386/bits/byteswap.h: Likewise.
43585 * sysdeps/ia64/bits/byteswap.h: Likewise.
43586 * sysdeps/s390/bits/byteswap.h: Likewise.
43587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43589 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43592 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43593 destination buffer.
43594 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43596 2011-12-23 Marek Polacek <polacek@redhat.com>
43598 * elf/dl-addr.c (determine_info): Add inline keyword.
43599 * elf/tst-auditmod4b.c (check_avx): Likewise.
43600 * elf/tst-auditmod6b.c (check_avx): Likewise.
43601 * elf/tst-auditmod6c.c (check_avx): Likewise.
43602 * elf/tst-auditmod7b.c (check_avx): Likewise.
43604 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43606 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43609 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43612 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43613 processing for last bytes.
43615 2011-08-06 Bruno Haible <bruno@clisp.org>
43618 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43619 U+0385, not to U+1FEE.
43622 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43623 entry for U+00A5 U+0301.
43625 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43628 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43629 buffer for the output is too small.
43631 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43635 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43636 SSE flags if possible.
43638 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43642 processing for last bytes.
43644 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43646 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43647 (syscall-list-default-options, syscall-list-default-condition)
43648 (syscall-list-includes): Define.
43649 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43650 list of ABIs and options and #if conditions for each ABI. Do not
43651 handle common syscalls between ABIs specially.
43652 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43654 (syscall-list-variants, syscall-list-32bit-options)
43655 (syscall-list-32bit-condition, syscall-list-64bit-options)
43656 (syscall-list-64bit-condition): Define.
43657 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43658 (syscall-list-variants, syscall-list-32bit-options)
43659 (syscall-list-32bit-condition, syscall-list-64bit-options)
43660 (syscall-list-64bit-condition): Define.
43661 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43663 (syscall-list-variants, syscall-list-32bit-options)
43664 (syscall-list-32bit-condition, syscall-list-64bit-options)
43665 (syscall-list-64bit-condition): Define.
43666 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43668 (syscall-list-variants, syscall-list-32bit-options)
43669 (syscall-list-32bit-condition, syscall-list-64bit-options)
43670 (syscall-list-64bit-condition): Define.
43672 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43674 * locale/iso-639.def: Add brx entry.
43677 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43678 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43680 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43681 __feraiseexcept_renamed.
43683 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43686 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43687 EPOLLET with unsigned values.
43688 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43691 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43692 to large cancellation.
43693 * math/s_cacoshf.c: Likewise.
43694 * math/s_cacoshl.c: Likewise.
43696 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43700 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43701 * math/s_cacoshf.c: Likewise.
43702 * math/s_cacoshl.c: Likewise.
43704 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43707 * iconv/gconv.h: Define __GCONV_SWAP.
43708 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43709 * iconvdata/utf-16.c: Likewise.
43710 * iconvdata/utf-32.c: Likewise.
43712 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43715 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43716 numerator after shifting it by one limb.
43718 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43720 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43721 under [__USE_EXTERN_INLINES].
43723 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43726 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43728 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43730 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43731 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43733 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43734 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43735 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43736 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43737 for strncasecmp/strncasecmp_l compilation.
43738 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43739 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43741 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43744 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43747 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43750 * time/tzfile.c (__tzfile_read): Check values from file header.
43752 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43754 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43755 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43756 * powerpc/powerpc32/dl-start.S: Likewise.
43757 * powerpc/powerpc32/elf/start.S: Likewise.
43758 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43759 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43760 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43761 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43762 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43763 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43764 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43765 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43766 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43767 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43768 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43769 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43770 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43771 * powerpc/powerpc32/memset.S: Likewise.
43772 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43773 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43774 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43775 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43776 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43777 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43778 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43779 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43780 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43781 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43782 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43783 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43784 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43786 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43788 * math/libm-test.inc: Added more nearbyint tests.
43789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43790 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43791 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43792 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43794 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43796 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43799 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43801 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43802 Add wcscpy-ssse3 wcscpy-c.
43803 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43804 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43805 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43806 * sysdeps/x86_64/wcschr.S: New file.
43807 * sysdeps/x86_64/wcsrchr.S: New file.
43808 * string/test-strcmp.c: Remove checking of wcscmp function for
43810 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43811 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43812 wcsrchr-sse2 wcsrchr-c.
43813 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43814 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43815 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43816 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43817 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43818 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43819 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43820 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43821 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43822 * wcsmbc/wcschr.c (WCSCHR): New macro.
43824 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43826 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43827 * wcsmbs/test-wcsrchr.c: New file.
43828 * string/test-strrchr.c: Add wcsrchr support.
43830 * wcsmbs/test-wcscpy.c: New file.
43831 * string/test-strcpy.c: Add wcscpy support.
43834 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43836 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43839 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43842 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43844 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43847 Minor optimizations.
43849 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43850 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43851 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43853 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43855 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43856 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43857 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43858 for gcc to avoid warnings.
43859 * inet/Makefile (tests): Add tst-checks.
43860 * inet/tst-checks.c: New file.
43862 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43865 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43868 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43869 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43871 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43873 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43875 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43878 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43880 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43882 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43883 conditional on GCC version.
43884 (__arch_compare_and_exchange_val_8_acq)
43885 (__arch_compare_and_exchange_val_16_acq)
43886 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43887 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43888 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43890 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43892 * sysdeps/sh/backtrace.c: New file.
43894 2011-12-02 Andreas Schwab <schwab@redhat.com>
43896 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43899 2011-12-01 Andreas Schwab <schwab@redhat.com>
43901 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43902 falling back to utime.
43904 2011-11-30 Andreas Schwab <schwab@redhat.com>
43906 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43907 expectations for float.
43909 2011-11-29 Andreas Schwab <schwab@redhat.com>
43911 * locale/weight.h (findidx): Add parameter len.
43912 * locale/weightwc.h (findidx): Likewise.
43913 * posix/fnmatch_loop.c (FCT): Adjust caller.
43914 * posix/regcomp.c (build_equiv_class): Likewise.
43915 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43916 * posix/regexec.c (check_node_accept_bytes): Likewise.
43917 * string/strcoll_l.c (STRCOLL): Likewise.
43918 * string/strxfrm_l.c (STRXFRM): Likewise.
43920 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43922 * Makefile.in: Remove CVSOPT handling.
43923 * configure.in: Remove use of AC_REVISION.
43924 * iconvdata/Makefile (distribute): No need to filter out CVS.
43925 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43928 2011-11-16 Andreas Schwab <schwab@redhat.com>
43930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43931 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43932 [USE_AS_STRNCASECMP_L]: Likewise.
43933 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43934 NO_TLS_DIRECT_SEG_REFS.
43935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43936 Fix argument offsets for non-PIC.
43937 [USE_AS_STRNCASECMP_L]: Likewise.
43938 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43939 NO_TLS_DIRECT_SEG_REFS.
43941 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43943 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43945 * locale/loadlocale.c (_nl_load_locale): Likewise.
43947 2011-11-15 Andreas Schwab <schwab@redhat.com>
43949 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43950 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43951 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43952 (SYSCALL_GETTIME): Set errno on error.
43954 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43955 count references to noai6ai_cached.
43957 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43959 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43961 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43962 FD_CLOEXEC for /proc/self/maps.
43964 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43965 FD_CLOEXEC for /proc/meminfo.
43967 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43970 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43971 FD_CLOEXEC for given file.
43973 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43975 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43976 FD_CLOEXEC for /etc/hosts.
43977 (_gethtent): Likewise.
43979 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43981 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43982 cancellation and set FD_CLOEXEC for /etc/netgroup.
43984 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43985 reading /etc/publickey.
43987 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43988 allow cancellation when reading /etc/group.
43990 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43992 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43994 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43995 when using data file.
43997 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43999 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44000 (write_nis_obj): Use "c" and "e" in fopen.
44002 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44004 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44006 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44008 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44010 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44013 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44015 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44017 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44019 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44020 file parsing and set FD_CLOEXEC.
44022 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44024 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44026 2011-11-14 Andreas Schwab <schwab@redhat.com>
44028 * malloc/arena.c (arena_get2): Don't call reused_arena when
44029 _int_new_arena failed.
44031 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44033 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44034 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44035 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44037 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44039 to compile strcasecmp and strncasecmp.
44040 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44041 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44045 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44047 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44048 locale-defines.sym to gen-as-const-headers.
44049 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44050 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44052 to compile strcasecmp and strncasecmp.
44053 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44054 strcasecmp_l and strncasecmp_l.
44055 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44056 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44057 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44058 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44059 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44060 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44061 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44062 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44063 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44064 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44065 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44067 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44069 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44070 result of SYSDEP_GETTIME_CPU to retval.
44071 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44072 parameter list to macro. Remove trailing semicolon. Adjust users.
44074 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44077 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44079 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44081 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44082 from unused variable.
44084 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44086 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44089 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44092 * sunrpc/rpc_prot.c (rejected): Fix case value.
44094 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44095 unsigned long long int to avoid warnings in shift.
44097 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44099 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44102 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44103 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44104 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44106 * nis/nis_table.c (nis_list): Use variable of correct type for
44107 result of __follow_path call.
44109 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44111 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44112 of math functions ceil, trunc, floor, round, and sqrt, when
44113 avaliable on the platform.
44114 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44116 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44117 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44118 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44120 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44122 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44123 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44125 2011-11-11 Roland McGrath <roland@hack.frob.com>
44127 * include/unistd.h: Fix __readlink return type.
44128 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44130 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44132 * stdlib/ucontext.h: Undo last change for makecontext.
44134 2011-11-11 Andreas Schwab <schwab@redhat.com>
44136 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44138 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44139 * setjmp/setjmp.h: Mark functions as non-leaf.
44140 * setjmp/bits/setjmp2.h: Likewise.
44141 * stdlib/ucontext.h: Likewise.
44143 2011-11-10 Andreas Schwab <schwab@redhat.com>
44145 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44146 (reused_arena): Don't check arena limit.
44147 (arena_get2): Atomically check arena limit.
44149 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44151 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44152 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44157 2011-11-07 Andreas Schwab <schwab@redhat.com>
44159 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44160 handler when locking.
44162 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44163 Fix size of allocated buffer.
44165 2011-11-04 Andreas Schwab <schwab@redhat.com>
44168 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44169 declarations for long double functions.
44170 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44172 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44174 2011-11-03 Andreas Schwab <schwab@redhat.com>
44176 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44179 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44182 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44184 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44186 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44188 * include/alloca.h (stackinfo_alloca_round): Define.
44189 (extend_alloca): Use it.
44190 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44191 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44194 * scripts/check-local-headers.sh: Ignore libaudit.h.
44196 * nscd/Makefile (extra-objs): Make recursively expanded.
44198 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44200 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44203 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44204 * posix/tst-rfc3484-2.c: Likewise.
44205 * posix/tst-rfc3484-3.c: Likewise.
44207 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44209 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44211 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44212 process_vm_writev from libc using GLIBC_2.15 version.
44214 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44216 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44218 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44221 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44224 * nss/getent.c (initgroups_keys): Show error message in case no group
44227 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44228 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44229 __bump_nl_timestamp.
44230 * nscd/connections (nscd_init): When host database is served open
44231 netlink socket and request notification about configuration changes.
44232 (main_loop_poll): Track netlink file descriptor and bump timestamp
44233 in case data becomes available.
44234 (main_loop_epoll): Likewise.
44235 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44236 (database_pers_head): Add extra_data fileds.
44237 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44238 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44239 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44242 in6ai data, call __free_in6ai.
44243 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44244 Add -DHAVE_NETLINK.
44245 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44246 interface information. Reuse previous data if netlink timestamp
44248 (__bump_nl_timestamp): New function.
44249 (__free_in6ai): New function.
44251 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44253 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44254 close_not_cancel_no_status here.
44255 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44257 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44260 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44263 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44264 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44265 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44267 2011-07-03 Andreas Jaeger <aj@suse.de>
44270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44271 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44272 * math/libm-test.inc (sin_test): Add test case.
44274 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44277 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44278 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44280 * elf/chroot_canon.c (chroot_canon): Cleanups.
44282 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44285 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44286 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44288 * string/test-strchr.c: Make usable for strchrnul testing.
44289 * string/test-strchrnul.c: New file.
44290 * string/Makefile (strop-tests): Add strchrnul.
44292 * po/it.po: Update from translation team.
44293 * po/es.po: Likewise.
44295 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44297 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44298 the three constants needed as parameters. Drop the others.
44299 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44300 __m128i_strloadu_tolower.
44301 Create and initialize variable zero and use it in all the places
44302 where _mm_setzero_si128 was used.
44304 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44305 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44306 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44307 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44309 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44310 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44311 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44312 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44313 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44314 __mpranred, __mptan.
44315 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44316 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44317 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44318 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44319 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44320 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44322 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44323 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44325 2011-10-28 Andreas Schwab <schwab@redhat.com>
44327 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44328 redefine if SHARED.
44329 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44332 wide char related routines to wcsmbs subdir.
44334 2011-10-27 Andreas Schwab <schwab@redhat.com>
44337 * misc/sys/cdefs.h (__THROWNL): Define.
44338 * posix/unistd.h: Use __THREADNL instead of __THREAD
44339 for memory synchronization functions.
44341 2011-10-26 Roland McGrath <roland@hack.frob.com>
44344 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44346 * manual/stdio.texi (Obstack Streams): Node removed.
44348 2011-10-26 Andreas Schwab <schwab@redhat.com>
44350 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44351 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44352 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44354 * math/math_private.h (math_force_eval): Allow non-addressable
44356 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44358 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44360 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44361 file is not needed.
44363 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44364 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44365 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44366 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44367 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44368 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44369 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44370 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44372 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44373 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44374 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44375 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44376 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44377 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44378 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44379 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44380 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44381 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44382 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44383 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44385 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44386 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44387 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44388 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44389 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44390 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44392 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44393 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44395 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44396 place. Use VEX encoding when compiling for AVX.
44398 2011-10-25 Andreas Schwab <schwab@redhat.com>
44400 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44401 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44403 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44405 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44407 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44408 useless if() expression.
44409 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44410 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44411 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44412 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44413 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44414 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44415 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44417 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44418 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44419 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44420 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44421 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44422 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44423 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44424 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44425 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44426 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44427 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44429 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44431 2011-10-25 Andreas Schwab <schwab@redhat.com>
44433 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44435 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44437 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44439 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44440 .text section. Avoid duplicate constants.
44441 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44445 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44450 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44451 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44452 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44453 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44456 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44457 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44458 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44461 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44462 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44463 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44464 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44465 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44466 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44467 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44468 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44469 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44470 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44471 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44472 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44473 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44474 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44475 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44476 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44477 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44478 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44479 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44480 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44481 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44482 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44483 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44484 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44485 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44487 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44489 * sysdeps/x86_64/dla.h: Move to ...
44490 * sysdeps/x86_64/fpu/dla.h: ...here.
44491 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44492 situations. Use __builtin_fma only for gcc 4.6 and up.
44494 * config.make.in: Add have-mfma4 entry.
44495 * configure.in: Substitute libc_cv_cc_fma4.
44496 * math/Makefile (dbl-only-routines): Add sincostab.
44497 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44498 Use __sincostab not sincos.
44499 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44506 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44507 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44508 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44509 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44511 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44512 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44514 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44515 define aliases when function name is a macro.
44516 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44517 sysdeps/ieee754/dbl-64/sincos.tbl.
44518 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44519 fma4-enabled routines.
44520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44521 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44522 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44523 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44524 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44525 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44526 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44527 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44529 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44530 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44531 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44532 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44533 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44534 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44535 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44536 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44537 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44538 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44540 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44541 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44542 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44543 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44544 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44545 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44547 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44548 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44549 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44551 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44554 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44557 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44562 2011-10-24 Andreas Schwab <schwab@redhat.com>
44564 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44566 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44568 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44570 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44574 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44575 Remove unused variable magic_bits.
44576 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44578 * string/strnlen.c: Define and use STRNLEN macro.
44579 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44580 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44582 * wcsmbs/wcslen.c: Define and use WCSLEN.
44583 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44584 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44585 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44586 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44587 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44588 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44589 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44591 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44594 strnlen-sse2-no-bsf.
44595 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44597 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44598 Add strnlen support.
44599 (USE_AS_STRNLEN): New macro.
44600 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44601 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44602 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44603 * sysdeps/x86_64/wcslen.S: New file.
44605 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44607 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44608 XMM-moves are used for copying on small sizes.
44610 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44612 * wcsmbs/Makefile (strop-tests): Add wcschr.
44613 * wcsmbs/test-wcschr.c: New file.
44614 * string/test-strchr.c: Update.
44615 Add wcschr support.
44618 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44620 * wcsmbs/Makefile (strop-tests): Add wcslen.
44621 * wcsmbs/test-wcslen.c: New file.
44622 * string/test-strlen.c: Update.
44623 Add wcslen support.
44626 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44628 * po/it.po: Update from translation team.
44630 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44632 * sysdeps/x86_64/wcscmp.S: Update.
44633 Fix wrong comparison semantics.
44634 wcscmp shall use signed comparison not unsigned.
44635 Don't use substraction to avoid overflow bug.
44636 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44637 * wcsmbc/wcscmp.c: Likewise.
44638 * string/test-strcmp.c: Likewise.
44639 Add new tests to check cases with negative values.
44641 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44643 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44644 * sysdeps/x86_64/dla.h: ...here. New file.
44645 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44652 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44655 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44658 __ynl_finite aliases.
44660 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44664 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44666 [DLA_FMA] (EMULV): Use DLA_FMA.
44667 [DLA_FMA] (MUL12): Use EMULV.
44668 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44669 that are not needed.
44670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44671 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44674 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44678 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44680 * math/s_nan.c: Undef __nan.
44681 * math/s_nanf.c: Undef __nanf.
44682 * math/s_nanl.c: Undef __nanl.
44683 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44686 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44688 * math/s_catan.c: Add branch predictions.
44689 * math/s_catanf.c: Likewise.
44690 * math/s_catanh.c: Likewise.
44691 * math/s_catanhf.c: Likewise.
44692 * math/s_catanhl.c: Likewise.
44693 * math/s_catanl.c: Likewise.
44694 * math/s_cexp.c: Likewise.
44695 * math/s_cexpf.c: Likewise.
44696 * math/s_cexpl.c: Likewise.
44697 * math/s_clog.c: Likewise.
44698 * math/s_clog10.c: Likewise.
44699 * math/s_clog10f.c: Likewise.
44700 * math/s_clog10l.c: Likewise.
44701 * math/s_clogf.c: Likewise.
44702 * math/s_clogl.c: Likewise.
44703 * math/s_csqrt.c: Likewise.
44704 * math/s_csqrtf.c: Likewise.
44705 * math/s_csqrtl.c: Likewise.
44706 * math/s_ctanf.c: Likewise.
44707 * math/s_ctanh.c: Likewise.
44708 * math/s_ctanhf.c: Likewise.
44709 * math/s_ctanhl.c: Likewise.
44710 * math/s_ctanl.c: Likewise.
44712 * math/math_private.h: Define __nan, __nanf, __nanl.
44713 * math/s_cacosh.c: Include <math_private.h>.
44714 * math/s_cacoshl.c: Likewise.
44715 * math/s_casinh.c: Likewise.
44716 * math/s_casinhf.c: Likewise.
44717 * math/s_casinhl.c: Likewise.
44718 * math/s_ccos.c: Rely entire on ccosh.
44719 * math/s_ccosf.c: Rely entire on ccoshf.
44720 * math/s_ccosl.c: Rely entirely on ccoshl.
44721 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44722 Remove tests for FE_INVALID.
44723 * math/s_ccoshf.c: Likewise.
44724 * math/s_ccoshl.c: Likewise.
44725 * math/s_csin.c: Likewise.
44726 * math/s_csinf.c: Likewise.
44727 * math/s_csinh.c Likewise.
44728 * math/s_csinhf.c: Likewise.
44729 * math/s_csinhl.c: Likewise.
44730 * math/s_csinl.c: Likewise.
44731 * math/s_ctan.c: Likewise.
44732 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44733 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44734 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44736 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44739 compilation problems.
44741 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44744 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44746 * sysdeps/i386/configure.in: Test for -mfma4 option.
44747 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44748 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44749 COMMON_CPUID_INDEX_80000001.
44750 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44751 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44752 use it if FMA3 is not supported.
44753 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44755 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44756 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44758 2011-10-20 Andreas Schwab <schwab@redhat.com>
44761 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44762 it would create a cycle with a link time dependency.
44764 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44766 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44768 * string/Makefile (strop-tests): Add rawmemchr.
44769 * string/test-rawmemchr.c: New file.
44771 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44772 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44773 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44774 when compiling str{,n}casecmp and when AVX is available. Hook up
44775 new optimized code in initializers.
44777 2011-10-19 Andreas Schwab <schwab@redhat.com>
44779 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44780 __feraiseexcept instead of feraiseexcept.
44782 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44784 * math/math_private.h: Define defaults for libc_fetestexcept and
44786 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44787 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44788 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44789 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44790 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44791 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44792 libc_fetestexcept and libc_feupdateenv.
44794 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44795 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44796 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44797 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44798 libc_feholdexcept_setround.
44800 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44801 Add s_nearbyint-c and s_nearbyintf-c.
44802 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44803 nearbyintf inlines.
44804 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44805 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44806 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44807 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44809 * math/math_private.h: Define defaults for libc_fegetround,
44810 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44811 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44812 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44813 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44814 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44815 standard functions.
44816 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44817 Remove comments and hacks for old compiler versions.
44818 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44819 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44820 libc_feholdexceptl.
44822 2011-10-18 Andreas Schwab <schwab@redhat.com>
44824 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44825 (__feraiseexcept_renamed): Add __NTH.
44826 (feraiseexcept): Add __NTH. Rename local variables to fix
44827 namespace violations.
44829 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44831 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44833 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44835 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44836 recently added interfaces.
44837 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44839 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44840 about macro parameter expansion.
44842 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44843 __NO_MATH_INLINES is defined. Cleanups.
44845 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44846 and __floorf is target has SSE4.1.
44847 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44848 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44849 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44850 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44852 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44854 (floorf): Likewise.
44856 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44858 2011-10-17 Andreas Schwab <schwab@redhat.com>
44860 * misc/sys/cdefs.h: Fix last change.
44862 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44865 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44867 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44869 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44870 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44871 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44872 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44873 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44874 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44875 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44876 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44877 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44878 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44879 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44880 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44881 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44882 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44883 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44884 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44885 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44886 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44887 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44888 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44889 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44890 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44892 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44893 ceil, ceilf, floor, floorf.
44895 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44896 Perform IRELATIVE relocations last.
44898 * elf/do-rel.h: Add another parameter nrelative, replacing the
44899 local variable with the same name. Change name of the function
44900 to end in Rel or Rela (uppercase).
44901 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44902 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44903 elf_dynamic_do_##reloc function.
44905 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44907 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44908 is sufficient, at least on modern CPUs.
44910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44912 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44913 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44915 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44917 * math/bits/math-finite.h: Add entries for exp.
44918 * math/e_expl.c: Add __*_finite alias.
44919 * sysdeps/i386/fpu/e_exp.S: Likewise.
44920 * sysdeps/i386/fpu/e_expf.S: Likewise.
44921 * sysdeps/i386/fpu/e_expl.c: Likewise.
44922 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44923 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44924 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44926 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44927 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44928 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44930 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44931 is sufficient, at least on modern CPUs.
44933 * ctype/ctype-info.c (__ctype_init): Define.
44934 * include/ctype.h (__ctype_init): Declare.
44935 (__ctype_b_loc): The variable is always initialized.
44936 (__ctype_toupper_loc): Likewise.
44937 (__ctype_tolower_loc): Likewise.
44938 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44939 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44941 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44943 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44945 * configure.in: Also look in $cxxmachine/include for C++ system
44948 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44950 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44951 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44952 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44953 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44954 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44955 (USE_AS_WMEMCMP): New macro.
44957 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44958 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44959 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44960 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44962 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44963 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44964 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44965 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44966 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44967 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44968 (USE_AS_WMEMCMP): New macro.
44969 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44970 * sysdeps/string/test-memcmp.c: Update.
44971 Fix simple_wmemcmp.
44973 * wcsmbs/wmemcmp.c: Update.
44974 (WMEMCMP): New macro.
44977 2011-10-12 Andreas Jaeger <aj@suse.de>
44980 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44982 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44984 * libio/iofwide.c (do_length): Avoid warning.
44986 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44988 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44990 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44992 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44993 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44994 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44995 * sysdeps/i386/i686/fpu/e_log.S: New file.
44996 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44997 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44999 * ctype/ctype.h: Add support for inlined isXXX functions when
45000 compiling C++ code.
45002 2011-10-14 Andreas Schwab <schwab@redhat.com>
45004 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45006 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45008 2011-10-13 Roland McGrath <roland@hack.frob.com>
45011 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45013 2011-10-13 Andreas Schwab <schwab@redhat.com>
45015 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45016 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45019 * sysdeps/x86_64/memrchr.S: Check for zero size.
45021 * string/stratcliff.c: Add memrchr tests.
45023 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45026 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45027 rawmemchr-sse2 rawmemchr-sse2-bsf.
45028 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45029 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45030 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45031 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45032 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45033 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45034 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45035 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45036 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45037 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45038 * string/memrchr.c (MEMRCHR): New macro.
45040 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45042 Add integration with gcc's -ffinite-math-only and optimize wrapper
45044 * Versions.def: Define GLIBC_2.15 version for libm.
45045 * math/Makefile (headers): Add bits/math-finite.h.
45046 * math/bits/math-finite.h: New file.
45047 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45048 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45049 * math/e_acoshl.c: Add __*_finite alias.
45050 * math/e_acosl.c: Likewise.
45051 * math/e_asinl.c: Likewise.
45052 * math/e_atan2l.c: Likewise.
45053 * math/e_atanhl.c: Likewise.
45054 * math/e_coshl.c: Likewise.
45055 * math/e_exp10.c: Likewise.
45056 * math/e_exp10f.c: Likewise.
45057 * math/e_exp10l.c: Likewise.
45058 * math/e_exp2l.c: Likewise.
45059 * math/e_fmodl.c: Likewise.
45060 * math/e_gammal_r.c: Likewise.
45061 * math/e_hypotl.c: Likewise.
45062 * math/e_j0l.c: Likewise.
45063 * math/e_j1l.c: Likewise.
45064 * math/e_jnl.c: Likewise.
45065 * math/e_lgammal_r.c: Likewise.
45066 * math/e_log10l.c: Likewise.
45067 * math/e_log2l.c: Likewise.
45068 * math/e_logl.c: Likewise.
45069 * math/e_powl.c: Likewise.
45070 * math/e_sinhl.c: Likewise.
45071 * math/e_sqrtl.c: Likewise.
45072 * math/e_scalb.c: Completely rewritten and optimized.
45073 * math/e_scalbf.c: Likewise.
45074 * math/e_scalbl.c: Likewise.
45075 * math/w_acos.c: Likewise.
45076 * math/w_acosf.c: Likewise.
45077 * math/w_acosl.c: Likewise.
45078 * math/w_acosh.c: Likewise.
45079 * math/w_acoshf.c: Likewise.
45080 * math/w_acoshl.c: Likewise.
45081 * math/w_asin.c: Likewise.
45082 * math/w_asinf.c: Likewise.
45083 * math/w_asinl.c: Likewise.
45084 * math/w_atan2.c: Likewise.
45085 * math/w_atan2f.c: Likewise.
45086 * math/w_atan2l.c: Likewise.
45087 * math/w_atanh.c: Likewise.
45088 * math/w_atanhf.c: Likewise.
45089 * math/w_atanhl.c: Likewise.
45090 * math/w_exp10.c: Likewise.
45091 * math/w_exp10f.c: Likewise.
45092 * math/w_exp10l.c: Likewise.
45093 * math/w_fmod.c: Likewise.
45094 * math/w_fmodf.c: Likewise.
45095 * math/w_fmodl.c: Likewise.
45096 * math/w_j0.c: Likewise.
45097 * math/w_j0f.c: Likewise.
45098 * math/w_j0l.c: Likewise.
45099 * math/w_j1.c: Likewise.
45100 * math/w_j1f.c: Likewise.
45101 * math/w_j1l.c: Likewise.
45102 * math/w_jn.c: Likewise.
45103 * math/w_jnf.c: Likewise.
45104 * math/w_log.c: Likewise.
45105 * math/w_logf.c: Likewise.
45106 * math/w_logl.c: Likewise.
45107 * math/w_log10.c: Likewise.
45108 * math/w_log10f.c: Likewise.
45109 * math/w_log10l.c: Likewise.
45110 * math/w_log2.c: Likewise.
45111 * math/w_log2f.c: Likewise.
45112 * math/w_log2l.c: Likewise.
45113 * math/w_pow.c: Likewise.
45114 * math/w_powf.c: Likewise.
45115 * math/w_powl.c: Likewise.
45116 * math/w_remainder.c: Likewise.
45117 * math/w_remainderf.c: Likewise.
45118 * math/w_remainderl.c: Likewise.
45119 * math/w_scalb.c: Likewise.
45120 * math/w_scalbf.c: Likewise.
45121 * math/w_scalbl.c: Likewise.
45122 * math/w_sqrt.c: Likewise.
45123 * math/w_sqrtf.c: Likewise.
45124 * math/w_sqrtl.c: Likewise.
45125 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45126 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45128 * math/math_private.h: Declare __kernel_standard_f.
45129 * math/w_cosh.c: Remove cruft and optimize a bit.
45130 * math/w_coshf.c: Likewise.
45131 * math/w_coshl.c: Likewise.
45132 * math/w_exp2.c: Likewise.
45133 * math/w_exp2f.c: Likewise.
45134 * math/w_exp2l.c: Likewise.
45135 * math/w_hypot.c: Likewise.
45136 * math/w_hypotf.c: Likewise.
45137 * math/w_hypotl.c: Likewise.
45138 * math/w_lgamma.c: Likewise.
45139 * math/w_lgamma_r.c: Likewise.
45140 * math/w_lgammaf.c: Likewise.
45141 * math/w_lgammaf_r.c: Likewise.
45142 * math/w_lgammal.c: Likewise.
45143 * math/w_lgammal_r.c: Likewise.
45144 * math/w_sinh.c: Likewise.
45145 * math/w_sinhf.c: Likewise.
45146 * math/w_sinhl.c: Likewise.
45147 * math/w_tgamma.c: Likewise.
45148 * math/w_tgammaf.c: Likewise.
45149 * math/w_tgammal.c: Likewise.
45150 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45151 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45152 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45153 Minor optimizations. Pretty printing. Remove cruft.
45154 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45155 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45156 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45157 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45158 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45159 * sysdeps/i386/fpu/e_asin.S: Likewise.
45160 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45161 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45162 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45163 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45164 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45165 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45166 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45167 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45168 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45169 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45170 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45171 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45172 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45173 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45174 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45175 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45176 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45177 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45178 * sysdeps/i386/fpu/e_log.S: Likewise.
45179 * sysdeps/i386/fpu/e_log10.S: Likewise.
45180 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45181 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45182 * sysdeps/i386/fpu/e_log2.S: Likewise.
45183 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45184 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45185 * sysdeps/i386/fpu/e_logf.S: Likewise.
45186 * sysdeps/i386/fpu/e_logl.S: Likewise.
45187 * sysdeps/i386/fpu/e_pow.S: Likewise.
45188 * sysdeps/i386/fpu/e_powf.S: Likewise.
45189 * sysdeps/i386/fpu/e_powl.S: Likewise.
45190 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45191 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45192 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45193 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45194 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45195 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45196 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45197 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45198 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45199 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45200 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45202 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45203 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45204 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45205 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45206 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45207 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45208 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45210 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45212 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45213 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45215 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45216 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45217 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45219 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45220 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45221 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45222 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45223 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45224 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45225 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45226 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45227 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45228 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45229 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45230 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45231 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45232 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45233 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45234 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45235 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45236 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45237 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45238 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45239 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45240 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45241 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45242 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45243 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45245 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45248 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45249 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45251 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45252 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45253 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45254 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45255 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45256 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45257 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45263 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45264 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45265 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45268 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45270 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45271 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45273 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45275 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45276 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45278 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45279 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45280 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45281 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45283 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45284 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45286 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45287 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45288 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45289 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45290 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45291 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45292 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45296 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45297 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45298 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45299 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45300 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45301 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45302 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45303 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45304 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45305 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45306 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45307 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45308 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45309 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45310 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45311 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45312 (__isnanf): Likewise.
45313 (__isinf_ns): Likewise.
45314 (__isinf_nsf): Likewise.
45315 (__finite): Likewise.
45316 (__finitef): Likewise.
45317 (__ieee754_sqrt): Define as macro.
45318 (__ieee754_sqrtf): Define as macro.
45319 (__ieee754_sqrtl): Define as macro.
45320 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45322 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45323 __FINITE_MATH_ONLY__ consistent.
45324 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45326 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45328 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45331 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45333 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45335 * po/ja.po: Update from translation team.
45337 2011-10-08 Roland McGrath <roland@hack.frob.com>
45339 * locale/programs/locarchive.c (prepare_address_space): New function.
45340 (create_archive, enlarge_archive, open_archive): Use it.
45342 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45343 inside [SHARED], where it is used.
45345 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45347 * nss/getent.c (netgroup_keys): Remove unused variable.
45348 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45350 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45352 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45353 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45355 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45356 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45357 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45358 * math/Makefile (libm-calls): Add s_isinf_ns.
45359 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45360 * math/multc3.c: Likewise.
45361 * math/s_casin.c: Likewise.
45362 * math/s_casinf.c: Likewise.
45363 * math/s_casinl.c: Likewise.
45364 * math/s_ccos.c: Likewise.
45365 * math/s_ccosf.c: Likewise.
45366 * math/s_ccosl.c: Likewise.
45367 * math/s_ctan.c: Likewise.
45368 * math/s_ctanf.c: Likewise.
45369 * math/s_ctanh.c: Likewise.
45370 * math/s_ctanhf.c: Likewise.
45371 * math/s_ctanhl.c: Likewise.
45372 * math/s_ctanl.c: Likewise.
45373 * math/w_fmod.c: Likewise.
45374 * math/w_fmodf.c: Likewise.
45375 * math/w_fmodl.c: Likewise.
45376 * math/w_remainder.c: Likewise.
45377 * math/w_remainderf.c: Likewise.
45378 * math/w_remainderl.c: Likewise.
45379 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45380 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45381 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45383 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45384 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45385 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45386 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45388 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45390 * stdio-common/printf_fphex.c: Likewise.
45391 * stdio-common/printf_size.c: Likewise.
45393 * math/e_exp10.c: Include math_private.h using <...> not "...".
45394 * math/e_exp10f.c: Likewise.
45395 * math/e_exp10l.c: Likewise.
45396 * math/e_exp2l.c: Likewise.
45397 * math/e_j0l.c: Likewise.
45398 * math/e_j1l.c: Likewise.
45399 * math/e_jnl.c: Likewise.
45400 * math/e_lgammal_r.c: Likewise.
45401 * math/e_rem_pio2l.c: Likewise.
45402 * math/e_scalb.c: Likewise.
45403 * math/e_scalbf.c: Likewise.
45404 * math/e_scalbl.c: Likewise.
45405 * math/k_cosl.c: Likewise.
45406 * math/k_sinl.c: Likewise.
45407 * math/k_tanl.c: Likewise.
45408 * math/s_cacoshf.c: Likewise.
45409 * math/s_catan.c: Likewise.
45410 * math/s_catanf.c: Likewise.
45411 * math/s_catanh.c: Likewise.
45412 * math/s_catanhf.c: Likewise.
45413 * math/s_catanhl.c: Likewise.
45414 * math/s_catanl.c: Likewise.
45415 * math/s_ccosh.c: Likewise.
45416 * math/s_ccoshf.c: Likewise.
45417 * math/s_ccoshl.c: Likewise.
45418 * math/s_cexp.c: Likewise.
45419 * math/s_cexpf.c: Likewise.
45420 * math/s_cexpl.c: Likewise.
45421 * math/s_clog.c: Likewise.
45422 * math/s_clog10.c: Likewise.
45423 * math/s_clog10f.c: Likewise.
45424 * math/s_clog10l.c: Likewise.
45425 * math/s_clogf.c: Likewise.
45426 * math/s_clogl.c: Likewise.
45427 * math/s_csin.c: Likewise.
45428 * math/s_csinf.c: Likewise.
45429 * math/s_csinh.c: Likewise.
45430 * math/s_csinhf.c: Likewise.
45431 * math/s_csinhl.c: Likewise.
45432 * math/s_csinl.c: Likewise.
45433 * math/s_csqrt.c: Likewise.
45434 * math/s_csqrtf.c: Likewise.
45435 * math/s_csqrtl.c: Likewise.
45436 * math/s_ctan.c: Likewise.
45437 * math/s_ctanf.c: Likewise.
45438 * math/s_ctanh.c: Likewise.
45439 * math/s_ctanhf.c: Likewise.
45440 * math/s_ctanhl.c: Likewise.
45441 * math/s_ctanl.c: Likewise.
45442 * math/s_ldexp.c: Likewise.
45443 * math/s_ldexpf.c: Likewise.
45444 * math/s_ldexpl.c: Likewise.
45445 * math/s_significand.c: Likewise.
45446 * math/s_significandf.c: Likewise.
45447 * math/s_significandl.c: Likewise.
45448 * math/w_acos.c: Likewise.
45449 * math/w_acosf.c: Likewise.
45450 * math/w_acosh.c: Likewise.
45451 * math/w_acoshf.c: Likewise.
45452 * math/w_acoshl.c: Likewise.
45453 * math/w_acosl.c: Likewise.
45454 * math/w_asin.c: Likewise.
45455 * math/w_asinf.c: Likewise.
45456 * math/w_asinl.c: Likewise.
45457 * math/w_atan2.c: Likewise.
45458 * math/w_atan2f.c: Likewise.
45459 * math/w_atan2l.c: Likewise.
45460 * math/w_atanh.c: Likewise.
45461 * math/w_atanhf.c: Likewise.
45462 * math/w_atanhl.c: Likewise.
45463 * math/w_cosh.c: Likewise.
45464 * math/w_coshf.c: Likewise.
45465 * math/w_coshl.c: Likewise.
45466 * math/w_dremf.c: Likewise.
45467 * math/w_exp10.c: Likewise.
45468 * math/w_exp10f.c: Likewise.
45469 * math/w_exp10l.c: Likewise.
45470 * math/w_exp2.c: Likewise.
45471 * math/w_exp2f.c: Likewise.
45472 * math/w_fmod.c: Likewise.
45473 * math/w_fmodf.c: Likewise.
45474 * math/w_fmodl.c: Likewise.
45475 * math/w_hypot.c: Likewise.
45476 * math/w_hypotf.c: Likewise.
45477 * math/w_hypotl.c: Likewise.
45478 * math/w_j0.c: Likewise.
45479 * math/w_j0f.c: Likewise.
45480 * math/w_j0l.c: Likewise.
45481 * math/w_j1.c: Likewise.
45482 * math/w_j1f.c: Likewise.
45483 * math/w_j1l.c: Likewise.
45484 * math/w_jn.c: Likewise.
45485 * math/w_jnf.c: Likewise.
45486 * math/w_jnl.c: Likewise.
45487 * math/w_lgamma.c: Likewise.
45488 * math/w_lgamma_r.c: Likewise.
45489 * math/w_lgammaf.c: Likewise.
45490 * math/w_lgammaf_r.c: Likewise.
45491 * math/w_lgammal.c: Likewise.
45492 * math/w_lgammal_r.c: Likewise.
45493 * math/w_log.c: Likewise.
45494 * math/w_log10.c: Likewise.
45495 * math/w_log10f.c: Likewise.
45496 * math/w_log10l.c: Likewise.
45497 * math/w_log2.c: Likewise.
45498 * math/w_log2f.c: Likewise.
45499 * math/w_log2l.c: Likewise.
45500 * math/w_logf.c: Likewise.
45501 * math/w_logl.c: Likewise.
45502 * math/w_pow.c: Likewise.
45503 * math/w_powf.c: Likewise.
45504 * math/w_powl.c: Likewise.
45505 * math/w_remainder.c: Likewise.
45506 * math/w_remainderf.c: Likewise.
45507 * math/w_remainderl.c: Likewise.
45508 * math/w_scalb.c: Likewise.
45509 * math/w_scalbf.c: Likewise.
45510 * math/w_scalbl.c: Likewise.
45511 * math/w_sinh.c: Likewise.
45512 * math/w_sinhf.c: Likewise.
45513 * math/w_sinhl.c: Likewise.
45514 * math/w_sqrt.c: Likewise.
45515 * math/w_sqrtf.c: Likewise.
45516 * math/w_sqrtl.c: Likewise.
45517 * math/w_tgamma.c: Likewise.
45518 * math/w_tgammaf.c: Likewise.
45519 * math/w_tgammal.c: Likewise.
45521 * po/ja.po: Update from translation team.
45523 2011-09-29 Andreas Jaeger <aj@suse.de>
45526 * sunrpc/netname.c (netname2host): Fix logic.
45530 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45532 * math/w_remainder.c (__remainder): Likewise.
45533 * math/w_remainderf.c (__remainderf): Likewise.
45534 * math/libm-test.inc (remainder_test): Add test cases.
45536 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45538 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45541 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45543 * string/test-memcmp.c: Avoid unncessary #defines.
45544 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45546 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45548 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45549 Use new sse2 version for core i3 - i7 as it's faster
45550 than sse42 version.
45551 (bit_Prefer_PMINUB_for_stringop): New.
45552 * sysdeps/x86_64/rawmemchr.S: Update.
45553 Replace with faster SSE2 version.
45554 * sysdeps/x86_64/memrchr.S: New file.
45555 * sysdeps/x86_64/memchr.S: Update.
45556 Replace with faster SSE2 version.
45558 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45560 * elf/dl-load.c (lose): Add cast to avoid warning.
45562 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45564 * po/ca.po: Update from translation team.
45566 * inet/getnetgrent_r.c: Hook up nscd.
45567 * nscd/Makefile (routines): Add nscd_netgroup.
45568 (nscd-modules): Add netgroupcache.
45569 (CFLAGS-netgroupcache.c): Define.
45570 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45571 (cache_search): Add const to second parameter.
45572 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45574 (dbs): Add netgrdb entry.
45575 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45576 (verify_persistent_db): Handle netgrdb.
45577 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45578 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45580 (netgroup_response_header): Define.
45581 (innetgroup_response_header): Define.
45582 (datahead): Add netgroup_response_header and innetgroup_response_header
45584 * nscd/nscd.conf: Add entries for netgroup cache.
45585 * nscd/nscd.h (dbtype): Add netgrdb.
45586 (_PATH_NSCD_NETGROUP_DB): Define.
45587 (netgroup_iov_disabled): Declare.
45588 (xmalloc, xcalloc, xrealloc): Move declarations here.
45589 (cache_search): Adjust prototype.
45590 Add netgroup-related prototypes.
45591 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45592 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45593 (__nscd_innetgr): Declare.
45594 * nscd/selinux.c (perms): Use access_vector_t as element type and
45595 add netgroup-related initializers.
45596 * nscd/netgroupcache.c: New file.
45597 * nscd/nscd_netgroup.c: New file.
45598 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45599 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45600 For four parameters use innetgr.
45601 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45602 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45603 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45604 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45606 * nscd/connections.c (register_traced_file): Don't register file
45607 for disabled databases.
45609 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45611 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45613 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45614 from tree and freeing node.
45616 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45618 * nss/nsswitch.c (__nss_database_lookup): Handle
45619 nss_parse_service_list out of memory case.
45621 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45623 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45624 out of memory case.
45626 2011-10-04 Andreas Schwab <schwab@redhat.com>
45628 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45629 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45631 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45632 elf_machine_rela, elf_machine_lazy_rel.
45633 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45634 (ELF_DYNAMIC_DO_REL): Likewise.
45635 (ELF_DYNAMIC_DO_RELA): Likewise.
45636 (ELF_DYNAMIC_RELOCATE): Likewise.
45637 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45638 to ELF_DYNAMIC_DO_REL.
45639 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45640 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45641 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45643 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45644 skip_ifunc, don't call ifunc function if non-zero.
45645 (elf_machine_rela): Likewise.
45646 (elf_machine_lazy_rel): Likewise.
45647 (elf_machine_lazy_rela): Likewise.
45648 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45649 (elf_machine_lazy_rel): Likewise.
45650 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45652 (elf_machine_lazy_rel): Likewise.
45653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45655 (elf_machine_lazy_rel): Likewise.
45656 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45657 (elf_machine_lazy_rel): Likewise.
45658 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45659 (elf_machine_lazy_rel): Likewise.
45660 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45661 (elf_machine_lazy_rel): Likewise.
45662 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45663 (elf_machine_lazy_rel): Likewise.
45664 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45665 (elf_machine_lazy_rel): Likewise.
45666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45667 (elf_machine_lazy_rel): Likewise.
45669 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45671 * nss/nss_files/files-init.c (_nss_files_init): Use static
45672 initialization for all the *_traced_file variables.
45674 2011-09-28 Andreas Schwab <schwab@redhat.com>
45676 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45678 2011-09-27 Roland McGrath <roland@hack.frob.com>
45681 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45683 2011-09-27 Andreas Schwab <schwab@redhat.com>
45685 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45686 Reread the line before reparsing it.
45688 2011-09-26 Andreas Schwab <schwab@redhat.com>
45690 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45692 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45693 Maxim Kuvyrkov <maxim@codesourcery.com>
45694 Joseph Myers <joseph@codesourcery.com>
45696 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45697 if needed for __stack_chk_guard.
45699 2011-09-19 Roland McGrath <roland@hack.frob.com>
45701 * sysdeps/posix/spawni.c (script_execute): Always define it.
45702 It will be optimized away if unused.
45703 (maybe_script_execute): New function.
45704 (__spawni): Call it.
45706 * Makerules: Don't include tls.make.
45707 (config-tls): Always set to thread.
45708 * tls.make.c: File removed.
45710 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45712 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45713 * config.make.in (CPPFLAGS-config): New substituted variable.
45715 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45717 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45720 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45721 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45723 2011-09-15 Roland McGrath <roland@hack.frob.com>
45725 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45726 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45727 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45728 (CALL_FAIL): Likewise.
45729 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45730 (CALL_FAIL): Macro removed.
45731 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45733 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45735 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45736 for __FINITE_MATH_ONLY__ == 1.
45738 2011-09-15 Andreas Schwab <schwab@redhat.com>
45740 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45741 __ieee754_sqrt instead of sqrt.
45742 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45743 __ieee754_sqrtf instead of sqrtf.
45744 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45745 __floorf instead of floorf.
45746 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45747 __floorf, __truncf instead of floorf, truncf.
45749 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45751 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45753 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45754 __extern_always_inline.
45755 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45758 2011-09-14 Andreas Schwab <schwab@redhat.com>
45760 * elf/rtld.c (dl_main): Also relocate in dependency order when
45761 doing symbol dependency testing.
45763 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45766 Always define `refsym'.
45768 2011-09-13 Andreas Schwab <schwab@redhat.com>
45770 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45771 (__FD_ELT): Renamed from __FDELT.
45772 * misc/bits/select2.h (__FD_ELT): Likewise.
45773 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45774 __FD_MASK instead of __FDELT, __FDMASK.
45775 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45777 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45780 * elf/Makefile (gen-ldd): Fix pattern.
45782 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45783 (init_tls): Likewise.
45785 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45787 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45789 2011-09-12 Andreas Schwab <schwab@redhat.com>
45791 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45792 `struct cmsghdr *' instead of `void *'.
45793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45796 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45798 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45800 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45801 ldd_rewrite_script.
45803 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45805 * configure.in: Remove --with-tls option.
45806 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45807 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45808 out in case it is missing.
45809 * sysdeps/ia64/elf/configure.in: Likewise.
45810 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45811 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45812 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45813 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45814 * sysdeps/sh/elf/configure.in: Likewise.
45815 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45816 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45817 * sysdeps/x86_64/elf/configure.in: Likewise.
45818 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45819 * sysdeps/mach/hurd/tls.h: Likewise.
45822 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45825 * configure.in: Fix use of AC_INIT.
45827 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45829 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45831 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45833 * malloc/hooks.c: Likewise.
45836 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45837 variables statically.
45838 (narenas): Initialize.
45839 (list_lock): Initialize.
45840 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45841 initializtion of main_arena and list_lock. Small cleanups.
45842 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45843 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45844 Add initializers to main_arena and mp_.
45845 (malloc_state): Remove pagesize member. Change all users to use
45848 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45849 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45850 is always initialized.
45852 * malloc/malloc.c: Removed unused configurations and dead code.
45853 * malloc/arena.c: Likewise.
45854 * malloc/hooks.c: Likewise.
45855 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45857 * include/tls.h: Removed. USE___THREAD must always be defined.
45858 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45859 * elf/dl-libc.c: Likewise.
45860 * elf/dl-tsd.c: Likewise.
45861 * include/errno.h: Likewise.
45862 * include/netdb.h: Likewise.
45863 * include/resolv.h: Likewise.
45864 * inet/herrno-loc.c: Likewise.
45865 * inet/herrno.c: Likewise.
45866 * malloc/arena.c: Likewise.
45867 * malloc/hooks.c: Likewise.
45868 * malloc/malloc.c: Likewise.
45869 * resolv/res-state.c: Likewise.
45870 * resolv/res_libc.c: Likewise.
45871 * sysdeps/i386/dl-machine.h: Likewise.
45872 * sysdeps/ia64/dl-machine.h: Likewise.
45873 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45874 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45875 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45876 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45877 * sysdeps/sh/dl-machine.h: Likewise.
45878 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45879 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45880 * sysdeps/unix/i386/sysdep.S: Likewise.
45881 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45882 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45887 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45891 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45892 * sysdeps/x86_64/dl-machine.h: Likewise.
45893 * tls.make.c: Likewise.
45895 * configure.in: Remove --with-__thread option. Make tests for
45896 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45897 tls_model attribute fail if no support is available. Remove
45899 * Makeconfig: Adjust for dropped configure option. All features are
45901 * Makerules: Likewise.
45902 * Versions.def: Likewise.
45903 * argp/argp-fmtstream.c: Likewise.
45904 * argp/argp-fmtstream.h: Likewise.
45905 * argp/argp-help.c: Likewise.
45906 * assert/assert.c: Likewise.
45907 * config.h.in: Likewise.
45908 * config.make.in: Likewise.
45909 * configure: Likewise.
45910 * configure.in: Likewise.
45911 * csu/Versions: Likewise.
45912 * csu/init.c: Likewise.
45913 * elf/tst-audit2.c: Likewise.
45914 * elf/tst-tls10.c: Likewise.
45915 * elf/tst-tls10.h: Likewise.
45916 * elf/tst-tls11.c: Likewise.
45917 * elf/tst-tls12.c: Likewise.
45918 * elf/tst-tls14.c: Likewise.
45919 * elf/tst-tlsmod11.c: Likewise.
45920 * elf/tst-tlsmod12.c: Likewise.
45921 * elf/tst-tlsmod13.c: Likewise.
45922 * elf/tst-tlsmod13a.c: Likewise.
45923 * elf/tst-tlsmod14a.c: Likewise.
45924 * elf/tst-tlsmod15b.c: Likewise.
45925 * elf/tst-tlsmod16a.c: Likewise.
45926 * elf/tst-tlsmod16b.c: Likewise.
45927 * elf/tst-tlsmod7.c: Likewise.
45928 * elf/tst-tlsmod8.c: Likewise.
45929 * elf/tst-tlsmod9.c: Likewise.
45930 * gmon/gmon.c: Likewise.
45931 * grp/fgetgrent_r.c: Likewise.
45932 * grp/putgrent.c: Likewise.
45933 * hurd/fopenport.c: Likewise.
45934 * include/libc-symbols.h: Likewise.
45935 * include/tls.h: Likewise.
45936 * intl/gettextP.h: Likewise.
45937 * intl/loadinfo.h: Likewise.
45938 * locale/global-locale.c: Likewise.
45939 * locale/localeinfo.h: Likewise.
45940 * mach/devstream.c: Likewise.
45941 * malloc/arena.c: Likewise.
45942 * malloc/set-freeres.c: Likewise.
45943 * misc/err.c: Likewise.
45944 * misc/getttyent.c: Likewise.
45945 * misc/mntent_r.c: Likewise.
45946 * posix/getopt.c: Likewise.
45947 * posix/wordexp.c: Likewise.
45948 * pwd/fgetpwent_r.c: Likewise.
45949 * resolv/Versions: Likewise.
45950 * resolv/res_hconf.c: Likewise.
45951 * shadow/fgetspent_r.c: Likewise.
45952 * shadow/putspent.c: Likewise.
45953 * stdio-common/printf_fphex.c: Likewise.
45954 * stdio-common/tmpfile.c: Likewise.
45955 * stdlib/abort.c: Likewise.
45956 * stdlib/fmtmsg.c: Likewise.
45957 * sunrpc/auth_unix.c: Likewise.
45958 * sunrpc/clnt_perr.c: Likewise.
45959 * sunrpc/clnt_tcp.c: Likewise.
45960 * sunrpc/clnt_udp.c: Likewise.
45961 * sunrpc/clnt_unix.c: Likewise.
45962 * sunrpc/openchild.c: Likewise.
45963 * sunrpc/svc_simple.c: Likewise.
45964 * sunrpc/svc_tcp.c: Likewise.
45965 * sunrpc/svc_udp.c: Likewise.
45966 * sunrpc/svc_unix.c: Likewise.
45967 * sunrpc/xdr.c: Likewise.
45968 * sunrpc/xdr_array.c: Likewise.
45969 * sunrpc/xdr_rec.c: Likewise.
45970 * sunrpc/xdr_ref.c: Likewise.
45971 * sunrpc/xdr_stdio.c: Likewise.
45973 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45975 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45977 2011-07-03 Andreas Jaeger <aj@suse.de>
45979 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45980 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45981 regenerate with gen-libm-tests.pl.
45983 2010-05-12 Petr Baudis <pasky@suse.cz>
45986 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45987 around j0() zero points by switching to j1().
45988 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45993 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45995 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45997 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46000 Patch in part by Pavel Roskin <proski@gnu.org>.
46003 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46005 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46006 Free memory block if necessary.
46009 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46010 be NULL. Don't lock in this case.
46012 2011-09-09 Roland McGrath <roland@hack.frob.com>
46014 * elf/elf.h (ELFOSABI_GNU): New macro.
46015 (ELFOSABI_LINUX): Define to that.
46017 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46019 * string/strncat.c (strncat): Undef the symbol in case it has been
46020 defined in bits/string.h.
46022 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46024 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46026 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46029 2011-08-17 Andreas Jaeger <aj@suse.de>
46031 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46033 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46034 Ian Lance Taylor <iant@google.com>
46036 * math/libm-test.inc (lround_test): New testcase.
46037 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46039 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46041 * Makefile: Remove support for automatic cvs check-ins.
46042 * Makerules: Likewise.
46043 * config.make.in: Likewise.
46044 * configure.in: Likewise.
46045 * intl/Makefile: Likewise.
46046 * locale/Makefile: Likewise.
46047 * po/Makefile: Likewise.
46048 * posix/Makefile: Likewise.
46049 * sysdeps/gnu/Makefile: Likewise.
46050 * sysdeps/mach/hurd/Makefile: Likewise.
46051 * sysdeps/sparc/sparc32/Makefile: Likewise.
46054 * posix/Makefile (bug-regex32-ENV): Define.
46055 Patch by John Stanley <jpsinthemix@verizon.net>.
46057 * misc/Makefile (headers): Add bits/select2.h.
46058 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46059 * misc/bits/select2.h: New file.
46060 * include/bits/select2.h: New file.
46061 * debug/Makefile (routines): Add fdelt_chk.
46062 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46063 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46065 * debug/fdelt_chk.c: New file.
46067 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46068 * wcsmbs/test-wmemcmp.c: Likewise.
46069 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46070 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46072 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46074 * string/Makefile (strop-tests): Add memcmp.
46075 * string/test-wmemcmp.c: New file.
46076 * string/test-memcmp.c: Add wmemcmp support.
46078 2011-09-08 Roland McGrath <roland@hack.frob.com>
46081 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46084 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46085 garbage value in a __mach_port_mod_refs call in the cases of the
46086 task-self and thread-self ports.
46088 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46090 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46092 2011-09-08 Andreas Schwab <schwab@redhat.com>
46094 * elf/dl-load.c (lose): Check for non-null L.
46096 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46098 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46100 * elf/dl-libc.c (dlerror_run): Pass back error code from
46104 * elf/dl-load.c (lose): Free l_origin if it is valid.
46106 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46108 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46109 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46110 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46111 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46112 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46113 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46115 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46117 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46118 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46119 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46120 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46121 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46122 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46123 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46124 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46125 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46126 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46128 2011-08-15 Alan Modra <amodra@gmail.com>
46131 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46132 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46133 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46134 ppc_mcount to static-only-routines.
46135 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46137 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46138 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46140 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46142 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46143 for finite and infinity parameters.
46145 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46148 and add nop instructions for throughput optimization.
46149 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46151 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46154 aligned copy for power7 with vector-scalar instructions.
46155 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46157 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46162 2011-09-07 Andreas Schwab <schwab@redhat.com>
46165 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46168 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46170 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46171 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46172 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46173 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46176 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46178 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46179 Forgot to demangle the pointer.
46181 * sysdeps/i386/sysdep.h: Define atom_text_section.
46182 * sysdeps/x86_64/sysdep.h: Likewise.
46183 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46184 section with atom_text_section.
46185 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46186 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46187 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46188 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46189 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46191 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46192 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46193 already be defined. Change to take two parameters and don't assign
46194 result to variable. Adjust all users.
46195 Define INTERNAL_GETTIME if not already defined.
46196 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46199 HAVE_CLOCK_GETTIME_VSYSCALL.
46200 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46203 gettimeofday vsyscall, just use time.
46205 2011-09-06 Andreas Schwab <schwab@redhat.com>
46207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46210 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46212 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46214 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46216 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46217 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46218 syscall if possible.
46220 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46222 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46223 e_ident. Don't pass to find_mapsXX.
46224 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46226 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46229 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46230 * sysdeps/x86_64/multiarch/strchr.S: Update.
46231 Check bit_slow_BSF bit.
46232 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46233 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46234 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46236 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46239 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46241 (tryshell): Define.
46242 (__spawni): Change last parameter to be flag. Test
46243 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46244 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46245 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46246 * posix/spawni.c: Likewise.
46247 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46248 * posix/spawnp.c: Likewise. Change normal version to use
46249 SPAWN_XFLAGS_USE_PATH.
46250 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46251 SPAWN_XFLAGS_TRY_SHELL.
46254 * posix/glob.h: Remove gcc 1.x support.
46257 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46259 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46262 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46264 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46265 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46266 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46267 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46268 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46269 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46271 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46273 * sysdeps/x86_64/wcscmp.S: New file.
46275 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46276 wcscmp-c wcscmp-sse2
46277 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46278 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46279 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46280 * wcsmbs/wcscmp.c: Allow renaming.
46282 2011-09-05 David S. Miller <davem@davemloft.net>
46284 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46285 stack slot, rather than the struct return pointer slot.
46286 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46287 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46289 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46291 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46293 * po/ja.po: Update from translation team.
46296 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46297 kernel in 64-bit binaries.
46299 2011-09-01 David S. Miller <davem@davemloft.net>
46301 * elf/elf.h (HWCAP_SPARC_*): Move to..
46302 * sysdeps/sparc/sysdep.h: this new file and add new values.
46303 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46304 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46305 _DL_HWCAP_COUNT to 24.
46306 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46308 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46309 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46310 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46312 instead of magic constants.
46313 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46315 2011-08-31 David S. Miller <davem@davemloft.net>
46317 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46319 Reimplement to do errno handling inline.
46320 (SYSCALL_ERROR_HANDLER): New macro.
46321 (__SYSCALL_STRING): Do not do errno handling in asm.
46322 (__CLONE_SYSCALL_STRING): Delete.
46323 (__INTERNAL_SYSCALL_STRING): Delete.
46324 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46325 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46326 (PSEUDO): Reimplement to do errno handling inline.
46327 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46328 (SYSCALL_ERROR_HANDLER): New macro.
46329 (__SYSCALL_STRING): Do not do errno handling in asm.
46330 (__CLONE_SYSCALL_STRING): Delete.
46331 (__INTERNAL_SYSCALL_STRING): Delete.
46332 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46333 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46335 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46336 (inline_syscall*): Add 'err' argument.
46337 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46338 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46339 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46340 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46342 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46343 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46345 2011-08-30 Andreas Schwab <schwab@redhat.com>
46347 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46349 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46351 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46354 2011-08-24 David S. Miller <davem@davemloft.net>
46356 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46358 2011-08-24 Andreas Schwab <schwab@redhat.com>
46360 * elf/Makefile: Add rules to build and run unload8 test.
46361 * elf/unload8.c: New file.
46362 * elf/unload8mod1.c: New file.
46363 * elf/unload8mod1x.c: New file.
46364 * elf/unload8mod2.c: New file.
46365 * elf/unload8mod3.c: New file.
46367 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46370 2011-08-23 David S. Miller <davem@davemloft.net>
46372 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46373 subtract stack bias.
46374 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46375 %sp not %fp in calculations.
46376 (_JMPBUF_UNWINDS_ADJ): Likewise.
46378 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46379 (aio_suspend): Call it to force an exception region around the
46380 AIO_MISC_WAIT() invocation.
46382 2011-08-23 Andreas Schwab <schwab@redhat.com>
46384 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46387 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46389 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46391 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46392 and <dl-machine.h>.
46393 (Elf64_FuncDesc): Remove.
46395 2011-08-22 David S. Miller <davem@davemloft.net>
46397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46398 sigaltstack check, add missing cfi directives.
46399 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46400 missing cfi directives, and sigaltstack handling.
46402 2011-08-16 Andreas Schwab <schwab@redhat.com>
46405 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46406 object is seen twice.
46407 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46409 * elf/Makefile (distribute): Add tst-initorder2.c.
46410 (tests): Add tst-initorder2.
46411 (modules-names): Add tst-initorder2a tst-initorder2b
46412 tst-initorder2c tst-initorder2d. Add rules to build them.
46413 ($(objpfx)tst-initorder2.out): New rule.
46414 * elf/tst-initorder2.c: New file.
46415 * elf/tst-initorder2.exp: New file.
46417 2011-08-22 Andreas Schwab <schwab@redhat.com>
46419 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46421 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46422 dependencies back to end of function.
46424 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46425 $(elfobjdir)/ld.so.
46427 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46430 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46432 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46433 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46434 of __vdso_gettimeofday.
46435 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46436 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46438 (_libc_vdso_platform_setup): Remove initialization of
46439 __vdso_gettimeofday and __vdso_time.
46441 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46443 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46444 and fgetc_unlocked.
46445 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46448 * elf/dl-open.c (add_to_global): Report additions to the global scope
46449 for LD_DEBUG=scopes.
46450 (dl_open_worker): Also print scope of newly loaded dependencies.
46451 (_dl_show_scope): Indicate if there is no scope.
46454 * stdio-common/Makefile (tests): Add bug24.
46455 * stdio-common/bug24.c: New file.
46457 2011-08-19 Andreas Jaeger <aj@suse.de>
46460 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46461 non-existant file when using close-on-exec mode.
46463 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46466 the very first instruction.
46468 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46469 the CFI state in the end.
46470 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46471 inclusion of dl-trampoline.h.
46472 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46474 2011-08-19 Andreas Schwab <schwab@redhat.com>
46476 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46477 expectations for long double.
46479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46480 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46482 2011-08-14 David S. Miller <davem@davemloft.net>
46484 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46485 artificual limit depends upon the system page size.
46487 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46489 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46490 * resolv/Makefile: Define CFLAGS-libresolv.
46492 2011-08-17 Andreas Schwab <schwab@redhat.com>
46494 * nss/makedb.c (compute_tables): Make variables used in nested
46497 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46499 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46500 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46501 if buffer was too small.
46503 * elf/pldd.c (main): Attach to all threads in the process.
46504 Rewrite /proc handling to use *at functions.
46506 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46508 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46509 specifies first scope to show.
46510 (dl_open_worker): Update callers. Move printing scope of new
46511 object to before the relocation.
46512 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46513 * sysdeps/generic/ldsodefs.h: Update declaration.
46515 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46516 string for the scope number.
46518 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46520 * nscd/servicescache.c (cache_addserv): Make sure written is always
46523 2011-08-14 Roland McGrath <roland@hack.frob.com>
46525 * sysdeps/i386/i486/bits/atomic.h
46526 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46527 statement expression, so as to suppress "set but not used" warning.
46528 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46530 * string/strncat.c (STRNCAT): Use prototype definition.
46532 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46533 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46535 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46536 (localedef-modules): Add localedef.
46537 (locale-modules): Add locale.
46539 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46540 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46541 to avoid a warning.
46543 2011-08-14 David S. Miller <davem@davemloft.net>
46545 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46546 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46548 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46550 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46551 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46552 * elf/rtld.c (dl_main): Set l_name of vDSO.
46553 Call _dl_show_scope when DL_DEBUG_SCOPES.
46554 (process_dl_debug): Recognize scopes flag and also set it for all.
46555 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46556 Declare _dl_show_scope.
46558 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46559 (do_dlopen): Pass caller_dlopen to dl_open.
46560 (__libc_dlopen_mode): Initialize caller_dlopen.
46562 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46563 of libc. Make tolower call locale-independent. Optimize a bit by
46564 using isdigit instead of isalnum.
46565 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46567 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46569 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46570 was a dependency or dynamically loaded.
46572 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46574 * intl/l10nflist.c: Allow architecture-specific pop function.
46575 * sysdeps/x86_64/l10nflist.c: New file.
46577 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46580 2011-08-10 Andreas Schwab <schwab@redhat.com>
46582 * include/dirent.h: Add libc_hidden_proto for scandirat and
46583 scandirat64. Don't declare __scandirat64.
46584 * dirent/scandirat.c: Add libc_hidden_def.
46585 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46586 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46588 2011-08-10 David S. Miller <davem@davemloft.net>
46590 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46592 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46594 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46596 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46598 * Versions.def [libc]: Add GLIBC_2.15.
46599 * dirent/Makefile (routines): Add scandirat and scandirat64.
46600 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46602 * dirent/dirent.h: Declare scandirat and scandirat64.
46603 * dirent/scandirat.c: New file.
46604 * dirent/scandirat64.c: New file.
46605 * sysdeps/wordsize-64/scandirat.c: New file.
46606 * sysdeps/wordsize-64/scandirat64.c: New file.
46607 * dirent/opendir.c: Define opendirat.
46608 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46610 * dirent/scandir64.c: Adjust for scandir.c change.
46611 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46612 __scandirat64, and __scandir_cancel_handler.
46613 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46614 additional parameter and use openat instead of open (outside of ld.so).
46615 Add new __opendir as wrapper around __opendirat.
46616 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46617 here without requiring old scandirat implementation.
46619 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46621 * dirent/scandir.c (cancel_handler): Renamed to
46622 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46623 defined. Adjust users.
46624 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46625 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46627 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46629 * string/test-string.h (IMPL): Use __STRING to expand name and then
46632 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46635 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46637 * string/Makefile: Update.
46638 (strop-tests): Append strncat.
46639 * string/test-wcscmp.c: New file.
46640 New comprehensive test for wcscmp.
46641 * string/test-strcmp.c: Update.
46642 (WIDE): New define.
46644 2011-07-22 Andreas Schwab <schwab@redhat.com>
46646 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46649 2011-07-26 Andreas Schwab <schwab@redhat.com>
46651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46652 encoding to ACE if AI_IDN.
46654 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46657 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46659 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46661 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46662 Fix overflow bug in strncat.
46663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46665 * string/test-strncat.c: Update.
46666 Add new tests for checking overflow bugs.
46668 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46671 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46672 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46673 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46674 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46675 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46676 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46677 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46678 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46680 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46681 (USE_AS_STRCAT): Define.
46682 Add strcat and strncat support.
46683 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46685 2011-07-25 Andreas Schwab <schwab@redhat.com>
46687 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46688 __n bigger than INT_MAX+1.
46689 (__strncmp_g): Likewise.
46691 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46693 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46694 * libio/stido.h: Likewise.
46696 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46701 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46702 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46703 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46704 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46705 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46708 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46713 (_dl_x86_64_save_sse): Likewise.
46715 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46719 (_dl_x86_64_save_sse): Likewise.
46721 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46723 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46725 2011-07-21 Andreas Schwab <schwab@redhat.com>
46727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46729 (_dl_x86_64_save_sse): Use correct AVX check.
46731 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46733 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46734 bug in strncpy/strncat.
46735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46737 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46739 * string/tester.c (test_strcat): Add tests for different alignments
46740 of source and destination.
46741 (test_strncat): Likewise.
46743 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46746 * posix/glob.c (glob): Check passed in values before using them in
46747 expressions to avoid some overflows.
46748 (glob_in_dir): Likewise.
46751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46752 check for AVX enablement so that we don't crash with old kernels and
46754 * elf/tst-audit4.c: Add same checks here.
46755 * elf/tst-audit6.c: Likewise.
46757 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46759 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46761 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46763 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46765 * po/cs.po: Update from translation team.
46766 * po/bg.po: Likewise.
46768 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46770 * misc/sys/cdefs.h: Add support for const attribute.
46771 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46772 to gnu_dev_{major,minor,makedev} functions.
46774 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46776 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46778 2011-07-20 Andreas Schwab <schwab@redhat.com>
46780 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46783 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46785 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46786 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46787 register in order to avoid conflicts with the soft frame pointer
46788 being held in r11 when necessary.
46789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46790 (INTERNAL_VSYSCALL_NCS): Likewise.
46792 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46794 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46795 * elf/dl-fini.c (_dl_fini): Adjust caller.
46796 * elf/dl-close.c (_dl_close_worker): Likewise.
46797 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46799 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46801 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46802 "aux_cache->nlibs < 0".
46804 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46805 in the reload-count case.
46807 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46810 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46811 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46812 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46813 * sysdeps/x86_64/multiarch/strcat.S: New file.
46814 * sysdeps/x86_64/multiarch/strncat.S: New file.
46815 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46816 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46817 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46818 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46820 (USE_AS_STRCAT): Define.
46821 Add strcat and strncat support.
46822 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46823 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46824 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46825 * string/strncat.c: Update.
46826 (USE_AS_STRNCAT): Define.
46827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46828 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46830 * sysdeps/x86_64/multiarch/init-arch.h
46831 (bit_Prefer_PMINUB_for_stringop): New.
46832 (index_Prefer_PMINUB_for_stringop): Likewise.
46833 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46834 bit_Prefer_PMINUB_for_stringop.
46836 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46838 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46840 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46841 of casting of buffer.
46842 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46843 buffer32 and buffer64.
46844 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46845 writes instead of casting of buffer.
46846 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46848 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46851 2011-07-19 Andreas Schwab <schwab@redhat.com>
46853 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46855 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46857 * nscd/nscd.c (termination_handler): Don't do anything for a database
46858 if it has not yet been initialized.
46860 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46862 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46864 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46866 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46868 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46870 * po/nl.po: Update from translation team.
46871 * po/sv.po: Likewise.
46873 2011-07-16 Roland McGrath <roland@hack.frob.com>
46875 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46876 now disallowed by GCC.
46878 * configure.in (use-default-link): Default to yes if a test -shared
46879 link meets our qualifications.
46880 * configure: Regenerated.
46882 * config.make.in (output-format): New variable.
46883 * configure.in: Check for ld --print-output-format support.
46884 * configure: Regenerated.
46885 * Makerules ($(common-objpfx)format.lds)
46886 [$(output-format) != unknown]: Just use $(output-format),
46887 instead of the linker-script munging.
46889 2011-07-14 Roland McGrath <roland@hack.frob.com>
46891 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46892 of $(common-objpfx)shlib.lds.
46893 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46895 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46896 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46898 * configure.in (-z relro check): Adjust test code to add a large
46899 writable data section after it.
46900 * configure: Regenerated.
46902 2011-07-11 Roland McGrath <roland@hack.frob.com>
46904 * configure.in (-z relro check): Fix test code to make the variable
46906 * configure: Regenerated.
46908 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46910 * nscd/nscd.h (struct traced_file): Define.
46911 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46912 elements. Add traced_files.
46913 (inotify_fd): Declare.
46914 (register_traced_file): Declare.
46915 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46916 (inotify_fd): Export.
46917 (resolv_conf_descr): Remove.
46918 (nscd_init): Move inotify descriptor creation to main.
46919 Don't register files for notification here.
46920 (register_traced_file): New function.
46921 (invalidate_cache): Don't use reset_res to determine whether to call
46922 res_init, go through the list of registered files.
46923 (main_loop_poll): The inotify descriptors are now stored in the
46924 structures for the traced files.
46925 (main_loop_epoll): Likewise
46926 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46927 to __nss_disable_nscd.
46928 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46929 for a database anymore. Check the records for all the registered
46931 * nss/Makefile (libnss_files-routines): Add files-init.
46932 (libnss_db-routines): Add db-init.
46933 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46934 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46935 * nss/nss_db/db-init.c: New file.
46936 * nss/nss_files/files-init.c: New file.
46937 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46938 __nss_lookup_function.
46939 (__nss_lookup_function): Call nss_load_library.
46940 (nss_load_all_libraries): New function.
46941 (__nss_disable_nscd): Take parameter with callback function for files
46942 to register. Set is_nscd. Load all the DSOs for the NSS modules
46943 used for the cached services.
46944 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46945 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46946 options for features to all the files in nscd.
46948 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46950 2011-07-10 Roland McGrath <roland@hack.frob.com>
46952 * csu/elf-init.c (__libc_csu_init): Comment typo.
46954 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46956 * po/pl.po: Update from translation team.
46957 * po/ja.po: Likewise.
46958 * po/ru.po: Likewise.
46959 * po/ko.po: Likewise.
46960 * po/fr.po: Likewise.
46962 2011-07-09 Roland McGrath <roland@hack.frob.com>
46964 * configure.in (.ctors/.dtors header and trailer check):
46965 Use an empirical test on a built program.
46966 * configure: Regenerated.
46968 * configure.in (-z relro check): Use an empirical test on a built DSO.
46969 Detect, but do not require, on ia64.
46970 * configure: Regenerated.
46972 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46973 Update tests that use readelf to use $READELF instead.
46974 * configure: Regenerated.
46976 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46978 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46979 if the result is not used.
46981 2011-07-05 Andreas Jaeger <aj@suse.de>
46984 * stdlib/tst-strtod.c: Add testcase.
46986 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46988 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46989 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46990 The latter has a higher limit. Take additional parameter to pass to
46992 (__pathconf): Pass file to __statfs_link_max.
46993 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46995 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46999 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47000 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47002 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47003 (__statfs_filesize_max): Likewise.
47004 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47006 2011-07-05 Andreas Jaeger <aj@suse.de>
47008 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47010 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47012 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47014 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47017 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47019 * Makefile (strop-tests): Add strncat.
47020 * string/test-strncat.c: New file.
47022 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47024 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47026 2011-06-21 Andreas Jaeger <aj@suse.de>
47028 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47029 Copy rule from iconvdata/Makefile.
47031 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47034 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47035 but no long options are defined, just return 'W'.
47037 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47040 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47042 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47044 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47046 (innetgr): Likewise.
47048 2011-07-05 Roland McGrath <roland@hack.frob.com>
47050 * config.make.in (install_root): Default to $(DESTDIR).
47052 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47054 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47056 2011-07-02 Roland McGrath <roland@hack.frob.com>
47058 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47060 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47061 containing directory rather than embedding absolute directory names.
47063 * scripts/check-local-headers.sh: Rewritten using awk.
47064 Match by word, not by line. Print error messages for matches.
47065 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47067 * Makerules [shlib-lds-flags empty]:
47068 ($(common-objpfx)libc_pic.opts): New target.
47069 ($(common-objpfx)libc_pic.os.clean): New target.
47070 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47072 * config.make.in (OBJCOPY): New variable.
47073 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47074 * configure: Regenerated.
47076 * config.make.in (use-default-link): New variable.
47077 * configure.in (use_default_link): Grok --with-default-link to set it.
47078 * configure: Regenerated.
47079 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47080 (shlib-lds, shlib-lds-flags): Define to empty.
47082 * Makerules (shlib-lds): New variable.
47083 (shlib-lds-flags): New variable.
47084 (build-shlib, build-moduile, build-module-asneeded): Use it.
47085 ($(common-objpfx)libc.so): Use $(shlib-lds).
47086 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47087 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47089 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47090 DT_FLAGS/DT_FLAGS_1 with zero flags.
47092 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47093 linker script munging.
47095 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47097 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47099 * crypt/sha512.c (sha512_process_block): Perform total addition using
47100 128-bit if possible.
47101 (__sha512_finish_ctx): Likewise.
47102 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47104 * crypt/sha256.c (SWAP64): Define.
47105 (sha256_process_block): Perform total addition using 64-bit if
47107 (__sha256_finish_ctx): Likewise.
47109 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47111 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47113 * nscd/hstcache.c (cache_addhst): Likewise.
47114 * nscd/grpcache.c (cache_addgr): Likewise.
47115 * nscd/aicache.c (addhstaiX): Likewise
47116 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47118 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47120 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47122 * nscd/hstcache.c (cache_addhst): Likewise.
47123 * nscd/grpcache.c (cache_addgr): Likewise.
47124 * nscd/aicache.c (addhstaiX): Likewise
47126 2011-07-01 Andreas Schwab <schwab@redhat.com>
47128 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47129 domain only when needed.
47131 2011-06-30 Andreas Schwab <schwab@redhat.com>
47133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47134 is always restored.
47136 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47138 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47139 are re-adding the entry.
47140 * nscd/servicescache.c (cache_addserv): Likewise.
47142 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47144 * sysdeps/generic/dl-irel.h: fix protection against multiple
47146 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47148 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47151 * malloc/memusage.sh: Fix quoting in message.
47152 * debug/xtrace.sh: Likewise.
47154 * configure.in: Remove support for --experimental-malloc option, make
47156 * config.make.in: Likewise.
47157 * malloc/Makefile: Likewise.
47159 2011-06-27 Andreas Schwab <schwab@redhat.com>
47161 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47162 two-byte characters.
47164 2011-06-27 Roland McGrath <roland@hack.frob.com>
47166 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47167 AC_CACHE_CHECK invocation.
47168 * configure: Regenerated.
47170 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47172 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47175 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47176 bit from old_res_options.
47178 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47180 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47181 value type for setfct.
47183 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47186 __gettimeofday instead of gettimeofday.
47188 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47190 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47192 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47194 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47196 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47199 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47202 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47203 strcpy-sse2-unaligned strncpy-sse2-unaligned
47204 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47205 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47206 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47207 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47208 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47209 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47210 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47211 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47212 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47213 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47214 (STRCPY): Support SSE2 and SSSE3 versions.
47216 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47219 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47220 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47221 kernels which artificially limit size of requests.
47223 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47226 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47227 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47228 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47229 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47230 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47231 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47232 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47233 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47234 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47235 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47236 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47237 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47238 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47239 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47241 Enable unaligned load optimization for Intel Core i3, i5 and i7
47243 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47245 (index_Fast_Unaligned_Load): Define.
47246 (HAS_FAST_UNALIGNED_LOAD): Define.
47248 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47250 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47252 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47255 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47256 until it is clear that the information is realy needed.
47257 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47259 2011-06-22 Andreas Schwab <schwab@redhat.com>
47261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47263 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47265 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47266 /sys/devices/system/cpu/online if it is usable.
47268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47269 reading the information from the /proc filesystem to once a second.
47271 2011-06-21 Andreas Jaeger <aj@suse.de>
47273 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47274 NULL after inclusion of kernel headers.
47276 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47278 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47279 calls to internal_setent.
47282 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47283 addresses using gethostbyname4_r ignore IPv4 addresses.
47285 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47286 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47288 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47290 2011-06-20 David S. Miller <davem@davemloft.net>
47292 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47294 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47296 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47297 (elf_irel): Use it.
47298 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47299 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47300 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47301 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47302 * sysdeps/x86_64/dl-irel.h: Likewise.
47304 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47305 * elf/dl-sym.c: Likewise.
47307 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47309 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47310 need to dereference resplen2.
47312 2011-06-14 Andreas Schwab <schwab@redhat.com>
47314 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47316 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47318 * Makeconfig: Define vardbdir and inst_vardbdir.
47319 * nss/Makefile: Add rules to install db-Makefile.
47321 * nss/nss_db/db-XXX.c: Cleanup.
47323 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47324 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47326 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47327 * nss/makedb.c: Implement -g option to specify that value strings
47328 are generated and should not be added to table iterated over for
47330 * nss/nss_db/db-initgroups.c: New file.
47332 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47335 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47336 (internal_getgrouplist): Adjust to name change.
47337 Update use_initgroups_entry if this is not the first call.
47338 * nss/databases.def: Add initgroups entry.
47340 * nss/makedb.c (compute_tables): Check result of multiple hash table
47341 sizes to minimize maximum chain length.
47343 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47345 * Versions.def: Add entry for libnss_db.
47346 * shlib-versions: Likewise.
47347 * nss/Makefile: Add rules to build libnss_db.
47348 * nss/Versions: Add libnss_db information. Organize libnss_files
47350 * nss/db-Makefile: Add gshadow support. Change rules for the new
47351 makedb progra. Some minor improvements to generate smaller files.
47352 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47354 * nss/makedb.c: ...here.
47355 Improve database format to be smaller and require less memory at
47357 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47359 * nss/nss_db/db-netgrp.c: Likewise.
47360 * nss/nss_db/db-open.c: Likewise.
47361 * nss/nss_files/flies-XXX.x: Adjust comments.
47362 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47363 * nss/nss_files/files-grp.c: Likewise.
47364 * nss/nss_files/files-hosts.c: Likewise.
47365 * nss/nss_files/files-network.c: Likewise.
47366 * nss/nss_files/files-proto.c: Likewise.
47367 * nss/nss_files/files-pwd.c: Likewise.
47368 * nss/nss_files/files-rpc.c: Likewise.
47369 * nss/nss_files/files-service.c: Likewise.
47370 * nss/nss_files/files-sgrp.c: Likewise.
47371 * nss/nss_files/files-spwd.c: Likewise.
47372 * nss/nss_db/db-alias.c: Removed.
47373 * nss/nss_db/dummy-db.h: Removed.
47375 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47377 * nss/makedb.c: Rewritten to not use database library.
47378 * nss/Makefile: Update to build new makedb program.
47380 2011-06-14 Andreas Jaeger <aj@suse.de>
47382 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47383 memset declaration.
47385 2011-06-10 Andreas Schwab <schwab@redhat.com>
47387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47390 2011-06-10 Roland McGrath <roland@hack.frob.com>
47392 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47393 * elf/Makefile ($(objpfx)ld.so): Likewise.
47395 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47396 Don't list ld.so twice in dependencies.
47398 * posix/bug-regex31.c: Include <stdlib.h>.
47400 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47402 * nis/nss_compat/compat-spwd.c
47403 (getspent_next_nss_netgr): Remove unused variable.
47404 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47406 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47407 nonmembers" output to use the right array.
47409 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47411 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47413 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47414 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47415 * catgets/gencat.c (read_input_file): Likewise.
47416 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47418 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47419 variable definition inside #if's controlling its use.
47421 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47423 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47425 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47427 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47430 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47432 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47433 * configure: Regenerated.
47435 * Makerules: Revert last change.
47436 * elf/Makefile: Likewise.
47438 2011-06-09 Roland McGrath <roland@hack.frob.com>
47440 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47441 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47442 (reloc-link): Likewise.
47444 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47446 * elf/Makefile: Add rules to build pldd.
47447 * elf/pldd.c: New file.
47448 * elf/pldd-xx.c: New file.
47450 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47452 * version.h: Update for 2.15 development version.
47454 2011-06-07 David S. Miller <davem@davemloft.net>
47456 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47459 elf_machine_lazy_rel): Likewise.
47460 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47462 elf_machine_lazy_rel): Likewise.
47463 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47464 dl_hwcap via passed in argument.
47465 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47468 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47470 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47472 2011-06-06 Roland McGrath <roland@hack.frob.com>
47475 * manual/fdl-1.1.texi: New file, verbatim from:
47476 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47477 * manual/lgpl-2.1.texi: New file, verbatim from:
47478 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47479 * manual/Makefile (licenses): New variable, list those new file names.
47481 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47483 * manual/fdl.texi: File removed.
47484 * manual/lesser.texi: File removed.
47485 * manual/libc.texinfo (Copying, Documentation License):
47486 Use new @include file names, put @appendix directive before @include.
47488 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47491 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47492 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47493 (mq_open): Add __NTH.
47495 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47498 Assume Intel Core i3/i5/i7 processor if AVX is available.
47500 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47505 2011-05-31 Andreas Schwab <schwab@redhat.com>
47507 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47508 memory. Use alloca_account. Fix memory leak when retrying.
47510 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47512 * version.h (RELEASE): Bump for 2.14 release.
47513 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47515 * config.make.in (RANLIB): Remove entry.
47517 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47519 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47520 (libc.pot): Work around missing support for .ksh extension in xgettext.
47523 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47524 if both request failed.
47525 (send_dg): In case of server errors clear resplen or *resplen2.
47528 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47529 when there are multiple maps.
47530 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47531 (_dl_fini): Remove test here.
47533 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47535 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47538 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47539 bit from old_res_options.
47540 (gaih_inet): Likewise.
47543 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47546 * resolv/res_init.c (res_setoptions): Make the code more compact.
47549 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47553 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47555 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47558 * malloc/malloc.h: Declare malloc hook variables as volatile.
47560 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47564 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47565 raise in the comment.
47566 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47568 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47570 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47573 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47574 grow the buffers more if it already has to be sufficient.
47575 (build_wcs_upper_buffer): Likewise.
47576 * posix/regexec.c (check_matching): Likewise.
47577 (clean_state_log_if_needed): Likewise.
47578 (extend_buffers): Don't enlarge buffers beyond size of the input
47580 Patches mostly by Emil Wojak <emil@wojak.eu>.
47581 * posix/bug-regex32.c: New file.
47582 * posix/Makefile (tests): Add bug-regex32.
47584 * locale/findlocale.c (_nl_find_locale): Return right away if
47585 _nl_explode_name failed.
47586 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47588 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47590 * debug/xtrace.sh: Unify messages.
47591 * malloc/memusage.sh: Likewise.
47594 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47595 time symbol from vDSO. Substitute with vsyscall if not available.
47596 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47599 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47600 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47601 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47602 Add sendmmsg and internal_sendmmsg.
47603 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47604 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47605 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47607 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47608 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47611 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47614 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47615 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47617 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47621 * iconvdata/Makefile (tests): Add bug-iconv9.
47622 * iconvdata/bug-iconv9.c: New file.
47624 2011-05-27 Andreas Schwab <schwab@redhat.com>
47627 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47629 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47631 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47632 (struct user_regs_struct): Change intcs field back to cs.
47634 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47636 * po/ja.po: Update from translation team.
47638 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47641 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47642 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47644 2011-05-20 Andreas Schwab <schwab@redhat.com>
47646 * stdlib/longlong.h: Update from GCC.
47648 2011-05-23 Andreas Schwab <schwab@redhat.com>
47650 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47652 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47653 Add parameter name.
47654 (__sysconf): Pass it down.
47656 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47659 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47661 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47662 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47663 add in in __libc_use_alloca calls. Adjust callers.
47664 (glob): Use malloc in some situations.
47666 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47667 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47670 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47672 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47673 and CLOCK_BOOTTIME_ALARM.
47676 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47679 * string/_strerror.c (__strerror_r): Print negative errors as signed
47683 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47684 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47685 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47687 * configure.in: Fix typo in redirection and correct removal of test
47688 files in two cases.
47691 * locale/setlocale.c (new_composite_name): Fix test to check for
47692 identical name of all categories.
47695 * libio/filedoalloc.c (local_isatty): New function.
47696 (_IO_file_doallocate): Use local_isatty.
47697 * stdio-common/perror.c (perror): In case a new stream is used
47698 forward the stream error.
47699 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47702 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47707 * include/alloca.h (extend_alloca_account): Define.
47710 * posix/regex.h: Fix comments with documentation of user-accessible
47711 fields after compilation and describe correct free'ing of pattern
47712 after re_compile_pattern.
47713 Patch by Reuben Thomas <rrt@sc3d.org>.
47715 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47717 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47718 and -mno-altivec to prevent the compiler from using Altivec and/or
47719 VSX instructions when the corresponding registers are not available.
47721 2011-05-19 Andreas Schwab <schwab@redhat.com>
47723 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47725 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47727 * libio/freopen.c (freopen): Use __dup2, not dup2.
47728 * libio/freopen64.c (freopen64): Likewise.
47730 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47733 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47734 * math/Makefile (tests): Add test-powl.
47735 (CFLAGS-test-powl.c): Define.
47736 * math/test-powl.c: New file.
47738 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47740 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47742 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47745 * iconvdata/gb18030.c: Update to GB18020-2005.
47747 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47749 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47750 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47751 Patch by Aharon Robbins <arnold@skeeve.com>.
47754 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47758 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47759 through underflows.
47762 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47763 point to strings before performing equality test for error_one_per_line
47767 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47771 (struct user_fpregs_struct): Avoid __uint*_t types.
47774 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47775 symbol info. Use it instead of calling _dl_addr locally.
47776 (lock_and_info): New function.
47777 (tr_freehook): Call lock_and_info and pass symbol info as additional
47778 parameter to tr_where.
47779 (tr_mallochook): Likewise.
47780 (tr_reallochook): Likewise.
47781 (tr_memalignhook): Likewise.
47783 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47784 used and couldn't be at all thread-safe.
47786 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47788 * libio/freopen.c (freopen): Don't close old file descriptor
47789 before the new one is opened. Instead dup the new file descriptor
47790 to the old one after the new stream is created.
47791 * libio/freopen64.c (freopen64): Likewise.
47792 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47793 * libio/fileops.c (_IO_new_file_close_it): Handle new
47794 _IO_FLAGS2_NOCLOSE flag.
47795 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47796 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47797 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47798 _IO_FLAGS2_NOCLOSE flag.
47799 * include/unistd.h: Add hidden_proto for dup3.
47800 Define __have_dup3.
47801 * io/dup3.c: Define hidden symbol.
47802 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47805 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47806 when an incomplete long option is used.
47807 * posix/tst-getopt_long1.c: New file.
47808 * posix/Makefile (tests): Add tst-getopt_long1.
47811 * scripts/config.guess: Update from autoconf-2.68.
47812 * scripts/config.sub: Likewise.
47815 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47817 (has_cpuclock): ...this. New function.
47818 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47819 macro here based on has_cpuclock code.
47822 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47823 First byte (not low byte) is now always NUL.
47824 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47826 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47827 Use non-cancelable interfaces.
47830 * locale/iso-639.def: Add entry for Sorani.
47833 * include/stdlib.h: Move include protection to the right place.
47834 Define abort_msg_s. Declare __abort_msg with it.
47835 * stdlib/abort.c (__abort_msg): Adjust type.
47836 * assert/assert.c (__assert_fail_base): New function. Majority
47837 of code from __assert_fail. Allocate memory for __abort_msg with
47839 (__assert_fail): Now call __assert_fail_base.
47840 * assert/assert-perr.c: Remove bulk of implementation. Use
47841 __assert_fail_base.
47842 * include/assert.hL Declare __assert_fail_base.
47843 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47845 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47847 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47851 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47852 until all modules are registered in the DTV.
47853 * elf/Makefile: Add rules to build and run tst-tls19.
47854 * elf/tst-tls19.c: New file.
47855 * elf/tst-tls19mod1.c: New file.
47856 * elf/tst-tls19mod2.c: New file.
47857 * elf/tst-tls19mod3.c: New file.
47858 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47861 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47865 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47866 two-byte sequence errors.
47867 * iconvdata/Makefile (tests): Add bug-iconv8.
47868 * iconvdata/bug-iconv8.c: New file.
47871 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47874 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47877 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47878 (dummy_getcfa): New function.
47879 (init): Get _Unwind_GetCFA address, use dummy if not found.
47880 (backtrace_helper): In recursion check, also check whether CFA changes.
47881 (__backtrace): Completely initialize arg.
47883 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47884 storing incomplete byte sequence in state object. Avoid testing for
47885 guaranteed too small input if we know there is enough data available.
47887 2011-05-11 Andreas Schwab <schwab@redhat.com>
47889 * Makeconfig (+link-pie): Indent.
47890 * Rules (binaries-pie): Define if $(have-fpie) and
47892 (binaries-shared): Also filter out $(binaries-pie).
47893 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47894 * nscd/Makefile (others-pie): Add nscd.
47895 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47896 ($(objpfx)nscd): Remove command override.
47897 * login/Makefile (others-pie): Add pt_chown.
47898 ($(objpfx)pt_chown): Remove command override.
47899 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47900 remove command overrides.
47902 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47904 * libio/tst_putwc.c: Fix error messages.
47907 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47908 currently writing and seek to current position when not.
47909 * libio/Makefile (tests): Add bug-fclose1.
47910 * libio/bug-fclose1.c: New file.
47912 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47915 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47916 don't set DF_1_NODELETE here.
47917 (do_lookup_x): When entering new entry test for copy relocation
47918 and if necessary set DF_1_NODELETE flag.
47919 * elf/tst-unique4.cc: New file.
47920 * elf/tst-unique4.h: New file.
47921 * elf/tst-unique4lib.cc: New file.
47922 * elf/Makefile: Add rules to build and run tst-unique4.
47923 Patch by Piotr Bury <pbury@goahead.com>.
47925 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47928 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47931 * misc/mntent_r.c (addmntent): Flush the stream after the output
47934 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47935 (is_trusted_path_normalize): Skip initial colon. Append slash
47936 to empty buffer. Duplicate is_trusted_path code but allow
47937 constructed patch to be prefix.
47938 (is_dst): Allow $ORIGIN followed by /.
47939 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47940 Correct testing of result of is_trusted_path_normalize
47941 (decompose_rpath): Fix warning.
47943 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47946 * grp/initgroups.c (internal_getgrouplist): When we found the service
47947 list through the initgroups entry in nsswitch.conf do not always
47948 continue on a successful lookup. Don't always use the
47949 __nss_group_database value if it is set.
47950 * nss/nsswitch.conf (initgroups): Change action for successful db
47951 lookup to continue for compatibility.
47953 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47956 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47958 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47960 * iconvdata/tst-tables.sh: Likewise.
47961 * iconvdata/cp770.c: New file.
47962 * iconvdata/cp771.c: New file.
47963 * iconvdata/cp772.c: New file.
47964 * iconvdata/cp773.c: New file.
47965 * iconvdata/cp774.c: New file.
47966 * iconvdata/testdata/CP770: New file.
47967 * iconvdata/testdata/CP770..UTF8: New file.
47968 * iconvdata/testdata/CP771: New file.
47969 * iconvdata/testdata/CP771..UTF8: New file.
47970 * iconvdata/testdata/CP772: New file.
47971 * iconvdata/testdata/CP772..UTF8: New file.
47972 * iconvdata/testdata/CP773: New file.
47973 * iconvdata/testdata/CP773..UTF8: New file.
47974 * iconvdata/testdata/CP774: New file.
47975 * iconvdata/testdata/CP774..UTF8: New file.
47977 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47979 * iconvdata/gen-8bit-gap.sh: Likewise.
47980 * iconvdata/gen-8bit.sh: Likewise.
47982 * locale/iso-639.def: Add ary entry.
47985 * locale/C-translit.h.in: Add U20A1 transliteration.
47988 * locale/iso-639.def: Add wae entry.
47989 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47992 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47996 * locale/C-translit.h.in: Add entry for U20B9.
47997 Patch by pravin.d.s@gmail.com.
47999 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48002 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48003 ENAMETOOLONG use generic getcwd.
48004 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48005 in rtld. Use *stat64.
48006 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48007 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48008 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48009 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48010 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48011 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48012 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48013 __fstatat64 macros.
48014 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48015 * dirent/rewinddir.c: Add libc_hidden_def.
48016 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48017 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48019 * include/dirent.h (__alloc_dir): Add flags parameter.
48020 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48021 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48023 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48024 from fdopendir if O_CLOEXEC is already set.
48026 2011-03-15 Alan Modra <amodra@gmail.com>
48028 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48029 l_tls_firstbyte_offset non-zero. Save padding offset in
48030 l_tls_firstbyte_offset for later use.
48031 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48032 freeing static tls block.
48034 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48036 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48037 where #ifdef was intended. The intent is to prevent ARG_MAX from
48038 being defined by the kernel headers.
48040 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48043 * resolv/resolv.h: Define RES_NOTLDQUERY.
48044 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48045 no-tld-query and set RES_NOTLDQUERY.
48046 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48047 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48048 modern BIND to search name as TLD unless forbidden.
48050 2011-05-07 Petr Baudis <pasky@suse.cz>
48051 Ulrich Drepper <drepper@gmail.com>
48054 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48055 (is_trusted_path): ...to here.
48056 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48057 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48058 using is_trusted_path_normalize() in setuid scripts.
48060 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48062 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48063 __BEGIN/__END_DECLS.
48065 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48068 NSS_STATUS_NOTFOUND if no record was found.
48070 2011-05-05 Andreas Schwab <schwab@redhat.com>
48072 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48073 (headers-not-in-tirpc): Remove rpc/netdb.h
48074 * resolv/netdb.h: Revert last change.
48076 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48078 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48079 circular dependency between libgcc.a and libc.a.
48081 2011-05-05 Andreas Schwab <schwab@redhat.com>
48083 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48084 * nis/Makefile: Don't install rpcsvc/*.
48085 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48086 instead of <rpc/types.h>.
48087 (MAXHOSTNAMELEN): Define.
48089 2011-05-03 Andreas Schwab <schwab@redhat.com>
48091 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48093 2011-04-28 Maciej Babinski <mbabinski@google.com>
48096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48097 gethostbyname4_r when IPv6 results are possible.
48099 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48102 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48103 _PC_PIPE_BUF handling.
48105 2011-04-30 Bruno Haible <bruno@clisp.org>
48108 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48109 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48111 * inet/getnameinfo.c (getnameinfo): Likewise.
48113 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48115 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48116 to groups setting in database lookup.
48117 * nss/nsswitch.conf: Add initgroups entry.
48119 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48122 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48124 Patch by Eric Blake <eblake@redhat.com>.
48126 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48128 * sunrpc/Makefile (need-export-routines): Add svc_run.
48129 (routines): Remove svc_run.
48130 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48131 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48132 * sunrpc/svc_run.c (svc_run): Likewise.
48133 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48135 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48138 problem in reallocation in last patch.
48140 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48142 * sunrpc/Makefile: Move inclusion of Rules.
48144 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48146 * nss/nss_files/files-initgroups.c: New file.
48147 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48148 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48149 _nss_files_initgroups_dyn.
48151 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48153 * elf/elf.h (R_ARM_IRELATIVE): Define.
48155 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48157 * po/ru.po: Update from translation team.
48159 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48161 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48164 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48167 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48168 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48169 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48170 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48171 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48173 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48175 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48177 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48178 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48179 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48181 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48184 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48186 * stdlib/bug-getcontext.c: New file.
48187 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48189 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48191 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48192 instructions into .machine "z9-109".
48193 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48194 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48196 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48198 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48199 between environment variables and auxiliary vector.
48201 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48203 * Makefile: Add rules to build linkobj/libc.so.
48204 * include/libc-symbols.h: Define libc_hidden_nolink.
48205 * include/rpc/auth.h: Mark functions which are to be hidden.
48206 * include/rpc/auth_des.h: Likewise.
48207 * include/rpc/auth_unix.h: Likewise.
48208 * include/rpc/clnt.h: Likewise.
48209 * include/rpc/des_crypt.h: Likewise.
48210 * include/rpc/key_prot.h: Likewise.
48211 * include/rpc/pmap_clnt.h: Likewise.
48212 * include/rpc/pmap_prot.h: Likewise.
48213 * include/rpc/pmap_rmt.h: Likewise.
48214 * include/rpc/rpc_msg.h: Likewise.
48215 * include/rpc/svc.h: Likewise.
48216 * include/rpc/svc_auth.h: Likewise.
48217 * include/rpc/xdr.h: Likewise.
48218 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48219 * nss/Makefile: Likewise.
48220 * sunrpc/Makefile: Don't install headers. Build library with normal
48221 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48222 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48223 for the compat linking library. Remove use of INTDEF/INTUSE.
48224 * sunrpc/auth_none.c: Likewise.
48225 * sunrpc/auth_unix.c: Likewise.
48226 * sunrpc/authdes_prot.c: Likewise.
48227 * sunrpc/authuxprot.c: Likewise.
48228 * sunrpc/clnt_gen.c: Likewise.
48229 * sunrpc/clnt_perr.c: Likewise.
48230 * sunrpc/clnt_raw.c: Likewise.
48231 * sunrpc/clnt_simp.c: Likewise.
48232 * sunrpc/clnt_tcp.c: Likewise.
48233 * sunrpc/clnt_udp.c: Likewise.
48234 * sunrpc/clnt_unix.c: Likewise.
48235 * sunrpc/des_crypt.c: Likewise.
48236 * sunrpc/des_soft.c: Likewise.
48237 * sunrpc/get_myaddr.c: Likewise.
48238 * sunrpc/key_call.c: Likewise.
48239 * sunrpc/key_prot.c: Likewise.
48240 * sunrpc/netname.c: Likewise.
48241 * sunrpc/pm_getmaps.c: Likewise.
48242 * sunrpc/pm_getport.c: Likewise.
48243 * sunrpc/pmap_clnt.c: Likewise.
48244 * sunrpc/pmap_prot.c: Likewise.
48245 * sunrpc/pmap_prot2.c: Likewise.
48246 * sunrpc/pmap_rmt.c: Likewise.
48247 * sunrpc/publickey.c: Likewise.
48248 * sunrpc/rpc_cmsg.c: Likewise.
48249 * sunrpc/rpc_common.c: Likewise.
48250 * sunrpc/rpc_dtable.c: Likewise.
48251 * sunrpc/rpc_prot.c: Likewise.
48252 * sunrpc/rpc_thread.c: Likewise.
48253 * sunrpc/rtime.c: Likewise.
48254 * sunrpc/svc.c: Likewise.
48255 * sunrpc/svc_auth.c: Likewise.
48256 * sunrpc/svc_authux.c: Likewise.
48257 * sunrpc/svc_raw.c: Likewise.
48258 * sunrpc/svc_run.c: Likewise.
48259 * sunrpc/svc_simple.c: Likewise.
48260 * sunrpc/svc_tcp.c: Likewise.
48261 * sunrpc/svc_udp.c: Likewise.
48262 * sunrpc/svc_unix.c: Likewise.
48263 * sunrpc/svcauth_des.c: Likewise.
48264 * sunrpc/xcrypt.c: Likewise.
48265 * sunrpc/xdr.c: Likewise.
48266 * sunrpc/xdr_array.c: Likewise.
48267 * sunrpc/xdr_float.c: Likewise.
48268 * sunrpc/xdr_intXX_t.c: Likewise.
48269 * sunrpc/xdr_mem.c: Likewise.
48270 * sunrpc/xdr_rec.c: Likewise.
48271 * sunrpc/xdr_ref.c: Likewise.
48272 * sunrpc/xdr_sizeof.c: Likewise.
48273 * sunrpc/xdr_stdio.c: Likewise.
48275 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48278 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48279 * sysdeps/ia64/dl-tls.h: Likewise.
48280 * sysdeps/powerpc/dl-tls.h: Likewise.
48281 * sysdeps/s390/dl-tls.h: Likewise.
48282 * sysdeps/sh/dl-tls.h: Likewise.
48283 * sysdeps/sparc/dl-tls.h: Likewise.
48284 * sysdeps/x86_64/dl-tls.h: Likewise.
48285 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48287 2011-03-14 Andreas Schwab <schwab@redhat.com>
48289 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48290 rpath element also skip the following colon.
48291 (expand_dynamic_string_token): Add is_path parameter and pass
48292 down to DL_DST_REQUIRED and _dl_dst_substitute.
48293 (decompose_rpath): Call expand_dynamic_string_token with
48294 non-zero is_path. Ignore empty rpaths.
48295 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48298 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48303 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48306 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48307 Patch by Filipe David Manana <fdmanana@apache.org>.
48309 2011-04-07 Andreas Schwab <schwab@redhat.com>
48311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48312 Maintain aligned stack.
48313 (CHECK_RSP): Remove unused macro.
48315 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48317 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48320 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48322 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48324 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48326 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48329 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48330 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48331 * sysdeps/x86_64/memmove.c: New file.
48332 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48333 (memcpy): Renamed to ...
48334 (__new_memcpy): This.
48335 (memcpy): Provide GLIBC_2_14 memcpy.
48336 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48337 (memcpy): Provide GLIBC_2_2_5 memcpy.
48339 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48342 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48344 2011-03-30 Andreas Schwab <schwab@redhat.com>
48346 * misc/syncfs.c: New file.
48347 * misc/Makefile (routines): Add syncfs.
48348 * posix/unistd.h: Declare syncfs.
48349 * sysdeps/unix/syscalls.list: Add syncfs.
48351 2011-04-01 Andreas Schwab <schwab@redhat.com>
48353 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48356 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48358 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48360 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48361 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48363 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48367 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48373 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48374 sync_file_range.c with -fexceptions.
48375 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48376 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48377 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48378 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48379 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48380 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48382 sync_file_range as cancellation point
48383 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48384 now a wrapper around __call_sync_file_range with cancellation handling.
48385 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48386 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48387 function name to __call_sync_file_range.
48388 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48389 Add call_sync_file_range.
48391 2011-04-01 Andreas Schwab <schwab@redhat.com>
48393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48396 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48398 * iconv/iconv.h: Fix typo in comment.
48399 * io/fcntl.h: Likewise.
48400 * libio/stdio.h: Likewise.
48401 * posix/spawn.h: Likewise.
48402 * posix/unistd.h: Likewise.
48403 * stdlib/stdlib.h: Likewise.
48404 * time/time.h: Likewise.
48405 * wcsmbs/wchar.h: Likewise.
48407 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48408 open_by_handle): Add.
48409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48410 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48411 Augment a few comments.
48412 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48417 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48420 * io/fcntl.h (AT_EMPTY_PATH): Define.
48422 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48424 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48425 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48426 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48428 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48429 * Versions.def: Add GLIBC_2.14.
48430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48433 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48435 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48437 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48439 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48442 * string/test-strncmp.c (do_page_test): New function.
48443 (check2): Likewise.
48444 (test_main): Call check2.
48445 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48447 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48450 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48451 Handle cache information in CPU leaf 4.
48452 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48454 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48457 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48458 character representation.
48459 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48461 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48463 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48464 END(__isnan) to END(__isnanf) to match function entry point/label
48465 EALIGN(__isnanf,...).
48467 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48469 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48471 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48474 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48475 copy from the symbol referenced in the relocation to initialize the
48477 Patch by Piotr Bury <pbury@goahead.com>.
48478 * elf/Makefile: Add rules to build and tst-unique3.
48479 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48480 * elf/tst-unique3.cc: New file.
48481 * elf/tst-unique3.h: New file.
48482 * elf/tst-unique3lib.cc: New file.
48483 * elf/tst-unique3lib2.cc: New file.
48485 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48487 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48489 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48490 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48493 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48495 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48496 to-be-loaded object along a path to loader is ld.so.
48498 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48499 Ulrich Drepper <drepper@gmail.com>
48501 * sysdeps/x86_64/memset.S: After aligning destination, code
48502 branches to different locations depending on the value of
48503 misalignment, when multiarch is enabled. Fix this.
48505 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48507 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48508 Set _x86_64_preferred_memory_instruction for AMD processsors.
48509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48510 Set bit_Prefer_SSE_for_memop for AMD processors.
48512 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48514 * libio/fmemopen.c (fmemopen): Optimize a bit.
48516 2011-03-03 Andreas Schwab <schwab@redhat.com>
48518 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48520 2011-03-03 Roland McGrath <roland@redhat.com>
48522 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48524 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48526 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48527 __bzero_ultra1 instead of __memset_ultra1.
48529 2011-02-23 Andreas Schwab <schwab@redhat.com>
48530 Ulrich Drepper <drepper@gmail.com>
48533 * include/link.h (struct link_map): Add l_orig_initfini.
48534 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48535 returning unsuccessfully.
48536 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48537 close of a file loaded at startup, restore the original l_initfini
48539 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48540 list, store the pointer.
48541 * elf/Makefile ($(objpfx)noload-mem): New rule.
48542 (noload-ENV): Define.
48543 (tests): Add $(objpfx)noload-mem.
48544 * elf/noload.c: Include <memcheck.h>.
48545 (main): Call mtrace. Close all opened handles.
48547 2011-02-17 Andreas Schwab <schwab@redhat.com>
48550 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48551 dependencies are missing.
48553 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48555 Fix __if_freereq crash: Unlike the generic version which uses free,
48557 * sysdeps/mach/hurd/ifreq.h: New file.
48559 2011-01-27 Petr Baudis <pasky@suse.cz>
48560 Ulrich Drepper <drepper@gmail.com>
48563 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48564 to extend_alloca().
48565 * stdio-common/bug23.c: New file.
48566 * stdio-common/Makefile (tests): Add bug23.
48568 2010-09-28 Andreas Schwab <schwab@redhat.com>
48569 Ulrich Drepper <drepper@gmail.com>
48572 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48573 before performing relro protection. At old place add assertion
48574 to make sure nothing changed.
48576 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48577 Glauber de Oliveira Costa <glommer@gmail.com>
48579 * elf/elf.h: Add new ARM TLS relocs.
48581 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48584 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48586 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48588 * sysdeps/wordsize-64/tst-writev.c: New file.
48590 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48592 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48593 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48594 insns in _dl_start to prevent a TOC reference before relocs are
48597 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48600 * Makeconfig: Remove RANLIB definition.
48601 * Makerules: Don't use RANLIB.
48602 * aclocal.m4: Remove ranlib test.
48603 * configure.in: No need to check for ranlib.
48604 * elf/rtld-Rules: Don't use RANLIB.
48606 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48608 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48610 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48611 inclusion protection macro.
48613 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48614 SIGRTMIN and SIGRTMAX and print information in that case only when
48615 SIGRTMIN is defined.
48617 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48619 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48620 arginfo fn returning -1.
48622 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48623 and thousands string is zero terminated.
48625 2011-02-03 Andreas Schwab <schwab@redhat.com>
48627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48628 sysdeps/unix/sysv/linux/bits/socket.h.
48630 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48632 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48633 (__CPU_COUNT): Remove old macros.
48634 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48635 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48636 (__CPU_ALLOC, __CPU_FREE): Add macros.
48637 (__sched_cpualloc, __sched_cpufree): Add declarations.
48639 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48641 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48642 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48643 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48644 (readdhstai): Return value of addhstaiX call.
48645 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48646 (addgrbyX): Return value returned by cache_addgr.
48647 (readdgrbyname): Return value returned by addgrbyX.
48648 (readdgrbygid): Likewise.
48649 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48650 (addpwbyX): Return value returned by cache_addpw.
48651 (readdpwbyname): Return value returned by addhstbyX.
48652 (readdpwbyuid): Likewise.
48653 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48654 (addservbyX): Return value returned by cache_addserv.
48655 (readdservbyname): Return value returned by addservbyX:
48656 (readdservbyport): Likewise.
48657 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48658 (addhstbyX): Return value returned by cache_addhst.
48659 (readdhstbyname): Return value returned by addhstbyX.
48660 (readdhstbyaddr): Likewise.
48661 (readdhstbynamev6): Likewise.
48662 (readdhstbyaddrv6): Likewise.
48663 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48664 (readdinitgroups): Return value returned by addinitgroupsX.
48665 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48666 (prune_cache): Keep track of timeout value of re-added entries.
48667 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48668 * nscd/nscd.h: Adjust prototypes of readd* functions.
48670 2011-02-04 Roland McGrath <roland@redhat.com>
48672 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48673 (nis_stats): Likewise.
48674 * nis/nis_modify.c (nis_modify): Likewise.
48675 * nis/nis_remove.c (nis_remove): Likewise.
48676 * nis/nis_add.c (nis_add): Likewise.
48678 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48680 * posix/fnmatch_loop.c: Add some consts.
48682 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48684 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48687 * config.make.in (config-cflags-novzeroupper): Define.
48688 * configure.in: Substitute libc_cv_cc_novzeroupper.
48689 * elf/Makefile (AVX-CFLAGS): Define.
48690 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48691 (CFLAGS-tst-auditmod4a.c): Likewise.
48692 (CFLAGS-tst-auditmod4b.c): Likewise.
48693 (CFLAGS-tst-auditmod6b.c): Likewise.
48694 (CFLAGS-tst-auditmod6c.c): Likewise.
48695 (CFLAGS-tst-auditmod7b.c): Likewise.
48696 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48698 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48700 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48701 function to the callback.
48702 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48704 2011-02-02 Andreas Schwab <schwab@redhat.com>
48706 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48709 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48712 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48714 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48716 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48719 * elf/Makefile: Add rules to build and run new test.
48720 * elf/tst-initorder.c: New file.
48721 * elf/tst-initorder.exp: New file.
48722 * elf/tst-initordera1.c: New file.
48723 * elf/tst-initordera2.c: New file.
48724 * elf/tst-initordera3.c: New file.
48725 * elf/tst-initordera4.c: New file.
48726 * elf/tst-initorderb1.c: New file.
48727 * elf/tst-initorderb2.c: New file.
48728 * elf/tst-order-a1.c: New file.
48729 * elf/tst-order-a2.c: New file.
48730 * elf/tst-order-a3.c: New file.
48731 * elf/tst-order-a4.c: New file.
48732 * elf/tst-order-b1.c: New file.
48733 * elf/tst-order-b2.c: New file.
48734 * elf/tst-order-main.c: New file.
48735 New test case by George Gensure <werkt0@gmail.com>.
48737 2010-10-01 Andreas Schwab <schwab@redhat.com>
48739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48740 decoding ACE if AI_CANONIDN.
48742 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48744 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48746 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48748 * version.h (RELEASE): Bump for 2.13 release.
48749 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48751 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48753 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48755 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48756 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48757 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48758 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48759 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48760 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48762 * posix/getconf.c: Update copyright year.
48763 * catgets/gencat.c: Likewise.
48764 * csu/version.c: Likewise.
48765 * debug/catchsegv.sh: Likewise.
48766 * debug/xtrace.sh: Likewise.
48767 * elf/ldconfig.c: Likewise.
48768 * elf/ldd.bash.in: Likewise.
48769 * elf/sprof.c (print_version): Likewise.
48770 * iconv/iconv_prog.c: Likewise.
48771 * iconv/iconvconfig.c: Likewise.
48772 * locale/programs/locale.c: Likewise.
48773 * locale/programs/localedef.c: Likewise.
48774 * malloc/memusage.sh: Likewise.
48775 * malloc/mtrace.pl: Likewise.
48776 * nscd/nscd.c (print_version): Likewise.
48777 * nss/getent.c: Likewise.
48779 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48780 PF_CAIF, and PF_ALG.
48781 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48783 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48785 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48786 (modules-names): Use them.
48787 (ifunc-test-modules, ifunc-pie-tests): Define.
48788 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48789 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48790 (test-extras): Likewise.
48791 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48792 $(compile-command.c).
48793 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48794 (all-built-dso): Define.
48795 (check-textrel.out, check-execstack.out): Depend on it.
48797 * configure.in: Don't override --enable-multi-arch.
48799 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48802 * nscd/hstcache.c (tryagain): Define.
48803 (cache_addhst): Return tryagain not notfound for temporary errors.
48804 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48807 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48810 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48811 to make the syscall.
48812 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48815 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48816 and fall back to matching as normal character if the string ends before
48817 the matching ']' is found. This is what POSIX requires.
48818 * posix/testfnm.c: Adjust test result.
48819 * posix/globtest.sh: Adjust test result. Add new test.
48820 * posix/tst-fnmatch.input: Likewise.
48821 * posix/tst-fnmatch2.c: Add new test.
48823 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48825 * elf/Makefile (check-execstack): Revert last change. Depend on
48827 (check-execstack.h): New target.
48828 (generated): Add check-execstack.h.
48829 * elf/check-execstack.c: Include "check-execstack.h".
48830 (main): Revert last change.
48831 (handle_file): Return zero if GNU_STACK is absent and
48832 DEFAULT_STACK_PERMS doesn't include PF_X.
48834 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48836 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48837 in child fails because the descriptor is already closed.
48838 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48839 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48840 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48843 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48847 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48848 temporary buffer used to handle multi lookups locally.
48849 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48851 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48853 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48856 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48858 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48859 alignment for SSE2.
48861 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48864 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48865 characters. When rounding increased number of integer digits recompute
48867 * stdio-common/tst-grouping.c: New file.
48868 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48870 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48872 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48873 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48875 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48877 * bits/select.h: Likewise.
48879 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48881 * po/ja.po: Update from translation team.
48883 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48886 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48887 implementation just like for lxstat, fxstatat, et al.
48889 2010-12-27 Jim Meyering <meyering@redhat.com>
48892 * posix/regexec.c (build_trtable): Return failure indication upon
48893 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48895 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48898 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48899 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48900 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48901 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48904 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48907 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48908 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48910 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48912 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48913 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48914 script has SORT_BY_INIT_PRIORITY.
48915 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48916 NO_CTORS_DTORS_SECTIONS is defined.
48917 * elf/soinit.c: Likewise.
48918 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48919 NO_CTORS_DTORS_SECTIONS is defined.
48920 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48921 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48922 * sysdeps/sh/init-first.c: Likewise.
48923 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48925 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48927 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48928 always use the slow path.
48930 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48932 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48933 similar rule which adds the sysdep directories to the header search in
48934 order to pick up the correct platform stackinfo.h.
48935 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48936 perform test if it is, otherwise return successfully without testing.
48937 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48938 DEFAULT_STACK_PERMS define in stackinfo.h.
48939 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48940 defined in stackinfo.h.
48941 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48942 DEFAULT_STACK_PERMS defined in stackinfo.h.
48943 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48944 * sysdeps/ia64/stackinfo.h: Likewise.
48945 * sysdeps/s390/stackinfo.h: Likewise.
48946 * sysdeps/sh/stackinfo.h: Likewise.
48947 * sysdeps/sparc/stackinfo.h: Likewise.
48948 * sysdeps/x86_64/stackinfo.h: Likewise.
48949 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48950 PF_X for powerpc64. Retain PF_X for powerpc32.
48952 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48954 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48956 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48957 GETDENTS_64BIT_ALIGNED.
48959 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48961 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48963 2010-12-10 Andreas Schwab <schwab@redhat.com>
48965 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48968 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48969 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48971 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48972 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48974 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48977 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48980 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48982 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48984 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48986 * po/it.po: Update from translation team.
48988 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48993 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48995 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48997 2010-11-24 Andreas Schwab <schwab@redhat.com>
48999 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49001 (gaih_getanswer_slice): Likewise.
49003 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49007 2010-05-31 Petr Baudis <pasky@suse.cz>
49010 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49011 silently even in the chroot mode.
49013 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49015 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49016 last patch a bit. Pretty printing
49018 2010-05-31 Petr Baudis <pasky@suse.cz>
49021 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49022 initialization of skip_initgroups_dyn.
49024 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49026 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49029 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49031 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49033 2010-11-11 Andreas Schwab <schwab@redhat.com>
49035 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49036 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49037 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49038 ($(objpfx)tst-fnmatch-mem): New rule.
49039 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49040 * posix/tst-fnmatch.c (main): Call mtrace.
49042 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49045 Support Intel processor model 6 and model 0x2c.
49047 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49049 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49052 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49055 * string/test-strncasecmp.c (check_result): New function.
49056 (do_one_test): Use it.
49057 (check1): New function.
49058 (test_main): Use it.
49059 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49060 Support strcasecmp and strncasecmp.
49062 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49065 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49066 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49068 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49070 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49074 * sysdeps/x86_64/multiarch/bzero.S: New file.
49075 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49076 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49077 * sysdeps/x86_64/multiarch/memset.S: New file.
49078 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49080 Set bit_Prefer_SSE_for_memop for Intel processors.
49081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49083 (index_Prefer_SSE_for_memop): Define.
49084 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49086 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49088 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49089 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49091 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49094 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49095 (__x86_64_raw_data_cache_size_half): Likewise.
49096 (__x86_64_raw_shared_cache_size): Likewise.
49097 (__x86_64_raw_shared_cache_size_half): Likewise.
49099 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49100 (__x86_64_raw_data_cache_size_half): Likewise.
49101 (__x86_64_raw_shared_cache_size): Likewise.
49102 (__x86_64_raw_shared_cache_size_half): Likewise.
49103 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49104 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49105 and __x86_64_raw_shared_cache_size_half. Round
49106 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49107 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49108 to multiple of 256 bytes.
49110 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49113 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49114 of inacessible symlinks. Verify result of symlink before returning it.
49115 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49116 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49118 2010-10-28 Erich Ritz <erichritz@gmail.com>
49120 * math/math.h (isinf): Fix typo in comment.
49122 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49124 * po/da.po: Update from translation team.
49126 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49128 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49129 is added to the list.
49131 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49132 Ulrich Drepper <drepper@gmail.com>
49134 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49135 the global list here. Move code to...
49136 (_dl_add_to_namespace_list): ...here. New function.
49137 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49138 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49139 * elf/dl-load.c (lose): Don't remove the element from the list.
49140 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49141 (_dl_map_object): Likewise.
49143 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49146 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49147 into all bytes of SSE register.
49148 Patch by Richard Li <richardpku@gmail.com>.
49150 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49153 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49156 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49158 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49159 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49160 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49161 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49166 2010-10-22 Andreas Schwab <schwab@redhat.com>
49168 * include/dlfcn.h (__RTLD_SECURE): Define.
49169 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49170 mode & __RTLD_SECURE instead.
49171 (open_path): Rename preloaded parameter to secure.
49172 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49173 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49174 * elf/dl-deps.c (openaux): Likewise.
49175 * elf/rtld.c (struct map_args): Remove is_preloaded.
49176 (map_doit): Don't use it.
49177 (dl_main): Likewise.
49178 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49179 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49181 2010-09-09 Andreas Schwab <schwab@redhat.com>
49183 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49184 (sysd-rules-targets): Remove duplicates.
49185 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49186 rtld-%.$o dependency.
49188 2010-10-18 Andreas Schwab <schwab@redhat.com>
49190 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49191 _dl_map_object do it.
49193 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49195 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49196 fast fma builtins, define the macros in the C99 standard.
49197 (FP_FAST_FMAF): Likewise.
49198 (FP_FAST_FMAL): Likewise.
49199 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49201 * bits/mathdef.h: Update copyright year.
49202 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49204 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49206 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49207 builtins, define the macros in the C99 standard.
49208 (FP_FAST_FMAF): Likewise.
49209 (FP_FAST_FMAL): Likewise.
49210 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49212 (FP_FAST_FMAF): Likewise.
49214 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49217 * math/libm-test.inc (fma_test): Some new testcases.
49218 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49219 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49220 y and infinite z. Do multiplication by C already in long double.
49221 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49223 y and infinite z. Do bitwise or of inexact bit into u.d.
49224 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49225 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49226 * sysdeps/i386/fpu/s_fma.S: Removed.
49227 * sysdeps/i386/fpu/s_fmal.S: Removed.
49229 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49232 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49234 computation is not scheduled after fetestexcept. Fix value
49235 of minimum denormal long double.
49237 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49240 * math/libm-test.inc (fma_test): Add some more tests.
49241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49244 2010-10-15 Andreas Schwab <schwab@redhat.com>
49246 * scripts/data/localplt-s390-linux-gnu.data: New file.
49247 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49249 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49252 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49253 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49255 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49257 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49259 if one of x and y is very large and the other is subnormal.
49260 * sysdeps/s390/fpu/s_fmaf.c: New file.
49261 * sysdeps/s390/fpu/s_fma.c: New file.
49262 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49263 * sysdeps/powerpc/fpu/s_fma.S: New file.
49264 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49265 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49266 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49268 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49271 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49273 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49274 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49275 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49276 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49277 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49278 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49279 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49281 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49284 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49285 * posix/bug-regex31.input: Add test case.
49287 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49289 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49290 * posix/bug-regex31.input: New file.
49293 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49294 (parse_sub_exp): Fix last change, use postorder.
49296 * posix/bug-regex31.c: New file.
49297 * posix/Makefile: Add rules to build and run bug-regex31.
49299 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49302 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49305 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49306 to have entries in sys_siglist.
49309 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49312 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49315 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49316 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49317 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49318 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49319 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49320 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49321 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49322 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49323 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49324 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49325 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49326 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49327 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49328 * math/ftestexcept.c (fetestexcept): Likewise.
49329 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49330 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49331 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49332 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49333 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49334 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49335 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49337 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49340 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49343 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49345 * string/bug-strstr1.c: New file.
49346 * string/Makefile: Add rules to build and run bug-strstr1.
49348 2010-10-05 Eric Blake <eblake@redhat.com>
49351 * string/str-two-way.h (two_way_long_needle): Always clear memory
49352 when skipping input due to the shift table.
49354 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49357 * malloc/mcheck.c: Handle large requests.
49360 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49361 for strncmp and strncasecmp.
49362 * string/stratcliff.c: Add tests for strcmp and strncmp.
49363 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49365 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49367 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49370 2010-09-30 Andreas Jaeger <aj@suse.de>
49372 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49373 (CGROUP_SUPER_MAGIC): Define.
49374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49375 Handle btrfs and cgroup file systems.
49376 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49379 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49381 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49382 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49384 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49387 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49388 trying to locate the ELF header.
49390 2010-09-27 Andreas Schwab <schwab@redhat.com>
49393 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49394 Mask out sign-bit copies when constructing f_fsid.
49396 2010-09-24 Petr Baudis <pasky@suse.cz>
49398 * debug/stack_chk_fail_local.c: Add missing licence exception.
49399 * debug/warning-nop.c: Likewise.
49401 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49403 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49404 implementing getdents64 using getdents syscall, set d_type if
49405 __ASSUME_GETDENTS32_D_TYPE.
49407 2010-09-16 Andreas Schwab <schwab@redhat.com>
49409 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49410 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49412 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49415 * posix/unistd.h: Undo change of feature selection for ftruncate from
49418 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49420 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49423 2010-09-20 Andreas Schwab <schwab@redhat.com>
49425 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49427 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49429 2010-09-14 Andreas Schwab <schwab@redhat.com>
49431 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49432 variables after CHECK_SP call.
49433 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49435 2010-09-13 Andreas Schwab <schwab@redhat.com>
49436 Ulrich Drepper <drepper@redhat.com>
49438 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49439 re-relocationg ld.so.
49440 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49441 _dl_init_paths call.
49442 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49445 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49447 * resolv/res_init.c (__res_vinit): Count the default server we added.
49449 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49450 Ulrich Drepper <drepper@redhat.com>
49453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49454 (____longjmp_chk): Use %ebx for saving value across system call.
49457 2010-09-06 Andreas Schwab <schwab@redhat.com>
49459 * manual/Makefile: Don't mix pattern rules with normal rules.
49461 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49463 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49465 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49466 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49467 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49468 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49469 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49472 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49475 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49476 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49478 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49480 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49481 * sysdeps/x86_64/addmul_1.S: Likewise.
49482 * sysdeps/x86_64/lshift.S: Likewise.
49483 * sysdeps/x86_64/mul_1.S: Likewise.
49484 * sysdeps/x86_64/rshift.S: Likewise.
49485 * sysdeps/x86_64/sub_n.S: Likewise.
49486 * sysdeps/x86_64/submul_1.S: Likewise.
49488 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49490 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49491 Define __sched_param instead of SCHED_* and sched_param when
49492 <bits/sched.h> is included with __need_schedparam defined.
49493 * bits/sched.h [__need_schedparam]
49494 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49495 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49496 (__defined_schedparam): Define to 1.
49497 (__sched_param): New structure, identical to sched_param.
49498 (__need_schedparam): Undefine.
49500 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49502 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49503 (epoll_create1): Declare.
49505 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49507 2010-08-31 Andreas Schwab <schwab@redhat.com>
49510 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49511 shifting retval into place.
49513 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49515 * nis/rpcsvc/nis.h: Update copyright notice.
49516 * nis/rpcsvc/nis.x: Likewise.
49517 * nis/rpcsvc/nis_callback.h: Likewise.
49518 * nis/rpcsvc/nis_callback.x: Likewise.
49519 * nis/rpcsvc/nis_object.x: Likewise.
49520 * nis/rpcsvc/nis_tags.h: Likewise.
49521 * nis/rpcsvc/yp.h: Likewise.
49522 * nis/rpcsvc/yp.x: Likewise.
49523 * nis/rpcsvc/ypupd.h: Likewise.
49524 * nis/yp_xdr.c: Likewise.
49525 * nis/ypupdate_xdr.c: Likewise.
49527 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49528 mainly the body of pmap_getport. Add parameters to specify timeouts.
49529 (pmap_getport): Use __libc_rpc_getport.
49530 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49531 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49532 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49534 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49539 2010-08-27 Roland McGrath <roland@redhat.com>
49541 * sysdeps/i386/i686/multiarch/Makefile
49542 (CFLAGS-varshift.c): New variable.
49544 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49546 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49547 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49549 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49551 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49553 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49555 * sysdeps/x86_64/strlen.S: Unroll the loop.
49556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49557 strlen-sse2 strlen-sse2-bsf.
49558 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49559 __strlen_no_bsf if bit_Slow_BSF is set.
49560 (__strlen_sse42): Removed.
49561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49562 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49564 2010-08-25 Roland McGrath <roland@redhat.com>
49566 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49567 * sysdeps/x86_64/multiarch/varshift.c: New file.
49568 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49569 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49570 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49571 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49573 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49576 strlen-sse2 strlen-sse2-bsf.
49577 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49578 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49579 (__strlen_sse2): Removed.
49580 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49583 bit_Slow_BSF for Atom.
49584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49585 (index_Slow_BSF): Define.
49586 (HAS_SLOW_BSF): Define.
49588 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49591 * resolv/res_init.c (__res_vinit): When no server address at all
49592 is given default to loopback.
49594 2010-08-24 Roland McGrath <roland@redhat.com>
49596 * configure.in: Remove config-name.h generation.
49597 * configure: Regenerated.
49598 * config-name.in: File removed.
49599 * scripts/config-uname.sh: New file.
49600 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49601 ($(objdir)config-name.h): New target.
49603 * sunrpc/rpc_parse.h: Avoid nested comment.
49605 2010-08-24 Richard Henderson <rth@redhat.com>
49606 Ulrich Drepper <drepper@redhat.com>
49607 H.J. Lu <hongjiu.lu@intel.com>
49609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49611 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49612 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49613 _mm_alignr_epi8 with _mm_loadu_si128.
49614 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49615 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49616 (__m128i_shift_right): Removed.
49617 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49618 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49619 * sysdeps/x86_64/multiarch/varshift.h: New file.
49620 * sysdeps/x86_64/multiarch/varshift.S: New file.
49622 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49624 * configure.in: Move assembler checks to before sysdep dir checking.
49626 2010-08-20 Petr Baudis <pasky@suse.cz>
49628 * LICENSES: Sync the sunrpc license.
49630 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49632 * sunrpc/auth_des.c: Update copyright notice once again.
49633 * sunrpc/auth_none.c: Likewise.
49634 * sunrpc/auth_unix.c: Likewise.
49635 * sunrpc/authdes_prot.c: Likewise.
49636 * sunrpc/authuxprot.c: Likewise.
49637 * sunrpc/bindrsvprt.c: Likewise.
49638 * sunrpc/clnt_gen.c: Likewise.
49639 * sunrpc/clnt_perr.c: Likewise.
49640 * sunrpc/clnt_raw.c: Likewise.
49641 * sunrpc/clnt_simp.c: Likewise.
49642 * sunrpc/clnt_tcp.c: Likewise.
49643 * sunrpc/clnt_udp.c: Likewise.
49644 * sunrpc/clnt_unix.c: Likewise.
49645 * sunrpc/des_crypt.c: Likewise.
49646 * sunrpc/des_soft.c: Likewise.
49647 * sunrpc/get_myaddr.c: Likewise.
49648 * sunrpc/getrpcport.c: Likewise.
49649 * sunrpc/key_call.c: Likewise.
49650 * sunrpc/key_prot.c: Likewise.
49651 * sunrpc/openchild.c: Likewise.
49652 * sunrpc/pm_getmaps.c: Likewise.
49653 * sunrpc/pm_getport.c: Likewise.
49654 * sunrpc/pmap_clnt.c: Likewise.
49655 * sunrpc/pmap_prot.c: Likewise.
49656 * sunrpc/pmap_prot2.c: Likewise.
49657 * sunrpc/pmap_rmt.c: Likewise.
49658 * sunrpc/rpc/auth.h: Likewise.
49659 * sunrpc/rpc/auth_unix.h: Likewise.
49660 * sunrpc/rpc/clnt.h: Likewise.
49661 * sunrpc/rpc/des_crypt.h: Likewise.
49662 * sunrpc/rpc/key_prot.h: Likewise.
49663 * sunrpc/rpc/netdb.h: Likewise.
49664 * sunrpc/rpc/pmap_clnt.h: Likewise.
49665 * sunrpc/rpc/pmap_prot.h: Likewise.
49666 * sunrpc/rpc/pmap_rmt.h: Likewise.
49667 * sunrpc/rpc/rpc.h: Likewise.
49668 * sunrpc/rpc/rpc_des.h: Likewise.
49669 * sunrpc/rpc/rpc_msg.h: Likewise.
49670 * sunrpc/rpc/svc.h: Likewise.
49671 * sunrpc/rpc/svc_auth.h: Likewise.
49672 * sunrpc/rpc/types.h: Likewise.
49673 * sunrpc/rpc/xdr.h: Likewise.
49674 * sunrpc/rpc_clntout.c: Likewise.
49675 * sunrpc/rpc_cmsg.c: Likewise.
49676 * sunrpc/rpc_common.c: Likewise.
49677 * sunrpc/rpc_cout.c: Likewise.
49678 * sunrpc/rpc_dtable.c: Likewise.
49679 * sunrpc/rpc_hout.c: Likewise.
49680 * sunrpc/rpc_main.c: Likewise.
49681 * sunrpc/rpc_parse.c: Likewise.
49682 * sunrpc/rpc_parse.h: Likewise.
49683 * sunrpc/rpc_prot.c: Likewise.
49684 * sunrpc/rpc_sample.c: Likewise.
49685 * sunrpc/rpc_scan.c: Likewise.
49686 * sunrpc/rpc_scan.h: Likewise.
49687 * sunrpc/rpc_svcout.c: Likewise.
49688 * sunrpc/rpc_tblout.c: Likewise.
49689 * sunrpc/rpc_util.c: Likewise.
49690 * sunrpc/rpc_util.h: Likewise.
49691 * sunrpc/rpcinfo.c: Likewise.
49692 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49693 * sunrpc/rpcsvc/key_prot.x: Likewise.
49694 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49695 * sunrpc/rpcsvc/mount.x: Likewise.
49696 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49697 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49698 * sunrpc/rpcsvc/rex.x: Likewise.
49699 * sunrpc/rpcsvc/rstat.x: Likewise.
49700 * sunrpc/rpcsvc/rusers.x: Likewise.
49701 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49702 * sunrpc/rpcsvc/spray.x: Likewise.
49703 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49704 * sunrpc/rtime.c: Likewise.
49705 * sunrpc/svc.c: Likewise.
49706 * sunrpc/svc_auth.c: Likewise.
49707 * sunrpc/svc_authux.c: Likewise.
49708 * sunrpc/svc_raw.c: Likewise.
49709 * sunrpc/svc_run.c: Likewise.
49710 * sunrpc/svc_simple.c: Likewise.
49711 * sunrpc/svc_tcp.c: Likewise.
49712 * sunrpc/svc_udp.c: Likewise.
49713 * sunrpc/svc_unix.c: Likewise.
49714 * sunrpc/svcauth_des.c: Likewise.
49715 * sunrpc/xcrypt.c: Likewise.
49716 * sunrpc/xdr.c: Likewise.
49717 * sunrpc/xdr_array.c: Likewise.
49718 * sunrpc/xdr_float.c: Likewise.
49719 * sunrpc/xdr_mem.c: Likewise.
49720 * sunrpc/xdr_rec.c: Likewise.
49721 * sunrpc/xdr_ref.c: Likewise.
49722 * sunrpc/xdr_sizeof.c: Likewise.
49723 * sunrpc/xdr_stdio.c: Likewise.
49725 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49728 2010-08-19 Andreas Schwab <schwab@redhat.com>
49730 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49732 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49734 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49735 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49736 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49737 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49738 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49739 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49740 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49741 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49742 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49743 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49744 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49745 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49746 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49747 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49749 2010-07-26 Anton Blanchard <anton@samba.org>
49751 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49752 * malloc/arena.c (heap_trim): Likewise.
49754 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49756 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49759 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49761 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49763 * sysdeps/i386/elf/Makefile: New file.
49765 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49767 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49768 from fanotify_init.
49769 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49772 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49774 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49776 * sysdeps/multiarch/strcmp.S: Likewise.
49778 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49780 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49781 strncase_l-nonascii.
49782 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49783 Add strncase_l-ssse3.
49784 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49785 * sysdeps/x86_64/strcmp.S: Likewise.
49786 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49787 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49788 * sysdeps/x86_64/strncase.S: New file.
49789 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49790 * sysdeps/x86_64/strncase_l.S: New file.
49791 * string/Makefile (strop-tests): Add strncasecmp.
49792 * string/test-strncasecmp.c: New file.
49794 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49797 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49798 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49800 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49802 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49804 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49806 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49807 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49808 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49810 2010-05-01 Alan Modra <amodra@gmail.com>
49812 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49813 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49814 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49815 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49816 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49817 tidying. Don't tail-call __sigjmp_save for static lib.
49818 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49820 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49821 (CALL_MCOUNT): Add eh info, and nop after bl.
49822 (TAIL_CALL_SYSCALL_ERROR): New macro.
49823 (PSEUDO_RET): Use it.
49824 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49825 Correct save location of integer regs and cr.
49826 (_dl_profile_resolve): Correct cr save location. Delete nops
49827 after bl when SHARED. Reduce cfi size a little by better
49828 placement of cfi directives.
49829 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49830 make a stack frame. Instead use parm save area as a temp.
49831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49832 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49834 Don't make a stack frame for parent, use parm save area.
49835 Increase child stack frame to 112 bytes. Don't save unused reg,
49836 and adjust reg usage. Set up cfi on error recovery and
49837 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49839 (__makecontext): Add dummy nop after jump to exit.
49840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49841 Use correct parm save area and cr save, reduce stack frame.
49842 Correct cfi for possible PSEUDO_RET frame setup.
49843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49844 Branch to local label emitted by PSEUDO_RET rather than
49847 2010-08-12 Andreas Schwab <schwab@redhat.com>
49850 * locale/programs/locale.c (print_assignment): New function.
49851 (show_locale_vars): Use it.
49853 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49855 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49857 (struct statfs64): Likewise.
49858 (_STATFS_F_FLAGS): Define.
49859 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49860 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49861 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49862 (ST_VALID): Define locally.
49863 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49864 __statvfs_getflags, use the provided value.
49865 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49866 __ASSUME_STATFS_F_FLAGS.
49868 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49870 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49871 Add sys/fanotify.h.
49872 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49873 fanotify_mask for GLIBC_2.13.
49874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49875 fanotify_init and fanotify_mark.
49876 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49877 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49879 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49881 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49882 prlimit64 for GLIBC_2.13.
49883 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49885 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49888 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49889 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49890 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49891 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49893 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49896 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49897 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49899 * nss/Makefile: Add rules to build and run tst-nss-test1.
49900 * shlib-versions: Add entry for libnss_test1.
49901 * nss/nss_test1.c: New file.
49902 * nss/tst-nss-test1.c: New file.
49904 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49905 (__nss_configure_lookup): Set appropriate entry in
49906 __nss_configure_lookup to true.
49907 * nss/nsswitch.h: Define enum with indeces of databases in
49908 databases and __nss_database_custom arrays. Declare
49909 __nss_database_custom.
49910 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49911 to avoid using nscd when custom rules are installed.
49912 * nss/getXXbyYY_r.c: Likewise.
49913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49915 * nss/nss_files/files-parse.c: Whitespace fixes.
49917 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49920 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49921 * posix/fnmatch_loop.c: Likewise.
49923 2010-07-17 Andi Kleen <ak@linux.intel.com>
49925 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49926 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49927 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49928 * Versions.def [GLIBC_2.13]: Add.
49930 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49932 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49933 Also fail if tpwd after pwuid call is NULL.
49935 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49937 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49938 when converting to ms.
49940 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49942 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49943 EOPNOTSUPP errors with ENOTTY.
49944 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49945 EOPNOTSUPP errors with ENOTTY.
49947 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49949 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49950 Add strcasecmp_l-ssse3.
49951 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49953 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49954 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49955 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49957 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49959 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49961 * string/Makefile (strop-tests): Add strcasecmp.
49962 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49963 strcasecmp_l-nonascii.
49964 (gen-as-const-headers): Add locale-defines.sym.
49965 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49966 * sysdeps/x86_64/strcasecmp.S: New file.
49967 * sysdeps/x86_64/strcasecmp_l.S: New file.
49968 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49969 * sysdeps/x86_64/locale-defines.sym: New file.
49970 * string/test-strcasecmp.c: New file.
49972 * string/test-strcasestr.c: Test both ends of the range of characters.
49973 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49975 2010-07-29 Roland McGrath <roland@redhat.com>
49978 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49980 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49982 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49985 2010-07-27 Andreas Schwab <schwab@redhat.com>
49987 * manual/memory.texi (Malloc Tunable Parameters): Document
49990 2010-07-26 Roland McGrath <roland@redhat.com>
49993 * configure.in (-fgnu89-inline check): Set and substitute
49994 gnu89_inline, not libc_cv_gnu89_inline.
49995 * configure: Regenerated.
49996 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49998 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50000 * string/test-strnlen.c: New file.
50001 * string/Makefile (strop-tests): Add strnlen.
50002 * string/tester.c (test_strnlen): Add a few more test cases.
50003 * string/tst-strlen.c: Better error reporting.
50005 * sysdeps/x86_64/strnlen.S: New file.
50007 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50009 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50010 lower-latency instructions.
50012 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50014 * string/test-strcasestr.c: New file.
50015 * string/test-strstr.c: New file.
50016 * string/Makefile (strop-tests): Add strstr and strcasestr.
50017 * string/str-two-way.h: Don't undefine MAX.
50018 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50020 2010-07-21 Andreas Schwab <schwab@redhat.com>
50022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50023 strcasestr-nonascii.
50024 (CFLAGS-strcasestr-nonascii.c): Define.
50025 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50026 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50027 Remove unused attribute.
50029 2010-07-20 Roland McGrath <roland@redhat.com>
50031 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50032 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50033 ld.so.cache was broken. With it, there is no way to disable dsocaps
50034 like LD_HWCAP_MASK can disable hwcaps.
50036 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50038 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50040 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50042 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50043 call in strcasestr.
50044 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50045 __strcasestr_sse42_nonascii.
50046 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50047 strcasestr-nonascii.c.
50048 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50050 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50052 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50055 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50057 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50059 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50062 2010-07-06 Andreas Schwab <schwab@redhat.com>
50065 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50068 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50071 _PC_PIPE_BUF using F_GETPIPE_SZ.
50073 2010-07-05 Roland McGrath <roland@redhat.com>
50075 * manual/arith.texi (Rounding Functions): Fix rint description
50076 implicit in round description.
50078 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50080 * elf/Makefile: Fix linking for a few tests to make recent linker
50083 2010-06-30 Andreas Schwab <schwab@redhat.com>
50085 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50086 $(common-objpfx)libc_nonshared.a.
50088 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50090 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50091 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50092 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50093 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50094 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50095 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50096 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50097 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50112 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50113 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50114 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50115 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50116 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50117 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50118 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50119 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50120 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50121 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50122 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50123 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50139 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50141 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50142 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50143 * string/memmove.c (memmove): Renamed to ...
50144 (MEMMOVE): ...this. Default to memmove.
50145 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50146 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50149 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50150 mempcpy-ssse3-back memmove-ssse3-back.
50151 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50153 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50154 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50155 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50156 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50157 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50158 * sysdeps/x86_64/multiarch/memmove.c: New file.
50159 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50160 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50161 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50162 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50163 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50164 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50166 (index_Fast_Copy_Backward): Define.
50167 (HAS_ARCH_FEATURE): Define.
50168 (HAS_FAST_REP_STRING): Define.
50169 (HAS_FAST_COPY_BACKWARD): Define.
50171 2010-06-21 Andreas Schwab <schwab@redhat.com>
50173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50174 Restore proper fallback handling.
50176 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50179 * posix/group_member.c (__group_member): Correct checking loop.
50181 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50182 OOM in getpwuid_r correctly. Return error number when the caller
50183 should return, otherwise -1.
50184 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50185 call returning > 0 value.
50186 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50188 2010-06-07 Andreas Schwab <schwab@redhat.com>
50190 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50191 libc_nonshared.a from targets in modules-names.
50193 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50195 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50198 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50200 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50201 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50202 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50203 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50205 2010-06-02 Andreas Schwab <schwab@redhat.com>
50207 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50209 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50211 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50217 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50218 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50220 2010-06-14 Roland McGrath <roland@redhat.com>
50222 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50224 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50226 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50227 __REDIRECT followed by __THROW.
50228 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50229 * posix/getopt.h (getopt): Likewise.
50231 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50233 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50234 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50235 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50237 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50238 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50240 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50242 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50244 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50248 Properly check family and model.
50250 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50252 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50254 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50256 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50258 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50260 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50263 2010-05-19 Andreas Schwab <schwab@redhat.com>
50265 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50268 2010-05-21 Andreas Schwab <schwab@redhat.com>
50270 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50271 and internal_recvmmsg.
50272 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50273 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50274 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50275 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50277 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50278 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50279 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50281 2010-05-20 Andreas Schwab <schwab@redhat.com>
50283 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50285 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50287 POWER7 optimizations.
50288 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50289 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50291 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50293 * version.h: Update for 2.13 development version.
50295 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50297 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50298 exceptions. Return 0.
50300 2010-05-07 Roland McGrath <roland@redhat.com>
50302 * elf/ldconfig.c (main): Add a const.
50304 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50306 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50307 (args_options): Add no-idn option.
50308 (ahosts_keys_int): Add idn_flags to ai_flags.
50309 (parse_option): Handle 'i' option to clear idn_flags.
50311 * malloc/malloc.c (_int_free): Possible race in the most recently
50312 added check. Only act on the data if no current modification
50315 See ChangeLog.17 for earlier changes.