1 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11 Jakub Jelinek <jakub@redhat.com>
14 * libio/stdio.h: Check definition of __fortify_function
15 instead of __extern_always_inline to include bits/stdio2.h.
16 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
17 check if __extern_always_inline is defined.
18 [__USE_MISC || __USE_XOPEN]: Likewise.
19 [__USE_ISOC99] Likewise.
20 * misc/sys/cdefs.h (__fortify_function): Define only if
21 __extern_always_inline is defined.
22 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23 __extern_always_inline and __extern_inline only for g++-4.3
24 and newer or a compatible gcc.
26 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
29 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30 last change to handle zero prefix length.
32 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37 * posix/getconf.c (vars): Add _POSIX_IPV6 and
40 2014-09-13 Allan McRae <allan@archlinux.org>
42 * po/ru.po: Update Russian translation from translation project.
44 2014-09-12 Roland McGrath <roland@hack.frob.com>
46 * locale/programs/locale.c (show_locale_vars): Inline local function
47 into its sole call site. Clean up some style nits.
48 (print_item): New function, broken out of ...
49 (show_info): ... local function here. Clean up style nits.
51 * locale/programs/ld-ctype.c (set_one_default): New function, broken
53 (set_class_defaults): ... local function set_default here.
54 Define set_default as a macro locally to pass constant parameters.
55 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
56 rather than a shared local.
58 * stdlib/rpmatch.c (try): New function, broken out of ...
59 (rpmatch): ... local function here. Also, prototypify definition.
61 2014-09-12 Joseph Myers <joseph@codesourcery.com>
63 * scripts/soversions.awk: Do not handle configuration names.
64 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
65 vendor and os variables to soversions.awk.
66 * configure.ac: Do not modify gnu-* host_os.
67 * configure: Regenerated
68 * shlib-versions: Remove first column with configuration names.
69 * nptl/shlib-versions: Likewise.
70 * nptl_db/shlib-versions: Likewise.
71 * sysdeps/hppa/shlib-versions: Likewise.
72 * sysdeps/m68k/shlib-versions: Likewise.
73 * sysdeps/mach/hurd/shlib-versions: Likewise.
74 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
75 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
76 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
77 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
78 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
79 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
80 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
81 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
84 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
85 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
86 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
87 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
88 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
89 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
90 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
93 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
94 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
97 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
99 Condition symbol version definitions on [HAVE_ELFV2_ABI].
101 * shlib-versions: Remove OS-specific entries. Moved to files in
103 * sysdeps/mach/hurd/shlib-versions: New file.
104 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
106 * nptl/shlib-versions: Remove architecture-specific entries.
107 Moved to files in sysdeps.
108 * shlib-versions: Likewise.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
111 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
112 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
113 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
114 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
116 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
117 (UDP_NO_CHECK6_RX): Likewise.
119 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
121 * sysdeps/posix/sysconf.c (__sysconf): Spell
122 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
124 2014-08-12 Florian Weimer <fweimer@redhat.com>
126 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
128 * iconv/Versions (__gconv_transliterate): Export for use from
130 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
131 (struct __gconv_trans_data, __gconv_trans_fct,
132 __gconv_trans_context_fct, __gconv_trans_query_fct,
133 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
135 (struct __gconv_step_data): Remove __trans member.
136 (__gconv_transliterate): Declaration moved from gconv_int.h. No
137 longer hidden. Remove unused trans_data argument.
138 * iconv/gconv_int.h (struct trans_struct): Remove definition.
139 (__gconv_translit_find): Remove declaration.
140 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
142 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
143 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
144 trans_data argument. Add hidden definition.
145 (__gconv_translit_find): Remove.
146 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
147 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
148 * iconv/skeleton.c: Remove transliteration initialization.
149 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
150 __gconv_step_data initialization.
151 * libio/iofwide.c (__libio_translit_): Remove.
152 (_IO_fwide): Adjust struct __gconv_step_data initialization.
153 * wcsmbs/btowc.c (__btowc): Likewise.
154 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
155 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
156 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
157 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
158 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
159 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
160 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
161 * wcsmbs/wctob.c (wctob): Likewise.
163 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
166 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
167 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
169 * sysdeps/x86/Makefile: Adjust.
171 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
172 Roland McGrath <roland@hack.frob.com>
174 * locale/weight.h: Add include guard.
175 (findidx): Make static rather than auto; take new parameters
176 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
177 * locale/weightwc.h: Likewise.
178 * posix/fnmatch_loop.c
179 (FCT): Change type of EXTRA from int32_t to wint_t.
180 Don't include either header inside the function.
181 Call FINDIDX rather than findidx, and pass new arguments.
182 #undef FINDIDX at the end of the file.
183 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
184 FINDIDX before including fnmatch_loop.c for the non-wide version.
185 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
186 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
187 for the wide version.
188 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
189 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
190 Pass new arguments to findidx.
191 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
192 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
193 Don't #include it inside the function. Pass new arguments to findidx.
194 * posix/regex_internal.h
195 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
196 (re_string_elem_size_at): Don't #include it inside the function.
197 Pass new arguments to findidx.
198 * string/strcoll_l.c: #include WEIGHT_H at top level.
199 (get_next_seq): Don't #include it inside the function.
200 Pass new arguments to findidx.
201 (get_next_seq_nocache): Likewise.
202 * string/strxfrm_l.c: #include WEIGHT_H at top level.
203 (STRXFRM): Don't #include it inside the function.
204 Pass new arguments to findidx.
206 2014-09-11 Florian Weimer <fweimer@redhat.com>
209 * malloc/malloc.c (unlink): Turn asserts into a call to
212 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
215 * libio/wfileops (do_ftell_wide): Free OUT.
217 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
219 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
221 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
224 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
225 group if the current group is empty.
227 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
229 * benchtests/bench-memset.c (test_main): Add more test from size
230 from 32 to 512 bytes.
231 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
232 Add POWER8 memset object.
233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
234 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
235 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
237 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
239 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
240 multiarch POWER8 memset optimization.
241 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
242 POWER8 memset optimization.
244 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
245 Remove bzero multiarch objects.
246 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
247 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
248 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
249 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
251 [__bzero]: Redefine to specific name.
252 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
253 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
254 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
256 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
257 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
259 2014-09-10 Florian Weimer <fweimer@redhat.com>
261 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
262 warnings into errors.
264 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
265 __cxa_thread_atexit_impl prototype.
267 2014-09-09 Steve Ellcey <sellcey@mips.com>
269 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
270 Fix capitalization of error message.
272 2014-09-09 Steve Ellcey <sellcey@mips.com>
274 * sysdeps/mips/preconfigure: Modify ABI tests.
276 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
278 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
280 2014-09-07 Roland McGrath <roland@hack.frob.com>
281 Carlos O'Donell <carlos@systemhalted.org>
283 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
284 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
285 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
286 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
287 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
288 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
289 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
290 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
291 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
292 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
293 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
294 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
295 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
296 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
297 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
298 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
299 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
300 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
301 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
302 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
303 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
304 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
305 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
306 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
307 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
308 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
309 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
310 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
311 Deconditionalize the code that was previously under [RESET_PID].
312 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
313 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
314 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
315 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
318 2014-09-08 Allan McRae <allan@archlinux.org>
320 * version.h (RELEASE): Set to "development".
321 (VERSION): Set to "2.20.90"
323 2014-09-07 Allan McRae <allan@archlinux.org
325 * version.h (RELEASE): Set to "stable".
326 (VERSION): Set to "2.20"
327 * include/features.h (__GLIBC_MINOR__): Set to 20.
329 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
332 * po/ko.po: Update Korean translation from translation project.
334 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
337 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
338 macro for handling signed relocations.
340 2014-09-03 Florian Weimer <fweimer@redhat.com>
343 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
344 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
346 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
347 * iconvdata/ibm935.c (BODY): Likewise.
348 * iconvdata/ibm937.c (BODY): Likewise.
349 * iconvdata/ibm939.c (BODY): Likewise.
350 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
352 * iconvdata/Makefile (iconv-test.out): Pass module list to test
354 * iconvdata/run-iconv-test.sh: New test loop for checking for
357 2014-09-02 Khem Raj <raj.khem@gmail.com>
359 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
362 2014-09-01 Allan McRae <allan@archlinux.org>
364 * po/eo.po: Update Esperanto translation from translation project.
366 * po/ca.po: Update Catalan translation from translation project.
368 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
370 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
373 2014-08-27 Mark Wielaard <mjw@redhat.com>
376 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
377 to call set_thread_area instead of hand written asm.
378 (__NR_set_thread_area): Removed define.
379 (TLS_FLAG_WRITABLE): Likewise.
380 (__ASSUME_SET_THREAD_AREA): Remove check.
381 (TLS_EBX_ARG): Remove define.
382 (TLS_LOAD_EBX): Likewise.
384 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
386 Simplify atomicity of socket creation in bind.
388 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
389 looking up the name after linking the file.
391 2014-08-27 Allan McRae <allan@archlinux.org>
393 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
395 2014-08-26 Florian Weimer <fweimer@redhat.com>
398 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
399 trans_compare, open_translit, __gconv_translit_find):
400 Remove module loading code.
402 2014-08-26 Allan McRae <allan@archlinux.org>
404 * po/vi.po: Update Vietnamese translation from translation project.
406 * po/uk.po: Update Ukrainian translation from translation project.
408 * po/fr.po: Update French translation from translation project.
410 * po/ru.po: Update Russian translation from translation project.
412 * po/pl.po: Update Polish translation from translation project.
414 * po/cs.po: Update Czech translation from translation project.
416 * po/de.po: Update German translation from translation project.
418 * po/bg.po: Update Bulgarian translation from translation project.
420 * po/sv.po: Update Sweedish translation from translation project.
422 * po/nl.po: Update Dutch translation from translation project.
424 * po/es.po: Update Spanish translation from translation project.
426 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
428 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
430 * catgets/Makefile (CPPFLAGS-gencat): Remove.
431 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
432 (CPPFLAGS-iconvconfig): Likewise.
433 * timezone/Makefile (CPPFLAGS-zic): Likewise.
435 * include/libc-symbols.h: Remove unnecessary check for
437 * nptl/pthreadP.h: Likewise.
438 * sysdeps/aarch64/setjmp.S: Likewise.
439 * sysdeps/alpha/setjmp.S: Likewise.
440 * sysdeps/arm/sysdep.h: Likewise.
441 * sysdeps/i386/setjmp.S: Likewise.
442 * sysdeps/m68k/setjmp.c: Likewise.
443 * sysdeps/posix/getcwd.c: Likewise.
444 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
445 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
446 * sysdeps/s390/s390-32/setjmp.S: Likewise.
447 * sysdeps/s390/s390-64/setjmp.S: Likewise.
448 * sysdeps/sh/sh3/setjmp.S: Likewise.
449 * sysdeps/sh/sh4/setjmp.S: Likewise.
450 * sysdeps/unix/alpha/sysdep.h: Likewise.
451 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
452 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
453 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
454 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
457 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
459 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
461 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
462 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
464 * sysdeps/x86_64/setjmp.S: Likewise.
466 2014-08-13 Joseph Myers <joseph@codesourcery.com>
469 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
471 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
472 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
474 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
476 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
479 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
480 and __x86_64__ when disabling x87 inline functions.
482 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
485 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
486 asm statement with __cpuid_count.
488 2014-08-12 Mike Frysinger <vapier@gentoo.org>
490 * configure.ac: Change __ehdr_start code to dereference the struct.
491 Run readelf on the output to look for relocations.
492 * configure: Regenerated.
494 2014-08-12 Joseph Myers <joseph@codesourcery.com>
497 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
499 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
501 2014-08-12 Roland McGrath <roland@hack.frob.com>
503 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
505 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
508 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
509 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
511 2014-08-12 Sean Anderson <seanga2@gmail.com>
513 * malloc/malloc.c: Fix typo in comment.
515 2014-08-09 Allan McRae <allan@archlinux.org>
517 * Regenerate libc.po.
519 2014-08-08 Mike Frysinger <vapier@gentoo.org>
521 * intl/tst-gettext2.sh: Check every lang file for creation.
523 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
525 * sysdeps/aarch64/fpu/math_private.h
526 (libc_feholdsetround_noex_aarch64_ctx): New function.
528 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
530 * sysdeps/arm/armv6/strcpy.S (strcpy):
531 Fix performance issue in misaligned cases.
533 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
536 Move definition from termios.h.
537 (struct termio): Likewise.
538 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
539 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
540 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
541 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
543 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
544 Move definition to ioctl-types.h
545 (struct termio): Likewise.
546 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
547 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
548 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
549 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
552 2014-08-05 Richard Henderson <rth@redhat.com>
554 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
556 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
558 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
560 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
561 Protect libm symbols with IS_IN_libm.
563 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
565 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
567 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
569 2014-08-04 Will Newton <will.newton@linaro.org>
571 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
574 2014-08-04 Mike Frysinger <vapier@gentoo.org>
576 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
577 variants for each function.
579 2014-08-04 Roland McGrath <roland@hack.frob.com>
581 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
583 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
584 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
586 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
587 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
588 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
589 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
590 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
591 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
592 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
593 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
594 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
595 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
596 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
597 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
598 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
599 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
600 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
601 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
603 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
604 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
605 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
606 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
607 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
609 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
610 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
611 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
612 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
613 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
614 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
615 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
616 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
617 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
618 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
619 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
620 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
621 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
622 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
623 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
624 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
625 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
626 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
627 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
628 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
630 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
632 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
634 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
636 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
637 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
638 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
640 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
641 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
643 2014-08-04 Roland McGrath <roland@hack.frob.com>
645 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
646 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
647 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
648 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
649 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
650 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
652 2014-08-04 Roland McGrath <roland@hack.frob.com>
654 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
655 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
656 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
657 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
659 2014-08-04 Roland McGrath <roland@hack.frob.com>
661 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
662 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
663 (__libc_vfork): Define function under this name.
664 (__vfork): Define as an alias.
665 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
666 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
668 2014-08-04 Roland McGrath <roland@hack.frob.com>
670 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
671 that was previously under [RESET_PID].
672 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
674 2014-08-04 Andreas Schwab <schwab@suse.de>
676 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
678 2014-08-03 Mike Frysinger <vapier@gentoo.org>
680 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
683 2014-08-01 Roland McGrath <roland@hack.frob.com>
685 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
687 2014-08-01 Richard Henderon <rth@redhat.com>
689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
690 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
691 typo in exact zero test.
692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
693 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
696 2014-08-01 Roland McGrath <roland@hack.frob.com>
698 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
699 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
700 * sysdeps/arm/sysdep.h: ... here.
701 [!__ASSEMBLER__]: Include <stdint.h>.
703 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
705 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
706 (HAVE_WCTYPE_H): Likewise.
707 (HAVE_ISWCTYPE): Likewise.
708 (ENABLE_NLS): Likewise.
709 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
710 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
712 * posix/regex_internal.c: Check if DEBUG is defined and is
715 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
716 (HAVE_MBSRTOWCS): Likewise.
717 * posix/fnmatch.c: Include string.h unconditionally.
719 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
721 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
724 2014-07-31 Roland McGrath <roland@hack.frob.com>
726 * sysdeps/generic/safe-fatal.h: New file.
727 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
728 * nptl/forward.c: Include it.
729 (__pthread_unwind): Use __safe_fatal as default action, rather
730 than a bogus use of INTERNAL_SYSCALL that could never work.
732 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
733 * configure.ac (libc_cv_builtin_trap): New test.
734 * configure: Regenerated.
735 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
736 (ABORT_INSTRUCTION): Define using __builtin_trap.
738 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
739 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
740 * sysdeps/nptl/nptl-signals.h: New file.
741 * nptl/pthreadP.h: Include <nptl-signals.h>.
743 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
745 * sysdeps/s390/s390-64/utf16-utf32-z9.c
746 (ONE_DIRECTION): Define.
747 * sysdeps/s390/s390-64/utf8-utf16-z9.c
748 (ONE_DIRECTION): Define.
749 * sysdeps/s390/s390-64/utf8-utf32-z9.c
750 (ONE_DIRECTION): Define.
752 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
754 * sysdeps/s390/Makefile: Delete file.
755 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
756 * sysdeps/s390/__longjmp.c: Delete file.
757 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
758 Remove fields __flags and __reserved.
759 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
761 * sysdeps/s390/rtld-__longjmp.c: Delete file.
762 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
763 * sysdeps/s390/rtld-setjmp.S: Likewise.
764 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
765 * sysdeps/s390/s390-32/__longjmp.c: ... here.
766 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
767 * sysdeps/s390/s390-32/setjmp.S: ... here.
769 (__sigsetjmp): Remove setting __flags field.
770 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
771 * sysdeps/s390/s390-64/__longjmp.c: ... here.
772 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
773 * sysdeps/s390/s390-64/setjmp.S: ... here.
775 (__sigsetjmp): Remove setting __flags field.
776 * sysdeps/s390/setjmp.S: Delete file.
777 * sysdeps/s390/sigjmp.c: Likewise.
778 * sysdeps/s390/v1-longjmp.c: Likewise.
779 * sysdeps/s390/v1-setjmp.h: Likewise.
780 * sysdeps/s390/v1-sigjmp.c: Likewise.
781 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
782 Remove v1-longjmp_chk.
783 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
784 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
785 Include debug/longjmp_chk.c and add versioning.
786 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
787 Include nptl/pt-longjmp.c and add versioning.
788 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
789 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
791 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
793 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
794 (__getcontext): Remove setting __flags field.
796 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
797 Don't restore upper high grps.
798 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
800 (__swapcontext): Remove setting uc_flags field.
801 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
803 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
805 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
807 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
808 (__getcontext): Remove setting __flags field.
810 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
811 (__swapcontext): Remove setting uc_flags field.
812 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
813 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
814 Remove fields uc_high_gprs and __reserved.
815 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
816 New file with reverted content.
817 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
818 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
820 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
823 2014-07-31 Andreas Schwab <schwab@suse.de>
825 * config.h.in (HAVE_IFUNC): Define to 0.
826 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
829 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
832 memmove-avx-unaligned, memcpy-avx-unaligned and
833 mempcpy-avx-unaligned.
834 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
835 Add tests for AVX memcpy functions.
836 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
837 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
839 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
840 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
842 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
843 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
845 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
846 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
847 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
849 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
855 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
858 * manual/llio.texi: Add section about open file description locks.
859 * manual/examples/ofdlocks.c: Example of open file description
861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
862 F_OFD_SETLK, and F_OFD_SETLKW.
864 2014-07-23 Allan McRae <allan@archlinux.org>
866 * po/es.po: Update Spanish translation from translation project.
868 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
870 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
872 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
875 * sysdeps/arm/dl-machine.h (elf_machine_rela)
876 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
877 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
879 2014-07-17 Joseph Myers <joseph@codesourcery.com>
882 * math/fesetenv.c (__fesetenv)
883 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
884 * math/feupdateenv.c (__feupdateenv)
885 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
887 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
888 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
889 (__ASSUME_SOCKETCALL): Do not define.
891 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
892 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
893 (__ASSUME_SOCKETCALL): Do not define.
894 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
895 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
896 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
897 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
898 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
899 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
900 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
901 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
903 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
904 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
905 (__ASSUME_SOCKETCALL): Do not define.
906 (__ASSUME_IPC64): Define unconditionally.
907 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
908 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
909 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
910 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
911 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
912 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
913 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
916 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
917 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
918 (__ASSUME_SOCKETCALL): Do not define.
919 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
920 (__ASSUME_FUTEX_LOCK_PI): Likewise.
921 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
922 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
923 (__ASSUME_REQUEUE_PI): Define unconditionally.
924 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
925 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
926 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
927 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
928 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
929 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
931 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
932 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
933 (__ASSUME_SOCKETCALL): Do not define.
934 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
935 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
936 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
937 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
938 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
939 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
941 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
942 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
943 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
944 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
945 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
946 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
947 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
948 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
949 (__ASSUME_GETCPU_SYSCALL): Likewise.
951 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
952 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
953 cases for individual architectures.
954 * sysdeps/gnu/configure: Regenerated.
955 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
956 LIBC_SLIBDIR_RTLDDIR.
957 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
958 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
959 LIBC_SLIBDIR_RTLDDIR.
960 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
962 LIBC_SLIBDIR_RTLDDIR.
963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
965 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
966 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
968 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
969 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
971 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
972 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
973 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
974 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
976 * sysdeps/aarch64/shlib-versions: Move to ...
977 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
978 * sysdeps/alpha/shlib-versions: Move to ...
979 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
980 * sysdeps/arm/shlib-versions: Move to ...
981 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
982 * sysdeps/hppa/shlib-versions: Move all contents except for
983 libgcc_s entry to ...
984 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
986 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
987 * sysdeps/ia64/shlib-versions: Move to ...
988 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
990 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
991 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
992 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
993 * sysdeps/microblaze/shlib-versions: Move to ...
994 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
995 * sysdeps/mips/shlib-versions: Move to ...
996 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
998 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
999 * sysdeps/tile/shlib-versions: Move to ...
1000 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1001 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1003 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1004 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1006 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1008 2014-07-17 Will Newton <will.newton@linaro.org>
1010 * sysdeps/arm/bits/atomic.h
1011 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1012 (__arch_compare_and_exchange_bool_16_int): Likewise.
1013 (__arch_compare_and_exchange_bool_64_int): Likewise.
1015 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1016 into an #else block.
1018 2014-07-16 Roland McGrath <roland@hack.frob.com>
1020 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1021 just Linux configurations. Test empirically that the compiler sets
1022 __ARM_EABI__, rather than using the tuple to decide.
1023 * sysdeps/arm/preconfigure: Regenerated.
1024 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1025 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1026 contents appended ...
1027 * sysdeps/arm/configure.ac: ... here.
1028 * sysdeps/arm/configure: Regenerated.
1030 2014-07-15 Roland McGrath <roland@hack.frob.com>
1032 * nptl/pthread_kill.c: New file.
1033 * nptl/pthread_sigmask.c: New file.
1034 * nptl/pthread_sigqueue.c: New file.
1036 * sysdeps/nptl/lowlevellock.h: New file.
1037 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1038 * sysdeps/nptl/lowlevellock-futex.h: New file.
1040 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1041 Remove dead declarations.
1043 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1045 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1046 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1048 * sysdeps/x86_64/configure.ac: Likewise.
1049 * sysdeps/i386/configure: Regenerated.
1050 * sysdeps/x86_64/configure: Likewise.
1051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1052 memset-avx2 only if config-cflags-avx2 is yes.
1053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1054 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1056 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1057 only if HAVE_AVX2_SUPPORT is defined.
1058 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1060 2014-07-14 Alan Modra <amodra@gmail.com>
1063 * elf/elf.h (DT_PPC64_NUM): Correct value.
1064 * NEWS: Add to fixed bug list.
1066 2014-07-13 Jim Meyering <meyering@fb.com>
1069 regex: don't deref NULL upon heap allocation failure
1070 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1071 failure in one more place.
1072 To trigger the segfault, configure grep -with-included-regex,
1073 build it, and run these commands:
1074 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1076 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1078 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1080 2014-07-11 Richard Henderson <rth@redhat.com>
1082 * sysdeps/aarch64/libm-test-ulps: Update.
1084 2014-07-10 Florian Weimer <fweimer@redhat.com>
1087 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1088 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1089 (__nptl_setxid): Initialize error member. Call
1090 __nptl_setxid_error.
1091 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1092 * nptl/descr.h (struct xid_command): Add error member.
1093 * nptl/tst-setuid3.c: New file.
1094 * nptl/Makefile (tests): Add it.
1096 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1098 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1100 (__lll_trylock): Use __lll_base_trylock.
1101 (__lll_cond_trylock): Likewise.
1103 2014-07-10 Roland McGrath <roland@hack.frob.com>
1105 * nptl/pthread_create.c (start_thread): Use atomic_or and
1106 lll_futex_wake directly rather than lll_robust_dead.
1107 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1108 (lll_robust_dead): Macro removed.
1109 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1110 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1111 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1112 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1113 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1114 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1115 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1116 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1117 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1118 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1119 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1120 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1121 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1122 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1123 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1125 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1126 Use atomic_compare_and_exchange_val_acq directly rather than
1128 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1129 (__lll_robust_trylock, lll_robust_trylock): Removed.
1130 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1131 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1132 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1133 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1134 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1135 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1136 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1137 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1138 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1139 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1140 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1141 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1142 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1143 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1145 2014-07-02 Florian Weimer <fweimer@redhat.com>
1147 * manual/locale.texi (Locale Names): New section documenting
1148 locale name syntax. Adjust menu and node chaining accordingly.
1149 (Choosing Locale): Reference Locale Names, Locale Categories.
1150 Mention setting LC_ALL=C. Reflect that name syntax is now
1152 (Locale Categories): New section title. Reference Locale Names.
1153 LC_ALL is an environment variable, but not a category.
1154 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1155 description, now in Locale Name. Reference that section. Locale
1156 name syntax is now documented.
1158 2014-07-02 Florian Weimer <fweimer@redhat.com>
1161 * locale/findlocale.c (name_present, valid_locale_name): New
1163 (_nl_find_locale): Use the loc_name variable to store name
1164 candidates. Call name_present and valid_locale_name to check and
1165 validate locale names. Return an error if the locale is invalid.
1167 2014-07-02 Florian Weimer <fweimer@redhat.com>
1169 * locale/setlocale.c (setlocale): Use strdup for allocating
1170 composite name copy.
1172 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1174 Sync up with gnulib.
1175 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1176 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1177 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1178 and _GL_ARG_NONNULL.
1179 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1180 [!_LIBC]: Include code for Windows and Cygwin.
1181 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1182 Include prototype for int strerror_r.
1183 [!_LIBC] (is_open): New function.
1184 (flush_stdout): New function.
1185 (print_errno_message): Use it.
1187 (error_at_line): Likewise.
1188 (error_tail) Add function attribute macros. Use
1191 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1193 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1195 * io/ftw.c: Include sys/param.h unconditionally.
1197 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1200 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1202 (freecache): New function to free CACHE on exit.
1204 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1207 2014-07-09 David S. Miller <davem@davemloft.net>
1209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1211 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1212 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1213 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1214 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1215 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1216 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1217 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1218 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1219 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1220 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1221 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1222 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1223 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1225 2014-07-09 Andreas Schwab <schwab@suse.de>
1227 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1229 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1230 (do_test): Likewise.
1232 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1234 2014-07-09 Will Newton <will.newton@linaro.org>
1236 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1237 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1238 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1239 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1240 * sysdeps/hppa/start.S (_start): Likewise.
1242 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1244 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1246 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1249 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1251 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1252 after checking that it is non-NULL.
1254 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1256 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258 * sysdeps/powerpc/memmove.c: Remove file.
1259 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1260 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1262 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1263 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1264 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1265 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1266 string memmove instead of removed powerpc one.
1268 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1269 [weak_alias]: Fix compiler warning due trailing data.
1270 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1271 [weak_alias]: Likewise.
1272 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1273 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1276 (__libc_ifunc_impl_list): Add memmove functions.
1278 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1280 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1282 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1284 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1286 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1288 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1290 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1292 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1294 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1296 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1298 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1300 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1302 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1304 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1306 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1308 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1310 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1312 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1315 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1317 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1318 to avoid alignment traps in non-cacheable memory.
1319 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1323 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1324 file: multiarch power7 memmove.
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1326 multiarch default memmove.
1327 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1328 multiarch memove for powerpc32/power4.
1330 * string/bcopy.c: Use full path to include memmove.c.
1331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1333 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1334 bcopy for powerpc64.
1335 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1336 bcopy for powerpc64.
1337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1338 and memmove implementations.
1339 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1340 optimized multiarch memmove for POWER7/powerpc64.
1341 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1342 default multiarch memmove for powerpc64.
1343 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1344 multiarch for powerpc64.
1345 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1346 for POWER7/powerpc64.
1347 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1348 memmove for POWER7/powerpc64.
1350 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1353 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1354 __ELF_NATIVE_CLASS equal to 64.
1356 2014-07-07 Roland McGrath <roland@hack.frob.com>
1358 * sysdeps/nptl/lowlevellock.h: File removed.
1360 * NEWS: NPTL is no longer an add-on!
1361 * nptl/internaltypes.h: Moved ...
1362 * sysdeps/nptl/internaltypes.h: ... here.
1363 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1364 * sysdeps/nptl/fork.c: Likewise.
1365 * sysdeps/nptl/gai_misc.h: Likewise.
1366 * sysdeps/nptl/librt-cancellation.c: Likewise.
1367 * sysdeps/nptl/jmp-unwind.c: Likewise.
1368 * sysdeps/nptl/setxid.h: Likewise.
1369 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1370 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1371 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1372 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1373 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1374 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1375 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1376 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1377 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1378 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1379 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1380 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1381 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1382 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1383 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1384 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1385 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1386 * nptl/Makeconfig: Moved ...
1387 * sysdeps/nptl/Makeconfig: ... here.
1388 * nptl/configure: File removed.
1389 * nptl/ANNOUNCE: File removed.
1390 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1391 * sysdeps/unix/sysv/linux/configure: Regenerated.
1393 * nptl/Makefile (routines): Add libc_pthread_init,
1394 libc_multiple_threads, register-atfork and unregister-atfork.
1395 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1396 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1397 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1398 pthread-pi-defines.sym, structsem.sym.
1399 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1400 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1401 [$(subdir) = nptl] (tests): Add tst-setgetname.
1402 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1403 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1404 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1405 [!LIBC_SIGACTION]: Remove aliases.
1406 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1407 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1408 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1409 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1410 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1411 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1415 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1416 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1417 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1418 __libc_allocate_rtsig_private.
1419 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1420 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1421 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1422 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1423 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1424 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1425 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1426 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1427 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1428 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1429 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1430 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1431 * nptl/internaltypes.h: ... here.
1432 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1433 * sysdeps/nptl/jmp-unwind.c: ... here.
1434 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1435 * nptl/libc-lowlevellock.c: ... here.
1436 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1437 * nptl/libc_multiple_threads.c: ... here.
1438 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1439 * nptl/libc_pthread_init.c: ... here.
1440 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1441 * nptl/lowlevelbarrier.sym: ... here.
1442 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1443 * nptl/lowlevelcond.sym: ... here.
1444 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1445 * nptl/lowlevellock.c: ... here.
1446 * nptl/lowlevellock.h: Moved ...
1447 * sysdeps/nptl/lowlevellock.h: ... here.
1448 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1449 * nptl/lowlevelrobustlock.c: ... here.
1450 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1451 * nptl/lowlevelrobustlock.sym: ... here.
1452 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1453 * nptl/lowlevelrwlock.sym: ... here.
1454 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1455 * nptl/pt-fork.c: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1457 * nptl/pthread-pi-defines.sym: ... here.
1458 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1459 * nptl/pthread_attr_getaffinity.c: ... here.
1460 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1461 * nptl/pthread_attr_setaffinity.c: ... here.
1462 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1463 * nptl/pthread_mutex_cond_lock.c: ... here.
1464 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1466 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1467 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1468 * nptl/pthread_once.c: ... here, replacing old file.
1469 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1470 * nptl/pthread_yield.c: ... here.
1471 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1472 * nptl/register-atfork.c: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1474 * nptl/sem_post.c: ... here.
1475 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1476 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1477 * nptl/sem_timedwait.c: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1479 * nptl/sem_trywait.c: ... here.
1480 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1481 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1482 * nptl/sem_wait.c: ... here.
1483 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1484 * nptl/structsem.sym: ... here.
1485 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1486 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1487 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1488 * nptl/unregister-atfork.c: ... here.
1489 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1490 * nptl/unwindbuf.sym: ... here.
1491 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1492 * sysdeps/nptl/fork.c: ... here.
1493 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1494 * sysdeps/nptl/fork.h: ... here.
1495 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1496 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1497 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1498 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1499 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1500 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1501 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1502 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1503 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1504 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1505 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1506 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1507 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1508 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1509 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1510 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1511 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1512 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1513 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1514 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1515 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1516 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1517 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1518 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1519 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1520 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1521 * sysdeps/unix/sysv/linux/raise.c: ... here.
1522 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1523 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1524 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1525 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1526 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1527 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1528 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1529 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1530 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1531 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1532 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1533 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1534 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1535 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1536 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1538 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1540 * sysdeps/generic/memcopy.h: Add comment for
1541 MEMCPY_OK_FOR_FWD_MEMMOVE.
1543 2014-07-04 Will Newton <will.newton@linaro.org>
1545 * string/memchr.c: Merge from gnulib.
1546 [_LIBC]: Remove conditionals.
1547 (__ptr_t): Remove define.
1548 (LONG_MAX_32_BITS): Likewise.
1549 (LONG_MAX): Likewise.
1550 (MEMCHR): Use ANSI prototype and optimize algorithm.
1552 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1554 2014-07-03 Roland McGrath <roland@hack.frob.com>
1556 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1557 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1559 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1560 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1561 in a bare environment with no <stdlib.h> installed.
1562 * sysdeps/nptl/configure: Regenerated.
1564 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1566 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1567 AC_EGREP_CPP for kernel header checks, so they only succeed if
1568 including <linux/version.h> actually works right.
1569 * sysdeps/unix/sysv/linux/configure: Regenerated.
1571 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1572 value so it's not diagnosed as unused.
1574 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1575 thing) with "ifeq ($(subdir),rt)".
1577 2014-07-03 Richard Henderson <rth@redhat.com>
1579 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1580 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1581 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1583 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1584 (math_force_eval): New.
1586 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1587 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1589 * sysdeps/alpha/fpu/s_round.c: Remove file.
1590 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1592 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1593 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1594 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1595 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1596 (_dl_start, print_statistics): Likewise.
1597 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1598 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1600 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1601 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1602 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1603 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1604 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1605 (HP_SMALL_TIMING_AVAIL): Define.
1606 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1608 (HP_SMALL_TIMING_AVAIL): Define.
1609 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1610 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1612 * sysdeps/aarch64/hp-timing.h: New file.
1614 * sysdeps/generic/hp-timing.h: Remove dead comment.
1615 * sysdeps/generic/hp-timing-common.h: New file.
1616 * sysdeps/alpha/hp-timing.h: Include it.
1617 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1618 * sysdeps/i386/i686/hp-timing.h: Likewise.
1619 * sysdeps/ia64/hp-timing.h: Likewise.
1620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1621 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1622 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1623 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1624 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1625 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1628 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1629 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1630 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1631 * elf/rtld.c (_dl_start_final): Likewise.
1632 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1633 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1634 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1635 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1636 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1637 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1638 (HP_TIMING_DIFF_INIT): Remove.
1639 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1640 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1641 (HP_TIMING_DIFF_INIT): Remove.
1642 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1643 * sysdeps/i386/i686/hp-timing.c: Remove file.
1644 * sysdeps/x86_64/hp-timing.c: Remove file.
1645 * sysdeps/ia64/hp-timing.c: Remove file.
1646 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1647 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1648 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1649 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1651 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1652 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1653 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1654 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1655 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1656 (HP_TIMING_ACCUM): Remove.
1657 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1658 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1659 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1661 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1662 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1663 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1664 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1665 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1666 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1667 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1668 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1670 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1672 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1674 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1676 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1678 Sync up with gettext.
1679 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1680 [_MSC_VER]: Include malloc.h
1681 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1682 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1683 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1684 TEMP_FAILURE_RETRY. Cast return of alloca.
1685 [!_LIBC] Call gl_rwlock_init.
1686 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1688 2014-07-02 Roland McGrath <roland@hack.frob.com>
1690 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1691 before checking its value.
1693 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1695 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1697 * debug/memcpy_chk.c: Don't include pagecopy.h.
1698 * debug/mempcpy_chk.c: Likewise.
1699 * string/memcpy.c: Likewise.
1700 * string/memmove.c: Likewise.
1701 * sysdeps/powerpc/memmove.c: Likewise.
1702 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1703 definition of PAGE_COPY_FWD_MAYBE here...
1704 * sysdeps/generic/pagecopy.h: ... from here.
1705 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1707 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1708 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1714 (__libc_ifunc_impl_list): Likewise.
1715 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1716 multiarch strcat for PPC64.
1717 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1718 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1720 2014-07-02 Roland McGrath <roland@hack.frob.com>
1722 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1724 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1726 * intl/loadmsgcat.c: Remove declaration of
1727 get_sysdep_segment_value.
1728 (get_sysdep_segment_value): Use ISO C style.
1729 (_nl_load_domain): Use ISO C style. Get rid of redundant
1730 semicolon. Fix typo and formatting in comment.
1731 (_nl_unload_domain): Use ISO C style.
1733 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1735 2014-07-02 Will Newton <will.newton@linaro.org>
1737 * malloc/obstack.c: Merge from gnulib master.
1738 [HAVE_CONFIG_H]: Remove conditional code.
1739 [!_LIBC]: Include config.h.
1740 [!ELIDE_CODE]: Don't include inttypes.h, include
1741 stdint.h unconditionally.
1742 (print_and_abort): Mark as _Noreturn.
1743 (_obstack_allocated_p): Mark as __attribute_pure__.
1744 (obstack_free): Rename to __obstack_free.
1745 [!__attribute__]: Remove conditional code.
1746 * malloc/obstack.h: Merge from gnulib master.
1747 [__cplusplus]: Move conditional down.
1748 [!__attribute_pure__]: Define __attribute_pure__ here
1749 if it is not already defined.
1750 (_obstack_memory_used): Mark as __attribute_pure__.
1751 [!__obstack_free]: Define as obstack_free.
1752 [__GNUC__]: Remove check for ancient NeXT gcc.
1754 2014-07-02 Will Newton <will.newton@linaro.org>
1755 Paul Eggert <eggert@cs.ucla.edu>
1757 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1759 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1761 * resolv/gethnamaddr.c: Add comment warning that the file is
1764 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1766 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1769 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1770 entry for aio_cancel and aio_cancel64.
1771 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1772 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1773 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1774 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1775 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1776 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1777 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1778 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1779 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1780 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1781 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1782 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1783 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1785 2014-07-01 Roland McGrath <roland@hack.frob.com>
1787 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1788 * nptl/pthread_mutex_lock.c: Likewise.
1789 * nptl/pthread_mutex_timedlock.c: Likewise.
1790 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1792 2014-07-01 Richard henderson <rth@redhat.com>
1794 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1795 (__isnan, __isnanl): Remove.
1796 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1798 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1800 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1802 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1804 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1806 * resolv/nss_dns/dns-host.c (getanswer_r)
1807 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1809 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1811 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1812 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1814 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1815 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1817 2014-07-01 Roland McGrath <roland@hack.frob.com>
1819 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1820 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1822 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1823 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1825 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1826 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1828 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1829 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1831 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1832 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1833 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1834 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1836 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1837 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1838 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1842 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1844 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1851 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1852 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1860 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1861 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1862 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1863 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1865 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1866 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1867 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1868 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1869 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1870 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1871 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1872 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1874 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1876 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1877 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1878 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1881 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1885 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1887 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1888 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1890 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1892 * sysdeps/arm/libm-test-ulps: Regenerated.
1894 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1895 Roland McGrath <roland@hack.frob.com>
1897 * test-skeleton.c (signal_handler): Kill the whole process group
1898 before killing the child individually.
1899 (main): Report any failure on `setpgid'.
1901 2014-06-30 Roland McGrath <roland@hack.frob.com>
1903 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1904 from _TLS_H to _ARM_NPTL_TLS_H.
1905 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1906 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1908 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1911 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1912 (__expm1l): Return argument unchanged when small but not
1915 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1917 (_FP_UNPACK_RAW_1_P): Likewise.
1918 (_FP_PACK_RAW_1): Likewise.
1919 (_FP_PACK_RAW_1_P): Likewise.
1920 (_FP_MUL_MEAT_1_wide): Likewise.
1921 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1922 (_FP_MUL_MEAT_1_hard): Likewise.
1923 (_FP_DIV_MEAT_1_imm): Likewise.
1924 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1925 (_FP_DIV_MEAT_1_udiv): Likewise.
1926 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1927 (_FP_UNPACK_RAW_2): Likewise.
1928 (_FP_UNPACK_RAW_2_P): Likewise.
1929 (_FP_PACK_RAW_2): Likewise.
1930 (_FP_PACK_RAW_2_P): Likewise.
1931 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1932 (_FP_MUL_MEAT_2_wide): Likewise.
1933 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1934 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1935 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1936 (_FP_MUL_MEAT_2_gmp): Likewise.
1937 (_FP_DIV_MEAT_2_udiv): Likewise.
1938 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1939 (_FP_FRAC_SRL_4): Likewise.
1940 (_FP_FRAC_SRST_4): Likewise.
1941 (_FP_FRAC_SRS_4): Likewise.
1942 (_FP_UNPACK_RAW_4): Likewise.
1943 (_FP_UNPACK_RAW_4_P): Likewise.
1944 (_FP_PACK_RAW_4): Likewise.
1945 (_FP_PACK_RAW_4_P): Likewise.
1946 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1947 (_FP_MUL_MEAT_4_wide): Likewise.
1948 (_FP_MUL_MEAT_4_gmp): Likewise.
1949 (umul_ppppmnnn): Likewise.
1950 (_FP_DIV_MEAT_4_udiv): Likewise.
1951 (__FP_FRAC_ADD_4): Likewise.
1952 (__FP_FRAC_SUB_3): Likewise.
1953 (__FP_FRAC_SUB_4): Likewise.
1954 (__FP_FRAC_DEC_3): Likewise.
1955 (__FP_FRAC_DEC_4): Likewise.
1956 (__FP_FRAC_ADDI_4): Likewise.
1957 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1958 (_FP_FRAC_SRL_8): Likewise.
1959 (_FP_FRAC_SRS_8): Likewise.
1961 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1963 (FP_UNPACK_RAW_EP): Likewise.
1964 (FP_PACK_RAW_E): Likewise.
1965 (FP_PACK_RAW_EP): Likewise.
1966 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1967 (_FP_ISSIGNAN): Likewise.
1968 (_FP_ADD_INTERNAL): Likewise.
1969 (_FP_FMA): Likewise.
1970 (_FP_CMP): Likewise.
1971 (_FP_SQRT): Likewise.
1972 (_FP_TO_INT): Likewise.
1973 (_FP_FROM_INT): Likewise.
1974 (FP_EXTEND): Likewise.
1975 (_FP_DIV_MEAT_N_loop): Likewise.
1977 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1979 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1982 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1985 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1986 result with correct sign in case of exponents that produce
1987 overflow except for X very close to 1.
1989 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1991 mktime: merge #if/#ifdef usage from glibc
1992 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1993 as that works with both Glibc's and Gnulib's style.
1994 See thread starting at Siddhesh Poyarekar's bug report at:
1995 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1997 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1999 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2000 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2001 * sysdeps/tile/tilegx/memmove.c: Remove file.
2003 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2005 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2006 abi-name definition.
2007 * scripts/soversions.awk: Do not handle or generate ABI lines.
2008 * shlib-versions: Remove ABI entries.
2009 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2010 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2012 2014-06-27 Roland McGrath <roland@hack.frob.com>
2014 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2015 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2016 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2017 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2019 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2022 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2025 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2027 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2029 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2031 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2033 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2035 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2038 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2040 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2042 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2045 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2048 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2053 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2057 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2062 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2064 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2067 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2070 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2071 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2072 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2075 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2077 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2078 Identical file removed.
2079 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2081 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2083 Identical file removed.
2084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2085 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2086 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2088 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2090 Identical file removed.
2091 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2092 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2093 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2094 Identical file removed.
2095 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2096 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2097 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2098 Identical file removed.
2099 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2102 Identical file removed.
2103 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2105 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2107 Identical file removed.
2108 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2110 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2112 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2114 Identical file removed.
2115 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2117 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2119 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2120 Identical file removed.
2121 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2123 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2125 Identical file removed.
2126 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2128 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2130 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2132 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2135 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2136 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2137 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2139 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2140 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2141 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2142 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2143 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2145 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2148 * nscd/nscd.c (monitor_child): Return exit status of child
2149 instead of return value from wait syscall.
2151 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2153 * configure.ac (libc_commonpagesize): Remove variable.
2154 (libc_relro_required): Likewise.
2155 (libc_cv_z_relro): Remove configure test.
2156 * configure: Regenerated.
2157 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2159 (libc_relro_required): Likewise.
2160 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2161 (libc_relro_required): Likewise.
2162 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2163 (libc_relro_required): Likewise.
2164 * sysdeps/arm/preconfigure: Regenerated.
2165 * sysdeps/ia64/preconfigure: Remove file.
2166 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2168 (libc_relro_required): Likewise.
2172 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2173 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2174 recompute overflowing results in original rounding mode.
2175 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2176 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2177 recompute overflowing results in original rounding mode.
2178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2179 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2180 recompute overflowing results in original rounding mode.
2181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2182 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2183 recompute overflowing results in original rounding mode.
2184 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2185 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2186 recompute overflowing results in original rounding mode.
2187 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2188 (libc_feholdsetround_ctx): New macro.
2189 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2190 * sysdeps/i386/fpu/libm-test-ulps: Update.
2191 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2193 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2195 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2196 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2197 corresponding .cpsetup call.
2199 2014-06-26 Roland McGrath <roland@hack.frob.com>
2201 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2202 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2203 * sysdeps/arm/Makefile [$(subdir) = csu]
2204 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2205 (static-only-routines): Add aeabi_read_tp here.
2206 (shared-only-routines): Add libc-aeabi_read_tp here.
2207 (CFLAGS-libc-start.c): Add -fexceptions here.
2208 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2209 (sysdep_routines, static-only-routines, shared-only-routines):
2210 Don't add to these here.
2211 (CFLAGS-libc-start.c): Likewise.
2213 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2214 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2215 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2216 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2217 * sysdeps/arm/Makefile [$(subdir) = rt]
2218 (librt-sysdep_routines, librt-shared-only-routines):
2219 Append rt-aeabi_unwind_cpp_pr1 here.
2220 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2221 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2222 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2223 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2224 Append nptl-aeabi_unwind_cpp_pr1 here.
2225 (tests): Filter out tst-cleanupx4 here.
2226 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2227 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2228 Don't do those here.
2230 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2232 * scripts/list-sources.sh: Do not handle ports specially.
2234 2014-06-26 Roland McGrath <roland@hack.frob.com>
2236 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2237 * sysdeps/arm/feupdateenv.c: Likewise.
2239 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2241 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2243 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2244 trailing whitespace removed.
2245 * scripts/config.guess: Update to version 2014-03-23.
2246 * scripts/config.sub: Update to version 2014-05-01
2247 * scripts/install-sh: Update to version 2013-12-25.23.
2248 * scripts/move-if-change: Update from gnulib.
2250 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2252 * debug/memmove_chk.c: Remove pagecopy.h include.
2254 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2256 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2257 identical to gnulib mktime.
2259 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2261 * configure.ac: Do not test for machine being rs6000. Do not test
2263 * configure: Regenerated.
2265 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2267 * configure: Regenerated.
2268 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2269 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2270 Remove configure test.
2271 * sysdeps/arm/configure: Regenerated.
2272 * sysdeps/nptl/configure.ac: Do not check
2273 libc_cv_asm_cfi_directives.
2274 * sysdeps/nptl/configure: Regenerated.
2275 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2276 * sysdeps/x86_64/nptl/configure: Remove generated file.
2277 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2279 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2281 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2283 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2284 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2285 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2288 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2289 instead of whether it is defined.
2290 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2291 * sysdeps/hppa/dl-machine.h: Likewise.
2292 * sysdeps/ia64/dl-machine.h: Likewise.
2293 * sysdeps/m68k/dl-machine.h: Likewise.
2294 * sysdeps/microblaze/dl-machine.h: Likewise.
2295 * sysdeps/mips/dl-machine.: Likewise.
2296 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2297 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2298 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2299 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2300 * sysdeps/sh/dl-machine.h: Likewise.
2301 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2302 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2303 * sysdeps/tile/dl-machine.h: Likewise.
2304 * sysdeps/x86_64/dl-machine.h: Likewise.
2306 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2308 (verify_persistent_db): Likewise.
2310 2014-06-26 Roland McGrath <roland@hack.frob.com>
2312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2313 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2318 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2323 Identical file removed.
2324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2336 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2340 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2343 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2347 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2349 Identical file removed.
2350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2351 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2356 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2359 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2370 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2373 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2378 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2382 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2384 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2385 * sysdeps/unix/sysv/linux/s390/Versions
2386 (libpthread: GLIBC_2.19): New version set.
2387 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2388 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2389 (librt: GLIBC_2.3.3): New version set.
2390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2391 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2392 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2394 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2396 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2397 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2398 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2400 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2402 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2404 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2406 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2408 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2410 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2412 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2414 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2416 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2418 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2420 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2422 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2426 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2428 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2430 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2432 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2434 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2437 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2438 (__libc_vfork): Define the function under this name.
2439 [!NOT_IN_libc] (__vfork): Make this an alias.
2440 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2441 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2442 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2443 (__libc_vfork): Define the function under this name.
2444 [!NOT_IN_libc] (__vfork): Make this an alias.
2445 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2446 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2447 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2449 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2450 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2452 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2453 code that was previously under [RESET_PID].
2454 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2455 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2456 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2458 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2459 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2460 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2461 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2462 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2463 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2464 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2465 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2466 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2470 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2472 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2473 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2474 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2475 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2476 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2477 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2478 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2480 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2481 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2482 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2483 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2484 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2485 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2486 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2487 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2488 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2489 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2490 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2492 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2493 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2494 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2495 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2496 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2497 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2498 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2500 2014-06-25 Roland McGrath <roland@hack.frob.com>
2502 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2503 that was previously under [RESET_PID].
2504 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2506 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2508 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2509 not undefine and redefine.
2510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2511 [O_CLOEXEC]: Make code unconditional.
2512 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2513 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2514 <kernel-features.h>.
2515 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2516 conditional variable definition.
2517 (shm_open) [O_CLOEXEC]: Make code unconditional.
2518 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2521 * configure.ac (USE_REGPARMS): Don't define here.
2522 * configure: Regenerated.
2523 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2524 * sysdeps/i386/configure: Regenerated.
2526 * nptl/createthread.c: Don't include kernel-features.h.
2527 * nptl/pthread_cancel.c: Likewise.
2528 * nptl/pthread_condattr_setclock.c: Likewise.
2529 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2530 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2531 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2532 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2533 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2534 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2535 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2537 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2538 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2539 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2540 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2541 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2542 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2543 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2544 * nscd/gai.c: Likewise.
2545 * nss/nss_db/db-open.c: Likewise.
2546 * sysdeps/generic/ldsodefs.h: Likewise.
2547 * sysdeps/sh/nptl/tls.h: Likewise.
2548 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2549 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2550 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2551 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2552 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2553 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2554 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2555 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2556 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2557 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2558 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2559 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2560 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2561 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2562 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2563 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2564 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2565 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2566 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2567 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2568 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2569 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2570 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2571 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2572 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2573 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2574 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2575 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2576 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2577 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2578 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2579 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2580 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2581 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2582 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2583 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2584 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2585 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2586 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2587 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2588 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2589 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2590 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2591 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2592 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2593 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2594 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2595 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2596 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2597 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2598 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2599 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2600 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2601 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2602 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2603 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2628 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2629 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2630 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2631 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2632 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2633 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2634 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2635 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2636 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2637 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2638 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2639 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2640 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2641 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2642 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2643 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2644 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2645 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2646 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2647 * sysdeps/unix/sysv/linux/system.c: Likewise.
2648 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2649 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2650 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2651 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2652 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2654 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2656 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2657 * configure: Regenerated.
2658 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2660 * configure.ac (base_machine): Do not set specially for particular
2662 * configure: Regenerated.
2663 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2664 settings from configure.ac.
2665 * sysdeps/i386/preconfigure: New file.
2666 * sysdeps/s390/preconfigure: Likewise.
2667 * sysdeps/sh/preconfigure: Likewise.
2668 * sysdeps/sparc/preconfigure: Likewise.
2670 2014-06-25 Roland McGrath <roland@hack.frob.com>
2672 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2673 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2674 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2675 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2676 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2677 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2678 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2679 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2680 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2681 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2682 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2683 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2684 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2685 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2686 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2687 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2688 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2689 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2690 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2692 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2693 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2694 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2695 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2696 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2697 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2698 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2699 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2700 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2701 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2702 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2703 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2704 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2705 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2706 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2707 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2708 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2709 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2710 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2711 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2712 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2713 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2714 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2715 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2716 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2717 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2719 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2720 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2721 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2722 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2723 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2724 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2725 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2727 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2728 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2729 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2732 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2734 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2737 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2745 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2747 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2749 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2751 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2754 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2757 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2759 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2762 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2764 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2766 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2768 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2770 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2781 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2790 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2793 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2798 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2800 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2802 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2804 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2806 * timezone/checktab.awk: Update from tzcode 2014e.
2807 * timezone/private.h: Likewise.
2808 * timezone/tzfile.h: Likewise.
2809 * timezone/zdump.c: Likewise.
2810 * timezone/zic.c: Likewise.
2812 * sysdeps/unix/sysv/linux/kernel-features.h
2813 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2814 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2815 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2816 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2817 Remove conditional code.
2819 2014-06-25 Will Newton <will.newton@linaro.org>
2821 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2822 (_dl_arm_cap_flags): Add HWCAP2 values.
2823 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2824 (_DL_HWCAP_COUNT): Increase to 37.
2825 (_DL_HWCAP_LAST): New define.
2826 (_DL_HWCAP2_LAST): New define.
2827 (_dl_procinfo): Add support for printing
2829 (_dl_string_hwcap): Use _dl_hwcap_string.
2831 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2835 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2837 * README: Do not mention ports directory.
2839 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2841 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2842 <kernel-features.h>.
2843 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2844 conditional variable definition.
2845 (__futimes): Update comment.
2846 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2847 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2850 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2851 arguments close to 0.
2852 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2854 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2856 * math/auto-libm-test-in: Add more tests of exp10.
2857 * math/auto-libm-test-out: Regenerated.
2858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2860 * sysdeps/unix/sysv/linux/kernel-features.h
2861 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2862 * sysdeps/unix/sysv/linux/readv.c: Do not include
2863 <kernel-features.h>.
2864 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2865 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2866 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2868 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2870 * sysdeps/unix/sysv/linux/writev.c: Do not include
2871 <kernel-features.h>.
2872 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2873 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2874 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2876 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2879 2014-06-25 Will Newton <will.newton@linaro.org>
2881 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2882 comment changes throughout the file. Remove checks
2883 for HAVE_*_H definitions that are not required.
2884 (__gen_tempname): Call abort if an unknown kind value is
2887 2014-06-25 Andreas Schwab <schwab@suse.de>
2890 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2891 scalbln, scalblnf, scalblnl in libc.
2893 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2896 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2897 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2898 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2900 2014-06-24 Roland McGrath <roland@hack.frob.com>
2902 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2903 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2904 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2905 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2907 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2908 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2910 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2911 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2912 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2913 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2914 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2915 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2916 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2917 * sysdeps/x86/bits/semaphore.h: ... here.
2918 * sysdeps/x86/nptl/elide.h: Moved ...
2919 * sysdeps/x86/elide.h: ... here.
2920 * sysdeps/x86_64/nptl/Implies: File removed.
2921 * sysdeps/i386/nptl/Implies: File removed.
2923 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2926 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2927 return the argument for normal arguments with exponent below -64.
2928 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2930 * math/auto-libm-test-in: Add another test of expm1.
2931 * math/auto-libm-test-out: Regenerated.
2934 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2935 calling __erfcl for arguments at least 16.
2936 * math/auto-libm-test-in: Add more tests of erf.
2937 * math/auto-libm-test-out: Regenerated.
2939 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2940 individual architectures.
2941 * sysdeps/unix/sysv/linux/configure: Regenerated.
2942 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2943 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2944 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2945 (ldd_rewrite_script): Define variable.
2946 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2951 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2952 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2953 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2954 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2955 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2956 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2957 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2958 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2960 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2963 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2964 Rename member __data.d to __data.__elision_data.
2966 2014-06-24 Wilco <wdijkstr@arm.com>
2968 * NEWS: Add 16918 to fixed bug list.
2970 2014-06-24 Wilco <wdijkstr@arm.com>
2972 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2974 2014-06-24 Wilco <wdijkstr@arm.com>
2976 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2977 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2978 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2979 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2980 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2981 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2982 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2985 2014-06-24 Wilco <wdijkstr@arm.com>
2987 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2989 2014-06-24 Wilco <wdijkstr@arm.com>
2991 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2992 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2993 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2994 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2996 2014-06-24 Wilco <wdijkstr@arm.com>
2999 * sysdeps/arm/feupdateenv.c (feupdateenv):
3000 Rewrite to reduce FPSCR accesses and fix return value.
3002 2014-06-24 Wilco <wdijkstr@arm.com>
3004 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3005 Optimize to avoid unnecessary FPSCR writes.
3006 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3007 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3008 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3009 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3011 2014-06-24 Wilco <wdijkstr@arm.com>
3013 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3014 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3015 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3016 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3017 Call libc_fetestexcept_vfp.
3018 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3019 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3020 __SOFTFP__ ifdef so that they can be built for softfp.
3022 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3024 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3025 argument type signed char.
3027 * Makerules (check-abi): Dump diff of symlist if the test
3030 2014-06-23 Roland McGrath <roland@hack.frob.com>
3032 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3035 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3036 Remove unused variable ST.
3038 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3042 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3043 small arguments before calling __expm1.
3044 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3045 small arguments before calling __expm1f.
3046 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3047 small arguments before calling __expm1l.
3048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3050 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3051 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3052 spurious underflow for some cosh tests.
3053 * math/auto-libm-test-out: Regenerated.
3054 * sysdeps/i386/fpu/libm-test-ulps: Update.
3057 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3058 (__ieee754_y1): Set errno if return value overflows.
3059 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3060 (__ieee754_y1f): Set errno if return value overflows.
3061 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3062 (__ieee754_y1l): Set errno if return value overflows.
3063 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3064 (__ieee754_y1l): Set errno if return value overflows.
3065 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3066 * math/auto-libm-test-out: Regenerated.
3068 * math/gen-auto-libm-tests.c: Document use of
3069 ignore-zero-inf-sign.
3070 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3071 (input_flags): Add ignore-zero-inf-sign.
3072 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3073 * math/gen-libm-test.pl (generate_testfile): Handle
3074 ignore-zero-inf-sign.
3075 * math/auto-libm-test-in: Mark some cpow tests with
3076 ignore-zero-inf-sign and some with xfail-rounding.
3077 * math/auto-libm-test-out: Regenerated.
3078 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3079 * sysdeps/i386/fpu/libm-test-ulps: Update.
3080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3084 overflowing or underflowing operations take place with sign of
3086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3087 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3088 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3089 (__ieee754_pow): Recompute overflowing and underflowing results in
3090 original rounding mode.
3091 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3092 (__powl_helper): Allow negative argument X and scale negated value
3093 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3094 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3095 overflowing or underflowing operations take place with sign of
3097 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3099 * math/auto-libm-test-in: Add more tests of pow.
3100 * math/auto-libm-test-out: Regenerated.
3101 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3102 (pow_tonearest_test_data): Remove.
3103 (pow_test_tonearest): Likewise.
3104 (pow_towardzero_test_data): Likewise.
3105 (pow_test_towardzero): Likewise.
3106 (pow_downward_test_data): Likewise.
3107 (pow_test_downward): Likewise.
3108 (pow_upward_test_data): Likewise.
3109 (pow_test_upward): Likewise.
3110 (main): Don't call removed functions.
3111 * sysdeps/i386/fpu/libm-test-ulps: Update.
3112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3114 2014-06-23 Roland McGrath <roland@hack.frob.com>
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3290 2014-06-23 Will Newton <will.newton@linaro.org>
3291 Wilco <wdijkstr@arm.com>
3293 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3294 implementation. Include get-rounding-mode.h.
3295 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3296 [!libc_feholdsetround_noex_ctx]: Define
3297 libc_feholdsetround_noex_ctx.
3298 [!libc_feholdsetround_noexf_ctx]: Define
3299 libc_feholdsetround_noexf_ctx.
3300 [!libc_feholdsetround_noexl_ctx]: Define
3301 libc_feholdsetround_noexl_ctx.
3302 (libc_feholdsetround_ctx): New function.
3303 (libc_feresetround_ctx): New function.
3304 (libc_feholdsetround_noex_ctx): New function.
3305 (libc_feresetround_noex_ctx): New function.
3307 2014-06-23 Roland McGrath <roland@hack.frob.com>
3309 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3310 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3311 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3312 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3313 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3314 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3316 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3317 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3318 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3319 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3320 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3321 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3323 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3324 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3325 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3326 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3328 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3331 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3333 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3336 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3338 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3340 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3342 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3345 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3348 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3350 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3351 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3353 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3355 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3356 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3357 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3358 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3359 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3360 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3361 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3362 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3364 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3366 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3367 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3368 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3369 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3370 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3371 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3373 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3375 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3377 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3380 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3384 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3387 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3388 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3389 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3390 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3391 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3393 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3394 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3395 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3396 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3397 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3398 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3400 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3402 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3403 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3404 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3405 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3406 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3407 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3408 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3410 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3411 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3412 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3413 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3414 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3415 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3416 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3422 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3425 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3426 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3427 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3428 (IPV6_PMTUDISC_INTERFACE): Likewise.
3429 (IPV6_PMTUDISC_OMIT): Likewise.
3431 2014-06-23 Andreas Schwab <schwab@suse.de>
3433 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3434 Remove unused errout label.
3436 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3438 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3439 macro: hardware supports Vector Crypto instructions.
3441 2014-06-23 Will Newton <will.newton@linaro.org>
3443 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3444 rather than __builtin_expect.
3446 * elf/dl-lookup.c (undefined_msg): Remove variable.
3447 (_dl_lookup_symbol_x): Replace undefined_msg with string
3450 * elf/dl-lookup.c (do_lookup_unique): New function.
3451 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3452 to a separate function.
3454 2014-06-23 Andreas Schwab <schwab@suse.de>
3457 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3458 before reading the next line.
3460 2014-06-23 Will Newton <will.newton@linaro.org>
3462 * test-skeleton.c (signal_handler): Use printf and %m
3463 rather than perror. Use printf rather than fprintf to
3464 stderr. Use puts rather than fputs to stderr.
3467 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3469 * nscd/nscd.c (thread_info_t): Remove typedef.
3470 (thread_info): Remove variable.
3472 2014-06-21 Allan McRae <allan@archlinux.org>
3474 * NEWS: Mention CVE-2014-4043.
3476 2014-06-20 Roland McGrath <roland@hack.frob.com>
3478 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3479 * nptl/smp.h: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3483 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3484 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3485 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3486 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3488 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3489 * nptl/stack-aliasing.h: New file.
3490 * sysdeps/i386/i686/stack-aliasing.h: New file.
3491 * sysdeps/i386/i686/nptl/Makefile: File removed.
3492 * sysdeps/x86_64/stack-aliasing.h: New file.
3493 * sysdeps/x86_64/nptl/Makefile
3494 (CFLAGS-pthread_create.c): Variable removed.
3496 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3497 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3499 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3500 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3503 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3505 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3506 (__ASSUME_SIGFRAME_V2): Remove macro.
3507 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3508 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3509 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3510 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3511 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3512 Declare as function. Remove conditional macro definitions.
3513 (__default_rt_sa_restorer): Likewise.
3514 (__default_sa_restorer_v1): Remove declaration.
3515 (__default_sa_restorer_v2): Likewise.
3516 (__default_rt_sa_restorer_v1): Likewise.
3517 (__default_rt_sa_restorer_v2): Likewise.
3518 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3519 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3520 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3522 2014-06-20 Roland McGrath <roland@hack.frob.com>
3524 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3525 (libpthread-routines): Add sysdep.
3526 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3527 * sysdeps/unix/sysv/linux/sparc/Versions
3528 (libpthread: GLIBC_2.3.3): New version set.
3529 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3530 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3531 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3532 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3533 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3534 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3536 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3537 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3538 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3540 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3542 * sysdeps/sparc/nptl/sem_init.c: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3544 * sysdeps/sparc/nptl/sem_post.c: ... here.
3545 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3546 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3547 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3548 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3549 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3550 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3551 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3552 (libpthread-routines): Add cpu_relax.
3553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3555 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3556 (librt: GLIBC_2.3.3): New version set.
3557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3558 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3559 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3560 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3563 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3566 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3568 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3570 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3572 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3574 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3577 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3581 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3585 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3589 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3593 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3597 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3600 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3608 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3611 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3613 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3615 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3617 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3619 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3620 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3621 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3622 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3623 * nscd/nscd.c: Likewise.
3624 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3625 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3626 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3627 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3629 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3630 <kernel-features.h>.
3631 (init_mq_netlink): Remove conditional have_sock_cloexec
3632 definitions. Remove code conditional on have_sock_cloexec < 0.
3633 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3634 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3635 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3636 <kernel-features.h>.
3637 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3638 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3640 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3643 Add tests for memset_chk and memset.
3645 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3648 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3651 * elf/tst-dl-iter-static.c: New file.
3652 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3654 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3657 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3659 * sysdeps/unix/sysv/linux/kernel-features.h
3660 (__ASSUME_F_GETOWN_EX): Remove macro.
3661 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3662 <kernel-features.h>.
3663 (miss_F_GETOWN_EX): Remove variable or macro.
3664 (do_fcntl): Do not check miss_F_GETOWN_EX.
3665 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3670 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3671 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3673 * sysdeps/unix/sysv/linux/kernel-features.h
3674 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3675 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3676 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3677 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3679 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3682 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3683 Fix calculation of the symbol's value.
3684 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3685 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3686 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3687 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3688 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3689 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3690 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3691 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3692 (modules-names): Add `tst-armtlsdescmod',
3693 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3694 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3695 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3696 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3697 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3698 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3699 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3700 ($(objpfx)tst-armtlsdescloc): New dependency.
3701 ($(objpfx)tst-armtlsdescextnow): Likewise.
3702 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3703 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3705 * sysdeps/arm/configure: Regenerate.
3707 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3709 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3710 (__atfct_seterrno_2): Likewise.
3711 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3712 <kernel-features.h>.
3713 (__ASSUME_ATFCTS): Do not undefine and redefine.
3714 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3715 (__have_atfcts): Remove conditional definition.
3716 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3717 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3718 unreachable if [__ASSUME_ATFCTS].
3719 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3720 not undefine and redefine.
3721 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3722 <kernel-features.h>.
3723 (faccessat) [__NR_faccessat]: Make code unconditional.
3724 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3725 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3726 <kernel-features.h>.
3727 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3728 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3729 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3730 <kernel-features.h>.
3731 (fchownat) [__NR_fchownat]: Make code unconditional.
3732 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3733 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3734 <kernel-features.h>.
3735 (futimesat) [__NR_futimesat]: Make code unconditional.
3736 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3737 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3738 <kernel-features.h>.
3739 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3740 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3741 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3742 <kernel-features.h>.
3743 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3744 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3745 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3746 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3747 <kernel-features.h>.
3748 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3749 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3750 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3751 <kernel-features.h>.
3752 (linkat) [__NR_linkat]: Make code unconditional.
3753 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3754 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3755 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3756 <kernel-features.h>.
3757 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3758 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3759 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3760 <kernel-features.h>.
3761 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3762 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3763 * sysdeps/unix/sysv/linux/openat.c: Do not include
3764 <kernel-features.h>.
3765 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3766 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3767 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3768 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3769 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3770 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3771 <kernel-features.h>.
3772 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3773 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3774 result of INLINE_SYSCALL directly, not via int variable.
3775 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3776 <kernel-features.h>.
3777 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3778 (renameat) [__NR_renameat]: Make code unconditional.
3779 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3780 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3781 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3782 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3783 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3784 (__ASSUME_ATFCTS): Do not undefine and redefine.
3785 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3786 <kernel-features.h>.
3787 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3788 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3789 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3790 <kernel-features.h>.
3791 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3792 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3793 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3794 (__ASSUME_ATFCTS): Do not undefine and redefine.
3795 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3796 <kernel-features.h>.
3797 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3798 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3799 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3800 <kernel-features.h>.
3801 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3802 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3804 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3806 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3808 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3811 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3812 constructed tree before returning error.
3813 * posix/bug-regexp36.c: Expand test case.
3815 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3818 * math/libm-test.inc (scalbln_test_date):
3819 Add errno expectations.
3820 * math/w_scalblnf.c: New File.
3821 Add wrapper which checks for setting errno to ERANGE.
3822 Add weak_alias for corresponding scalbln function.
3823 * math/w_scalbln.c: Likewise.
3824 * math/w_scalblnl.c: Likewise.
3825 * math/Makefile (libm-calls): Add w_scalbln.
3826 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3827 Remove weak_alias for corresponding scalbln function.
3828 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3830 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3832 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3833 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3834 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3835 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3836 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3837 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3838 Remove long_double_symbol for scalblnl function in libm, libc.
3839 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3840 Add wrapper which checks for setting errno to ERANGE.
3841 Add long_double_symbol for scalblnl function in libm, libc.
3842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3843 Remove long_double_symbol for scalblnl in libm.
3844 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3845 Add wrapper which checks for setting errno to ERANGE.
3846 Add long_double_symbol for scalblnl function in libm.
3847 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3848 Do not use wrapper because of own implementation.
3850 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3852 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3853 3 bytes for __pad1 for x32.
3854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3856 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3857 H.J. Lu <hongjiu.lu@intel.com>
3859 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3860 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3861 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3862 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3863 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3865 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3868 * posix/regcomp.c (parse_expression): Deallocate partially
3869 constructed tree before returning error.
3870 * posix/Makefile.c (tests): Add bug-regex36.
3871 (generated): Add bug-regex36.mtrace.
3872 (tests-special): Add $(objpfx)bug-regex36-mem.out
3873 (bug-regex36-ENV): New variable.
3874 ($(objpfx)bug-regex36-mem.out): New rule.
3875 * posix/bug-regex36.c: New file.
3877 2014-06-19 Will Newton <will.newton@linaro.org>
3879 * malloc/malloc.c (systrim): If extra is zero then return
3882 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3884 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3886 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3888 * sysdeps/aarch64/strchr.S: New file.
3890 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3893 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3894 from arguments -2 or below.
3895 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3896 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3898 2014-06-18 Andreas Schwab <schwab@suse.de>
3901 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3902 of a bracket expr not to run off the end of the string.
3903 * posix/Makefile (tests): Add tst-fnmatch3.
3904 * posix/tst-fnmatch3.c: New file.
3906 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3908 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3909 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3910 [$(cross-compiling) = no]: Likewise.
3911 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3912 [$(cross-compiling) = no]: Likewise.
3914 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3917 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3918 double, adjusted for any remainder from the high double.
3919 * math/libm-test.inc (nearbyint): Add tests.
3922 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3924 * nptl/sysdeps/powerpc/Makefile: Moved ...
3925 * sysdeps/powerpc/nptl/Makefile: ... here.
3926 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3927 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3928 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3929 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3930 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3931 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3932 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3933 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3934 * nptl/sysdeps/powerpc/tls.h: Moved ...
3935 * sysdeps/powerpc/nptl/tls.h: ... here.
3937 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3940 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3941 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3942 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3943 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3944 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3945 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3946 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3947 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3948 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3950 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3952 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3954 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3956 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3959 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3962 2014-06-16 Florian Weimer <fweimer@redhat.com>
3965 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3966 non-executed part of the test.
3968 2014-06-16 Andreas Schwab <schwab@suse.de>
3970 * string/bits/string2.h (strdup, strndup): Update feature guard.
3972 2014-06-14 David S. Miller <davem@davemloft.net>
3974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3976 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3978 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3979 that was previously under [RESET_PID].
3980 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3982 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3983 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3984 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3985 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3986 (__libc_vfork): New strong alias.
3987 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3989 2014-06-14 Andi Kleen <ak@linux.intel.com>
3991 * sysdeps/generic/elide.h: New file.
3993 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3995 * Makefile (installed-headers): Adjust path of pthread.h header.
3997 2014-06-13 Roland McGrath <roland@hack.frob.com>
3999 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4000 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4001 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4002 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4004 * nptl/sysdeps/s390/Makefile: Moved ...
4005 * sysdeps/s390/nptl/Makefile: ... here.
4006 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4007 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4008 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4009 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4010 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4011 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4012 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4013 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4014 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4015 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4016 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4017 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4018 * nptl/sysdeps/s390/tls.h: Moved ...
4019 * sysdeps/s390/nptl/tls.h: ... here.
4021 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4022 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4024 2014-06-13 David S. Miller <davem@davemloft.net>
4026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4029 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4033 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4034 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4035 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4036 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4037 Remove RESET_PID cpp guards.
4038 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4039 Remove RESET_PID cpp guards.
4040 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4042 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4044 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4047 2014-06-13 Andi Kleen <ak@linux.intel.com>
4049 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4050 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4051 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4052 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4053 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4054 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4055 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4056 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4057 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4058 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4062 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4063 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4064 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4065 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4066 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4067 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4068 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4070 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4071 (pthread_rwlock_rdlock): Add elision.
4072 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4073 (pthread_rwlock_wrlock): Add elision.
4074 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4075 (pthread_rwlock_trywrlock): Add elision.
4076 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4077 (pthread_rwlock_tryrdlock): Add elision.
4078 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4079 (pthread_rwlock_tryrdlock): Add elision unlock.
4080 * nptl/sysdeps/pthread/pthread.h:
4081 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4082 (PTHREAD_RWLOCK_INITIALIZER,
4083 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4084 Handle new elision field.
4085 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4086 * sysdeps/arm/nptl/bits/pthreadtypes.h
4087 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4088 * sysdeps/sh/nptl/bits/pthreadtypes.h
4089 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4090 * sysdeps/tile/nptl/bits/pthreadtypes.h
4091 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4092 * sysdeps/a/nptl/bits/pthreadtypes.h
4093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4094 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4096 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4098 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4100 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4102 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4104 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4106 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4108 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4110 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4111 (elision_init): Set try_xbegin to zero when no RTM.
4112 * sysdeps/x86/nptl/bits/pthreadtypes.h
4113 (pthread_rwlock_t): Change __pad1 to __rwelision.
4114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4116 2014-06-13 Andi Kleen <ak@linux.intel.com>
4118 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4119 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4120 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4121 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4123 2014-06-13 Meador Inge <meadori@codesourcery.com>
4126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4127 that the cached result has been set before returning it.
4129 2014-06-12 Roland McGrath <roland@hack.frob.com>
4131 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4132 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4133 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4134 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4135 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4136 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4138 * nptl/sysdeps/sparc/Makefile: Moved ...
4139 * sysdeps/sparc/nptl/Makefile: ... here.
4140 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4141 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4142 * nptl/sysdeps/sparc/tls.h: Moved ...
4143 * sysdeps/sparc/nptl/tls.h: ... here.
4144 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4145 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4146 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4147 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4148 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4149 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4150 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4151 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4152 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4153 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4154 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4155 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4156 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4157 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4158 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4159 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4160 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4163 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4164 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4166 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4169 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4173 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4175 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4176 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4178 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4179 (struct list_links): Type removed.
4180 (struct thread_node, struct timer_node): Replace struct list_links
4181 with struct list_head.
4182 (list_unlink_ip): Likewise.
4183 * sysdeps/pthread/timer_routines.c
4184 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4185 (list_append, list_insbefore): Likewise.
4186 (list_init): Function removed.
4187 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4188 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4189 * sysdeps/pthread/Makefile: ... here, new file.
4191 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4192 * sysdeps/nptl/Implies: ... here.
4193 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4194 * nptl/sysdeps/pthread/list.h: Moved ...
4195 * include/list.h: ... here.
4196 * nptl/sysdeps/pthread/createthread.c: Moved ...
4197 * nptl/createthread.c: ... here.
4198 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4199 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4200 * nptl/pt-longjmp.c: ... here.
4201 * nptl/sysdeps/pthread/Makefile: Moved ...
4202 * sysdeps/nptl/Makefile: ... here.
4203 * nptl/sysdeps/pthread/Subdirs: Moved ...
4204 * sysdeps/nptl/Subdirs: ... here.
4205 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4206 * sysdeps/nptl/aio_misc.h: ... here.
4207 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4208 * sysdeps/nptl/bits/libc-lock.h: ... here.
4209 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4210 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4211 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4212 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4213 * nptl/sysdeps/pthread/configure: Moved ...
4214 * sysdeps/nptl/configure: ... here.
4215 * nptl/sysdeps/pthread/configure.ac: Moved ...
4216 * sysdeps/nptl/configure.ac: ... here.
4217 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4218 * sysdeps/nptl/gai_misc.h: ... here.
4219 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4220 * sysdeps/nptl/librt-cancellation.c: ... here.
4221 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4222 * sysdeps/nptl/malloc-machine.h: ... here.
4223 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4224 * sysdeps/nptl/pthread-functions.h: ... here.
4225 * nptl/sysdeps/pthread/pthread.h: Moved ...
4226 * sysdeps/nptl/pthread.h: ... here.
4227 * nptl/sysdeps/pthread/setxid.h: Moved ...
4228 * sysdeps/nptl/setxid.h: ... here.
4229 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4230 * sysdeps/nptl/sigfillset.c: ... here.
4231 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4232 * sysdeps/nptl/tcb-offsets.h: ... here.
4233 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4234 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4235 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4236 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4237 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4238 * sysdeps/pthread/allocalim.h: ... here.
4239 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4240 * sysdeps/pthread/bits/sigthread.h: ... here.
4241 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4242 * sysdeps/pthread/flockfile.c: ... here.
4243 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4244 * sysdeps/pthread/ftrylockfile.c: ... here.
4245 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4246 * sysdeps/pthread/funlockfile.c: ... here.
4247 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4248 * sysdeps/pthread/posix-timer.h: ... here.
4249 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4250 * sysdeps/pthread/timer_create.c: ... here.
4251 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4252 * sysdeps/pthread/timer_delete.c: ... here.
4253 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4254 * sysdeps/pthread/timer_getoverr.c: ... here.
4255 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4256 * sysdeps/pthread/timer_gettime.c: ... here.
4257 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4258 * sysdeps/pthread/timer_routines.c: ... here.
4259 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4260 * sysdeps/pthread/timer_settime.c: ... here.
4261 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4262 * sysdeps/pthread/tst-timer.c: ... here.
4263 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4264 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4266 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4267 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4269 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4270 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4271 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4272 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4273 Update #include target.
4274 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4275 * sysdeps/i386/i686/nptl/Makefile: ... here.
4276 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4277 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4278 Update #include target.
4279 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4280 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4281 * nptl/sysdeps/i386/Makefile: Moved ...
4282 * sysdeps/i386/nptl/Makefile: ... here.
4283 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4284 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4285 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4286 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4287 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4288 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4289 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4290 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4291 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4292 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4293 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4294 * nptl/sysdeps/i386/tls.h: Moved ...
4295 * sysdeps/i386/nptl/tls.h: ... here.
4297 * sysdeps/sh/Makefile [$(subdir) = csu]
4298 (gen-as-const-headers): Add tcb-offsets.sym.
4299 * nptl/sysdeps/sh/Makefile: File removed.
4300 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4301 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4302 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4303 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4304 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4305 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4306 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4307 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4308 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4309 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4310 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4311 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4312 * nptl/sysdeps/sh/tls.h: Moved ...
4313 * sysdeps/sh/nptl/tls.h: ... here.
4314 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4315 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4316 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4317 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4318 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4319 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4320 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4321 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4322 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4323 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4324 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4325 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4326 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4327 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4328 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4329 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4331 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4333 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4335 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4337 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4340 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4344 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4347 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4349 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4350 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4351 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4352 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4353 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4354 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4355 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4356 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4357 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4359 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4361 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4363 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4365 * posix/spawn_faction_addopen.c: Include string.h.
4367 2014-06-11 Roland McGrath <roland@hack.frob.com>
4369 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4370 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4371 * nptl/sysdeps/x86_64/Makefile: Moved ...
4372 * sysdeps/x86_64/nptl/Makefile: ... here.
4373 * nptl/sysdeps/x86_64/configure: Moved ...
4374 * sysdeps/x86_64/nptl/configure: ... here.
4375 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4376 * sysdeps/x86_64/nptl/configure.ac: ... here.
4377 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4378 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4379 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4380 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4381 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4382 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4383 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4384 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4385 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4386 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4387 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4388 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4389 * nptl/sysdeps/x86_64/tls.h: Moved ...
4390 * sysdeps/x86_64/nptl/tls.h: ... here.
4391 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4392 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4393 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4394 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4396 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4398 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4402 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4404 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4406 [POSIX] (off_t): Likewise.
4407 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4408 [POSIX] (S_ISBLK): Require macro.
4409 [POSIX] (S_ISCHR): Likewise.
4410 [POSIX] (S_ISDIR): Likewise.
4411 [POSIX] (S_ISFIFO): Likewise.
4412 [POSIX] (S_ISREG): Likewise.
4413 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4415 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4417 [POSIX] (time_t): Likewise.
4418 [POSIX] (timer_t): Likewise.
4420 2014-06-11 Florian Weimer <fweimer@redhat.com>
4423 * posix/spawn_int.h (struct __spawn_action): Make the path string
4424 non-const to support deallocation.
4425 * posix/spawn_faction_addopen.c
4426 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4427 * posix/spawn_faction_destroy.c
4428 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4429 path in all spawn_do_open actions.
4430 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4431 posix_spawn_file_actions_addopen.
4433 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4435 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4436 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4437 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4438 conditional code always true.
4439 (__libc_vfork): New alias.
4441 2014-06-11 Roland McGrath <roland@hack.frob.com>
4443 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4444 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4446 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4448 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4449 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4451 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4452 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4454 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4455 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4457 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4459 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4460 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4461 multiarch strcmp for PPC64.
4462 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4463 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4465 multiarch optimizations.
4466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4467 (__libc_ifunc_impl_list): Likewise.
4469 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4471 * benchtests/scripts/validate_benchout.py: New script.
4472 * benchtests/Makefile (bench-func): Call it.
4473 * benchtests/scripts/benchout.schema.json: New file.
4475 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4477 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4478 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4479 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4480 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4481 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4482 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4483 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4484 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4485 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4486 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4487 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4488 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4489 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4490 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4491 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4492 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4596 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4597 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4599 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4600 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4602 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4604 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4605 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4607 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4609 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4613 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4618 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4621 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4626 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4627 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4628 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4629 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4630 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4631 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4632 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4634 2014-06-10 Wilco <wdijkstr@arm.com>
4636 * math/test-fenv-return.c: New file.
4637 * math/Makefile: Add new test test-fenv-return.
4639 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4642 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4644 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4645 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4646 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4647 0.0L for an argument of 1.0L.
4648 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4650 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4651 value when x - 1 is zero.
4652 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4656 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4659 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4661 2014-06-09 Roland McGrath <roland@hack.frob.com>
4663 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4664 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4666 2014-06-09 Roland McGrath <roland@hack.frob.com>
4668 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4669 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4671 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4672 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4674 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4675 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4677 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4678 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4680 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4681 if not already defined.
4682 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4683 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4684 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4685 (TLS_INIT_TP): Use it.
4686 (TLS_DEFINE_INIT_TP): New macro.
4687 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4689 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4691 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4693 [POSIX] (IXANY): Likewise.
4694 [POSIX] (OLCUC): Likewise.
4695 [POSIX || POSIX2008] (CBAUD): Do not allow.
4696 [POSIX || POSIX2008] (DEFECHO): Likewise.
4697 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4698 [POSIX || POSIX2008] (ECHOKE): Likewise.
4699 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4700 [POSIX || POSIX2008] (EXTA): Likewise.
4701 [POSIX || POSIX2008] (EXTB): Likewise.
4702 [POSIX || POSIX2008] (FLUSHO): Likewise.
4703 [POSIX || POSIX2008] (LOBLK): Likewise.
4704 [POSIX || POSIX2008] (PENDIN): Likewise.
4705 [POSIX || POSIX2008] (SWTCH): Likewise.
4706 [POSIX || POSIX2008] (VDISCARD): Likewise.
4707 [POSIX || POSIX2008] (VDSUSP): Likewise.
4708 [POSIX || POSIX2008] (VLNEXT): Likewise.
4709 [POSIX || POSIX2008] (VREPRINT): Likewise.
4710 [POSIX || POSIX2008] (VSTATUS): Likewise.
4711 [POSIX || POSIX2008] (VWERASE): Likewise.
4712 (B*): Change to B[0123456789]*.
4713 * conform/data/time.h-data [POSIX || UNIX98]
4714 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4715 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4716 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4717 [POSIX] (tm_*): Do not allow.
4719 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4721 * Makefile (install): Don't set LANGUAGE.
4722 * Makefile.in (install): Likewise.
4723 * assert/Makefile (test-assert-ENV): Remove variable.
4724 (test-assert-perr-ENV): Likewise.
4725 * elf/Makefile (neededtest4-ENV): Likewise.
4726 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4727 [$(cross-compiling) = no]: Don't set LANGUAGE.
4728 * io/ftwtest-sh (LANG): Remove variable.
4729 * libio/Makefile (tst-widetext-ENV): Likewise.
4730 * manual/install.texi (Running make install): Don't refer to
4731 environment settings for make install.
4732 * INSTALL: Regenerated.
4733 * nptl/tst-tls6.sh: Don't set LANG.
4734 * posix/globtest.sh (LANG): Remove variable.
4735 * string/Makefile (tester-ENV): Likewise.
4736 (inl-tester-ENV): Likewise.
4737 (noinl-tester-ENV): Likewise.
4738 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4739 [$(cross-compiling) = no]: Don't set LANGUAGE.
4740 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4741 without explicit environment settings.
4743 2014-06-06 Roland McGrath <roland@hack.frob.com>
4745 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4746 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4747 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4748 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4750 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4752 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4753 other files in the crypt directory.
4754 * crypt/crypt.c: Remove duplicate includes.
4755 * crypt/crypt-entry.c: Likewise.
4756 * crypt/crypt_util.c: Likewise.
4758 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4760 * Makeconfig (run-program-env): New variable.
4761 (run-program-prefix-before-env): Likewise.
4762 (run-program-prefix-after-env): Likewise.
4763 (run-program-prefix): Define in terms of new variables.
4764 (built-program-cmd-before-env): New variable.
4765 (built-program-cmd-after-env): Likewise.
4766 (built-program-cmd): Define in terms of new variables.
4767 (test-program-prefix-before-env): New variable.
4768 (test-program-prefix-after-env): Likewise.
4769 (test-program-prefix): Define in terms of new variables.
4770 (test-program-cmd-before-env): New variable.
4771 (test-program-cmd-after-env): Likewise.
4772 (test-program-cmd): Define in terms of new variables.
4773 * Rules (make-test-out): Use $(run-program-env).
4774 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4775 (help): Do not mention environment variables. Mention
4776 --timeoutfactor option.
4777 (timeoutfactor): New variable.
4778 (blacklist_exports): Remove function.
4779 (exports): Remove variable.
4780 (command): Do not include ${exports}.
4781 * manual/install.texi (Configuring and compiling): Do not mention
4782 test wrappers preserving environment variables. Mention that last
4783 assignment to a variable must take precedence.
4784 * INSTALL: Regenerated.
4785 * benchtests/Makefile (run-bench): Use $(run-program-env).
4786 * catgets/Makefile ($(objpfx)test1.cat): Use
4787 $(built-program-cmd-before-env), $(run-program-env) and
4788 $(built-program-cmd-after-env).
4789 ($(objpfx)test2.cat): Do not specify environment variables
4791 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4792 $(run-program-env) and $(built-program-cmd-after-env).
4793 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4794 $(run-program-env) and $(test-program-cmd-after-env).
4795 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4797 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4798 run_program_env and test_program_cmd_after_env arguments.
4799 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4800 * elf/tst-pathopt.sh: Use run_program_env argument.
4801 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4802 $(test-wrapper-env) and $(run-program-env).
4803 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4804 run_program_env arguments.
4805 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4806 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4807 $(test-program-prefix-before-env), $(run-program-env) and
4808 $(test-program-prefix-after-env).
4809 ($(objpfx)tst-gettext2.out): Likewise.
4810 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4811 run_program_env and test_program_prefix_after_env arguments.
4812 * intl/tst-gettext2.sh: Likewise.
4813 * intl/tst-gettext4.sh: Do not set environment variables
4815 * intl/tst-gettext6.sh: Likewise.
4816 * intl/tst-translit.sh: Likewise.
4817 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4818 $(test-program-prefix-before-env), $(run-program-env) and
4819 $(test-program-prefix-after-env).
4820 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4821 run_program_env and test_program_prefix_after_env arguments.
4822 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4823 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4824 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4825 explicitly with each use of ${test_wrapper_env}.
4826 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4827 $(test-program-prefix-before-env), $(run-program-env) and
4828 $(test-program-prefix-after-env).
4829 * posix/tst-getconf.sh: Do not set environment variables
4831 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4832 run_program_env and test_program_prefix_after_env arguments.
4833 * stdio-common/tst-printf.sh: Do not set environment variables
4835 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4836 $(test-program-prefix-before-env), $(run-program-env) and
4837 $(test-program-prefix-after-env).
4838 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4839 run_program_env and test_program_prefix_after_env arguments.
4840 Split $test calls into $test_pre and $test.
4841 * timezone/Makefile (build-testdata): Use
4842 $(built-program-cmd-before-env), $(run-program-env) and
4843 $(built-program-cmd-after-env).
4845 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4847 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4848 strlen for non SHARED builds.
4850 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4852 * nptl/allocatestack.c (check_list): Inlined function...
4853 (__reclaim_stacks): ... here.
4855 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4858 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4861 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4863 * Rules (make-test-out): Include
4864 LOCPATH=$(common-objpfx)localedata in default environment.
4865 * debug/Makefile (tst-chk1-ENV): Remove variable.
4866 (tst-chk2-ENV): Likewise.
4867 (tst-chk3-ENV): Likewise.
4868 (tst-chk4-ENV): Likewise.
4869 (tst-chk5-ENV): Likewise.
4870 (tst-chk6-ENV): Likewise.
4871 (tst-lfschk1-ENV): Likewise.
4872 (tst-lfschk2-ENV): Likewise.
4873 (tst-lfschk3-ENV): Likewise.
4874 (tst-lfschk4-ENV): Likewise.
4875 (tst-lfschk5-ENV): Likewise.
4876 (tst-lfschk6-ENV): Likewise.
4877 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4878 (tst-iconv7-ENV): Likewise.
4879 * intl/Makefile (LOCPATH-ENV): Likewise.
4880 (tst-codeset-ENV): Likewise.
4881 (tst-gettext3-ENV): Likewise.
4882 (tst-gettext5-ENV): Likewise.
4883 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4884 (tst-fopenloc-ENV): Likewise.
4885 (tst-fgetws-ENV): Remove variable.
4886 (tst-ungetwc1-ENV): Likewise.
4887 (tst-ungetwc2-ENV): Likewise.
4888 (bug-ungetwc2-ENV): Likewise.
4889 (tst-swscanf-ENV): Likewise.
4890 (bug-ftell-ENV): Likewise.
4891 (tst-fgetwc-ENV): Likewise.
4892 (tst-fseek-ENV): Likewise.
4893 (tst-ftell-partial-wide-ENV): Likewise.
4894 (tst-ftell-active-handler-ENV): Likewise.
4895 (tst-ftell-append-ENV): Likewise.
4896 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4897 (tst-regexloc-ENV): Likewise.
4898 (bug-regex1-ENV): Likewise.
4899 (tst-regex-ENV): Likewise.
4900 (tst-regex2-ENV): Likewise.
4901 (bug-regex5-ENV): Likewise.
4902 (bug-regex6-ENV): Likewise.
4903 (bug-regex17-ENV): Likewise.
4904 (bug-regex18-ENV): Likewise.
4905 (bug-regex19-ENV): Likewise.
4906 (bug-regex20-ENV): Likewise.
4907 (bug-regex22-ENV): Likewise.
4908 (bug-regex23-ENV): Likewise.
4909 (bug-regex25-ENV): Likewise.
4910 (bug-regex26-ENV): Likewise.
4911 (bug-regex30-ENV): Likewise.
4912 (bug-regex32-ENV): Likewise.
4913 (bug-regex33-ENV): Likewise.
4914 (bug-regex34-ENV): Likewise.
4915 (bug-regex35-ENV): Likewise.
4916 (tst-rxspencer-ENV): Likewise.
4917 (tst-rxspencer-no-utf8-ENV): Likewise.
4918 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4919 (tst-sscanf-ENV): Likewise.
4920 (tst-swprintf-ENV): Likewise.
4921 (tst-swscanf-ENV): Likewise.
4922 (test-vfprintf-ENV): Likewise.
4923 (scanf13-ENV): Likewise.
4924 (bug14-ENV): Likewise.
4925 (tst-grouping-ENV): Likewise.
4926 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4927 (tst-strtod3-ENV): Likewise.
4928 (tst-strtod4-ENV): Likewise.
4929 (tst-strtod5-ENV): Likewise.
4930 (testmb2-ENV): Likewise./
4931 * string/Makefile (tst-strxfrm-ENV): Likewise.
4932 (tst-strxfrm2-ENV): Likewise.
4933 (bug-strcoll1-ENV): Likewise.
4934 (test-strcasecmp-ENV): Likewise.
4935 (test-strncasecmp-ENV): Likewise.
4936 * time/Makefile (tst-strptime-ENV): Likewise.
4937 (tst-ftime_l-ENV): Likewise.
4938 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4939 (tst-mbrtowc-ENV): Likewise.
4940 (tst-wcrtomb-ENV): Likewise.
4941 (tst-mbrtowc2-ENV): Likewise.
4942 (tst-c16c32-1-ENV): Likewise.
4943 (tst-mbsnrtowcs-ENV): Likewise.
4945 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4947 * manual/resource.texi (How to get information about the memory
4948 subsystem?): Fix typo.
4949 Reported by Peon de la Parra Ivan <peon@keba.com>
4951 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4954 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4955 (pthread_spin_lock): Branch out of spin loop to proper location.
4956 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4957 (pthread_spin_lock): Likewise.
4959 * nptl/tst-spin4.c: New test.
4960 * nptl/Makefile (tests): Add tst-spin4.
4962 2014-06-03 Andreas Schwab <schwab@suse.de>
4965 * resolv/res_send.c (send_dg): Reload file descriptor after
4968 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4970 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4972 2014-06-03 Richard Henderson <rth@redhat.com>
4974 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4975 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4976 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4977 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4978 in the SAVE_PID block.
4979 (__libc_vfork): New alias.
4980 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4982 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4983 child in registers, not on the stack. Remove RESET_PID conditionals.
4984 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4986 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4988 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4990 2014-06-03 Wilco <wdijkstr@arm.com>
4992 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4993 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4994 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4995 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4996 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4999 2014-06-03 Wilco <wdijkstr@arm.com>
5001 * sysdeps/aarch64/fpu/math_private.h
5002 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5003 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5004 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5005 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5008 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5010 * crypt/crypt-private.h: Include ufc-crypt.h.
5011 (__b64_from_24bit): Declare extern.
5012 * crypt/crypt_util.c(__b64_from_24bit): New function.
5013 (b64t): New static const variable.
5014 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5015 (b64t): Remove variable.
5016 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5017 * crypt/sha256-crypt.c: Include crypt-private.h.
5018 (b64t): Remove variable.
5019 (__sha256_crypt_r): Remove b64_from_24bit and replace
5020 with __b64_from_24bit.
5021 * crypt/sha512-crypt.c: Likewise.
5023 2014-06-02 Roland McGrath <roland@hack.frob.com>
5025 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5026 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5027 Label the code __libc_vfork rather than __vfork.
5028 [!NOT_IN_libc] (vfork): Define as weak alias.
5029 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5030 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5031 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5033 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 * malloc/malloc.c (malloc_info): Fix format specifier for
5038 2014-06-02 Wilco <wdijkstr@arm.com>
5040 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5043 2014-06-02 Wilco <wdijkstr@arm.com>
5046 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5047 Rewrite to reduce FPCR/FPSR accesses.
5049 2014-06-01 David S. Miller <davem@davemloft.net>
5051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5053 2014-05-31 David S. Miller <davem@davemloft.net>
5055 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5056 to occur in round to nearest mode when |x| >= 2.0
5058 2014-05-30 Richard Henderson <rth@twiddle.net>
5060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5061 (PSEUDO_RET_NOERRNO): Remove.
5062 (ret): Don't redefine.
5063 (ret_NOERRNO): Define in terms of ret.
5064 (ret_ERRVAL): Likewise.
5066 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5067 use of PSEUDO_RET; perform the error check directly.
5069 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5071 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5074 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5076 * malloc/malloc (malloc_info): Fix formatting.
5078 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5079 Roland McGrath <roland@hack.frob.com>
5081 * malloc/malloc (malloc_info): Also print mmapped statistics.
5083 2014-05-30 Roland McGrath <roland@hack.frob.com>
5085 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5086 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5088 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5090 * malloc/malloc.c (malloc_info): Inline mi_arena.
5092 2014-05-29 Richard Henderson <rth@twiddle.net>
5094 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5095 Remove comma before expanding ASM_ARGS_##nr.
5096 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5097 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5099 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5100 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5101 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5102 (ASM_ARGS_1): Add leading comma.
5104 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5105 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5106 to __errno_location.
5107 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5108 Remove the expected plt for __errno_location.
5110 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5111 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5114 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5115 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5116 it and break it down.
5117 (DOCARGS_0, DOCARGS_1): Do nothing.
5118 (DOCARGS_2): Update to store into the new stack frame.
5119 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5120 (UNDOCARGS_1): Update to restore from the new stack frame.
5121 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5122 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5125 (SINGLE_THREAD_P): New parameter for result regno.
5126 (PSEUDO): Update to match; use cbz instead of beq.
5128 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5129 Use ENTRY to define the _nocancel entry point. Share the syscall
5130 and syscall error check paths with the cancel path.
5133 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5134 whitespace; tabs before and after asm mnemonics.
5136 2014-05-29 Eric Wong <normalperson@yhbt.net>
5139 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5140 Call fstat64 or stat64 internally, depending on arguments passed.
5141 Replace stat buffer argument with file descriptor argument.
5142 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5143 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5144 Pass fd to __internal_statvfs instead of calling fstat64.
5145 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5146 Pass fd to __internal_statvfs64 instead of calling fstat64.
5147 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5148 Pass -1 to __internal_statvfs instead of calling stat64.
5149 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5150 Pass -1 to __internal_statvfs64 instead of calling stat64.
5152 2014-05-28 Roland McGrath <roland@hack.frob.com>
5154 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5155 that was previously under [RESET_PID].
5156 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5158 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5159 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5161 2014-05-27 Roland McGrath <roland@hack.frob.com>
5163 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5165 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5166 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5168 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5170 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5172 2014-05-27 Andreas Schwab <schwab@suse.de>
5174 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5176 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5177 * elf/rtld.c (init_tls, dl_main): Likewise.
5178 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5179 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5180 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5181 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5182 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5183 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5184 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5185 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5186 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5187 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5188 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5189 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5190 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5191 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5192 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5193 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5194 * sysdeps/generic/tls.h: Update description.
5196 2014-05-27 Will Newton <will.newton@linaro.org>
5199 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5200 and restore r2 rather than just restoring.
5202 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5205 * libio/tst-ftell-append.c: New test case.
5206 * libio/Makefile (tests): Add test case.
5207 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5209 * libio/wfileops.c (do_ftell_wide): Likewise.
5211 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5215 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5219 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5220 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5221 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5222 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5223 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5224 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5228 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5232 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5233 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5234 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5235 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5237 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5238 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5240 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5242 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5244 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5245 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5246 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5249 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5251 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5274 conditional [RESET_PID].
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5283 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5284 (__libc_vfork): New strong alias.
5285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5292 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5293 (__libc_vfork): New strong alias.
5294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5299 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5301 * malloc/malloc.c (mi_arena): New function.
5302 (malloc_info): Remove nested function mi_arena. Call non-nosted
5305 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5307 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5309 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5310 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5311 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5312 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5313 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5314 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5315 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5317 2014-05-26 Andreas Schwab <schwab@suse.de>
5320 * locale/programs/repertoire.c (repertoire_read): Add slash
5321 between I18NPATH element and file name.
5322 * locale/programs/locfile.c (locfile_read): Likewise.
5324 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5326 * nptl/pthread_mutexattr_settype.c
5327 (__pthread_mutexattr_settype):
5328 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5330 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5332 * nptl/tst-mutex5 (do_test):
5333 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5335 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5337 * benchtests/README: Document 'init' directive.
5338 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5340 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5341 (parse_file): Recognize 'init' directive.
5343 2014-05-26 Kyle McMartin <kyle@redhat.com>
5346 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5347 alignment of struct pthread.
5349 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5352 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5353 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5354 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5355 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5357 2014-05-25 Richard Henderson <rth@twiddle.net>
5359 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5360 (SINGLE_THREAD_P_PIC): Remove.
5361 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5362 (SINGLE_THREAD_P_PIC): Remove.
5364 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5365 branch to syscall error ...
5367 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5368 from __local_syscall_error to .Lsyscall_error.
5369 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5370 (SYSCALL_ERROR): Update label name.
5372 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5373 Do not use DOARGS/UNDOARGS.
5374 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5375 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5376 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5377 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5378 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5383 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5384 define if !NOT_IN_libc.
5385 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5386 define with non-default symbol versions.
5388 2014-05-23 Richard Henderson <rth@twiddle.net>
5390 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5391 (vfork, __vfork): Define via compat_symbol.
5393 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5394 [!HAVE_IFUNC] (vfork_compat): Remove.
5395 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5397 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5400 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5401 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5404 2014-05-23 Richard Henderson <rth@twiddle.net>
5406 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5407 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5408 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5409 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5411 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5412 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5413 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5414 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5415 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5416 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5417 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5418 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5419 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5420 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5421 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5422 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5423 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5424 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5425 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5426 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5428 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5429 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5430 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5432 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5433 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5434 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5435 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5436 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5437 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5438 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5439 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5440 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5441 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5442 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5443 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5444 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5445 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5450 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5451 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5452 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5453 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5454 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5455 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5456 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5457 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5458 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5459 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5460 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5461 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5462 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5464 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5466 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5468 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5469 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5470 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5471 before exiting on error.
5472 (__libc_vfork): New strong alias.
5473 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5474 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5476 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5477 that was previously under [RESET_PID].
5478 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5480 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5482 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5485 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5486 value when x - 1 is zero.
5487 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5488 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5489 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5490 0.0L for an argument of 1.0L.
5491 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5493 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5494 value when x - 1 is zero.
5495 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5496 * sysdeps/i386/fpu/libm-test-ulps: Update.
5497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5499 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5501 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5502 alphasort and versionsort.
5504 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5506 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5508 [copysignf]: Likewise.
5510 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5512 * crypt/md5-crypt.c: Fix formatting.
5514 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5516 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5517 (b64_from_24bit): New function.
5519 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5522 libc_hidden_builtin_def to ifunc.
5523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5524 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5526 2014-05-21 Roland McGrath <roland@hack.frob.com>
5528 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5529 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5531 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5533 * nscd/Depend (linuxthreads): Remove.
5535 * resolv/Depend (linuxthreads): Remove.
5536 * rt/Depend (linuxthreads): Remove.
5538 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5539 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5540 $(common-objpfx)elf/.
5541 (link-libc-before-gnulib): Likewise.
5542 (elfobjdir): Remove variable.
5543 * Makefile (install): Use $(elf-objpfx) instead of
5544 $(common-objpfx)elf/.
5545 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5547 (link-libc-deps): Likewise.
5548 ($(common-objpfx)libc.so): Likewise.
5549 ($(common-objpfx)linkobj/libc.so): Likewise.
5550 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5551 instead of $(common-objpfx)elf/.
5552 (symbolic-link-list): Likewise.
5553 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5554 [$(cross-compiling) = no]: Likewise.
5555 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5557 (static-gnulib-arch): Likewise.
5558 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5559 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5560 $(common-objpfx)elf/.
5562 2014-05-21 Richard Henderson <rth@redhat.com>
5564 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5565 (SINGLE_THREAD_P): Use the correct width load. Fold
5566 into the ldr offset.
5568 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5569 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5571 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5573 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5574 (libgcc_s_resume): Use __attribute_used__.
5575 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5578 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5580 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5581 optimization when used with float constants.
5583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5585 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5588 * locale/nl_langinfo_l.c: Make direct reference to every
5589 _nl_current_CATEGORY symbol.
5590 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5591 (tests-static): Add tst-langinfo-static.
5592 (tests-special): Add tst-langinfo-static.out.
5593 ($(objpfx)tst-langinfo.out): Redirect output.
5594 ($(objpfx)tst-langinfo-static.out): New.
5595 * localedata/tst-langinfo.sh: Send output to stdout.
5596 * localedata/tst-langinfo-static.c: New file.
5599 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5600 when the shift amount is modulo the limb size.
5602 2014-05-20 Richard Henderson <rth@redhat.com>
5605 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5606 Change type of sa_flags from unsigned int to int.
5609 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5611 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5613 2014-05-20 Will Newton <will.newton@linaro.org>
5615 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5616 Test the return value of the system call in the nocancel case.
5618 2014-05-20 Will Newton <will.newton@linaro.org>
5619 Yvan Roux <yvan.roux@linaro.org>
5621 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5622 #include of asm/ptrace.h.
5623 (PTRACE_GET_THREAD_AREA): Remove #undef.
5624 (PTRACE_GETHBPREGS): Likewise.
5625 (PTRACE_SETHBPREGS): Likewise.
5626 (struct user_regs_struct): New structure.
5627 (struct user_fpsimd_struct): New structure.
5628 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5629 #include of asm/ptrace.h and second #include of sys/user.h.
5630 (PTRACE_GET_THREAD_AREA): Remove #undef.
5631 (PTRACE_GETHBPREGS): Likewise.
5632 (PTRACE_SETHBPREGS): Likewise.
5633 (ELF_NGREG): Use new struct user_regs_struct.
5634 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5636 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5638 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5639 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5641 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5644 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5645 membar to avoid block loads/stores to overlap previous stores.
5647 2014-05-17 Richard Henderson <rth@redhat.com>
5649 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5650 Create the __##syscall_name##_nocancel entry point.
5651 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5652 Remove; let the sysdep-cancel.h code create it.
5654 2014-05-17 David S. Miller <davem@davemloft.net>
5656 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5657 Protect with __USE_GNU.
5658 (TIOCSET_TEMPT): Likewise.
5659 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5660 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5661 these are already provided in bits/ioctl-types.h
5663 2014-05-16 Roland McGrath <roland@hack.frob.com>
5665 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5666 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5668 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5669 Use wait4 regardless of [__NR_waitpid].
5671 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5674 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5675 (_FP_NANSIGN_Q): Set the quiet bit.
5677 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5679 * benchtests/Makefile
5680 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5681 not $(common-objpfx)math/libm.so.
5682 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5683 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5684 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5685 $(common-objpfx)dlfcn/libdl.so.
5686 ($(objpfx)tst-audit8): Depend on $(libm), not
5687 $(common-objpfx)math/libm.so.
5688 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5689 not $(common-objpfx)dlfcn/libdl.so.
5691 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5692 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5693 [$(build-shared) = yes].
5694 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5695 $(common-objpfx)nptl/libpthread.so.
5696 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5697 $(common-objpfx)math/libm.so$(libm.so-version) or
5698 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5699 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5700 $(common-objpfx)dlfcn/libdl.so.
5701 * setjmp/Makefile (link-libm): Remove variable.
5702 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5703 * stdio-common/Makefile (link-libm): Remove variable.
5704 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5705 * stdlib/Makefile (link-libm): Remove variable.
5706 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5707 ($(objpfx)tst-strtod-round): Likewise.
5708 ($(objpfx)tst-tininess): Likewise.
5709 ($(objpfx)tst-strtod-underflow): Likewise.
5710 ($(objpfx)tst-strtod6): Likewise.
5711 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5712 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5713 $(common-objpfx)dlfcn/libdl.so.
5715 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5717 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5718 BSD terminal modes definitions.
5720 2014-05-16 Roland McGrath <roland@hack.frob.com>
5722 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5723 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5725 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5726 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5727 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5728 Don't do #include_next.
5729 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5730 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5731 Don't do #include_next.
5732 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5733 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5734 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5735 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5737 2014-05-16 Allan McRae <allan@archlinux.org>
5739 * po/sv.po: Update Swedish translation from translation project.
5741 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5744 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5747 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5748 errno if the TIOCGPTN ioctl fails with an error different than
5750 * login/tst-ptsname.c: New file.
5751 * login/Makefile (tests): Add tst-ptsname.
5754 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5757 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5761 herrno to return EAI_AGAIN.
5763 2014-05-14 Roland McGrath <roland@hack.frob.com>
5765 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5766 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5767 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5768 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5769 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5770 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5774 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5776 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5777 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5786 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5790 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5792 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5794 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5796 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5801 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5803 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5805 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5807 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5809 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5811 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5813 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5815 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5817 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5819 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5821 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5825 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5827 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5830 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5832 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5836 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5851 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5853 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5855 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5856 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5857 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5858 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5859 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5860 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5861 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5862 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5863 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5864 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5865 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5866 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5867 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5868 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5869 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5870 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5871 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5872 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5873 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5874 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5875 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5876 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5877 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5878 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5879 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5880 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5881 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5882 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5883 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5884 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5885 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5887 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5888 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5890 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5891 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5892 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5893 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5894 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5895 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5897 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5898 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5900 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5901 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5903 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5907 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5908 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5909 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5911 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5913 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5915 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5916 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5917 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5920 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5921 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5923 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5925 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5926 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5928 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5931 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5933 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5935 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5936 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5937 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5938 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5939 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5942 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5945 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5946 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5948 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5952 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5953 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5956 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5958 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5959 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5960 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5961 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5962 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5965 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5966 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5968 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5970 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5971 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5972 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5973 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5974 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5976 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5978 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5980 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5981 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5982 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5983 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5984 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5986 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5987 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5988 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5991 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5994 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5995 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5997 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5998 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6000 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6001 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6002 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6003 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6004 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6005 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6007 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6009 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6011 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6013 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6016 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6017 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6019 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6021 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6022 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6023 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6024 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6025 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6027 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6029 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6031 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6032 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6033 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6034 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6035 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6036 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6037 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6038 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6039 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6040 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6041 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6043 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6044 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6046 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6047 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6049 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6050 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6051 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6052 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6053 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6054 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6055 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6056 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6057 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6058 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6059 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6060 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6062 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6063 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6065 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6068 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6070 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6073 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6075 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6077 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6079 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6082 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6085 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6087 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6090 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6091 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6092 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6093 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6094 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6095 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6096 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6097 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6098 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6099 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6100 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6101 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6103 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6104 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6105 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6106 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6107 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6109 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6110 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6111 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6112 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6113 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6114 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6115 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6116 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6117 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6118 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6123 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6124 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6125 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6126 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6127 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6128 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6129 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6130 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6131 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6132 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6133 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6134 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6135 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6136 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6157 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6158 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6159 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6160 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6161 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6162 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6163 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6164 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6165 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6166 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6167 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6168 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6169 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6170 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6171 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6173 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6174 that was previously under [RESET_PID].
6175 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6176 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6177 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6179 * sysdeps/i386/nptl/Implies: New file.
6180 * sysdeps/x86_64/nptl/Implies: New file.
6181 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6182 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6183 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6184 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6186 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6187 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6188 (__libc_vfork): New strong alias.
6189 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6190 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6192 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6193 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6194 (__libc_vfork): New strong alias.
6195 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6196 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6198 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6199 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6200 (__libc_vfork): New strong alias.
6201 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6202 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6203 * nptl/pt-vfork.c: New file.
6204 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6205 (libpthread: GLIBC_2.20): New version set (empty).
6207 2014-05-14 Will Newton <will.newton@linaro.org>
6209 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6212 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6215 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6216 arguments with exponent 65 or above.
6217 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6218 arguments 0x1p113L or above.
6219 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6220 to arguments 0x1p107L or above.
6221 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6222 positive arguments with exponent 65 or above.
6223 * math/auto-libm-test-in: Add more tests of log1p.
6224 * math/auto-libm-test-out: Regenerated.
6227 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6228 non-finite arguments is +0.
6229 * math/s_cacosf.c (__cacosf): Likewise.
6230 * math/s_cacosl.c (__cacosl): Likewise.
6231 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6232 * sysdeps/i386/fpu/libm-test-ulps: Update.
6233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6238 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6239 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6240 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6241 for explicit high bit of mantissa when testing for argument equal
6243 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6244 * sysdeps/i386/fpu/libm-test-ulps: Update.
6245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6248 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6249 (__erf): Scale by 16 instead of 8 in potentially underflowing
6250 case. Ensure exception if result actually underflows.
6251 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6252 (__erff): Scale by 16 instead of 8 in potentially underflowing
6253 case. Ensure exception if result actually underflows.
6254 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6255 (efx8): Remove variable.
6256 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6257 case. Ensure exception if result actually underflows.
6258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6259 (efx8): Remove variable.
6260 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6261 case. Ensure exception if result actually underflows.
6262 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6263 (efx8): Remove variable.
6264 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6265 case. Ensure exception if result actually underflows.
6266 * math/auto-libm-test-in: Add more tests of erf.
6267 * math/auto-libm-test-out: Regenerated.
6269 2014-05-14 Andreas Schwab <schwab@suse.de>
6271 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6272 Remove code conditionalized on USE___THREAD.
6274 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6275 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6278 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6280 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6281 Define unconditionally.
6282 (__ASSUME_O_CLOEXEC): Likewise.
6283 (__ASSUME_SOCK_CLOEXEC): Likewise.
6284 (__ASSUME_IN_NONBLOCK): Likewise.
6285 (__ASSUME_PIPE2): Likewise.
6286 (__ASSUME_EVENTFD2): Likewise.
6287 (__ASSUME_SIGNALFD4): Likewise.
6288 (__ASSUME_DUP3): Likewise.
6289 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6290 (__ASSUME_DUP3): Do not define.
6291 (__ASSUME_EVENTFD2): Likewise.
6292 (__ASSUME_IN_NONBLOCK): Likewise.
6293 (__ASSUME_O_CLOEXEC): Likewise.
6294 (__ASSUME_PIPE2): Likewise.
6295 (__ASSUME_SIGNALFD4): Likewise.
6296 (__ASSUME_SOCK_CLOEXEC): Likewise.
6297 (__ASSUME_UTIMES): Undefine.
6298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6299 (__ASSUME_UTIMES): Do not define.
6300 (__ASSUME_O_CLOEXEC): Likewise.
6301 (__ASSUME_SOCK_CLOEXEC): Likewise.
6302 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6303 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6305 (__ASSUME_PIPE2): Likewise.
6306 (__ASSUME_EVENTFD2): Likewise.
6307 (__ASSUME_SIGNALFD4): Likewise.
6308 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6309 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6311 (__ASSUME_EVENTFD2): Likewise.
6312 (__ASSUME_SIGNALFD4): Likewise.
6313 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6314 (__ASSUME_32BITUIDS): Likewise.
6315 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6316 (__ASSUME_IPC64): Likewise.
6317 (__ASSUME_ST_INO_64_BIT): Likewise.
6318 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6319 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6320 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6321 (__ASSUME_UTIMES): Do not define.
6322 (__ASSUME_PSELECT): Likewise.
6323 (__ASSUME_PPOLL): Likewise.
6324 (__ASSUME_O_CLOEXEC): Likewise.
6325 (__ASSUME_SOCK_CLOEXEC): Likewise.
6326 (__ASSUME_IN_NONBLOCK): Likewise.
6327 (__ASSUME_PIPE2): Likewise.
6328 (__ASSUME_EVENTFD2): Likewise.
6329 (__ASSUME_SIGNALFD4): Likewise.
6330 (__ASSUME_DUP3): Likewise.
6331 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6332 (__ASSUME_UTIMES): Likewise.
6333 (__ASSUME_O_CLOEXEC): Likewise.
6334 (__ASSUME_SOCK_CLOEXEC): Likewise.
6335 (__ASSUME_IN_NONBLOCK): Likewise.
6336 (__ASSUME_PIPE2): Likewise.
6337 (__ASSUME_EVENTFD2): Likewise.
6338 (__ASSUME_SIGNALFD4): Likewise.
6339 (__ASSUME_DUP3): Likewise.
6340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6341 (__ASSUME_UTIMES): Likewise.
6342 (__ASSUME_O_CLOEXEC): Likewise.
6343 (__ASSUME_SOCK_CLOEXEC): Likewise.
6344 (__ASSUME_IN_NONBLOCK): Likewise.
6345 (__ASSUME_PIPE2): Likewise.
6346 (__ASSUME_EVENTFD2): Likewise.
6347 (__ASSUME_SIGNALFD4): Likewise.
6348 (__ASSUME_DUP3): Likewise.
6349 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6351 (__ASSUME_UTIMES): Likewise.
6352 (__ASSUME_EVENTFD2): Likewise.
6353 (__ASSUME_SIGNALFD4): Likewise.
6354 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6355 (__ASSUME_O_CLOEXEC): Likewise.
6356 (__ASSUME_SOCK_CLOEXEC): Likewise.
6357 (__ASSUME_IN_NONBLOCK): Likewise.
6358 (__ASSUME_PIPE2): Likewise.
6359 (__ASSUME_EVENTFD2): Likewise.
6360 (__ASSUME_SIGNALFD4): Likewise.
6361 (__ASSUME_DUP3): Likewise.
6362 (__ASSUME_UTIMES): Undefine.
6364 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6365 feclearexcept. Remove symbol versioning code.
6366 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6367 symbol versioning code.
6368 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6369 symbol versioning code.
6370 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6371 feupdateenv. Remove symbol versioning code.
6372 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6373 fegetexceptflag. Remove symbol versioning code.
6374 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6375 fesetexceptflag. Remove symbol versioning code.
6376 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6377 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6378 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6379 (__posix_fadvise64_l32): Remove prototype.
6380 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6383 2014-05-13 Roland McGrath <roland@hack.frob.com>
6385 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6386 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6387 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6388 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6390 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6392 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6393 current working directory
6395 2014-05-13 Roland McGrath <roland@hack.frob.com>
6397 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6398 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6399 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6400 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6401 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6402 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6403 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6404 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6405 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6406 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6407 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6408 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6409 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6410 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6411 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6412 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6413 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6414 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6415 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6416 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6417 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6418 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6419 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6420 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6421 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6422 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6423 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6424 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6425 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6426 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6427 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6428 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6429 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6430 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6431 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6432 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6433 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6434 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6435 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6436 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6437 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6438 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6440 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6441 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6443 * sysdeps/unix/sysv/linux/arm/Makefile
6444 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6445 Add rt-aeabi_unwind_cpp_pr1.
6446 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6447 Add nptl-aeabi_unwind_cpp_pr1.
6448 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6449 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6450 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6451 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6452 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6453 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6455 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6456 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6457 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6458 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6460 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6461 Deconditionalize the code that was previously under [RESET_PID].
6462 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6464 * sysdeps/generic/exit-thread.h: New file.
6465 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6466 * include/unistd.h (__exit_thread): Remove declaration.
6467 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6468 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6469 * csu/libc-start.c: Include <exit-thread.h>.
6470 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6471 * nptl/pthread_create.c: Include <exit-thread.h>.
6472 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6473 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6474 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6475 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6476 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6477 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6478 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6479 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6480 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6481 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6482 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6483 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6484 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6485 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6486 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6487 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6488 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6490 2014-05-13 Andreas Schwab <schwab@suse.de>
6492 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6494 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6496 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6497 (__ASSUME_UTIMES): Do not condition on kernel version.
6498 (__ASSUME_PSELECT): Define unconditionally.
6499 (__ASSUME_PPOLL): Likewise.
6500 (__ASSUME_ATFCTS): Likewise.
6501 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6502 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6503 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6504 (__ASSUME_UTIMENSAT): Define unconditionally.
6505 (__ASSUME_PRIVATE_FUTEX): Likewise.
6506 (__ASSUME_FALLOCATE): Likewise.
6507 (__ASSUME_O_CLOEXEC): Likewise.
6508 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6509 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6510 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6511 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6512 (__ASSUME_IN_NONBLOCK): Likewise.
6513 (__ASSUME_PIPE2): Likewise.
6514 (__ASSUME_EVENTFD2): Likewise.
6515 (__ASSUME_SIGNALFD4): Likewise.
6516 (__ASSUME_DUP3): Likewise.
6517 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6518 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6519 (__ASSUME_AT_RANDOM): Likewise.
6520 (__ASSUME_PREADV): Likewise.
6521 (__ASSUME_PWRITEV): Likewise.
6522 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6523 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6524 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6525 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6526 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6527 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6528 (__ASSUME_O_CLOEXEC): Define unconditionally.
6529 (__ASSUME_PSELECT): Do not undefine conditionally.
6530 (__ASSUME_PPOLL): Likewise.
6531 (__ASSUME_ATFCTS): Likewise.
6532 (__ASSUME_SET_ROBUST_LIST): Likewise.
6533 (__ASSUME_UTIMENSAT): Likewise.
6534 (__ASSUME_FDATASYNC): Define unconditionally.
6535 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6536 (__ASSUME_SIGFRAME_V2): Likewise.
6537 )__ASSUME_EVENTFD2): Likewise.
6538 (__ASSUME_SIGNALFD4): Likewise.
6539 (__ASSUME_PSELECT): Do not undefine conditionally.
6540 (__ASSUME_PPOLL): Likewise.
6541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6542 (__ASSUME_PSELECT): Define unconditionally.
6543 (__ASSUME_PPOLL): Likewise.
6544 (__ASSUME_O_CLOEXEC): Likewise.
6545 (__ASSUME_SOCK_CLOEXEC): Likewise.
6546 (__ASSUME_IN_NONBLOCK): Likewise.
6547 (__ASSUME_PIPE2): Likewise.
6548 (__ASSUME_EVENTFD2): Likewise.
6549 (__ASSUME_SIGNALFD4): Likewise.
6550 (__ASSUME_DUP3): Likewise.
6551 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6552 (__ASSUME_O_CLOEXEC): Likewise.
6553 (__ASSUME_SOCK_CLOEXEC): Likewise.
6554 (__ASSUME_IN_NONBLOCK): Likewise.
6555 (__ASSUME_PIPE2): Likewise.
6556 (__ASSUME_EVENTFD2): Likewise.
6557 (__ASSUME_SIGNALFD4): Likewise.
6558 (__ASSUME_DUP3): Likewise.
6559 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6560 (__ASSUME_EVENTFD2): Likewise.
6561 (__ASSUME_SIGNALFD4): Likewise.
6562 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6564 2014-05-12 Andreas Schwab <schwab@suse.de>
6567 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6568 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6569 than maximum RPC packet size.
6570 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6571 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6572 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6573 (_nss_nis_getservbyport_r): Likewise.
6575 2014-05-12 Will Newton <will.newton@linaro.org>
6577 * malloc/Makefile (tests): Add tst-mallopt.
6578 * malloc/tst-mallopt.c: New file.
6580 2014-05-09 Roland McGrath <roland@hack.frob.com>
6582 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6583 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6585 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6587 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6588 (tst-tlsmod6.so): Likewise.
6590 2014-05-09 Roland McGrath <roland@hack.frob.com>
6592 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6594 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6598 and <dl-procinfo.h>.
6599 (__fegetenv): Save SSE state in envp->__eip if supported.
6600 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6601 envp->__eip if supported.
6602 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6603 and <dl-procinfo.h>.
6604 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6605 __data_offset and __data_selector in environment to 0. Set SSE
6607 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6609 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6611 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6613 2014-05-09 Will Newton <will.newton@linaro.org>
6615 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6616 and libc_relro_required for ARM.
6617 * sysdeps/arm/preconfigure: Regenerate.
6619 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6620 Stefan Liebler <stli@linux.vnet.ibm.com>
6622 * config.make.in (enable-lock-elision): New Makefile variable.
6623 * configure.ac: Likewise.
6624 * configure: Regenerate.
6625 * sysdeps/s390/configure.ac:
6626 Add check for gcc transactions support.
6627 * sysdeps/s390/configure: Regenerate.
6628 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6629 Build elision files if enabled.
6630 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6631 Add lock elision support for s390.
6632 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6633 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6634 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6635 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6636 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6637 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6638 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6640 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6642 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6644 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6646 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6647 (__lll_timedlock_elision, __lll_lock_elision)
6648 (__lll_unlock_elision, __lll_trylock_elision)
6649 (lll_timedlock_elision, lll_lock_elision)
6650 (lll_unlock_elision, lll_trylock_elision): Add.
6651 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6652 (pthread_mutex_t): Add lock elision support for s390.
6654 2014-05-14 Wilco <wdijkstr@arm.com>
6656 * sysdeps/arm/fclrexcpt.c: Cleanup.
6657 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6658 * sysdeps/arm/feenablxcpt.c: Cleanup.
6659 * sysdeps/arm/fegetenv.c: Cleanup.
6660 * sysdeps/arm/fegetexcept.c: Cleanup.
6661 * sysdeps/arm/fegetround.c: Cleanup.
6662 * sysdeps/arm/feholdexcpt.c: Cleanup.
6663 * sysdeps/arm/fesetenv.c: Cleanup.
6664 * sysdeps/arm/fesetround.c: Cleanup.
6665 * sysdeps/arm/feupdateenv.c: Cleanup.
6666 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6667 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6668 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6669 * sysdeps/arm/ftestexcept.c: Cleanup.
6670 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6671 * sysdeps/arm/setfpucw.c: Cleanup.
6673 2014-05-09 Will Newton <will.newton@linaro.org>
6675 * sysdeps/arm/armv7/strcmp.S: New file.
6676 * NEWS: Mention addition of ARMv7 optimized strcmp.
6678 2014-05-08 Roland McGrath <roland@hack.frob.com>
6680 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6681 look for %.ac rather than %.in.
6683 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6684 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6685 * sysdeps/mach/hurd/configure: Regenerated.
6686 * sysdeps/unix/sysv/linux/configure: Regenerated.
6688 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6690 2014-05-07 Steve Ellcey <sellcey@mips.com>
6693 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6697 2014-05-07 Andreas Schwab <schwab@suse.de>
6699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6700 when skipping over non-matching result from nscd.
6702 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6705 * nptl/sockperf.c (client): Check socket return value.
6708 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6709 nscd security class.
6711 2014-05-06 Roland McGrath <roland@hack.frob.com>
6713 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6714 * sysdeps/arm/unwind.h: ... here.
6716 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6719 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6722 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6724 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6725 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6726 multiarch strncpy for PPC64.
6727 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6728 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6730 multiarch optimizations.
6731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6732 (__libc_ifunc_impl_list): Likewise.
6733 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6734 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6735 multiarch stpncpy for PPC64.
6736 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6737 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6739 2014-05-06 Andreas Schwab <schwab@suse.de>
6742 * gmon/mcount.c (_MCOUNT_DECL): Use
6743 atomic_compare_and_exchange_bool_acq instead of
6744 catomic_compare_and_exchange_bool_acq.
6746 2014-05-05 Roland McGrath <roland@hack.frob.com>
6748 * elf/Makefile (others, install-bin): Remove pldd.
6749 (pldd-modules): Variable removed.
6750 ($(objpfx)pldd): Target removed.
6751 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6752 (others, install-bin): Append pldd here.
6753 ($(objpfx)pldd): New target.
6755 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6756 to 0, so the first #if test emitted later doesn't see it undefined.
6757 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6758 * sysdeps/gnu/errlist.c: Regenerated.
6760 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6763 [libc_hidden_builtin_def]: Define to empty value.
6764 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6765 [libc_hidden_builtin_def]: Likewise.
6766 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6767 [libc_hidden_builtin_def]: Likewise.
6768 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6769 [libc_hidden_builtin_def]: Likewise.
6770 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6771 __redirect_memcpy and define ifunc as default hidden symbol.
6772 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6773 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6775 2014-05-04 Adam Conrad <adconrad@0c3.net>
6777 * locale/iso-4217.def: Reintroduce XDR currency.
6779 2014-05-04 Allan McRae <allan@archlinux.org>
6781 * po/eo.po: Update Esperanto translation from translation project.
6783 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6785 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6786 and FEATURE_INDEX_MAX to 1.
6787 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6789 2014-05-01 Steve Ellcey <sellcey@mips.com>
6791 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6792 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6793 * iconvdata/big5.c (ONE_DIRECTION): Define.
6794 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6795 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6796 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6797 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6798 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6799 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6800 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6801 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6802 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6803 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6804 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6805 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6806 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6807 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6808 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6809 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6810 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6811 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6812 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6813 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6814 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6815 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6816 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6817 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6818 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6819 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6820 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6821 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6822 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6823 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6824 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6825 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6826 * iconvdata/johab.c (ONE_DIRECTION): Define.
6827 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6828 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6829 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6830 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6831 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6832 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6833 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6834 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6835 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6836 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6838 2014-05-01 Roland McGrath <roland@hack.frob.com>
6840 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6841 (_IO_JUMPS_OFFSET): Define to 0.
6843 * nptl/sysdeps/pthread/bits/libc-lock.h
6844 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6845 (__libc_lock_define_initialized_recursive): Always define using
6846 initializer. Modern compilers treat uninitialized (implicit zero) and
6847 explicit zero initializers the same (i.e. put the datum in bss).
6849 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6851 * nscd/nscd-client.h: Include <string.h>.
6853 2014-05-01 David S. Miller <davem@davemloft.net>
6856 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6857 multiple zero bytes exist at the end of a string.
6858 Reported by Aurelien Jarno <aurelien@aurel32.net>
6860 * string/test-strcmp.c (check): Add explicit test for situations where
6861 there are multiple zero bytes after the first.
6863 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6866 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6867 when compiling wprintf.
6868 * stdio-common/tstdiomisc.c (t3): New function.
6871 2014-05-01 Steve Ellcey <sellcey@mips.com>
6873 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6874 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6875 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6876 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6878 2014-05-01 Steve Ellcey <sellcey@mips.com>
6880 * stdlib/longlong.h: Updated from GCC.
6882 2014-05-01 Will Newton <will.newton@linaro.org>
6883 Bernard Ogden <bernie.ogden@linaro.org>
6885 * NEWS: Update fixed bug list.
6888 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6890 2014-04-30 David S. Miller <davem@davemloft.net>
6892 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6893 (libc_feholdexcept_setround_sparc_ctx): New function.
6894 (libc_fesetenv_sparc_ctx): Likewise.
6895 (libc_feupdateenv_sparc_ctx): Likewise.
6896 (libc_feholdsetround_sparc_ctx): Likewise.
6897 (libc_feholdexcept_setround_ctx): Define.
6898 (libc_feholdexcept_setroundf_ctx): Likewise.
6899 (libc_feholdexcept_setroundl_ctx): Likewise.
6900 (libc_fesetenv_ctx): Likewise.
6901 (libc_fesetenvf_ctx): Likewise.
6902 (libc_fesetenvl_ctx): Likewise.
6903 (libc_feupdateenv_ctx): Likewise.
6904 (libc_feupdateenvf_ctx): Likewise.
6905 (libc_feupdateenvl_ctx): Likewise.
6906 (libc_feresetround_ctx): Likewise.
6907 (libc_feresetroundf_ctx): Likewise.
6908 (libc_feresetroundl_ctx): Likewise.
6909 (libc_feholdsetround_ctx): Likewise.
6910 (libc_feholdsetroundf_ctx): Likewise.
6911 (libc_feholdsetroundl_ctx): Likewise.
6913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6914 with __USE_GNU instead of XOPEN cpp guards.
6916 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6919 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6920 with XOPEN cpp guards.
6922 2014-04-30 Julian Brown <julian@codesourcery.com>
6925 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6928 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6933 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6934 * sysdeps/unix/sysv/linux/configure: Regenerated.
6935 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6936 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6937 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6938 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6939 * README: Update reference to required Linux kernel version.
6940 * manual/install.texi (Linux): Update reference to required Linux
6941 kernel headers version.
6942 * INSTALL: Regenerated.
6944 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6946 [POSIX] (limits.h): Likewise.
6947 [POSIX] (math.h): Likewise.
6948 [POSIX] (sys/wait.h): Likewise.
6949 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6951 [POSIX] (stddef.h): Do not allow header inclusion.
6953 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6955 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6957 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6959 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6960 Return immediately after lll_futex_wake.
6962 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6965 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6967 (datahead_init_pos): Call datahead_init_common early.
6968 (datahead_init_neg): Likewise.
6970 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6971 datahead_init_neg): New functions.
6972 * nscd/aicache.c (addhstaiX): Use them.
6973 * nscd/grpcache.c (cache_addgr): Likewise.
6974 * nscd/hstcache.c (cache_addhst): Likewise.
6975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6976 * nscd/netgroupcache.c (do_notfound): Likewise.
6977 (addgetnetgrentX): Likewise.
6978 (addinnetgrX): Likewise.
6979 * nscd/pwdcache.c (cache_addpw): Likewise.
6980 * nscd/servicescache.c (cache_addserv): Likewise.
6982 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6983 Atsushi Onoe <atsushi@onoe.org>
6988 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6989 one response is valid.
6990 * resolv/res_send.c (send_dg): Check for validity of other
6991 response if the current response is a referral.
6993 2014-04-29 Steve Ellcey <sellcey@mips.com>
6995 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6997 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7000 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7001 Always divide by positive zero when computing -Inf result.
7002 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7003 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7005 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7007 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7008 FPSCR if value do not change.
7009 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7010 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7011 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7012 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7013 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7014 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7017 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7019 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7020 * sysdeps/unix/sysv/linux/hppa: Move directory from
7021 ports/systeps/unix/sysv/linux/hppa.
7022 * README: Update listing for hppa-*-linux-gnu.
7024 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7027 * manual/stdio.texi (Hook functions): Fix types of stream hook
7030 * socket/sys/socket.h: Fix typo in comment.
7032 2014-04-28 Wilco <wdijkstr@arm.com>
7034 * sysdeps/arm/fenv_private.h: New file.
7035 * sysdeps/arm/math_private.h: New file.
7036 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7038 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7040 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7042 (La_x86_64_retval): Likewise.
7044 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7046 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7047 fpsr if value didn't change.
7048 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7049 to fpcr if value didn't change.
7050 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7051 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7052 fpsr or fpcr if value didn't change.
7053 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7054 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7055 fpcr if value didn't change.
7056 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7057 to fpsr if value didn't change.
7059 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7061 * nptl/tst-sem3.c: Use test-skeleton.c
7062 (main): Rename to do_test. Use return instead of
7064 * nptl/tst-sem4.c: Use test-skeleton.c
7065 (main): Rename to do_test.
7067 2014-04-22 David S. Miller <davem@davemloft.net>
7069 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7070 (struct sigaction): New struct member __glibc_reserved0, change
7071 type of sa_flags to int.
7073 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7075 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7076 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7078 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7080 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7081 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7083 2014-04-22 Will Newton <will.newton@linaro.org>
7084 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7086 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7087 (__longjmp): Add longjmp and longjmp_target SystemTap
7089 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7090 (__sigsetjmp): Add setjmp SystemTap probe.
7092 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7094 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7097 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7099 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7101 * sysdeps/powerpc/fpu/fenv_private.h
7102 (libc_feholdexcept_setroundl_ctx): Define to
7103 libc_feholdexcept_setround_ppc_ctx.
7104 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7105 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7106 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7107 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7109 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7111 * sysdeps/aarch64/math-tests.h: New file.
7113 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7115 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7118 Check and set bit_AVX2_Usable.
7119 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7121 (bit_AVX2): Likewise.
7122 (index_AVX2_Usable): Likewise.
7123 (CPUID_AVX2): Likewise.
7124 (HAS_AVX2): Likewise.
7126 2014-04-17 Will Newton <will.newton@linaro.org>
7128 * manual/setjmp.texi (System V contexts): Add note that
7129 calling setcontext on a context created by a call to a
7130 signal handler is undefined. Update text to note that
7131 setcontext from a signal handler is possible but not
7135 * stdlib/tst-setcontext.c: Include signal.h.
7136 (main): Check that the signal stack before and
7137 after swapcontext is the same.
7139 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7140 Re-implement to restore registers in user code and avoid
7141 rt_sigreturn system call.
7143 2014-04-17 Wilco <wdijkstr@arm.com>
7145 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7146 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7147 * math/test-fenv.c: Skip exception trap tests on targets which only
7148 support non-stop mode.
7150 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7151 Wilco Dijkstra <wilco.dijkstra@arm.com>
7153 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7154 (libc_feholdsetround_aarch64_ctx)
7155 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7156 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7157 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7158 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7159 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7160 (libc_feresetround_noexl_ctx): Define.
7162 2014-04-16 Richard Henderson <rth@redhat.com>
7164 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7166 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7169 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7170 const from the non-libc, non-ldso copy.
7172 * sysdeps/alpha/libm-test-ulps: Regenerate.
7174 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7175 Wilco Dijkstra <wilco.dijkstra@arm.com>
7177 * sysdeps/aarch64/fpu/math_private.h: New file.
7179 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7181 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7183 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7186 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7187 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7188 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7189 Intel MPX bound registers before _dl_profile_fixup.
7190 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7191 registers after _dl_profile_fixup. Save and restore bound
7192 registers bnd0/bnd1 when calling _dl_call_pltexit.
7193 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7194 (LR_BND_OFFSET): Likewise.
7195 (LRV_BND0_OFFSET): Likewise.
7196 (LRV_BND1_OFFSET): Likewise.
7198 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7200 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7202 * sysdeps/mach/hurd/i386/tls.h: ... here.
7203 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7204 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7207 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7209 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7211 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7213 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7215 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7218 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7219 * sysdeps/s390/configure: Regenerate.
7222 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7223 Set round-to-nearest internally to reduce error accumulation.
7225 2014-04-16 Alan Modra <amodra@gmail.com>
7229 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7230 * math/libm-test.inc (frexp_test_data): Add tests.
7231 * NEWS: Update fixed bug list.
7233 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7235 * benchtests/Makefile: Depend on libraries in build directory.
7236 (bench-math): Separate out math tests.
7237 (bench-pthread): Separate out pthread tests.
7238 (bench): Include math and pthread tests.
7240 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7243 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7244 _dl_debug_initialize.
7246 * configure.ac: Remove SELinux header check.
7247 * configure: Regenerate.
7248 * nscd/selinux.c (perms): Array of const char* to permission names.
7249 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7250 default policy. Call string_to_security_class and string_to_av_perm to
7251 translate strings. Enforce default policy and call avs_has_perm with
7252 results of translated strings.
7254 2014-04-13 David S. Miller <davem@davemloft.net>
7256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7258 2014-04-12 Allan McRae <allan@archlinux.org>
7261 * manual/string.texi (Collation Functions): Fix qsort argument
7263 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7265 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7267 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7268 Make the test a no-op if there are no exceptions defined.
7270 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7272 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7273 enable-hardcoded-path-in-tests
7275 2014-04-11 Will Newton <will.newton@linaro.org>
7277 * benchtests/Makefile (extra-objs): Add json-lib.o.
7278 (bench-func): Tidy up JSON output.
7279 * benchtests/bench-skeleton.c: Include json-lib.h.
7280 (main): Use JSON library functions to do output of
7282 * benchtests/bench-timing-type.c (main): Output the
7283 timing type simply, leaving formatting to the user.
7284 * benchtests/json-lib.c: New file.
7285 * benchtests/json-lib.h: Likewise.
7287 2014-04-11 Torvald Riegel <triegel@redhat.com>
7290 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7291 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7292 memory barriers. Add comments.
7293 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7294 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7295 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7296 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7297 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7298 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7300 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7302 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7303 * sysdeps/s390/s390-64/configure.ac: ... this ...
7304 * sysdeps/s390/configure.ac: ... to here.
7305 * sysdeps/s390/s390-32/configure: Delete file.
7306 * sysdeps/s390/s390-64/configure: Delete file.
7307 * sysdeps/s390/configure: Regenerate.
7309 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7311 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7313 2014-04-11 Will Newton <will.newton@linaro.org>
7315 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7316 to zero if it is not defined elsewhere. (mtrim): Test
7317 the value of MALLOC_DEBUG with #if rather than #ifdef.
7319 2014-04-10 Torvald Riegel <triegel@redhat.com>
7321 * benchtests/pthread_once-inputs: New file.
7322 * benchtests/pthread_once-source.c: New file.
7323 * benchtests/README: Update documentation.
7325 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7326 H.J. Lu <hongjiu.lu@intel.com>
7329 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7330 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7331 * sysdeps/x86_64/configure: Regenerated.
7332 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7334 (REGISTER_SAVE_RAX): Likewise.
7335 (REGISTER_SAVE_RCX): Likewise.
7336 (REGISTER_SAVE_RDX): Likewise.
7337 (REGISTER_SAVE_RSI): Likewise.
7338 (REGISTER_SAVE_RDI): Likewise.
7339 (REGISTER_SAVE_R8): Likewise.
7340 (REGISTER_SAVE_R9): Likewise.
7341 (REGISTER_SAVE_BND0): Likewise.
7342 (REGISTER_SAVE_BND1): Likewise.
7343 (REGISTER_SAVE_BND2): Likewise.
7344 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7345 bound registers when calling _dl_fixup.
7347 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7349 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7350 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7352 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7353 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7354 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7355 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7356 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7357 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7358 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7360 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7363 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7364 pathconf(_PC_NAME_MAX).
7366 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7368 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7370 (__PTHREAD_SPINS): Move definition to ...
7371 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7372 (__PTHREAD_SPINS): ... here.
7373 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7374 (__PTHREAD_SPIN): Likewise.
7375 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7376 (__PTHREAD_SPIN): Likewise.
7377 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7378 (__PTHREAD_SPIN): Likewise.
7379 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7380 (__PTHREAD_SPIN): Likewise.
7381 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7382 (__PTHREAD_SPIN): Likewise.
7383 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7384 (__PTHREAD_SPIN): Likewise.
7385 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7386 (__PTHREAD_SPIN): Likewise.
7387 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7388 (__PTHREAD_SPIN): Likewise.
7389 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7390 (__PTHREAD_SPIN): Likewise.
7391 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7392 (__PTHREAD_SPIN): Likewise.
7393 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7394 (__PTHREAD_SPIN): Likewise.
7395 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7396 (__PTHREAD_SPIN): Likewise.
7398 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7399 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7400 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7401 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7403 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7404 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7405 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7406 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7408 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7409 strlen symbol for non multi-arch builds.
7410 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7411 missing hidden_def and weak_alias.
7413 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7415 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7417 2014-04-07 Will Newton <will.newton@linaro.org>
7419 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7420 and contents. [!_LIBC] Remove #ifndef and contents.
7421 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7422 * string/memccpy.c (__memccpy): Use ANSI prototype.
7423 * string/memfrob.c (memfrob): Likewise.
7424 * string/strcoll.c (STRCOLL): Likewise.
7425 * string/strlen.c (strlen): Likewise.
7426 * string/strtok.c (STRTOK): Likewise.
7427 * string/strcat.c: Remove unused #include of memcopy.h.
7428 (strcat): Use ANSI prototype.
7429 * string/strchr.c: Remove unused #include of memcopy.h.
7430 (strchr): Use ANSI prototype.
7431 * string/strcmp.c: Remove unused #include of memcopy.h.
7432 (strcmp): Use ANSI prototype.
7433 * string/strcpy.c: Remove unused #include of memcopy.h.
7434 (strcpy): Use ANSI prototype.
7436 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7438 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7439 * config.make.in (config-extra-cppflags): Set it from
7440 libc_extra_cppflags.
7441 * configure.ac (libc_extra_cflags): Make it accumulate over
7442 configure fragments.
7443 (libc_extra_cppflags): New flag.
7444 * configure. Regenerate.
7445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7446 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7447 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7451 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7452 result for FE_DOWNWARD rounding mode.
7453 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7457 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7459 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7460 in function argument name.
7462 2014-04-03 David Svoboda <svoboda@cert.org>
7465 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7468 2014-04-03 Roland McGrath <roland@hack.frob.com>
7470 * elf/dl-unmap-segments.h: New file.
7471 * sysdeps/generic/ldsodefs.h
7472 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7473 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7474 * elf/dl-fptr.c: Likewise.
7475 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7476 * sysdeps/aarch64/tlsdesc.c: Likewise.
7477 * sysdeps/arm/tlsdesc.c: Likewise.
7478 * sysdeps/i386/tlsdesc.c: Likewise.
7479 * sysdeps/tile/dl-runtime.c: Likewise.
7480 * sysdeps/x86_64/tlsdesc.c: Likewise.
7481 * elf/dl-load.h: New file.
7482 * elf/dl-load.c: Include it.
7483 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7484 Macros moved to dl-load.h.
7485 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7486 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7487 Use _dl_unmap_segments in place of __munmap.
7488 Break out segment-mapping loop into ...
7489 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7491 2014-04-03 Will Newton <will.newton@linaro.org>
7493 * elf/dl-lookup.c (do_lookup_x): Remove comment
7494 referring to nested function and move variable
7495 declarations down to before first use.
7497 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7501 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7503 * math/s_catanf.c (__catanf): Likewise.
7504 * math/s_catanh.c (__catanh): Likewise.
7505 * math/s_catanhf.c (__catanhf): Likewise.
7506 * math/s_catanhl.c (__catanhl): Likewise.
7507 * math/s_catanl.c (__catanl): Likewise.
7508 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7509 by positive zero when computing -Inf result.
7510 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7511 (catanh_test): Likewise.
7512 * sysdeps/i386/fpu/libm-test-ulps: Update.
7513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7516 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7517 instead of using underflowing value in computing result.
7518 * math/s_clog10.c (__clog10): Likewise.
7519 * math/s_clog10f.c (__clog10f): Likewise.
7520 * math/s_clog10l.c (__clog10l): Likewise.
7521 * math/s_clogf.c (__clogf): Likewise.
7522 * math/s_clogl.c (__clogl): Likewise.
7523 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7524 (clog10_test): Likewise.
7525 * sysdeps/i386/fpu/libm-test-ulps: Update.
7526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7528 2014-04-02 Alan Modra <amodra@gmail.com>
7531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7532 output when value is near a power of two. Use int64_t for lx and
7533 remove casts. Use decimal rather than hex exponent constants.
7534 Don't use long double multiplication when double will suffice.
7535 * math/libm-test.inc (nextafter_test_data): Add tests.
7536 * NEWS: Add 16739 and 16786 to bug list.
7538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7540 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7542 2014-04-01 Will Newton <will.newton@linaro.org>
7544 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7545 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7547 2014-04-01 Florian Weimer <fweimer@redhat.com>
7550 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7551 * nptl/tst-setuid2.c: New file.
7552 * nptl/Makefile (xtests): Add tst-setuid2.
7554 2014-04-01 Alan Modra <amodra@gmail.com>
7557 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7559 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7563 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7564 set errno as appropriate.
7565 * math/w_scalbf.c (__scalbf): Likewise.
7566 * math/w_scalbl.c (__scalbl): Likewise.
7567 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7568 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7569 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7573 * math/w_atan2.c: Include <errno.h>.
7574 (__atan2): Set errno for result underflowing to zero.
7575 * math/w_atan2f.c: Include <errno.h>.
7576 (__atan2f): Set errno for result underflowing to zero.
7577 * math/w_atan2l.c: Include <errno.h>.
7578 (__atan2l): Set errno for result underflowing to zero.
7579 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7581 * math/auto-libm-test-out: Regenerated.
7583 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7585 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7586 Encode instruction correctly in little endian.
7587 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7591 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7593 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7596 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7599 * sysdeps/unix/sysv/linux/kernel-features.h
7600 [__sparc__ && !__arch64__ && !__sparc_v9__]
7601 (__ASSUME_SET_ROBUST_LIST): Do not define.
7602 [__sparc__ && !__arch64__ && !__sparc_v9__]
7603 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7604 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7606 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7607 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7608 (__ASSUME_REQUEUE_PI): Likewise.
7609 (__ASSUME_SET_ROBUST_LIST): Likewise.
7610 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7611 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7613 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7614 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7616 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7618 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7620 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7621 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7623 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7624 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7629 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7630 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7632 2014-03-31 Will Newton <will.newton@linaro.org>
7634 * benchtests/Makefile (bench): Add ffs and ffsll to list
7636 * benchtests/ffs-inputs: New file.
7637 * benchtests/ffsll-inputs: Likewise.
7639 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7642 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7643 too large before casting to int.
7644 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7645 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7646 * math/libm-test.inc (scalb_test_data): Add more tests.
7648 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7650 * benchtests/Makefile (DETAILED_OPT): New make option.
7651 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7653 * benchtests/bench-skeleton.c: Include stdbool.h.
7654 (main): Store and print timings per input.
7655 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7656 member to each argument value.
7657 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7658 (_print_arg_data): Initialize per-input timing to 0.
7660 * benchtests/Makefile (timing-type): New binary.
7661 (bench-clean): Also remove bench-timing-type.
7662 (bench): New target for timing-type.
7663 (bench-func): Print output in JSON format.
7664 * benchtests/bench-skeleton.c (main): Print output in JSON
7666 * benchtests/bench-timing-type.c: New file.
7667 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7668 (TIMING_PRINT_STATS): Remove.
7669 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7672 * benchtests/bench-modf.c: Remove.
7673 * benchtests/modf-inputs: New inputs file.
7675 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7678 * math/s_clog10.c (M_PI_LOG10E): New macro.
7679 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7680 imaginary parts are 0.
7681 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7682 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7683 imaginary parts are 0.
7684 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7685 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7686 imaginary parts are 0.
7687 * math/libm-test.inc (clog10_test_data): Update expected results
7688 for when real and imaginary parts are 0.
7690 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7692 * elf/dl-load.c: Finish conversion of __builtin_expect into
7695 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7698 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7699 1+x for argument with exponent below -67.
7700 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7702 * math/auto-libm-test-in: Add more tests of exp.
7703 * math/auto-libm-test-out: Regenerated.
7705 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7708 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7709 (nscd_getnetgrent): Use it.
7712 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7715 2014-03-27 Andi Kleen <ak@linux.intel.com>
7717 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7718 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7719 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7720 (lll_robust_unlock): Remove out of line section. Use cfi
7722 (LLL_STUB_UNWIND_INFO*): Remove.
7723 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7724 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7725 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7726 (lll_robust_unlock): Remove out of line section. Use cfi
7728 (LLL_STUB_UNWIND_INFO*): Remove.
7730 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7733 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7736 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7738 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7740 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7743 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7745 * math/test-fenv-preserve.c: New file.
7746 * math/Makefile (tests): Add test-fenv-preserve.
7748 2014-03-26 Will Newton <will.newton@linaro.org>
7750 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7752 2014-03-25 Roland McGrath <roland@hack.frob.com>
7754 * scripts/versionlist.awk: Partition the version sets and emit all
7755 GLIBC_* (sorted) before all others (sorted).
7757 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7759 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7760 GLIBC_2.2.5 version.
7762 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7764 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7767 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7772 2014-03-25 Andreas Schwab <schwab@suse.de>
7774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7775 label to be used after in6ailist is initialized.
7777 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7779 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7780 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7782 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7786 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7788 (fp_formats): Update initializers.
7789 (init_fp_formats): Initialize new field.
7790 (output_for_one_input_case): Allow underflow for results up to
7792 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7793 * math/auto-libm-test-in: Don't mark some underflows from asin and
7795 * math/auto-libm-test-out: Regenerated.
7796 * sysdeps/i386/fpu/libm-test-ulps: Update.
7797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7799 2014-03-25 Andreas Schwab <schwab@suse.de>
7801 * libio/Makefile (tst-ftell-partial-wide-ENV)
7802 (tst-ftell-active-handler-ENV): Define.
7804 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7806 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7808 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7810 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7812 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7814 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7815 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7816 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7818 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7821 * elf/dl-load.c (open_verify): Add mode parameter.
7822 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7823 (open_path): Change from boolean 'secure' to complete flag 'mode'
7824 (_dl_map_object): Adjust.
7825 * elf/Makefile (tests): Add tst-dlopen-aout.
7826 * elf/tst-dlopen-aout.c: New test.
7828 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7831 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7832 (struct stat): Rename member pad0 to __glibc_reserved0.
7835 * sysdeps/s390/s390-32/bits/wordsize.h
7836 (__WORDSIZE32_SIZE_ULONG): New define.
7837 * sysdeps/s390/s390-64/bits/wordsize.h
7838 (__WORDSIZE32_SIZE_ULONG): Likewise.
7839 * sysdeps/generic/stdint.h (SIZE_MAX):
7840 Define as UL if __WORDSIZE32_SIZE_ULONG.
7843 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7844 (__glibc_reserved0): New variable.
7845 (sa_flags): Change type to int.
7847 * posix/Makefile (before-compile): Use += before-compile instead
7850 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7851 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7853 2014-03-20 Andreas Schwab <schwab@suse.de>
7856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7857 non-matching result from nscd.
7859 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7861 * scripts/bench.py: Moved to ...
7862 * benchtests/scripts/bench.py: ... here.
7863 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7865 2014-03-24 Andreas Schwab <schwab@suse.de>
7868 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7869 alloca_account and account alloca use for struct in6ailist.
7871 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7874 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7875 rounding mode to recompute results that overflow to infinity or
7877 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7879 * math/auto-libm-test-out: Regenerated.
7880 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7881 (ccosh_test): Likewise.
7882 (csin_test_data): Use plus_oflow.
7883 (csin_test): Use ALL_RM_TEST.
7884 (csinh_test_data): Use plus_oflow.
7885 (csinh_test): Use ALL_RM_TEST.
7886 * sysdeps/i386/fpu/libm-test-ulps: Update.
7887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7889 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7891 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7892 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7893 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7896 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7898 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7899 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7900 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7901 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7903 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7904 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7906 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7907 * sysdeps/i386/fpu/libm-test-ulps: Update.
7908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7910 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7912 * scripts/bench.pl: Remove file.
7913 * scripts/bench.py: New benchmark script.
7914 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7915 * benchtests/README: Mention python dependency.
7916 * scripts/pylintrc: New file.
7917 * scripts/pylint: New file.
7919 * bits/mathdef.h: Use #ifdef instead of #if.
7920 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7921 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7922 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7923 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7924 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7925 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7927 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7930 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7932 and strpbrk-ppc64 objects.
7933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7934 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7935 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7936 multiarch strpbrk for POWER7.
7937 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7938 multiarch strpbrk for PPC64.
7939 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7941 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7944 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7946 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7947 (atan_test): Likewise.
7948 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7949 (atanh_test): Use ALL_RM_TEST.
7950 (atan2_test_data): Likewise.
7951 (cabs_test): Likewise.
7952 (cacosh_test): Likewise.
7953 (carg_test): Likewise.
7954 (casin_test): Likewise.
7955 (casinh_test): Likewise.
7956 (cbrt_test): Likewise.
7957 (csqrt_test): Likewise.
7958 (erf_test): Likewise.
7959 (erfc_test): Likewise.
7960 (pow10_test): Likewise.
7961 (exp2_test): Likewise.
7962 (hypot_test): Likewise.
7963 (j0_test): Likewise.
7964 (j1_test): Likewise.
7965 (lgamma_test): Likewise.
7966 (gamma_test): Likewise.
7967 (sincos_test): Likewise.
7968 (tanh_test): Likewise.
7969 (y0_test): Likewise.
7970 (y1_test): Likewise.
7971 * sysdeps/i386/fpu/libm-test-ulps: Update.
7972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7974 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7976 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7978 and strcspn-ppc64 objects.
7979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7980 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7981 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7982 multiarch strcspn for POWER7.
7983 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7984 multiarch strcspn for PPC64.
7985 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7987 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7990 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7992 * math/gen-libm-test.pl (generate_testfile): Expect only function
7993 name as argument to AUTO_TESTS_* and pass results for all rounding
7994 modes to parse_args.
7995 (parse_auto_input): Separate inputs of automatic tests from
7996 outputs before storing in %auto_tests.
7997 * math/libm-test.inc (acos_test_data): Update call to
7999 (acos_test): Use ALL_RM_TEST.
8000 (acos_tonearest_test_data): Remove.
8001 (acos_test_tonearest): Likewise.
8002 (acos_towardzero_test_data): Likewise.
8003 (acos_test_towardzero): Likewise.
8004 (acos_downward_test_data): Likewise.
8005 (acos_test_downward): Likewise.
8006 (acos_upward_test_data): Likewise.
8007 (acos_test_upward): Likewise.
8008 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8009 (asin_test_data): Likewise.
8010 (asin_test): Use ALL_RM_TEST.
8011 (asin_tonearest_test_data): Remove.
8012 (asin_test_tonearest): Likewise.
8013 (asin_towardzero_test_data): Likewise.
8014 (asin_test_towardzero): Likewise.
8015 (asin_downward_test_data): Likewise.
8016 (asin_test_downward): Likewise.
8017 (asin_upward_test_data): Likewise.
8018 (asin_test_upward): Likewise.
8019 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8020 (atan_test_data): Likewise.
8021 (atanh_test_data): Likewise.
8022 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8023 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8024 (carg_test_data): Likewise.
8025 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8026 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8027 (ccosh_test_data): Likewise.
8028 (cexp_test_data): Likewise.
8029 (clog_test_data): Likewise.
8030 (clog10_test_data): Likewise.
8031 (cos_test_data): Update call to AUTO_TESTS_f_f.
8032 (cos_test): Use ALL_RM_TEST.
8033 (cos_tonearest_test_data): Remove.
8034 (cos_test_tonearest): Likewise.
8035 (cos_towardzero_test_data): Likewise.
8036 (cos_test_towardzero): Likewise.
8037 (cos_downward_test_data): Likewise.
8038 (cos_test_downward): Likewise.
8039 (cos_upward_test_data): Likewise.
8040 (cos_test_upward): Likewise.
8041 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8042 (cosh_test): Use ALL_RM_TEST.
8043 (cosh_tonearest_test_data): Remove.
8044 (cosh_test_tonearest): Likewise.
8045 (cosh_towardzero_test_data): Likewise.
8046 (cosh_test_towardzero): Likewise.
8047 (cosh_downward_test_data): Likewise.
8048 (cosh_test_downward): Likewise.
8049 (cosh_upward_test_data): Likewise.
8050 (cosh_test_upward): Likewise.
8051 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8052 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8053 (ctan_test_data): Likewise.
8054 (ctan_test): Use ALL_RM_TEST.
8055 (ctan_tonearest_test_data): Remove.
8056 (ctan_test_tonearest): Likewise.
8057 (ctan_towardzero_test_data): Likewise.
8058 (ctan_test_towardzero): Likewise.
8059 (ctan_downward_test_data): Likewise.
8060 (ctan_test_downward): Likewise.
8061 (ctan_upward_test_data): Likewise.
8062 (ctan_test_upward): Likewise.
8063 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8064 (ctanh_test): Use ALL_RM_TEST.
8065 (ctanh_tonearest_test_data): Remove.
8066 (ctanh_test_tonearest): Likewise.
8067 (ctanh_towardzero_test_data): Likewise.
8068 (ctanh_test_towardzero): Likewise.
8069 (ctanh_downward_test_data): Likewise.
8070 (ctanh_test_downward): Likewise.
8071 (ctanh_upward_test_data): Likewise.
8072 (ctanh_test_upward): Likewise.
8073 (erf_test_data): Update call to AUTO_TESTS_f_f.
8074 (erfc_test_data): Likewise.
8075 (exp_test_data): Likewise.
8076 (exp_test): Use ALL_RM_TEST.
8077 (exp_tonearest_test_data): Remove.
8078 (exp_test_tonearest): Likewise.
8079 (exp_towardzero_test_data): Likewise.
8080 (exp_test_towardzero): Likewise.
8081 (exp_downward_test_data): Likewise.
8082 (exp_test_downward): Likewise.
8083 (exp_upward_test_data): Likewise.
8084 (exp_test_upward): Likewise.
8085 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8086 (exp10_test): Use ALL_RM_TEST.
8087 (exp10_tonearest_test_data): Remove.
8088 (exp10_test_tonearest): Likewise.
8089 (exp10_towardzero_test_data): Likewise.
8090 (exp10_test_towardzero): Likewise.
8091 (exp10_downward_test_data): Likewise.
8092 (exp10_test_downward): Likewise.
8093 (exp10_upward_test_data): Likewise.
8094 (exp10_test_upward): Likewise.
8095 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8096 (expm1_test_data): Likewise.
8097 (expm1_test): Use ALL_RM_TEST.
8098 (expm1_tonearest_test_data): Remove.
8099 (expm1_test_tonearest): Likewise.
8100 (expm1_towardzero_test_data): Likewise.
8101 (expm1_test_towardzero): Likewise.
8102 (expm1_downward_test_data): Likewise.
8103 (expm1_test_downward): Likewise.
8104 (expm1_upward_test_data): Likewise.
8105 (expm1_test_upward): Likewise.
8106 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8107 (fma_test): Use ALL_RM_TEST.
8108 (fma_towardzero_test_data): Remove.
8109 (fma_test_towardzero): Likewise.
8110 (fma_downward_test_data): Likewise.
8111 (fma_test_downward): Likewise.
8112 (fma_upward_test_data): Likewise.
8113 (fma_test_upward): Likewise.
8114 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8115 (j0_test_data): Update call to AUTO_TESTS_f_f.
8116 (j1_test_data): Likewise.
8117 (jn_test_data): Update call to AUTO_TESTS_if_f.
8118 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8119 (log_test_data): Update call to AUTO_TESTS_f_f.
8120 (log10_test_data): Likewise.
8121 (log1p_test_data): Likewise.
8122 (log2_test_data): Likewise.
8123 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8124 (pow_tonearest_test_data): Likewise.
8125 (sin_test_data): Update call to AUTO_TESTS_f_f.
8126 (sin_test): Use ALL_RM_TEST.
8127 (sin_tonearest_test_data): Remove.
8128 (sin_test_tonearest): Likewise.
8129 (sin_towardzero_test_data): Likewise.
8130 (sin_test_towardzero): Likewise.
8131 (sin_downward_test_data): Likewise.
8132 (sin_test_downward): Likewise.
8133 (sin_upward_test_data): Likewise.
8134 (sin_test_upward): Likewise.
8135 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8136 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8137 (sinh_test): Use ALL_RM_TEST.
8138 (sinh_tonearest_test_data): Remove.
8139 (sinh_test_tonearest): Likewise.
8140 (sinh_towardzero_test_data): Likewise.
8141 (sinh_test_towardzero): Likewise.
8142 (sinh_downward_test_data): Likewise.
8143 (sinh_test_downward): Likewise.
8144 (sinh_upward_test_data): Likewise.
8145 (sinh_test_upward): Likewise.
8146 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8147 (sqrt_test): Use ALL_RM_TEST.
8148 (sqrt_tonearest_test_data): Remove.
8149 (sqrt_test_tonearest): Likewise.
8150 (sqrt_towardzero_test_data): Likewise.
8151 (sqrt_test_towardzero): Likewise.
8152 (sqrt_downward_test_data): Likewise.
8153 (sqrt_test_downward): Likewise.
8154 (sqrt_upward_test_data): Likewise.
8155 (sqrt_test_upward): Likewise.
8156 (tan_test_data): Update call to AUTO_TESTS_f_f.
8157 (tan_test): Use ALL_RM_TEST.
8158 (tan_tonearest_test_data): Remove.
8159 (tan_test_tonearest): Likewise.
8160 (tan_towardzero_test_data): Likewise.
8161 (tan_test_towardzero): Likewise.
8162 (tan_downward_test_data): Likewise.
8163 (tan_test_downward): Likewise.
8164 (tan_upward_test_data): Likewise.
8165 (tan_test_upward): Likewise.
8166 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8167 (tgamma_test_data): Likewise.
8168 (y0_test_data): Likewise.
8169 (y1_test_data): Likewise.
8170 (yn_test_data): Update call to AUTO_TESTS_if_f.
8171 (main): Do not call removed functions.
8173 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8175 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8176 (ldexp_test_data): Remove.
8177 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8179 (scalb_test): Use ALL_RM_TEST.
8181 2014-03-19 Andreas Schwab <schwab@suse.de>
8183 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8185 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8188 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8189 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8190 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8191 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8192 (__ASSUME_PREADV): Undefine.
8193 (__ASSUME_PWRITEV): Likewise.
8195 2014-03-18 Roland McGrath <roland@hack.frob.com>
8197 * bits/mman-linux.h: Add comment about non-Linux use.
8198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8199 bits/mman-linux.h resting place.
8201 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8202 * bits/mman-linux.h: ... here.
8204 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8206 * conform/conformtest.pl: Add standard definition when calling C
8207 preprocessor on data files.
8208 (checknamespace): Remove unused variable.
8210 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8212 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8213 minus_oflow, plus_uflow and minus_uflow in expected results.
8214 * math/libm-test.inc (scalbn_test_data): Add more tests of
8215 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8217 (scalbn_test): Use ALL_RM_TEST.
8218 (scalbln_test_data): Add more tests of negative arguments. Use
8219 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8220 (scalbln_test): Use ALL_RM_TEST.
8222 2014-03-18 Roland McGrath <roland@hack.frob.com>
8224 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8226 2014-03-18 Will Newton <will.newton@linaro.org>
8228 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8231 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8233 * Makerules [!subdir] (check-abi): Exit with error status if a
8236 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8238 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8239 for rint. Include results for all rounding modes.
8240 (nearbyint_test): Use ALL_RM_TEST.
8241 (rint_test_data): Include all tests used for nearbyint.
8243 2014-03-17 Will Newton <will.newton@linaro.org>
8245 * nptl/sysdeps/pthread/pthread.h: Revert previous
8248 * sysdeps/generic/ldsodefs.h: Revert previous
8251 * libio/genops.c: Revert previous change.
8252 * libio/libioP.h: Likewise.
8253 * stdio-common/vfprintf.c: Likewise.
8255 * sysdeps/generic/math_private.h: Revert previous
8258 * sysdeps/generic/math_private.h: Check whether
8259 HAVE_RM_CTX is defined with #ifdef rather
8262 * argp/argp-fmtstream.h: Check whether
8263 __STRICT_ANSI__ is defined with #ifdef rather
8265 * argp/argp.h: Likewise.
8267 * libio/genops.c: Check whether
8268 _IO_JUMPS_OFFSET is defined with #ifdef rather
8270 * libio/libioP.h: Likewise.
8271 * stdio-common/vfprintf.c: Likewise.
8273 * sysdeps/generic/ldsodefs.h: Check whether
8274 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8277 * nptl/sysdeps/pthread/pthread.h: Check
8278 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8281 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8283 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8285 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8289 * libio/fileops.c (_IO_file_open): Seek to end of file but
8290 don't cache the offset.
8291 (get_file_offset): Remove function.
8292 (do_ftell): Use cached offset when available.
8293 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8294 don't cache the offset.
8295 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8297 (do_one_test): Call it.
8298 (do_ftell_test): Fix up expected old offset for a+ mode.
8299 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8302 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8303 up test status with function return status.
8304 (do_write_test): Likewise.
8305 (do_append_test): Likewise.
8307 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8308 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8311 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8313 * math/gen-libm-test.pl (parse_args): Handle results specified for
8314 each rounding mode separately.
8315 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8316 tests and results from lrint_tonearest_test_data,
8317 lrint_towardzero_test_data, lrint_downward_test_data and
8318 lrint_upward_test_data.
8319 (lrint_test): Use ALL_RM_TEST.
8320 (lrint_tonearest_test_data): Remove.
8321 (lrint_test_tonearest): Likewise.
8322 (lrint_towardzero_test_data): Likewise.
8323 (lrint_test_towardzero): Likewise.
8324 (lrint_downward_test_data): Likewise.
8325 (lrint_test_downward): Likewise.
8326 (lrint_upward_test_data): Likewise.
8327 (lrint_test_upward): Likewise.
8328 (llrint_test_data): Merge in per-rounding-mode tests and results
8329 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8330 llrint_downward_test_data and llrint_upward_test_data.
8331 (llrint_test): Use ALL_RM_TEST.
8332 (llrint_tonearest_test_data): Remove.
8333 (llrint_test_tonearest): Likewise.
8334 (llrint_towardzero_test_data): Likewise.
8335 (llrint_test_towardzero): Likewise.
8336 (llrint_downward_test_data): Likewise.
8337 (llrint_test_downward): Likewise.
8338 (llrint_upward_test_data): Likewise.
8339 (llrint_test_upward): Likewise.
8340 (rint_test_data): Merge in per-rounding-mode tests and results
8341 from rint_tonearest_test_data, rint_towardzero_test_data,
8342 rint_downward_test_data and rint_upward_test_data. Add
8343 per-rounding-mode results for tests not in those arrays.
8344 (rint_test): Use ALL_RM_TEST.
8345 (rint_tonearest_test_data): Remove.
8346 (rint_test_tonearest): Likewise.
8347 (rint_towardzero_test_data): Likewise.
8348 (rint_test_towardzero): Likewise.
8349 (rint_downward_test_data): Likewise.
8350 (rint_test_downward): Likewise.
8351 (rint_upward_test_data): Likewise.
8352 (rint_test_upward): Likewise.
8353 (main): Don't call removed functions.
8355 2014-03-14 Roland McGrath <roland@hack.frob.com>
8357 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8358 "Compiled on ..." crapola. It is anti-useful.
8360 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8362 * scripts/evaluate-test.sh: Handle fourth argument to determine
8363 whether test run should stop on failure.
8364 * Makeconfig (stop-on-test-failure): New variable.
8365 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8366 $(stop-on-test-failure).
8367 * Makefile (tests): Give a summary of results from testing and
8368 exit with failure status if they include an ERROR or FAIL.
8370 * manual/install.texi (Configuring and compiling): Mention
8371 stop-on-test-failure=y.
8372 * INSTALL: Regenerated.
8374 2014-03-14 Roland McGrath <roland@hack.frob.com>
8376 * scripts/versionlist.awk: New file.
8377 * Makerules [$(build-shared) = yes]
8378 (postclean-generated): Add Versions.def, not Versions.def.v and
8380 ($(common-objpfx)Versions.def.v.i): Target removed.
8381 ($(common-objpfx)Versions.def): New target.
8382 ($(common-objpfx)Versions.all): Depend on that rather that
8383 $(common-objpfx)Versions.def.v.
8384 * Versions.def: File removed.
8386 * Makeconfig (+gccwarn): Add -Wundef.
8387 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8388 a dl-sysdep.h breaking its contract.
8389 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8390 * include/stackinfo.h: New file.
8391 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8392 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8393 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8394 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8395 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8396 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8397 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8398 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8399 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8400 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8401 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8402 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8403 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8404 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8405 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8407 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8410 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8412 * math/libm-test.inc (round_test_data): Add more tests.
8415 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8417 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8420 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8422 * math/libm-test.inc (ceil_test_data): Add more tests.
8424 * math/libm-test.inc (trunc_test_data): Add more tests related to
8427 2014-03-14 Roland McGrath <roland@hack.frob.com>
8429 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8430 with #if rather than #ifdef.
8431 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8433 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8435 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8436 first. Disable AVX-512 GCC support if assembler doesn't support
8438 * sysdeps/x86_64/configure: Regenerated.
8440 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8442 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8443 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8444 (__old_pthread_attr_setstack): Likewise.
8445 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8446 [!_STACK_GROWS_DOWN]: Likewise.
8448 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8450 * config.make.in (have-bash2): Delete.
8451 * configure.ac (libc_cv_have_bash2): Delete.
8452 * configure: Regenerate.
8453 * elf/Makefile (common-ldd-rewrite): Rename to ...
8454 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8455 (sh-ldd-rewrite): Delete.
8456 (bash-ldd-rewrite): Delete.
8457 (have-bash2): Delete checks.
8458 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8461 * config.make.in (have-ksh): Delete.
8463 * configure.ac (libc_cv_have_ksh): Delete.
8464 * configure: Regenerate.
8466 * elf/Makefile: Delete $(have-ksh) check.
8467 ($(objpfx)sotruss): Change KSH to BASH.
8468 * elf/sotruss.ksh: Rename to ...
8469 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8470 function style to match POSIX. Drop ksh vim mode setting.
8472 * manual/time.texi (Specifying the Time Zone with TZ): Change
8473 Tuesday to Thursday.
8475 * debug/tst-longjmp_chk2.c: Update header comment.
8476 (stackoverflow_handler): Add comment. Call assert on pass value.
8478 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8481 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8482 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8483 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8484 (La_x86_64_vector): Add zmm.
8485 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8486 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8487 ($(objpfx)tst-audit10): New target.
8488 ($(objpfx)tst-audit10.out): Likewise.
8489 (tst-audit10-ENV): New.
8490 (AVX512-CFLAGS): Likewise.
8491 (CFLAGS-tst-audit10.c): Likewise.
8492 (CFLAGS-tst-auditmod10a.c): Likewise.
8493 (CFLAGS-tst-auditmod10b.c): Likewise.
8494 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8495 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8496 * sysdeps/x86_64/configure: Regenerated.
8497 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8498 AVX-512 zmm register support.
8499 (_dl_x86_64_save_sse): Likewise.
8500 (_dl_x86_64_restore_sse): Likewise.
8501 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8502 size vector registers.
8503 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8504 (ZMM_SIZE): Likewise.
8505 * sysdeps/x86_64/tst-audit10.c: New file.
8506 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8507 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8509 2014-03-13 Roland McGrath <roland@hack.frob.com>
8511 * configure.ac (HAVE_EHDR_START): New check.
8512 * configure: Regenerated.
8513 * config.h.in (HAVE_EHDR_START): New #undef.
8514 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8515 assuming the lowest-addressed segment maps the start of the file.
8517 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8519 * INSTALL: Regenerated.
8521 2014-03-13 Will Newton <will.newton@linaro.org>
8523 * manual/setjmp.texi (System V contexts): Improve
8524 clarity and grammar of documentation.
8526 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8529 * elf/Makefile (tests): Add tst-pie2.
8530 (tests-pie): Add tst-pie2.
8531 * elf/tst-pie2.c: New file.
8532 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8534 * elf/rtld.c (map_doit): Load executable as lt_executable.
8535 (dl_main): Likewise.
8537 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8541 (__ASSUME_PSELECT): Undefine.
8543 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8546 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8547 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8550 selector for static builds.
8552 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8555 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8558 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8560 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8561 IFUNC selector for static builds.
8563 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8565 * sysdeps/mips/math_private.h [__mips_hard_float]
8566 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8567 libc_feresetround_mips_ctx.
8568 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8569 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8570 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8573 * math/s_nextafter.c (__nextafter): Do not return value from
8574 overflowing computation.
8575 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8576 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8577 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8579 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8581 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8582 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8584 2014-03-11 Roland McGrath <roland@hack.frob.com>
8586 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8587 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8588 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8589 the new mov targetting sp.
8591 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8594 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8595 Define it for static builds as well.
8596 (NO_BZERO_IMPL): Likewise.
8598 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8600 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8601 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8602 multiarch strspn for PPC64.
8603 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8604 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8606 (__libc_ifunc_impl_list): Likewise.
8607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8608 multiarch optimizations
8609 * string/strspn.c (strspn): Using macro to redefine symbol name.
8611 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8612 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8614 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8615 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8616 multiarch strncat for PPC64.
8617 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8618 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8620 (__libc_ifunc_impl_list): Likewise.
8621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8622 multiarch optimizations
8624 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8627 * nscd/nscd.service: Make service type forking.
8629 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8631 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8632 sign in non default rounding modes.
8633 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8635 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8637 * math/libm-test.inc (ALL_RM_TEST): New macro.
8638 (ceil_test): Use ALL_RM_TEST.
8639 (cimag_test): Likewise.
8640 (conj_test): Likewise.
8641 (copysign_test): Likewise.
8642 (cproj_test): Likewise.
8643 (creal_test): Likewise.
8644 (fabs_test): Likewise.
8645 (floor_test): Likewise.
8646 (fmax_test): Likewise.
8647 (fmin_test): Likewise.
8648 (fmod_test): Likewise.
8649 (fpclassify_test): Likewise.
8650 (frexp_test): Likewise.
8651 (ilogb_test): Likewise.
8652 (isfinite_test): Likewise.
8653 (finite_test): Likewise.
8654 (isgreater_test): Likewise.
8655 (isgreaterequal_test): Likewise.
8656 (isinf_test): Likewise.
8657 (isless_test): Likewise.
8658 (islessequal_test): Likewise.
8659 (islessgreater_test): Likewise.
8660 (isnan_test): Likewise.
8661 (isnormal_test): Likewise.
8662 (issignaling_test): Likewise.
8663 (isunordered_test): Likewise.
8664 (logb_test): Likewise.
8665 (logb_downward_test_data): Remove.
8666 (logb_test_downward): Likewise.
8667 (lround_test): Use ALL_RM_TEST.
8668 (llround_test): Likewise.
8669 (modf_test): Likewise.
8670 (nexttoward_test): Likewise.
8671 (remainder_test): Likewise.
8672 (drem_test): Likewise.
8673 (remainder_tonearest_test_data): Likewise.
8674 (remainder_test_tonearest): Likewise.
8675 (drem_test_tonearest): Likewise.
8676 (remainder_towardzero_test_data): Likewise.
8677 (remainder_test_towardzero): Likewise.
8678 (drem_test_towardzero): Likewise.
8679 (remainder_downward_test_data): Likewise.
8680 (remainder_test_downward): Likewise.
8681 (drem_test_downward): Likewise.
8682 (remainder_upward_test_data): Likewise.
8683 (remainder_test_upward): Likewise.
8684 (drem_test_upward): Likewise.
8685 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8686 (round_test): Use ALL_RM_TEST.
8687 (signbit_test): Likewise.
8688 (trunc_test): Likewise.
8689 (significand_test): Likewise.
8690 (main): Don't call removed functions.
8692 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8695 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8697 (ILL_ILLOPN): Likewise.
8698 (ILL_ILLADR): Likewise.
8699 (ILL_ILLTRP): Likewise.
8700 (ILL_PRVOPC): Likewise.
8701 (ILL_PRVREG): Likewise.
8702 (ILL_COPROC): Likewise.
8703 (ILL_BADSTK): Likewise.
8704 (FPE_INTDIV): Likewise.
8705 (FPE_INTOVF): Likewise.
8706 (FPE_FLTDIV): Likewise.
8707 (FPE_FLTOVF): Likewise.
8708 (FPE_FLTUND): Likewise.
8709 (FPE_FLTRES): Likewise.
8710 (FPE_FLTINV): Likewise.
8711 (FPE_FLTSUB): Likewise.
8712 (SEGV_MAPERR): Likewise.
8713 (SEGV_ACCERR): Likewise.
8714 (BUS_ADRALN): Likewise.
8715 (BUS_ADRERR): Likewise.
8716 (BUS_OBJERR): Likewise.
8717 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8718 (TRAP_TRACE): Likewise.
8719 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8721 (CLD_KILLED): Likewise.
8722 (CLD_DUMPED): Likewise.
8723 (CLD_TRAPPED): Likewise.
8724 (CLD_STOPPED): Likewise.
8725 (CLD_CONTINUED): Likewise.
8726 (POLL_IN): Likewise.
8727 (POLL_OUT): Likewise.
8728 (POLL_MSG): Likewise.
8729 (POLL_ERR): Likewise.
8730 (POLL_PRI): Likewise.
8731 (POLL_HUP): Likewise.
8732 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8734 (ILL_ILLOPN): Likewise.
8735 (ILL_ILLADR): Likewise.
8736 (ILL_ILLTRP): Likewise.
8737 (ILL_PRVOPC): Likewise.
8738 (ILL_PRVREG): Likewise.
8739 (ILL_COPROC): Likewise.
8740 (ILL_BADSTK): Likewise.
8741 (FPE_INTDIV): Likewise.
8742 (FPE_INTOVF): Likewise.
8743 (FPE_FLTDIV): Likewise.
8744 (FPE_FLTOVF): Likewise.
8745 (FPE_FLTUND): Likewise.
8746 (FPE_FLTRES): Likewise.
8747 (FPE_FLTINV): Likewise.
8748 (FPE_FLTSUB): Likewise.
8749 (SEGV_MAPERR): Likewise.
8750 (SEGV_ACCERR): Likewise.
8751 (BUS_ADRALN): Likewise.
8752 (BUS_ADRERR): Likewise.
8753 (BUS_OBJERR): Likewise.
8754 (BUS_MCEERR_AR): Likewise.
8755 (BUS_MCEERR_AO): Likewise.
8756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8757 (TRAP_TRACE): Likewise.
8758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8760 (CLD_KILLED): Likewise.
8761 (CLD_DUMPED): Likewise.
8762 (CLD_TRAPPED): Likewise.
8763 (CLD_STOPPED): Likewise.
8764 (CLD_CONTINUED): Likewise.
8765 (POLL_IN): Likewise.
8766 (POLL_OUT): Likewise.
8767 (POLL_MSG): Likewise.
8768 (POLL_ERR): Likewise.
8769 (POLL_PRI): Likewise.
8770 (POLL_HUP): Likewise.
8771 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8772 (ILL_ILLOPN): Likewise.
8773 (ILL_ILLADR): Likewise.
8774 (ILL_ILLTRP): Likewise.
8775 (ILL_PRVOPC): Likewise.
8776 (ILL_PRVREG): Likewise.
8777 (ILL_COPROC): Likewise.
8778 (ILL_BADSTK): Likewise.
8779 (FPE_INTDIV): Likewise.
8780 (FPE_INTOVF): Likewise.
8781 (FPE_FLTDIV): Likewise.
8782 (FPE_FLTOVF): Likewise.
8783 (FPE_FLTUND): Likewise.
8784 (FPE_FLTRES): Likewise.
8785 (FPE_FLTINV): Likewise.
8786 (FPE_FLTSUB): Likewise.
8787 (SEGV_MAPERR): Likewise.
8788 (SEGV_ACCERR): Likewise.
8789 (BUS_ADRALN): Likewise.
8790 (BUS_ADRERR): Likewise.
8791 (BUS_OBJERR): Likewise.
8792 (BUS_MCEERR_AR): Likewise.
8793 (BUS_MCEERR_AO): Likewise.
8794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8795 (TRAP_TRACE): Likewise.
8796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8798 (CLD_KILLED): Likewise.
8799 (CLD_DUMPED): Likewise.
8800 (CLD_TRAPPED): Likewise.
8801 (CLD_STOPPED): Likewise.
8802 (CLD_CONTINUED): Likewise.
8803 (POLL_IN): Likewise.
8804 (POLL_OUT): Likewise.
8805 (POLL_MSG): Likewise.
8806 (POLL_ERR): Likewise.
8807 (POLL_PRI): Likewise.
8808 (POLL_HUP): Likewise.
8809 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8811 (ILL_ILLOPN): Likewise.
8812 (ILL_ILLADR): Likewise.
8813 (ILL_ILLTRP): Likewise.
8814 (ILL_PRVOPC): Likewise.
8815 (ILL_PRVREG): Likewise.
8816 (ILL_COPROC): Likewise.
8817 (ILL_BADSTK): Likewise.
8818 (ILL_BADIADDR): Likewise.
8819 (ILL_BREAK): Likewise.
8820 (FPE_INTDIV): Likewise.
8821 (FPE_INTOVF): Likewise.
8822 (FPE_FLTDIV): Likewise.
8823 (FPE_FLTOVF): Likewise.
8824 (FPE_FLTUND): Likewise.
8825 (FPE_FLTRES): Likewise.
8826 (FPE_FLTINV): Likewise.
8827 (FPE_FLTSUB): Likewise.
8828 (FPE_DECOVF): Likewise.
8829 (FPE_DECDIV): Likewise.
8830 (FPE_DECERR): Likewise.
8831 (FPE_INVASC): Likewise.
8832 (FPE_INVDEC): Likewise.
8833 (SEGV_MAPERR): Likewise.
8834 (SEGV_ACCERR): Likewise.
8835 (SEGV_PSTKOVF): Likewise.
8836 (BUS_ADRALN): Likewise.
8837 (BUS_ADRERR): Likewise.
8838 (BUS_OBJERR): Likewise.
8839 (BUS_MCEERR_AR): Likewise.
8840 (BUS_MCEERR_AO): Likewise.
8841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8842 (TRAP_TRACE): Likewise.
8843 (TRAP_BRANCH): Likewise.
8844 (TRAP_HWBKPT): Likewise.
8845 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8847 (CLD_KILLED): Likewise.
8848 (CLD_DUMPED): Likewise.
8849 (CLD_TRAPPED): Likewise.
8850 (CLD_STOPPED): Likewise.
8851 (CLD_CONTINUED): Likewise.
8852 (POLL_IN): Likewise.
8853 (POLL_OUT): Likewise.
8854 (POLL_MSG): Likewise.
8855 (POLL_ERR): Likewise.
8856 (POLL_PRI): Likewise.
8857 (POLL_HUP): Likewise.
8858 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8859 (ILL_ILLOPN): Likewise.
8860 (ILL_ILLADR): Likewise.
8861 (ILL_ILLTRP): Likewise.
8862 (ILL_PRVOPC): Likewise.
8863 (ILL_PRVREG): Likewise.
8864 (ILL_COPROC): Likewise.
8865 (ILL_BADSTK): Likewise.
8866 (FPE_INTDIV): Likewise.
8867 (FPE_INTOVF): Likewise.
8868 (FPE_FLTDIV): Likewise.
8869 (FPE_FLTOVF): Likewise.
8870 (FPE_FLTUND): Likewise.
8871 (FPE_FLTRES): Likewise.
8872 (FPE_FLTINV): Likewise.
8873 (FPE_FLTSUB): Likewise.
8874 (SEGV_MAPERR): Likewise.
8875 (SEGV_ACCERR): Likewise.
8876 (BUS_ADRALN): Likewise.
8877 (BUS_ADRERR): Likewise.
8878 (BUS_OBJERR): Likewise.
8879 (BUS_MCEERR_AR): Likewise.
8880 (BUS_MCEERR_AO): Likewise.
8881 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8882 (TRAP_TRACE): Likewise.
8883 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8885 (CLD_KILLED): Likewise.
8886 (CLD_DUMPED): Likewise.
8887 (CLD_TRAPPED): Likewise.
8888 (CLD_STOPPED): Likewise.
8889 (CLD_CONTINUED): Likewise.
8890 (POLL_IN): Likewise.
8891 (POLL_OUT): Likewise.
8892 (POLL_MSG): Likewise.
8893 (POLL_ERR): Likewise.
8894 (POLL_PRI): Likewise.
8895 (POLL_HUP): Likewise.
8896 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8897 (ILL_ILLOPN): Likewise.
8898 (ILL_ILLADR): Likewise.
8899 (ILL_ILLTRP): Likewise.
8900 (ILL_PRVOPC): Likewise.
8901 (ILL_PRVREG): Likewise.
8902 (ILL_COPROC): Likewise.
8903 (ILL_BADSTK): Likewise.
8904 (FPE_INTDIV): Likewise.
8905 (FPE_INTOVF): Likewise.
8906 (FPE_FLTDIV): Likewise.
8907 (FPE_FLTOVF): Likewise.
8908 (FPE_FLTUND): Likewise.
8909 (FPE_FLTRES): Likewise.
8910 (FPE_FLTINV): Likewise.
8911 (FPE_FLTSUB): Likewise.
8912 (SEGV_MAPERR): Likewise.
8913 (SEGV_ACCERR): Likewise.
8914 (BUS_ADRALN): Likewise.
8915 (BUS_ADRERR): Likewise.
8916 (BUS_OBJERR): Likewise.
8917 (BUS_MCEERR_AR): Likewise.
8918 (BUS_MCEERR_AO): Likewise.
8919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8920 (TRAP_TRACE): Likewise.
8921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8923 (CLD_KILLED): Likewise.
8924 (CLD_DUMPED): Likewise.
8925 (CLD_TRAPPED): Likewise.
8926 (CLD_STOPPED): Likewise.
8927 (CLD_CONTINUED): Likewise.
8928 (POLL_IN): Likewise.
8929 (POLL_OUT): Likewise.
8930 (POLL_MSG): Likewise.
8931 (POLL_ERR): Likewise.
8932 (POLL_PRI): Likewise.
8933 (POLL_HUP): Likewise.
8934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8935 (ILL_ILLOPN): Likewise.
8936 (ILL_ILLADR): Likewise.
8937 (ILL_ILLTRP): Likewise.
8938 (ILL_PRVOPC): Likewise.
8939 (ILL_PRVREG): Likewise.
8940 (ILL_COPROC): Likewise.
8941 (ILL_BADSTK): Likewise.
8942 (FPE_INTDIV): Likewise.
8943 (FPE_INTOVF): Likewise.
8944 (FPE_FLTDIV): Likewise.
8945 (FPE_FLTOVF): Likewise.
8946 (FPE_FLTUND): Likewise.
8947 (FPE_FLTRES): Likewise.
8948 (FPE_FLTINV): Likewise.
8949 (FPE_FLTSUB): Likewise.
8950 (SEGV_MAPERR): Likewise.
8951 (SEGV_ACCERR): Likewise.
8952 (BUS_ADRALN): Likewise.
8953 (BUS_ADRERR): Likewise.
8954 (BUS_OBJERR): Likewise.
8955 (BUS_MCEERR_AR): Likewise.
8956 (BUS_MCEERR_AO): Likewise.
8957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8958 (TRAP_TRACE): Likewise.
8959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8961 (CLD_KILLED): Likewise.
8962 (CLD_DUMPED): Likewise.
8963 (CLD_TRAPPED): Likewise.
8964 (CLD_STOPPED): Likewise.
8965 (CLD_CONTINUED): Likewise.
8966 (POLL_IN): Likewise.
8967 (POLL_OUT): Likewise.
8968 (POLL_MSG): Likewise.
8969 (POLL_ERR): Likewise.
8970 (POLL_PRI): Likewise.
8971 (POLL_HUP): Likewise.
8972 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8973 (ILL_ILLOPN): Likewise.
8974 (ILL_ILLADR): Likewise.
8975 (ILL_ILLTRP): Likewise.
8976 (ILL_PRVOPC): Likewise.
8977 (ILL_PRVREG): Likewise.
8978 (ILL_COPROC): Likewise.
8979 (ILL_BADSTK): Likewise.
8980 (ILL_DBLFLT): Likewise.
8981 (ILL_HARDWALL): Likewise.
8982 (FPE_INTDIV): Likewise.
8983 (FPE_INTOVF): Likewise.
8984 (FPE_FLTDIV): Likewise.
8985 (FPE_FLTOVF): Likewise.
8986 (FPE_FLTUND): Likewise.
8987 (FPE_FLTRES): Likewise.
8988 (FPE_FLTINV): Likewise.
8989 (FPE_FLTSUB): Likewise.
8990 (SEGV_MAPERR): Likewise.
8991 (SEGV_ACCERR): Likewise.
8992 (BUS_ADRALN): Likewise.
8993 (BUS_ADRERR): Likewise.
8994 (BUS_OBJERR): Likewise.
8995 (BUS_MCEERR_AR): Likewise.
8996 (BUS_MCEERR_AO): Likewise.
8997 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8998 (TRAP_TRACE): Likewise.
8999 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9001 (CLD_KILLED): Likewise.
9002 (CLD_DUMPED): Likewise.
9003 (CLD_TRAPPED): Likewise.
9004 (CLD_STOPPED): Likewise.
9005 (CLD_CONTINUED): Likewise.
9006 (POLL_IN): Likewise.
9007 (POLL_OUT): Likewise.
9008 (POLL_MSG): Likewise.
9009 (POLL_ERR): Likewise.
9010 (POLL_PRI): Likewise.
9011 (POLL_HUP): Likewise.
9012 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9013 (ILL_ILLOPN): Likewise.
9014 (ILL_ILLADR): Likewise.
9015 (ILL_ILLTRP): Likewise.
9016 (ILL_PRVOPC): Likewise.
9017 (ILL_PRVREG): Likewise.
9018 (ILL_COPROC): Likewise.
9019 (ILL_BADSTK): Likewise.
9020 (FPE_INTDIV): Likewise.
9021 (FPE_INTOVF): Likewise.
9022 (FPE_FLTDIV): Likewise.
9023 (FPE_FLTOVF): Likewise.
9024 (FPE_FLTUND): Likewise.
9025 (FPE_FLTRES): Likewise.
9026 (FPE_FLTINV): Likewise.
9027 (FPE_FLTSUB): Likewise.
9028 (SEGV_MAPERR): Likewise.
9029 (SEGV_ACCERR): Likewise.
9030 (BUS_ADRALN): Likewise.
9031 (BUS_ADRERR): Likewise.
9032 (BUS_OBJERR): Likewise.
9033 (BUS_MCEERR_AR): Likewise.
9034 (BUS_MCEERR_AO): Likewise.
9035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9036 (TRAP_TRACE): Likewise.
9037 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9039 (CLD_KILLED): Likewise.
9040 (CLD_DUMPED): Likewise.
9041 (CLD_TRAPPED): Likewise.
9042 (CLD_STOPPED): Likewise.
9043 (CLD_CONTINUED): Likewise.
9044 (POLL_IN): Likewise.
9045 (POLL_OUT): Likewise.
9046 (POLL_MSG): Likewise.
9047 (POLL_ERR): Likewise.
9048 (POLL_PRI): Likewise.
9049 (POLL_HUP): Likewise.
9050 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9051 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9054 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9055 before #include of <time.h>.
9056 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9057 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9058 (test-xfail-UNIX98/sched.h/conform): Likewise.
9060 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9062 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9063 error absence of trapping exception support.
9064 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9066 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9068 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9069 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9070 * timezone/Makefile (testdata): Move definition above include of
9072 (test-zones): New variable.
9073 (tests-special): Add zone files.
9074 (build-testdata): Use $(evaluate-test).
9076 * elf/Makefile (tests-special): Rename tests to end with .out.
9077 ($(objpfx)noload-mem): Likewise.
9078 ($(objpfx)tst-leaks1-mem): Likewise.
9079 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9080 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9081 $(objpfx)test-iconvconfig.out.
9082 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9083 set -e inside subshell and redirect output to file.
9084 * iconvdata/Makefile (generated): Rename tests to end with .out.
9086 (tests-special): Rename tests to end with .out.
9087 ($(objpfx)mtrace-tst-loading): Likewise.
9088 * intl/Makefile (generated): Likewise.
9089 (tests-special): Likewise.
9090 ($(objpfx)mtrace-tst-gettext): Likewise.
9091 * misc/Makefile (generated): Likewise.
9092 (tests-special): Likewise.
9093 ($(objpfx)tst-error1-mem): Likewise.
9094 * nptl/Makefile (tests-special): Likewise.
9095 ($(objpfx)tst-stack3-mem): Likewise.
9096 (generated): Likewise.
9097 * posix/Makefile (generated): Likewise.
9098 (tests-special): Likewise.
9099 (xtests-special): Likewise.
9100 ($(objpfx)tst-fnmatch-mem): Likewise.
9101 ($(objpfx)bug-regex2-mem): Likewise.
9102 ($(objpfx)bug-regex14-mem): Likewise.
9103 ($(objpfx)bug-regex21-mem): Likewise.
9104 ($(objpfx)bug-regex31-mem): Likewise.
9105 ($(objpfx)tst-vfork3-mem): Likewise.
9106 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9107 ($(objpfx)tst-pcre-mem): Likewise.
9108 ($(objpfx)tst-boost-mem): Likewise.
9109 ($(objpfx)bug-ga2-mem): Likewise.
9110 ($(objpfx)bug-glob2-mem): Likewise.
9111 * resolv/Makefile (generate): Likewise.
9112 (tests-special): Likewise.
9113 (xtests-special): Likewise.
9114 (generated): Likewise.
9115 ($(objpfx)mtrace-tst-leaks): Likewise.
9116 ($(objpfx)mtrace-tst-leaks2): Likewise.
9118 * scripts/merge-test-results.sh: New file.
9119 * Makefile (tests-special-notdir): New variable.
9120 (tests): Run merge-test-results.sh.
9122 * Rules (tests-special-notdir): New variable.
9123 (xtests-special-notdir): Likewise.
9124 (tests): Run merge-test-results.sh
9127 * Makeconfig (test-xfail-name): New variable.
9128 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9129 compute variable name for expected failures.
9130 * conform/Makefile (conformtest-headers-data): New variable.
9131 (conformtest-standards): Likewise.
9132 (conformtest-headers-ISO): Likewise.
9133 (conformtest-headers-ISO99): Likewise.
9134 (conformtest-headers-ISO11): Likewise.
9135 (conformtest-headers-POSIX): Likewise.
9136 (conformtest-headers-XPG3): Likewise.
9137 (conformtest-headers-XPG4): Likewise.
9138 (conformtest-headers-UNIX98): Likewise.
9139 (conformtest-headers-XOPEN2K): Likewise.
9140 (conformtest-headers-POSIX2008): Likewise.
9141 (conformtest-headers-XOPEN2K8): Likewise.
9142 (conformtest-header-list-base): Likewise.
9143 (conformtest-header-list-tests): Likewise.
9144 (conformtest-header-base): Likewise.
9145 (conformtest-header-tests): Likewise.
9146 (tests-special): Add $(conformtest-header-list-tests). If
9147 [$(fast-check) && !$(cross-compiling)], add
9148 $(conformtest-header-tests) instead of
9149 $(objpfx)run-conformtest.out.
9150 (generated): Add $(conformtest-header-list-base). If
9151 [$(fast-check) && !$(cross-compiling)], add
9152 $(conformtest-header-base). Remove previous setting.
9153 ($(conformtest-header-list-tests)): New target.
9154 (test-xfail-run-conformtest): Remove variable.
9155 ($(objpfx)run-conformtest.out): Remove target.
9156 (test-xfail-ISO11/complex.h/conform): New variable.
9157 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9158 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9159 (test-xfail-XPG3/varargs.h/conform): Likewise.
9160 (test-xfail-XPG4/varargs.h/conform): Likewise.
9161 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9162 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9163 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9164 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9165 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9166 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9167 (test-xfail-XPG3/ftw.h/conform): Likewise.
9168 (test-xfail-XPG3/grp.h/conform): Likewise.
9169 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9170 (test-xfail-XPG3/limits.h/conform): Likewise.
9171 (test-xfail-XPG3/pwd.h/conform): Likewise.
9172 (test-xfail-XPG3/search.h/conform): Likewise.
9173 (test-xfail-XPG3/signal.h/conform): Likewise.
9174 (test-xfail-XPG3/stdio.h/conform): Likewise.
9175 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9176 (test-xfail-XPG3/string.h/conform): Likewise.
9177 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9178 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9179 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9180 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9181 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9182 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9183 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9184 (test-xfail-XPG3/termios.h/conform): Likewise.
9185 (test-xfail-XPG3/time.h/conform): Likewise.
9186 (test-xfail-XPG3/unistd.h/conform): Likewise.
9187 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9188 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9189 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9190 (test-xfail-XPG4/netdb.h/conform): Likewise.
9191 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9192 (test-xfail-XPG4/signal.h/conform): Likewise.
9193 (test-xfail-XPG4/stdio.h/conform): Likewise.
9194 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9195 (test-xfail-XPG4/stropts.h/conform): Likewise.
9196 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9197 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9198 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9199 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9200 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9201 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9202 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9203 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9204 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9205 (test-xfail-XPG4/termios.h/conform): Likewise.
9206 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9207 (test-xfail-XPG4/unistd.h/conform): Likewise.
9208 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9209 (test-xfail-POSIX/sched.h/conform): Likewise.
9210 (test-xfail-POSIX/signal.h/conform): Likewise.
9211 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9212 (test-xfail-POSIX/tar.h/conform): Likewise.
9213 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9214 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9215 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9216 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9217 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9218 (test-xfail-UNIX98/sched.h/conform): Likewise.
9219 (test-xfail-UNIX98/signal.h/conform): Likewise.
9220 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9221 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9222 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9223 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9224 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9225 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9226 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9227 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9228 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9229 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9230 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9231 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9232 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9233 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9234 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9235 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9236 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9237 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9238 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9239 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9240 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9241 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9242 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9243 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9244 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9245 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9246 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9247 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9248 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9249 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9250 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9251 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9252 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9253 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9254 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9255 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9256 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9257 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9258 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9259 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9260 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9261 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9262 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9263 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9264 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9265 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9266 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9267 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9268 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9269 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9270 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9271 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9272 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9273 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9274 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9275 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9276 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9277 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9278 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9279 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9280 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9281 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9282 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9283 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9284 (conformtest-cc-flags): Likewise.
9285 ($(conformtest-header-tests): New target.
9286 * conform/check-header-lists.sh: New file.
9287 * conform/run-conformtest.sh: Remove.
9289 * conform/conformtest.pl: Allow ' and \ in values given for
9291 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9293 [POSIX] (sys/types.h): Likewise.
9294 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9296 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9298 * conform/data/signal.h-data (SIGIO): Remove expectation.
9299 [XPG3] (SIGBUS): Do not expect.
9300 [POSIX || XPG3] (SIGPOLL): Likewise.
9301 [POSIX || XPG3] (SIGPROF): Likewise.
9302 [POSIX || XPG3] (SIGSYS): Likewise.
9303 [XPG3] (SIGTRAP): Likewise.
9304 [POSIX || XPG3] (SIGURG): Likewise.
9305 [POSIX || XPG3] (SIGVTALRM): Likewise.
9306 [POSIX || XPG3] (SIGXCPU): Likewise.
9307 [POSIX || XPG3] (SIGXFSZ): Likewise.
9308 [POSIX] (SA_SIGINFO): Expect.
9309 [XPG3] (siginfo_t): Do not expect type or contents.
9310 [POSIX] (si_pid): Do not expect element.
9311 [POSIX] (si_uid): Likewise.
9312 [POSIX] (si_addr): Likewise.
9313 [POSIX] (si_status): Likewise.
9314 [POSIX] (si_band): Likewise.
9315 [XPG4] (si_value): Likewise.
9316 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9317 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9318 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9319 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9320 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9321 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9322 [POSIX || XPG3] (ILL_COPROC): Likewise.
9323 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9324 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9325 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9326 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9327 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9328 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9329 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9330 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9331 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9332 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9333 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9334 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9335 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9336 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9337 [POSIX || XPG3] (CLD_EXITED): Likewise.
9338 [POSIX || XPG3] (CLD_KILLED): Likewise.
9339 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9340 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9341 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9342 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9343 [POSIX || XPG3] (POLL_IN): Likewise.
9344 [POSIX || XPG3] (POLL_OUT): Likewise.
9345 [POSIX || XPG3] (POLL_MSG): Likewise.
9346 [POSIX || XPG3] (POLL_ERR): Likewise.
9347 [POSIX || XPG3] (POLL_PRI): Likewise.
9348 [POSIX || XPG3] (POLL_HUP): Likewise.
9349 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9350 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9351 (SIG*): Do not allow.
9352 [XPG3] (si_*): Likewise.
9353 [XPG3] (SI_*): Likewise.
9354 [XPG3 || XPG4] (sigev_*): Likewise.
9355 [XPG3 || XPG4] (SIGEV_*): Likewise.
9356 [XPG3 || XPG4] (sival_*): Likewise.
9357 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9358 [POSIX || XPG3] (BUS_*): Likewise.
9359 [POSIX || XPG3] (CLD_*): Likewise.
9360 [POSIX || XPG3] (FPE_*): Likewise.
9361 [POSIX || XPG3] (ILL_*): Likewise.
9362 [POSIX || XPG3] (POLL_*): Likewise.
9363 [POSIX || XPG3] (SEGV_*): Likewise.
9364 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9365 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9366 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9367 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9368 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9369 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9370 Specify type and value.
9371 (TVERSLEN): Likewise.
9372 (REGTYPE): Likewise.
9373 (AREGTYPE): Likewise.
9374 (LNKTYPE): Likewise.
9375 (SYMTYPE): Likewise.
9376 (CHRTYPE): Likewise.
9377 (BLKTYPE): Likewise.
9378 (DIRTYPE): Likewise.
9379 (FIFOTYPE): Likewise.
9380 (CONTTYPE): Likewise.
9385 (TUWRITE): Likewise.
9388 (TGWRITE): Likewise.
9391 (TOWRITE): Likewise.
9393 [POSIX] (TSVTX): Expect constant.
9395 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9397 * Makefile (tests): Change dependencies to ....
9398 (tests-special): ... additions to this variable.
9399 (tests): Depend on $(tests-special).
9400 * Makerules (check-abi-list): New variable.
9401 (check-abi): Depend on $(check-abi-list).
9402 [$(subdir) = elf] (tests-special): Add
9403 $(objpfx)check-abi-libc.out.
9404 [$(build-shared) = yes && subdir] (tests-special): Add
9406 [$(build-shared) = yes && subdir] (tests): Do not depend on
9408 * Rules (tests): Depend on $(tests-special).
9409 (xtests): Depend on $(xtests-special).
9410 * catgets/Makefile (tests): Change dependencies to ....
9411 (tests-special): ... additions to this variable.
9412 * conform/Makefile (tests): Change dependencies to ....
9413 (tests-special): ... additions to this variable.
9414 * elf/Makefile (tests): Change dependencies to ....
9415 (tests-special): ... additions to this variable.
9416 * grp/Makefile (tests): Change dependencies to ....
9417 (tests-special): ... additions to this variable.
9418 * iconv/Makefile (xtests): Change dependencies to ....
9419 (xtests-special): ... additions to this variable.
9420 * iconvdata/Makefile (tests): Change dependencies to ....
9421 (tests-special): ... additions to this variable.
9422 * intl/Makefile (tests): Change dependencies to ....
9423 (tests-special): ... additions to this variable. Also add
9424 $(objpfx)tst-gettext.out.
9425 * io/Makefile (tests): Change dependencies to ....
9426 (tests-special): ... additions to this variable.
9427 * libio/Makefile (tests): Change dependencies to ....
9428 (tests-special): ... additions to this variable.
9429 * malloc/Makefile (tests): Change dependencies to ....
9430 (tests-special): ... additions to this variable.
9431 * misc/Makefile (tests): Change dependencies to ....
9432 (tests-special): ... additions to this variable.
9433 * nptl/Makefile (tests): Change dependencies to ....
9434 (tests-special): ... additions to this variable.
9435 * nptl_db/Makefile (tests): Change dependencies to ....
9436 (tests-special): ... additions to this variable.
9437 * posix/Makefile (tests): Change dependencies to ....
9438 (tests-special): ... additions to this variable.
9439 (xtests): Change dependencies to ....
9440 (xtests-special): ... additions to this variable.
9441 * resolv/Makefile (tests): Change dependencies to ....
9442 (tests-special): ... additions to this variable.
9443 (xtests): Change dependencies to ....
9444 (xtests-special): ... additions to this variable.
9445 * stdio-common/Makefile (tests): Change dependencies to ....
9446 (tests-special): ... additions to this variable.
9447 (do-tst-unbputc): Remove target.
9448 (do-tst-printf): Likewise.
9449 * stdlib/Makefile (tests): Change dependencies to ....
9450 (tests-special): ... additions to this variable.
9451 * string/Makefile (tests): Change dependencies to ....
9452 (tests-special): ... additions to this variable.
9453 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9454 (tests-special): ... additions to this variable.
9456 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9458 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9460 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9461 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9463 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9464 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9465 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9466 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9467 * conform/data/libgen.h-data [XPG3]: Likewise.
9468 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9469 * conform/data/ndbm.h-data [XPG3]: Likewise.
9470 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9471 * conform/data/netdb.h-data [XPG3]: Likewise.
9472 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9473 * conform/data/poll.h-data [XPG3]: Likewise.
9474 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9475 * conform/data/strings.h-data [XPG3]: Likewise.
9476 * conform/data/stropts.h-data [XPG3]: Likewise.
9477 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9478 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9479 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9481 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9482 * conform/data/sys/time.h-data [XPG3]: Likewise.
9483 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9484 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9485 * conform/data/sys/un.h-data [XPG3]: Likewise.
9486 * conform/data/syslog.h-data [XPG3]: Likewise.
9487 * conform/data/ucontext.h-data [XPG3]: Likewise.
9488 * conform/data/utmpx.h-data [XPG3]: Likewise.
9489 * conform/data/varargs.h-data [UNIX98]: Enable file.
9491 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9493 * math/libm-test.inc (struct test_f_f_data): Move expected results
9494 into structure for each rounding mode.
9495 (struct test_ff_f_data): Likewise.
9496 (struct test_ff_f_data_nexttoward): Likewise.
9497 (struct test_fi_f_data): Likewise.
9498 (struct test_fl_f_data): Likewise.
9499 (struct test_if_f_data): Likewise.
9500 (struct test_fff_f_data): Likewise.
9501 (struct test_c_f_data): Likewise.
9502 (struct test_f_f1_data): Likewise.
9503 (struct test_fF_f1_data): Likewise.
9504 (struct test_ffI_f1_data): Likewise.
9505 (struct test_c_c_data): Likewise.
9506 (struct test_cc_c_data): Likewise.
9507 (struct test_f_i_data): Likewise.
9508 (struct test_ff_i_data): Likewise.
9509 (struct test_f_l_data): Likewise.
9510 (struct test_f_L_data): Likewise.
9511 (struct test_fFF_11_data): Likewise.
9513 (RM_FE_DOWNWARD): Likewise.
9514 (RM_FE_TONEAREST): Likewise.
9515 (RM_FE_TOWARDZERO): Likewise.
9516 (RM_FE_UPWARD): Likewise.
9517 (RUN_TEST_LOOP_f_f): Update references to expected results.
9518 (RUN_TEST_LOOP_2_f): Likewise.
9519 (RUN_TEST_LOOP_fff_f): Likewise.
9520 (RUN_TEST_LOOP_c_f): Likewise.
9521 (RUN_TEST_LOOP_f_f1): Likewise.
9522 (RUN_TEST_LOOP_fF_f1): Likewise.
9523 (RUN_TEST_LOOP_fI_f1): Likewise.
9524 (RUN_TEST_LOOP_ffI_f1): Likewise.
9525 (RUN_TEST_LOOP_c_c): Likewise.
9526 (RUN_TEST_LOOP_cc_c): Likewise.
9527 (RUN_TEST_LOOP_f_i): Likewise.
9528 (RUN_TEST_LOOP_f_i_tg): Likewise.
9529 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9530 (RUN_TEST_LOOP_f_b): Likewise.
9531 (RUN_TEST_LOOP_f_b_tg): Likewise.
9532 (RUN_TEST_LOOP_f_l): Likewise.
9533 (RUN_TEST_LOOP_f_L): Likewise.
9534 (RUN_TEST_LOOP_fFF_11): Likewise.
9535 * math/gen-libm-test.pl (parse_args): Output four copies of
9536 expected results for each test.
9538 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9539 (__ASSUME_UTIMES): Remove.
9540 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9541 (__ASSUME_UTIMES): Likewise.
9543 * math/gen-auto-libm-tests.c: Update comment on output format.
9544 (output_for_one_input_case): Generate before-rounding and
9545 after-rounding information as conditions on output flags not
9546 floating-point format.
9547 * math/auto-libm-test-out: Regenerated.
9548 * math/gen-libm-test.pl (cond_value): New function.
9549 (or_cond_value): Use cond_value.
9550 (generate_testfile): Handle conditional exceptions.
9552 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9554 * math/libm-test.inc (max_valid_error): New variable.
9555 (init_max_error): Take new argument specifying whether function
9556 results are exactly determined. Set max_valid_error and bound
9557 other variables for errors based on this argument.
9558 (set_max_error): Do not record results above max_valid_error.
9559 (check_float_internal): Only accept errors of up to 0.5ulps if
9560 also at most max_valid_error.
9561 (START): Take new argument EXACT and pass it to init_max_error.
9562 (acos_test): Update call to START.
9563 (acos_test_tonearest): Likewise.
9564 (acos_test_towardzero): Likewise.
9565 (acos_test_downward): Likewise.
9566 (acos_test_upward): Likewise.
9567 (acosh_test): Likewise.
9568 (asin_test): Likewise.
9569 (asin_test_tonearest): Likewise.
9570 (asin_test_towardzero): Likewise.
9571 (asin_test_downward): Likewise.
9572 (asin_test_upward): Likewise.
9573 (asinh_test): Likewise.
9574 (atan_test): Likewise.
9575 (atanh_test): Likewise.
9576 (atan2_test): Likewise.
9577 (cabs_test): Likewise.
9578 (cacos_test): Likewise.
9579 (cacosh_test): Likewise.
9580 (carg_test): Likewise.
9581 (casin_test): Likewise.
9582 (casinh_test): Likewise.
9583 (catan_test): Likewise.
9584 (catanh_test): Likewise.
9585 (cbrt_test): Likewise.
9586 (ccos_test): Likewise.
9587 (ccosh_test): Likewise.
9588 (ceil_test): Likewise.
9589 (cexp_test): Likewise.
9590 (cimag_test): Likewise.
9591 (clog_test): Likewise.
9592 (clog10_test): Likewise.
9593 (conj_test): Likewise.
9594 (copysign_test): Likewise.
9595 (cos_test): Likewise.
9596 (cos_test_tonearest): Likewise.
9597 (cos_test_towardzero): Likewise.
9598 (cos_test_downward): Likewise.
9599 (cos_test_upward): Likewise.
9600 (cosh_test): Likewise.
9601 (cosh_test_tonearest): Likewise.
9602 (cosh_test_towardzero): Likewise.
9603 (cosh_test_downward): Likewise.
9604 (cosh_test_upward): Likewise.
9605 (cpow_test): Likewise.
9606 (cproj_test): Likewise.
9607 (creal_test): Likewise.
9608 (csin_test): Likewise.
9609 (csinh_test): Likewise.
9610 (csqrt_test): Likewise.
9611 (ctan_test): Likewise.
9612 (ctan_test_tonearest): Likewise.
9613 (ctan_test_towardzero): Likewise.
9614 (ctan_test_downward): Likewise.
9615 (ctan_test_upward): Likewise.
9616 (ctanh_test): Likewise.
9617 (ctanh_test_tonearest): Likewise.
9618 (ctanh_test_towardzero): Likewise.
9619 (ctanh_test_downward): Likewise.
9620 (ctanh_test_upward): Likewise.
9621 (erf_test): Likewise.
9622 (erfc_test): Likewise.
9623 (exp_test): Likewise.
9624 (exp_test_tonearest): Likewise.
9625 (exp_test_towardzero): Likewise.
9626 (exp_test_downward): Likewise.
9627 (exp_test_upward): Likewise.
9628 (exp10_test): Likewise.
9629 (exp10_test_tonearest): Likewise.
9630 (exp10_test_towardzero): Likewise.
9631 (exp10_test_downward): Likewise.
9632 (exp10_test_upward): Likewise.
9633 (pow10_test): Likewise.
9634 (exp2_test): Likewise.
9635 (expm1_test): Likewise.
9636 (expm1_test_tonearest): Likewise.
9637 (expm1_test_towardzero): Likewise.
9638 (expm1_test_downward): Likewise.
9639 (expm1_test_upward): Likewise.
9640 (fabs_test): Likewise.
9641 (fdim_test): Likewise.
9642 (floor_test): Likewise.
9643 (fma_test): Likewise.
9644 (fma_test_towardzero): Likewise.
9645 (fma_test_downward): Likewise.
9646 (fma_test_upward): Likewise.
9647 (fmax_test): Likewise.
9648 (fmin_test): Likewise.
9649 (fmod_test): Likewise.
9650 (fpclassify_test): Likewise.
9651 (frexp_test): Likewise.
9652 (hypot_test): Likewise.
9653 (ilogb_test): Likewise.
9654 (isfinite_test): Likewise.
9655 (finite_test): Likewise.
9656 (isgreater_test): Likewise.
9657 (isgreaterequal_test): Likewise.
9658 (isinf_test): Likewise.
9659 (isless_test): Likewise.
9660 (islessequal_test): Likewise.
9661 (islessgreater_test): Likewise.
9662 (isnan_test): Likewise.
9663 (isnormal_test): Likewise.
9664 (issignaling_test): Likewise.
9665 (isunordered_test): Likewise.
9666 (j0_test): Likewise.
9667 (j1_test): Likewise.
9668 (jn_test): Likewise.
9669 (ldexp_test): Likewise.
9670 (lgamma_test): Likewise.
9671 (gamma_test): Likewise.
9672 (lrint_test): Likewise.
9673 (lrint_test_tonearest): Likewise.
9674 (lrint_test_towardzero): Likewise.
9675 (lrint_test_downward): Likewise.
9676 (lrint_test_upward): Likewise.
9677 (llrint_test): Likewise.
9678 (llrint_test_tonearest): Likewise.
9679 (llrint_test_towardzero): Likewise.
9680 (llrint_test_downward): Likewise.
9681 (llrint_test_upward): Likewise.
9682 (log_test): Likewise.
9683 (log10_test): Likewise.
9684 (log1p_test): Likewise.
9685 (log2_test): Likewise.
9686 (logb_test): Likewise.
9687 (logb_test_downward): Likewise.
9688 (lround_test): Likewise.
9689 (llround_test): Likewise.
9690 (modf_test): Likewise.
9691 (nearbyint_test): Likewise.
9692 (nextafter_test): Likewise.
9693 (nexttoward_test): Likewise.
9694 (pow_test): Likewise.
9695 (pow_test_tonearest): Likewise.
9696 (pow_test_towardzero): Likewise.
9697 (pow_test_downward): Likewise.
9698 (pow_test_upward): Likewise.
9699 (remainder_test): Likewise.
9700 (drem_test): Likewise.
9701 (remainder_test_tonearest): Likewise.
9702 (drem_test_tonearest): Likewise.
9703 (remainder_test_towardzero): Likewise.
9704 (drem_test_towardzero): Likewise.
9705 (remainder_test_downward): Likewise.
9706 (drem_test_downward): Likewise.
9707 (remainder_test_upward): Likewise.
9708 (drem_test_upward): Likewise.
9709 (remquo_test): Likewise.
9710 (rint_test): Likewise.
9711 (rint_test_tonearest): Likewise.
9712 (rint_test_towardzero): Likewise.
9713 (rint_test_downward): Likewise.
9714 (rint_test_upward): Likewise.
9715 (round_test): Likewise.
9716 (scalb_test): Likewise.
9717 (scalbn_test): Likewise.
9718 (scalbln_test): Likewise.
9719 (signbit_test): Likewise.
9720 (sin_test): Likewise.
9721 (sin_test_tonearest): Likewise.
9722 (sin_test_towardzero): Likewise.
9723 (sin_test_downward): Likewise.
9724 (sin_test_upward): Likewise.
9725 (sincos_test): Likewise.
9726 (sinh_test): Likewise.
9727 (sinh_test_tonearest): Likewise.
9728 (sinh_test_towardzero): Likewise.
9729 (sinh_test_downward): Likewise.
9730 (sinh_test_upward): Likewise.
9731 (sqrt_test): Likewise.
9732 (sqrt_test_tonearest): Likewise.
9733 (sqrt_test_towardzero): Likewise.
9734 (sqrt_test_downward): Likewise.
9735 (sqrt_test_upward): Likewise.
9736 (tan_test): Likewise.
9737 (tan_test_tonearest): Likewise.
9738 (tan_test_towardzero): Likewise.
9739 (tan_test_downward): Likewise.
9740 (tan_test_upward): Likewise.
9741 (tanh_test): Likewise.
9742 (tgamma_test): Likewise.
9743 (trunc_test): Likewise.
9744 (y0_test): Likewise.
9745 (y1_test): Likewise.
9746 (yn_test): Likewise.
9747 (significand_test): Likewise.
9749 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9750 individual tests in comment.
9751 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9752 (prev_max_error): New variable.
9753 (prev_real_max_error): Likewise.
9754 (prev_imag_max_error): Likewise.
9755 (compare_ulp_data): Don't refer to test names in comment.
9756 (find_test_ulps): Remove function.
9757 (find_function_ulps): Likewise.
9758 (find_complex_function_ulps): Likewise.
9759 (init_max_error): Take function name as argument. Look up ulps
9761 (print_ulps): Remove function.
9762 (print_max_error): Use prev_max_error instead of calling
9764 (print_complex_max_error): Use prev_real_max_error and
9765 prev_imag_max_error instead of calling find_complex_function_ulps.
9766 (check_float_internal): Take max_ulp parameter instead of calling
9767 find_test_ulps. Don't call print_ulps.
9768 (check_float): Update call to check_float_internal.
9769 (check_complex): Update calls to check_float_internal.
9770 (START): Pass argument to init_max_error.
9771 * math/gen-libm-test.pl (%results): Don't include "kind"
9773 (parse_ulps): Don't handle ulps of individual tests.
9774 (print_ulps_file): Likewise.
9775 (output_ulps): Likewise.
9776 * math/README.libm-test: Update.
9777 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9779 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9780 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9781 * sysdeps/arm/libm-test-ulps: Likewise.
9782 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9783 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9784 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9785 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9786 * sysdeps/microblaze/libm-test-ulps: Likewise.
9787 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9788 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9789 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9790 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9791 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9792 * sysdeps/sh/libm-test-ulps: Likewise.
9793 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9794 * sysdeps/tile/libm-test-ulps: Likewise.
9795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9797 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9799 * math/libm-test.inc (print_complex_max_error): Check separately
9800 whether real and imaginary errors are within allowed range and
9801 pass 0 to print_complex_function_ulps instead of value within
9804 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9806 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9808 (get_handles_fopen): Likewise.
9809 (do_write_test): Likewise.
9811 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9813 * libio/fileops.c (do_ftell): Use cached offset when
9815 * libio/iofwide.c (do_ftell_wide): Likewise.
9816 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9818 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9821 * libio/libioP.h (get_file_offset): New function.
9822 * libio/fileops.c (get_file_offset): Likewise.
9823 (do_ftell): Likewise.
9824 (_IO_new_file_seekoff): Split out ftell logic.
9825 * libio/wfileops.c (do_ftell_wide): Likewise.
9826 (_IO_wfile_seekoff): Split out ftell logic.
9827 * libio/tst-ftell-active-handler.c: New test case.
9828 * libio/Makefile (tests): Add it.
9830 2014-03-03 Roland McGrath <roland@hack.frob.com>
9832 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9833 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9835 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9838 * nscd/connections.c (nscd_init): Call do_exit.
9839 (start_threads): Call do_exit and notify_parent.
9840 (begin_drop_privileges): Call do_exit.
9841 (finish_drop_privileges): Likewise.
9842 * nscd/selinux.c (preserve_capabilities): Likewise.
9843 (install_real_capabilities): Likewise.
9844 (nscd_selinux_enabled): Likewise.
9845 (avc_create_thread): Likewise.
9846 (avc_alloc_lock): Likewise.
9847 (nscd_avc_init): Likewise.
9848 * nscd/nscd.c (parent_fd): New static variable.
9849 (main): Create a pipe between parent and child processes.
9850 Skip closing parent_fd.
9851 (monitor_child): New function.
9852 (do_exit): Likewise.
9853 (notify_parent): Likewise.
9854 * nscd/nscd.h (notify_parent): Likewise.
9855 (do_exit): Likewise.
9857 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9859 * malloc/malloc.c (__libc_calloc): Revert last change.
9861 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9865 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9867 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9871 (__libc_ifunc_impl_list): Likewise.
9872 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9873 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9874 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9875 * string/strrchr.c: Define STRRCHR.
9877 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9879 * benchtest/bench-strtok.c (simple_strtok): Delete.
9880 (strtok_string): Use as benchmark.
9881 * string/strtok (STRTOK): New macro.
9883 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9885 * manual/threads.texi: Add header and standard comments to all
9888 * elf/dl-lookup.c (check_match): New function.
9889 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9890 (do_lookup_x): Remove nested function check_match. Use non-nested
9891 function check_match.
9893 2014-02-28 Roland McGrath <roland@hack.frob.com>
9895 * csu/Makefile (generated, before-compile): Use += rather than =.
9896 * catgets/Makefile (generated, generated-dirs): Likewise.
9897 * debug/Makefile (generated): Likewise.
9898 * dlfcn/Makefile (generated): Likewise.
9899 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9900 * iconvdata/Makefile (before-compile, generated): Likewise.
9901 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9902 * libio/Makefile (generated): Likewise.
9903 * malloc/Makefile (generated): Likewise.
9904 * manual/Makefile (generated, generated-dirs): Likewise.
9905 * misc/Makefile (generated): Likewise.
9906 * posix/Makefile (generated): Likewise.
9907 * resolv/Makefile (generated): Likewise.
9908 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9909 * timezone/Makefile (generated, generated-dirs): Likewise.
9911 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9913 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9916 power8 implementation.
9917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9918 file: POWER8 llround ifunc implementation.
9919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9920 (__lllround): Add POWER8 implementation.
9921 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9922 POWER8 llround implementation.
9924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9925 power8 implementation.
9926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9927 file: POWER8 llrint ifunc implementation.
9928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9929 Add POWER8 implementation.
9930 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9931 POWER8 llrint implementation.
9933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9934 power8 implementation.
9935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9936 file: POWER8 finite ifunc implementation.
9937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9938 Add POWER8 implementation.
9939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9941 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9942 POWER8 finite implementation.
9943 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9946 power8 implementation.
9947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9948 file: POWER8 isinf ifunc implementation.
9949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9950 POWER8 implementation.
9951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9953 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9954 isinf implementation.
9955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9957 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9958 (INIT_ARCH): Add hwcap2 initialization.
9959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9960 power8 implementation.
9961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9962 file: POWER8 isnan ifunc implementation.
9963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9964 POWER8 implementation.
9965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9967 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9968 isnan implementation.
9969 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9971 2014-02-27 Joey Ye <joey.ye@arm.com>
9973 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9974 (_FP_NANFRAC_Q): Set to zero.
9976 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9979 * math/auto-libm-test-in: New test inputs.
9980 * math/auto-libm-test-out: Regenerate.
9981 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9984 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9986 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9988 * scripts/evaluate-test.sh: Take new argument indicating whether
9989 failure is expected.
9990 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9991 indicating whether failure is expected.
9992 * conform/Makefile (test-xfail-run-conformtest): New variable.
9993 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9995 * posix/Makefile (test-xfail-annexc): New variable.
9996 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9998 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10000 * argp/Makefile: Include Makeconfig immediately after defining
10002 * assert/Makefile: Likewise.
10003 * benchtests/Makefile: Likewise.
10004 * catgets/Makefile: Likewise.
10005 * conform/Makefile: Likewise.
10006 * crypt/Makefile: Likewise.
10007 * csu/Makefile: Likewise.
10008 (all): Remove target.
10009 * ctype/Makefile: Include Makeconfig immediately after defining
10011 * debug/Makefile: Likewise.
10012 * dirent/Makefile: Likewise.
10013 * dlfcn/Makefile: Likewise.
10014 * gmon/Makefile: Likewise.
10015 * gnulib/Makefile: Likewise.
10016 * grp/Makefile: Likewise.
10017 * gshadow/Makefile: Likewise.
10018 * hesiod/Makefile: Likewise.
10019 * hurd/Makefile: Likewise.
10020 (all): Remove target.
10021 * iconvdata/Makefile: Include Makeconfig immediately after
10023 * inet/Makefile: Likewise.
10024 * intl/Makefile: Likewise.
10025 * io/Makefile: Likewise.
10026 * libio/Makefile: Likewise.
10027 (all): Remove target.
10028 * locale/Makefile: Include Makeconfig immediately after defining
10030 * login/Makefile: Likewise.
10031 * mach/Makefile: Likewise.
10032 (all): Remove target.
10033 * malloc/Makefile: Include Makeconfig immediately after defining
10035 (all): Remove target.
10036 * manual/Makefile: Include Makeconfig immediately after defining
10038 * math/Makefile: Likewise.
10039 * misc/Makefile: Likewise.
10040 * nis/Makefile: Likewise.
10041 * nss/Makefile: Likewise.
10042 * po/Makefile: Likewise.
10043 (all): Remove target.
10044 * posix/Makefile: Include Makeconfig immediately after defining
10046 * pwd/Makefile: Likewise.
10047 * resolv/Makefile: Likewise.
10048 * resource/Makefile: Likewise.
10049 * rt/Makefile: Likewise.
10050 * setjmp/Makefile: Likewise.
10051 * shadow/Makefile: Likewise.
10052 * signal/Makefile: Likewise.
10053 * socket/Makefile: Likewise.
10054 * soft-fp/Makefile: Likewise.
10055 * stdio-common/Makefile: Likewise.
10056 * stdlib/Makefile: Likewise.
10057 * streams/Makefile: Likewise.
10058 * string/Makefile: Likewise.
10059 * sunrpc/Makefile: Likewise.
10060 (all): Remove target.
10061 * sysvipc/Makefile: Include Makeconfig immediately after defining
10063 * termios/Makefile: Likewise.
10064 * time/Makefile: Likewise.
10065 * timezone/Makefile: Likewise.
10066 (all): Remove target.
10067 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10069 * wctype/Makefile: Likewise.
10071 2014-02-26 Steve Ellcey <sellcey@mips.com>
10073 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10074 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10075 (libc_feholdexcept_setround_mips): Ditto.
10076 (libc_feholdsetround): New.
10077 (libc_feholdsetroundf): New.
10078 (libc_feholdsetroundl): New.
10079 (libc_feupdateenv_test_mips): New.
10080 (libc_feupdateenv_test): New.
10081 (libc_feupdateenv_testf): New.
10082 (libc_feupdateenv_testl): New.
10083 (libc_feresetround): New.
10084 (libc_feresetroundf): New.
10085 (libc_feresetroundl): New.
10086 (libc_fetestexcept_mips): New.
10087 (libc_fetestexcept): New.
10088 (libc_fetestexceptf): New.
10089 (libc_fetestexceptl): New.
10090 (HAVE_RM_CTX): New.
10091 (libc_feholdexcept_setround_mips_ctx): New.
10092 (libc_feholdexcept_setround_ctx): New.
10093 (libc_feholdexcept_setroundf_ctx): New.
10094 (libc_feholdexcept_setroundl_ctx): New.
10095 (libc_fesetenv_mips_ctx): New.
10096 (libc_fesetenv_ctx): New.
10097 (libc_fesetenv_ctxf): New.
10098 (libc_fesetenv_ctxl): New.
10099 (libc_feupdateenv_mips_ctx): New.
10100 (libc_feupdateenv_ctx): New.
10101 (libc_feupdateenvf_ctx): New.
10102 (libc_feupdateenvl_ctx): New.
10103 (libc_feholdsetround_mips_ctx): New.
10104 (libc_feholdsetround_ctx): New.
10105 (libc_feholdsetroundf_ctx): New.
10106 (libc_feholdsetroundl_ctx): New.
10107 (libc_feresetround_mips_ctx): New.
10108 (libc_feresetround_ctx): New.
10109 (libc_feresetroundf_ctx): New.
10110 (libc_feresetroundl_ctx): New.
10112 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10114 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10116 * manual/ipc.texi: New file.
10117 * manual/Makefile (chapters): Add ipc.
10118 * manual/job.texi: Add "Inter-Process Communication" to next.
10119 * manual/process.texi: Add "Inter-Process Communication" to prev.
10121 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10125 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10127 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10129 * manual/arith.texi: Fix spaces after sentences.
10130 * manual/charset.texi: Likewise.
10131 * manual/errno.texi: Likewise.
10132 * manual/install.texi: Likewise.
10133 * manual/llio.texi: Likewise.
10134 * manual/locale.texi: Likewise.
10135 * manual/maint.texi: Likewise.
10136 * manual/math.texi: Likewise.
10137 * manual/memory.texi: Likewise.
10138 * manual/message.texi: Likewise.
10139 * manual/probes.texi: Likewise.
10140 * manual/resource.texi: Likewise.
10141 * manual/signal.texi: Likewise.
10142 * manual/socket.texi: Likewise.
10143 * manual/stdio.texi: Likewise.
10144 * manual/string.texi: Likewise.
10145 * manual/time.texi: Likewise.
10146 * manual/users.texi: Likewise.
10148 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10151 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10152 _DEFAULT_SOURCE is defined.
10154 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10155 Carlos O'Donell <carlos@redhat.com>
10158 * elf/dl-tls.c (_dl_count_modids): New function.
10159 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10160 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10161 audit library and increment generation counter.
10162 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10163 * elf/tst-audit9.c: New file.
10164 * elf/tst-auditmod9a.c: New file.
10165 * elf/tst-auditmod9b.c: New file.
10166 * elf/Makefile: Add rules to build and run tst-audit9.
10168 2014-02-25 Florian Weimer <fweimer@redhat.com>
10171 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10173 2014-02-25 Will Newton <will.newton@linaro.org>
10175 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10176 (__longjmp): Restore sp and lr before restoring callee
10177 saved registers. Add longjmp and longjmp_target
10178 SystemTap probe point.
10179 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10180 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10181 Define to zero to match jmpbuf layout.
10182 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10183 (__sigsetjmp): Save sp and lr before saving callee
10184 saved registers. Add setjmp SystemTap probe point.
10186 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10188 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10190 2014-02-24 Andreas Schwab <schwab@suse.de>
10193 * elf/pldd.c (wait_for_ptrace_stop): New function.
10194 (main): Call it after attaching.
10196 2014-02-22 Roland McGrath <roland@hack.frob.com>
10198 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10199 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10200 Versions files is now verboten.
10201 * hurd/Versions (libc: GLIBC_2.0):
10202 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10203 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10204 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10205 * mach/Versions: Likewise.
10207 * csu/Versions: Remove unused %include.
10208 * resolv/Versions: Likewise.
10210 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10212 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10213 ($(objpfx)check-local-headers.out): Likewise.
10214 ($(objpfx)begin-end-check.out): Likewise.
10215 * Makerules (check-abi-%.out): Likewise.
10216 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10217 ($(objpfx)test2.cat): Likewise.
10218 ($(objpfx)de/libc.cat): Likewise.
10219 ($(objpfx)test-gencat.out): Likewise.
10220 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10221 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10222 ($(objpfx)noload-mem): Likewise.
10223 ($(objpfx)tst-pathopt.out): Likewise.
10224 ($(objpfx)tst-rtld-load-self.out): Likewise.
10225 ($(objpfx)tst-array1-cmp.out): Likewise.
10226 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10227 ($(objpfx)tst-array2-cmp.out): Likewise.
10228 ($(objpfx)tst-array3-cmp.out): Likewise.
10229 ($(objpfx)tst-array4-cmp.out): Likewise.
10230 ($(objpfx)tst-array5-cmp.out): Likewise.
10231 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10232 ($(objpfx)check-textrel.out): Likewise.
10233 ($(objpfx)check-execstack.out): Likewise.
10234 ($(objpfx)check-localplt.out): Likewise.
10235 ($(objpfx)order2-cmp.out): Likewise.
10236 ($(objpfx)tst-leaks1-mem): Likewise.
10237 ($(objpfx)tst-leaks1-static-mem): Likewise.
10238 ($(objpfx)tst-initorder-cmp.out): Likewise.
10239 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10240 ($(objpfx)tst-unused-dep.out): Likewise.
10241 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10242 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10243 * iconv/Makefile (test-iconvconfig): Likewise.
10244 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10245 ($(objpfx)iconv-test.out): Likewise.
10246 ($(objpfx)tst-tables.out): Likewise.
10247 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10248 ($(objpfx)tst-gettext.out): Likewise.
10249 ($(objpfx)tst-translit.out): Likewise.
10250 ($(objpfx)tst-gettext2.out): Likewise.
10251 ($(objpfx)tst-gettext4.out): Likewise.
10252 ($(objpfx)tst-gettext6.out): Likewise.
10253 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10254 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10255 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10256 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10257 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10258 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10259 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10260 ($(objpfx)wordexp-tst.out): Likewise.
10261 ($(objpfx)annexc.out): Likewise.
10262 ($(objpfx)tst-fnmatch-mem): Likewise.
10263 ($(objpfx)bug-regex2-mem): Likewise.
10264 ($(objpfx)bug-regex14-mem): Likewise.
10265 ($(objpfx)bug-regex21-mem): Likewise.
10266 ($(objpfx)bug-regex31-mem): Likewise.
10267 ($(objpfx)tst-vfork3-mem): Likewise.
10268 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10269 ($(objpfx)tst-pcre-mem): Likewise.
10270 ($(objpfx)tst-boost-mem): Likewise.
10271 ($(objpfx)tst-getconf.out): Likewise.
10272 ($(objpfx)bug-ga2-mem): Likewise.
10273 ($(objpfx)bug-glob2-mem): Likewise.
10274 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10275 ($(objpfx)mtrace-tst-leaks2): Likewise.
10276 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10277 ($(objpfx)tst-printf.out): Likewise.
10278 ($(objpfx)tst-setvbuf1.out): Likewise.
10279 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10280 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10281 ($(objpfx)tst-fmtmsg.out): Likewise.
10282 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10283 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10285 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10286 * bits/sigaction.h [__USE_MISC]: Likewise.
10287 * bits/waitstatus.h: Update #endif comments.
10288 * ctype/ctype.h: Likewise.
10289 * dirent/dirent.h: Likewise.
10290 [__USE_MISC]: Remove redundant conditionals.
10291 * grp/grp.h: Update #endif comments.
10292 [__USE_GNU]: Remove redundant conditionals.
10293 [__USE_MISC]: Likewise.
10294 * inet/netinet/in.h [__USE_GNU]: Likewise.
10295 * io/sys/stat.h [__USE_MISC]: Likewise.
10296 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10297 * libio/bits/stdio.h: Update #endif comments.
10298 [__USE_MISC]: Remove redundant conditionals.
10299 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10300 * libio/stdio.h: Update #endif comments.
10301 [__USE_MISC]: Remove redundant conditionals.
10302 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10303 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10304 * math/math.h: Update #else and #endif comments.
10305 [__USE_MISC]: Remove redundant conditionals.
10306 * misc/sys/uio.h: Update #endif comments.
10307 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10308 * posix/glob.h [__USE_MISC]: Likewise.
10309 * posix/sys/types.h: Update #endif comments.
10310 [__USE_MISC]: Remove redundant conditionals.
10311 * posix/sys/wait.h: Update #endif comments.
10312 [__USE_MISC]: Remove redundant conditionals.
10313 * posix/unistd.h: Update #endif comments.
10314 [__USE_MISC]: Remove redundant conditionals.
10315 * pwd/pwd.h [__USE_GNU]: Likewise.
10316 [__USE_MISC]: Likewise.
10317 * resolv/netdb.h [__USE_GNU]: Likewise.
10318 * signal/signal.h: Update #endif comments.
10319 [__USE_MISC]: Remove redundant conditionals.
10320 * stdlib/stdlib.h: Update #else and #endif comments.
10321 [__USE_MISC]: Remove redundant conditionals.
10322 [__USE_GNU]: Likewise.
10323 * string/bits/string2.h [__USE_MISC]: Likewise.
10324 * string/string.h: Update #endif comments.
10325 [__USE_MISC]: Remove redundant conditionals.
10326 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10328 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10329 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10330 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10332 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10334 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10336 [__USE_MISC]: Remove redundant conditionals.
10337 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10338 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10339 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10340 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10341 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10343 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10344 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10346 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10347 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10349 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10351 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10352 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10354 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10356 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10357 * sysdeps/x86/bits/string.h: Update #endif comments.
10358 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10360 * time/sys/time.h: Update #endif comments.
10361 * time/time.h: Likewise.
10362 [__USE_MISC]: Remove redundant conditionals.
10364 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10367 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10369 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10371 * Versions.def (librt): Add GLIBC_2.17.
10373 2014-02-21 Adam Conrad <adconrad@0c3.net>
10375 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10376 synonym for _SYS_AUXV_H to allow direct inclusion.
10377 * sysdeps/sparc/bits/hwcap.h: Likewise.
10378 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10379 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10380 * sysdeps/sparc/sysdep.h: Likewise.
10382 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10384 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10386 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10388 * benchtests/bench-strrchr.c: Print length instead of position.
10390 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10393 * sysdeps/unix/sysv/linux/kernel-features.h
10394 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10395 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10396 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10397 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10399 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10400 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10401 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10402 (__ASSUME_SENDMMSG): Define instead of using previous
10403 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10404 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10405 (__ASSUME_SENDMMSG_SYSCALL): Define.
10406 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10407 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10409 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10410 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10412 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10413 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10415 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10416 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10417 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10418 [__ASSUME_SENDMMSG]: Change conditionals to
10419 [__ASSUME_SENDMMSG_SOCKETCALL].
10420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10421 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10423 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10424 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10426 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10427 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10428 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10429 [!__ASSUME_SENDMMSG]: Change conditional to
10430 [!__ASSUME_SENDMMSG_SOCKETCALL].
10431 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10432 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10436 * sysdeps/unix/sysv/linux/kernel-features.h
10437 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10438 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10439 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10440 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10441 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10442 [__i386__ || __sparc__]
10443 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10444 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10445 (__ASSUME_RECVMMSG): Define instead of using previous
10446 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10447 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10448 (__ASSUME_RECVMMSG_SYSCALL): Define.
10449 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10450 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10452 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10453 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10455 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10456 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10458 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10459 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10460 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10461 [__ASSUME_RECVMMSG]: Change condition to
10462 [__ASSUME_RECVMMSG_SOCKETCALL].
10463 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10464 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10466 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10467 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10468 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10470 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10471 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10472 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10473 [!__ASSUME_RECVMMSG]: Change condition to
10474 [!__ASSUME_RECVMMSG_SOCKETCALL].
10475 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10476 (__ASSUME_RECVMMSG_SYSCALL): Define.
10479 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10480 __powerpc__ || __s390__ || __sh__ || __sparc__]
10481 (__ASSUME_SOCKETCALL): Define.
10482 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10483 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10484 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10485 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10486 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10487 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10488 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10489 (__ASSUME_ACCEPT4): Define instead of using previous
10490 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10491 __powerpc__ || __sparc__ || __s390__)] condition.
10492 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10493 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10494 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10495 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10496 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10497 [!__ASSUME_ACCEPT4]: Change condition to
10498 [!__ASSUME_ACCEPT4_SOCKETCALL].
10499 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10500 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10501 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10503 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10504 __ASSUME_ACCEPT4_SYSCALL.
10505 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10506 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10507 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10508 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10509 __ASSUME_ACCEPT4_SYSCALL.
10510 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10511 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10512 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10513 [__ASSUME_ACCEPT4]: Change condition to
10514 [__ASSUME_ACCEPT4_SOCKETCALL].
10515 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10516 (__ASSUME_SOCKETCALL): Define.
10517 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10519 (__ASSUME_SOCKETCALL): Define.
10520 (__ASSUME_ACCEPT4): Remove.
10521 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10523 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10524 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10526 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10527 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10529 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10531 (HWCAP_ARM_LPAE): Likewise.
10532 (HWCAP_ARM_EVTSTRM): Likewise.
10533 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10534 Add vpfd32, lpae and evtstrm.
10535 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10538 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10540 * math/auto-libm-test-in: Add tests of clog10.
10541 * math/auto-libm-test-out: Regenerated.
10542 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10543 * sysdeps/i386/fpu/libm-test-ulps: Update.
10544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10546 2014-02-18 Andreas Schwab <schwab@suse.de>
10549 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10550 Store non-zero if the second buffer was newly allocated.
10551 (send_dg): Likewise.
10552 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10553 to send_vc and send_dg.
10554 (res_nsend): Pass NULL for ansp2_malloced.
10555 * resolv/res_query.c (__libc_res_nquery): Add parameter
10556 answerp2_malloced and pass it down to __libc_res_nsend.
10557 (res_nquery): Pass additional NULL to __libc_res_nquery.
10558 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10559 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10560 second answer buffer if answerp2_malloced was set.
10561 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10562 (__libc_res_nquerydomain): Add parameter
10563 answerp2_malloced and pass it down to __libc_res_nquery.
10564 (res_nquerydomain): Pass additional NULL to
10565 __libc_res_nquerydomain.
10566 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10567 additional NULL to __libc_res_nsend and __libc_res_nquery.
10568 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10569 additional NULL to __libc_res_nsearch.
10570 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10571 parameter of __libc_res_nsearch to check for separately allocated
10573 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10575 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10576 additional NULL to __libc_res_nquery.
10577 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10578 __libc_res_nsearch.
10579 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10580 * include/resolv.h: Update prototypes of __libc_res_nquery,
10581 __libc_res_nsearch, __libc_res_nsend.
10583 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10585 * math/auto-libm-test-in: Add tests of fma.
10586 * math/auto-libm-test-out: Regenerated.
10587 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10588 (fma_towardzero_test_data): Likewise.
10589 (fma_downward_test_data): Likewise.
10590 (fma_upward_test_data): Likewise.
10591 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10593 (rounding_modes): Add values for new field.
10594 (func_calc_method): Add value mpfr_fff_f.
10595 (func_calc_desc): Add mpfr_fff_f union field.
10596 (test_function): Add field exact_args.
10597 (FUNC): Add macro argument EXACT_ARGS.
10598 (FUNC_mpfr_f_f): Update call to FUNC.
10599 (FUNC_mpfr_f_f): Likewise.
10600 (FUNC_mpfr_ff_f): Likewise.
10601 (FUNC_mpfr_if_f): Likewise.
10602 (FUNC_mpc_c_f): Likewise.
10603 (FUNC_mpc_c_c): Likewise.
10604 (test_functions): Add fma. Update calls to FUNC.
10605 (handle_input_arg): Add argument exact_args.
10606 (add_test): Update call to handle_input_arg.
10607 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10608 (output_for_one_input_case): Update call to calc_generic_results.
10609 Recalculate exact zero results in each rounding mode.
10611 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10612 non-negative before setting low bit.
10613 * math/auto-libm-test-in: Mark one asin test possibly having
10614 spurious underflow.
10615 * math/auto-libm-test-out: Regenerated.
10616 * sysdeps/i386/fpu/libm-test-ulps: Update.
10617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10619 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10621 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10622 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10623 ports/sysdeps/unix/sysv/linux/microblaze.
10624 * README: Add missing listing for microblaze*-*-linux-gnu.
10626 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10628 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10631 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10633 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10634 * sysdeps/unix/sysv/linux/ia64: Move directory from
10635 ports/sysdeps/unix/sysv/linux/ia64.
10636 * README: Update listing for ia64-*-linux-gnu.
10638 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10639 Joseph Myers <joseph@codesourcery.com>
10641 * Makeconfig (test-name): New variable.
10642 (evaluate-test): Likewise.
10643 * Makerules (do-test-clean): Remove .test-result files.
10644 (common-mostlyclean): Likewise.
10645 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10646 * scripts/evaluate-test.sh: New file.
10648 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10650 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10651 separate $(objpfx)tst-fopenloc-cmp.out and
10652 $(objpfx)tst-fopenloc-mem.out targets.
10653 (tests): Update dependencies.
10654 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10655 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10656 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10657 (tst-rxspencer-no-utf8-ARGS): New variable.
10658 (tst-rxspencer-no-utf8-ENV): Likewise.
10659 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10660 instead of $(objpfx)tst-rxspencer-mem.
10661 ($(objpfx)tst-rxspencer-mem): Change target to
10662 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10663 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10664 * posix/tst-rxspencer-no-utf8.c: New file.
10666 * elf/Makefile ($(objpfx)order.out): Remove rule.
10667 [$(run-built-tests) = yes] (tests): Depend on
10668 $(objpfx)order-cmp.out.
10669 ($(objpfx)order-cmp.out): New rule.
10670 [$(run-built-tests) = yes] (tests): Depend on
10671 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10672 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10673 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10674 $(objpfx)tst-array5-static-cmp.out.
10675 ($(objpfx)tst-array1.out): Remove rule.
10676 ($(objpfx)tst-array1-cmp.out): New rule.
10677 ($(objpfx)tst-array1-static.out): Remove rule.
10678 ($(objpfx)tst-array1-static-cmp.out): New rule.
10679 ($(objpfx)tst-array2.out): Remove rule.
10680 ($(objpfx)tst-array2-cmp.out): New rule.
10681 ($(objpfx)tst-array3.out): Remove rule.
10682 ($(objpfx)tst-array3-cmp.out): New rule.
10683 ($(objpfx)tst-array4.out): Remove rule.
10684 ($(objpfx)tst-array4-cmp.out): New rule.
10685 ($(objpfx)tst-array5.out): Remove rule.
10686 ($(objpfx)tst-array5-cmp.out): New rule.
10687 ($(objpfx)tst-array5-static.out): Remove rule.
10688 ($(objpfx)tst-array5-static-cmp.out): New rule.
10689 [$(run-built-tests) = yes] (tests): Depend on
10690 $(objpfx)order2-cmp.out.
10691 ($(objpfx)order2.out): Remove rule.
10692 ($(objpfx)order2-cmp.out): New rule.
10693 ($(objpfx)tst-initorder.out): Remove rule.
10694 [$(run-built-tests) = yes] (tests): Depend on
10695 $(objpfx)tst-initorder-cmp.out.
10696 ($(objpfx)tst-initorder-cmp.out): New rule.
10697 ($(objpfx)tst-initorder2.out): Remove rule.
10698 [$(run-built-tests) = yes] (tests): Depend on
10699 $(objpfx)tst-initorder2-cmp.out.
10700 ($(objpfx)tst-initorder2-cmp.out): New rule.
10701 [$(run-built-tests) = yes] (tests): Depend on
10702 $(objpfx)tst-unused-dep-cmp.out.
10703 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10704 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10705 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10706 on $(objpfx)tst-setvbuf1-cmp.out.
10707 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10708 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10709 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10710 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10711 ($(objpfx)tst-svc.out): Remove rule.
10712 ($(objpfx)tst-svc-cmp.out): New rule.
10714 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10716 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10717 * ctype/ctype.h [__USE_MISC]: Likewise.
10718 * dirent/dirent.h [__USE_MISC]: Likewise.
10719 * grp/grp.h [__USE_MISC]: Likewise.
10720 * io/fcntl.h [__USE_MISC]: Likewise.
10721 * io/sys/stat.h [__USE_MISC]: Likewise.
10722 * libio/stdio.h [__USE_MISC]: Likewise.
10723 * posix/unistd.h [__USE_MISC]: Likewise.
10724 * pwd/pwd.h [__USE_MISC]: Likewise.
10725 * stdlib.h [__USE_MISC]: Likewise.
10726 * string/bits/string2.h [__USE_MISC]: Likewise.
10727 * string/string.h [__USE_MISC]: Likewise.
10728 * time/time.h [__USE_MISC]: Likewise.
10730 2014-02-13 Andreas Schwab <schwab@suse.de>
10733 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10734 second answer buffer if it was separately allocated.
10736 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10738 * sysdeps/mips/math-tests.h: Include <features.h>.
10739 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10740 (ROUNDING_TESTS_long_double): Do not define.
10741 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10742 (EXCEPTION_TESTS_long_double): Likewise.
10743 * sysdeps/mips/mips64/libm-test-ulps: Update.
10745 * include/features.h (__USE_BSD): Remove macro definitions.
10746 (__USE_SVID): Likewise.
10747 (_BSD_SOURCE): Likewise.
10748 (_SVID_SOURCE): Likewise.
10749 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10750 from definition of _DEFAULT_SOURCE.
10751 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10753 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10754 * bits/mman.h [__USE_BSD]: Likewise.
10755 * bits/termios.h [__USE_BSD]: Likewise.
10756 * bits/waitstatus.h [__USE_BSD]: Likewise.
10757 * ctype/ctype.h [__USE_SVID]: Likewise.
10758 * dirent/dirent.h [__USE_BSD]: Likewise.
10759 * grp/grp.h [__USE_SVID]: Likewise.
10760 [__USE_BSD]: Likewise.
10761 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10762 * io/fcntl.h [__USE_BSD]: Likewise.
10763 * io/ftw.h [__USE_BSD]: Likewise.
10764 * io/sys/stat.h [__USE_BSD]: Likewise.
10765 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10766 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10767 * libio/stdio.h [__USE_SVID]: Likewise.
10768 [__USE_BSD]: Likewise.
10769 * math/math.h [__USE_SVID]: Likewise.
10770 [__USE_BSD]: Likewise.
10771 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10772 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10773 * misc/search.h [__USE_SVID]: Likewise.
10774 * misc/sys/mman.h [__USE_BSD]: Likewise.
10775 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10776 * misc/sys/uio.h [__USE_BSD]: Likewise.
10777 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10778 * posix/glob.h [__USE_BSD]: Likewise.
10779 * posix/regex.h [__USE_BSD]: Likewise.
10780 * posix/sys/types.h [__USE_BSD]: Likewise.
10781 [__USE_SVID]: Likewise.
10782 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10783 * posix/sys/wait.h [__USE_BSD]: Likewise.
10784 [__USE_SVID]: Likewise.
10785 * posix/unistd.h [__USE_BSD]: Likewise.
10786 [__USE_SVID]: Likewise.
10787 * pwd/pwd.h [__USE_SVID]: Likewise.
10788 * resolv/netdb.h [__USE_BSD]: Likewise.
10789 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10790 * signal/signal.h [__USE_BSD]: Likewise.
10791 [__USE_SVID]: Likewise.
10792 * socket/sys/socket.h [__USE_BSD]: Likewise.
10793 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10794 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10795 [__USE_SVID]: Likewise.
10796 * string/bits/string2.h [__USE_BSD]: Likewise.
10797 [__USE_SVID]: Likewise.
10798 * string/bits/string3.h [__USE_BSD]: Likewise.
10799 * string/endian.h [__USE_BSD]: Likewise.
10800 * string/string.h [__USE_SVID]: Likewise.
10801 [__USE_BSD]: Likewise.
10802 * string/strings.h [__USE_BSD]: Likewise.
10803 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10804 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10805 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10806 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10807 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10808 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10810 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10812 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10813 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10815 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10816 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10818 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10820 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10821 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10822 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10824 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10826 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10827 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10828 * termios/termios.h [__USE_BSD]: Likewise.
10829 * time/sys/time.h [__USE_BSD]: Likewise.
10830 * time/time.h [__USE_BSD]: Likewise.
10831 [__USE_SVID]: Likewise.
10833 * Makefile (subdir_targets): Remove subdir_lint.out.
10835 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10836 (do-tst-printf): Likewise.
10837 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10838 $(objpfx)tst-printf.out.
10840 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10842 * Makerules (check-abi-%): Change target to
10843 $(objpfx)check-abi-%.out.
10844 (check-abi target): Update dependencies.
10845 (check-abi-pattern variable): Redirect output of diff to $@.
10846 (check-abi variable): Likewise.
10847 * elf/Makefile (check-abi): Update dependencies.
10849 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10851 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10852 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10854 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10855 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10856 value has largest subnormal exponent.
10857 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10858 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10859 * sysdeps/aarch64/soft-fp/sfp-machine.h
10860 (_FP_TININESS_AFTER_ROUNDING): New macro.
10861 * sysdeps/alpha/soft-fp/sfp-machine.h
10862 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10863 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10865 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10866 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10867 * sysdeps/mips/soft-fp/sfp-machine.h
10868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10869 * sysdeps/powerpc/soft-fp/sfp-machine.h
10870 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10871 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10873 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10875 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10877 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10880 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10883 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10886 2014-02-12 Richard Henderson <rth@redhat.com>
10888 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10889 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10890 * sysdeps/unix/sysv/linux/alpha: Move directory from
10891 ports/sysdeps/unix/sysv/linux/alpha.
10892 * README: Update listing for alpha-*-linux-gnu.
10894 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10896 * include/features.h: Update comment documenting feature test
10898 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10900 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10901 (_SVID_SOURCE): Likewise.
10902 (_DEFAULT_SOURCE): Update description of default features.
10903 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10905 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10906 (S_ISVTX): Likewise.
10907 * manual/math.texi (Mathematical Constants): Likewise.
10908 * manual/signal.texi (Interrupted Primitives): Likewise.
10909 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10910 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10911 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10912 Don't refer to _SVID_SOURCE in warning text.
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10916 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10918 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10919 * sysdeps/mips/dl-lookup.c: Remove.
10920 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10922 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10925 * math/auto-libm-test-in: Add testcase for expl.
10926 * math/auto-libm-test-out: Regenerate.
10927 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10928 calculation of unsafe.
10929 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10931 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10933 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10934 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10935 ports/sysdeps/unix/sysv/linux/aarch64.
10936 * README: Update listing for aarch64*-*-linux-gnu.
10938 2014-02-11 Will Newton <will.newton@linaro.org>
10940 * manual/probes.texi (Mathematical Function Probes): Use
10941 "triggered" instead of "hit".
10943 * manual/probes.texi (Internal Probes): Add documentation
10944 of setjmp, longjmp and longjmp_target probes.
10946 * include/stap-probe.h: Add comment about probe argument
10949 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10950 definition. (tr_where, tr_freehook, tr_mallochook,
10951 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10953 2014-02-11 David S. Miller <davem@davemloft.net>
10955 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10956 processing int_tests.
10958 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10960 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10961 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10962 * sysdeps/unix/sysv/linux/mips: Move directory from
10963 ports/sysdeps/unix/sysv/linux/mips.
10964 * README: Update listing for mips-*-linux-gnu and
10965 mips64-*-linux-gnu.
10967 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10969 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10970 * sysdeps/unix/sysv/linux/m68k: Move directory from
10971 ports/sysdeps/unix/sysv/linux/m68k.
10972 * README: Update listing for m68k-*-linux-gnu.
10974 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10976 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10977 * sysdeps/unix/sysv/linux/generic: Move directory from
10978 ports/sysdeps/unix/sysv/linux/generic.
10979 * sysdeps/unix/sysv/linux/tile: Move directory from
10980 ports/sysdeps/unix/sysv/linux/tile.
10981 * README: Update listing for tile*-*-linux-gnu.
10983 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10985 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10987 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10988 * catgets/open_catalog.c (__open_catalog): Likewise.
10989 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10990 * debug/confstr_chk.c: Likewise.
10991 * debug/fread_chk.c (__fread_chk): Likewise.
10992 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10993 * debug/getgroups_chk.c: Likewise.
10994 * debug/mbsnrtowcs_chk.c: Likewise.
10995 * debug/mbsrtowcs_chk.c: Likewise.
10996 * debug/mbstowcs_chk.c: Likewise.
10997 * debug/memcpy_chk.c: Likewise.
10998 * debug/memmove_chk.c: Likewise.
10999 * debug/mempcpy_chk.c: Likewise.
11000 * debug/memset_chk.c: Likewise.
11001 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11002 * debug/strcat_chk.c (__strcat_chk): Likewise.
11003 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11004 * debug/strncat_chk.c (__strncat_chk): Likewise.
11005 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11006 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11007 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11008 * debug/wcpncpy_chk.c: Likewise.
11009 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11010 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11011 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11012 * debug/wcsncpy_chk.c: Likewise.
11013 * debug/wcsnrtombs_chk.c: Likewise.
11014 * debug/wcsrtombs_chk.c: Likewise.
11015 * debug/wcstombs_chk.c: Likewise.
11016 * debug/wmemcpy_chk.c: Likewise.
11017 * debug/wmemmove_chk.c: Likewise.
11018 * debug/wmempcpy_chk.c: Likewise.
11019 * debug/wmemset_chk.c: Likewise.
11020 * dirent/scandirat.c (SCANDIRAT): Likewise.
11021 * dlfcn/dladdr1.c (dladdr1): Likewise.
11022 * dlfcn/dladdr.c (dladdr): Likewise.
11023 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11024 * dlfcn/dlerror.c (__dlerror): Likewise.
11025 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11026 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11027 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11028 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11029 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11030 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11031 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11032 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11034 * elf/dl-conflict.c: Likewise.
11035 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11036 * elf/dl-dst.h: Likewise.
11037 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11038 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11039 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11040 * elf/dl-init.c (call_init, _dl_init): Likewise.
11041 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11042 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11043 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11045 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11047 * elf/dl-minimal.c (__libc_memalign): Likewise.
11048 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11049 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11050 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11051 * elf/dl-sym.c (do_sym): Likewise.
11052 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11053 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11054 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11055 * elf/dl-writev.h (_dl_writev): Likewise.
11056 * elf/ldconfig.c (search_dir): Likewise.
11057 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11058 (dl_main): Likewise.
11059 * elf/setup-vdso.h (setup_vdso): Likewise.
11060 * grp/compat-initgroups.c (compat_call): Likewise.
11061 * grp/fgetgrent.c (fgetgrent): Likewise.
11062 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11063 * grp/putgrent.c (putgrent): Likewise.
11064 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11066 * hurd/hurdinit.c: Likewise.
11067 * iconvdata/8bit-gap.c (struct): Likewise.
11068 * iconvdata/ansi_x3.110.c : Likewise.
11069 * iconvdata/big5.c : Likewise.
11070 * iconvdata/big5hkscs.c : Likewise.
11071 * iconvdata/cp1255.c: Likewise.
11072 * iconvdata/cp1258.c : Likewise.
11073 * iconvdata/cp932.c : Likewise.
11074 * iconvdata/euc-cn.c: Likewise.
11075 * iconvdata/euc-jisx0213.c : Likewise.
11076 * iconvdata/euc-jp.c: Likewise.
11077 * iconvdata/euc-jp-ms.c : Likewise.
11078 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11079 * iconvdata/gb18030.c : Likewise.
11080 * iconvdata/gbbig5.c (const): Likewise.
11081 * iconvdata/gbgbk.c: Likewise.
11082 * iconvdata/gbk.c : Likewise.
11083 * iconvdata/ibm1364.c : Likewise.
11084 * iconvdata/ibm930.c : Likewise.
11085 * iconvdata/ibm932.c: Likewise.
11086 * iconvdata/ibm933.c : Likewise.
11087 * iconvdata/ibm935.c : Likewise.
11088 * iconvdata/ibm937.c : Likewise.
11089 * iconvdata/ibm939.c : Likewise.
11090 * iconvdata/ibm943.c: Likewise.
11091 * iconvdata/iso_11548-1.c: Likewise.
11092 * iconvdata/iso-2022-cn.c : Likewise.
11093 * iconvdata/iso-2022-cn-ext.c : Likewise.
11094 * iconvdata/iso-2022-jp-3.c: Likewise.
11095 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11096 * iconvdata/iso-2022-kr.c : Likewise.
11097 * iconvdata/iso646.c (gconv_end): Likewise.
11098 * iconvdata/iso_6937-2.c : Likewise.
11099 * iconvdata/iso_6937.c : Likewise.
11100 * iconvdata/iso8859-1.c: Likewise.
11101 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11102 * iconvdata/shift_jisx0213.c : Likewise.
11103 * iconvdata/sjis.c : Likewise.
11104 * iconvdata/t.61.c : Likewise.
11105 * iconvdata/tcvn5712-1.c : Likewise.
11106 * iconvdata/tscii.c: Likewise.
11107 * iconvdata/uhc.c : Likewise.
11108 * iconvdata/unicode.c (gconv_end): Likewise.
11109 * iconvdata/utf-16.c (gconv_end): Likewise.
11110 * iconvdata/utf-32.c (gconv_end): Likewise.
11111 * iconvdata/utf-7.c (base64): Likewise.
11112 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11113 * iconv/gconv_close.c (__gconv_close): Likewise.
11114 * iconv/gconv_open.c (__gconv_open): Likewise.
11115 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11116 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11117 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11118 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11119 (ucs4le_internal_loop_single): Likewise.
11120 * iconv/iconv.c (iconv): Likewise.
11121 * iconv/iconv_close.c: Likewise.
11122 * iconv/loop.c (SINGLE): Likewise.
11123 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11124 * include/atomic.h: Likewise.
11125 * inet/inet6_option.c (option_alloc): Likewise.
11126 * intl/bindtextdom.c (set_binding_values): Likewise.
11127 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11128 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11129 * intl/localealias.c (read_alias_file): Likewise.
11130 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11131 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11132 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11133 * libio/fmemopen.c (fmemopen): Likewise.
11134 * libio/iofgets.c (_IO_fgets): Likewise.
11135 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11136 * libio/iofgetws.c (fgetws): Likewise.
11137 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11138 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11139 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11140 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11141 * locale/findlocale.c (_nl_find_locale): Likewise.
11142 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11143 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11145 * locale/setlocale.c (setlocale): Likewise.
11146 * login/programs/pt_chown.c (main): Likewise.
11147 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11148 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11149 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11150 (mmap, mmap64, mremap, munmap): Likewise.
11151 * math/e_exp2l.c: Likewise.
11152 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11153 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11154 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11155 * math/s_catan.c (__catan): Likewise.
11156 * math/s_catanf.c (__catanf): Likewise.
11157 * math/s_catanh.c (__catanh): Likewise.
11158 * math/s_catanhf.c (__catanhf): Likewise.
11159 * math/s_catanhl.c (__catanhl): Likewise.
11160 * math/s_catanl.c (__catanl): Likewise.
11161 * math/s_ccosh.c (__ccosh): Likewise.
11162 * math/s_ccoshf.c (__ccoshf): Likewise.
11163 * math/s_ccoshl.c (__ccoshl): Likewise.
11164 * math/s_cexp.c (__cexp): Likewise.
11165 * math/s_cexpf.c (__cexpf): Likewise.
11166 * math/s_cexpl.c (__cexpl): Likewise.
11167 * math/s_clog10.c (__clog10): Likewise.
11168 * math/s_clog10f.c (__clog10f): Likewise.
11169 * math/s_clog10l.c (__clog10l): Likewise.
11170 * math/s_clog.c (__clog): Likewise.
11171 * math/s_clogf.c (__clogf): Likewise.
11172 * math/s_clogl.c (__clogl): Likewise.
11173 * math/s_csin.c (__csin): Likewise.
11174 * math/s_csinf.c (__csinf): Likewise.
11175 * math/s_csinh.c (__csinh): Likewise.
11176 * math/s_csinhf.c (__csinhf): Likewise.
11177 * math/s_csinhl.c (__csinhl): Likewise.
11178 * math/s_csinl.c (__csinl): Likewise.
11179 * math/s_csqrt.c (__csqrt): Likewise.
11180 * math/s_csqrtf.c (__csqrtf): Likewise.
11181 * math/s_csqrtl.c (__csqrtl): Likewise.
11182 * math/s_ctan.c (__ctan): Likewise.
11183 * math/s_ctanf.c (__ctanf): Likewise.
11184 * math/s_ctanh.c (__ctanh): Likewise.
11185 * math/s_ctanhf.c (__ctanhf): Likewise.
11186 * math/s_ctanhl.c (__ctanhl): Likewise.
11187 * math/s_ctanl.c (__ctanl): Likewise.
11188 * math/w_pow.c: Likewise.
11189 * math/w_powf.c: Likewise.
11190 * math/w_powl.c: Likewise.
11191 * math/w_scalb.c (sysv_scalb): Likewise.
11192 * math/w_scalbf.c (sysv_scalbf): Likewise.
11193 * math/w_scalbl.c (sysv_scalbl): Likewise.
11194 * misc/error.c (error_tail): Likewise.
11195 * misc/pselect.c (__pselect): Likewise.
11196 * nis/nis_callback.c (__nis_create_callback): Likewise.
11197 * nis/nis_call.c (__nisfind_server): Likewise.
11198 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11199 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11200 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11201 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11202 * nis/nis_lookup.c (nis_lookup): Likewise.
11203 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11204 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11205 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11206 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11207 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11208 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11209 * nis/nss_compat/compat-initgroups.c (add_group)
11210 (internal_getgrent_r): Likewise.
11211 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11212 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11213 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11214 (internal_getspnam_r): Likewise.
11215 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11216 (_nss_nis_getaliasbyname_r): Likewise.
11217 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11218 (_nss_nis_getntohost_r): Likewise.
11219 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11220 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11221 (_nss_nis_getgrgid_r): Likewise.
11222 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11223 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11224 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11225 (_nss_nis_gethostbyname4_r): Likewise.
11226 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11227 (initgroups_netid): Likewise.
11228 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11229 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11230 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11231 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11232 (_nss_nis_getprotobynumber_r): Likewise.
11233 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11234 (_nss_nis_getsecretkey): Likewise.
11235 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11236 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11237 (_nss_nis_getpwuid_r): Likewise.
11238 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11239 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11240 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11241 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11242 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11243 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11244 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11246 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11247 (_nss_nisplus_getntohost_r): Likewise.
11248 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11249 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11250 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11251 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11253 * nis/nss_nisplus/nisplus-initgroups.c
11254 (_nss_nisplus_initgroups_dyn): Likewise.
11255 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11256 (_nss_nisplus_getnetbyaddr_r): Likewise.
11257 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11258 (_nss_nisplus_getprotobynumber_r): Likewise.
11259 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11260 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11261 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11263 * nis/nss_nisplus/nisplus-service.c
11264 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11265 (_nss_nisplus_getservbyport_r): Likewise.
11266 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11267 (_nss_nisplus_getspnam_r): Likewise.
11268 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11270 * nscd/aicache.c (addhstaiX): Likewise.
11271 * nscd/cache.c (cache_search, prune_cache): Likewise.
11272 * nscd/connections.c (register_traced_file, send_ro_fd)
11273 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11274 (main_loop_epoll): Likewise.
11275 * nscd/grpcache.c (addgrbyX): Likewise.
11276 * nscd/hstcache.c (addhstbyX): Likewise.
11277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11278 * nscd/mem.c (gc, mempool_alloc): Likewise.
11279 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11280 (addinnetgrX): Likewise.
11281 * nscd/nscd-client.h (__nscd_acquire_maplock)
11282 (__nscd_drop_map_ref): Likewise.
11283 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11284 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11285 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11287 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11288 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11289 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11290 (__nscd_get_map_ref): Likewise.
11291 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11292 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11294 * nscd/pwdcache.c (addpwbyX): Likewise.
11295 * nscd/selinux.c (preserve_capabilities): Likewise.
11296 * nscd/servicescache.c (addservbyX): Likewise.
11297 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11298 * posix/fnmatch.c (fnmatch): Likewise.
11299 * posix/getopt.c (_getopt_internal_r): Likewise.
11300 * posix/glob.c (glob, glob_in_dir): Likewise.
11301 * posix/wordexp.c (exec_comm_child): Likewise.
11302 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11303 (getanswer_r, gaih_getanswer_slice): Likewise.
11304 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11305 * resolv/res_init.c: Likewise.
11306 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11307 * resolv/res_query.c (__libc_res_nquery): Likewise.
11308 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11310 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11311 * stdio-common/perror.c (perror): Likewise.
11312 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11313 * stdio-common/tmpnam.c (tmpnam): Likewise.
11314 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11315 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11316 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11318 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11319 * stdlib/putenv.c (putenv): Likewise.
11320 * stdlib/setenv.c (__add_to_environ): Likewise.
11321 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11322 * stdlib/strtol_l.c (INTERNAL): Likewise.
11323 * string/memmem.c (memmem): Likewise.
11324 * string/strerror.c (strerror): Likewise.
11325 * string/strnlen.c (__strnlen): Likewise.
11326 * string/test-memmem.c (simple_memmem): Likewise.
11327 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11328 * sunrpc/pm_getport.c (__get_socket): Likewise.
11329 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11330 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11331 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11332 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11334 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11335 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11336 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11337 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11338 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11339 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11341 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11343 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11344 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11346 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11347 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11349 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11350 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11351 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11352 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11353 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11354 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11360 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11362 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11363 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11364 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11365 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11366 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11375 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11377 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11379 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11381 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11383 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11385 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11387 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11388 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11389 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11390 * sysdeps/posix/sleep.c: Likewise.
11391 * sysdeps/posix/tempname.c: Likewise.
11392 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11393 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11395 * sysdeps/powerpc/powerpc32/dl-machine.h
11396 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11397 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11399 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11400 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11402 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11403 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11404 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11405 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11406 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11407 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11408 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11409 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11410 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11411 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11413 (elf_machine_lazy_rel): Likewise.
11414 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11416 (elf_machine_lazy_rel): Likewise.
11417 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11418 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11419 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11420 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11421 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11422 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11423 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11426 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11427 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11428 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11429 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11430 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11431 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11432 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11433 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11434 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11435 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11436 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11438 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11439 (__posix_fallocate64_l64): Likewise.
11440 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11441 (posix_fallocate): Likewise.
11442 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11444 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11445 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11446 (getifaddrs_internal): Likewise.
11447 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11448 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11449 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11450 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11451 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11452 (__posix_fallocate64_l64): Likewise.
11453 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11455 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11456 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11457 (__get_clockfreq): Likewise.
11458 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11459 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11460 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11463 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11464 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11465 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11467 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11468 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11469 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11470 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11471 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11472 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11473 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11475 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11476 (posix_fallocate): Likewise.
11477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11478 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11479 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11480 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11481 (elf_machine_rela, elf_machine_rela_relative)
11482 (elf_machine_lazy_rel): Likewise.
11483 * time/asctime.c (asctime_internal): Likewise.
11484 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11485 * time/tzset.c (__tzset_parse_tz): Likewise.
11486 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11487 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11488 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11489 * wcsmbs/wcsmbsload.h: Likewise.
11492 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11494 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11495 (arena_get2): Remove THREAD_STATS conditionals.
11496 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11497 (__malloc_stats, int): Likewise.
11499 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11501 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11502 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11504 * manual/setjmp.texi: Fix typos/grammar errors.
11506 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11507 Only return early when n is <= 0. Delete unused return statement.
11509 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11510 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11511 * debug/tst-longjmp_chk3.c: New file.
11513 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11514 (test_main): Replace code with set_fortify_handler call.
11515 * debug/test-strcpy_chk.c: Likewise.
11516 * debug/tst-chk1.c: Likewise.
11517 * debug/tst-longjmp_chk.c: Likewise.
11518 * test-skeleton.c: Include fcntl.h & paths.h
11519 (set_fortify_handler): Define.
11521 * debug/tst-longjmp_chk.c: Add header comment and include
11522 ../test-skeleton.c.
11523 (do_test): Mark static.
11524 (TEST_FUNCTION): Define.
11526 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11527 (IP_PMTUDISC_INTERFACE): Likewise.
11528 (IP_MULTICAST_IF): Likewise.
11529 (IP_MULTICAST_TTL): Likewise.
11530 (IP_MULTICAST_LOOP): Likewise.
11531 (IP_ADD_MEMBERSHIP): Likewise.
11532 (IP_DROP_MEMBERSHIP): Likewise.
11533 (IP_UNBLOCK_SOURCE): Likewise.
11534 (IP_BLOCK_SOURCE): Likewise.
11535 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11536 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11537 (IP_MSFILTER): Likewise.
11538 (MCAST_JOIN_GROUP): Likewise.
11539 (MCAST_BLOCK_SOURCE): Likewise.
11540 (MCAST_UNBLOCK_SOURCE): Likewise.
11541 (MCAST_LEAVE_GROUP): Likewise.
11542 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11543 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11544 (MCAST_MSFILTER): Likewise.
11545 (IP_MULTICAST_ALL): Likewise.
11546 (IP_UNICAST_IF): Likewise.
11548 * timezone/Makefile: Delete $(have-ksh) check.
11549 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11550 * timezone/tzselect.ksh: Add +x mode bits.
11552 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11553 (ANON_INODE_FS_MAGIC): Likewise.
11554 (BDEVFS_MAGIC): Likewise.
11555 (BINFMTFS_MAGIC): Likewise.
11556 (BTRFS_TEST_MAGIC): Likewise.
11557 (CRAMFS_MAGIC_WEND): Likewise.
11558 (DEBUGFS_MAGIC): Likewise.
11559 (ECRYPTFS_SUPER_MAGIC): Likewise.
11560 (EXT3_SUPER_MAGIC): Likewise.
11561 (EXT4_SUPER_MAGIC): Likewise.
11562 (FUTEXFS_SUPER_MAGIC): Likewise.
11563 (HOSTFS_SUPER_MAGIC): Likewise.
11564 (HUGETLBFS_MAGIC): Likewise.
11565 (MINIX3_SUPER_MAGIC): Likewise.
11566 (MTD_INODE_FS_MAGIC): Likewise.
11567 (NILFS_SUPER_MAGIC): Likewise.
11568 (OPENPROM_SUPER_MAGIC): Likewise.
11569 (PIPEFS_MAGIC): Likewise.
11570 (PSTOREFS_MAGIC): Likewise.
11571 (QNX6_SUPER_MAGIC): Likewise.
11572 (RAMFS_MAGIC): Likewise.
11573 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11574 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11575 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11576 (SECURITYFS_MAGIC): Likewise.
11577 (SELINUX_MAGIC): Likewise.
11578 (SMACK_MAGIC): Likewise.
11579 (SOCKFS_MAGIC): Likewise.
11580 (SQUASHFS_MAGIC): Likewise.
11581 (STACK_END_MAGIC): Likewise.
11582 (TMPFS_MAGIC): Likewise.
11583 (USBDEVICE_SUPER_MAGIC): Likewise.
11584 (V9FS_MAGIC): Likewise.
11585 (XENFS_SUPER_MAGIC): Likewise.
11586 (CRAMFS_MAGIC): Fix typo in comment.
11587 (EXT2_SUPER_MAGIC): Update comment.
11588 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11590 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11592 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11593 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11594 * sysdeps/unix/sysv/linux/arm: Move directory from
11595 ports/sysdeps/unix/sysv/linux/arm.
11596 * README: Update listing for arm-*-linux-gnueabi.
11598 * README: Remove mention of am33.
11600 2014-02-07 Roland McGrath <roland@hack.frob.com>
11602 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11603 than the comma operator, to avoid "rhs of comma has no effect"
11605 (__sigfillset, __sigandset, __sigorset): Likewise.
11606 * include/signal.h (__sigemptyset): Likewise.
11607 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11609 2014-02-07 Allan McRae <allan@archlinux.org>
11611 * version.h (RELEASE): Set to "development".
11612 (VERSION): Set to "2.19.90"
11613 * NEWS: Add 2.20 section.
11615 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11618 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11620 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11622 * manual/contrib.texi: Update entry for Carlos O'Donell,
11623 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11625 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11627 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11629 * sysdeps/unix/sysv/linux/kernel-features.h
11630 [__LINUX_KERNEL_VERSION >= 0x020621]
11631 (__ASSUME_PROC_PID_TASK_COMM): Define.
11633 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11636 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11637 conversion when destination buffer does not have enough space.
11638 * libio/tst-ftell-partial-wide.c: New test case.
11639 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11641 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11642 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11643 Leonard and Allan McRae.
11645 2014-02-04 David S. Miller <davem@davemloft.net>
11647 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11650 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11679 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11681 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11682 * shlib-versions: Likewise.
11684 2014-02-04 Roland McGrath <roland@hack.frob.com>
11685 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11687 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11688 (abilist-pattern): New variable, set to %-le.abilist.
11690 * Makerules (abilist-pattern): New variable.
11691 (vpath): Use $(abilist-pattern) in place of %.abilist.
11692 (check-abi-% pattern rule): Likewise.
11693 (check-abi, update-abi): Likewise.
11695 2014-02-04 Eric Wong <normalperson@yhbt.net>
11697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11699 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11701 * manual/startup.texi: Add next, previous, and top entries for
11702 the `Program Arguments' and `Environment Variables' nodes.
11704 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11706 * manual/macros.texi: Add comments before MTASC-safety macros.
11708 * manual/users.texi: Document MTASC-safety properties.
11710 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11711 (pthread_getspecific, pthread_setspecific): Format with
11712 @deftypefun, and add @safety note.
11713 * manual/signal.texi: Move comments that analyze the above
11714 functions to their home place.
11716 2014-02-03 Allan McRae <allan@archlinux.org>
11718 * po/sl.po: Update Slovenian translation from translation project.
11720 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11722 * manual/time.texi (timegm): Add missing blank after @c.
11723 Reported by Joseph Myers <joseph@codesourcery.com>.
11725 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11727 * manual/check-safety.sh: New.
11728 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11730 * manual/terminal.texi: Document MTASC-safety properties.
11732 * manual/filesys.texi: Document MTASC-safety properties.
11734 * manual/errno.texi: Document MTASC-safety properties.
11736 * manual/intro.texi: Document safety identifiers and
11739 * manual/string.texi (wcstok): Fix prototype.
11740 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11742 * manual/time.texi: Document MTASC-safety properties.
11744 * manual/string.texi: Document MTASC-safety properties.
11746 * manual/threads.texi: Document MTASC-safety properties.
11748 * manual/stdio.texi: Document MTASC-safety properties.
11750 * manual/syslog.texi: Document MTASC-safety properties.
11752 * manual/sysinfo.texi: Document MTASC-safety properties.
11754 * manual/startup.texi: Document MTASC-safety properties.
11756 * manual/socket.texi: Document MTASC-safety properties.
11758 * manual/signal.texi: Document MTASC-safety properties.
11760 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11762 * manual/setjmp.texi: Document MTASC-safety properties.
11764 * manual/search.texi: Document MTASC-safety properties.
11766 * manual/resource.texi: Document MTASC-safety properties.
11768 * manual/process.texi: Document MTASC-safety properties.
11770 * manual/platform.texi: Document MTASC-safety properties.
11772 * manual/pipe.texi: Document MTASC-safety properties.
11774 * manual/pattern.texi: Document MTASC-safety properties.
11776 * manual/message.texi: Document MTASC-safety properties.
11779 * manual/memory.texi: Document MTASC-safety properties.
11781 * manual/math.texi: Document MTASC-safety properties.
11783 * manual/locale.texi: Document MTASC-safety properties.
11785 * manual/llio.texi: Document MTASC-safety properties.
11787 * manual/libdl.texi: New.
11789 * manual/lang.texi: Document MTASC-safety properties.
11791 * manual/job.texi: Document MTASC-safety properties.
11793 * manual/getopt.texi: Document MTASC-safety properties.
11795 * manual/ctype.texi: Document MTASC-safety properties.
11797 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11800 * csu/libc-tls.c (static_map): Remove variable.
11801 (__libc_setup_tls): Use main executable's link map for TLS data.
11802 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11803 casing for LM_ID_BASE and GL(dl_nns).
11804 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11805 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11806 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11807 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11808 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11810 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11813 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11815 * manual/debug.texi: Document MTASC-safety properties.
11817 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11820 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11821 of __x86_64__ when disabling x87 inline functions.
11823 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11825 * manual/charset.texi: Document MTASC-safety properties.
11827 * manual/crypt.texi: Document MTASC-safety properties.
11829 * manual/conf.texi: Document MTASC-safety properties.
11831 * manual/arith.texi: Document MTASC-safety properties.
11833 * manual/argp.texi: Document MTASC-safety properties.
11835 * manual/macros.texi: Introduce macros to document multi
11836 thread, asynchronous signal and asynchronous cancellation
11838 * manual/intro.texi: Introduce the properties themselves.
11840 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11842 * sysdeps/sh/sh4/Makefile: New file.
11844 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11846 * math/gen-libm-test.pl ($srcdir): New variable.
11847 ($auto_input): Use it.
11849 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11852 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11853 access beyond array bounds when parsing netgroups file.
11855 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11856 the old buffer before realloc.
11858 2014-01-27 Allan McRae <allan@archlinux.org>
11860 * po/fr.po: Update French translation from translation project.
11862 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11864 * sysdeps/sh/libm-test-ulps: Regenerate.
11866 2014-01-24 David S. Miller <davem@davemloft.net>
11868 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11870 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11872 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11873 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11875 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11878 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11879 string pointers after reallocation.
11881 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11883 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11884 __SH4A__ instead of __SH_FPU_ANY__.
11886 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11888 * sysdeps/sh/fpu_control.h: New file.
11889 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11890 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11891 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11892 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11893 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11894 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11895 * sysdeps/sh/sys/ucontext.h: Remove.
11896 * sysdeps/sh/sys: Remove directory.
11898 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11900 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11901 s390/sys/ucontext.h.
11902 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11903 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11905 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11908 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11910 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11914 Adjust the vDSO correctly for internal calls.
11915 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11917 2014-01-20 Allan McRae <allan@archlinux.org>
11919 * po/ca.po: Update Catalan translation from translation project.
11921 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11923 * sysdeps/s390/sotruss-lib.c: New file.
11925 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11929 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11930 local calls issues by not having a PLT stub required for IFUNC calls.
11931 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11933 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11935 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11936 * math/test-fpucw-static.c: Likewise.
11938 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11941 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11943 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11945 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11946 implementation for powerpc.
11948 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11951 * sysdeps/posix/system.c (__libc_system): Do not enable
11952 asynchronous cancellation.
11954 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11957 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11958 handling only for numbers special also in the IEEE case.
11960 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11962 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11964 2014-01-11 Allan McRae <allan@archlinux.org>
11966 * po/bg.po: Update Bulgarian translation from translation project.
11968 * po/de.po: Update German translation from translation project.
11970 2014-01-10 Roland McGrath <roland@hack.frob.com>
11972 * sysdeps/generic/gcc-compat.h: New file.
11974 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11976 * benchtests/asin-inputs: Correct slow inputs.
11977 * benchtests/acos-inputs: Likewise.
11979 2014-01-10 Allan McRae <allan@archlinux.org>
11981 * po:sv.po: Update Swedish translation from translation project.
11983 * po/vi.po: Update Vietnamese translation from translation project.
11985 * po/eo.po: Update Esperanto translation from translation project.
11987 * po/cs.po: Update Czech translation from translation project.
11989 * po/nl.po: Update Dutch translation from translation project.
11991 * po/pl.po: Update Polish translation from translation project.
11993 * po/ru.po: Update Russian translation from translation project.
11995 * po/uk.po: Update Ukrainian translation from translation project.
11997 2014-01-08 Brooks Moses <bmoses@google.com>
11999 * elf/dl-load.c: Fix comment typo.
12001 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12003 * po/header.pot: Rename to...
12004 * po/pot.header: ... this.
12005 * po/Makefile: Use pot.header.
12007 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12008 Maxim Kuvyrkov <maxim@kugelworks.com>
12011 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12012 SRC and DEST against LEN.
12014 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12017 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12019 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12021 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12025 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12029 for large positive arguments.
12031 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12033 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12035 * math/auto-libm-test-in: Mark various tests with
12036 xfail-rounding:ldbl-128ibm.
12037 * math/auto-libm-test-out: Regenerated.
12040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12041 Increase overflow threshold.
12043 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12046 * stdio-common/vfprintf.c: Check for integer overflow.
12048 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12050 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12051 the first argument and return value of __tls_get_addr_internal.
12053 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12055 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12056 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12058 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12060 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12061 * sysdeps/s390/rtld-global-offsets.sym: New file.
12062 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12064 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12065 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12066 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12068 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12069 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12075 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12076 halfs of GPRs for high_gprs contexts.
12077 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12078 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12080 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12082 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12084 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12085 for high GPRs (uc_high_gprs) and for future extensions
12087 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12088 for future extensions (__reserved).
12089 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12091 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12092 SC_HIGHGPRS offset definition.
12093 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12094 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12096 * Versions.def: Add GLIBC_2.19 for libpthread.
12097 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12098 siglongjmp for libpthread with GLIBC_2.19 symver.
12099 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12100 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12101 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12102 * sysdeps/s390/__longjmp.c: New file.
12103 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12104 * sysdeps/s390/longjmp.c: New file.
12105 * sysdeps/s390/setjmp.S: New file.
12106 * sysdeps/s390/sigjmp.S: New file.
12107 * sysdeps/s390/v1-longjmp.c: New file.
12108 * sysdeps/s390/v1-setjmp.h: New file.
12109 * sysdeps/s390/v1-sigjmp.c: New file.
12110 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12111 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12112 GLIBC_2.19 version.
12113 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12114 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12115 versioned symbols for ____longjmp_chk.
12116 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12126 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12127 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12128 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12129 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12130 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12131 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12132 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12133 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12134 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12135 * sysdeps/s390/rtld-__longjmp.c: New file.
12136 * sysdeps/s390/rtld-setjmp.S: New file.
12138 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12142 Return -__logl (x) for small positive arguments without evaluating
12145 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12147 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12149 (__ptrace_peeksiginfo_args): ... this.
12150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12151 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12152 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12154 2014-01-06 Allan McRae <allan@archlinux.org>
12156 * inet/netinet/in.h: Fix typo in comment.
12158 2014-01-05 Andreas Jaeger <aj@suse.de>
12160 * sysdeps/i386/fpu/libm-test-ulps: Update.
12162 2014-01-05 Allan McRae <allan@archlinux.org>
12164 * po/libc.pot: Regenerated.
12166 * malloc/memusagestat.c: Fix gettext call formatting.
12168 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12170 * nscd/nscd.c: Improve usage() output.
12172 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12174 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12175 * sysdeps/unix/sysv/linux/configure: Regenerated.
12176 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12177 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12179 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12182 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12183 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12185 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12187 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12188 extra tokens at end of #undef directive.
12189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12190 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12191 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12193 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12195 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12197 * math/auto-libm-test-in: Mark various tests with
12198 xfail-rounding:ldbl-128ibm.
12199 * math/auto-libm-test-out: Regenerated.
12201 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12204 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12205 numbers with subnormal high part when calculating exponent.
12208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12214 (__ieee754_acoshl): Use __log1pl not __log1p.
12216 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12218 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12219 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12220 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12221 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12222 (reused_arena, arena_get2): Convert to GNU style.
12223 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12224 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12225 (memalign_check, __malloc_set_state): Likewise.
12226 * malloc/mallocbug.c (main): Likewise.
12227 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12228 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12229 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12230 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12231 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12232 (__posix_memalign, malloc_info): Likewise.
12233 * malloc/malloc.h: Likewise.
12234 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12235 (mallochook, memalignhook, reallochook, mabort): Likewise.
12236 * malloc/mcheck.h: Likewise.
12237 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12238 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12239 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12240 * malloc/morecore.c (__default_morecore): Likewise.
12241 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12242 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12243 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12244 (print_and_abort): Likewise.
12245 * malloc/obstack.h: Likewise.
12246 * malloc/set-freeres.c (__libc_freeres): Likewise.
12247 * malloc/tst-mallocstate.c (main): Likewise.
12248 * malloc/tst-mtrace.c (main): Likewise.
12249 * malloc/tst-realloc.c (do_test): Likewise.
12251 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12254 * nscd/netgroupcache.c (do_notfound): New function.
12255 (addgetnetgrentX): Use it.
12258 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12259 NSS_STATUS_NOTFOUND.
12261 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12263 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12266 2014-01-01 Allan McRae <allan@archlinux.org>
12268 * scripts/update-copyrights: Update configure input file suffix.
12270 * NEWS: Update copyright year.
12271 * catgets/gencat.c: Likewise.
12272 * csu/version.c: Likewise.
12273 * debug/catchsegv.sh: Likewise.
12274 * debug/pcprofiledump.c: Likewise.
12275 * debug/xtrace.sh: Likewise.
12276 * elf/ldconfig.c: Likewise.
12277 * elf/ldd.bash.in: Likewise.
12278 * elf/pldd.c: Likewise.
12279 * elf/sotruss.ksh: Likewise.
12280 * elf/sprof.c: Likewise.
12281 * iconv/iconv_prog.c: Likewise.
12282 * iconv/iconvconfig.c: Likewise.
12283 * locale/programs/locale.c: Likewise.
12284 * locale/programs/localedef.c: Likewise.
12285 * login/programs/pt_chown.c: Likewise.
12286 * malloc/memusage.sh: Likewise.
12287 * malloc/memusagestat.c: Likewise.
12288 * malloc/mtrace.pl: Likewise.
12289 * manual/libc.texinfo: Likewise.
12290 * nscd/nscd.c: Likewise.
12291 * nss/getent.c: Likewise.
12292 * nss/makedb.c: Likewise.
12293 * posix/getconf.c: Likewise.
12294 * scripts/test-installation.pl: Likewise.
12296 * All files with FSF copyright notices: Update copyright dates
12297 using scripts/update-copyrights.
12298 * intl/plural.c: Regenerated.
12299 * locale/programs/charmap-kw.h: Likewise.
12300 * locale/programs/locfile-kw.h: Likewise.
12302 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12304 * sysdeps/unix/sysv/linux/configure: Regenerated.
12305 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12306 the linux/fanotify.h header.
12307 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12308 HAVE_LINUX_FANOTIFY_H is defined.
12310 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12312 * benchtests/cos-inputs: New inputs.
12313 * benchtests/sin-inputs: Likewise.
12315 * benchtests/atan-inputs: New inputs. Fix name of multiple
12316 precision fallback inputs.
12318 * benchtests/atanh-inputs: New inputs.
12319 * benchtests/tanh-inputs: Likewise.
12321 * benchtests/acosh-inputs: New inputs.
12322 * benchtests/asinh-inputs: Likewise.
12324 * benchtests/cosh-inputs: New inputs.
12325 * benchtests/sinh-inputs: Likewise.
12327 * benchtests/acos-inputs: Add more inputs.
12328 * benchtests/asin-inputs: Likewise.
12330 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12333 * manual/arith.texi: Fix spelling.
12334 * manual/charset.texi: Likewise.
12335 * manual/errno.texi: Likewise.
12336 * manual/filesys.texi: Likewise.
12337 * manual/lang.texi: Likewise.
12338 * manual/llio.texi: Likewise.
12339 * manual/locale.texi: Likewise.
12340 * manual/message.texi: Likewise.
12341 * manual/resource.texi: Likewise.
12342 * manual/search.texi: Likewise.
12343 * manual/setjmp.texi: Likewise.
12344 * manual/stdio.texi: Likewise.
12345 * manual/string.texi: Likewise.
12346 * manual/sysinfo.texi: Likewise.
12347 * manual/time.texi: Likewise.
12349 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12351 * po/sl.po: New file.
12353 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12355 * .gitignore: Add core/.gdbinit/.gdb_history.
12357 2013-12-27 Allan McRae <allan@archlinux.org>
12360 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12361 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12363 2013-12-24 Brooks Moses <bmoses@google.com>
12365 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12366 all compilers that claim C++98 compliance, not just GCC.
12367 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12370 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12372 * NEWS: Restore accidentally deleted bug-fix entries.
12374 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12375 Ondřej Bílka <neleai@seznam.cz>
12378 * malloc/malloc.c (_int_free): Perform sanity check only if we
12381 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12384 * manual/stdio.texi (String Input Conversions): Clarify that character
12385 classes are not supported.
12387 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12391 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12394 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12395 Calculate results for small negative arguments directly rather
12396 than using reflection formula with special underflow handling.
12398 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12399 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12400 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12401 (fchflags): Likewise.
12402 (revoke): Likewise.
12403 (setlogin): Likewise.
12404 (sigaltstack): Likewise.
12406 (sigblock): Remove.
12407 (sigsetmask): Likewise.
12409 (waitpid): Likewise.
12410 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12411 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12413 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12414 * sysdeps/unix/bsd/Makefile: ... here.
12415 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12416 * sysdeps/unix/bsd/Versions: ... here.
12417 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12418 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12419 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12420 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12421 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12422 * sysdeps/unix/bsd/sigblock.c: ... here.
12423 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12424 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12425 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12426 * sysdeps/unix/bsd/sigvec.c: ... here.
12427 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12428 * sysdeps/unix/bsd/tcdrain.c: ... here.
12429 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12430 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12431 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12432 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12433 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12434 * sysdeps/unix/bsd/wait.c: ... here.
12435 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12436 * sysdeps/unix/bsd/wait3.c: ... here.
12437 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12438 * sysdeps/unix/bsd/waitpid.c: ... here.
12440 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12443 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12444 round-to-nearest for [!USE_AS_EXPM1L].
12445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12446 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12447 more tests of exp and exp10. Expect some exp10 tests to miss
12448 exceptions or fail in directed rounding modes.
12449 * math/auto-libm-test-out: Regenerated.
12450 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12451 (exp10_test_tonearest): New function.
12452 (exp10_towardzero_test_data): New array.
12453 (exp10_test_towardzero): New function.
12454 (exp10_downward_test_data): New array.
12455 (exp10_test_downward): New function.
12456 (exp10_upward_test_data): New array.
12457 (exp10_test_upward): New function.
12458 (main): Call the new functions.
12459 * sysdeps/i386/fpu/libm-test-ulps: Update.
12460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12462 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12464 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12465 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12466 * math/auto-libm-test-out: Regenerated.
12467 * math/libm-test.inc (acosh_test_data): Add more tests.
12468 (atanh_test_data): Likewise.
12469 (ceil_test_data): Likewise.
12470 (copysign_test_data): Likewise.
12471 * sysdeps/i386/fpu/libm-test-ulps: Update.
12472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12474 * timezone/checktab.awk: Update from tzcode 2013i.
12475 * timezone/private.h: Likewise.
12476 * timezone/scheck.c: Likewise.
12477 * timezone/tzfile.h: Likewise.
12478 * timezone/tzselect.ksh: Likewise.
12479 * timezone/zdump.c: Likewise.
12480 * timezone/zic.c: Likewise.
12482 * math/auto-libm-test-in: Add tests of cpow.
12483 * math/auto-libm-test-out: Regenerated.
12484 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12485 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12487 (func_calc_desc): Add mpc_cc_c union field.
12488 (test_functions): Add cpow.
12489 (special_fill_2pi): New function.
12490 (special_real_inputs): Add 2pi.
12491 (calc_generic_results): Handle mpc_cc_c.
12492 * sysdeps/i386/fpu/libm-test-ulps: Update.
12493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12495 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12496 csqrt, ctan and ctanh.
12497 * math/auto-libm-test-out: Regenerated.
12498 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12499 (TEST_COND_x86): Likewise.
12500 (ccos_test_data): Use AUTO_TESTS_c_c.
12501 (ccosh_test_data): Likewise.
12502 (cexp_test_data): Likewise.
12503 (clog_test_data): Likewise.
12504 (csqrt_test_data): Likewise.
12505 (ctan_test_data): Likewise.
12506 (ctan_tonearest_test_data): Likewise.
12507 (ctan_towardzero_test_data): Likewise.
12508 (ctan_downward_test_data): Likewise.
12509 (ctan_upward_test_data): Likewise.
12510 (ctanh_test_data): Likewise.
12511 (ctanh_tonearest_test_data): Likewise.
12512 (ctanh_towardzero_test_data): Likewise.
12513 (ctanh_downward_test_data): Likewise.
12514 (ctanh_upward_test_data): Likewise.
12515 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12517 (func_calc_desc): Add mpc_c_c union field.
12518 (FUNC_mpc_c_c): New macro.
12519 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12520 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12522 (special_fill_min_subnorm_p120): New function.
12523 (special_real_inputs): Add min_subnorm_p120.
12524 (calc_generic_results): Handle mpc_c_c.
12525 * sysdeps/i386/fpu/libm-test-ulps: Update.
12526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12528 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12530 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12531 (do_sin_slow): New functions.
12532 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12533 (cslow2, csloww1, csloww2): Use the new functions.
12535 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12536 Use M to change sign of result instead of X. Assume X is
12538 (csloww1): Likewise.
12542 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12543 arguments A and DA.
12547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12549 (sloww1): Don't adjust sign of DX.
12550 (csloww1): Likewise.
12551 (sloww2): Use X directly and don't adjust sign of DX.
12552 (csloww2): Likewise.
12554 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12556 * math/auto-libm-test-in: Add tests of cabs and carg.
12557 * math/auto-libm-test-out: Regenerated.
12558 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12559 (carg_test_data): Likewise.
12560 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12562 (func_calc_desc): Add mpc_c_f union field.
12563 (test_functions): Add cabs and carg.
12564 (calc_generic_results): Handle mpc_c_f.
12566 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12567 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12568 as a macro and a compat symbol.
12569 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12570 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12571 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12572 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12573 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12574 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12576 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12578 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12584 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12586 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12587 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12590 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12594 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12596 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12597 trailing whitespace removed.
12598 * scripts/config.guess: Update to version 2013-11-29.
12599 * scripts/config.sub: Update to version 2013-10-01.
12601 * math/auto-libm-test-in: Add tests of sincos.
12602 * math/auto-libm-test-out: Regenerated.
12603 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12604 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12606 (func_calc_desc): Add mpfr_f_11 union field.
12607 (test_functions): Add sincos.
12608 (calc_generic_results): Handle mpfr_f_11.
12609 * sysdeps/i386/fpu/libm-test-ulps: Update.
12610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12612 2013-12-19 Andreas Schwab <schwab@suse.de>
12614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12616 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12617 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12618 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12620 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12622 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12623 * sysdeps/i386/fpu/libm-test-ulps: Update.
12624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12627 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12628 round-to-nearest mode when using frndint.
12629 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12630 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12631 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12633 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12635 * math/auto-libm-test-out: Regenerated.
12636 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12637 (TEST_COND_x86): Likewise.
12638 (expm1_tonearest_test_data): New array.
12639 (expm1_test_tonearest): New function.
12640 (expm1_towardzero_test_data): New array.
12641 (expm1_test_towardzero): New function.
12642 (expm1_downward_test_data): New array.
12643 (expm1_test_downward): New function.
12644 (expm1_upward_test_data): New array.
12645 (expm1_test_upward): New function.
12646 (main): Run the new test functions.
12647 * sysdeps/i386/fpu/libm-test-ulps: Update.
12648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12650 * include/features.h: Update comment documenting feature test
12651 macros. Mention _DEFAULT_SOURCE in comment.
12652 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12653 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12654 _BSD_SOURCE and _SVID_SOURCE.
12655 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12656 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12657 !_SVID_SOURCE]: Likewise.
12658 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12659 (__USE_POSIX_IMPLICITLY): Define.
12660 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12661 (_POSIX_SOURCE): Undefine and redefine.
12662 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12663 (_POSIX_C_SOURCE): Likewise.
12664 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12665 (Feature Test Macros): Update documentation of default features.
12667 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12669 * benchtests/Makefile: Add bench-strtok.
12670 * benchtests/bench-strtok.c: New file: strtok benchtest.
12672 2013-12-19 Allan McRae <allan@archlinux.org>
12674 * manual/install.texi: Suppress menu for plain text output.
12675 * INSTALL: Regenerated.
12677 2013-12-18 Brooks Moses <bmoses@google.com>
12680 * misc/getauxval.c: Include errno.h.
12681 (__getauxval): Set errno to ENOENT if the requested type is not
12683 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12684 don't declare with __attribute_const__.
12685 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12686 * manual/startup.texi: Document that getauxval sets errno.
12688 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12690 * math/auto-libm-test-in: Add tests of jn and yn.
12691 * math/auto-libm-test-out: Regenerated.
12692 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12693 (yn_test_data): Likewise.
12694 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12696 (func_calc_desc): Add mpfr_if_f union field.
12697 (FUNC_mpfr_if_f): New macro.
12698 (test_functions): Add jn and yn.
12699 (calc_generic_results): Assert type of second input for
12700 mpfr_ff_f. Handle mpfr_if_f.
12701 (output_for_one_input_case): Disable all checking for arguments
12702 fitting floating-point types in case of an integer argument.
12703 * sysdeps/i386/fpu/libm-test-ulps: Update.
12704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12707 Don't expect fegetround reference in libm.so.
12709 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12711 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12712 $(config-cflags-nofma).
12714 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12716 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12717 * math/auto-libm-test-out: Regenerated.
12720 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12721 to determine exponent and adjust argument to have exponent of -1.
12722 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12724 * math/auto-libm-test-out: Regenerated.
12725 * sysdeps/i386/fpu/libm-test-ulps: Update.
12726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12728 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12730 * manual/probes.texi: Remove cases when per-thread arenas are
12733 2013-12-18 Andreas Schwab <schwab@suse.de>
12735 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12736 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12737 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12738 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12739 * sysdeps/i386/i686/multiarch/Makefile: Update.
12740 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12742 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12744 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12745 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12747 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12750 Support TZ transition times < 00:00:00.
12751 This is needed for version-3 tz-format files; it supports time
12752 stamps past 2037 for America/Godthab (the only entry in the tz
12753 database for which this change is relevant).
12754 * manual/time.texi (TZ Variable): Document transition times
12755 from -167:59:59 through -00:00:01.
12756 * time/tzset.c (tz_rule): Time of day is now signed.
12757 (__tzset_parse_tz): Parse negative time of day.
12759 Document TZ transition times >= 25:00:00.
12760 * manual/time.texi (TZ Variable): Document transition times from
12761 25:00:00 through 167:59:59. These are already supported, and this
12762 support will help with version-3 tz-format files.
12764 * manual/time.texi (TZ Variable): Modernize North America example
12765 to reflect current (i.e., 2007-and-later) daylight saving rules.
12767 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12769 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12771 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12772 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12775 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12776 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12777 * sysdeps/unix/bsd/clock.c: Likewise.
12778 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12779 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12780 * sysdeps/unix/bsd/init-posix.c: Likewise.
12781 * sysdeps/unix/bsd/poll.c: Likewise.
12782 * sysdeps/unix/bsd/ptsname.c: Likewise.
12783 * sysdeps/unix/bsd/seekdir.c: Likewise.
12784 * sysdeps/unix/bsd/setegid.c: Likewise.
12785 * sysdeps/unix/bsd/seteuid.c: Likewise.
12786 * sysdeps/unix/bsd/setgid.c: Likewise.
12787 * sysdeps/unix/bsd/setrgid.c: Likewise.
12788 * sysdeps/unix/bsd/setruid.c: Likewise.
12789 * sysdeps/unix/bsd/setsid.c: Likewise.
12790 * sysdeps/unix/bsd/setuid.c: Likewise.
12791 * sysdeps/unix/bsd/sigaction.c: Likewise.
12792 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12793 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12794 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12795 * sysdeps/unix/bsd/telldir.c: Likewise.
12796 * sysdeps/unix/bsd/times.c: Likewise.
12797 * sysdeps/unix/bsd/usleep.c: Likewise.
12799 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12800 ($(objpfx)libbsd-compat.a): Remove rule.
12802 * include/features.h (__FAVOR_BSD): Do not define.
12803 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12804 features conflicting with POSIX.
12805 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12806 (_BSD_SOURCE): Remove description of not being a subset of other
12807 feature test macros.
12808 * manual/job.texi (getpgrp): Do not document BSD version.
12809 (getpgid): Do not document by reference to BSD getpgrp.
12810 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12811 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12812 * signal/signal.h [__FAVOR_BSD]: Likewise.
12813 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12814 instead of making contents conditional on [__FAVOR_BSD].
12815 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12817 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12821 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12824 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12825 values below 2**-450, not 2**-500.
12826 * math/auto-libm-test-in: Don't allow spurious underflow from
12828 * math/auto-libm-test-out: Regenerated.
12832 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12833 values of ha and hb and sort them after adjusting subnormal
12835 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12837 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12838 values of ea and eb and sort them after adjusting subnormal
12840 * math/auto-libm-test-in: Do not expect some hypot tests of
12841 subnormals to fail. Add more hypot tests.
12842 * math/auto-libm-test-out: Regenerated.
12844 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12847 * sysdeps/sh/s_fma.c: New file.
12848 * sysdeps/sh/s_fmaf.c: New file.
12849 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12851 * sysdeps/sh/Implies: Add sh/soft-fp.
12853 2013-12-16 Roland McGrath <roland@hack.frob.com>
12855 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12856 level of indirection to members `objname', `errstring', `malloced'.
12857 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12858 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12859 it as the __longjmp argument (just pass 1 instead).
12860 (_dl_catch_error): Initialize C with argument pointers and address of
12861 volatile local ERRCODE rather than copying values out of C at return.
12863 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12865 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12866 * math/auto-libm-test-out: Regenerated.
12867 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12868 (hypot_test_data): Likewise.
12869 (pow_test_data): Likewise.
12870 (pow_tonearest_test_data): Likewise.
12871 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12873 (func_calc_desc): Add mpfr_ff_f union field.
12874 (FUNC_mpfr_ff_f): New macro.
12875 (test_functions): Add atan2, hypot and pow.
12876 (special_fill_min): New function.
12877 (special_fill_minus_min): Likewise.
12878 (special_fill_min_subnorm): Likewise.
12879 (special_fill_minus_min_subnorm): Likewise.
12880 (special_real_inputs): Add min, -min, min_subnorm and
12882 (calc_generic_results): Handle mpfr_ff_f.
12883 * sysdeps/i386/fpu/libm-test-ulps: Update.
12884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12886 2013-12-16 Will Newton <will.newton@linaro.org>
12888 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12889 (Aligned Memory Blocks): Add documentation for aligned_alloc
12890 and suggest it as an alternative to posix_memalign.
12891 (Hooks for Malloc): Document __memalign_hook is also called
12892 for aligned_alloc. (Summary of Malloc): Add summary for
12893 aligned alloc. Document __memalign_hook is also called
12896 2013-12-16 Will Newton <will.newton@linaro.org>
12898 * manual/memory.texi (Malloc Examples): Clarify default
12899 alignment documentation. Suggest posix_memalign rather
12900 than memalign or valloc.
12901 (Aligned Memory Blocks): Remove suggestion to use memalign
12902 or valloc. Remove obsolete comment about BSD.
12903 Document memalign errno values and mark the function obsolete.
12904 Document posix_memalign returned error codes. Mark valloc
12905 as obsolete. (Hooks for Malloc): __memalign_hook is also
12906 called for posix_memalign and valloc.
12907 (Summary of Malloc): Add posix_memalign to function summary.
12908 __memalign_hook is also called for posix_memalign and valloc.
12910 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12912 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12916 (sloww): Use mynumber union. Expand ternary operator into
12917 if-else statements.
12918 (cslow): use mynumber union.
12920 2013-12-16 Allan McRae <allan@archlinux.org>
12922 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12923 * configure: Regenerated.
12925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12928 * configure.ac: Added --enable-maintainer-mode. Check for
12929 autoconf when enabled.
12930 * configure: Regenerated.
12932 * nscd/nscd.service: New file.
12933 * nscd/nscd.tmpfiles: New file.
12935 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12938 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12939 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12940 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12941 (strstr): Add __strstr_sse2_unaligned ifunc.
12942 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12943 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12944 (strcasestr): Remove __strcasestr_sse42 ifunc.
12945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12949 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12951 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12952 * sysdeps/sh/bits/fenv.h: ... here.
12953 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12955 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12957 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12960 hypotf multiarch implementations.
12961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12964 multiarch hypot for PPC64.
12965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12968 multiarch hypotf for PPC64.
12970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12971 modff multiarch implementations.
12972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12975 multiarch modf for PPC64.
12976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12979 multiarch modff for PPC64.
12981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12982 and logl multiarch implementations.
12983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12986 multiarch logb for PPC64.
12987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12990 multiarch logb for PPC64.
12991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12994 multiarch logb for PPC64.
12996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12997 isinff multiarch implementation.
12998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13002 multiarch isinf for PPC64.
13003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13006 multiarch isinff for PPC64.
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13009 finitef multiarch implementation.
13010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13014 multiarch finite for PPC64.
13015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13018 multiarch finitef for PPC64.
13020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13021 lrint multiarch implementation.
13022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13026 multiarch llrint for PPC64.
13027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13028 multiarch lrint for PPC64.
13030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13031 copysignf multiarch implementation.
13032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13037 multiarch copysign for PPC64.
13038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13039 multiarch copysignf for PPC64.
13041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13042 multiarch implementation.
13043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13051 multiarch llround for PPC64.
13052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13053 multiarch trunc for PPC64.
13054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13055 multiarch truncf for PPC64.
13057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13058 multiarch implementation.
13059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13067 multiarch llround for PPC64.
13068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13069 multiarch round for PPC64.
13070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13071 multiarch roundf for PPC64.
13073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13074 multiarch implementation.
13075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13083 multiarch llround for PPC64.
13084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13085 multiarch floor for PPC64.
13086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13087 multiarch floorf for PPC64.
13089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13090 multiarch implementation.
13091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13099 multiarch llround for PPC64.
13100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13101 multiarch ceil for PPC64.
13102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13103 multiarch ceilf for PPC64.
13105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13106 multiarch implementation.
13107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13114 multiarch llround for PPC64.
13115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13116 multiarch lround for PPC64.
13118 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13119 multiarch implementation.
13120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13127 multiarch isnan for PPC64.
13128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13129 multiarch isnanf for PPC64.
13131 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13132 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13133 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13134 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13135 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13138 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13139 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13140 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13144 multiarch implementations.
13145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13146 (__libc_ifunc_impl_list): Likewise.
13147 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13148 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13149 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13150 multiarch stpcpy for PPC64.
13152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13153 multiarch implementations.
13154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13155 (__libc_ifunc_impl_list): Likewise.
13156 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13157 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13158 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13159 multiarch strcpy for PPC64.
13161 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13162 redefine function name.
13163 (_wordcopy_fwd_dest_aligned): Likewise.
13164 (_wordcopy_bwd_aligned): Likewise.
13165 (_wordcopy_bwd_dest_aligned): Likewise.
13166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13167 multiarch implementations.
13168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13169 (__libc_ifunc_impl_list): Likewise.
13170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13172 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13174 multiarch wcscpy for PPC64.
13176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13177 multiarch implementations.
13178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13179 (__libc_ifunc_impl_list): Likewise.
13180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13181 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13183 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13184 multiarch wcscpy for PPC64.
13186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13187 multiarch implementations.
13188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13189 (__libc_ifunc_impl_list): Likewise.
13190 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13191 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13192 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13193 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13194 multiarch wcsrchr for PPC64.
13196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13197 multiarch implementations.
13198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13199 (__libc_ifunc_impl_list): Likewise.
13200 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13201 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13202 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13203 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13204 multiarch wcschr for PPC64.
13206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13207 multiarch implementations.
13208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13209 (__libc_ifunc_impl_list): Likewise.
13210 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13211 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13212 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13213 multiarch strchrnul for PPC64.
13215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13218 (__libc_ifunc_impl_list): Likewise.
13219 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13220 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13221 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13222 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13228 (__libc_ifunc_impl_list): Likewise.
13229 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13230 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13231 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13232 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13236 multiarch implementations.
13237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13238 (__libc_ifunc_impl_list): Likewise.
13239 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13240 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13241 strncasecmp for PPC64.
13242 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13243 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13244 multiarch strncasecmp_l for PPC64.
13246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13247 multiarch implementations.
13248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13249 (__libc_ifunc_impl_list): Likewise.
13250 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13252 multiarch strcasecmp for PPC64.
13253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13255 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13256 multiarch strcasecmp_l for PPC64.
13258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13261 (__libc_ifunc_impl_list): Likewise.
13262 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13263 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13264 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13270 (__libc_ifunc_impl_list): Likewise.
13271 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13272 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13273 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13279 (__libc_ifunc_impl_list): Likewise.
13280 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13281 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13282 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13283 rawmemrchr for PPC64.
13285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13288 (__libc_ifunc_impl_list): Likewise.
13289 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13290 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13291 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13297 (__libc_ifunc_impl_list): Likewise.
13298 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13299 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13300 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13306 (__libc_ifunc_impl_list): Likewise.
13307 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13308 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13309 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13312 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13313 avoid cretion of __bzero symbol.
13314 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13316 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13318 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13321 multiarch implementations.
13322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13323 (__libc_ifunc_impl_list): Likewise.
13324 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13325 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13326 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13327 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13329 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13330 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13331 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13332 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13333 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13335 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13337 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13341 (__libc_ifunc_impl_list): Likewise.
13342 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13343 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13344 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13345 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13349 multiarch for POWER/PPC64.
13350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13351 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13356 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13358 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13361 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13362 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13363 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13364 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13365 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13366 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13367 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13368 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13369 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13370 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13371 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13372 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13373 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13374 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13375 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13384 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13388 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13390 * benchtests/Makefile (bench): Add exp2 and log2.
13391 (LDLIBS-bench-exp2): Add -lm.
13392 (LDLIBS-bench-log2): Likewise.
13393 * benchtests/exp2-inputs: New inputs file.
13394 * benchtests/log2-inputs: New inputs file.
13395 * benchtests/log-inputs: Add new inputs.
13396 * benchtests/tan-inputs: Likewise.
13398 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13400 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13402 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13403 (csloww2): ... from here.
13405 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13406 instead of structures.
13407 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13408 (POLYNOMIAL): Likewise.
13409 (TAYLOR_SLOW): Likewise.
13415 (sloww1); Likewise.
13416 (sloww2): Likewise.
13417 (bsloww1): Likewise.
13418 (bsloww2): Likewise.
13419 (cslow2): Likewise.
13420 (csloww): Likewise.
13421 (csloww1): Likewise.
13422 (csloww2): Likewise.
13424 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13426 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13427 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13428 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13429 * malloc/hooks.c (realloc_check): Likewise.
13431 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13432 * malloc/arena.c: Remove PER_THREAD conditional.
13433 [!PER_THREAD]: Remove code.
13434 (ptmalloc_unlock_all2): Likewise.
13435 (ptmalloc_init): Likewise.
13436 (_int_new_arena): Likewise.
13437 (arena_get2): Likewise.
13438 * malloc/hooks.c (__malloc_get_state): Likewise.
13439 (__malloc_set_state): Likewise.
13440 * malloc/malloc.c: Likewise.
13441 (struct malloc_state): Likewise.
13442 (struct malloc_par): Likewise.
13443 (__libc_realloc): Likewise.
13444 (__libc_mallopt): Likewise.
13446 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13448 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13450 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13452 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13453 macro to a function. Check for zero perturb_byte.
13454 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13456 * malloc/malloc.c: (force_reg): Remove.
13457 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13458 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13459 force_reg by atomic_forced_read.
13460 * malloc/arena.c (ptmalloc_init): Likewise.
13461 * malloc/hooks.c (top_check): Likewise.
13463 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13467 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13471 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13473 * math/auto-libm-test-in: Add tests of lgamma.
13474 * math/auto-libm-test-out: Regenerated.
13475 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13476 (M_LOG_2_SQRT_PIl): Likewise.
13477 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13478 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13480 (func_calc_desc): Add mpfr_f_f1 union field.
13481 (ARGS1): New macro.
13489 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13490 (test_functions): Add lgamma.
13491 (calc_generic_results): Handle mpfr_f_f1.
13492 * sysdeps/i386/fpu/libm-test-ulps: Update.
13493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13495 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13497 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13498 __mpn_add_n for PowerPC64/POWER7.
13499 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13500 __mpn_sub_n for PowerPC64/POWER7.
13502 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13503 __mpn_addmul_1 for PowerPC64.
13504 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13505 __mpn_submul_1 for PowerPC64.
13506 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13508 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13511 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13514 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13516 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13518 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13520 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13521 add multiarch folders.
13522 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13523 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13524 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13525 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13526 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13527 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13528 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13529 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13530 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13531 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13532 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13541 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13547 multiarch __ieee754_hypot for PowerPC32.
13548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13553 multiarch __ieee754_hypotf for PowerPC32.
13555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13556 long_double_symbol only if __logbl is defined.
13557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13558 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13560 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13562 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13563 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13564 path for implementation.
13565 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13568 logb, and logbl multiarch implementations for PowerPC32.
13569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13574 multiarch logb for PowerPC32.
13575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13580 multiarch logbf for PowerPC32.
13581 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13585 multiarch logbl implementation for PowerPC32.
13587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13588 and modff multiarch implementations.
13589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13594 multiarch modf for PowerPC32.
13595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13600 multiarch modff for PowerPC32.
13602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13603 and lrintf multiarch implementations.
13604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13609 multiarch lrint for PowerPC32.
13610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13611 file: multiarch lrintf for PowerPC32.
13613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13614 and lroundf multiarch implementations.
13615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13622 multiarch lround for PowerPC32.
13623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13624 file: multiarch lroundf for PowerPC32.
13626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13627 copysign and copysignf multiarch implementations.
13628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13633 file: multiarch copysign for PowerPC32.
13634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13635 file: multiarch copysignf for PowerPC32.
13637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13638 and truncf multiarch implementations.
13639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13644 multiarch trunc for PowerPC32.
13645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13650 multiarch truncf for PowerPC32.
13652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13653 and roundf multiarch implementations.
13654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13659 multiarch round for PowerPC32.
13660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13665 multiarch roundf for PowerPC32.
13667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13668 and floorf multiarch implementations.
13669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13674 multiarch floor for PowerPC32.
13675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13680 multiarch floorf for PowerPC32.
13682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13683 and ceilf multiarch implementations.
13684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13689 multiarch ceil for PowerPC32.
13690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13695 multiarch ceilf for PowerPC32.
13697 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13699 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13700 FINITEF is defined.
13701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13702 and finitef multiarch implementations.
13703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13708 multiarch finite for PowerPC32.
13709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13712 file: multiarch finitef for PowerPC32.
13714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13715 and isinff multiarch implementations.
13716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13721 multiarch isinf for PowerPC32.
13722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13725 multiarch isinff for PowerPC32.
13727 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13728 alias when __isnan is defined.
13729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13730 and isnanf multiarch implementations.
13731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13740 multiarch isnan for PowerPC32.
13741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13746 multiarch isnanf for PowerPC32.
13748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13749 and sqrtf multiarch implementations.
13750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13755 multiarch sqrt for PowerPC32.
13756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13761 multiarch sqrtf for PowerPC32.
13763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13764 and llroundf multiarch implementations.
13765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13772 file: multiarch llround for PowerPC32.
13773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13774 file: multiarch llroundf for PowerPC32.
13776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13777 multiarch PowerPC32 fpu implementations.
13778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13783 multiarch llrint for PowerPC32.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13793 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13795 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13797 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13799 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13800 multiarch wordcopy for PPC32.
13801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13804 (__libc_ifunc_impl_list): Likewise.
13805 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13806 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13807 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13808 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13809 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13810 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13812 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13820 multiarch wcscpy for PPC32.
13821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13824 (__libc_ifunc_impl_list): Likewise.
13825 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13826 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13827 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13828 sysdeps/powerpc/power6/wcscpy.c.
13830 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13838 multiarch wcsrchr for PPC32.
13839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13842 (__libc_ifunc_impl_list): Likewise.
13843 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13844 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13845 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13846 sysdeps/powerpc/power6/wcsrchr.c.
13848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13854 multiarch wcschr for PPc32.
13855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13858 (__libc_ifunc_impl_list): Likewise.
13859 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13860 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13861 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13862 sysdeps/powerpc/power6/wcschr.c.
13864 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13865 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13867 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13868 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13869 file: multiarch strchr for PPC32.
13870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13873 (__libc_ifunc_impl_list): Likewise.
13875 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13877 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13879 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13881 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13882 multiarch strchrnul for PPC32.
13883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13886 (__libc_ifunc_impl_list): Likewise.
13888 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13891 multiarch strncasecmp for PPC32.
13892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13895 multiarch strncasecmp_l for PPC32.
13896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13897 strncasecmp multiarch objects.
13898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13899 (__libc_ifunc_impl_list): Likewise.
13901 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13903 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13904 multiarch strncasecmp for PPC32.
13905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13908 multiarch strcasecmp_l for PPC32.
13909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13912 (__libc_ifunc_impl_list): Likewise.
13914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13918 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13919 multiarch strncmp for PPC32.
13920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13923 (__libc_ifunc_impl_list): Likewise.
13925 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13926 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13928 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13929 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13933 (__libc_ifunc_impl_list): Likewise.
13935 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13937 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13939 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13943 (__libc_ifunc_impl_list): Likewise.
13945 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13949 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13950 multiarch rawmemchr for PPC32.
13951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13954 (__libc_ifunc_impl_list): Likewise.
13956 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13958 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13960 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13961 file: memrchr multiarch for PPC32.
13962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13965 (__libc_ifunc_impl_list): Likewise.
13967 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13971 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13972 multiarch memchr for PPC32.
13973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13976 (__libc_ifunc_impl_list): Likewise.
13978 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13979 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13981 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13983 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13984 file: multiarch mempcpy for PPC32.
13985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13988 (__libc_ifunc_impl_list): Likewise.
13990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13991 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13994 multiarch bzero for PPC32.
13995 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13997 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13999 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14000 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14001 file: multiarch memset for PPC32.
14002 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14004 memset multiarch objects.
14005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14006 (__libc_ifunc_impl_list): Likewise.
14008 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14013 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14017 (__libc_ifunc_impl_list): Likewise.
14019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14028 multiarch memcpy for PPC32.
14029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14032 (__libc_ifunc_impl_list): Likewise.
14034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14035 support multiarch for POWER/PPC32.
14036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14038 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14040 Implies file to make multiarch folder appers before the fpu and
14041 default folder for power4 configuration.
14043 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14045 * scripts/bench.pl: Append volatile keyword to type.
14047 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14049 * sysdeps/sh/sotruss-lib.c: New file.
14050 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14052 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14056 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14059 * math/w_tgamma.c: Include <errno.h>.
14060 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14061 * math/w_tgammaf.c: Include <errno.h>.
14062 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14063 * math/w_tgammal.c: Include <errno.h>.
14064 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14065 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14066 underflow. Add more tgamma tests.
14067 * math/auto-libm-test-out: Regenerated.
14068 * sysdeps/i386/fpu/libm-test-ulps: Update.
14069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14071 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14072 sin, sinh, tan, tanh, tgamma, y0 and y1.
14073 * math/auto-libm-test-out: Regenerated.
14074 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14075 (TEST_COND_x86): Likewise.
14076 (M_E2l): Remove macro.
14078 (M_2_SQRT_PIl): Likewise.
14079 (M_SQRT_PIl): Likewise.
14080 (M_1_DIV_El): Likewise.
14081 (log_test_data): Use AUTO_TESTS_f_f.
14082 (log10_test_data): Likewise.
14083 (log1p_test_data): Likewise.
14084 (log2_test_data): Likewise.
14085 (sin_test_data): Likewise.
14086 (sin_tonearest_test_data): Likewise.
14087 (sin_towardzero_test_data): Likewise.
14088 (sin_downward_test_data): Likewise.
14089 (sin_upward_test_data): Likewise.
14090 (sinh_test_data): Likewise.
14091 (sinh_tonearest_test_data): Likewise.
14092 (sinh_towardzero_test_data): Likewise.
14093 (sinh_downward_test_data): Likewise.
14094 (sinh_upward_test_data): Likewise.
14095 (tan_test_data): Likewise.
14096 (tan_tonearest_test_data): Likewise.
14097 (tan_towardzero_test_data): Likewise.
14098 (tan_downward_test_data): Likewise.
14099 (tan_upward_test_data): Likewise.
14100 (tanh_test_data): Likewise.
14101 (tgamma_test_data): Likewise.
14102 (y0_test_data): Likewise.
14103 (y1_test_data): Likewise.
14104 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14105 (special_real_inputs): Add pi/4.
14106 * sysdeps/i386/fpu/libm-test-ulps: Update.
14107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14109 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14111 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14112 "longjmp_target" static probes.
14113 (__longjmp): Rename to __longjmp_symbol.
14114 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14115 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14116 on which longjmp to generate.
14117 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14120 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14121 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14122 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14123 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14124 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14125 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14127 __longjmp_symbol based on which __longjmp to generate.
14128 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14130 (setjmp): Rename to setjmp_symbol.
14131 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14132 (_setjmp): Rename to _setjmp_symbol.
14133 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14134 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14135 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14136 which setjmp to generate.
14137 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14138 "longjmp_target" static probes.
14140 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14142 * benchtests/README: Add note about output arguments.
14143 * benchtests/bench-sincos.c: Remove file.
14144 * benchtests/sincos-inputs: New file.
14145 * scripts/bench.pl: Identify output arguments and define
14146 static variables for them.
14148 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14151 * Makefile (INSTALL): Add install-plain.texi as the primary
14153 * manual/install-plain.texi: New file.
14154 * manual/install.texi: Include node directive only for
14155 non-plaintext output.
14157 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14159 * stdlib/longlong.h: Update from GCC.
14163 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14164 * math/w_j0f.c (y0f): Likewise.
14165 * math/w_j0l.c (__y0l): Likewise.
14166 * math/w_j1.c (y1): Likewise.
14167 * math/w_j1f.c (y1f): Likewise.
14168 * math/w_j1l.c (__y1l): Likewise
14169 * math/w_jn.c (yn): Likewise.
14170 * math/w_jnf.c (ynf): Likewise.
14171 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14172 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14173 value for Bessel function domain errors outside _SVID_ mode.
14174 Adjust sign of return value for yn (negative integer, 0).
14175 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14176 by zero in return for negative x and set sign appropriately for
14178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14179 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14180 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14181 expectations in error cases.
14182 (y1_test_data): Likewise.
14183 (yn_test_data): Likewise.
14184 * sysdeps/i386/fpu/libm-test-ulps: Update.
14185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14187 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14189 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14190 "64" to "64-v1". Add "64-v2".
14191 (abi-64-options): Rename to ...
14192 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14193 (abi-64-condition): Rename to ...
14194 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14195 (abi-64-ld-soname): Rename to ...
14196 (abi-64-v1-ld-soname): ... this.
14197 (abi-64-v2-options): Define.
14198 (abi-64-v2-condition): Likewise.
14199 (abi-64-v2-ld-soname): Likewise.
14200 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14201 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14206 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14207 Alan Modra <amodra@gmail.com>
14209 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14210 New versions for use with the ELFv2 ABI.
14211 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14212 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14214 (struct La_ppc64v2_retval): Likewise.
14215 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14216 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14217 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14218 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14219 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14221 Do not save or restore CR.
14222 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14223 (_dl_profile_resolve): Do no save or restore CR. Support extended
14224 return values for ELFv2 ABI. Fix location of FPR return registers.
14225 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14226 updated values for _CALL_ELF == 2.
14227 (La_regs, La_retval, int_retval): Likewise.
14229 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14231 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14232 (FRAME_MIN_SIZE_PARM): Likewise.
14233 (FRAME_BACKCHAIN): Likewise.
14234 (FRAME_CR_SAVE): Likewise.
14235 (FRAME_LR_SAVE): Likewise.
14236 (FRAME_TOC_SAVE): Likewise.
14237 (FRAME_PARM_SAVE): Likewise.
14238 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14239 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14240 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14241 (call_mcount_parm_offset): New macro.
14242 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14243 (PROF): Use symbolic stack frame offsets.
14244 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14245 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14246 Redefine in terms of FRAME_MIN_SIZE.
14247 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14248 (_dl_profile_resolve): Likewise. Update comment.
14249 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14250 symbols stack frame offsets.
14251 (__sigsetjmp): Likewise.
14252 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14253 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14254 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14255 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14258 (FRAME_BACKCHAIN): Remove.
14259 (FRAME_CR_SAVE): Likewise.
14260 (FRAME_LR_SAVE): Likewise.
14261 (FRAME_COMPILER_DW): Likewise.
14262 (FRAME_LINKER_DW): Likewise.
14263 (FRAME_TOC_SAVE): Likewise.
14264 (FRAME_PARM_SAVE): Likewise.
14265 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14266 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14267 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14269 (CHECK_SP): Use symbolic stack frame offsets.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14271 zone" instead of caller's parameter save area for temp storage.
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14273 Likewise. Also, use symbolic stack frame offsets.
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14275 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14276 our own stack frame instead of the caller's.
14277 (__socket): Use symbolic stack frame offsets.
14279 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14280 Alan Modra <amodra@gmail.com>
14282 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14284 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14285 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14286 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14288 (elf_machine_fixup_plt): Call it.
14289 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14291 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14292 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14293 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14294 r2 before calling target.
14296 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14297 Alan Modra <amodra@gmail.com>
14299 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14300 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14301 versions of macros to support ELFv2 ABI.
14302 (LOCALENTRY): New macro.
14303 (ENTRY, EALIGN): Use it.
14304 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14305 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14306 fall through into ENTRY entry point.
14307 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14308 Only define if _CALL_ELF != 2.
14310 (elf_machine_matches_host): Verify ABI version matches.
14311 (RTLD_START): Use LOCALENTRY.
14312 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14313 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14314 (PLT_ENTRY_WORDS): New macro.
14315 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14316 (elf_machine_runtime_setup): Support ELFv2 ABI.
14317 (elf_machine_fixup_plt): Likewise.
14318 (elf_machine_plt_conflict): Likewise.
14319 (resolve_ifunc): Likewise.
14320 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14324 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14326 (makecontext): Support ELFv2 ABI.
14327 * elf/elf.h (EF_PPC64_ABI): Define.
14329 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14331 * sysdeps/powerpc/powerpc64/sysdep.h
14332 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14333 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14334 (ENTRY) [ASSEMBLER]: ... but instead here ...
14335 (EALIGN) [ASSEMBLER]: ... and here.
14336 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14337 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14338 (ENTRY_2) [!ASSEMBLER]: Use it.
14339 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14340 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14341 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14342 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14343 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14345 Use PPC64_LOAD_FUNCPTR.
14347 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14349 2013-12-04 Alan Modra <amodra@gmail.com>
14351 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14352 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14353 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14354 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14357 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14358 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14359 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14360 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14361 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14363 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14366 (__makecontext): Fix incorrect CFI when backtracing out of
14367 context created via makecontext.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14369 (__setcontext): Fix incorrect CFI during switch to new context.
14370 (__novec_setcontext): Likewise.
14372 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14375 * time/strptime_l.c (__strptime_internal): Allow modifiers
14377 * time/tst-strptime.c (day_tests): Add testcase.
14379 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14381 * scripts/bench.pl: Skip over blank lines.
14383 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14386 * manual/time.texi (Calendar Time): Clarify what timezone functions
14389 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14393 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14395 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14397 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14398 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14399 * debug/memset_chk.c (__memset_chk): Likewise.
14400 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14401 * debug/strncpy_chk.c: Likewise.
14403 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14407 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14408 (__ieee754_exp): For possibly underflowing results, check size of
14409 result and force underflow exception if required.
14410 * math/auto-libm-test-in: Add more tests of exp.
14411 * math/auto-libm-test-out: Regenerated.
14412 * sysdeps/i386/fpu/libm-test-ulps: Update.
14413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14416 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14417 * math/w_exp2f.c (__exp2f): Likewise.
14418 * math/w_exp2l.c (__exp2l): Likewise.
14419 * math/auto-libm-test-in: Do not allow missing errno on exp2
14421 * math/auto-libm-test-out: Regenerated.
14423 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14426 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14427 handle filename validation.
14428 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14431 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14434 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14435 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14436 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14438 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14439 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14440 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14441 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14442 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14443 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14444 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14445 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14446 Add more erfc tests.
14447 * math/auto-libm-test-out: Regenerated.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14452 exp2, expm1, j0 and j1.
14453 * math/auto-libm-test-out: Regenerated.
14454 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14455 (erfc_test_data): Likewise.
14456 (exp_test_data): Likewise.
14457 (exp_tonearest_test_data): Likewise.
14458 (exp_towardzero_test_data): Likewise.
14459 (exp_downward_test_data): Likewise.
14460 (exp_upward_test_data): Likewise.
14461 (exp10_test_data): Likewise.
14462 (exp2_test_data): Likewise.
14463 (expm1_test_data): Likewise.
14464 (j0_test_data): Likewise.
14465 (j1_test_data): Likewise.
14466 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14467 (input_flag_type): Add flag_xfail_rounding.
14468 (input_flags): Add xfail-rounding.
14469 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14470 (output_for_one_input_case): Handle flag_xfail_rounding.
14471 * sysdeps/i386/fpu/libm-test-ulps: Update.
14472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14474 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14477 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14480 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14483 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14484 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14485 (STAP_PROBE0): New macro.
14486 (STAP_PROBE1): Likewise.
14487 (STAP_PROBE2): Likewise.
14488 (STAP_PROBE3): Likewise.
14489 (STAP_PROBE4): Likewise.
14491 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14493 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14495 2013-12-02 Steve Ellcey <sellcey@mips.com>
14497 * benchtests/Makefile (bench): Add sqrt.
14498 (LDLIBS-bench-sqrt): New.
14499 * benchtests/sqrt-input: New.
14501 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14503 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14504 (GAIH_EAI): Likewise.
14505 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14506 (gaih_inet): Likewise.
14507 (getaddrinfo): Don't use GAIH_EAI.
14509 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14510 (struct gaih): Remove definition.
14512 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14514 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14515 Use HERRNOP directly.
14517 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14521 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14523 * math/gen-auto-libm-tests.c (test_functions): Add more
14524 single-argument functions.
14525 (special_fill_pi_2): New function.
14526 (special_fill_minus_pi_2): Likewise.
14527 (special_fill_pi_6): Likewise.
14528 (special_fill_minus_pi_6): Likewise.
14529 (special_fill_pi_3): Likewise.
14530 (special_fill_2pi_3): Likewise.
14531 (special_fill_e): Likewise.
14532 (special_fill_1_e): Likewise.
14533 (special_fill_e_minus_1): Likewise.
14534 (special_real_inputs): Add more special inputs.
14535 (output_for_one_input_case): Do not require ERANGE on underflow to
14536 zero if round-to-nearest result does not underflow to zero, unless
14537 exact results required.
14538 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14539 atan, atanh, cbrt, cos and cosh.
14540 * math/auto-libm-test-out: Regenerated.
14541 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14542 (acos_tonearest_test_data): Likewise.
14543 (acos_towardzero_test_data): Likewise.
14544 (acos_downward_test_data): Likewise.
14545 (acos_upward_test_data): Likewise.
14546 (acosh_test_data): Likewise.
14547 (asin_test_data): Likewise.
14548 (asin_tonearest_test_data): Likewise.
14549 (asin_towardzero_test_data): Likewise.
14550 (asin_upward_test_data): Likewise.
14551 (asinh_test_data): Likewise.
14552 (atan_test_data): Likewise.
14553 (atanh_test_data): Likewise.
14554 (cbrt_test_data): Likewise.
14555 (cos_test_data): Likewise.
14556 (cos_tonearest_test_data): Likewise.
14557 (cos_towardzero_test_data): Likewise.
14558 (cos_downward_test_data): Likewise.
14559 (cos_upward_test_data): Likewise.
14560 (cosh_test_data): Likewise.
14561 (cosh_tonearest_test_data): Likewise.
14562 (cosh_towardzero_test_data): Likewise.
14563 (cosh_downward_test_data): Likewise.
14564 (cosh_upward_test_data): Likewise.
14565 * sysdeps/i386/fpu/libm-test-ulps: Update.
14566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14568 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14571 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14572 * math/w_exp10f.c (__exp10f): Likewise.
14573 * math/w_exp10l.c (__exp10l): Likewise.
14574 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14575 errno settings in existing tests.
14578 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14579 precision control set to double precision.
14580 * sysdeps/i386/fpu/w_sqrt.c: New file.
14581 * math/auto-libm-test-in: Add more tests.
14582 * math/auto-libm-test-out: Update.
14584 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14585 (sqrt_test_tonearest): New function.
14586 (sqrt_towardzero_test_data): New variable.
14587 (sqrt_test_towardzero): New function.
14588 (sqrt_downward_test_data): New variable.
14589 (sqrt_test_downward): New function.
14590 (sqrt_upward_test_data): New variable.
14591 (sqrt_test_upward): New function.
14592 (main): Call the new functions.
14594 * math/gen-auto-libm-tests.c: New file.
14595 * math/auto-libm-test-in: Likewise.
14596 * math/auto-libm-test-out: New generated file.
14597 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14599 (%beautify): Add generated representations of zero.
14600 (top level): Set $auto_input and call parse_auto_input.
14601 (beautify): Remove trailing "f" from hex float constants.
14602 (parse_args): Handle XFAIL_TEST.
14603 (convert_condition): New function.
14604 (or_value): Likewise.
14605 (or_cond_value): Likewise.
14606 (generate_testfile): Handle AUTO_TESTS_* lines.
14607 (parse_auto_input): New function.
14608 * math/libm-test.inc (XFAIL_TEST): New macro.
14609 (ERRNO_UNCHANGED): Update value.
14610 (ERRNO_EDOM): Likewise.
14611 (ERRNO_ERANGE): Likewise.
14612 (IGNORE_RESULT): Likewise.
14613 (TEST_COND_flt_32): New macro.
14614 (TEST_COND_dbl_64): Likewise.
14615 (TEST_COND_ldbl_96_intel): Likewise.
14616 (TEST_COND_ldbl_96_m68k): Likewise.
14617 (TEST_COND_ldbl_128): Likewise.
14618 (TEST_COND_ldbl_128ibm): Likewise.
14619 (TEST_COND_long32): Likewise.
14620 (TEST_COND_long64): Likewise.
14621 (TEST_COND_before_rounding): Likewise.
14622 (TEST_COND_after_rounding): Likewise.
14623 (enable_test): Handle XFAIL_TEST flag.
14624 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14625 with finite results.
14626 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14627 auto-libm-test-out.
14629 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14630 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14633 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14634 __tls_get_addr_internal instead of __tls_get_offset in order to
14635 avoid GOT pointer dependency. Make rtld export
14636 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14637 __tls_get_addr since we are a __tls_get_offset platform.
14638 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14639 GOT pointer being set up before.
14640 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14642 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14644 * manual/math.texi (Errors in Math Functions): Document accuracy
14648 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14649 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14654 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14665 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14666 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14667 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14668 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14669 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14671 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14673 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14675 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14676 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14677 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14678 atomic-feupdateenv and flt-rounds.
14679 * sysdeps/powerpc/nofpu/Versions (libc): Add
14680 __atomic_feholdexcept, __atomic_feclearexcept,
14681 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14682 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14683 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14684 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14685 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14690 * manual/arith.texi (FP Exceptions): Document that exceptions may
14691 not be raised when matherr is used.
14692 (Math Error Reporting): Document overflow in directed rounding
14693 modes. Document that errno may not be set when finite values are
14694 returned on overflow. Document intent to set errno on underflow
14695 only for underflow to zero.
14698 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14699 round-to-nearest then adjust result for other rounding modes.
14700 * include/fenv.h (fegetround): Use libm_hidden_proto.
14701 * math/fegetround.c (fegetround): Use libm_hidden_def.
14702 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14703 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14704 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14705 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14707 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14708 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14709 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14710 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14712 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14715 * nss/Versions (libnss_files): Add
14716 _nss_files_gethostbyname3_r.
14717 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14719 (HOST_DB_LOOKUP): Remove macro.
14720 (_nss_files_gethostbyname_r): Implement function without the
14721 HOST_DB_LOOKUP macro.
14722 (_nss_files_gethostbyname2_r): Likewise.
14724 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14726 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14728 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14730 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14731 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14734 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14736 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14737 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14738 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14739 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14740 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14741 __fe_nomask_env_priv and attribute_hidden.
14742 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14743 (libc_feupdateenv_test_ppc): Likewise.
14744 (libc_feresetround_ppc): Likewise.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14746 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14747 compat_symbol macro.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14749 (__fe_nomask_env): Likewise.
14750 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14752 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14754 * string/Makefile: Remove ifunc tests.
14755 * string/test-string.h: Define TEST_IFUNC.
14756 * string/test-bcopy-ifunc.c: Remove.
14757 * string/test-bzero-ifunc.c: Likewise.
14758 * string/test-memccpy-ifunc.c: Likewise.
14759 * string/test-memchr-ifunc.c: Likewise.
14760 * string/test-memcmp-ifunc.c: Likewise.
14761 * string/test-memcpy-ifunc.c: Likewise.
14762 * string/test-memmem-ifunc.c: Likewise.
14763 * string/test-memmove-ifunc.c: Likewise.
14764 * string/test-mempcpy-ifunc.c: Likewise.
14765 * string/test-memrchr-ifunc.c: Likewise.
14766 * string/test-memset-ifunc.c: Likewise.
14767 * string/test-rawmemchr-ifunc.c: Likewise.
14768 * string/test-stpcpy-ifunc.c: Likewise.
14769 * string/test-stpncpy-ifunc.c: Likewise.
14770 * string/test-strcasecmp-ifunc.c: Likewise.
14771 * string/test-strcasestr-ifunc.c: Likewise.
14772 * string/test-strcat-ifunc.c: Likewise.
14773 * string/test-strchr-ifunc.c: Likewise.
14774 * string/test-strchrnul-ifunc.c: Likewise.
14775 * string/test-strcmp-ifunc.c: Likewise.
14776 * string/test-strcpy-ifunc.c: Likewise.
14777 * string/test-strcspn-ifunc.c: Likewise.
14778 * string/test-strlen-ifunc.c: Likewise.
14779 * string/test-strncasecmp-ifunc.c: Likewise.
14780 * string/test-strncat-ifunc.c: Likewise.
14781 * string/test-strncmp-ifunc.c: Likewise.
14782 * string/test-strncpy-ifunc.c: Likewise.
14783 * string/test-strnlen-ifunc.c: Likewise.
14784 * string/test-strpbrk-ifunc.c: Likewise.
14785 * string/test-strrchr-ifunc.c: Likewise.
14786 * string/test-strspn-ifunc.c: Likewise.
14787 * string/test-strstr-ifunc.c: Likewise.
14789 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14791 * benchtests/Makefile: Remove ifunc tests.
14792 * benchtests/bench-string.h: Define TEST_IFUNC.
14793 * benchtests/bench-bcopy-ifunc.c: Remove.
14794 * benchtests/bench-bzero-ifunc.c: Likewise.
14795 * benchtests/bench-memccpy-ifunc.c: Likewise.
14796 * benchtests/bench-memchr-ifunc.c: Likewise.
14797 * benchtests/bench-memcmp-ifunc.c: Likewise.
14798 * benchtests/bench-memcpy-ifunc.c: Likewise.
14799 * benchtests/bench-memmem-ifunc.c: Likewise.
14800 * benchtests/bench-memmove-ifunc.c: Likewise.
14801 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14802 * benchtests/bench-memrchr-ifunc.c: Likewise.
14803 * benchtests/bench-memset-ifunc.c: Likewise.
14804 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14805 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14806 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14807 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14808 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14809 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14810 * benchtests/bench-strcat-ifunc.c: Likewise.
14811 * benchtests/bench-strchr-ifunc.c: Likewise.
14812 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14813 * benchtests/bench-strcmp-ifunc.c: Likewise.
14814 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14815 * benchtests/bench-strcpy-ifunc.c: Likewise.
14816 * benchtests/bench-strcspn-ifunc.c: Likewise.
14817 * benchtests/bench-strlen-ifunc.c: Likewise.
14818 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14819 * benchtests/bench-strncat-ifunc.c: Likewise.
14820 * benchtests/bench-strncmp-ifunc.c: Likewise.
14821 * benchtests/bench-strncpy-ifunc.c: Likewise.
14822 * benchtests/bench-strnlen-ifunc.c: Likewise.
14823 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14824 * benchtests/bench-strrchr-ifunc.c: Likewise.
14825 * benchtests/bench-strsep-ifunc.c: Likewise.
14826 * benchtests/bench-strspn-ifunc.c: Likewise.
14827 * benchtests/bench-strstr-ifunc.c: Likewise.
14829 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14831 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14833 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14835 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14836 * rt/aio.h: Likewise.
14837 * sysdeps/gnu/bits/utmp.h: Likewise.
14838 * sysdeps/gnu/bits/utmpx.h: Likewise.
14839 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14840 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14841 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14842 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14843 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14844 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14845 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14846 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14847 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14848 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14849 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14850 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14851 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14853 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14854 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14855 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14856 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14857 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14858 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14859 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14860 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14861 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14862 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14863 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14866 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14867 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14868 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14869 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14870 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14871 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14872 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14873 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14874 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14875 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14876 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14877 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14878 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14879 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14880 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14882 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14885 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14886 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14888 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14890 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14891 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14894 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14897 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14898 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14899 (__fesetround): Remove define.
14900 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14901 rounding and exceptions handling.
14902 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14903 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14904 (__fe_nomask_env): Likewise.
14905 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14906 __fegetround instead of fegetround.
14907 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14908 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14910 2013-11-21 Roland McGrath <roland@hack.frob.com>
14912 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14915 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14917 2013-11-21 Meador Inge <meadori@codesourcery.com>
14920 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14921 (encrypt_r): Likewise.
14922 * malloc/obstack.h (obstack_free): Likewise.
14923 * posix/unistd.h (encrypt): Likewise.
14925 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14927 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14928 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14929 DL_CALL_DT_FINI() that call the functions directly.
14930 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14931 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14932 * elf/dl-fini.c: Likewise.
14934 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14936 * malloc/hooks.c (memalign_check): Add alignment rounding.
14937 * malloc/malloc.c (_mid_memalign): New function.
14938 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14939 Implement by calling _mid_memalign.
14940 * manual/probes.texi (Memory Allocation Probes): Remove
14941 memory_valloc_retry and memory_pvalloc_retry.
14943 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14945 * locale/programs/locarchive.c (open_archive): Add const
14946 qualifier to ARCHIVEFNAME and copy default fname to
14950 * libio/tst-widetext.input: Rename Oriya to Odia.
14951 * locale/iso-639.def: Likewise.
14953 * manual/probes.texi (Mathematical Function Probes): Add
14954 documentation for sin, cos, asin and acos probes.
14955 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14956 (__sin32): Add slowasin probe.
14957 (__cos32): Add slowacos probe.
14958 (__mpsin): Add slowsin probe.
14959 (__mpcos): Add slowcos probe.
14961 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14964 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14965 thread-local __sim_exceptions_thread and global
14966 __sim_exceptions_global.
14967 (__sim_disabled_exceptions): Change to thread-local
14968 __sim_disabled_exceptions_thread and global
14969 __sim_disabled_exceptions_global.
14970 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14971 and global __sim_round_mode_global.
14972 (__simulate_exceptions): Use thread-local floating-point state and
14973 set global state from it as needed.
14974 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14975 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14976 __sim_round_mode_thread.
14977 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14978 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14979 and global __sim_exceptions_global.
14980 (__sim_disabled_exceptions): Change to thread-local
14981 __sim_disabled_exceptions_thread and global
14982 __sim_disabled_exceptions_global.
14983 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14984 and global __sim_round_mode_global.
14985 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14986 (SIM_SET_GLOBAL): Likewise.
14987 * sysdeps/powerpc/soft-fp/sfp-machine.h
14988 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14989 __sim_round_mode_thread.
14990 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14991 __sim_disabled_exceptions_thread.
14992 (__sim_exceptions): Change to __sim_exceptions_thread.
14993 (__sim_disabled_exceptions): Change to
14994 __sim_disabled_exceptions_thread.
14995 (__sim_round_mode): Change to __sim_round_mode_thread.
14996 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14997 thread-local floating-point state and set global state from it as
14999 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15000 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15001 (__sim_disabled_exceptions): Remove extern declaration.
15002 (feenableexcept): Use thread-local floating-point state and set
15003 global state from it as needed.
15004 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15005 extern declaration.
15006 (__sim_disabled_exceptions): Likewise.
15007 (__sim_round_mode): Likewise.
15008 (__fegetenv): Use thread-local floating-point state.
15009 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15010 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15011 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15012 floating-point state and set global state from it as needed.
15013 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15014 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15015 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15017 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15018 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15020 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15021 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15022 Use __sim_round_mode_thread.
15023 * math/test-fenv-tls.c: New file.
15024 * math/Makefile (tests): Add test-fenv-tls.
15025 ($(objpfx)test-fenv-tls): Depend on
15026 $(common-objpfx)nptl/libpthread.so.
15028 2013-11-19 Andreas Schwab <schwab@suse.de>
15030 * locale/programs/locale.c (show_info): Decode wordarray elements.
15031 * locale/categories.def (LC_MONETARY): Add element for
15032 _NL_MONETARY_CRNCYSTR.
15033 * locale/C-monetary.c (conversion_rate): New variable.
15034 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15037 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15039 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15040 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15042 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15044 * elf/Makefile (tst-auxv): New test.
15045 * elf/tst-auxv.c: New
15046 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15048 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15050 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15051 (hidden_proto): Caller changed.
15052 (hidden_tls_proto): New macro.
15053 (libc_hidden_tls_proto): Likewise.
15054 (rtld_hidden_tls_proto): Likewise.
15055 (libm_hidden_tls_proto): Likewise.
15056 (libresolv_hidden_tls_proto): Likewise.
15057 (librt_hidden_tls_proto): Likewise.
15058 (libdl_hidden_tls_proto): Likewise.
15059 (libnss_files_hidden_tls_proto): Likewise.
15060 (libnsl_hidden_tls_proto): Likewise.
15061 (libnss_nisplus_hidden_tls_proto): Likewise.
15062 (libutil_hidden_tls_proto): Likewise.
15064 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15067 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15068 (decompose_rpath): Defer expansion to fillin_rpath.
15069 (_dl_init_paths): Pass linkmap to fillin_rpath.
15071 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15073 * benchtests/Makefile: Add strsep.
15074 * benchtests/bench-strsep.c: New file: strsep benchtest.
15075 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15077 2013-11-18 Andreas Schwab <schwab@suse.de>
15079 * locale/programs/locale.c (show_info) [case byte]: Check for
15080 '\377' instead of '\177'.
15081 * locale/C-monetary.c (not_available): Always use "\377".
15082 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15083 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15084 detect unavailable sign_posn locale elements.
15085 * locale/localeconv.c (__localeconv): For grouping and
15086 mon_grouping handle "\177" and "\377" like no grouping.
15087 (INT_ELEM): New macro. Use it to set all numeric members.
15088 * locale/programs/ld-monetary.c (monetary_read)
15089 <tok_mon_grouping>: Normalize single -1 to the empty string.
15090 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15093 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15096 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15097 when we match (nil).
15098 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15100 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15102 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15103 (NO_TEST_INLINE): Update value.
15104 (ERRNO_UNCHANGED): Likewise.
15105 (ERRNO_EDOM): Likewise.
15106 (ERRNO_ERANGE): Likewise.
15107 (IGNORE_RESULT): Likewise.
15108 (check_float_internal): Check signs of NaN results if
15109 TEST_NAN_SIGN used.
15110 (check_complex): Pass TEST_NAN_SIGN flag through to second
15111 check_float_internal call.
15112 (copysign_test_data): Add tests with quiet NaNs as second
15113 argument. Use TEST_NAN_SIGN.
15114 (fabs_test_data): Add test of negative quiet NaN argument. Use
15116 (signbit_test_data): Add tests of quiet NaN argument.
15117 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15119 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15121 (parse_args): Handle function results specified as IGNORE.
15122 * math/libm-test.inc (IGNORE_RESULT): New macro.
15123 (check_float_internal): Do not check numerical result if flag
15125 (check_complex): Pass through IGNORE_RESULT to second
15126 check_float_internal call.
15127 (check_int): Do not check numerical result if flag IGNORE_RESULT
15129 (check_long): Likewise.
15130 (check_bool): Likewise.
15131 (check_longlong): Likewise.
15132 (lrint_test_data): Add tests of infinite and NaN arguments.
15133 (lrint_tonearest_test_data): Likewise.
15134 (lrint_towardzero_test_data): Likewise.
15135 (lrint_downward_test_data): Likewise.
15136 (lrint_upward_test_data): Likewise.
15137 (llrint_test_data): Likewise.
15138 (llrint_tonearest_test_data): Likewise.
15139 (llrint_towardzero_test_data): Likewise.
15140 (llrint_downward_test_data): Likewise.
15141 (llrint_upward_test_data): Likewise.
15142 (lround_test_data): Likewise.
15143 (llround_test_data): Likewise.
15145 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15146 (ERRNO_UNCHANGED): Update value.
15147 (ERRNO_EDOM): Likewise.
15148 (ERRNO_ERANGE): Likewise.
15149 (NO_TEST_INLINE_FLOAT): New macro.
15150 (NO_TEST_INLINE_DOUBLE): Likewise.
15151 (enable_test): New function.
15152 (RUN_TEST_f_f): Check enable_test before running test.
15153 (RUN_TEST_2_f): Likewise.
15154 (RUN_TEST_fff_f): Likewise.
15155 (RUN_TEST_c_f): Likewise.
15156 (RUN_TEST_f_f1): Likewise.
15157 (RUN_TEST_fF_f1): Likewise.
15158 (RUN_TEST_fI_f1): Likewise.
15159 (RUN_TEST_ffI_f1): Likewise.
15160 (RUN_TEST_c_c): Likewise.
15161 (RUN_TEST_cc_c): Likewise.
15162 (RUN_TEST_f_i): Likewise.
15163 (RUN_TEST_f_i_tg): Likewise.
15164 (RUN_TEST_ff_i_tg): Likewise.
15165 (RUN_TEST_f_b): Likewise.
15166 (RUN_TEST_f_b_tg): Likewise.
15167 (RUN_TEST_f_l): Likewise.
15168 (RUN_TEST_f_L): Likewise.
15169 (RUN_TEST_fFF_11): Likewise.
15170 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15172 (cosh_test_data): Likewise.
15173 (exp_test_data): Likewise.
15174 (expm1_test_data): Likewise.
15175 (hypot_test_data): Likewise.
15176 (pow_test_data): Likewise.
15177 (sinh_test_data): Likewise.
15178 (tanh_test_data): Likewise.
15179 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15182 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15183 tests with quiet NaN input and output.
15184 (acosh_test_data): Likewise.
15185 (asin_test_data): Likewise.
15186 (asinh_test_data): Likewise.
15187 (atan_test_data): Likewise.
15188 (atanh_test_data): Likewise.
15189 (atan2_test_data): Likewise.
15190 (cbrt_test_data): Likewise.
15191 (cos_test_data): Likewise.
15192 (cosh_test_data): Likewise.
15193 (erf_test_data): Likewise.
15194 (erfc_test_data): Likewise.
15195 (exp_test_data): Likewise.
15196 (exp10_test_data): Likewise.
15197 (exp2_test_data): Likewise.
15198 (expm1_test_data): Likewise.
15199 (hypot_test_data): Likewise.
15200 (j0_test_data): Likewise.
15201 (j1_test_data): Likewise.
15202 (jn_test_data): Likewise.
15203 (lgamma_test_data): Likewise.
15204 (log_test_data): Likewise.
15205 (log10_test_data): Likewise.
15206 (log1p_test_data): Likewise.
15207 (log2_test_data): Likewise.
15208 (pow_test_data): Likewise.
15209 (scalb_test_data): Likewise.
15210 (sin_test_data): Likewise.
15211 (sincos_test_data): Likewise.
15212 (sinh_test_data): Likewise.
15213 (tan_test_data): Likewise.
15214 (tanh_test_data): Likewise.
15215 (tgamma_test_data): Likewise.
15216 (y0_test_data): Likewise.
15217 (y1_test_data): Likewise.
15218 (yn_test_data): Likewise.
15221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15222 argument being NaN and avoid computations with second argument in
15224 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15225 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15226 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15228 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15230 * locale/iso-639.def: Add Chitwani Tharu (the).
15232 2013-11-14 Andreas Schwab <schwab@suse.de>
15234 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15235 word instead of empty string.
15237 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15240 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15242 (__fe_nomask_env): Likewise.
15244 2013-11-13 Steve Ellcey <sellcey@mips.com>
15246 * benchtests/bench-timing.h: Include time.h.
15248 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15251 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15253 * sysdeps/unix/sysv/linux/configure: Regenerated.
15255 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15258 * stdlib/strtod_l.c (round_and_return): Do not consider
15259 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15260 exponent one less than half the least subnormal exponent.
15261 * stdlib/test-strtod-round-data: Add more tests.
15262 * stdlib/tst-strtod-round.c (tests): Regenerated.
15264 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15267 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15268 (__fe_mask_env): Likewise.
15269 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15270 libm_hidden_proto and add function prototype.
15271 (__fe_mask_env): Add function prototype.
15272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15273 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15275 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15277 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15279 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15281 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15282 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15284 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15286 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15287 of htab_find_slot().
15289 2013-11-11 David S. Miller <davem@davemloft.net>
15292 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15293 symbol in the non-vis3 case in static builds.
15294 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15295 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15296 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15297 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15299 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15302 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15305 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15307 * benchtests/Makefile: Add bench-strtod.
15308 * benchtests/bench-strtod.c: New file: strtod benchtest
15310 2013-11-11 Andreas Schwab <schwab@suse.de>
15313 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15314 terminating NUL in key length.
15316 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15318 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15319 Add artificial ODP entry for vDSO symbol for PPC64.
15320 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15321 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15323 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15326 * nss/getent.c (services_keys): Recognize services starting with digit.
15328 2013-11-06 David S. Miller <davem@davemloft.net>
15331 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15332 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15334 2013-11-06 Will Newton <will.newton@linaro.org>
15336 * manual/memory.texi (Malloc Examples): Remove register
15337 keyword from examples.
15339 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15341 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15343 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15346 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15347 depending on [__GCC_IEC_559 > 0].
15348 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15349 depending on [__GCC_IEC_559_COMPLEX > 0].
15351 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15353 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15356 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15358 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15360 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15363 * malloc/malloc (malloc_info): Do not handle first bin as
15366 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15368 * locale/iso-639.def: Add Central Nahuatl (nhn).
15370 2013-11-01 Bruno Haible <bruno@clisp.org>
15373 * manual/math.texi (BSD Random): Specify range upper bound as
15376 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15378 * locale/iso-639.def: Add Meadow Mari (mhr).
15380 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15382 [BZ #14752], [BZ #15763]
15383 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15385 * rt/tst_shm.c: Add test for escaping directory.
15387 2013-10-31 Andreas Schwab <schwab@suse.de>
15390 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15391 followed by 'x' as part of digit sequence.
15392 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15394 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15397 * configure.ac: allow GNU Make 4.0 and greater.
15398 * configure: Regenerated.
15400 2013-10-30 Will Newton <will.newton@linaro.org>
15403 * malloc/hooks.c (memalign_check): Limit alignment to the
15404 maximum representable power of two.
15405 * malloc/malloc.c (__libc_memalign): Likewise.
15406 * malloc/tst-memalign.c (do_test): Add test for very
15407 large alignment values.
15408 * malloc/tst-posix_memalign.c (do_test): Likewise.
15410 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15413 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15414 (munmap_chunk): Likewise.
15415 (mremap_chunk): Likewise.
15417 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15420 * stdlib/div.c (div): Remove obsolete code.
15421 * stdlib/ldiv.c (ldiv): Likewise.
15422 * stdlib/lldiv.c (lldiv): Likewise.
15424 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15427 * nss/nss_files/files-XXX.c (get_contents_ret): New
15429 (get_contents): New function.
15430 (internal_getent): Use it. Expand size of LINEBUFLEN.
15432 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15434 * configure.in: Moved to ...
15435 * configure.ac: ... here. Change reference to configure.in
15437 * sysdeps/arm/preconfigure.ac: ... here.
15438 configure.in to configure.ac.
15439 * sysdeps/gnu/configure.in: Moved to ...
15440 * sysdeps/gnu/configure.ac: ... here.
15441 * sysdeps/i386/configure.in: Moved to ...
15442 * sysdeps/i386/configure.ac: ... here.
15443 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15444 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15445 * sysdeps/mach/configure.in: Moved to ...
15446 * sysdeps/mach/configure.ac: ... here.
15447 * sysdeps/mach/hurd/configure.in: Moved to ...
15448 * sysdeps/mach/hurd/configure.ac: ... here.
15449 * sysdeps/powerpc/configure.in: Moved to ...
15450 * sysdeps/powerpc/configure.ac: ... here.
15451 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15452 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15453 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15454 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15455 * sysdeps/s390/s390-32/configure.in: Moved to ...
15456 * sysdeps/s390/s390-32/configure.ac: ... here.
15457 * sysdeps/s390/s390-64/configure.in: Moved to ...
15458 * sysdeps/s390/s390-64/configure.ac: ... here.
15459 * sysdeps/sh/configure.in: Moved to ...
15460 * sysdeps/sh/configure.ac: ... here.
15461 * sysdeps/sparc/configure.in: Moved to ...
15462 * sysdeps/sparc/configure.ac: ... here.
15463 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15464 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15465 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15466 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15467 * sysdeps/x86_64/configure.in: Moved to ...
15468 * sysdeps/x86_64/configure.ac: ... here.
15469 * sysdeps/x86_64/preconfigure.in: Moved to ...
15470 * sysdeps/x86_64/preconfigure.ac: ... here.
15471 * aclocal.m4: Change reference to configure.in to configure.ac.
15472 * config.h.in: Likewise.
15473 * manual/install.texi: Likewise.
15474 * manual/maint.texi: Likewise.
15475 * Makefile: Likewise.
15476 * malloc/Makefile: Likewise.
15477 * nscd/Makefile: Likewise.
15478 * Makeconfig: Change reference to configure.in and
15479 preconfigure.in to configure.ac and preconfigure.ac
15481 * INSTALL: Regenerated.
15482 * configure: Likewise.
15483 * sysdeps/gnu/configure: Likewise.
15484 * sysdeps/i386/configure: Likewise.
15485 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15486 * sysdeps/mach/configure: Likewise.
15487 * sysdeps/mach/hurd/configure: Likewise.
15488 * sysdeps/powerpc/configure: Likewise.
15489 * sysdeps/powerpc/powerpc32/configure: Likewise.
15490 * sysdeps/powerpc/powerpc64/configure: Likewise.
15491 * sysdeps/s390/s390-32/configure: Likewise.
15492 * sysdeps/s390/s390-64/configure: Likewise.
15493 * sysdeps/sh/configure: Likewise.
15494 * sysdeps/sparc/configure: Likewise.
15495 * sysdeps/unix/sysv/linux/configure: Likewise.
15496 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15497 * sysdeps/x86_64/configure: Likewise.
15498 * sysdeps/x86_64/preconfigure: Likewise.
15500 2013-10-29 Andreas Schwab <schwab@suse.de>
15502 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15504 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15506 * benchtests/pow-inputs: Add new inputs.
15508 * benchtests/exp-inputs: Add new inputs.
15510 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15511 conditional check for return value.
15512 (__cos32): Likewise.
15514 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15516 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15517 to provide a boost for large inputs with word alignment.
15518 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15519 implementation based on optimized PPC64 strcpy.
15520 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15521 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15522 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15523 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15525 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15528 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15530 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15533 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15534 * time/tst-strptime.c (day_tests): Add testcase.
15536 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15539 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15541 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15544 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15545 MAP_FAILED on error.
15547 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15550 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15551 heap for large requests.
15553 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15556 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15557 result if the result has no associated interface.
15558 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15559 interface for all 127.X.Y.Z addresses.
15561 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15563 * locale/iso-639.def: Add Ligurian (lij)
15565 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15568 * sunrpc/rpc_main.c: Document rpcgen -5.
15570 2013-10-19 Michael Stahl <mstahl@redhat.com>
15572 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15574 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15577 * posix/glob.c: Match only directories when trailing slash is present.
15578 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15579 (main): Add testcase.
15581 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15584 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15586 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15588 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15589 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15590 AUTH_DES and cindex for FIPS 140-2.
15591 (DES Encryption): Add cindex FIPS 46-3.
15593 * locale/locarchive.h (struct locarhandle): Add fname.
15594 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15595 if an optional argument was specified to --list-archive,
15597 * locale/programs/locarchive.c (show_archive_content): Take new
15598 argument fname and pass it via ah.fname to open_archive.
15599 * locale/programs/localedef.h: Update decl.
15600 (open_archive): If AH->fname is non-null, open that file
15601 rather than the default file name, and don't ignore ENOENT.
15602 (create_archive): Set AH.fname to NULL.
15603 (delete_locales_from_archive): Likewise.
15604 (add_locales_to_archive): Likewise.
15605 * locale/programs/locfile.c (write_all_categories): Likewise.
15607 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15608 Aldy Hernandez <aldyh@redhat.com>
15610 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15611 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15612 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15613 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15614 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15615 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15616 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15618 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15619 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15620 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15621 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15622 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15623 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15624 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15626 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15628 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15632 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15633 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15635 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15636 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15637 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15638 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15640 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15641 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15642 * sysdeps/powerpc/preconfigure: Likewise.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15645 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15646 Replace contents of file by #include of <fenv_libc.h>.
15647 * sysdeps/powerpc/soft-fp/sfp-machine.h
15648 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15650 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15663 Allow copysignl PLT reference to be missing.
15665 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15666 Joseph Myers <joseph@codesourcery.com
15669 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15671 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15673 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15675 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15676 * elf/tst-tls1.c: Likewise.
15677 * elf/tst-tls10.h: Likewise.
15678 * elf/tst-tls14.c: Likewise.
15679 * elf/tst-tls2.c: Likewise.
15680 * elf/tst-tls3.c: Likewise.
15681 * elf/tst-tls4.c: Likewise.
15682 * elf/tst-tls5.c: Likewise.
15683 * elf/tst-tls6.c: Likewise.
15684 * elf/tst-tls7.c: Likewise.
15685 * elf/tst-tls8.c: Likewise.
15686 * elf/tst-tls9.c: Likewise.
15687 * elf/tst-tlsmod1.c: Likewise.
15688 * elf/tst-tlsmod13.c: Likewise.
15689 * elf/tst-tlsmod13a.c: Likewise.
15690 * elf/tst-tlsmod14a.c: Likewise.
15691 * elf/tst-tlsmod16a.c: Likewise.
15692 * elf/tst-tlsmod16b.c: Likewise.
15693 * elf/tst-tlsmod2.c: Likewise.
15694 * elf/tst-tlsmod3.c: Likewise.
15695 * elf/tst-tlsmod4.c: Likewise.
15696 * elf/tst-tlsmod5.c: Likewise.
15697 * elf/tst-tlsmod6.c: Likewise.
15699 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15702 * malloc/malloc.c: remove checks for statistics.
15704 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15707 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15708 * inet/tst-network.c: Add testcase.
15710 2013-10-17 Andreas Schwab <schwab@suse.de>
15713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15714 to determine canonical name.
15716 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15718 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15719 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15721 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15725 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15726 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15727 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15728 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15729 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15730 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15731 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15732 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15733 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15736 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15737 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15740 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15741 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15742 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15743 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15744 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15745 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15746 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15747 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15748 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15750 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15751 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15752 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15753 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15754 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15755 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15756 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15758 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15759 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15760 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15761 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15762 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15763 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15764 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15765 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15766 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15767 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15768 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15769 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15770 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15771 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15772 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15773 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15775 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15777 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15780 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15781 make result into a quiet NaN.
15783 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15785 * soft-fp/adddf3.c: Fix horizontal whitespace.
15786 * soft-fp/addsf3.c: Likewise.
15787 * soft-fp/addtf3.c: Likewise.
15788 * soft-fp/divdf3.c: Likewise.
15789 * soft-fp/divsf3.c: Likewise.
15790 * soft-fp/divtf3.c: Likewise.
15791 * soft-fp/double.h: Likewise.
15792 * soft-fp/eqdf2.c: Likewise.
15793 * soft-fp/eqsf2.c: Likewise.
15794 * soft-fp/eqtf2.c: Likewise.
15795 * soft-fp/extenddftf2.c: Likewise.
15796 * soft-fp/extended.h: Likewise.
15797 * soft-fp/extendsfdf2.c: Likewise.
15798 * soft-fp/extendsftf2.c: Likewise.
15799 * soft-fp/extendxftf2.c: Likewise.
15800 * soft-fp/fixdfdi.c: Likewise.
15801 * soft-fp/fixdfsi.c: Likewise.
15802 * soft-fp/fixdfti.c: Likewise.
15803 * soft-fp/fixsfdi.c: Likewise.
15804 * soft-fp/fixsfsi.c: Likewise.
15805 * soft-fp/fixsfti.c: Likewise.
15806 * soft-fp/fixtfdi.c: Likewise.
15807 * soft-fp/fixtfsi.c: Likewise.
15808 * soft-fp/fixtfti.c: Likewise.
15809 * soft-fp/fixunsdfdi.c: Likewise.
15810 * soft-fp/fixunsdfsi.c: Likewise.
15811 * soft-fp/fixunsdfti.c: Likewise.
15812 * soft-fp/fixunssfdi.c: Likewise.
15813 * soft-fp/fixunssfsi.c: Likewise.
15814 * soft-fp/fixunssfti.c: Likewise.
15815 * soft-fp/fixunstfdi.c: Likewise.
15816 * soft-fp/fixunstfsi.c: Likewise.
15817 * soft-fp/fixunstfti.c: Likewise.
15818 * soft-fp/floatdidf.c: Likewise.
15819 * soft-fp/floatdisf.c: Likewise.
15820 * soft-fp/floatditf.c: Likewise.
15821 * soft-fp/floatsidf.c: Likewise.
15822 * soft-fp/floatsisf.c: Likewise.
15823 * soft-fp/floatsitf.c: Likewise.
15824 * soft-fp/floattidf.c: Likewise.
15825 * soft-fp/floattisf.c: Likewise.
15826 * soft-fp/floattitf.c: Likewise.
15827 * soft-fp/floatundidf.c: Likewise.
15828 * soft-fp/floatundisf.c: Likewise.
15829 * soft-fp/floatunditf.c: Likewise.
15830 * soft-fp/floatunsidf.c: Likewise.
15831 * soft-fp/floatunsisf.c: Likewise.
15832 * soft-fp/floatunsitf.c: Likewise.
15833 * soft-fp/floatuntidf.c: Likewise.
15834 * soft-fp/floatuntisf.c: Likewise.
15835 * soft-fp/floatuntitf.c: Likewise.
15836 * soft-fp/fmadf4.c: Likewise.
15837 * soft-fp/fmasf4.c: Likewise.
15838 * soft-fp/fmatf4.c: Likewise.
15839 * soft-fp/gedf2.c: Likewise.
15840 * soft-fp/gesf2.c: Likewise.
15841 * soft-fp/getf2.c: Likewise.
15842 * soft-fp/ledf2.c: Likewise.
15843 * soft-fp/lesf2.c: Likewise.
15844 * soft-fp/letf2.c: Likewise.
15845 * soft-fp/muldf3.c: Likewise.
15846 * soft-fp/mulsf3.c: Likewise.
15847 * soft-fp/multf3.c: Likewise.
15848 * soft-fp/negdf2.c: Likewise.
15849 * soft-fp/negsf2.c: Likewise.
15850 * soft-fp/negtf2.c: Likewise.
15851 * soft-fp/op-1.h: Likewise.
15852 * soft-fp/op-2.h: Likewise.
15853 * soft-fp/op-4.h: Likewise.
15854 * soft-fp/op-8.h: Likewise.
15855 * soft-fp/op-common.h: Likewise.
15856 * soft-fp/quad.h: Likewise.
15857 * soft-fp/single.h: Likewise.
15858 * soft-fp/soft-fp.h: Likewise.
15859 * soft-fp/sqrtdf2.c: Likewise.
15860 * soft-fp/sqrtsf2.c: Likewise.
15861 * soft-fp/sqrttf2.c: Likewise.
15862 * soft-fp/subdf3.c: Likewise.
15863 * soft-fp/subsf3.c: Likewise.
15864 * soft-fp/subtf3.c: Likewise.
15865 * soft-fp/truncdfsf2.c: Likewise.
15866 * soft-fp/trunctfdf2.c: Likewise.
15867 * soft-fp/trunctfsf2.c: Likewise.
15868 * soft-fp/trunctfxf2.c: Likewise.
15869 * soft-fp/unorddf2.c: Likewise.
15870 * soft-fp/unordsf2.c: Likewise.
15871 * soft-fp/unordtf2.c: Likewise.
15873 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15875 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15876 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15878 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15880 * elf/dl-libc.c: Clear initfini list after freeing.
15882 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15884 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15885 * soft-fp/addsf3.c: Likewise.
15886 * soft-fp/addtf3.c: Likewise.
15887 * soft-fp/divdf3.c: Likewise.
15888 * soft-fp/divsf3.c: Likewise.
15889 * soft-fp/divtf3.c: Likewise.
15890 * soft-fp/double.h: Likewise.
15891 * soft-fp/eqdf2.c: Likewise.
15892 * soft-fp/eqsf2.c: Likewise.
15893 * soft-fp/eqtf2.c: Likewise.
15894 * soft-fp/extenddftf2.c: Likewise.
15895 * soft-fp/extended.h: Likewise.
15896 * soft-fp/extendsfdf2.c: Likewise.
15897 * soft-fp/extendsftf2.c: Likewise.
15898 * soft-fp/extendxftf2.c: Likewise.
15899 * soft-fp/fixdfdi.c: Likewise.
15900 * soft-fp/fixdfsi.c: Likewise.
15901 * soft-fp/fixdfti.c: Likewise.
15902 * soft-fp/fixsfdi.c: Likewise.
15903 * soft-fp/fixsfsi.c: Likewise.
15904 * soft-fp/fixsfti.c: Likewise.
15905 * soft-fp/fixtfdi.c: Likewise.
15906 * soft-fp/fixtfsi.c: Likewise.
15907 * soft-fp/fixtfti.c: Likewise.
15908 * soft-fp/fixunsdfdi.c: Likewise.
15909 * soft-fp/fixunsdfsi.c: Likewise.
15910 * soft-fp/fixunsdfti.c: Likewise.
15911 * soft-fp/fixunssfdi.c: Likewise.
15912 * soft-fp/fixunssfsi.c: Likewise.
15913 * soft-fp/fixunssfti.c: Likewise.
15914 * soft-fp/fixunstfdi.c: Likewise.
15915 * soft-fp/fixunstfsi.c: Likewise.
15916 * soft-fp/fixunstfti.c: Likewise.
15917 * soft-fp/floatdidf.c: Likewise.
15918 * soft-fp/floatdisf.c: Likewise.
15919 * soft-fp/floatditf.c: Likewise.
15920 * soft-fp/floatsidf.c: Likewise.
15921 * soft-fp/floatsisf.c: Likewise.
15922 * soft-fp/floatsitf.c: Likewise.
15923 * soft-fp/floattidf.c: Likewise.
15924 * soft-fp/floattisf.c: Likewise.
15925 * soft-fp/floattitf.c: Likewise.
15926 * soft-fp/floatundidf.c: Likewise.
15927 * soft-fp/floatundisf.c: Likewise.
15928 * soft-fp/floatunsidf.c: Likewise.
15929 * soft-fp/floatunsisf.c: Likewise.
15930 * soft-fp/floatuntidf.c: Likewise.
15931 * soft-fp/floatuntisf.c: Likewise.
15932 * soft-fp/floatuntitf.c: Likewise.
15933 * soft-fp/fmadf4.c: Likewise.
15934 * soft-fp/fmasf4.c: Likewise.
15935 * soft-fp/fmatf4.c: Likewise.
15936 * soft-fp/gedf2.c: Likewise.
15937 * soft-fp/gesf2.c: Likewise.
15938 * soft-fp/getf2.c: Likewise.
15939 * soft-fp/ledf2.c: Likewise.
15940 * soft-fp/lesf2.c: Likewise.
15941 * soft-fp/letf2.c: Likewise.
15942 * soft-fp/muldf3.c: Likewise.
15943 * soft-fp/mulsf3.c: Likewise.
15944 * soft-fp/multf3.c: Likewise.
15945 * soft-fp/negdf2.c: Likewise.
15946 * soft-fp/negsf2.c: Likewise.
15947 * soft-fp/negtf2.c: Likewise.
15948 * soft-fp/op-1.h: Likewise.
15949 * soft-fp/op-2.h: Likewise.
15950 * soft-fp/op-4.h: Likewise.
15951 * soft-fp/op-8.h: Likewise.
15952 * soft-fp/op-common.h: Likewise.
15953 * soft-fp/quad.h: Likewise.
15954 * soft-fp/single.h: Likewise.
15955 * soft-fp/soft-fp.h: Likewise.
15956 * soft-fp/sqrtdf2.c: Likewise.
15957 * soft-fp/sqrtsf2.c: Likewise.
15958 * soft-fp/sqrttf2.c: Likewise.
15959 * soft-fp/subdf3.c: Likewise.
15960 * soft-fp/subsf3.c: Likewise.
15961 * soft-fp/subtf3.c: Likewise.
15962 * soft-fp/truncdfsf2.c: Likewise.
15963 * soft-fp/trunctfdf2.c: Likewise.
15964 * soft-fp/trunctfsf2.c: Likewise.
15965 * soft-fp/trunctfxf2.c: Likewise.
15966 * soft-fp/unorddf2.c: Likewise.
15967 * soft-fp/unordsf2.c: Likewise.
15968 * soft-fp/unordtf2.c: Likewise.
15970 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15973 * misc/error.c (error_tail): Fix possible buffer overflow.
15975 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15978 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15981 2013-10-14 P. J. McDermott <pj@pehjota.net>
15984 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15985 testing pipefail option.
15987 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15989 * soft-fp/double.h: Indent preprocessor directives inside #if.
15990 * soft-fp/extended.h: Likewise.
15991 * soft-fp/op-2.h: Likewise.
15992 * soft-fp/op-4.h: Likewise.
15993 * soft-fp/op-common.h: Likewise.
15994 * soft-fp/quad.h: Likewise.
15995 * soft-fp/single.h: Likewise.
15996 * soft-fp/soft-fp.h: Likewise.
15998 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16000 * iconv/iconv_prog.c: Fix typos.
16001 * stdio-common/psiginfo-data.h: Likewise.
16003 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16006 * locale/setlocale.c: Fix typo.
16008 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16011 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16012 signaling NaN arguments.
16013 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16014 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16017 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16018 unordered operands.
16019 * soft-fp/gesf2.c (__gesf2): Likewise.
16020 * soft-fp/getf2.c (__getf2): Likewise.
16021 * soft-fp/ledf2.c (__ledf2): Likewise.
16022 * soft-fp/lesf2.c (__lesf2): Likewise.
16023 * soft-fp/letf2.c (__letf2): Likewise.
16025 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16026 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16027 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16028 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16029 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16030 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16031 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16032 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16033 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16034 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16035 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16036 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16037 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16038 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16039 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16040 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16041 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16042 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16043 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16044 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16045 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16046 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16047 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16048 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16049 * soft-fp/floattidf.c (__floattidf): Likewise.
16050 * soft-fp/floattisf.c (__floattisf): Likewise.
16051 * soft-fp/floattitf.c (__floattitf): Likewise.
16052 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16053 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16054 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16055 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16056 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16057 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16058 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16059 * soft-fp/gesf2.c (__gesf2): Likewise.
16060 * soft-fp/getf2.c (__getf2): Likewise.
16061 * soft-fp/ledf2.c (__ledf2): Likewise.
16062 * soft-fp/lesf2.c (__lesf2): Likewise.
16063 * soft-fp/letf2.c (__letf2): Likewise.
16065 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16066 Undefine and redefine.
16067 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16068 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16069 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16070 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16071 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16072 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16073 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16074 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16075 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16076 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16077 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16078 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16079 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16080 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16081 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16084 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16085 without decrementing exponent if mantissa >= that for the
16086 denominator, not >.
16087 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16088 denominator, not >. Decrement exponent in < case instead of
16089 incrementing in >= case.
16090 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16091 without decrementing exponent if mantissa >= that for the
16092 denominator, not >.
16094 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16095 computing saturated result for unsigned overflow.
16097 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16098 Jeff Law <law@redhat.com>
16100 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16101 (atan2Mp): Add systemtap probe marker.
16102 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16103 (__ieee754_log): Add systemtap probe marker.
16104 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16105 (atanMp): Add systemtap probe marker.
16106 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16107 (tanMp): Add systemtap probe marker.
16108 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16109 (__slowexp): Add systemtap probe marker.
16110 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16111 (__slowpow): Add systemtap probe marker.
16112 * manual/probes.texi: Document probes.
16114 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16117 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16119 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16121 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16122 written to buffer but not flushed.
16123 * libio/iofwrite_u.c: Likewise.
16124 * libio/iopadn.c: Return bytes returned even if EOF was
16126 * libio/iowpadn.c: Likewise.
16127 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16128 if _IO_padn does not write the whole buffer.
16129 [!COMPILE_WPRINTF] (PAD): Likewise.
16131 2013-10-10 David S. Miller <davem@davemloft.net>
16133 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16136 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16138 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16139 instead of FSF address.
16140 * soft-fp/fixdfti.c: Likewise.
16141 * soft-fp/fixsfti.c: Likewise.
16142 * soft-fp/fixtfti.c: Likewise.
16143 * soft-fp/fixunsdfti.c: Likewise.
16144 * soft-fp/fixunssfti.c: Likewise.
16145 * soft-fp/fixunstfti.c: Likewise.
16146 * soft-fp/floattidf.c: Likewise.
16147 * soft-fp/floattisf.c: Likewise.
16148 * soft-fp/floattitf.c: Likewise.
16149 * soft-fp/floatuntidf.c: Likewise.
16150 * soft-fp/floatuntisf.c: Likewise.
16151 * soft-fp/floatuntitf.c: Likewise.
16152 * soft-fp/trunctfxf2.c: Likewise.
16154 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16155 * soft-fp/fixdfti.c: Likewise.
16156 * soft-fp/fixsfti.c: Likewise.
16157 * soft-fp/fixtfti.c: Likewise.
16158 * soft-fp/fixunsdfti.c: Likewise.
16159 * soft-fp/fixunssfti.c: Likewise.
16160 * soft-fp/fixunstfti.c: Likewise.
16161 * soft-fp/floattidf.c: Likewise.
16162 * soft-fp/floattisf.c: Likewise.
16163 * soft-fp/floattitf.c: Likewise.
16164 * soft-fp/floatuntidf.c: Likewise.
16165 * soft-fp/floatuntisf.c: Likewise.
16166 * soft-fp/floatuntitf.c: Likewise.
16167 * soft-fp/trunctfxf2.c: Likewise.
16169 2013-10-10 David S. Miller <davem@davemloft.net>
16171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16173 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16175 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16176 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16177 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16178 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16179 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16180 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16181 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16183 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16184 for NaNs before doing comparisons on argument.
16185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16188 2013-10-10 Will Newton <will.newton@linaro.org>
16190 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16191 passed to _int_memalign does not overflow.
16193 2013-10-10 Torvald Riegel <triegel@redhat.com>
16195 * scripts/bench.pl: Add include-sources directive.
16196 * benchtests/README: Update documentation.
16198 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16200 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16201 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16202 instead of FP_INIT_ROUNDMODE.
16203 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16204 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16207 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16208 copy class of input value.
16209 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16210 not handle exceptions.
16211 * soft-fp/negsf2.c (__negsf2): Likewise.
16212 * soft-fp/negtf2.c (__negtf2): Likewise.
16213 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16215 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16217 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16218 semicolon. From Linux kernel.
16220 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16222 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16224 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16227 * manual/socket.texi: Added statement about buffer
16228 for gethostbyname2_r.
16230 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16232 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16233 Use .p2align directive instead, throughout.
16234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16235 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16236 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16237 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16238 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16239 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16240 * sysdeps/x86_64/strchr.S: Likewise.
16241 * sysdeps/x86_64/strrchr.S: Likewise.
16243 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16245 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16247 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16249 * sysdeps/generic/math_private.h (__mpsin1): Remove
16251 (__mpcos1): Likewise.
16252 (__mpsin): New argument __range_reduce.
16253 (__mpcos): Likewise.
16254 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16255 (slow): Use __mpsin and __mpcos.
16259 (sloww1): Likewise.
16260 (sloww2): Likewise.
16261 (bsloww): Likewise.
16262 (bsloww1): Likewise.
16263 (bsloww2): Likewise.
16264 (cslow2): Likewise.
16265 (csloww): Likewise.
16266 (csloww1): Likewise.
16267 (csloww2): Likewise.
16268 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16269 range_reduce. Merge in __mpsin1.
16270 (__mpcos): Likewise.
16271 (__mpsin1): Remove.
16272 (__mpcos1): Likewise.
16274 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16276 * locale/loadlocale.c (_nl_intern_locale_data): Use
16278 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16279 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16280 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16281 obstack data is appropriately aligned.
16282 (obstack_int32_grow_fast): Likewise.
16283 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16284 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16285 (add_locale_uint32_array): Likewise.
16287 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16289 * benchtests/Makefile: Remove ARGLIST and RET variables.
16290 ($(objpfx)bench-%.c): Pass only function name to the script.
16291 * benchtests/README: Update documentation.
16292 * benchtests/acos-inputs: Add new directives.
16293 * benchtests/acosh-inputs: Likewise.
16294 * benchtests/asin-inputs: Likewise.
16295 * benchtests/asinh-inputs: Likewise.
16296 * benchtests/atan-inputs: Likewise.
16297 * benchtests/atanh-inputs: Likewise.
16298 * benchtests/cos-inputs: Likewise.
16299 * benchtests/cosh-inputs: Likewise.
16300 * benchtests/exp-inputs: Likewise.
16301 * benchtests/log-inputs: Likewise.
16302 * benchtests/pow-inputs: Likewise.
16303 * benchtests/rint-inputs: Likewise.
16304 * benchtests/sin-inputs: Likewise.
16305 * benchtests/sinh-inputs: Likewise.
16306 * benchtests/tan-inputs: Likewise.
16307 * benchtests/tanh-inputs: Likewise.
16308 * scripts/bench.pl: Add support for new directives.
16310 2013-10-07 Alan Modra <amodra@gmail.com>
16312 * README: Fix careless merge.
16314 2013-10-05 Alan Modra <amodra@gmail.com>
16316 * NEWS: Mention powerpc64le support and bugs fixed.
16317 * README: Both big-endian and little-endian powerpc64 supported.
16319 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16321 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16322 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16323 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16324 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16326 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16328 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16331 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16333 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16334 Move -mhard-float appending from
16335 ports/sysdeps/powerpc/powerpc32/Makefile.
16336 [$(with-fp) = yes] (ASFLAGS): Likewise.
16337 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16338 * sysdeps/powerpc/nofpu: Move directory from
16339 ports/sysdeps/powerpc/nofpu.
16340 * sysdeps/powerpc/soft-fp: Move directory from
16341 ports/sysdeps/powerpc/soft-fp.
16342 * sysdeps/powerpc/powerpc32/405: Move directory from
16343 ports/sysdeps/powerpc/powerpc32/405.
16344 * sysdeps/powerpc/powerpc32/440: Move directory from
16345 ports/sysdeps/powerpc/powerpc32/440.
16346 * sysdeps/powerpc/powerpc32/464: Move directory from
16347 ports/sysdeps/powerpc/powerpc32/464.
16348 * sysdeps/powerpc/powerpc32/476: Move directory from
16349 ports/sysdeps/powerpc/powerpc32/476.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16351 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16353 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16355 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16360 * README: Update for powerpc-*-linux-gnu software floating point
16363 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16364 case to powerpc/powerpc32*.
16365 * sysdeps/unix/sysv/linux/configure: Regenerated.
16367 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16368 (_FPU_MASK_OM): Define as 0x04.
16369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16377 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16380 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16383 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16384 and setcontext_e500.
16386 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16388 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16390 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16392 * manual/threads.texi (Default Thread Attributes): Fix typo.
16394 2013-10-04 Will Newton <will.newton@linaro.org>
16396 * malloc/Makefile: Add tst-memalign.
16397 * malloc/tst-memalign.c: New file.
16399 * malloc/tst-posix_memalign.c: Add comments.
16400 (do_test): Add comments and call free on all potentially
16401 allocated pointers. Add space after cast.
16403 * malloc/tst-pvalloc.c: Add comments.
16404 (do_test): Add comments and call free on all potentially
16405 allocated pointers. Remove duplicate check for NULL pointer.
16406 Add space after cast.
16408 * malloc/tst-valloc.c: Add comments.
16409 (do_test): Add comments and call free on all potentially
16410 allocated pointers. Remove duplicate check for NULL pointer.
16411 Add space after cast.
16413 2013-10-04 Alan Modra <amodra@gmail.com>
16415 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16416 Use stdint types in rather than __attribute__((mode())).
16417 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16419 2013-10-04 Alan Modra <amodra@gmail.com>
16421 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16422 Correct handling of unaligned relocs for little-endian.
16423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16425 2013-10-04 Alan Modra <amodra@gmail.com>
16427 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16428 * configure: Regenerate.
16429 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16430 * shlib-versions: Likewise.
16432 2013-10-04 Alan Modra <amodra@gmail.com>
16434 * string/tester.c (test_memrchr): Increment reported test cycle.
16436 2013-10-04 Alan Modra <amodra@gmail.com>
16438 * string/test-memcpy.c (do_one_test): When reporting errors, print
16439 string address and don't overrun end of string.
16441 2013-10-04 Alan Modra <amodra@gmail.com>
16443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16444 insrdi. Make better use of reg selection to speed exit slightly.
16445 Schedule entry path a little better. Remove useless "are we done"
16446 checks on entry to main loop. Handle wrapping around zero address.
16447 Correct main loop count. Handle single left-over word from main
16448 loop inline rather than by using loop_small. Remove extra word
16449 case in loop_small caused by wrong loop count. Add little-endian
16451 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16452 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16454 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16456 support. Avoid rlwimi.
16457 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16459 2013-10-04 Alan Modra <amodra@gmail.com>
16461 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16462 insrdi. Formatting.
16463 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16464 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16465 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16466 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16467 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16468 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16470 2013-10-04 Alan Modra <amodra@gmail.com>
16472 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16473 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16474 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16475 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16476 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16477 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16478 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16479 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16480 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16481 use of regs. Use power7 mtocrf. Tidy function tails.
16483 2013-10-04 Alan Modra <amodra@gmail.com>
16485 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16486 Formatting. Consistently use rXXX register defines or rN defines.
16487 Use early exit labels that avoid restoring unused non-volatile regs.
16488 Make cr field use more consistent with rWORDn compares. Rename
16489 regs used as shift registers for unaligned loop, using rN defines
16490 for short lifetime/multiple use regs.
16491 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16492 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16493 addi 1,1,64 to pop stack frame. Simplify return value code.
16494 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16496 2013-10-04 Alan Modra <amodra@gmail.com>
16498 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16499 support. Correct typos, formatting. Optimize tail. Use insrdi
16500 rather than rlwimi.
16501 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16502 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16503 little-endian support. Correct typos.
16504 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16505 rather than rlwimi.
16506 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16507 in loop and entry code to keep "and." results.
16508 (strchr): Add little-endian support. Comment. Move cntlzd
16510 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16512 2013-10-04 Alan Modra <amodra@gmail.com>
16514 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16515 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16516 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16517 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16519 2013-10-04 Alan Modra <amodra@gmail.com>
16521 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16522 (rTMP): Define as r11.
16523 (strcmp): Add little-endian support. Optimise tail.
16524 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16525 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16526 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16527 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16532 2013-10-04 Alan Modra <amodra@gmail.com>
16534 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16535 little-endian support. Remove unnecessary "are we done" tests.
16536 Handle "s" wrapping around zero and extremely large "size".
16537 Correct main loop count. Handle single left-over word from main
16538 loop inline rather than by using small_loop. Correct comments.
16539 Delete "zero" tail, use "end_max" instead.
16540 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16542 2013-10-04 Alan Modra <amodra@gmail.com>
16544 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16545 support. Don't branch over align.
16546 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16548 support. Rearrange tmp reg use to suit. Comment.
16549 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16551 2013-10-04 Alan Modra <amodra@gmail.com>
16553 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16555 2013-10-04 Alan Modra <amodra@gmail.com>
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16558 conditional form of branch and link when obtaining pc.
16559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16561 2013-10-04 Alan Modra <amodra@gmail.com>
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16568 2013-10-04 Alan Modra <amodra@gmail.com>
16570 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16571 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16572 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16573 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16574 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16575 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16576 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16577 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16578 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16579 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16581 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16582 Alistair Popple <alistair@ozlabs.au.ibm.com>
16583 Alan Modra <amodra@gmail.com>
16586 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16587 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16588 _dl_hwcap access for little-endian.
16589 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16590 destroy vmx regs when saving unaligned.
16591 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16592 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16593 destroy vmx regs when saving unaligned.
16595 2013-10-04 Alan Modra <amodra@gmail.com>
16597 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16598 Don't use a union to pack hi/low value.
16600 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16602 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16604 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16605 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16606 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16607 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16608 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16610 2013-10-04 Alan Modra <amodra@gmail.com>
16612 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16613 constants to usual value for .cst8 section, and remove redundant
16615 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16616 constant for 0x1p52. Load little-endian words of double from
16617 correct stack offsets.
16619 2013-10-04 Alan Modra <amodra@gmail.com>
16621 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16622 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16623 words of double from correct stack offsets.
16624 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16625 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16626 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16627 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16628 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16629 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16631 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16632 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16633 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16634 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16636 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16637 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16638 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16639 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16640 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16642 2013-10-04 Alan Modra <amodra@gmail.com>
16644 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16645 64-bit int/double union.
16646 (_FPU_SETCW): Likewise.
16647 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16648 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16650 2013-10-04 Alan Modra <amodra@gmail.com>
16652 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16653 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16655 2013-10-04 Alan Modra <amodra@gmail.com>
16657 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16658 use vector int constants.
16659 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16661 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16663 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16664 array with long long.
16665 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16666 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16667 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16668 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16669 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16670 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16671 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16672 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16673 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16674 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16675 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16676 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16677 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16679 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16681 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16682 (__signbit): Likewise. Correct for little-endian.
16683 (__signbitl): Call __signbit.
16684 (lrint): Correct for little-endian.
16685 (lrintf): Call lrint.
16687 2013-10-04 Alan Modra <amodra@gmail.com>
16689 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16690 union 32-bit int array member with 64-bit int array.
16691 (t515, tm256): Double rather than long double.
16692 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16694 2013-10-04 Alan Modra <amodra@gmail.com>
16696 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16698 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16700 version of math_ldbl.h.
16702 2013-10-04 Alan Modra <amodra@gmail.com>
16704 [BZ #15734], [BZ #15735]
16705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16706 all uses of ieee875 long double macros and unions. Simplify test
16707 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16708 ldbl_extract_mantissa value for ix,iy exponents. Properly
16709 normalize after ldbl_extract_mantissa, and don't add hidden bit
16710 already handled. Don't treat low word of ieee854 mantissa like
16711 low word of IBM long double and mask off bit when testing for
16713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16714 all uses of ieee875 long double macros and unions. Simplify tests
16715 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16716 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16717 two1022, instead use their values. Recognise that tests for large
16718 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16719 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16720 Rewrite all uses of ieee875 long double macros and unions. Simplify
16721 test for 0.0L and nan. Correct negation.
16722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16723 ieee875 long double macros and unions. Correct output for large
16724 magnitude x. Correct absolute value calculation.
16725 (__erfcl): Likewise.
16726 * math/libm-test.inc: Add tests for errors discovered in IBM long
16727 double versions of fmodl, remainderl, erfl and erfcl.
16729 2013-10-04 Alan Modra <amodra@gmail.com>
16731 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16732 all uses of ieee854 long double macros and unions. Simplify tests
16733 for long doubles that are fully specified by the high double.
16734 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16736 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16737 Remove dead code too.
16738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16739 (__ieee754_ynl): Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16743 Remove dead code too.
16744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16749 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16751 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16753 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16754 Comment on variable precision.
16755 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16758 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16762 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16764 2013-10-04 Alan Modra <amodra@gmail.com>
16766 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16768 all uses of ieee854 long double macros and unions.
16769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16782 Simplify sign and nan test too.
16783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16788 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16798 2013-10-04 Alan Modra <amodra@gmail.com>
16800 * stdio-common/printf_size.c (__printf_size): Don't use
16801 union ieee854_long_double in fpnum union.
16802 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16803 signbit macro to retrieve sign from long double.
16804 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16805 retrieve sign from long double.
16806 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16807 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16808 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16809 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16810 * math/test-misc.c (main): Don't use union ieee854_long_double.
16812 2013-10-04 Alan Modra <amodra@gmail.com>
16815 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16816 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16817 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16818 calculation. Remove unnecessary test for denormal exponent.
16819 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16820 Correct handling of denormals. Avoid undefined shift behaviour.
16821 Correct normalisation of low mantissa when low double is denormal.
16822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16823 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16824 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16825 Correct normalisation of low mantissa. Test for overflow of high
16826 mantissa and normalise.
16827 (ldbl_nearbyint): Use more readable constant for two52.
16828 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16829 (__mpn_construct_long_double): Fix test for overflow of high
16830 mantissa and correct normalisation. Avoid undefined shift.
16832 2013-10-04 Alan Modra <amodra@gmail.com>
16834 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16835 (union ibm_extended_long_double): Define as an array of ieee754_double.
16836 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16837 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16838 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16839 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16848 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16850 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16851 page size instead of calling getpagesize.
16853 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16854 (LOCFILE_ALIGN_MASK): Likewise.
16855 (LOCFILE_ALIGN_UP): Likewise.
16856 (LOCFILE_ALIGNED_P): Likewise.
16857 * locale/programs/ld-collate.c (collate_output): Use the new
16858 macros instead of __alignof__ (int32_t).
16859 * locale/weight.h (findidx): Likewise.
16861 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16864 * manual/string.texi: Fix strncat and wcsncat.
16866 2013-10-03 Brooks Moses <bmoses@google.com>
16869 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16870 * Makerules: ...here, and adjust associated comments.
16872 2013-10-02 Will Newton <will.newton@linaro.org>
16874 * malloc/Makefile: Add tst-pvalloc.
16875 * malloc/tst-pvalloc.c: New file.
16877 2013-10-02 Will Newton <will.newton@linaro.org>
16879 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16880 improve test coverage.
16882 2013-10-02 Will Newton <will.newton@linaro.org>
16884 * malloc/Makefile: Add tst-posix_memalign.
16885 * malloc/tst-posix_memalign.c: New file.
16887 2013-10-01 Eric Blake <eblake@redhat.com>
16889 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16890 Use __THROWNL rather than __THROW on static functions.
16892 2013-09-30 Petr Machata <pmachata@redhat.com>
16894 * elf/elf.h (R_AARCH64_ABS16): New macro.
16895 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16896 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16897 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16898 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16899 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16900 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16901 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16902 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16903 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16904 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16905 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16906 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16907 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16908 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16909 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16910 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16911 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16912 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16913 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16914 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16915 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16916 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16917 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16918 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16919 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16920 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16921 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16922 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16923 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16924 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16925 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16926 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16927 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16928 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16929 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16930 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16931 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16932 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16933 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16934 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16935 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16936 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16937 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16938 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16939 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16940 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16941 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16942 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16943 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16944 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16945 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16946 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16947 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16948 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16949 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16950 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16951 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16952 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16953 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16954 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16955 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16956 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16957 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16958 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16959 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16960 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16961 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16962 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16963 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16964 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16965 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16966 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16967 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16968 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16969 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16970 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16971 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16972 (R_AARCH64_TLSDESC_LDR): Likewise.
16973 (R_AARCH64_TLSDESC_ADD): Likewise.
16974 (R_AARCH64_TLSDESC_CALL): Likewise.
16976 2013-09-30 Andreas Schwab <schwab@suse.de>
16979 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16980 the nss database lookup.
16981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16984 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16986 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16988 2013-09-28 P. J. McDermott <pj@pehjota.net>
16990 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16991 ${Bash-specific parameter/pattern/string} parameter expansion.
16992 * sysdeps/unix/make-syscalls.sh: Likewise.
16994 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16996 * sysdeps/sh/stackguard-macros.h: New file.
16998 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17002 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17003 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17004 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17005 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17007 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17009 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17010 Fix thread ID register.
17012 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17014 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17015 [POSIX || UNIX98]: Require rather than permitting all symbols from
17017 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17018 element of struct sched_param.
17019 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17020 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17021 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17022 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17025 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17027 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17028 argument calculation.
17030 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17032 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17034 [POSIX] (pthread_attr_t): Do not require type.
17035 [POSIX] (pthread_cond_t): Likewise.
17036 [POSIX] (pthread_condattr_t): Likewise.
17037 [POSIX] (pthread_key_t): Likewise.
17038 [POSIX] (pthread_mutex_t): Likewise.
17039 [POSIX] (pthread_mutexattr_t): Likewise.
17040 [POSIX] (pthread_once_t): Likewise.
17041 [POSIX] (pthread_t): Likewise.
17042 [POSIX-based standards] (pthread_atfork): Expect function.
17044 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17045 Richard Sandiford <richard@codesourcery.com>
17047 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17048 (swap_endianness_p): New extern variable.
17049 (set_big_endian): New inline function.
17050 (maybe_swap_uint32): Likewise.
17051 (maybe_swap_uint32_array): Likewise.
17052 (maybe_swap_uint32_obstack): Likewise.
17053 * locale/programs/locfile.c: Include <stdbool.h>.
17054 (swap_endianness_p): New variable.
17055 (add_locale_uint32): Call maybe_swap_uint32.
17056 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17057 (write_locale_data): Call maybe_swap_uint32_array.
17058 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17060 (obstack_int32_grow_fast): Likewise.
17061 (output_weightwc): Call maybe_swap_uint32_obstack.
17062 (collate_output): Likewise.
17063 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17064 (OPT_LITTLE_ENDIAN): Likewise.
17065 (options): Add --little-endian and --big-endian options.
17066 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17067 * locale/programs/locarchive.c: Include "locfile.h".
17071 (create_archive): Use the new macros to access fields of
17072 structures directly mapped from or written to locale archives.
17073 (oldlocrecentcmp): Likewise.
17074 (enlarge_archive): Likewise.
17075 (insert_name): Likewise.
17076 (add_alias): Likewise.
17077 (add_locale): Likewise.
17078 (delete_locales_from_archive): Likewise.
17079 (show_archive_content): Likewise.
17080 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17083 2013-09-24 Roland McGrath <roland@hack.frob.com>
17085 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17086 http://www.gnu.org/doc/freemanuals.texi.
17087 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17089 2013-09-24 Will Newton <will.newton@linaro.org>
17091 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17094 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17096 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17099 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17101 * manual/threads.texi (POSIX Threads): Fix a typo.
17103 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17106 * string/tst-strcoll-overflow.c: New test case.
17107 * string/Makefile (xtests): Add tst-strcoll-overflow.
17108 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17109 cache if string sizes may cause integer overflow.
17112 * string/strcoll_l.c (coll_seq): New members rule, idx,
17113 save_idx and back_us.
17114 (get_next_seq_nocache): New function.
17115 (do_compare_nocache): New function.
17116 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17119 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17122 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17123 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17124 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17127 * elf/Makefile (tests): Add tst-ptrguard1.
17128 (tests-static): Add tst-ptrguard1-static.
17129 (tst-ptrguard1-ARGS): Define.
17130 (tst-ptrguard1-static-ARGS): Define.
17131 * elf/tst-ptrguard1.c: New file.
17132 * elf/tst-ptrguard1-static.c: New file.
17133 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17134 * sysdeps/i386/stackguard-macros.h: Likewise.
17135 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17136 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17137 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17138 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17139 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17140 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17142 2013-09-23 Hector Marco <hecmargi@upv.es>
17143 Ismael Ripoll <iripoll@disca.upv.es>
17144 Carlos O'Donell <carlos@redhat.com>
17147 * sysdeps/generic/stackguard-macros.h: Define
17148 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17149 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17150 Define __pointer_chk_guard_local.
17151 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17152 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17154 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17157 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17159 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17161 * include/string.h (__ffs): Declare as hidden.
17162 * string/ffs.c (__ffs): Define as hidden.
17163 * sysdeps/i386/ffs.c (__ffs): Likewise.
17164 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17165 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17166 * sysdeps/s390/ffs.c (__ffs): Likewise.
17167 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17169 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17171 * NEWS: Mention malloc probes.
17173 * malloc/arena.c (new_heap): New memory_heap_new probe.
17174 (grow_heap): New memory_heap_more probe.
17175 (shrink_heap): New memory_heap_less probe.
17176 (heap_trim): New memory_heap_free probe.
17177 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17178 (systrim): New memory_sbrk_less probe.
17179 * manual/probes.texi: Document them.
17181 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17182 * manual/probes.texi: Document it.
17184 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17185 (__libc_realloc): Add memory_realloc_retry probe.
17186 (__libc_memalign): Add memory_memalign_retry probe.
17187 (__libc_valloc): Add memory_valloc_retry probe.
17188 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17189 (__libc_calloc): Add memory_calloc_retry probe.
17190 * manual/probes.texi: Document them.
17192 * malloc/arena.c (get_free_list): Add probe
17193 memory_arena_reuse_free_list.
17194 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17195 and memory_arena_reuse.
17196 (arena_get2) [!PER_THREAD]: Likewise.
17197 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17198 memory_arena_reuse_realloc.
17199 * manual/probes.texi: Document them.
17201 * malloc/malloc.c (__libc_free): Add
17202 memory_mallopt_free_dyn_thresholds probe.
17203 (__libc_mallopt): Add multiple memory_mallopt probes.
17204 * manual/probes.texi: Document them.
17206 * malloc/malloc.c: Include stap-probe.h.
17207 (__libc_mallopt): Add memory_mallopt probe.
17208 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17209 * manual/probes.texi: New.
17210 * manual/Makefile (chapters): Add probes.
17211 * manual/threads.texi: Set next node.
17213 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17215 [BZ #15963, #13985]
17216 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17217 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17218 Add `Chinese' to `nan' entry name.
17220 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17222 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17223 (POLYNOMIAL): Likewise.
17224 (TAYLOR_SINCOS): Likewise.
17225 (TAYLOR_SLOW): Likewise.
17226 (__sin): Use TAYLOR_SINCOS.
17228 (slow): Use TAYLOR_SLOW.
17230 (bsloww): Likewise.
17231 (csloww): Likewise.
17233 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17235 * stdlib/strtod_l.c: Fix buffer overrun.
17237 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17239 * benchtests/Makefile (bench): Add sincos.
17240 * benchtests/bench-sincos.c: New file.
17242 * math/libm-test.inc (cos_test_data): New test inputs.
17243 (sin_test_data): Likewise.
17245 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17251 (sloww1): Likewise.
17252 (sloww2): Likewise.
17253 (bsloww1): Likewise.
17254 (bsloww2): Likewise.
17255 (cslow2): Likewise.
17256 (csloww1): Likewise.
17257 (csloww2): Likewise.
17259 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17264 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17268 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17270 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17271 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17272 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17273 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17274 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17275 * elf/cache.c (print_entry): Handle the new cache flags.
17277 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17278 Aldy Hernandez <aldyh@redhat.com>
17280 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17281 Change condition to [_SOFT_FLOAT].
17282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17294 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17297 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17300 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17302 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17303 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17304 (__longjmp): Use LOAD_GP to load saved GPRs.
17305 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17306 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17307 (__sigsetjmp): Use SAVE_GP to save GPRs.
17309 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17310 Do not append -msoft-float.
17311 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17313 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17315 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17317 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17320 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17321 (_FPU_GETCW): Use initial "__" on variable and field names but not
17322 on macro parameter name.
17323 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17324 parentheses around reference to macro parameter.
17326 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17328 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17330 (ctype_startup): Use uint32_t in cast and sizeof for
17333 2013-09-11 Jia Liu <proljc@gmail.com>
17335 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17337 [__FreeBSD__]: Likewise.
17339 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17342 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17343 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17344 (strchr): Remove __strchr_sse42 ifunc selection.
17345 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17346 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17348 2013-09-11 Will Newton <will.newton@linaro.org>
17350 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17351 parameter to RES. Remove hardcoded 1000 value.
17352 * benchtests/bench-skeleton.c (main): Pass RES parameter
17353 to TIMING_INIT and multiply result by 1000.
17355 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17359 2013-09-11 Andreas Schwab <schwab@suse.de>
17361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17363 (O_TMPFILE) [__USE_GNU]: Define.
17364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17367 2013-09-11 Will Newton <will.newton@linaro.org>
17370 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17373 2013-09-11 Will Newton <will.newton@linaro.org>
17376 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17379 2013-09-11 Will Newton <will.newton@linaro.org>
17382 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17385 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17387 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17388 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17393 2013-09-10 Allan McRae <allan@archlinux.org>
17396 * manual/arith.texi (Parsing of Floats): Clarify
17400 * manual/install.texi (Running make install): Mention
17402 * INSTALL: Regenerated.
17404 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17406 * csu/init-first.c (_init): Remove the !SHARED condition around
17407 FPU control word initialization.
17408 * elf/dl-support.c (_dl_fpu_control): New variable.
17409 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17410 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17411 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17412 * math/test-fpucw-static.c: New file.
17413 * math/test-fpucw-ieee.c: New file.
17414 * math/test-fpucw-ieee-static.c: New file.
17415 * math/Makefile (tests): Add `test-fpucw-ieee' and
17417 (tests-static): New variable.
17418 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17420 [($(build-shared),yes)]
17421 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17423 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17426 2013-09-09 Allan McRae <allan@archlinux.org>
17429 * manual/string.texi (Collation Functions): Fix typo in
17431 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17434 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17437 * libio/memstream.c (open_memstream): Fix memory leak.
17438 * libio/wmemstream.c (open_wmemstream): Likewise.
17441 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17443 2013-09-09 Will Newton <will.newton@linaro.org>
17445 * malloc/Makefile: Add tst-realloc to tests.
17446 * malloc/tst-realloc.c: New file.
17448 2013-09-09 Allan McRae <allan@archlinux.org>
17451 * COPYING: Update from GNU website to fix FSF address.
17452 * COPYING.LIB: Likewise.
17454 2013-09-06 David S. Miller <davem@davemloft.net>
17456 * po/zh_TW.po: Update Chinese (traditional) translation from
17457 translation project.
17459 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17460 Joseph Myers <joseph@codesourcery.com>
17462 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17464 (obstack_chunk_alloc): New macro.
17465 (obstack_chunk_free): Likewise.
17466 (record_offset): New function.
17467 (init_locale_data): Likewise.
17468 (align_locale_data): Likewise.
17469 (add_locale_empty): Likewise.
17470 (add_locale_raw_data): Likewise.
17471 (add_locale_raw_obstack): Likewise.
17472 (add_locale_string): Likewise.
17473 (add_locale_wstring): Likewise.
17474 (add_locale_uint32): Likewise.
17475 (add_locale_uint32_array): Likewise.
17476 (add_locale_char): Likewise.
17477 (start_locale_structure): Likewise.
17478 (end_locale_structure): Likewise.
17479 (start_locale_prelude): Likewise.
17480 (end_locale_prelude): Likewise.
17481 (write_locale_data): Take locale_file structure rather than an
17483 * locale/programs/locfile.h: Include "obstack.h".
17484 (struct locale_file): Change to store locale file contents instead
17486 (init_locale_data): New prototype.
17487 (align_locale_data): Likewise.
17488 (add_locale_empty): Likewise.
17489 (add_locale_raw_data): Likewise.
17490 (add_locale_raw_obstack): Likewise.
17491 (add_locale_string): Likewise.
17492 (add_locale_wstring): Likewise.
17493 (add_locale_uint32): Likewise.
17494 (add_locale_uint32_array): Likewise.
17495 (add_locale_char): Likewise.
17496 (start_locale_structure): Likewise.
17497 (end_locale_structure): Likewise.
17498 (start_locale_prelude): Likewise.
17499 (end_locale_prelude): Likewise.
17500 (write_locale_data): Update prototype.
17501 * locale/programs/3level.h (struct TABLE): Remove result field.
17502 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17503 Use new locale_file interface.
17504 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17505 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17506 * locale/programs/ld-address.c (address_output): Use new
17507 locale_file interface.
17508 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17510 (collate_finish): Don't call collseq_table_finalize.
17511 (collate_output): Use new locale_file interface.
17512 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17514 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17515 (TABLE): Move defines earlier in file.
17516 (ELEMENT): Likewise.
17517 (DEFAULT): Likewise.
17518 (wctrans_table_add): Move macro and inline function earlier in
17520 (struct wctype_table): Move type earlier in file.
17521 (add_locale_wctype_table): New static prototype.
17522 (struct locale_ctype_t): Use logical types instead of struct iovec
17523 pointers for members.
17524 (ctype_output): Use new locale_file interface.
17525 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17526 new locale_file interface.
17527 (allocate_arrays): Update for use of new locale_file interface.
17528 * locale/programs/ld-identification.c (identification_output): Use
17529 new locale_file interface.
17530 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17531 * locale/programs/ld-messages.c (messages_output): Likewise.
17532 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17533 * locale/programs/ld-name.c (name_output): Likewise.
17534 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17535 * locale/programs/ld-paper.c (paper_output): Likewise.
17536 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17537 * locale/programs/ld-time.c (time_output): Likewise.
17539 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17541 * benchtests/Makefile: Add memrchr benchmark.
17542 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17543 benchmark as memrchr.
17544 * benchtests/bench-memrchr-ifunc.c: New file.
17545 * benchtests/bench-memrchr.c: New file.
17547 2013-09-06 Will Newton <will.newton@linaro.org>
17549 * benchtests/Makefile (string-bench): Add memcpy.
17551 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17552 Cong Wang <amwang@redhat.com>
17555 * sysdeps/unix/sysv/linux/bits/in.h
17556 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17557 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17558 before __USE_KERNEL_IPV6_DEFS uses.
17559 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17561 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17562 sockaddr_in6, or ipv6_mreq.
17564 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17566 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17567 memory access for final bytes in some large inputs.
17568 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17570 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17572 * string/test-memrchr.c: New file.
17573 * string/test-memrchr-ifunc.c: New file.
17574 * string/Makefile: Add new memrchr testcase.
17576 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17578 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17579 fanotify_init returns EPERM.
17581 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17583 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17585 (top level): Treat second token from macro or constant entries for
17586 allowed headers as allowed.
17587 * include/complex.h: Condition internal declarations on
17589 * include/fenv.h: Condition include of <stdbool.h> and internal
17590 declarations on [!_ISOMAC].
17592 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17595 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17597 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17599 * configure.in (--enable-versioning): Remove configure option.
17600 (libc_cv_asm_symver_directive): Remove configure test.
17601 (libc_cv_ld_version_script_option): Likewise.
17602 (VERSIONING): Remove variable and AC_SUBST.
17603 (DO_VERSIONING): Remove AC_DEFINE.
17604 * configure: Regenerated.
17605 * config.h.in (DO_VERSIONING): Remove macro.
17606 * Makerules [$(versioning) = yes]: Change conditionals to
17607 [$(build-shared) = yes].
17608 * config.make.in (versioning): Remove variable.
17609 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17610 [$(build-shared) = yes].
17611 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17612 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17613 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17614 [$(build-shared) = yes].
17615 * extra-lib.mk [$(versioning) = yes]: Likewise.
17616 * hurd/Makefile [$(versioning) = yes]: Likewise.
17617 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17619 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17621 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17622 [SHARED && !NO_HIDDEN].
17623 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17625 [SHARED && DO_VERSIONING]: Likewise..
17626 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17627 [$(build-shared) = yes].
17628 * manual/install.texi (--disable-versioning): Remove
17630 * INSTALL: Regenerated.
17631 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17633 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17634 [$(build-shared) = yes].
17635 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17636 * sysdeps/i386/i686/multiarch/strstr-c.c
17637 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17638 [SHARED && !NO_HIDDEN].
17639 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17640 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17641 * sysdeps/powerpc/powerpc32/dl-machine.c
17642 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17643 * sysdeps/powerpc/powerpc32/sysdep.h
17644 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17645 to [SHARED && PIC && !NO_HIDDEN].
17646 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17647 conditional to [SHARED].
17649 2013-09-04 Will Newton <will.newton@linaro.org>
17651 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17652 * benchtests/bench-string.h: Include bench-timing.h instead
17653 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17654 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17655 call to HP_TIMING_DIFF_INIT.
17656 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17657 instead of hp-timing.h macros.
17658 * benchtests/bench-memchr.c: Likewise.
17659 * benchtests/bench-memcmp.c: Likewise.
17660 * benchtests/bench-memcpy.c: Likewise.
17661 * benchtests/bench-memmem.c: Likewise.
17662 * benchtests/bench-memmove.c: Likewise.
17663 * benchtests/bench-memset.c: Likewise.
17664 * benchtests/bench-rawmemchr.c: Likewise.
17665 * benchtests/bench-strcasecmp.c: Likewise.
17666 * benchtests/bench-strcasestr.c: Likewise.
17667 * benchtests/bench-strcat.c: Likewise.
17668 * benchtests/bench-strchr.c: Likewise.
17669 * benchtests/bench-strcmp.c: Likewise.
17670 * benchtests/bench-strcpy.c: Likewise.
17671 * benchtests/bench-strcpy_chk.c: Likewise.
17672 * benchtests/bench-strlen.c: Likewise.
17673 * benchtests/bench-strncasecmp.c: Likewise.
17674 * benchtests/bench-strncat.c: Likewise.
17675 * benchtests/bench-strncmp.c: Likewise.
17676 * benchtests/bench-strncpy.c: Likewise.
17677 * benchtests/bench-strnlen.c: Likewise.
17678 * benchtests/bench-strpbrk.c: Likewise.
17679 * benchtests/bench-strrchr.c: Likewise.
17680 * benchtests/bench-strspn.c: Likewise.
17681 * benchtests/bench-strstr.c: Likewise.
17683 2013-09-04 Will Newton <will.newton@linaro.org>
17685 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17687 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17690 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17691 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17692 * math/libm-test.inc (lgamma_test_data): Add more tests.
17693 * sysdeps/i386/fpu/libm-test-ulps: Update.
17694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17696 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17698 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17702 Add strcmp-sse2-unaligned
17703 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17705 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17707 * Versions.def (libc): Add GLIBC_2.19.
17709 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17711 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17712 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17714 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17717 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17718 intermediate calculations in recurrence.
17719 (__ieee754_ynf): Likewise.
17720 * math/libm-test.inc (jn_test_data): Do not allow spurious
17721 underflow exception. Add more tests.
17722 (yn_test_data): Add more tests.
17723 * sysdeps/i386/fpu/libm-test-ulps: Update.
17724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17726 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17728 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17730 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17732 * csu/init-first.c: Fix then/than typos.
17733 * locale/programs/ld-collate.c: Likewise.
17734 * locale/programs/linereader.h: Likewise.
17735 * manual/charset.texi: Likewise.
17736 * manual/filesys.texi: Likewise.
17737 * manual/stdio.texi: Likewise.
17738 * manual/string.texi: Likewise.
17739 * stdlib/fmtmsg.c: Likewise.
17740 * sysdeps/i386/stpncpy.S: Likewise.
17741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17742 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17743 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17744 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17746 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17748 * elf/dl-open.c: Fix typos.
17749 * iconvdata/gbbig5.c: Likewise.
17750 * iconvdata/iso-2022-jp.c: Likewise.
17751 * iconv/gconv_int.h: Likewise.
17752 * iconv/loop.c: Likewise.
17753 * nis/rpcsvc/nis.h: Likewise.
17754 * resolv/ns_name.c: Likewise.
17755 * stdio-common/vfscanf.c: Likewise.
17756 * streams/stropts.h: Likewise.
17757 * sunrpc/rpc_thread.c: Likewise.
17758 * sysdeps/i386/strpbrk.S: Likewise.
17759 * sysdeps/ieee754/k_standard.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17762 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17763 * sysdeps/mach/hurd/profil.c: Likewise.
17764 * sysdeps/s390/dl-procinfo.h: Likewise.
17765 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17766 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17767 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17768 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17771 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17773 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17776 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17778 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17779 aix specific files.
17780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17781 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17783 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17784 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17785 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17786 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17787 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17789 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17790 Roland McGrath <roland@hack.frob.com>
17792 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17793 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17795 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17797 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17798 __executable_start symbol instead of _start.
17800 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17802 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17803 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17805 * sysdeps/gnu/ldsodefs.h: ... this new file.
17807 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17808 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17809 instead of ELFOSABI_LINUX.
17811 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17812 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17813 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17814 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17816 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17817 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17818 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17820 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17821 (ibm_extended_long_double): Add ieee_nan member.
17822 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17823 (do_test): New function.
17825 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17827 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17828 functions, renamed from truncdfsf_test, trunctfsf_test,
17830 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17832 (do_test): Run all these.
17834 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17836 * argp/argp-help.c: Fix typos.
17837 * argp/argp-parse.c: Likewise.
17838 * debug/backtracesyms.c: Likewise.
17839 * elf/elf.h: Likewise.
17840 * malloc/malloc.c: Likewise.
17841 * nis/nis_print.c: Likewise.
17842 * resolv/res_comp.c: Likewise.
17843 * stdlib/stdlib.h: Likewise.
17844 * sunrpc/clnt_tcp.c: Likewise.
17845 * sunrpc/clnt_udp.c: Likewise.
17846 * sunrpc/clnt_unix.c: Likewise.
17847 * sysdeps/unix/bsd/ptsname.c: Likewise.
17848 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17856 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17858 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17860 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17863 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17866 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17867 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17868 ($(objpfx)bug-dl-leaf): New rule.
17869 ($(objpfx)bug-dl-leaf.so): Likewise.
17870 ($(objpfx)bug-dl-leaf.out): Likewise.
17871 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17872 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17873 * dlfcn/bug-dl-leaf.c: New test.
17874 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17875 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17876 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17877 (dlclose): Likewise.
17878 (dlmopen): Likewise.
17880 2013-08-27 Roland McGrath <roland@hack.frob.com>
17882 * include/netdb.h [!_ISOMAC]:
17883 Don't include <tls.h>.
17884 (h_errno, __libc_h_errno): Move declaration and macros out of
17887 * include/resolv.h [_RESOLV_H_]:
17888 Don't include <tls.h>.
17889 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17890 * resolv/res_libc.c: Don't include <tls.h>.
17891 (_res): Use __attribute__ ((nocommon)) in place of
17892 __attribute__ ((section (".bss"))).
17894 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17895 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17897 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17899 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17900 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17902 * resolv/res_mkquery.c: Include <sys/time.h>.
17904 * inet/ifreq.c: Moved to ...
17905 * sysdeps/unix/ifreq.c: ... here.
17906 * inet/ifreq.c: New file, true stub version.
17908 * socket/sa_len.c: New file.
17909 * socket/Makefile (aux): Add it.
17910 * sysdeps/unix/sysv/linux/Makefile
17911 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17912 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17913 and #include <socket/sa_len.c>.
17914 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17915 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17917 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17918 * bits/socket.h: ... here.
17920 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17921 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17922 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17924 2013-08-27 Andreas Schwab <schwab@suse.de>
17927 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17928 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17929 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17930 * string/test-strcasecmp.c (test_main): Run tests in several
17932 * string/test-strncasecmp.c (test_main): Likewise.
17934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17935 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17936 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17938 (__strncasecmp_ssse3) [PIC]: Likewise.
17940 2013-08-26 Roland McGrath <roland@hack.frob.com>
17942 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17944 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17945 instead of explicitly declaring xdecrypt.
17946 * nis/nss_nis/nis-publickey.c: Likewise.
17948 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17951 * nscd/aicache.c: Include res_hconf.h.
17952 (addhstaiX): Initialize res_hconf.
17954 2013-08-26 Andreas Schwab <schwab@suse.de>
17956 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17957 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17959 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17961 * nscd/aicache.c (addhstaiX): Fix indentation.
17963 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17965 * configure.ac: Quote $build_pt_chown test.
17966 * configure: Regenerated.
17968 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17971 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17972 * math/s_cexpf.c (__cexpf): Likewise.
17973 * math/s_cexpl.c (__cexpl): Likewise.
17974 * math/libm-test.inc (cexp_test_data): Correct expected return
17975 value for NaN + i0. Add another test.
17977 2013-08-22 David S. Miller <davem@davemloft.net>
17979 * po/ca.po: Update Catalan translation from translation project.
17980 * po/uk.po: Add Ukrainian translations from translation project.
17982 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17985 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17986 is infinite, not alongside NaN test.
17987 * math/s_fdimf.c (__fdimf): Likewise.
17988 * math/s_fdiml.c (__fdiml): Likewise.
17989 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17990 errno is unchanged.
17992 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17994 * argp/argp-help.c: Fix typos.
17995 * crypt/speeds.c: Likewise.
17996 * csu/check_fds.c: Likewise.
17997 * elf/dl-load.c: Likewise.
17998 * elf/dl-open.c: Likewise.
17999 * elf/reldep3.c: Likewise.
18000 * elf/reldep.c: Likewise.
18001 * elf/sprof.c: Likewise.
18002 * iconv/iconv_charmap.c: Likewise.
18003 * iconv/skeleton.c: Likewise.
18004 * iconv/strtab.c: Likewise.
18005 * io/lockf64.c: Likewise.
18006 * libio/libioP.h: Likewise.
18007 * resolv/gai_notify.c: Likewise.
18008 * resolv/ns_name.c: Likewise.
18009 * resolv/ns_samedomain.c: Likewise.
18010 * resolv/res_send.c: Likewise.
18011 * stdlib/random.c: Likewise.
18012 * sunrpc/rpc/xdr.h: Likewise.
18013 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18014 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18015 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18016 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18017 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18018 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18020 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18021 * sysdeps/mach/hurd/check_fds.c: Likewise.
18022 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18023 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18024 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18025 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18026 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18027 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18028 * sysdeps/pthread/aio_notify.c: Likewise.
18029 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18030 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18031 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18032 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18033 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18035 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18037 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18038 version if bit_Slow_SSE4_2 is set.
18039 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18040 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18042 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18045 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18046 trampoline stack frame information.
18047 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18048 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18049 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18050 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18051 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18052 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18053 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18054 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18056 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18057 interrupting a syscall and set with option SA_SIGINFO.
18059 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18062 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18063 argument is infinite.
18064 * math/s_cprojf.c (__cprojf): Likewise.
18065 * math/s_cprojl.c (__cprojl): Likewise.
18066 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18067 * math/libm-test.inc (cproj_test_data): Add more tests.
18069 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18071 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18072 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18073 size. Use __ffs to determine corresponding shift.
18075 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18076 Roland McGrath <roland@hack.frob.com>
18078 * Makefile (INSTALL): Remove trailing blank lines from output of
18081 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18083 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18084 Align 32 bit compat elf_greg to 8 bytes.
18086 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18088 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18090 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18092 * string/strcoll_l.c (coll_seq): New structure.
18093 (get_next_seq_cached): New function.
18094 (get_next_seq): New function.
18095 (do_compare): New function.
18096 (STRCOLL): Use GNU style definition. Simplify implementation
18097 by using get_next_seq, get_next_seq_cached and do_compare.
18099 2013-08-16 Florian Weimer <fweimer@redhat.com>
18103 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18105 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18107 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18108 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18109 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18111 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18112 GETDENTS_64BIT_ALIGNED.
18113 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18114 * manual/filesys.texi (Reading/Closing Directory): Document
18115 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18117 * manual/conf.texi (Limits for Files): Add portability note to
18118 NAME_MAX, PATH_MAX.
18119 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18121 2013-08-13 Andreas Schwab <schwab@suse.de>
18124 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18126 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18127 LDBL_MAX_EXP >= 16384]: Add tests for it.
18129 2013-08-12 David S. Miller <davem@davemloft.net>
18131 * version.h (RELEASE): Set to "development".
18132 (VERSION): Set to "2.18.90".
18133 * NEWS: Add 2.19 section.
18135 2013-08-03 David S. Miller <davem@davemloft.net>
18137 * po/ko.po: Update Korean translation from translation project.
18139 2013-08-01 David S. Miller <davem@davemloft.net>
18141 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18142 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18145 2013-07-30 David S. Miller <davem@davemloft.net>
18147 * po/fr.po: Update French translation from translation project.
18149 2013-07-28 David S. Miller <davem@davemloft.net>
18151 * po/cs.po: Update Czech translation from translation project.
18153 * po/sv.po: Update Swedish translation from translation project.
18155 2013-07-27 David S. Miller <davem@davemloft.net>
18157 * po/eo.po: Update Esperanto translation from translation project.
18159 * po/vi.po: Update Vietnamese translation from translation project.
18161 * po/de.po: Update German translation from translation project.
18163 2013-07-26 David S. Miller <davem@davemloft.net>
18165 * po/bg.po: Update Bulgarian translation from translation project.
18167 * po/nl.po: Update Dutch translation from translation project.
18168 * po/pl.po: Update Polish translation from translation project.
18169 * po/ru.po: Update Russian translation from translation project.
18171 2013-07-24 David S. Miller <davem@davemloft.net>
18173 * po/libc.pot: Update.
18175 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18177 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18178 variable page size.
18179 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18180 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18181 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18183 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18185 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18187 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18188 Andreas Schwab <schwab@suse.de>
18189 Roland McGrath <roland@hack.frob.com>
18190 Joseph Myers <joseph@codesourcery.com>
18191 Carlos O'Donell <carlos@redhat.com>
18194 * config.h.in: Define HAVE_PT_CHOWN.
18195 * config.make.in (build-pt-chown): New variable.
18196 * configure.in (--enable-pt_chown): New configure option.
18197 * configure: Regenerate.
18198 * login/Makefile: Include Makeconfig. Build pt_chown only if
18199 build-pt-chown is enabled.
18200 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18201 pt_chown to fix pty ownership.
18202 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18204 * manual/install.texi (Configuring and compiling): Mention
18205 --enable-pt_chown. Add @findex for grantpt.
18206 * INSTALL: Regenerate.
18208 2013-07-20 David S. Miller <davem@davemloft.net>
18210 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18211 difference between 32-bit and 64-bit.
18213 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18216 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18217 Avoid system header dependency with -ffreestanding.
18218 ($(objpfx)bits/syscall%d): Likewise.
18220 2013-07-13 David S. Miller <davem@davemloft.net>
18222 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18223 underflows from atanl/atan2l due to bug 15319.
18224 (casinh_test_data): Likewise.
18226 2013-07-07 David S. Miller <davem@davemloft.net>
18228 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18230 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18232 * sysdeps/i386/fpu/libm-test-ulps: Update.
18233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18235 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18237 * configure.in (--enable-lock-elision): Fix message text.
18238 * INSTALL: Regenerate.
18239 * configure: Regenerate.
18241 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18245 2013-07-03 Andreas Jaeger <aj@suse.de>
18247 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18249 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18250 (ptrace_peeksiginfo_args): Add.
18251 (__ptrace_peeksiginfo_flags): Add.
18252 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18253 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18254 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18256 2013-07-03 Allan McRae <allan@archlinux.org>
18258 * sysdeps/i386/fpu/libm-test-ulps: Update.
18260 2013-07-02 David S. Miller <davem@davemloft.net>
18262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18264 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18268 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18270 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18273 2013-07-02 Andi Kleen <ak@linux.intel.com>
18275 * config.h.in (ENABLE_LOCK_ELISION): Add.
18276 * configure.in (--enable-lock-elision): Add option.
18277 * manual/install.texi: Document --enable lock elision.
18278 * configure: Regenerate
18279 * INSTALL: Regenerate.
18281 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18283 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18284 SSE4.2 strcasecmp for libc.a.
18285 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18287 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18290 * soft-fp/op-common.h (_FP_FMA): New macro.
18291 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18292 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18293 (_FP_MUL_MEAT_1_imm): ... here.
18294 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18295 (_FP_MUL_MEAT_1_wide): ... here.
18296 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18297 (_FP_MUL_MEAT_1_hard): ... here.
18298 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18299 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18300 (_FP_MUL_MEAT_2_wide): ... here.
18301 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18302 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18303 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18304 (_FP_MUL_MEAT_2_gmp): ... here.
18305 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18306 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18307 (_FP_MUL_MEAT_4_wide): ... here.
18308 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18309 (_FP_MUL_MEAT_4_gmp): ... here.
18310 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18311 (_FP_WFRACBITS_DW_S): Likewise.
18312 (_FP_WFRACXBITS_DW_S): Likewise.
18313 (_FP_HIGHBIT_DW_S): Likewise.
18314 (FP_FMA_S): Likewise.
18315 (_FP_FRAC_HIGH_DW_S): Likewise.
18316 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18317 (_FP_WFRACBITS_DW_D): Likewise.
18318 (_FP_WFRACXBITS_DW_D): Likewise.
18319 (_FP_HIGHBIT_DW_D): Likewise.
18320 (FP_FMA_D): Likewise.
18321 (_FP_FRAC_HIGH_DW_D): Likewise.
18322 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18323 (_FP_WFRACBITS_DW_E): Likewise.
18324 (_FP_WFRACXBITS_DW_E): Likewise.
18325 (_FP_HIGHBIT_DW_E): Likewise.
18326 (FP_FMA_E): Likewise.
18327 (_FP_FRAC_HIGH_DW_E): Likewise.
18328 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18329 (_FP_WFRACBITS_DW_Q): Likewise.
18330 (_FP_WFRACXBITS_DW_Q): Likewise.
18331 (_FP_HIGHBIT_DW_Q): Likewise.
18332 (FP_FMA_Q): Likewise.
18333 (_FP_FRAC_HIGH_DW_Q): Likewise.
18334 * soft-fp/fmasf4.c: New file.
18335 * soft-fp/fmadf4.c: Likewise.
18336 * soft-fp/fmatf4.c: Likewise.
18338 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18341 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18343 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18345 (index_Slow_SSE4_2): Likewise.
18346 (index_Prefer_PMINUB_for_stringop): Likewise.
18347 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18348 bit_Slow_SSE4_2 is set.
18349 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18350 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18352 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18354 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18355 rtld_global._dl_hwcap2.
18356 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18358 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18359 POWER8 feature descriptions defined in _dl_hwcap2.
18360 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18361 string handling for POWER8 feature bits.
18362 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18363 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18364 _dl_powerpc_cap_flags.
18365 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18366 * sysdeps/powerpc/rtld-global-offsets.sym
18367 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18368 _dl_hwcap2 in the rtld_global_ro structure.
18370 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18372 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18373 hardware capabilities in support of AT_HWCAP2.
18374 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18375 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18377 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18378 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18379 explicitly the unknown a_type display mechanism is used.
18380 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18381 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18383 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18384 to macro prototype for AT_HWCAP2 support.
18385 * sysdeps/i386/dl-procinfo.h: Likewise.
18386 * sysdeps/s390/dl-procinfo.h: Likewise.
18387 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18388 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18389 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18390 return -1 for unknown a_type display fallback.
18391 * sysdeps/sparc/dl-procinfo.h: Likewise.
18392 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18393 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18395 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18397 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18398 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18400 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18403 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18404 mprotect making __stack_prot writable.
18406 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18407 Joseph Myers <joseph@codesourcery.com>
18409 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18410 as being properly aligned.
18412 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18414 * dlfcn/modstatic5.c: New file.
18415 * dlfcn/tststatic5.c: New file.
18416 * dlfcn/Makefile (tests): Add tststatic5.
18417 (tests-static): Likewise.
18418 (modules-names): Add modstatic5.
18419 (tststatic5-ENV): New variable.
18420 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18423 * elf/dl-support.c (_dl_main_map): New variable.
18424 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18425 (_dl_nns, _dl_load_adds): Set to 1.
18426 (_dl_initial_searchlist): Refer to _dl_main_map.
18427 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18428 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18429 call to _dl_get_origin.
18430 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18432 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18433 * dlfcn/modstatic3.c: New file.
18434 * dlfcn/tststatic3.c: New file.
18435 * dlfcn/tststatic4.c: New file.
18436 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18437 (tests-static): Likewise.
18438 (modules-names): Add modstatic3.
18439 (tststatic3-ENV, tststatic4-ENV): New variables.
18440 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18441 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18443 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18445 * configure.in (CC): Require GCC version 4.4 or later.
18446 * configure: Regenerated.
18447 * manual/install.texi (Tools for Compilation): Update GCC version
18449 * INSTALL: Regenerated.
18451 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18454 * string/test-memcmp.c (check2): New.
18455 (main): Call check2.
18457 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18459 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18462 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18464 (dl_open_worker) [!SHARED]: ... here.
18466 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18468 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18470 2013-06-25 Richard Henderson <rth@redhat.com>
18472 * locale/programs/locarchive.c: Include <libc-internal.h>
18474 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18476 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18477 trailing whitespace removed.
18479 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18482 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18483 * locale/programs/locarchive.c: Include libc-mmap.h.
18484 (prepare_address_space): Take two new outputs (the mmap base and len).
18485 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18487 (create_archive): Declare new mmap base and len values for
18488 prepare_address_space, and store the result in ah.
18489 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18490 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18491 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18492 Declare new mmap base and len values for
18493 prepare_address_space, and store the result in new_ah.
18494 (open_archive): Declare new mmap base and len values for
18495 prepare_address_space, and store the result in ah.
18496 (close_archive): If ah->mmap_base is not NULL, use that and
18497 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18498 * sysdeps/generic/libc-mmap.h: New file.
18500 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18502 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18503 (ALIGN_UP): Likewise.
18504 (PTR_ALIGN_DOWN): Likewise.
18505 (PTR_ALIGN_UP): Likewise.
18507 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18509 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18510 entry mapped to PPC_PLATFORM_POWER8.
18511 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18513 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18514 (_dl_string_platform): Add case for exporting platform position for
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18517 search path to sysdeps/powerpc/powerpc32/power8 directory.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18519 search path to sysdeps/powerpc/powerpc64/power8 directory.
18520 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18521 power7 directories.
18522 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18523 power7 directories.
18525 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18527 * INSTALL: Regenerate.
18529 * nscd/connections.c (nscd_init): Fix comment.
18531 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18533 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18536 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18537 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18539 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18541 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18543 (DL_DST_REQ_STATIC): Remove macro.
18545 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18548 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18549 with a shift of 0 bits.
18551 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18553 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18556 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18559 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18561 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18563 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18564 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18565 accepts -fno-tree-loop-distribute-patterns.
18566 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18567 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18569 * string/memset.c (memset): Likewise.
18570 * string/test-memmove.c (simple_memmove): Disable loop transformation
18572 * string/test-memset.c (simple_memset): Likewise.
18573 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18574 * benchtests/bench-memset.c (simple_memset): Likewise.
18575 * configure: Regenerated.
18577 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18579 * math/test-misc.c (main): Ignore fesetround failure when failures
18580 of subsequent rounding tests would be ignored.
18583 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18584 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18585 * math/fegetenv.c (__fegetenv): Return 0.
18586 * math/fegetexcept.c (fegetexcept): Return 0.
18587 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18589 * math/feholdexcpt.c (feholdexcept): Return 0.
18590 * math/fesetenv.c (__fesetenv): Return 0.
18591 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18592 argument FE_TONEAREST.
18593 * math/feupdateenv.c (__feupdateenv): Return 0.
18594 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18596 2013-06-18 Roland McGrath <roland@hack.frob.com>
18598 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18599 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18600 ($(objpfx)rtld-%.os rules): Use them.
18602 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18604 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18607 2013-06-17 Roland McGrath <roland@hack.frob.com>
18609 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18610 length of target pattern, then descending length of dependency pattern.
18611 * configure.in (AWK): Require gawk 3.1.2 or newer.
18612 * manual/install.texi (Tools for Compilation): Say that we do.
18613 * configure: Regenerated.
18615 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18616 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18617 * scripts/sysd-rules.awk: ... this new script.
18618 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18619 than a glob-style pattern.
18621 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18623 * math/test-misc.c (main): Do not treat incorrectly rounded
18624 conversions as failure unless ROUNDING_TESTS passes.
18626 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18629 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18630 restore exception state around main square root computation, then
18631 check for inexactness explicitly.
18633 * math/libm-test.inc (fma_test_data): Add another test.
18635 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18637 * manual/threads.texi (Non-POSIX Extensions): New document
18638 node. Document pthread_getattr_default_np and
18639 pthread_setattr_default_np.
18641 * Versions.def (libpthread): Add GLIBC_2.18.
18642 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18651 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18662 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18665 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18667 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18668 H.J. Lu <hjl.tools@gmail.com>
18671 * sysdeps/x86_64/rtld-memset.c: Remove file.
18672 * sysdeps/x86_64/rtld-memset.S: New file.
18674 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18676 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18677 (test_in_one_mode): Take arguments for whether the rounding mode
18678 is supported for each floating-point type.
18679 (do_test): Pass new arguments to test_in_one_mode using
18682 2013-06-13 Roland McGrath <roland@hack.frob.com>
18684 * posix/tst-waitid.c (do_test): Distinguish different instances of
18685 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18686 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18687 before entering the kernel for waitpid.
18689 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18691 * NEWS: Fix note on clock function precision. Text by Roland
18694 2013-06-13 Roland McGrath <roland@hack.frob.com>
18696 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18697 it into place only when and if the sanity check passes.
18699 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18701 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18702 output for whether conversion result is exact. Take argument
18703 indicating whether type is IBM long double.
18704 (round_for_all): Change need_exact field to ibm_ld.
18705 * stdlib/tst-strtod-round.c (struct exactness): New type.
18706 (struct test): Change bool ld_ok field to struct exactness exact.
18707 (TEST): Update all definitions for change to field.
18708 (tests): Regenerate array contents.
18709 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18710 field value. Check for IBM long double here.
18711 (do_test): Update calls to test_in_one_mode.
18713 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18716 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18717 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18719 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18722 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18723 generated by the compiler on loop optimizations.
18724 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18725 general definitions.
18727 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18729 * math/bug-nextafter.c: Include <math-tests.h>.
18730 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18732 * math/bug-nexttoward.c: Include <math-tests.h>.
18733 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18735 * math/test-misc.c: Include <math-tests.h>.
18736 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18739 2013-06-12 Andreas Jaeger <aj@suse.de>
18741 * po/ia.po: Update Interlingua translation from translation
18744 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18746 * include/fenv.h: Include stdbool.h.
18747 (struct rm_ctx): New structure.
18748 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18750 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18751 (SET_RESTORE_ROUNDF): Likewise.
18752 (SET_RESTORE_ROUNDL): Likewise.
18753 (SET_RESTORE_ROUND_NOEX): Likewise.
18754 (SET_RESTORE_ROUND_NOEXF): Likewise.
18755 (SET_RESTORE_ROUND_NOEXL): Likewise.
18756 (SET_RESTORE_ROUND_53BIT): Likewise.
18757 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18758 (libc_feresetround_noexf_ctx): Likewise.
18759 (libc_feresetround_noexl_ctx): Likewise.
18760 (libc_feholdsetround_53bit_ctx): Likewise.
18761 (libc_feresetround_53bit_ctx): Likewise.
18762 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18763 (libc_feholdexcept_setround_sse_ctx): New function.
18764 (libc_fesetenv_sse_ctx): Likewise.
18765 (libc_feupdateenv_sse_ctx): Likewise.
18766 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18767 (libc_feholdexcept_setround_387_ctx): Likewise.
18768 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18769 (libc_feholdsetround_387_prec_ctx): Likewise.
18770 (libc_feholdsetround_387_ctx): Likewise.
18771 (libc_feholdsetround_387_53bit_ctx): Likewise.
18772 (libc_feholdsetround_sse_ctx): Likewise.
18773 (libc_feresetround_sse_ctx): Likewise.
18774 (libc_feresetround_387_ctx): Likewise.
18775 (libc_feupdateenv_387_ctx): Likewise.
18776 (libc_feholdexcept_setroundf_ctx): Define macro.
18777 (libc_fesetenvf_ctx): Likewise.
18778 (libc_feupdateenvf_ctx): Likewise.
18779 (libc_feholdsetroundf_ctx): Likewise.
18780 (libc_feresetroundf_ctx): Likewise.
18781 (libc_feholdexcept_setround_ctx): Likewise.
18782 (libc_fesetenv_ctx): Likewise.
18783 (libc_feupdateenv_ctx): Likewise.
18784 (libc_feholdsetround_ctx): Likewise.
18785 (libc_feresetround_ctx): Likewise.
18786 (libc_feholdexcept_setroundl_ctx): Likewise.
18787 (libc_feupdateenvl_ctx): Likewise.
18788 (libc_feholdsetroundl_ctx): Likewise.
18789 (libc_feresetroundl_ctx): Likewise.
18790 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18791 (libc_feresetround_53bit_ctx): Likewise.
18793 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18795 * locale/iso-639.def: Convert to UTF-8.
18797 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18799 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18800 (EXCEPTION_TESTS_double): Likewise.
18801 (EXCEPTION_TESTS_long_double): Likewise.
18802 (EXCEPTION_TESTS): Likewise.
18803 * math/libm-test.inc (test_exceptions): Only test exceptions if
18804 EXCEPTION_TESTS (FLOAT).
18806 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18808 * benchtests/Makefile (string-bench): Add strcpy_chk and
18810 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18811 * benchtests/bench-stpcpy_chk.c: New file.
18812 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18813 * benchtests/bench-strcpy_chk.c: New file.
18814 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18816 (do_test): Likewise.
18818 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18820 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18821 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18822 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18823 with tabs where appropriate.
18824 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18826 [PPC_PLATFORM_PPC440]: Likewise.
18827 [PPC_PLATFORM_PPC464]: Likewise.
18828 [PPC_PLATFORM_PPC476]: Likewise.
18829 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18830 ppc464, and ppc476 platform strings merging from ports/
18833 2013-06-11 Andreas Schwab <schwab@suse.de>
18836 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18837 (from_ucs4_idx): Regenerate.
18838 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18839 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18840 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18841 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18842 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18843 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18844 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18845 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18846 from FROM_LOOP and TO_LOOP specific macros.
18847 (BODY): Handle combining characters.
18848 * iconvdata/BIG5HKSCS.irreversible: Update.
18849 * iconvdata/BIG5HKSCS.precomposed: New file.
18850 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18852 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18854 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18856 * include/sys/time.h: Fix indentation and add copyright header.
18858 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18859 (do_test): Likewise.
18860 * string/test-memchr.c (do_one_test): Likewise.
18861 (do_test): Likewise.
18862 * string/test-memcmp.c (do_one_test): Likewise.
18863 (do_test): Likewise.
18864 * string/test-memcpy.c (do_one_test): Likewise.
18865 (do_test): Likewise.
18866 * string/test-memmem.c (do_one_test): Likewise.
18867 (do_test): Likewise.
18868 (do_random_tests): Likewise.
18869 * string/test-memmove.c (do_one_test): Likewise.
18870 (do_test): Likewise.
18871 * string/test-memset.c (do_one_test): Likewise.
18872 (do_test): Likewise.
18873 * string/test-rawmemchr.c (do_one_test): Likewise.
18874 (do_test): Likewise.
18875 * string/test-strcasecmp.c (do_one_test): Likewise.
18876 (do_test): Likewise.
18877 * string/test-strcasestr.c (do_one_test): Likewise.
18878 (do_test): Likewise.
18879 * string/test-strcat.c (do_one_test): Likewise.
18880 (do_test): Likewise.
18881 * string/test-strchr.c (do_one_test): Likewise.
18882 (do_test): Likewise.
18883 * string/test-strcmp.c (do_one_test): Likewise.
18884 (do_test): Likewise.
18885 * string/test-strcpy.c (do_one_test): Likewise.
18886 (do_test): Likewise.
18887 * string/test-string.h: Likewise.
18888 (test_init): Likewise.
18889 * string/test-strlen.c (do_one_test): Likewise.
18890 (do_test): Likewise.
18891 * string/test-strncasecmp.c (do_one_test): Likewise.
18892 (do_test): Likewise.
18893 * string/test-strncat.c (do_one_test): Likewise.
18894 (do_test): Likewise.
18895 * string/test-strncmp.c (do_one_test): Likewise.
18896 (do_test_limit): Likewise.
18897 (do_test): Likewise.
18898 * string/test-strncpy.c (do_one_test): Likewise.
18899 (do_test): Likewise.
18900 * string/test-strnlen.c (do_one_test): Likewise.
18901 (do_test): Likewise.
18902 * string/test-strpbrk.c (do_one_test): Likewise.
18903 (do_test): Likewise.
18904 * string/test-strrchr.c (do_one_test): Likewise.
18905 (do_test): Likewise.
18906 * string/test-strspn.c (do_one_test): Likewise.
18907 (do_test): Likewise.
18908 * string/test-strstr.c (do_one_test): Likewise.
18909 (do_test): Likewise.
18911 * benchtests/Makefile (string-bench): Add string benchmarks.
18912 * benchtests/bench-bcopy-ifunc.c: New file.
18913 * benchtests/bench-bcopy.c: New file.
18914 * benchtests/bench-bzero-ifunc.c: New file.
18915 * benchtests/bench-bzero.c: New file.
18916 * benchtests/bench-memccpy-ifunc.c: New file.
18917 * benchtests/bench-memccpy.c: New file.
18918 * benchtests/bench-memchr-ifunc.c: New file.
18919 * benchtests/bench-memchr.c: New file.
18920 * benchtests/bench-memcmp-ifunc.c: New file.
18921 * benchtests/bench-memcmp.c: New file.
18922 * benchtests/bench-memmem-ifunc.c: New file.
18923 * benchtests/bench-memmem.c: New file.
18924 * benchtests/bench-memmove-ifunc.c: New file.
18925 * benchtests/bench-memmove.c: New file.
18926 * benchtests/bench-mempcpy-ifunc.c: New file.
18927 * benchtests/bench-mempcpy.c: New file.
18928 * benchtests/bench-memset-ifunc.c: New file.
18929 * benchtests/bench-memset.c: New file.
18930 * benchtests/bench-rawmemchr-ifunc.c: New file.
18931 * benchtests/bench-rawmemchr.c: New file.
18932 * benchtests/bench-stpcpy-ifunc.c: New file.
18933 * benchtests/bench-stpcpy.c: New file.
18934 * benchtests/bench-stpncpy-ifunc.c: New file.
18935 * benchtests/bench-stpncpy.c: New file.
18936 * benchtests/bench-strcasecmp-ifunc.c: New file.
18937 * benchtests/bench-strcasecmp.c: New file.
18938 * benchtests/bench-strcasestr-ifunc.c: New file.
18939 * benchtests/bench-strcasestr.c: New file.
18940 * benchtests/bench-strcat-ifunc.c: New file.
18941 * benchtests/bench-strcat.c: New file.
18942 * benchtests/bench-strchr-ifunc.c: New file.
18943 * benchtests/bench-strchr.c: New file.
18944 * benchtests/bench-strchrnul-ifunc.c: New file.
18945 * benchtests/bench-strchrnul.c: New file.
18946 * benchtests/bench-strcmp-ifunc.c: New file.
18947 * benchtests/bench-strcmp.c: New file.
18948 * benchtests/bench-strcpy-ifunc.c: New file.
18949 * benchtests/bench-strcpy.c: New file.
18950 * benchtests/bench-strcspn-ifunc.c: New file.
18951 * benchtests/bench-strcspn.c: New file.
18952 * benchtests/bench-strlen-ifunc.c: New file.
18953 * benchtests/bench-strlen.c: New file.
18954 * benchtests/bench-strncasecmp-ifunc.c: New file.
18955 * benchtests/bench-strncasecmp.c: New file.
18956 * benchtests/bench-strncat-ifunc.c: New file.
18957 * benchtests/bench-strncat.c: New file.
18958 * benchtests/bench-strncmp-ifunc.c: New file.
18959 * benchtests/bench-strncmp.c: New file.
18960 * benchtests/bench-strncpy-ifunc.c: New file.
18961 * benchtests/bench-strncpy.c: New file.
18962 * benchtests/bench-strnlen-ifunc.c: New file.
18963 * benchtests/bench-strnlen.c: New file.
18964 * benchtests/bench-strpbrk-ifunc.c: New file.
18965 * benchtests/bench-strpbrk.c: New file.
18966 * benchtests/bench-strrchr-ifunc.c: New file.
18967 * benchtests/bench-strrchr.c: New file.
18968 * benchtests/bench-strspn-ifunc.c: New file.
18969 * benchtests/bench-strspn.c: New file.
18970 * benchtests/bench-strstr-ifunc.c: New file.
18971 * benchtests/bench-strstr.c: New file.
18973 * benchtests/Makefile: Disable parallel execution of targets.
18974 (string-bench): Add memcpy.
18975 (benchset): New variable to store a list of benchmark sets.
18976 (bench-func): Renamed from bench.
18977 (bench-set): New target.
18978 (bench): Depend on bench-func and bench-set.
18979 * benchtests/README: Add section on benchmark sets.
18980 * benchtests/bench-memcpy-ifunc.c: New file.
18981 * benchtests/bench-memcpy.c: New file.
18982 * benchtests/bench-string.h: New file.
18984 2013-06-11 Andreas Schwab <schwab@suse.de>
18987 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18988 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18989 values in the triple.
18990 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18991 terminator in the group key.
18993 2013-06-11 Andreas Jaeger <aj@suse.de>
18995 * po/zh_TW.po: Update Chinese (traditional) translation from
18996 translation project.
18998 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19000 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19001 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19002 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19003 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19004 (clock_getcpuclockid): Likewise.
19005 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19006 Add weak_alias and libc_hidden_def.
19007 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19008 * rt/clock_gettime.c (clock_gettime): Rename to
19009 __clock_gettime. Add weak_alias and libc_hidden_def.
19010 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19011 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19012 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19013 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19014 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19016 * rt/clock_settime.c (clock_settime): Rename to
19017 __clock_settime. Add weak_alias and libc_hidden_def.
19018 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19020 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19022 * mach/err_boot.sub: Remove trailing whitespace.
19023 * mach/err_ipc.sub: Likewise.
19024 * mach/err_mach.sub: Likewise.
19026 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19027 (ROUNDING_TESTS_double): Likewise.
19028 (ROUNDING_TESTS_long_double): Likewise.
19029 (ROUNDING_TESTS): Likewise.
19030 * math/libm-test.inc: Include <math-tests.h>.
19031 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19032 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19033 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19034 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19036 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19038 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19041 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19043 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19044 otherwise empty TRANS lines.
19045 * sysdeps/gnu/errlist.c: Regenerated.
19047 * catgets/gencat.c (error_print): Use (void) in function
19049 * crypt/crypt_util.c (__init_des): Likewise.
19050 * crypt/speeds.c (Stop): Likewise.
19052 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19053 * inet/ruserpass.c (token): Likewise.
19054 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19055 * intl/localealias.c (extend_alias_table): Likewise.
19056 * intl/plural-exp.c (init_germanic_plural): Likewise.
19057 * libio/fcloseall.c (__fcloseall): Likewise.
19058 * libio/genops.c (_IO_flush_all): Likewise.
19059 (_IO_flush_all_linebuffered): Likewise.
19060 (_IO_cleanup): Likewise.
19061 (_IO_iter_begin): Likewise.
19062 (_IO_iter_end): Likewise.
19063 (_IO_list_lock): Likewise.
19064 (_IO_list_unlock): Likewise.
19065 (_IO_list_resetlock): Likewise.
19066 * libio/getchar.c (getchar): Likewise.
19067 * libio/getchar_u.c (getchar_unlocked): Likewise.
19068 * libio/getwchar.c (getwchar): Likewise.
19069 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19070 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19071 * login/getpt.c (__getpt): Likewise.
19072 * login/tst-utmp.c (main): Likewise.
19073 * malloc/hooks.c (__malloc_check_init): Likewise.
19074 * malloc/malloc.c (__malloc_stats): Likewise.
19075 * malloc/mtrace.c (tr_break): Likewise.
19076 (mtrace): Likewise.
19077 (muntrace): Likewise.
19078 * misc/fstab.c (endfsent): Likewise.
19079 * misc/getclktck.c (__getclktck): Likewise.
19080 * misc/getdtsz.c (__getdtablesize): Likewise.
19081 * misc/gethostid.c (gethostid): Likewise.
19082 * misc/getpagesize.c (__getpagesize): Likewise.
19083 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19084 (__get_nprocs): Likewise.
19085 (__get_phys_pages): Likewise.
19086 (__get_avphys_pages): Likewise.
19087 * misc/getttyent.c (getttyent): Likewise.
19088 (setttyent): Likewise.
19089 (endttyent): Likewise.
19090 * misc/getusershell.c (getusershell): Likewise.
19091 (endusershell): Likewise.
19092 (setusershell): Likewise.
19093 (initshells): Likewise.
19094 * misc/hsearch.c (__hdestroy): Likewise.
19095 * misc/sync.c (sync): Likewise.
19096 * misc/syslog.c (closelog_internal): Likewise.
19097 (closelog): Likewise.
19098 * misc/ttyslot.c (ttyslot): Likewise.
19099 * misc/vhangup.c (vhangup): Likewise.
19100 * posix/fork.c (__fork): Likewise.
19101 * posix/getegid.c (__getegid): Likewise.
19102 * posix/geteuid.c (__geteuid): Likewise.
19103 * posix/getgid.c (__getgid): Likewise.
19104 * posix/getpid.c (__getpid): Likewise.
19105 * posix/getppid.c (__getppid): Likewise.
19106 * posix/getuid.c (__getuid): Likewise.
19107 * posix/pause.c (pause): Likewise.
19108 * posix/setpgrp.c (setpgrp): Likewise.
19109 * posix/setsid.c (__setsid): Likewise.
19110 * posix/test-vfork.c (noop): Likewise.
19111 * resolv/gethnamaddr.c (_endhtent): Likewise.
19112 (_gethtent): Likewise.
19113 (ht_endhostent): Likewise.
19114 (gethostent): Likewise.
19115 (dns_service): Likewise.
19116 * stdlib/drand48.c (drand48): Likewise.
19117 * stdlib/lrand48.c (lrand48): Likewise.
19118 * stdlib/mrand48.c (mrand48): Likewise.
19119 * stdlib/rand.c (rand): Likewise.
19120 * stdlib/random.c (__random): Likewise.
19121 * stdlib/setenv.c (clearenv): Likewise.
19122 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19123 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19124 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19125 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19126 (__get_nprocs): Likewise.
19127 (__get_phys_pages): Likewise.
19128 (__get_avphys_pages): Likewise.
19129 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19130 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19131 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19132 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19133 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19134 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19135 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19136 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19137 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19138 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19139 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19140 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19141 * sysdeps/posix/clock.c (clock): Likewise.
19142 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19143 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19144 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19145 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19146 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19148 (__get_nprocs_conf): Likewise.
19149 (__get_phys_pages): Likewise.
19150 (__get_avphys_pages): Likewise.
19151 * time/clock.c (clock): Likewise.
19152 * time/tzset.c (__tzname_max): Likewise.
19154 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19156 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19157 (__bswap_32): Do not use "register".
19158 * crypt/crypt.c (_ufc_doit_r): Likewise.
19159 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19160 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19161 * gmon/gmon.c (__monstartup): Likewise.
19162 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19163 * hurd/hurdmalloc.c (more_memory): Likewise.
19164 (malloc): Likewise.
19166 (realloc): Likewise.
19167 (malloc_fork_prepare): Likewise.
19168 (malloc_fork_parent): Likewise.
19169 (malloc_fork_child): Likewise.
19170 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19171 (_svcauth_des): Likewise.
19172 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19173 * inet/inet_net.c (inet_network): Likewise.
19174 * inet/inet_netof.c (inet_netof): Likewise.
19175 * inet/rcmd.c (__validuser2_sa): Likewise.
19176 * io/fts.c (fts_open): Likewise.
19177 (fts_load): Likewise.
19178 (fts_close): Likewise.
19179 (fts_read): Likewise.
19180 (fts_children): Likewise.
19181 (fts_build): Likewise.
19182 (fts_stat): Likewise.
19183 (fts_sort): Likewise.
19184 (fts_alloc): Likewise.
19185 (fts_lfree): Likewise.
19186 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19187 (_IO_file_xsgetn): Likewise.
19188 (_IO_file_xsgetn_mmap): Likewise.
19189 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19190 (_IO_cookie_write): Likewise.
19191 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19192 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19193 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19194 * malloc/obstack.c (_obstack_begin): Likewise.
19195 (_obstack_begin_1): Likewise.
19196 (_obstack_newchunk): Likewise.
19197 (_obstack_allocated_p): Likewise.
19198 (obstack_free): Likewise.
19199 (_obstack_memory_used): Likewise.
19200 * misc/getttyent.c (getttynam): Likewise.
19201 (getttyent): Likewise.
19204 * misc/getusershell.c (initshells): Likewise.
19205 * misc/syslog.c (__vsyslog_chk): Likewise.
19206 * misc/ttyslot.c (ttyslot): Likewise.
19207 * nis/nis_hash.c (__nis_hash): Likewise.
19208 * posix/fnmatch_loop.c (FCT): Likewise.
19209 * posix/getconf.c (print_all): Likewise.
19211 * posix/getopt.c (exchange): Likewise.
19212 * posix/glob.c (globfree): Likewise.
19213 (prefix_array): Likewise.
19214 (__glob_pattern_type): Likewise.
19215 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19216 (NS_GET32): Likewise.
19217 (NS_PUT16): Likewise.
19218 (NS_PUT32): Likewise.
19219 * resolv/gethnamaddr.c (getanswer): Likewise.
19220 (gethostbyname2): Likewise.
19221 (gethostbyaddr): Likewise.
19222 (_gethtent): Likewise.
19223 (_gethtbyname2): Likewise.
19224 (_gethtbyaddr): Likewise.
19225 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19226 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19227 * resolv/res_init.c (__res_vinit): Likewise.
19228 (net_mask): Likewise.
19229 * resolv/res_mkquery.c (outchar): Likewise.
19231 * stdio-common/printf_fp.c (outchar): Likewise.
19233 * stdio-common/printf_fphex.c (outchar): Likewise.
19235 * stdio-common/printf_size.c (outchar): Likewise.
19237 * stdio-common/test_rdwr.c (main): Likewise.
19238 * stdio-common/tfformat.c (matches): Likewise.
19239 * stdio-common/vfprintf.c (outchar): Likewise.
19240 (printf_unknown): Likewise.
19241 (buffered_vfprintf): Likewise.
19242 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19243 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19244 (ReadFile): Likewise.
19245 * stdlib/qsort.c (SWAP): Likewise.
19246 (_quicksort): Likewise.
19247 * stdlib/setenv.c (__add_to_environ): Likewise.
19248 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19249 * stdlib/strtol_l.c (__strtol_l): Likewise.
19250 * stdlib/tst-strtod.c (main): Likewise.
19251 * stdlib/tst-strtol.c (main): Likewise.
19252 * stdlib/tst-strtoll.c (main): Likewise.
19253 * string/bits/string2.h (__strcmp_cc): Likewise.
19254 (__strcmp_cg): Likewise.
19255 (__strcspn_c1): Likewise.
19256 (__strcspn_c2): Likewise.
19257 (__strcspn_c3): Likewise.
19258 (__strspn_c1): Likewise.
19259 (__strspn_c2): Likewise.
19260 (__strspn_c3): Likewise.
19261 (__strsep_1c): Likewise.
19262 (__strsep_2c): Likewise.
19263 (__strsep_3c): Likewise.
19264 * string/memccpy.c (__memccpy): Likewise.
19265 * string/stpcpy.c (__stpcpy): Likewise.
19266 * string/strcmp.c (strcmp): Likewise.
19267 * string/strrchr.c (strrchr): Likewise.
19268 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19270 * sysdeps/mach/hurd/getcwd.c
19271 (_hurd_canonicalize_directory_name_internal): Likewise.
19272 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19273 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19274 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19275 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19276 Likewise, in both definitions.
19277 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19279 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19280 64] (__bswap_64): Likewise.
19281 * time/test_time.c (main): Likewise.
19282 * time/tzfile.c (__tzfile_read): Likewise.
19283 (__tzfile_compute): Likewise.
19284 * time/tzset.c (__tzset_parse_tz): Likewise.
19285 (tzset_internal): Likewise.
19286 (compute_change): Likewise.
19287 * wcsmbs/wcscat.c (__wcscat): Likewise.
19288 * wcsmbs/wcschr.c (wcschr): Likewise.
19289 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19290 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19291 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19292 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19293 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19294 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19295 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19296 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19297 * wcsmbs/wmemset.c (wmemset): Likewise.
19299 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19301 * scripts/config.guess: Update to version 2013-05-16.
19302 * scripts/config.sub: Update to version 2013-04-24.
19303 * scripts/install-sh: Update to version 2011-11-20.07.
19304 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19305 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19307 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19309 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19310 * elf/sln.c: Likewise.
19311 * hurd/hurd/ioctl.h: Likewise.
19312 * hurd/hurdmalloc.c: Likewise.
19313 * hurd/xattr.c: Likewise.
19314 * include/shlib-compat.h: Likewise.
19315 * inet/ruserpass.c: Likewise.
19316 * libio/iofgets_u.c: Likewise.
19317 * libio/iofgetws_u.c: Likewise.
19318 * locale/programs/ld-identification.c: Likewise.
19319 * locale/programs/ld-time.c: Likewise.
19320 * mach/msg-destroy.c: Likewise.
19321 * nss/nss_files/files-netgrp.c: Likewise.
19322 * resolv/res_data.c: Likewise.
19323 * soft-fp/op-1.h: Likewise.
19324 * soft-fp/op-2.h: Likewise.
19325 * soft-fp/op-4.h: Likewise.
19326 * soft-fp/op-common.h: Likewise.
19327 * stdio-common/printf_fphex.c: Likewise.
19328 * stdlib/strtod_l.c: Likewise.
19329 * sunrpc/rpc/clnt.h: Likewise.
19330 * sysdeps/generic/framestate.c: Likewise.
19331 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19332 * sysdeps/i386/bsd-setjmp.S: Likewise.
19333 * sysdeps/i386/__longjmp.S: Likewise.
19334 * sysdeps/i386/setjmp.S: Likewise.
19335 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19336 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19337 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19353 * sysdeps/ieee754/support.c: Likewise.
19354 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19355 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19356 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19357 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19358 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19359 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19360 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19361 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19362 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19363 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19364 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19365 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19366 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19367 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19368 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19369 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19370 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19373 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19375 * posix/transbug.c: Remove executable mode.
19377 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19379 * crypt/speeds.c: Remove trailing whitespace.
19380 * dlfcn/default.c: Likewise.
19381 * elf/ifuncdep2.c: Likewise.
19382 * elf/ifuncmain1.c: Likewise.
19383 * elf/ifuncmain1vis.c: Likewise.
19384 * elf/testobj.h: Likewise.
19385 * elf/tst-stackguard1.c: Likewise.
19386 * gmon/sys/gmon.h: Likewise.
19387 * hurd/hurdmsg.c: Likewise.
19388 * hurd/new-fd.c: Likewise.
19389 * hurd/ports-get.c: Likewise.
19390 * iconvdata/ibm1008_420.c: Likewise.
19391 * inet/tst-getni1.c: Likewise.
19392 * inet/tst-getni2.c: Likewise.
19393 * libio/ioungetc.c: Likewise.
19394 * libio/wfiledoalloc.c: Likewise.
19395 * manual/libm-err-tab.pl: Likewise.
19396 * math/w_dremf.c: Likewise.
19397 * misc/ftruncate.c: Likewise.
19398 * posix/bug-glob2.c: Likewise.
19399 * posix/tst-pcre.c: Likewise.
19400 * posix/wait4.c: Likewise.
19401 * resolv/README: Likewise.
19402 * resolv/res_debug.h: Likewise.
19403 * resolv/tst-inet_ntop.c: Likewise.
19404 * setjmp/bug269-setjmp.c: Likewise.
19405 * soft-fp/extended.h: Likewise.
19406 * soft-fp/op-1.h: Likewise.
19407 * soft-fp/op-2.h: Likewise.
19408 * soft-fp/op-4.h: Likewise.
19409 * soft-fp/op-8.h: Likewise.
19410 * soft-fp/testit.c: Likewise.
19411 * stdio-common/bug16.c: Likewise.
19412 * stdlib/random.c: Likewise.
19413 * sunrpc/rpcsvc/rquota.x: Likewise.
19414 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19415 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19416 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19417 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19418 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19419 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19420 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19421 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19422 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19423 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19424 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19425 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19426 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19429 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19430 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19432 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19433 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19437 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19438 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19442 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19443 * sysdeps/ieee754/s_lib_version.c: Likewise.
19444 * sysdeps/mach/hurd/check_fds.c: Likewise.
19445 * sysdeps/mach/hurd/getsockname.c: Likewise.
19446 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19447 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19448 * sysdeps/powerpc/bits/link.h: Likewise.
19449 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19450 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19451 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19452 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19453 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19454 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19455 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19456 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19457 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19458 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19459 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19460 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19461 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19462 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19463 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19464 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19465 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19466 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19467 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19469 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19470 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19471 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19472 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19473 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19474 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19478 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19479 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19481 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19482 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19483 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19484 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19485 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19486 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19487 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19488 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19489 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19490 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19491 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19492 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19493 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19494 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19495 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19496 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19497 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19498 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19499 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19501 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19502 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19503 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19504 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19505 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19506 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19507 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19508 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19509 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19510 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19511 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19512 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19513 * sysdeps/powerpc/sysdep.h: Likewise.
19514 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19515 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19516 * sysdeps/sh/dl-trampoline.S: Likewise.
19517 * sysdeps/sh/memset.S: Likewise.
19518 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19519 * sysdeps/sh/strlen.S: Likewise.
19520 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19521 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19522 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19523 * sysdeps/sparc/sparc32/rem.S: Likewise.
19524 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19525 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19526 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19527 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19528 * sysdeps/sparc/sparc32/urem.S: Likewise.
19529 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19530 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19531 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19532 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19533 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19534 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19535 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19536 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19537 * sysdeps/unix/bsd/times.c: Likewise.
19538 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19539 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19543 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19544 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19545 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19546 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19547 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19548 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19549 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19550 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19551 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19552 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19553 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19554 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19555 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19556 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19557 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19558 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19559 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19560 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19561 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19562 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19563 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19564 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19565 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19566 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19567 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19568 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19569 * sysdeps/x86_64/strcspn.S: Likewise.
19571 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19573 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19574 generated file. Regenerate properly from gen-translit.pl.
19575 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19576 locale/C-translit.h.
19578 2013-06-05 Andreas Schwab <schwab@suse.de>
19581 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19582 week as 6 instead of -1.
19583 * time/tst-strptime.c (day_tests): Add test case.
19585 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19587 * sysdeps/generic/math_private.h
19588 (libc_feholdexcept_setround_53bit): Replace with
19589 libc_feholdsetround_53bit.
19590 (libc_feupdateenv_53bit): Replace with
19591 libc_feresetround_53bit.
19592 (SET_RESTORE_ROUND_53BIT): Adjust.
19594 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19596 * string/test-strchrnul.c: Add copyright header.
19598 * posix/tst-getaddrinfo4.c: Increase test timeout.
19600 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19603 * math/libm-test.inc (MAX_EXP): Remove
19605 (ulp): Use MIN_EXP - MANT_DIG.
19606 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19608 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19610 * po/be.po: Revert last change.
19611 * po/zh_CN.po: Likewise.
19612 * po/header.pot: Likewise.
19614 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19616 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19617 link-libc-deps to empty as target-specific variable.
19618 * Makerules (link-libc-args): New variable.
19619 (libc-for-link): Likewise.
19620 (link-libc-deps): Likewise.
19621 (lib%.so): Depend on $(link-libc-deps). Link with
19623 (build-module): Link with $(link-libc-args).
19624 (build-module-asneeded): Likewise.
19625 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19627 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19628 target-specific variable.
19629 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19630 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19631 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19633 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19635 ($(objpfx)libpcprofile.so): Likewise.
19636 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19638 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19639 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19640 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19642 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19643 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19644 * login/Makefile ($(objpfx)libutil.so): Likewise.
19645 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19646 * math/Makefile ($(objpfx)libm.so): Likewise.
19647 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19648 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19649 variable instead of depending directly on libc.
19650 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19651 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19653 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19655 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19656 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19657 ($(objpfx)libanl.so): Likewise.
19658 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19660 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19662 * sysdeps/i386/fpu/Makefile: Remove file.
19663 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19664 ($(objpfx)libm.so): Remove dependency on ld.so.
19666 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19669 * nis/yp_xdr.c (XDRMAXNAME): Define.
19670 (XDRMAXRECORD): Define.
19671 (xdr_domainname): Use XDRMAXNAME.
19672 (xdr_mapname): Likewise.
19673 (xdr_peername): Likewise.
19674 (xdr_keydat): Use XDRMAXRECORD.
19675 (xdr_valdat): Likewise.
19677 2013-05-30 Jeff Law <law@redhat.com>
19680 * manual/errno.texi (ESTALE): Update to account for more than
19681 just NFS file systems.
19682 * sysdeps/gnu/errlist.c: Regenerated.
19684 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19687 * elf/Makefile (tests): Add tst-null-argv.
19688 (modules-names): Add tst-null-argv-lib.
19689 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19690 (tst-null-argv-ENV): Set environment for tst-null-argv.
19691 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19692 (RTLD_PROGNAME): New macro.
19693 * elf/tst-null-argv.c: New test case.
19694 * elf/tst-null-argv-lib.c: Library for test case.
19695 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19696 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19697 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19698 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19699 * elf/dl-init.c (call_init): Likewise.
19700 (_dl_init): Likewise.
19701 * elf/dl-load.c (print_search_path): Likewise.
19702 (_dl_map_object): Likewise.
19703 * elf/dl-lookup.c (do_lookup_x): Likewise.
19704 (add_dependency): Likewise.
19705 (_dl_lookup_symbol_x): Likewise.
19706 (_dl_debug_bindings): Likewise.
19707 * elf/dl-open.c (_dl_show_scope): Likewise.
19708 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19709 * elf/dl-version.c (match_symbol): Likewise.
19710 (_dl_check_map_versions): Likewise.
19711 * elf/rtld.c (dl_main): Likewise.
19712 (print_unresolved): Use RTLD_PROGNAME.
19713 (print_missing_version): Likewise.
19714 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19715 (elf_machine_rela): Likewise.
19716 * sysdeps/powerpc/powerpc32/dl-machine.c
19717 (__process_machine_rela): Likewise.
19718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19720 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19722 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19724 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19731 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19733 * po/be.po: Add descriptive title.
19734 * po/zh_CN.po: Likewise.
19735 * po/header.pot: Likewise.
19737 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19739 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19741 (enlarge_archive): Likewise.
19743 2013-05-28 Ben North <ben@redfrontdoor.org>
19745 * manual/arith.texi (frexp): It is the magnitude of the return
19746 value which lies in [0.5, 1), not the return value itself.
19748 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19752 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19754 * stdio-common/bug26.c (main): Correct fscanf template.
19756 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19757 declare _dl_skip_args.
19759 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19762 * manual/platform.texi: Add missing @end deftypefun.
19764 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19767 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19768 bit of mantissa of 2^16382.
19769 * math/libm-test.inc (hypot_test_data): Add more tests.
19771 * math/libm-test.inc: Add drem and pow10 to list of tested
19773 (pow10_test): New function.
19774 (drem_test): Likewise.
19775 (drem_test_tonearest): Likewise.
19776 (drem_test_towardzero): Likewise.
19777 (drem_test_downward): Likewise.
19778 (drem_test_upward): Likewise.
19779 (main): Call the new functions.
19781 * math/libm-test.inc (finite_test_data): Remove.
19782 (finite_test): Run tests from isfinite_test_data.
19783 (gamma_test_data): Remove.
19784 (gamma_test): Run tests from lgamma_test_data.
19785 * sysdeps/i386/fpu/libm-test-ulps: Update.
19786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19788 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19790 * manual/platform.texi: Add PowerPC PPR function set documentation.
19791 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19794 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19796 * math/libm-test.inc (MAX_EXP): Define.
19798 (ulp): New function.
19799 (check_float_internal): Use ULPDIFF.
19800 (cpow_test): Disable failing test.
19801 (check_ulp): Test ulp() implemetnation.
19802 (main): Call check_ulp before starting tests.
19804 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19806 * math/gen-libm-test.pl (generate_testfile): Do not handle
19807 START_DATA and END_DATA.
19808 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19810 (acos_tonearest_test_data): Likewise.
19811 (acos_towardzero_test_data): Likewise.
19812 (acos_downward_test_data): Likewise.
19813 (acos_upward_test_data): Likewise.
19814 (acosh_test_data): Likewise.
19815 (asin_test_data): Likewise.
19816 (asin_tonearest_test_data): Likewise.
19817 (asin_towardzero_test_data): Likewise.
19818 (asin_downward_test_data): Likewise.
19819 (asin_upward_test_data): Likewise.
19820 (asinh_test_data): Likewise.
19821 (atan_test_data): Likewise.
19822 (atanh_test_data): Likewise.
19823 (atan2_test_data): Likewise.
19824 (cabs_test_data): Likewise.
19825 (cacos_test_data): Likewise.
19826 (cacosh_test_data): Likewise.
19827 (carg_test_data): Likewise.
19828 (casin_test_data): Likewise.
19829 (casinh_test_data): Likewise.
19830 (catan_test_data): Likewise.
19831 (catanh_test_data): Likewise.
19832 (cbrt_test_data): Likewise.
19833 (ccos_test_data): Likewise.
19834 (ccosh_test_data): Likewise.
19835 (ceil_test_data): Likewise.
19836 (cexp_test_data): Likewise.
19837 (cimag_test_data): Likewise.
19838 (clog_test_data): Likewise.
19839 (clog10_test_data): Likewise.
19840 (conj_test_data): Likewise.
19841 (copysign_test_data): Likewise.
19842 (cos_test_data): Likewise.
19843 (cos_tonearest_test_data): Likewise.
19844 (cos_towardzero_test_data): Likewise.
19845 (cos_downward_test_data): Likewise.
19846 (cos_upward_test_data): Likewise.
19847 (cosh_test_data): Likewise.
19848 (cosh_tonearest_test_data): Likewise.
19849 (cosh_towardzero_test_data): Likewise.
19850 (cosh_downward_test_data): Likewise.
19851 (cosh_upward_test_data): Likewise.
19852 (cpow_test_data): Likewise.
19853 (cproj_test_data): Likewise.
19854 (creal_test_data): Likewise.
19855 (csin_test_data): Likewise.
19856 (csinh_test_data): Likewise.
19857 (csqrt_test_data): Likewise.
19858 (ctan_test_data): Likewise.
19859 (ctan_tonearest_test_data): Likewise.
19860 (ctan_towardzero_test_data): Likewise.
19861 (ctan_downward_test_data): Likewise.
19862 (ctan_upward_test_data): Likewise.
19863 (ctanh_test_data): Likewise.
19864 (ctanh_tonearest_test_data): Likewise.
19865 (ctanh_towardzero_test_data): Likewise.
19866 (ctanh_downward_test_data): Likewise.
19867 (ctanh_upward_test_data): Likewise.
19868 (erf_test_data): Likewise.
19869 (erfc_test_data): Likewise.
19870 (exp_test_data): Likewise.
19871 (exp_tonearest_test_data): Likewise.
19872 (exp_towardzero_test_data): Likewise.
19873 (exp_downward_test_data): Likewise.
19874 (exp_upward_test_data): Likewise.
19875 (exp10_test_data): Likewise.
19876 (exp2_test_data): Likewise.
19877 (expm1_test_data): Likewise.
19878 (fabs_test_data): Likewise.
19879 (fdim_test_data): Likewise.
19880 (finite_test_data): Likewise.
19881 (floor_test_data): Likewise.
19882 (fma_test_data): Likewise.
19883 (fma_towardzero_test_data): Likewise.
19884 (fma_downward_test_data): Likewise.
19885 (fma_upward_test_data): Likewise.
19886 (fmax_test_data): Likewise.
19887 (fmin_test_data): Likewise.
19888 (fmod_test_data): Likewise.
19889 (fpclassify_test_data): Likewise.
19890 (frexp_test_data): Likewise.
19891 (gamma_test_data): Likewise.
19892 (hypot_test_data): Likewise.
19893 (ilogb_test_data): Likewise.
19894 (isfinite_test_data): Likewise.
19895 (isgreater_test_data): Likewise.
19896 (isgreaterequal_test_data): Likewise.
19897 (isinf_test_data): Likewise.
19898 (isless_test_data): Likewise.
19899 (islessequal_test_data): Likewise.
19900 (islessgreater_test_data): Likewise.
19901 (isnan_test_data): Likewise.
19902 (isnormal_test_data): Likewise.
19903 (issignaling_test_data): Likewise.
19904 (isunordered_test_data): Likewise.
19905 (j0_test_data): Likewise.
19906 (j1_test_data): Likewise.
19907 (jn_test_data): Likewise.
19908 (ldexp_test_data): Likewise.
19909 (lgamma_test_data): Likewise.
19910 (lrint_test_data): Likewise.
19911 (lrint_tonearest_test_data): Likewise.
19912 (lrint_towardzero_test_data): Likewise.
19913 (lrint_downward_test_data): Likewise.
19914 (lrint_upward_test_data): Likewise.
19915 (llrint_test_data): Likewise.
19916 (llrint_tonearest_test_data): Likewise.
19917 (llrint_towardzero_test_data): Likewise.
19918 (llrint_downward_test_data): Likewise.
19919 (llrint_upward_test_data): Likewise.
19920 (log_test_data): Likewise.
19921 (log10_test_data): Likewise.
19922 (log1p_test_data): Likewise.
19923 (log2_test_data): Likewise.
19924 (logb_test_data): Likewise.
19925 (logb_downward_test_data): Likewise.
19926 (lround_test_data): Likewise.
19927 (llround_test_data): Likewise.
19928 (modf_test_data): Likewise.
19929 (nearbyint_test_data): Likewise.
19930 (nextafter_test_data): Likewise.
19931 (nexttoward_test_data): Likewise.
19932 (pow_test_data): Likewise.
19933 (pow_tonearest_test_data): Likewise.
19934 (pow_towardzero_test_data): Likewise.
19935 (pow_downward_test_data): Likewise.
19936 (pow_upward_test_data): Likewise.
19937 (remainder_test_data): Likewise.
19938 (remainder_tonearest_test_data): Likewise.
19939 (remainder_towardzero_test_data): Likewise.
19940 (remainder_downward_test_data): Likewise.
19941 (remainder_upward_test_data): Likewise.
19942 (remquo_test_data): Likewise.
19943 (rint_test_data): Likewise.
19944 (rint_tonearest_test_data): Likewise.
19945 (rint_towardzero_test_data): Likewise.
19946 (rint_downward_test_data): Likewise.
19947 (rint_upward_test_data): Likewise.
19948 (round_test_data): Likewise.
19949 (scalb_test_data): Likewise.
19950 (scalbn_test_data): Likewise.
19951 (scalbln_test_data): Likewise.
19952 (signbit_test_data): Likewise.
19953 (sin_test_data): Likewise.
19954 (sin_tonearest_test_data): Likewise.
19955 (sin_towardzero_test_data): Likewise.
19956 (sin_downward_test_data): Likewise.
19957 (sin_upward_test_data): Likewise.
19958 (sincos_test_data): Likewise.
19959 (sinh_test_data): Likewise.
19960 (sinh_tonearest_test_data): Likewise.
19961 (sinh_towardzero_test_data): Likewise.
19962 (sinh_downward_test_data): Likewise.
19963 (sinh_upward_test_data): Likewise.
19964 (sqrt_test_data): Likewise.
19965 (tan_test_data): Likewise.
19966 (tan_tonearest_test_data): Likewise.
19967 (tan_towardzero_test_data): Likewise.
19968 (tan_downward_test_data): Likewise.
19969 (tan_upward_test_data): Likewise.
19970 (tanh_test_data): Likewise.
19971 (tgamma_test_data): Likewise.
19972 (trunc_test_data): Likewise.
19973 (y0_test_data): Likewise.
19974 (y1_test_data): Likewise.
19975 (yn_test_data): Likewise.
19976 (significand_test_data): Likewise.
19978 * math/gen-libm-test.pl (@functions): Remove variable.
19979 (generate_testfile): Don't handle START and END lines.
19980 * math/libm-test.inc (START): New macro.
19982 (END_COMPLEX): Likewise.
19983 (acos_test): Use END macro without arguments.
19984 (acos_test_tonearest): Likewise.
19985 (acos_test_towardzero): Likewise.
19986 (acos_test_downward): Likewise.
19987 (acos_test_upward): Likewise.
19988 (acosh_test): Likewise.
19989 (asin_test): Likewise.
19990 (asin_test_tonearest): Likewise.
19991 (asin_test_towardzero): Likewise.
19992 (asin_test_downward): Likewise.
19993 (asin_test_upward): Likewise.
19994 (asinh_test): Likewise.
19995 (atan_test): Likewise.
19996 (atanh_test): Likewise.
19997 (atan2_test): Likewise.
19998 (cabs_test): Likewise.
19999 (cacos_test): Use END_COMPLEX macro without arguments.
20000 (cacosh_test): Likewise.
20001 (carg_test): Use END macro without arguments.
20002 (casin_test): Use END_COMPLEX macro without arguments.
20003 (casinh_test): Likewise.
20004 (catan_test): Likewise.
20005 (catanh_test): Likewise.
20006 (cbrt_test): Use END macro without arguments.
20007 (ccos_test): Use END_COMPLEX macro without arguments.
20008 (ccosh_test): Likewise.
20009 (ceil_test): Use END macro without arguments.
20010 (cexp_test): Use END_COMPLEX macro without arguments.
20011 (cimag_test): Use END macro without arguments.
20012 (clog_test): Use END_COMPLEX macro without arguments.
20013 (clog10_test): Likewise.
20014 (conj_test): Likewise.
20015 (copysign_test): Use END macro without arguments.
20016 (cos_test): Likewise.
20017 (cos_test_tonearest): Likewise.
20018 (cos_test_towardzero): Likewise.
20019 (cos_test_downward): Likewise.
20020 (cos_test_upward): Likewise.
20021 (cosh_test): Likewise.
20022 (cosh_test_tonearest): Likewise.
20023 (cosh_test_towardzero): Likewise.
20024 (cosh_test_downward): Likewise.
20025 (cosh_test_upward): Likewise.
20026 (cpow_test): Use END_COMPLEX macro without arguments.
20027 (cproj_test): Likewise.
20028 (creal_test): Use END macro without arguments.
20029 (csin_test): Use END_COMPLEX macro without arguments.
20030 (csinh_test): Likewise.
20031 (csqrt_test): Likewise.
20032 (ctan_test): Likewise.
20033 (ctan_test_tonearest): Likewise.
20034 (ctan_test_towardzero): Likewise.
20035 (ctan_test_downward): Likewise.
20036 (ctan_test_upward): Likewise.
20037 (ctanh_test): Likewise.
20038 (ctanh_test_tonearest): Likewise.
20039 (ctanh_test_towardzero): Likewise.
20040 (ctanh_test_downward): Likewise.
20041 (ctanh_test_upward): Likewise.
20042 (erf_test): Use END macro without arguments.
20043 (erfc_test): Likewise.
20044 (exp_test): Likewise.
20045 (exp_test_tonearest): Likewise.
20046 (exp_test_towardzero): Likewise.
20047 (exp_test_downward): Likewise.
20048 (exp_test_upward): Likewise.
20049 (exp10_test): Likewise.
20050 (exp2_test): Likewise.
20051 (expm1_test): Likewise.
20052 (fabs_test): Likewise.
20053 (fdim_test): Likewise.
20054 (finite_test): Likewise.
20055 (floor_test): Likewise.
20056 (fma_test): Likewise.
20057 (fma_test_towardzero): Likewise.
20058 (fma_test_downward): Likewise.
20059 (fma_test_upward): Likewise.
20060 (fmax_test): Likewise.
20061 (fmin_test): Likewise.
20062 (fmod_test): Likewise.
20063 (fpclassify_test): Likewise.
20064 (frexp_test): Likewise.
20065 (gamma_test): Likewise.
20066 (hypot_test): Likewise.
20067 (ilogb_test): Likewise.
20068 (isfinite_test): Likewise.
20069 (isgreater_test): Likewise.
20070 (isgreaterequal_test): Likewise.
20071 (isinf_test): Likewise.
20072 (isless_test): Likewise.
20073 (islessequal_test): Likewise.
20074 (islessgreater_test): Likewise.
20075 (isnan_test): Likewise.
20076 (isnormal_test): Likewise.
20077 (issignaling_test): Likewise.
20078 (isunordered_test): Likewise.
20079 (j0_test): Likewise.
20080 (j1_test): Likewise.
20081 (jn_test): Likewise.
20082 (ldexp_test): Likewise.
20083 (lgamma_test): Likewise.
20084 (lrint_test): Likewise.
20085 (lrint_test_tonearest): Likewise.
20086 (lrint_test_towardzero): Likewise.
20087 (lrint_test_downward): Likewise.
20088 (lrint_test_upward): Likewise.
20089 (llrint_test): Likewise.
20090 (llrint_test_tonearest): Likewise.
20091 (llrint_test_towardzero): Likewise.
20092 (llrint_test_downward): Likewise.
20093 (llrint_test_upward): Likewise.
20094 (log_test): Likewise.
20095 (log10_test): Likewise.
20096 (log1p_test): Likewise.
20097 (log2_test): Likewise.
20098 (logb_test): Likewise.
20099 (logb_test_downward): Likewise.
20100 (lround_test): Likewise.
20101 (llround_test): Likewise.
20102 (modf_test): Likewise.
20103 (nearbyint_test): Likewise.
20104 (nextafter_test): Likewise.
20105 (nexttoward_test): Likewise.
20106 (pow_test): Likewise.
20107 (pow_test_tonearest): Likewise.
20108 (pow_test_towardzero): Likewise.
20109 (pow_test_downward): Likewise.
20110 (pow_test_upward): Likewise.
20111 (remainder_test): Likewise.
20112 (remainder_test_tonearest): Likewise.
20113 (remainder_test_towardzero): Likewise.
20114 (remainder_test_downward): Likewise.
20115 (remainder_test_upward): Likewise.
20116 (remquo_test): Likewise.
20117 (rint_test): Likewise.
20118 (rint_test_tonearest): Likewise.
20119 (rint_test_towardzero): Likewise.
20120 (rint_test_downward): Likewise.
20121 (rint_test_upward): Likewise.
20122 (round_test): Likewise.
20123 (scalb_test): Likewise.
20124 (scalbn_test): Likewise.
20125 (scalbln_test): Likewise.
20126 (signbit_test): Likewise.
20127 (sin_test): Likewise.
20128 (sin_test_tonearest): Likewise.
20129 (sin_test_towardzero): Likewise.
20130 (sin_test_downward): Likewise.
20131 (sin_test_upward): Likewise.
20132 (sincos_test): Likewise.
20133 (sinh_test): Likewise.
20134 (sinh_test_tonearest): Likewise.
20135 (sinh_test_towardzero): Likewise.
20136 (sinh_test_downward): Likewise.
20137 (sinh_test_upward): Likewise.
20138 (sqrt_test): Likewise.
20139 (tan_test): Likewise.
20140 (tan_test_tonearest): Likewise.
20141 (tan_test_towardzero): Likewise.
20142 (tan_test_downward): Likewise.
20143 (tan_test_upward): Likewise.
20144 (tanh_test): Likewise.
20145 (tgamma_test): Likewise.
20146 (trunc_test): Likewise.
20147 (y0_test): Likewise.
20148 (y1_test): Likewise.
20149 (yn_test): Likewise.
20150 (significand_test): Likewise.
20152 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20155 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20157 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20160 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20161 __ppc_mdoio and __ppc_mdoom.
20162 * manual/platform.texi: Document new functions __ppc_yield,
20163 __ppc_mdoio and __ppc_mdoom.
20165 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20167 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20168 (main): Mention "tls" pseudo-hwcap is legacy.
20169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20171 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20173 * math/gen-libm-test.pl (parse_args): Output only string of
20174 arguments as text for test name, not full call or descriptions of
20175 tests for extra outputs.
20176 (generate_testfile): Do not pass function name to parse_args.
20177 Generate this_func variable from START.
20178 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20180 (struct test_ff_f_data): Likewise.
20181 (test_ff_f_data_nexttoward): Likewise.
20182 (struct test_fi_f_data): Likewise.
20183 (struct test_fl_f_data): Likewise.
20184 (struct test_if_f_data): Likewise.
20185 (struct test_fff_f_data): Likewise.
20186 (struct test_c_f_data): Likewise.
20187 (struct test_f_f1_data): Likewise. Remove field extra_name.
20188 (struct test_fF_f1_data): Likewise.
20189 (struct test_ffI_f1_data): Likewise.
20190 (struct test_c_c_data): Rename test_name field to arg_str.
20191 (struct test_cc_c_data): Likewise.
20192 (struct test_f_i_data): Likewise.
20193 (struct test_ff_i_data): Likewise.
20194 (struct test_f_l_data): Likewise.
20195 (struct test_f_L_data): Likewise.
20196 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20198 (COMMON_TEST_SETUP): New macro.
20199 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20200 (COMMON_TEST_CLEANUP): Likewise.
20201 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20202 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20204 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20205 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20207 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20208 (RUN_TEST_fff_f): Take argument string. Call new setup and
20210 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20211 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20213 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20214 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20216 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20217 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20219 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20220 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20222 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20223 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20225 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20226 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20228 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20229 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20231 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20232 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20234 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20235 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20237 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20238 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20240 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20241 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20243 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20244 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20246 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20247 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20249 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20250 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20252 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20253 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20255 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20257 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20259 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20260 to _sifields.sigfault.
20261 (si_addr_lsb): Define new macro.
20262 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20264 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20266 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20269 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20271 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20273 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20274 loading the domain.
20276 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20278 * math/gen-libm-test.pl (parse_args): Do not include expected
20279 result in test name.
20280 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20282 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20283 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20284 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20287 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20289 * benchtests/Makefile: Sort function entries.
20291 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20292 tanh, asinh, acosh, atanh.
20293 * benchtests/acos-inputs: New file.
20294 * benchtests/acosh-inputs: New file.
20295 * benchtests/asin-inputs: New file.
20296 * benchtests/asinh-inputs: New file.
20297 * benchtests/atanh-inputs: New file.
20298 * benchtests/cosh-inputs: New file.
20299 * benchtests/log-inputs: New file.
20300 * benchtests/sinh-inputs: New file.
20301 * benchtests/tanh-inputs: New file.
20303 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20306 * posix/tst-getaddrinfo4.c: New test.
20307 * posix/Makefile (tests): Add it.
20309 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20312 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20313 when no services were used.
20314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20315 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20317 2013-05-21 Andreas Schwab <schwab@suse.de>
20320 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20321 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20323 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20324 redundant variable declarations and reallocation of buffer when
20325 parsing as IPv6 address. Always set NSS status when called from
20326 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20327 buffer too small. Correct computation of needed size.
20328 * nss/Makefile (tests): Add test-digits-dots.
20329 * nss/test-digits-dots.c: New test.
20331 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20333 * benchtests/Makefile: Remove instructions for adding
20335 * benchtests/README: New file to explain how to execute and
20336 enhance the benchmark tests.
20338 2013-05-21 Andreas Schwab <schwab@suse.de>
20341 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20342 * setjmp/tst-sigsetjmp.c: New test.
20344 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20346 * sysdeps/x86_64/memset.S (memset): New implementation.
20347 (__bzero): Likewise.
20348 (__memset_tail): New function.
20350 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20352 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20353 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20354 __memcpy_sse2_unaligned ifunc selection.
20355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20356 Add memcpy-sse2-unaligned.S.
20357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20358 Add: __memcpy_sse2_unaligned.
20360 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20363 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20364 math_force_eval before restoring floating-point envrionment.
20365 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20366 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20368 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20370 (__nearbyintl): Use math_force_eval before restoring
20371 floating-point environment.
20372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20374 * math/gen-libm-test.pl (special_functions): Remove.
20375 (parse_args): Don't handle TEST_extra. Handle functions with no
20377 * math/libm-test.inc (struct test_sincos_data): Replace with
20378 struct test_fFF_11_data.
20379 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20380 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20381 (sincos_test_data): Change element type to struct
20382 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20383 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20384 RUN_TEST_LOOP_sincos.
20385 * math/README.libm-test: Don't mention special handling of
20386 individual functions.
20387 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20389 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20390 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20391 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20394 * math/gen-libm-test.pl (get_variable): Remove function.
20395 (parse_args): Don't show pointer parameters to call in test
20396 names. Use "extra output N" in test names for extra outputs
20397 rather than naming variables.
20399 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20402 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20403 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20404 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20406 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20408 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20411 * math/gen-libm-test.pl (@tests): Remove variable.
20412 ($count): Likewise.
20413 (new_test): Remove function.
20414 (show_exceptions): New function.
20415 (special_functions): Use show_exceptions instead of new_test.
20416 (parse_args): Likewise.
20417 (generate_testfile): Pass only function name in generated call to
20418 print_max_error or print_complex_max_error.
20419 (get_ulps): Do not handle complex tests specially.
20420 (output_test): Rename to ...
20421 (get_all_ulps_for_test): ... this. Return a string rather than
20422 printing to a file. Require ulps to be present.
20423 (output_ulps): Generate arrays rather than #defines.
20424 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20425 (struct ulp_data): New type.
20426 (BUILD_COMPLEX_ULP): Remove macro.
20427 (compare_ulp_data): New function.
20428 (find_ulps): Likewise.
20429 (find_test_ulps): Likewise.
20430 (find_function_ulps): Likewise.
20431 (find_complex_function_ulps): Likewise.
20432 (print_max_error): Determine allowed ulps using
20433 find_function_ulps.
20434 (print_complex_max_error): Determine allowed ulps using
20435 find_complex_function_ulps.
20436 (check_float_internal): Determine max ulps using find_test_ulps.
20437 (check_float): Do not take max_ulp parameter. Update call to
20438 check_float_internal.
20439 (check_complex): Likewise.
20440 (check_int): Do not take max_ulp parameter.
20441 (check_long): Likewise.
20442 (check_bool): Likewise.
20443 (check_longlong): Likewise.
20444 (struct test_f_f_data): Remove max_ulp field.
20445 (struct test_ff_f_data): Likewise.
20446 (struct test_ff_f_data_nexttoward): Likewise.
20447 (struct test_fi_f_data): Likewise.
20448 (struct test_fl_f_data): Likewise.
20449 (struct test_if_f_data): Likewise.
20450 (struct test_fff_f_data): Likewise.
20451 (struct test_c_f_data): Likewise.
20452 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20453 (struct test_fF_f1_data): Likewise.
20454 (struct test_ffI_f1_data): Likewise.
20455 (struct test_c_c_data): Remove max_ulp field.
20456 (struct test_cc_c_data): Likewise.
20457 (struct test_f_i_data): Likewise.
20458 (struct test_ff_i_data): Likewise.
20459 (struct test_f_l_data): Likewise.
20460 (struct test_f_L_data): Likewise.
20461 (struct test_sincos_data): Likewise.
20462 (RUN_TEST_f_f): Do not handle ulps.
20463 (RUN_TEST_LOOP_f_f): Likewise.
20464 (RUN_TEST_2_f): Likewise.
20465 (RUN_TEST_LOOP_2_f): Likewise.
20466 (RUN_TEST_fff_f): Likewise.
20467 (RUN_TEST_LOOP_fff_f): Likewise.
20468 (RUN_TEST_c_f): Likewise.
20469 (RUN_TEST_LOOP_c_f): Likewise.
20470 (RUN_TEST_f_f1): Likewise.
20471 (RUN_TEST_LOOP_f_f1): Likewise.
20472 (RUN_TEST_fF_f1): Likewise.
20473 (RUN_TEST_LOOP_fF_f1): Likewise.
20474 (RUN_TEST_fI_f1): Likewise.
20475 (RUN_TEST_LOOP_fI_f1): Likewise.
20476 (RUN_TEST_ffI_f1): Likewise.
20477 (RUN_TEST_LOOP_ffI_f1): Likewise.
20478 (RUN_TEST_c_c): Likewise.
20479 (RUN_TEST_LOOP_c_c): Likewise.
20480 (RUN_TEST_cc_c): Likewise.
20481 (RUN_TEST_LOOP_cc_c): Likewise.
20482 (RUN_TEST_f_i): Likewise.
20483 (RUN_TEST_LOOP_f_i): Likewise.
20484 (RUN_TEST_f_i_tg): Likewise.
20485 (RUN_TEST_LOOP_f_i_tg): Likewise.
20486 (RUN_TEST_ff_i_tg): Likewise.
20487 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20488 (RUN_TEST_f_b): Likewise.
20489 (RUN_TEST_LOOP_f_b): Likewise.
20490 (RUN_TEST_f_b_tg): Likewise.
20491 (RUN_TEST_LOOP_f_b_tg): Likewise.
20492 (RUN_TEST_f_l): Likewise.
20493 (RUN_TEST_LOOP_f_l): Likewise.
20494 (RUN_TEST_f_L): Likewise.
20495 (RUN_TEST_LOOP_f_L): Likewise.
20496 (RUN_TEST_sincos): Likewise.
20497 (RUN_TEST_LOOP_sincos): Likewise.
20499 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20503 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20504 main case of finite arguments, set rounding mode to FE_TONEAREST
20505 and discard exceptions.
20506 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20508 (remainder_tonearest_test_data): New variable.
20509 (remainder_test_tonearest): New function.
20510 (remainder_towardzero_test_data): New variable.
20511 (remainder_test_towardzero): New function.
20512 (remainder_downward_test_data): New variable.
20513 (remainder_test_downward): New function.
20514 (remainder_upward_test_data): New variable.
20515 (remainder_test_upward): New function.
20516 (main): Call the new test functions.
20518 * math/libm-test.inc (struct test_f_f1_data): Remove field
20520 (struct test_fF_f1_data): Likewise.
20521 (struct test_ffI_f1_data): Likewise.
20522 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20523 based on value of EXTRA_EXPECTED.
20524 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20525 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20526 EXTRA_VAR based on value of EXTRA_EXPECTED.
20527 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20528 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20529 EXTRA_VAR based on value of EXTRA_EXPECTED.
20530 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20531 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20532 EXTRA_VAR based on value of EXTRA_EXPECTED.
20533 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20534 * math/gen-libm-test.pl (parse_args): Don't output initializers
20535 for extra output values.
20537 * math/libm-test.inc (check_int): Expect result to be exactly
20538 equal to expected value and do not handle ulps.
20539 (check_long): Likewise.
20540 (check_longlong): Likewise.
20542 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20544 (cimag_test_data): Likewise.
20545 (conj_test_data): Likewise.
20546 (copysign_test_data): Likewise.
20547 (cproj_test_data): Likewise.
20548 (creal_test_data): Likewise.
20549 (fabs_test_data): Likewise.
20550 (fdim_test_data): Likewise.
20551 (finite_test_data): Likewise.
20552 (floor_test_data): Likewise.
20553 (fmax_test_data): Likewise.
20554 (fmin_test_data): Likewise.
20555 (fmod_test_data): Likewise.
20556 (fpclassify_test_data): Likewise.
20557 (frexp_test_data): Likewise.
20558 (ilogb_test_data): Likewise.
20559 (isfinite_test_data): Likewise.
20560 (isgreater_test_data): Likewise.
20561 (isgreaterequal_test_data): Likewise.
20562 (isinf_test_data): Likewise.
20563 (isless_test_data): Likewise.
20564 (islessequal_test_data): Likewise.
20565 (islessgreater_test_data): Likewise.
20566 (isnan_test_data): Likewise.
20567 (isnormal_test_data): Likewise.
20568 (issignaling_test_data): Likewise.
20569 (isunordered_test_data): Likewise.
20570 (ldexp_test_data): Likewise.
20571 (lrint_test_data): Likewise.
20572 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20573 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20574 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20575 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20576 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20577 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20579 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20580 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20581 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20582 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20584 (lrint_downward_test_data): Test for "inexact" exceptions.
20585 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20586 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20587 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20589 (lrint_upward_test_data): Test for "inexact" exceptions.
20590 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20592 (llrint_test_data): Test for "inexact" exceptions.
20593 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20594 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20595 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20596 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20597 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20598 (llrint_downward_test_data): Test for "inexact" exceptions.
20599 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20600 (llrint_upward_test_data): Test for "inexact" exceptions.
20601 (logb_test_data): Likewise.
20602 (logb_downward_test_data): Likewise.
20603 (nextafter_test_data): Likewise.
20604 (nexttoward_test_data): Likewise.
20605 (remainder_test_data): Likewise.
20606 (remquo_test_data): Likewise.
20607 (scalbn_test_data): Likewise.
20608 (scalbln_test_data): Likewise.
20609 (signbit_test_data): Likewise.
20610 (sqrt_test_data): Likewise.
20611 (significand_test_data): Likewise.
20613 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20616 * benchtests/bench-modf.c (struct args): Mark arg0 as
20618 * scripts/bench.pl: Mark members of struct args as volatile.
20620 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20623 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20624 negative infinity on POWER6 or lower.
20625 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20627 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20630 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20631 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20632 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20633 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20634 (_FP_SETQNAN): New macro.
20635 (_FP_SETQNAN_SEMIRAW): Likewise.
20636 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20637 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20638 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20639 (FP_EXTEND): Use _FP_FRAC_SNANP.
20640 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20641 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20643 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20645 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20648 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20650 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20651 with DIVIDE_BY_ZERO_EXCEPTION.
20652 (gamma_test_data): Likewise.
20653 (lgamma_test_data): Likewise.
20654 (log_test_data): Likewise.
20655 (log10_test_data): Likewise.
20656 (log2_test_data): Likewise.
20657 (tgamma_test_data): Likewise.
20659 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20660 (acos_test_tonearest): Likewise.
20661 (acos_test_towardzero): Likewise.
20662 (acos_test_downward): Likewise.
20663 (acos_test_upward): Likewise.
20664 (acosh_test): Likewise.
20665 (asin_test): Likewise.
20666 (asin_test_tonearest): Likewise.
20667 (asin_test_towardzero): Likewise.
20668 (asin_test_downward): Likewise.
20669 (asin_test_upward): Likewise.
20670 (asinh_test): Likewise.
20671 (atan_test): Likewise.
20672 (atanh_test): Likewise.
20673 (atan2_test): Likewise.
20674 (cabs_test): Likewise.
20675 (cacos_test): Likewise.
20676 (cacosh_test): Likewise.
20677 (casin_test): Likewise.
20678 (casinh_test): Likewise.
20679 (catan_test): Likewise.
20680 (catanh_test): Likewise.
20681 (cbrt_test): Likewise.
20682 (ccos_test): Likewise.
20683 (ccosh_test): Likewise.
20684 (cexp_test): Likewise.
20685 (clog_test): Likewise.
20686 (clog10_test): Likewise.
20687 (cos_test): Likewise.
20688 (cos_test_tonearest): Likewise.
20689 (cos_test_towardzero): Likewise.
20690 (cos_test_downward): Likewise.
20691 (cos_test_upward): Likewise.
20692 (cosh_test): Likewise.
20693 (cosh_test_tonearest): Likewise.
20694 (cosh_test_towardzero): Likewise.
20695 (cosh_test_downward): Likewise.
20696 (cosh_test_upward): Likewise.
20697 (cpow_test): Likewise.
20698 (csin_test): Likewise.
20699 (csinh_test): Likewise.
20700 (csqrt_test): Likewise.
20701 (ctan_test): Likewise.
20702 (ctan_test_tonearest): Likewise.
20703 (ctan_test_towardzero): Likewise.
20704 (ctan_test_downward): Likewise.
20705 (ctan_test_upward): Likewise.
20706 (ctanh_test): Likewise.
20707 (ctanh_test_tonearest): Likewise.
20708 (ctanh_test_towardzero): Likewise.
20709 (ctanh_test_downward): Likewise.
20710 (ctanh_test_upward): Likewise.
20711 (erf_test): Likewise.
20712 (erfc_test): Likewise.
20713 (exp_test): Likewise.
20714 (exp_test_tonearest): Likewise.
20715 (exp_test_towardzero): Likewise.
20716 (exp_test_downward): Likewise.
20717 (exp_test_upward): Likewise.
20718 (exp10_test): Likewise.
20719 (exp2_test): Likewise.
20720 (expm1_test): Likewise.
20721 (fmod_test): Likewise.
20722 (gamma_test): Likewise.
20723 (hypot_test): Likewise.
20724 (j0_test): Likewise.
20725 (j1_test): Likewise.
20726 (jn_test): Likewise.
20727 (lgamma_test): Likewise.
20728 (log_test): Likewise.
20729 (log10_test): Likewise.
20730 (log1p_test): Likewise.
20731 (log2_test): Likewise.
20732 (logb_test_downward): Likewise.
20733 (pow_test): Likewise.
20734 (pow_test_tonearest): Likewise.
20735 (pow_test_towardzero): Likewise.
20736 (pow_test_downward): Likewise.
20737 (pow_test_upward): Likewise.
20738 (remainder_test): Likewise.
20739 (remquo_test): Likewise.
20740 (sin_test): Likewise.
20741 (sin_test_tonearest): Likewise.
20742 (sin_test_towardzero): Likewise.
20743 (sin_test_downward): Likewise.
20744 (sin_test_upward): Likewise.
20745 (sincos_test): Likewise.
20746 (sinh_test): Likewise.
20747 (sinh_test_tonearest): Likewise.
20748 (sinh_test_towardzero): Likewise.
20749 (sinh_test_downward): Likewise.
20750 (sinh_test_upward): Likewise.
20751 (sqrt_test): Likewise.
20752 (tan_test): Likewise.
20753 (tan_test_tonearest): Likewise.
20754 (tan_test_towardzero): Likewise.
20755 (tan_test_downward): Likewise.
20756 (tan_test_upward): Likewise.
20757 (tanh_test): Likewise.
20758 (tgamma_test): Likewise.
20759 (y0_test): Likewise.
20760 (y1_test): Likewise.
20761 (yn_test): Likewise.
20763 * math/gen-libm-test.pl (adjust_arg): Remove function.
20764 (special_function): Remove argument $in_func. Only handle
20765 generating output for tables of tests, not inside functions.
20766 (parse_args): Likewise.
20767 (generate_testfile): Remove variable $in_func. Update call to
20769 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20770 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20771 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20772 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20773 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20774 (MAX_VALUE_INIT): Rename macro to max_value.
20775 (MIN_VALUE_INIT): Rename macro to min_value.
20776 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20777 (plus_zero): Remove variable.
20778 (minus_zero): Likewise.
20779 (plus_infty): Likewise.
20780 (minus_infty): Likewise.
20781 (qnan_value): Likewise.
20782 (max_value): Likewise.
20783 (min_value): Likewise.
20784 (min_subnorm_value): Likewise.
20786 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20788 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20789 uint64_t or uint32_t usage.
20790 * crypt/sha256-block.c: Likewise.
20791 * crypt/sha256-crypt.c: Likewise.
20792 * crypt/sha256.c: Likewise.
20793 * crypt/sha512-block.c: Likewise.
20794 * crypt/sha512-crypt.c: Likewise.
20795 * crypt/sha512.c: Likewise.
20796 * debug/backtrace-tst.c: Likewise.
20797 * debug/pcprofiledump.c: Likewise.
20798 * elf/cache.c: Likewise.
20799 * elf/dl-cache.c: Likewise.
20800 * elf/dl-misc.c: Likewise.
20801 * elf/dl-profile.c: Likewise.
20802 * elf/dl-support.c: Likewise.
20803 * elf/ldconfig.c: Likewise.
20804 * elf/sprof.c: Likewise.
20805 * iconv/dummy-repertoire.c: Likewise.
20806 * iconv/iconv_charmap.c: Likewise.
20807 * iconv/skeleton.c: Likewise.
20808 * iconvdata/8bit-generic.c: Likewise.
20809 * iconvdata/cp737.h: Likewise.
20810 * iconvdata/cp775.h: Likewise.
20811 * iconvdata/ibm1008.h: Likewise.
20812 * iconvdata/ibm1025.h: Likewise.
20813 * iconvdata/ibm1046.h: Likewise.
20814 * iconvdata/ibm1097.h: Likewise.
20815 * iconvdata/ibm1112.h: Likewise.
20816 * iconvdata/ibm1122.h: Likewise.
20817 * iconvdata/ibm1123.h: Likewise.
20818 * iconvdata/ibm1124.h: Likewise.
20819 * iconvdata/ibm1129.h: Likewise.
20820 * iconvdata/ibm1130.h: Likewise.
20821 * iconvdata/ibm1132.h: Likewise.
20822 * iconvdata/ibm1133.h: Likewise.
20823 * iconvdata/ibm1137.h: Likewise.
20824 * iconvdata/ibm1140.h: Likewise.
20825 * iconvdata/ibm1141.h: Likewise.
20826 * iconvdata/ibm1142.h: Likewise.
20827 * iconvdata/ibm1143.h: Likewise.
20828 * iconvdata/ibm1144.h: Likewise.
20829 * iconvdata/ibm1145.h: Likewise.
20830 * iconvdata/ibm1146.h: Likewise.
20831 * iconvdata/ibm1147.h: Likewise.
20832 * iconvdata/ibm1148.h: Likewise.
20833 * iconvdata/ibm1149.h: Likewise.
20834 * iconvdata/ibm1153.h: Likewise.
20835 * iconvdata/ibm1154.h: Likewise.
20836 * iconvdata/ibm1155.h: Likewise.
20837 * iconvdata/ibm1156.h: Likewise.
20838 * iconvdata/ibm1157.h: Likewise.
20839 * iconvdata/ibm1158.h: Likewise.
20840 * iconvdata/ibm1160.h: Likewise.
20841 * iconvdata/ibm1161.h: Likewise.
20842 * iconvdata/ibm1162.h: Likewise.
20843 * iconvdata/ibm1163.h: Likewise.
20844 * iconvdata/ibm1164.h: Likewise.
20845 * iconvdata/ibm1166.h: Likewise.
20846 * iconvdata/ibm1167.h: Likewise.
20847 * iconvdata/ibm12712.h: Likewise.
20848 * iconvdata/ibm1390.h: Likewise.
20849 * iconvdata/ibm1399.h: Likewise.
20850 * iconvdata/ibm16804.h: Likewise.
20851 * iconvdata/ibm4517.h: Likewise.
20852 * iconvdata/ibm4899.h: Likewise.
20853 * iconvdata/ibm4909.h: Likewise.
20854 * iconvdata/ibm4971.h: Likewise.
20855 * iconvdata/ibm5347.h: Likewise.
20856 * iconvdata/ibm803.h: Likewise.
20857 * iconvdata/ibm856.h: Likewise.
20858 * iconvdata/ibm901.h: Likewise.
20859 * iconvdata/ibm902.h: Likewise.
20860 * iconvdata/ibm9030.h: Likewise.
20861 * iconvdata/ibm9066.h: Likewise.
20862 * iconvdata/ibm921.h: Likewise.
20863 * iconvdata/ibm922.h: Likewise.
20864 * iconvdata/ibm9448.h: Likewise.
20865 * iconvdata/isiri-3342.h: Likewise.
20866 * iconvdata/jis0201.h: Likewise.
20867 * include/link.h: Likewise.
20868 * include/netdb.h: Likewise.
20869 * inet/check_native.c: Likewise.
20870 * inet/check_pf.c: Likewise.
20871 * inet/getipv4sourcefilter.c: Likewise.
20872 * inet/getnameinfo.c: Likewise.
20873 * inet/getsourcefilter.c: Likewise.
20874 * inet/htonl.c: Likewise.
20875 * inet/setipv4sourcefilter.c: Likewise.
20876 * inet/setsourcefilter.c: Likewise.
20877 * inet/test-inet6_opt.c: Likewise.
20878 * inet/tst-network.c: Likewise.
20879 * locale/C-collate.c: Likewise.
20880 * locale/C-ctype.c: Likewise.
20881 * locale/C-time.c: Likewise.
20882 * locale/C-translit.h: Likewise.
20883 * locale/loadarchive.c: Likewise.
20884 * locale/programs/3level.h: Likewise.
20885 * locale/programs/charmap.c: Likewise.
20886 * locale/programs/charmap.h: Likewise.
20887 * locale/programs/ld-address.c: Likewise.
20888 * locale/programs/ld-collate.c: Likewise.
20889 * locale/programs/ld-ctype.c: Likewise.
20890 * locale/programs/ld-identification.c: Likewise.
20891 * locale/programs/ld-measurement.c: Likewise.
20892 * locale/programs/ld-messages.c: Likewise.
20893 * locale/programs/ld-monetary.c: Likewise.
20894 * locale/programs/ld-name.c: Likewise.
20895 * locale/programs/ld-numeric.c: Likewise.
20896 * locale/programs/ld-paper.c: Likewise.
20897 * locale/programs/ld-telephone.c: Likewise.
20898 * locale/programs/ld-time.c: Likewise.
20899 * locale/programs/linereader.c: Likewise.
20900 * locale/programs/locale.c: Likewise.
20901 * locale/programs/locarchive.c: Likewise.
20902 * locale/programs/locfile.h: Likewise.
20903 * locale/programs/repertoire.c: Likewise.
20904 * locale/programs/simple-hash.c: Likewise.
20905 * locale/programs/simple-hash.h: Likewise.
20906 * malloc/memusage.c: Likewise.
20907 * malloc/memusagestat.c: Likewise.
20908 * nis/nis_defaults.c: Likewise.
20909 * nis/nis_hash.c: Likewise.
20910 * nis/nis_print.c: Likewise.
20911 * nis/nis_xdr.c: Likewise.
20912 * nscd/connections.c: Likewise.
20913 * nscd/hstcache.c: Likewise.
20914 * nscd/nscd_gethst_r.c: Likewise.
20915 * nscd/nscd_getserv_r.c: Likewise.
20916 * nscd/nscd_helper.c: Likewise.
20917 * nscd/servicescache.c: Likewise.
20918 * nss/makedb.c: Likewise.
20919 * nss/nss_db/db-XXX.c: Likewise.
20920 * nss/nss_db/db-initgroups.c: Likewise.
20921 * nss/nss_db/db-netgrp.c: Likewise.
20922 * nss/nss_files/files-network.c: Likewise.
20923 * nss/nss_files/files-parse.c: Likewise.
20924 * posix/bug-regex5.c: Likewise.
20925 * posix/fnmatch_loop.c: Likewise.
20926 * posix/regcomp.c: Likewise.
20927 * posix/regexec.c: Likewise.
20928 * posix/tst-rfc3484-2.c: Likewise.
20929 * posix/tst-rfc3484-3.c: Likewise.
20930 * posix/tst-rfc3484.c: Likewise.
20931 * resolv/nss_dns/dns-canon.c: Likewise.
20932 * resolv/nss_dns/dns-network.c: Likewise.
20933 * resolv/res_init.c: Likewise.
20934 * resolv/res_mkquery.c: Likewise.
20935 * resolv/tst-aton.c: Likewise.
20936 * stdlib/cxa_atexit.c: Likewise.
20937 * stdlib/cxa_finalize.c: Likewise.
20938 * stdlib/gen-fpioconst.c: Likewise.
20939 * stdlib/strtol_l.c: Likewise.
20940 * string/tst-endian.c: Likewise.
20941 * sunrpc/auth_des.c: Likewise.
20942 * sunrpc/clnt_udp.c: Likewise.
20943 * sunrpc/rtime.c: Likewise.
20944 * sunrpc/svcauth_des.c: Likewise.
20945 * sunrpc/xdr.c: Likewise.
20946 * sunrpc/xdr_intXX_t.c: Likewise.
20947 * sunrpc/xdr_rec.c: Likewise.
20948 * sysdeps/generic/ldconfig.h: Likewise.
20949 * sysdeps/generic/ldsodefs.h: Likewise.
20950 * sysdeps/generic/memusage.h: Likewise.
20951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20954 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20961 * sysdeps/posix/getaddrinfo.c: Likewise.
20962 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20963 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20964 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20965 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20966 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20967 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20968 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20969 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20970 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20971 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20972 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20973 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20974 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20975 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20976 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20977 * sysdeps/x86_64/dl-tls.h: Likewise.
20978 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20979 * time/alt_digit.c: Likewise.
20980 * time/era.c: Likewise.
20981 * wcsmbs/tst-c16c32-1.c: Likewise.
20983 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20985 * math/libm-test.inc (struct test_sincos_data): New type.
20986 (RUN_TEST_LOOP_sincos): New macro.
20987 (sincos_test_data): New variable.
20988 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20990 2013-05-16 Richard Henderson <rth@redhat.com>
20992 * math/atest-exp2.c (LIMB64): New macro.
20993 (CONSTSZ): New macro.
20994 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20996 (print_mpn_fp): ... to function scope.
20997 (read_mpn_hex): Remove.
20998 (get_log2): Remove.
20999 (exp2_mpn): Use mp_log2.
21000 (main): Use mp_exp1.
21002 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21004 * math/libm-test.inc: Remove comment about not testing "inexact"
21006 (INEXACT_EXCEPTION): New macro.
21007 (NO_INEXACT_EXCEPTION): Likewise.
21008 (INVALID_EXCEPTION_OK): Update value.
21009 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21010 (OVERFLOW_EXCEPTION_OK): Likewise.
21011 (UNDERFLOW_EXCEPTION_OK): Likewise.
21012 (IGNORE_ZERO_INF_SIGN): Likewise.
21013 (ERRNO_UNCHANGED): Likewise.
21014 (ERRNO_EDOM): Likewise.
21015 (ERRNO_ERANGE): Likewise.
21016 (test_exceptions): Handle testing "inexact" exceptions.
21017 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21018 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21019 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21020 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21022 (rint_towardzero_test_data): Likewise.
21023 (rint_downward_test_data): Likewise.
21024 (rint_upward_test_data): Likewise.
21026 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21027 with OVERFLOW_EXCEPTION.
21028 (exp10_test_data): Likewise.
21029 (exp2_test_data): Likewise.
21030 (expm1_test_data): Likewise.
21031 (lgamma_test_data): Likewise.
21032 (pow_test_data): Likewise.
21033 (tgamma_test_data): Likewise.
21034 (yn_test_data): Remove duplicate test of overflow.
21036 * math/libm-test.inc (struct test_cc_c_data): New type.
21037 (RUN_TEST_LOOP_cc_c): New macro.
21038 (cpow_test_data): New variable.
21039 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21041 * math/libm-test.inc (struct test_f_L_data): New type.
21042 (RUN_TEST_LOOP_f_L): New macro.
21043 (llrint_test_data): New variable.
21044 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21045 (llrint_tonearest_test_data): New variable.
21046 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21047 (llrint_towardzero_test_data): New variable.
21048 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21049 (llrint_downward_test_data): New variable.
21050 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21051 (llrint_upward_test_data): New variable.
21052 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21053 (llround_test_data): New variable.
21054 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21056 2013-05-13 Peter Collingbourne <pcc@google.com>
21058 * math/atest-exp2.c (get_log2): Remove const attribute.
21060 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21062 * math/libm-test.inc (struct test_f_l_data): New type.
21063 (RUN_TEST_LOOP_f_l): New macro.
21064 (lrint_test_data): New variable.
21065 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21066 (lrint_tonearest_test_data): New variable.
21067 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21068 (lrint_towardzero_test_data): New variable.
21069 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21070 (lrint_downward_test_data): New variable.
21071 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21072 (lrint_upward_test_data): New variable.
21073 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21074 (lround_test_data): New variable.
21075 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21077 2013-05-15 Peter Collingbourne <pcc@google.com>
21079 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21080 (EXTRACT_WORDS64) Use where appropriate.
21081 (INSERT_WORDS64) Likewise.
21083 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21084 constraints with x constraints.
21085 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21087 * malloc/obstack.c (_obstack_compat): Add initializer.
21089 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21091 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21092 si_trapno and add si_addr_lsb to _sifields.sigfault.
21093 (si_trapno): Remove macro.
21094 (si_addr_lsb): Define new macro.
21095 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21097 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21099 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21100 instead of TEST_f_l.
21101 (llrint_test_tonearest): Likewise.
21102 (llrint_test_towardzero): Likewise.
21103 (llrint_test_downward): Likewise.
21104 (llrint_test_upward): Likewise.
21105 (llround_test): Likewise.
21107 * math/libm-test.inc (struct test_f_i_data): Add comment.
21108 (RUN_TEST_LOOP_f_b): New macro.
21109 (RUN_TEST_LOOP_f_b_tg): Likewise.
21110 (finite_test_data): New variable.
21111 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21112 (isfinite_test_data): New variable.
21113 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21114 (isinf_test_data): New variable.
21115 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21116 (isnan_test_data): New variable.
21117 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21118 (isnormal_test_data): New variable.
21119 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21120 (issignaling_test_data): New variable.
21121 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21122 (signbit_test_data): New variable.
21123 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21125 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21126 with INVALID_EXCEPTION.
21127 (acosh_test_data): Likewise.
21128 (asin_test_data): Likewise.
21129 (atanh_test_data): Likewise.
21130 (fmod_test_data): Likewise.
21131 (log_test_data): Likewise.
21132 (log10_test_data): Likewise.
21133 (log2_test_data): Likewise.
21134 (pow_test_data): Likewise.
21135 (sqrt_test_data): Likewise.
21136 (y0_test_data): Likewise.
21137 (y1_test_data): Likewise.
21138 (yn_test_data): Likewise.
21140 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21143 * math/libm-test.inc (struct test_ff_i_data): New type.
21144 (RUN_TEST_LOOP_ff_i_tg): New macro.
21145 (isgreater_test_data): New variable.
21146 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21147 (isgreaterequal_test_data): New variable.
21148 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21149 (isless_test_data): New variable.
21150 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21151 (islessequal_test_data): New variable.
21152 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21153 (islessgreater_test_data): New variable.
21154 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21155 (isunordered_test_data): New variable.
21156 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21158 2013-05-14 David S. Miller <davem@davemloft.net>
21160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21162 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21164 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21166 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21168 (struct test_f_i_data): Change type of max_ulp to int.
21170 * math/libm-test.inc (test_ffI_f1_data): New type.
21171 (RUN_TEST_LOOP_ffI_f1): New macro.
21172 (remquo_test_data): New variable.
21173 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21175 * setjmp/tst-setjmp-fp.c: New file.
21176 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21177 (link-libm): New variable.
21178 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21180 * math/libm-test.inc (struct test_f_i_data): New type.
21181 (RUN_TEST_LOOP_f_i): New macro.
21182 (RUN_TEST_LOOP_f_i_tg): Likewise.
21183 (fpclassify_test_data): New variable.
21184 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21185 (ilogb_test_data): New variable.
21186 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21188 * math/libm-test.inc (scalbln_test): Correct function name in END
21191 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21192 (RUN_TEST_LOOP_fI_f1): New macro.
21193 (frexp_test_data): New variable.
21194 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21196 * math/libm-test.inc (struct test_fF_f1_data): New type.
21197 (RUN_TEST_LOOP_fF_f1): New macro.
21198 (modf_test_data): New variable.
21199 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21201 * math/libm-test.inc (struct test_f_f1_data): New type.
21202 (RUN_TEST_LOOP_f_f1): New macro.
21203 (gamma_test_data): New variable.
21204 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21205 (lgamma_test_data): New variable.
21206 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21208 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21210 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21211 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21212 (main): Comment "tls" pseudo-hwcap.
21214 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21216 * math/libm-test.inc (struct test_fl_f_data): New type.
21217 (RUN_TEST_LOOP_fl_f): New variable.
21218 (scalbln_test_data): New variable.
21219 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21221 * math/libm-test.inc (struct test_fi_f_data): New type.
21222 (RUN_TEST_LOOP_fi_f): New macro.
21223 (ldexp_test_data): New variable.
21224 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21225 (scalbn_test_data): New variable.
21226 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21228 * math/libm-test.inc (struct test_c_f_data): New type.
21229 (RUN_TEST_LOOP_c_f): New macro.
21230 (cabs_test_data): New variable.
21231 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21232 (carg_test_data): New variable.
21233 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21234 (cimag_test_data): New variable.
21235 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21236 (creal_test_data): New variable.
21237 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21239 * math/libm-test.inc (struct test_if_f_data): New type.
21240 (RUN_TEST_LOOP_if_f): New macro.
21241 (jn_test_data): New variable.
21242 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21243 (yn_test_data): New variable.
21244 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21246 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21248 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21250 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21251 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21253 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21255 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21256 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21257 (bench-deps): Add bench-timing.h.
21258 * benchtests-bench-skeleton.c: Include bench-timing.h.
21259 (main): Use TIMING_* macros instead of clock_gettime.
21260 * benchtests/bench-timing.h: New file.
21263 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21264 Renamed from _LIB_VERSION.
21265 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21267 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21269 * math/libm-test.inc (struct test_fff_f_data): New type.
21270 (RUN_TEST_LOOP_fff_f): New macro.
21271 (fma_test_data): New variable.
21272 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21273 (fma_towardzero_test_data): New variable.
21274 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21275 (fma_downward_test_data): New variable.
21276 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21277 (fma_upward_test_data): New variable.
21278 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21280 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21281 (struct test_c_c_data): New type.
21282 (RUN_TEST_LOOP_c_c): New macro.
21283 (cacos_test_data): New variable.
21284 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21285 (cacosh_test_data): New variable.
21286 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21287 (casin_test_data): New variable.
21288 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21289 (casinh_test_data): New variable.
21290 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21291 (catan_test_data): New variable.
21292 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21293 (catanh_test_data): New variable.
21294 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21295 (ccos_test_data): New variable.
21296 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21297 (ccosh_test_data): New variable.
21298 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21299 (cexp_test_data): New variable.
21300 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21301 (clog_test_data): New variable.
21302 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21303 (clog10_test_data): New variable.
21304 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21305 (conj_test_data): New variable.
21306 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21307 (cproj_test_data): New variable.
21308 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21309 (csin_test_data): New variable.
21310 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21311 (csinh_test_data): New variable.
21312 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21313 (csqrt_test_data): New variable.
21314 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21315 (ctan_test_data): New variable.
21316 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21317 (ctan_tonearest_test_data): New variable.
21318 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21319 (ctan_towardzero_test_data): New variable.
21320 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21321 (ctan_downward_test_data): New variable.
21322 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21323 (ctan_upward_test_data): New variable.
21324 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21325 (ctanh_test_data): New variable.
21326 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21327 (ctanh_tonearest_test_data): New variable.
21328 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21329 (ctanh_towardzero_test_data): New variable.
21330 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21331 (ctanh_downward_test_data): New variable.
21332 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21333 (ctanh_upward_test_data): New variable.
21334 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21335 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21338 * math/libm-test.inc (struct test_ff_f_data): New type.
21339 (struct test_ff_f_data_nexttoward): Likewise.
21340 (RUN_TEST_LOOP_2_f): New macro.
21341 (RUN_TEST_LOOP_ff_f): Likewise.
21342 (atan2_test_data): New variable.
21343 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21344 (copysign_test_data): New variable.
21345 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21346 (fdim_test_data): New variable.
21347 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21348 (fmax_test_data): New variable.
21349 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21350 (fmin_test_data): New variable.
21351 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21352 (fmod_test_data): New variable.
21353 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21354 (hypot_test_data): New variable.
21355 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21356 (nextafter_test_data): New variable.
21357 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21358 (nexttoward_test_data): New variable.
21359 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21360 (pow_test_data): New variable.
21361 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21362 (pow_tonearest_test_data): New variable.
21363 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21364 (pow_towardzero_test_data): New variable.
21365 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21366 (pow_downward_test_data): New variable.
21367 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21368 (pow_upward_test_data): New variable.
21369 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21370 (remainder_test_data): New variable.
21371 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21372 (scalb_test_data): New variable.
21373 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21374 * sysdeps/i386/fpu/libm-test-ulps: Update.
21376 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21378 * math/libm-test.inc (fma_test): Use max_value instead of local
21380 (nextafter_test): Likewise.
21382 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21383 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21384 (acos_downward_test_data): New variable.
21385 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21386 (acos_upward_test_data): New variable.
21387 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21388 (acosh_test_data): New variable.
21389 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21390 (asin_test_data): New variable.
21391 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21392 (asin_tonearest_test_data): New variable.
21393 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21394 (asin_towardzero_test_data): New variable.
21395 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21396 (asin_downward_test_data): New variable.
21397 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21398 (asin_upward_test_data): New variable.
21399 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21400 (asinh_test_data): New variable.
21401 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21402 (atan_test_data): New variable.
21403 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21404 (atanh_test_data): New variable.
21405 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21406 (cbrt_test_data): New variable.
21407 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21408 (ceil_test_data): New variable.
21409 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21410 (cos_test_data): New variable.
21411 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21412 (cos_tonearest_test_data): New variable.
21413 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21414 (cos_towardzero_test_data): New variable.
21415 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21416 (cos_downward_test_data): New variable.
21417 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21418 (cos_upward_test_data): New variable.
21419 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21420 (cosh_test_data): New variable.
21421 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21422 (cosh_tonearest_test_data): New variable.
21423 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21424 (cosh_towardzero_test_data): New variable.
21425 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21426 (cosh_downward_test_data): New variable.
21427 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21428 (cosh_upward_test_data): New variable.
21429 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21430 (erf_test_data): New variable.
21431 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21432 (erfc_test_data): New variable.
21433 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21434 (exp_test_data): New variable.
21435 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21436 (exp_tonearest_test_data): New variable.
21437 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21438 (exp_towardzero_test_data): New variable.
21439 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21440 (exp_downward_test_data): New variable.
21441 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21442 (exp_upward_test_data): New variable.
21443 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21444 (exp10_test_data): New variable.
21445 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21446 (exp2_test_data): New variable.
21447 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21448 (expm1_test_data): New variable.
21449 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21450 (fabs_test_data): New variable.
21451 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21452 (floor_test_data): New variable.
21453 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21454 (j0_test_data): New variable.
21455 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21456 (j1_test_data): New variable.
21457 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21458 (log_test_data): New variable.
21459 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21460 (log10_test_data): New variable.
21461 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21462 (log1p_test_data): New variable.
21463 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21464 (log2_test_data): New variable.
21465 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21466 (logb_test_data): New variable.
21467 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21468 (logb_downward_test_data): New variable.
21469 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21470 (nearbyint_test_data): New variable.
21471 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21472 (rint_test_data): New variable.
21473 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21474 (rint_tonearest_test_data): New variable.
21475 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21476 (rint_towardzero_test_data): New variable.
21477 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21478 (rint_downward_test_data): New variable.
21479 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21480 (rint_upward_test_data): New variable.
21481 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21482 (round_test_data): New variable.
21483 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21484 (sin_test_data): New variable.
21485 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21486 (sin_tonearest_test_data): New variable.
21487 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21488 (sin_towardzero_test_data): New variable.
21489 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21490 (sin_downward_test_data): New variable.
21491 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21492 (sin_upward_test_data): New variable.
21493 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21494 (sinh_test_data): New variable.
21495 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21496 (sinh_tonearest_test_data): New variable.
21497 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21498 (sinh_towardzero_test_data): New variable.
21499 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21500 (sinh_downward_test_data): New variable.
21501 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21502 (sinh_upward_test_data): New variable.
21503 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21504 (sqrt_test_data): New variable.
21505 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21506 (tan_test_data): New variable.
21507 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21508 (tan_tonearest_test_data): New variable.
21509 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21510 (tan_towardzero_test_data): New variable.
21511 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21512 (tan_downward_test_data): New variable.
21513 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21514 (tan_upward_test_data): New variable.
21515 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21516 (tanh_test_data): New variable.
21517 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21518 (tgamma_test_data): New variable.
21519 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21520 (trunc_test_data): New variable.
21521 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21522 (y0_test_data): New variable.
21523 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21524 (y1_test_data): New variable.
21525 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21526 (significand_test_data): New variable.
21527 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21529 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21532 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21534 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21536 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21538 2013-05-10 Andreas Jaeger <aj@suse.de>
21541 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21542 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21544 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21546 * math/gen-libm-test.pl (adjust_arg): New function.
21547 (special_functions): Handle generating output in both functions
21549 (parse_args): Likewise.
21550 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21551 $in_func argument to parse_args.
21552 * math/libm-test.inc (struct test_f_f_data): New type.
21553 (IF_ROUND_INIT_): New macro.
21554 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21555 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21556 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21557 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21558 (ROUND_RESTORE_): Likewise.
21559 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21560 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21561 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21562 (ROUND_RESTORE_FE_UPWARD): Likewise.
21563 (RUN_TEST_LOOP_f_f): New macro.
21564 (acos_test_data): New variable.
21565 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21566 (acos_tonearest_test_data): New variable.
21567 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21569 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21571 * benchtests/bench-skeleton.c (startup): Fix coding style.
21573 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21576 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21577 negative infinity argument.
21578 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21579 negative infinity argument.
21580 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21581 negative infinity argument.
21582 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21585 2013-05-10 Florian Weimer <fweimer@redhat.com>
21587 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21588 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21589 * iconv/iconv_prog.c (main): Likewise.
21590 * locale/programs/charmap-dir.c (charmap_readdir)
21591 (fopen_uncompressed): Likewise.
21592 * locale/programs/locfile.c (siblings_uncached)
21593 (write_locale_data): Use lstat64 instead of lstat.
21594 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21597 2013-05-10 Andreas Jaeger <aj@suse.de>
21600 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21602 Include <locale.h>.
21604 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21606 * elf/dl-close.c (_dl_close_worker): Add comments.
21608 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21613 (__ieee754_rem_pio2l): Update comments.
21616 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21618 (__ieee754_rem_pio2l): Update comments.
21620 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21621 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21623 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21626 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21627 (M_PI_34_LOG10El): Likewise.
21628 (M_PI2_LOG10El): Likewise.
21629 (M_PI4_LOG10El): Likewise.
21630 (M_PI_LOG10El): Likewise.
21632 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21636 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21638 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21639 (MINUS_ZERO_INIT): Likewise.
21640 (PLUS_INFTY_INIT): Likewise.
21641 (MINUS_INFTY_INIT): Likewise.
21642 (QNAN_VALUE_INIT): Likewise.
21643 (MAX_VALUE_INIT): Likewise.
21644 (MIN_VALUE_INIT): Likewise.
21645 (MIN_SUBNORM_VALUE_INIT): Likewise.
21646 (plus_zero): Initialize with PLUS_ZERO_INIT.
21647 (minus_zero): Initialize with MINUS_ZERO_INIT.
21648 (plus_infty): Initialize with PLUS_INFTY_INIT.
21649 (minus_infty): Initialize with MINUS_INFTY_INIT.
21650 (qnan_value): Initialize with QNAN_VALUE_INIT.
21651 (max_value): Initialize with MAX_VALUE_INIT.
21652 (min_value): Initialize with MIN_VALUE_INIT.
21653 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21655 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21656 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21657 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21658 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21660 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21661 (RUN_TEST_2_f): Likewise.
21662 (RUN_TEST_ff_f): Likewise.
21663 (RUN_TEST_fi_f): Likewise.
21664 (RUN_TEST_fl_f): Likewise.
21665 (RUN_TEST_fff_f): Likewise.
21666 (RUN_TEST_c_f): Likewise.
21667 (RUN_TEST_f_f1): Likewise.
21668 (RUN_TEST_fF_f1): Likewise.
21669 (RUN_TEST_fI_f1): Likewise.
21670 (RUN_TEST_ffI_f1): Likewise.
21671 (RUN_TEST_c_c): Likewise.
21672 (RUN_TEST_cc_c): Likewise.
21673 (RUN_TEST_f_i): Likewise.
21674 (RUN_TEST_f_i_tg): Likewise.
21675 (RUN_TEST_ff_i_tg): Likewise.
21676 (RUN_TEST_f_b): Likewise.
21677 (RUN_TEST_f_b_tg): Likewise.
21678 (RUN_TEST_f_l): Likewise.
21679 (RUN_TEST_f_L): Likewise.
21680 (RUN_TEST_sincos): Likewise.
21681 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21682 whether to show exceptions. Do not include ");\n" in return
21684 (special_functions): Output call to RUN_TEST_sincos instead of
21685 check_float calls. Update calls to new_test.
21686 (parse_args): Output call to single RUN_TEST_* macro instead of
21687 check_* calls and other assignments. Update calls to new_test.
21693 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21694 input to result for tgamma overflow.
21695 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21696 (gamma_coeff): New variable.
21697 (NCOEFF): New macro.
21698 (gamma_positive): New function.
21699 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21700 underflow here. Use gamma_positive instead of exp (lgamma) for
21702 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21703 (gamma_coeff): New variable.
21704 (NCOEFF): New macro.
21705 (gammaf_positive): New function.
21706 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21707 underflow here. Use gamma_positive instead of exp (lgamma) for
21709 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21710 (gamma_coeff): New variable.
21711 (NCOEFF): New macro.
21712 (gammal_positive): New function.
21713 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21714 underflow here. Use gamma_positive instead of exp (lgamma) for
21716 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21717 (gamma_coeff): New variable.
21718 (NCOEFF): New macro.
21719 (gammal_positive): New function.
21720 (__ieee754_gammal_r): Handle positive infinity, overflow and
21721 underflow here. Handle NaN the same as positive infinity. Remove
21722 check x < 0xffffffff for negative integers. Use gamma_positive
21723 instead of exp (lgamma) for other arguments.
21724 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21725 (gamma_coeff): New variable.
21726 (NCOEFF): New macro.
21727 (gammal_positive): New function.
21728 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21729 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21733 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21734 * sysdeps/generic/math_private.h (__gamma_productf): New
21736 (__gamma_product): Likewise.
21737 (__gamma_productl): Likewise.
21738 * math/Makefile (libm-calls): Add gamma_product.
21739 * math/libm-test.inc (tgamma_test): Add more tests.
21740 * sysdeps/i386/fpu/libm-test-ulps: Update.
21741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21743 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21745 * benchtests/bench-skeleton.c (main): Preheat CPU.
21747 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21749 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21751 2013-05-07 Roland McGrath <roland@hack.frob.com>
21753 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21754 and _dl_skip_args_internal.
21756 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21758 * manual/message.texi (Message Translation): Talk about users.
21759 Message to key mapping impacts design.
21761 2013-05-06 Roland McGrath <roland@hack.frob.com>
21763 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21765 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21767 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21768 * sysdeps/wordsize-64/glob64.c: ... here.
21770 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21771 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21774 * debug/getlogin_r_chk.c: Moved to ...
21775 * login/getlogin_r_chk.c: ... here.
21776 * debug/Makefile (routines): Move getlogin_r_chk to ...
21777 * login/Makefile (routines): ... here.
21778 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21779 * login/Versions (libc: GLIBC_2.4): ... here.
21781 * io/poll.c (__poll): Renamed from poll.
21782 Add libc_hidden_def.
21783 (poll): Define as weak alias.
21785 * debug/ptsname_r_chk.c: Moved to ...
21786 * login/ptsname_r_chk.c: ... here.
21787 * debug/Makefile (routines): Move ptsname_r_chk to ...
21788 * login/Makefile (routines): ... here.
21789 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21790 * login/Versions (libc: GLIBC_2.4): ... here.
21792 * posix/getlogin.c: Moved to ...
21793 * login/getlogin.c: ... here.
21794 * posix/getlogin_r.c: Moved to ...
21795 * login/getlogin_r.c: ... here.
21796 * posix/getlogin_r.c: Moved to ...
21797 * login/getlogin_r.c: ... here.
21798 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21799 * login/Makefile (routines): ... here.
21800 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21801 * login/Versions (libc: GLIBC_2.0): ... here.
21803 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21804 (setrlimit): Define as weak alias.
21806 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21807 Call __ names for open, ftruncate, and close.
21808 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21809 (truncate): Define as weak alias.
21811 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21813 * math/gen-libm-test.pl (parse_args): Initialize x before each
21814 test of frexp, modf and remquo.
21816 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21817 test signgam value.
21819 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21823 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21827 2013-05-06 Roland McGrath <roland@hack.frob.com>
21829 * elf/dl-writev.h: New file.
21830 * elf/dl-misc.c: Include it.
21831 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21832 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21834 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21836 * math/libm-test.inc (noXFails): Remove variable.
21837 (noXPasses): Likewise.
21838 (BUILD_COMPLEX_INT): Remove macro.
21839 (print_screen): Remove xfail argument.
21840 (print_screen_max_error): Likewise.
21841 (update_stats): Likewise.
21842 (print_max_error): Likewise. Update calls to other affected
21844 (print_complex_max_error): Likewise.
21845 (test_single_exception): Update calls to print_screen.
21846 (test_single_errno): Likewise.
21847 (check_float_internal): Remove xfail argument. Update calls to
21848 other affected functions.
21849 (check_float): Likewise.
21850 (check_complex): Likewise.
21851 (check_int): Likewise.
21852 (check_long): Likewise.
21853 (check_bool): Likewise.
21854 (check_longlong): Likewise.
21855 (main): Don't print noXFails and noXPasses.
21856 * math/gen-libm-test.pl (top level): Don't mention expected
21857 failure handling in comment.
21858 (new_test): Don't handle expected failures.
21859 (parse_args): Don't mention expected failure handling in comment.
21860 (generate_testfile): Don't handle expected failures.
21861 (parse_ulps): Likewise.
21862 (print_ulps_file): Likewise.
21863 (get_failure): Remove function.
21864 (output_test): Don't handle expected failures.
21865 * make/README.libm-test: Don't mention expected failure handling.
21867 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21868 (minus_zero): Likewise.
21869 (plus_infty): Likewise.
21870 (minus_infty): Likewise.
21871 (qnan_value): Likewise.
21872 (max_value): Likewise.
21873 (min_value): Likewise.
21874 (min_subnorm_value): Likewise.
21875 (initialize): Do not initialize those variables dynamically.
21877 2013-05-03 Roland McGrath <roland@hack.frob.com>
21879 * io/open.c (__open_2): Moved to ...
21880 * io/open_2.c: ... this new file.
21881 * io/open64.c (__open64_2): Moved to ...
21882 * io/open64_2.c: ... this new file.
21883 * io/openat.c (__openat_2): Moved to ...
21884 * io/openat_2.c: ... this new file.
21885 * io/openat64.c (__openat64_2): Moved to ...
21886 * io/openat64_2.c: ... this new file.
21887 * io/Makefile (routines): Add them.
21888 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21889 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21890 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21891 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21892 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21893 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21894 (__openat64): Add hidden_ver.
21895 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21896 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21898 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21899 Separately conditionalize setting of GLRO(dl_sysinfo) so
21900 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21901 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21903 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21905 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21906 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21908 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21909 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21910 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21911 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21912 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21914 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21916 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21917 test signgam value.
21919 * math/libm-test.inc (hypot_test): Do not use
21920 IGNORE_ZERO_INF_SIGN.
21922 2013-05-03 Andreas Jaeger <aj@suse.de>
21924 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21926 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21927 (PF_MAX): Adjust for VSOCK change.
21929 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21933 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21936 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21937 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21938 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21940 2013-05-02 David S. Miller <davem@davemloft.net>
21942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21944 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21946 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21948 2013-05-01 Roland McGrath <roland@hack.frob.com>
21950 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21952 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21955 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21956 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21957 Use __attribute__ ((__gnu_inline__)).
21958 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21959 Don't use __attribute__ ((__gnu_inline__)).
21961 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21964 * math/s_catan.c (__catan): Handle small real or imaginary part of
21965 input specially to avoid spurious underflow.
21966 * math/s_catanf.c (__catanf): Likewise.
21967 * math/s_catanh.c (__catanh): Likewise.
21968 * math/s_catanhf.c (__catanhf): Likewise.
21969 * math/s_catanhl.c (__catanhl): Likewise.
21970 * math/s_catanl.c (__catanl): Likewise.
21971 * math/libm-test.inc (catan_test): Add more tests.
21972 (catanh_test): Likewise.
21973 * sysdeps/i386/fpu/libm-test-ulps: Update.
21974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21976 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21980 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21983 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21984 accurately for denominator in atan2.
21985 * math/s_catanf.c (__catanf): Likewise.
21986 * math/s_catanh.c (__catanh): Likewise.
21987 * math/s_catanhf.c (__catanhf): Likewise.
21988 * math/s_catanhl.c (__catanhl): Likewise.
21989 * math/s_catanl.c (__catanl): Likewise.
21990 * math/libm-test.inc (catan_test): Add more tests.
21991 (catanh_test): Likewise.
21992 * sysdeps/i386/fpu/libm-test-ulps: Update.
21993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21995 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21997 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21999 * benchtests/Makefile (bench): Remove slow benchmarks.
22000 * benchtests/atan-inputs: Add slow benchmark inputs.
22001 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22002 (BENCH_FUNC): Accept variant offset.
22004 * benchtests/bench-skeleton.c (main): Run benchmark for each
22006 * benchtests/cos-inputs: Add slow benchmark inputs.
22007 * benchtests/exp-inputs: Likewise.
22008 * benchtests/pow-inputs: Likewise.
22009 * benchtests/sin-inputs: Likewise.
22010 * benchtests/slowatan-inputs: Remove.
22011 * benchtests/slowatan.c: Remove.
22012 * benchtests/slowcos-inputs: Remove.
22013 * benchtests/slowcos.c: Remove.
22014 * benchtests/slowexp-inputs: Remove.
22015 * benchtests/slowexp.c: Remove.
22016 * benchtests/slowpow-inputs: Remove.
22017 * benchtests/slowpow.c: Remove.
22018 * benchtests/slowsin-inputs: Remove.
22019 * benchtests/slowsin.c: Remove.
22020 * benchtests/slowtan-inputs: Remove.
22021 * benchtests/slowtan.c: Remove.
22022 * benchtests/tan-inputs: Add slow benchmark inputs.
22023 * scripts/bench.pl: Parse comments and directives.
22025 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22027 ($(objpfx)bench-%.c): Remove *-ITER.
22028 * benchtests/bench-modf.c: Remove definition of ITER.
22029 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22030 (main): Loop for DURATION seconds instead of fixed number of
22032 * scripts/bench.pl: Don't expect iterations in parameters.
22034 2013-04-29 Roland McGrath <roland@hack.frob.com>
22036 * io/fchdir.c (__fchdir): Renamed from fchdir.
22037 (fchdir): Define as weak alias.
22039 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22041 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22042 (ERRNO_EDOM): Likewise.
22043 (ERRNO_ERANGE): Likewise.
22044 (noErrnoTests): New variable.
22045 (init_max_error): Set errno to 0.
22046 (test_single_errno): New function.
22047 (test_errno): Likewise.
22048 (check_float_internal): Call test_errno. Set errno to 0.
22049 (check_complex): Refer to errno tests in comment.
22050 (check_int): Call test_errno. Set errno to 0.
22051 (check_long): Likewise.
22052 (check_bool): Likewise.
22053 (check_longlong): Likewise.
22054 (cos_test): Use ERRNO_* flags for errno tests instead of
22056 (expm1_test): Likewise.
22057 (fmod_test): Likewise.
22058 (ilogb_test): Likewise.
22059 (lgamma_test): Likewise.
22060 (pow_test): Likewise.
22061 (remainder_test): Likewise.
22062 (sin_test): Likewise.
22063 (tan_test): Likewise.
22064 (yn_test): Likewise.
22065 (initialize): Set errno to 0.
22066 (main): Print number of errno tests.
22067 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22069 2013-04-29 Andreas Jaeger <aj@suse.de>
22072 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22076 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22077 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22081 * stdlib/random.c (__initstate): Return NULL if
22085 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22086 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22089 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22093 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22095 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22096 of individual tests.
22097 (casin_test): Likewise.
22098 (casinh_test): Likewise.
22100 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22103 * math/s_catan.c (__catan): Handle arguments with large real or
22104 imaginary part separately without squaring.
22105 * math/s_catanf.c (__catanf): Likewise.
22106 * math/s_catanh.c (__catanh): Likewise.
22107 * math/s_catanhf.c (__catanhf): Likewise.
22108 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22110 (__catanhl): Handle arguments with large real or imaginary part
22111 separately without squaring.
22112 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22114 (__catanl): Handle arguments with large real or imaginary part
22115 separately without squaring.
22116 * math/libm-test.inc (catan_test): Add more tests.
22117 (catanh_test): Likewise.
22118 * sysdeps/i386/fpu/libm-test-ulps: Update.
22119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22121 2013-04-27 Andreas Jaeger <aj@suse.de>
22124 * stdlib/stdlib.h: Update guards for qecvt.
22125 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22128 2013-04-27 Allan McRae <allan@archlinux.org>
22130 * sysdeps/i386/fpu/libm-test-ulps: Update.
22132 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22135 * math/s_catan.c: Include <float.h>.
22136 (__catan): Ensure underflow exception occurs for underflowed
22138 * math/s_catanf.c: Include <float.h>.
22139 (__catanf): Ensure underflow exception occurs for underflowed
22141 * math/s_catanh.c: Include <float.h>.
22142 (__catanh): Ensure underflow exception occurs for underflowed
22144 * math/s_catanhf.c: Include <float.h>.
22145 (__catanhf): Ensure underflow exception occurs for underflowed
22147 * math/s_catanhl.c: Include <float.h>.
22148 (__catanhl): Ensure underflow exception occurs for underflowed
22150 * math/s_catanl.c: Include <float.h>.
22151 (__catanl): Ensure underflow exception occurs for underflowed
22153 * math/libm-test.inc (catan_test): Add more tests.
22154 (catanh_test): Likewise.
22157 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22158 underflowed result.
22159 * math/s_ccoshf.c (__ccoshf): Likewise.
22160 * math/s_ccoshl.c (__ccoshl): Likewise.
22161 * math/s_csin.c (__csin): Likewise.
22162 * math/s_csinf.c (__csinf): Likewise.
22163 * math/s_csinh.c (__csinh): Likewise.
22164 * math/s_csinhf.c (__csinhf): Likewise.
22165 * math/s_csinhl.c (__csinhl): Likewise.
22166 * math/s_csinl.c (__csinl): Likewise.
22167 * math/libm-test.inc (ccos_test): Add more tests.
22168 (ccosh_test): Likewise.
22169 (csin_test): Likewise.
22170 (csinh_test): Likewise.
22172 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22175 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22176 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22177 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22178 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22179 powerpc/power5+/fpu folders.
22180 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22183 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22187 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22189 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22190 additions to variable.
22191 [$(config-machine) = x86_64] (modules-names): Likewise.
22192 ($(objpfx)tst-audit3): Remove dependency.
22193 ($(objpfx)tst-audit3.out): Likewise.
22194 ($(objpfx)tst-audit4): Likewise.
22195 ($(objpfx)tst-audit4.out): Likewise.
22196 ($(objpfx)tst-audit5): Likewise.
22197 ($(objpfx)tst-audit5.out): Likewise.
22198 ($(objpfx)tst-audit6): Likewise.
22199 ($(objpfx)tst-audit6.out): Likewise.
22200 ($(objpfx)tst-audit7): Likewise.
22201 ($(objpfx)tst-audit7.out): Likewise.
22202 (tst-audit3-ENV): Remove variable.
22203 (tst-audit4-ENV): Likewise.
22204 (tst-audit5-ENV): Likewise.
22205 (tst-audit6-ENV): Likewise.
22206 (tst-audit7-ENV): Likewise.
22207 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22208 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22209 addition to variable.
22210 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22215 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22216 tst-audit3, tst-audit4 and tst-audit5.
22217 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22218 tst-audit6 and tst-audit7.
22219 [$(subdir) = elf] (modules-names): Add audit modules for those
22221 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22222 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22223 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22224 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22225 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22226 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22227 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22228 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22229 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22230 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22231 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22232 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22233 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22234 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22235 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22236 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22238 [$(subdir) = elf && $(config-cflags-avx) = yes]
22239 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22240 [$(subdir) = elf && $(config-cflags-avx) = yes]
22241 (CFLAGS-tst-auditmod4a.c): Likewise.
22242 [$(subdir) = elf && $(config-cflags-avx) = yes]
22243 (CFLAGS-tst-auditmod4b.c): Likewise.
22244 [$(subdir) = elf && $(config-cflags-avx) = yes]
22245 (CFLAGS-tst-auditmod6b.c): Likewise.
22246 [$(subdir) = elf && $(config-cflags-avx) = yes]
22247 (CFLAGS-tst-auditmod6c.c): Likewise.
22248 [$(subdir) = elf && $(config-cflags-avx) = yes]
22249 (CFLAGS-tst-auditmod7b.c): Likewise.
22250 * elf/tst-audit3.c: Move to ...
22251 * sysdeps/x86_64/tst-audit3.c: ... here.
22252 * elf/tst-audit4.c: Move to ...
22253 * sysdeps/x86_64/tst-audit4.c: ... here.
22254 * elf/tst-audit5.c: Move to ...
22255 * sysdeps/x86_64/tst-audit5.c: ... here.
22256 * elf/tst-audit6.c: Move to ...
22257 * sysdeps/x86_64/tst-audit6.c: ... here.
22258 * elf/tst-audit7.c: Move to ...
22259 * sysdeps/x86_64/tst-audit7.c: ... here.
22260 * elf/tst-auditmod3a.c: Move to ...
22261 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22262 * elf/tst-auditmod3b.c: Move to ...
22263 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22264 * elf/tst-auditmod4a.c: Move to ...
22265 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22266 * elf/tst-auditmod4b.c: Move to ...
22267 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22268 * elf/tst-auditmod5a.c: Move to ...
22269 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22270 * elf/tst-auditmod5b.c: Move to ...
22271 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22272 * elf/tst-auditmod6a.c: Move to ...
22273 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22274 * elf/tst-auditmod6b.c: Move to ...
22275 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22276 * elf/tst-auditmod6c.c: Move to ...
22277 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22278 * elf/tst-auditmod7a.c: Move to ...
22279 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22280 * elf/tst-auditmod7b.c: Move to ...
22281 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22283 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22286 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22287 define unconditionally.
22288 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22289 define unconditionally.
22290 (INT8_C, INT16_C, etc.): Likewise.
22292 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22294 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22295 __ehdr_start with hidden visibility.
22297 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22299 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22301 * math/libm-test.inc (cos_test): Use accurate hex constants.
22302 (sincost_test): Likewise.
22304 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22306 * math/libm-test.inc (catan_test): Add more tests.
22307 (catanh_test): Likewise.
22309 * math/s_catanf.c (__catanf): Use suffixed floating-point
22311 * math/s_catanhf.c (__catanhf): Likewise.
22312 * math/s_catanhl.c (__catanhl): Likewise.
22313 * math/s_catanl.c (__catanl): Likewise.
22316 * math/s_catan.c (__catan): Calculate imaginary part of result
22317 with log1p not log unless computing log of number close to 0.
22318 * math/s_catanf.c (__catanf): Likewise.
22319 * math/s_catanl.c (__catanl): Likewise.
22320 * math/s_catanh.c (__catanh): Calculate real part of result with
22321 log1p not log unless computing log of number close to 0.
22322 * math/s_catanhf.c (__catanhf): Likewise.
22323 * math/s_catanhl.c (__catanhl): Likewise.
22324 * math/libm-test.inc (catan_test): Add more tests.
22325 (catanh_test): Likewise.
22326 * sysdeps/i386/fpu/libm-test-ulps: Update.
22327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22329 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22331 * benchtests/Makefile: Mention files in which fast and slow
22332 paths of math functions are implemented.
22334 2013-04-23 Roland McGrath <roland@hack.frob.com>
22336 * sysdeps/posix/timespec_get.c: New file.
22338 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22340 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22342 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22344 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22345 powerpc/power5/fpu folders.
22346 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22347 * benchtests/Makefile: Add modf testcase.
22348 * benchtests/bench-modf.c: New file: Benchmark test for mo
22350 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22353 * time/Makefile (tests): Add tst-strptime-whitespace.
22354 * time/strptime_l.c (get_number): Use ISSPACE.
22355 (__strptime_internal): Likewise.
22356 * time/tst-strptime-whitespace.c: New test case.
22358 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22360 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22362 (_nss_files_init): Set it here.
22364 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22366 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22367 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22370 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22372 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22374 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22376 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22379 2013-04-21 David S. Miller <davem@davemloft.net>
22381 * po/ru.po: Update Russion translation from translation project.
22383 2013-04-17 Adam Conrad <adconrad@0c3.net>
22385 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22388 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22390 * configure.in: Remove i386 configure warning. Remove i386 case.
22391 * configure: Regenerate.
22392 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22393 Add example to error message.
22394 * sysdeps/i386/configure: Regenerate.
22396 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22398 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22400 * benchtests/cos-inputs: New file.
22401 * benchtests/slowcos-inputs: New file.
22402 * benchtests/slowcos.c: New file.
22403 * benchtests/slowtan-inputs: New file.
22404 * benchtests/slowtan.c: New file.
22405 * benchtests/tan-inputs: New file.
22407 2013-04-16 Roland McGrath <roland@hack.frob.com>
22409 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22412 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22414 * benchtests/Makefile: Include cppflags-iterator.mk to add
22415 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22417 * Makefile.in (bench-clean): New target.
22418 * benchtests/Makefile (bench-clean): Likewise.
22420 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22422 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22424 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22426 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22428 2013-04-15 Andreas Schwab <schwab@suse.de>
22430 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22431 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22432 * nscd/pwdcache.c (cache_addpw): Likewise.
22433 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22436 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22438 * benchtests/Makefile (bench): Write all output to
22439 bench-out.tmp together.
22441 2013-04-15 Andreas Schwab <schwab@suse.de>
22443 * nscd/nscd.c (main): Don't fork again after closing files.
22445 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22447 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22449 * benchtests/Rules (bench-deps): Collect dependencies into a
22450 single variable. Add Makefile to dependencies.
22451 ($(objpfx)bench-%.c): Depend on bench-deps.
22453 2013-04-12 Roland McGrath <roland@hack.frob.com>
22454 Xavier Roche <roche+kml2@exalead.com>
22457 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22458 just that it's a file descriptor.
22459 * manual/llio.texi (Synchronizing AIO Operations): Update description
22460 for EBADF error from aio_fsync.
22462 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22464 * Rules (bench): Move target definition...
22465 * benchtests/Makefile: ... here.
22467 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22469 * math/libm-test.inc (cos_test): Fix PI/2 test.
22470 (sincos_test): Likewise.
22471 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22472 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22474 2013-04-11 Andreas Schwab <schwab@suse.de>
22477 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22478 accept exponent character only when digits were seen.
22479 * stdio-common/Makefile (tests): Add bug26.
22480 * stdio-common/bug26.c: New file.
22483 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22486 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22488 * Makeconfig (rtld-prefix): Define built linker prefix.
22489 * Rules (run-bench): Use it.
22490 * math/Makefile (run-regen-ulps): Likewise.
22492 * Rules (bench): Remove eval.
22494 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22495 Roland McGrath <roland@hack.frob.com>
22496 Ondrej Bilka <neleai@seznam.cz>
22499 * time/getdate.c: Include ctype.h and alloca.h.
22500 (__getdate_r): Trim leading and trailing spaces of input.
22501 * time/tst-getdate.c (tests): Add tests with leading and
22504 2013-04-08 Roland McGrath <roland@hack.frob.com>
22507 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22508 when computing value.
22510 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22512 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22513 Use testrun.sh to run libm tests.
22516 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22518 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22521 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22523 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22525 * Makefile.in (regen-ulps): New target.
22526 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22527 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22528 [ifneq (no,$(PERL)] (regen-ulps): New target.
22529 [ifeq (no,$(PERL)] (regen-ulps): New target.
22530 * math/libm-test.inc (ulps_file_name): Define.
22531 (output_dir): New variable.
22532 (options): Add "output-dir" option.
22533 (parse_opt): Handle 'o' case.
22534 (main): If output_dir is non-NULL use it as a prefix
22536 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22538 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22540 [BZ #10060, #10062]
22541 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22542 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22543 fail configure if __sync_val_compare_and_swap is not inlined.
22544 * sysdeps/i386/configure: Regenerate.
22545 * configure.in: Build for i686 when configured for i386.
22546 * configure: Regenerate.
22547 * README: Remove i386 reference.
22549 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22551 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22554 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22556 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22557 (lmsnanval): New variables.
22558 (F): Add conversion tests.
22559 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22560 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22562 * stdio-common/tstdiomisc.c (F): Properly collect individual
22565 [BZ #14686, #15336]
22566 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22567 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22568 Instead, use input NaN values or generate a qNaN by arithmetic
22569 operation. Also fix bugs to comply with the standard.
22570 * math/libm-test.inc (remainder_test): Add more tests.
22572 [BZ #15335, #15342]
22573 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22575 input NaN values or generate a qNaN by arithmetic operation.
22577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22580 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22583 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22586 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22587 underflowed result.
22588 * math/s_cexpf.c (__cexpf): Likewise.
22589 * math/s_cexpl.c (__cexpl): Likewise.
22590 * math/libm-test.inc (cexp_test): Add more tests.
22592 2013-04-03 Andreas Schwab <schwab@suse.de>
22595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22596 order arrays from heap if bigger than alloca cutoff.
22598 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22600 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22601 (SNAN_TESTS_double): Refer to GCC PR56831.
22602 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22605 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * Rules (bench): Move bench.out after the run is complete.
22609 * Rules (bench): Echo currently running benchmark.
22611 * benchtests/Makefile (bench): Add atan and slowatan.
22612 * benchtests/atan-inputs: New file.
22613 * benchtests/slowatan-inputs: New file.
22614 * benchtests/slowatan.c: New file.
22616 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22617 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22621 * sysdeps/unix/sysv/linux/kernel-features.h
22622 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22623 __ASSUME_XFS_RESTRICTED_CHOWN.
22624 * sysdeps/unix/sysv/linux/pathconf.c
22625 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22626 Save and restore errno.
22628 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22631 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22632 arguments using __kernel_casinh.
22633 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22634 arguments using __kernel_casinhf.
22635 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22636 arguments using __kernel_casinhl.
22637 * math/libm-test.inc (cacosh_test): Add more tests.
22638 * sysdeps/i386/fpu/libm-test-ulps: Update.
22639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22641 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22643 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22646 * bench/Makefile (bench): Add sin and slowsin.
22647 * benchtests/sin-inputs: New file.
22648 * benchtests/slowsin-inputs: New file.
22649 * benchtests/slowsin.c: New file.
22651 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22652 (bench): Add slowexp and slowpow.
22653 (exp-ITER): Increase iterations.
22654 (pow-ITER): Likewise.
22655 * benchtests/exp-inputs: Change input.
22656 * benchtests/pow-inputs: Likewise.
22657 * benchtests/slowexp-inputs: New file.
22658 * benchtests/slowexp.c: New file.
22659 * benchtests/slowpow-inputs: New file.
22660 * benchtests/slowpow.c: New file.
22662 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22664 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22666 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22667 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22668 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22669 * benchtests/Makefile: Add rint benchtest.
22670 * benchtests/rint-inputs: Input for rint benchtest.
22672 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22674 * Versions.def (libm): Add GLIBC_2.18.
22675 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22676 hidden libm prototypes.
22677 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22678 * math/Makefile (libm-calls): Add s_issignaling.
22679 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22680 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22681 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22683 * math/math.h [__USE_GNU] (issignaling): New macro.
22684 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22685 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22690 * manual/arith.texi (issignaling): New section.
22691 * manual/libm-err-tab.pl (@all_functions): Update comment.
22692 * math/gen-libm-test.pl (parse_args): Apply special handling for
22694 * math/libm-test.inc (print_float, issignaling_test): New
22696 (check_float_internal): Add issignaling checks.
22697 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22698 default definition.
22699 * sysdeps/powerpc/math-tests.h: New file.
22700 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22702 * math/test-snan.c (TEST_FUNC): Likewise.
22704 2013-03-30 David S. Miller <davem@davemloft.net>
22706 * po/de.po: Update from translation team.
22708 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22711 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22712 imaginary part less than 1.0 and real part less than 0.5
22714 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22715 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22716 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22717 (cacos_test): Add more tests.
22718 (casin_test): Likewise.
22719 (casinh_test): Likewise.
22720 * sysdeps/i386/fpu/libm-test-ulps: Update.
22721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22723 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22725 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22726 ONE with its value.
22728 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22729 (__pow_mp): Replace ONE and MONE with their values.
22730 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22731 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22732 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22733 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22734 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22735 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22737 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22739 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22740 (__pow_mp): Replace ZERO and MZERO with their values.
22741 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22742 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22743 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22745 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22746 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22749 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22751 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22753 2013-03-28 Roland McGrath <roland@hack.frob.com>
22755 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22756 Declare with __attribute__ ((weak)).
22757 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22758 Call __call_tls_dtors only if it's not NULL.
22760 2013-03-28 Roland McGrath <roland@hack.frob.com>
22762 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22763 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22764 magic __ehdr_start linker symbol if it's defined.
22765 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22766 them up here if it was already done.
22768 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22769 (_dl_aux_init): Use const in cast when setting it.
22770 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22771 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22772 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22774 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22776 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22777 * csu/libc-tls.c: Nor here.
22778 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22780 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22781 (__libc_message): Never call vsyslog.
22783 2013-03-28 Alan Modra <amodra@gmail.com>
22785 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22787 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22790 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22793 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22797 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22800 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22801 Don't add gid passed as argument.
22803 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22805 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22808 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22809 imaginary part between 1.0 and 1.5 and real part less than 0.5
22811 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22812 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22813 * math/libm-test.inc (cacos_test): Add more tests.
22814 (casin_test): Likewise.
22815 (casinh_test): Likewise.
22816 * sysdeps/i386/fpu/libm-test-ulps: Update.
22817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22819 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22821 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22824 (denorm): Likewise.
22825 (__dbl_mp): Likewise.
22826 (add_magnitudes): Likewise.
22827 (sub_magnitudes): Likewise.
22835 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22837 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22838 (__dubcos): Likewise.
22839 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22840 (__ieee754_acos): Likewise.
22841 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22842 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22843 (__exp1): Likewise.
22844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22847 (my_log2): Likewise.
22848 (checkint): Likewise.
22849 * sysdeps/ieee754/dbl-64/e_remainder.c
22850 (__ieee754_remainder): Likewise.
22851 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22852 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22853 (bsloww): Likewise.
22854 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22856 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22858 MANTISSA_STORE_T to store computations on mantissa. Use
22859 macros for rounding and division.
22860 (denorm): Likewise.
22861 (__dbl_mp): Likewise.
22862 (add_magnitudes): Likewise.
22863 (sub_magnitudes): Likewise.
22866 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22867 powers of two in terms of TWOPOW macro.
22868 (mp_no): Make type of mantissa as MANTISSA_T.
22869 [!RADIXI]: Define RADIXI.
22870 [!TWO52]: Define TWO52.
22871 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22873 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22875 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22876 llroundl symbol when building for PPC32.
22878 2013-03-24 Mark H Weaver <mhw@netris.org>
22880 * manual/arith.texi (Normalization Functions): Fix prototypes for
22881 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22883 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22886 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22887 high value to check if expl overflow.
22888 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22889 to check for underflow and overflow.
22890 * math/libm-test.inc: Add exp test.
22892 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22895 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22898 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22900 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22903 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22905 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22906 wrap blocks consisting of several statements.
22908 * sysdeps/generic/math-tests.h: New file.
22909 * sysdeps/i386/fpu/math-tests.h: Likewise.
22910 * math/test-snan.c: Include it.
22911 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22913 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22916 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22917 (__ieee754_j0l): Do not improve calculations using cos of twice
22918 input for inputs above LDBL_MAX / 2.0L.
22919 (__ieee754_y0l): Likewise.
22920 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22921 (__ieee754_j1l): Do not improve calculations using cos of twice
22922 input for inputs above LDBL_MAX / 2.0L.
22923 (__ieee754_y1l): Likewise.
22924 * math/libm-test.inc (j0_test): Add another test.
22925 (j1_test): Likewise.
22926 (y0_test): Likewise.
22927 (y1_test): Likewise.
22928 * sysdeps/i386/fpu/libm-test-ulps: Update.
22930 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22932 * Rules ($(objpfx)bench-%.c): Include code from a C source
22935 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22938 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22939 imaginary part 1.0 and real part less than 0.5 specially.
22940 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22941 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22942 * math/libm-test.inc (cacos_test): Add more tests.
22943 (casin_test): Likewise.
22944 (casinh_test): Likewise.
22945 * sysdeps/i386/fpu/libm-test-ulps: Update.
22946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22948 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22950 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22951 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22953 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22955 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22956 * config.make.in (config-cflags-sse4): Remove variable.
22957 (config-cflags-avx): Likewise.
22958 (config-cflags-sse2avx): Likewise.
22959 (config-cflags-novzeroupper): Likewise.
22960 (config-asflags-i686): Likewise.
22961 (have-mfma4): Likewise.
22962 (have-as-vis3): Likewise.
22964 * configure.in (MIG): Do not AC_SUBST.
22965 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22966 (libc_cv_cc_sse4): Do not AC_SUBST.
22967 (libc_cv_cc_avx): Likewise.
22968 (libc_cv_cc_sse2avx): Likewise.
22969 (libc_cv_cc_novzeroupper): Likewise.
22970 (libc_cv_cc_fma4): Likewise.
22971 (libc_cv_as_i686): Likewise.
22972 (libc_cv_sparc_as_vis3): Likewise.
22973 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22975 (config-asflags-i686): Likewise.
22976 (config-cflags-avx): Likewise.
22977 (config-cflags-sse2avx): Likewise.
22978 (have-mfma4): Likewise.
22979 (config-cflags-novzeroupper): Likewise.
22980 * sysdeps/mach/configure.in (MIG): Likewise.
22981 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22982 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22984 (config-cflags-avx): Likewise.
22985 (config-cflags-sse2avx): Likewise.
22986 (have-mfma4): Likewise.
22987 (config-cflags-novzeroupper): Likewise.
22988 * configure: Regenerated.
22989 * sysdeps/i386/configure: Likewise.
22990 * sysdeps/mach/configure: Likewise.
22991 * sysdeps/sparc/configure: Likewise.
22992 * sysdeps/x86_64/configure: Likewise.
22994 2013-03-20 Roland McGrath <roland@hack.frob.com>
22997 * locale/programs/localedef.c (options): Put N_ translation marker
22998 on argument names, not just descriptions.
23000 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23002 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23004 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23007 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23009 2013-03-19 Roland McGrath <roland@hack.frob.com>
23011 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23012 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23013 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23014 [!BEFORE_ABORT] (before_abort): New function.
23015 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23016 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23017 (writev_for_fatal): New function.
23018 (WRITEV_FOR_FATAL): New macro; call that.
23019 (backtrace_and_maps): New function.
23020 (BEFORE_ABORT): New macro; call that.
23021 (struct str_list): Type removed.
23022 (__libc_message, __libc_fatal): Functions removed.
23023 Include <sysdeps/posix/libc_fatal.c> instead.
23025 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23027 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23029 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23032 2013-03-19 Andreas Schwab <schwab@suse.de>
23034 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23035 * sysdeps/gnu/configure: Regenerate.
23037 * configure.in: Substitute libc_cv_rtlddir.
23038 * configure: Regenerate.
23039 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23040 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23041 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23042 * elf/Makefile (install-others, CFLAGS-interp.c)
23043 (ldso_install, common-ldd-rewrite): Likewise.
23044 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23045 $(inst_slibdir)/$(rtld-installed-name).
23046 * scripts/rellns-sh: Add -p option.
23047 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23050 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23052 * manual/nptl.texi: Renamed to ...
23053 * manual/threads.texi: ... this.
23054 * manual/Makefile (chapters): Update.
23056 2013-03-18 Roland McGrath <roland@hack.frob.com>
23059 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23060 on argument names, not just descriptions.
23061 * malloc/memusagestat.c (options): Likewise.
23062 * nss/getent.c (options): Likewise.
23064 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23067 * iconv/iconv_prog.c (options): Put N_ translation marker
23068 on argument names, not just descriptions.
23069 * iconv/iconvconfig.c (options): Likewise.
23071 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23073 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23074 implementation which is faster on all x86_64 architectures.
23075 Tested on AMD, Intel Nehalem, SNB, IVB.
23076 * sysdeps/x86_64/strnlen.S: Likewise.
23078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23079 Remove all multiarch strlen and strnlen versions.
23080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23081 Remove strlen and strnlen related parts.
23083 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23084 Inline strlen part.
23085 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23087 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23088 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23089 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23090 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23091 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23092 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23094 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23096 * manual/memory.texi (Malloc Tunable Parameters):
23097 Sort parameters alphabetically. Add comments for missing entries.
23099 2013-03-17 David S. Miller <davem@davemloft.net>
23101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23103 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23106 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23107 for arguments at most half maximum finite value.
23108 * math/libm-test.inc (j0_test): Add more tests.
23109 (j1_test): Likewise.
23110 (y0_test): Likewise.
23111 (y1_test): Likewise.
23112 * sysdeps/i386/fpu/libm-test-ulps: Update.
23113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23116 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23117 1 / x and functions P and Q for arguments above 0x1p256L.
23118 (__ieee754_y0l): Likewise.
23119 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23120 (__ieee754_y1l): Likewise.
23121 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23122 (j1_test): Likewise.
23123 (y0_test): Likewise.
23124 (y1_test): Likewise.
23126 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23128 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23131 2013-03-15 Roland McGrath <roland@hack.frob.com>
23133 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23134 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23135 zero since it's initialized to EXEC_PAGESIZE.
23137 * sysdeps/unix/sysv/linux/ldsodefs.h
23138 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23139 * sysdeps/generic/ldsodefs.h: ... here.
23141 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23143 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23145 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23147 * math/test-snan.c: Renamed from
23148 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23149 * math/Makefile (tests): Add test-snan.
23150 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23153 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23154 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23156 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23157 __builtin_nan family of functions.
23158 * math/libm-test.inc (initialize): Initialize qnan_value with
23159 __builtin_nan family of functions.
23160 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23162 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23164 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23165 storage class. Initialize qNaN_var and sNaN_var with
23166 __builtin_nan and __builtin_nans families of functions,
23169 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23170 (sqrt_test): Remove duplicate test with qNaN input.
23171 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23172 (round_test, signbit_test, significand_test): Note missing +/-Inf
23173 as well as qNaN tests.
23175 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23176 qNaN_var. Fix a few strings, too.
23177 * math/libm-test.inc (nan_value): Rename to qnan_value.
23178 * math/gen-libm-test.pl (%beautify): Adjust to that.
23179 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23180 * math/test-misc.c (main): Likewise.
23181 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23182 to __qnan_bytes, and __qnan_union, respectively.
23183 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23185 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23186 and lqnanval, respectively.
23187 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23188 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23189 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23190 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23192 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23193 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23196 * math/test-misc.c (main): Fix copy'n'pastos.
23197 * misc/tst-efgcvt.c (special): Likewise.
23199 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23200 Remove declarations.
23202 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23204 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23205 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23206 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23207 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23209 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23211 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23212 macro to return vdso values correctly in IFUNC implementations.
23213 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23214 Optimization by using IFUNC.
23216 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23217 Richard Henderson <rth@redhat.com>
23218 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23220 * Makefile.in (bench): New target.
23221 * NEWS: Mention the benchmark framework.
23222 * Rules (bench): Likewise.
23223 (binaries-bench): Generate binaries for functions to
23225 * benchtests/Makefile: New makefile for benchmark tests.
23226 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23228 * benchtests/exp-inputs: New input file for EXP function.
23229 * benchtests/pow-inputs: New input file for POW function.
23230 * scripts/bench.pl: New script to generate source files for
23231 benchmark programs.
23233 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23235 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23236 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23237 computations on mantissa. Use macros for rounding and
23239 (denorm): Likewise.
23240 (__dbl_mp): Likewise.
23241 (add_magnitudes): Likewise.
23242 (sub_magnitudes): Likewise.
23245 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23246 powers of two in terms of TWOPOW macro.
23247 (mp_no): Make type of mantissa as MANTISSA_T.
23248 [!RADIXI]: Define RADIXI.
23249 [!TWO52]: Define TWO52.
23250 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23252 * manual/nptl.texi (cindex): Modify threads to pthreads.
23254 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23256 * sysdeps/x86_64/preconfigure: Regenerated.
23258 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23261 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23263 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23264 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23266 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23267 * math/libm-test.inc (j0_test): Do not allow one spurious
23268 underflow exception.
23269 (y1_test): Likewise.
23271 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23273 * manual/Makefile (chapters): Add nptl.
23274 * manual/debug.texi (Debugging Support): Add link to Threads
23276 * manual/nptl.texi: New file.
23278 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23280 2013-03-14 Petr Baudis <pasky@ucw.cz>
23282 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23283 for non-NULL pointer before the memory validity test. Pointed
23284 out by Holger Brunck <holger.brunck@keymile.com>.
23286 2013-03-13 Andreas Schwab <schwab@suse.de>
23288 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23291 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23293 * timezone/zic.c: Update from tzcode 2013b.
23295 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23297 * manual/install.texi (Configuring and compiling):
23298 Mention i686 and i586.
23299 * INSTALL: Regenerate.
23301 2013-03-12 Roland McGrath <roland@hack.frob.com>
23303 * sysdeps/init_array/elf-init.c: New file.
23305 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23306 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23308 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23309 __gmon_start__ as global, but as static with a .preinit_array pointer.
23310 * sysdeps/init_array/gmon-start.c: New file. Use that.
23311 * sysdeps/init_array/crti.S: New file, empty except for comments.
23312 * sysdeps/init_array/crtn.S: Likewise.
23314 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23316 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23319 Remove Prefer_SSE_for_memop.
23320 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23321 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23322 HAS_PREFER_SSE_FOR_MEMOP.
23323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23326 Remove bzero, memset ifunc support.
23327 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23328 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23329 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23330 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23332 2013-03-11 Andreas Schwab <schwab@suse.de>
23335 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23338 (GLIBC_2.16): Remove pthread_atfork.
23340 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23342 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23343 (ptestcases.h): Likewise.
23345 2013-03-08 Roland McGrath <roland@hack.frob.com>
23347 * Makeconfig ($(common-objpfx)config.status): Depend on
23348 sysdeps/*/preconfigure{,.in} too.
23350 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23352 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23353 (__free_hook): Use void * instead of __malloc_ptr_t.
23354 (__malloc_hook): Likewise.
23355 (__realloc_hook): Likewise.
23356 (__memalign_hook): Likewise.
23357 (__after_morecore_hook): Likewise.
23358 * malloc/arena.c (save_malloc_hook): Likewise.
23359 (save_free_hook): Likewise.
23360 * malloc/hooks.c (malloc_hook_ini): Likewise.
23361 (realloc_hook_ini): Likewise.
23362 (memalign_hook_ini): Likewise.
23363 * malloc/malloc.c (malloc_hook_ini): Likewise.
23364 (realloc_hook_ini): Likewise.
23365 (memalign_hook_ini): Likewise.
23366 (__free_hook): Likewise.
23367 (__malloc_hook): Likewise.
23368 (__realloc_hook): Likewise.
23369 (__memalign_hook): Likewise.
23370 (__libc_malloc): Likewise.
23371 (__libc_free): Likewise.
23372 (__libc_realloc): Likewise.
23373 (__libc_memalign): Likewise.
23374 (__libc_valloc): Likewise.
23375 (__libc_pvalloc): Likewise.
23376 (__libc_calloc): Likewise.
23377 (__posix_memalign): Likewise.
23378 * malloc/morecore.c (__sbrk): Likewise.
23379 (__default_morecore): Likewise.
23381 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23383 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23384 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23385 __malloc_ptrdiff_t.
23387 * malloc/malloc.h (__malloc_size_t): Remove macro.
23388 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23390 (old_memalign_hook): Likewise.
23391 (old_realloc_hook): Likewise.
23392 (struct hdr): Likewise.
23394 (mallochook): Likewise.
23395 (memalignhook): Likewise.
23396 (reallochook): Likewise.
23397 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23398 (tr_old_realloc_hook): Likewise.
23399 (tr_old_memalign_hook): Likewise.
23400 (tr_mallochook): Likewise.
23401 (tr_reallochook): Likewise.
23402 (tr_memalignhook): Likewise.
23404 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23407 default_ldbl_pack and using as default implementation.
23408 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23410 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23411 redundant definition.
23412 (ldbl_insert_mantissa): Likewise.
23413 (ldbl_canonicalize): Likewise.
23414 (ldbl_nearbyint): Likewise.
23415 (ldbl_pack): Rename to ldbl_pack_ppc.
23416 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23417 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23418 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23420 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23423 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23424 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23425 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23427 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23428 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23429 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23431 2013-03-07 Andreas Jaeger <aj@suse.de>
23433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23436 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23438 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23439 Include mpa.h and declare __MPEXP.
23440 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23441 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23442 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23443 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23444 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23445 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23446 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23448 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23449 (__slowpow): Use long double EXPL and LOGL functions to
23451 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23452 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23453 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23454 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23455 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23456 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23459 intermediate variable to calculate exponent.
23461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23465 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23466 [!NO__SQR]: Define __sqr.
23467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23468 and NO__SQR. Remove all code except __mul and __sqr. Include
23469 sysdeps/ieee754/dbl-64/mpa.c.
23470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23473 * posix/Makefile (tests): Add tst-pathconf.
23474 * posix/tst-pathconf.c: New test case.
23475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23477 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23479 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23481 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23483 2013-03-06 Andreas Jaeger <aj@suse.de>
23485 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23486 definition via __MAP_ANONYMOUS.
23488 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23489 it's not part of Linux headers.
23491 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23492 (MAP_HUGE_MASK): Define.
23494 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23496 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23497 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23499 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23500 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23507 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23508 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23509 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23510 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23511 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23512 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23514 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23517 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23518 Handle f2fs and efivarfs.
23520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23523 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23524 (EFIVARFS_MAGIC): Add.
23525 (F2FS_LINK_MAX): Add.
23527 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23529 * stdio-common/vfprintf.c: Replace __builtin_expect with
23532 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23535 * sysdeps/generic/bp-sym.h: Remove file.
23536 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23537 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23538 <bp-sym.h> and <bp-asm.h>.
23539 (__longjmp): Don't use BP_SYM.
23540 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23542 (memcpy): Don't use BP_SYM.
23543 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23544 <bp-sym.h> and <bp-asm.h>.
23545 (memcpy): Don't use BP_SYM.
23546 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23548 (memcpy): Don't use BP_SYM.
23549 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23551 (memset): Don't use BP_SYM.
23552 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23553 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23554 (__bzero): Don't use BP_SYM.
23555 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23556 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23557 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23558 <bp-sym.h> and <bp-asm.h>.
23559 (memcmp): Don't use BP_SYM. Remove comment about bounded
23561 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23562 <bp-sym.h> and <bp-asm.h>.
23563 (memcpy): Don't use BP_SYM.
23564 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23565 <bp-sym.h> and <bp-asm.h>.
23566 (memset): Don't use BP_SYM.
23567 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23568 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23569 (__bzero): Don't use BP_SYM.
23570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23572 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23573 <bp-sym.h> and <bp-asm.h>.
23574 (strncmp): Don't use BP_SYM. Remove comment about bounded
23576 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23577 <bp-sym.h> and <bp-asm.h>.
23578 (memcpy): Don't use BP_SYM.
23579 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23580 <bp-sym.h> and <bp-asm.h>.
23581 (memset): Don't use BP_SYM.
23582 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23583 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23584 (__bzero): Don't use BP_SYM.
23585 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23586 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23588 <bp-sym.h> and <bp-asm.h>.
23589 (__memchr): Don't use BP_SYM.
23590 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23591 <bp-sym.h> and <bp-asm.h>.
23592 (memcmp): Don't use BP_SYM. Remove comment about bounded
23594 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23595 <bp-sym.h> and <bp-asm.h>.
23596 (memcpy): Don't use BP_SYM.
23597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23598 <bp-sym.h> and <bp-asm.h>.
23599 (__mempcpy): Don't use BP_SYM.
23600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23601 <bp-sym.h> and <bp-asm.h>.
23602 (__memrchr): Don't use BP_SYM.
23603 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23604 <bp-sym.h> and <bp-asm.h>.
23605 (memset): Don't use BP_SYM.
23606 (__bzero): Likewise.
23607 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23608 <bp-sym.h> and <bp-asm.h>.
23609 (__rawmemchr): Don't use BP_SYM.
23610 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23611 <bp-sym.h> and <bp-asm.h>.
23612 (__STRCMP): Don't use BP_SYM.
23613 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23614 <bp-sym.h> and <bp-asm.h>.
23615 (strchr): Don't use BP_SYM.
23616 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23617 <bp-sym.h> and <bp-asm.h>.
23618 (__strchrnul): Don't use BP_SYM.
23619 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23620 <bp-sym.h> and <bp-asm.h>.
23621 (strlen): Don't use BP_SYM.
23622 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23623 <bp-sym.h> and <bp-asm.h>.
23624 (strncmp): Don't use BP_SYM. Remove comment about bounded
23626 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23627 <bp-sym.h> and <bp-asm.h>.
23628 (__strnlen): Don't use BP_SYM.
23629 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23630 <bp-sym.h> and <bp-asm.h>.
23631 (__GI__setjmp): Don't use BP_SYM.
23632 (_setjmp): Likewise.
23633 (__sigsetjmp): Likewise.
23634 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23635 (L(start_addresses)): Don't use BP_SYM.
23636 (_start): Likewise.
23637 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23639 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23640 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23641 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23642 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23643 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23645 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23646 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23647 about bounded pointers.
23648 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23649 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23650 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23652 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23653 about bounded pointers. Remove GKM FIXME comments.
23654 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23655 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23657 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23658 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23659 Remove GKM FIXME comments.
23660 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23661 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23662 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23664 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23665 about bounded pointers. Remove GKM FIXME comment.
23666 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23668 (strncmp): Don't use BP_SYM. Remove comment about bounded
23670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23671 <bp-sym.h> and <bp-asm.h>.
23672 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23674 <bp-sym.h> and <bp-asm.h>.
23675 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23678 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23680 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23683 2013-03-05 David S. Miller <davem@davemloft.net>
23685 * po/es.po: Update from translation team.
23687 2013-03-05 Andreas Jaeger <aj@suse.de>
23689 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23690 <bits/mman-linux.h>.
23691 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23693 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23694 <bits/mman-linux.h> to end of file.
23695 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23697 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23698 <bits/mman-linux.h> to end of file.
23699 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23701 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23702 <bits/mman-linux.h> to end of file.
23704 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23705 (MCL_CURRENT, MCL_FUTURE): Define here.
23707 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23712 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23714 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23716 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23717 fourth parameter needed for rt_sigprocmask syscall.
23718 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23719 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23720 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23721 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23722 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23723 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23725 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23728 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23729 comment about bounded pointers.
23730 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23731 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23733 2013-03-04 Andreas Jaeger <aj@suse.de>
23735 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23736 common definitions.
23738 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23739 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23740 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23741 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23742 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23745 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23748 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23749 __ieee754_sqrl instead of __sqrl.
23751 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23753 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23754 * sysdeps/powerpc/fpu_control.h: ... here.
23755 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23756 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23757 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23758 * sysdeps/powerpc/bits/mathinline.h: ... here.
23760 2013-03-01 Roland McGrath <roland@hack.frob.com>
23762 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23763 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23764 to just [NEED_DL_SYSINFO_DSO].
23765 * elf/dl-support.c: Likewise.
23766 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23767 * elf/rtld.c (dl_main): Likewise.
23768 * elf/setup-vdso.h (setup_vdso): Likewise.
23769 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23770 * sysdeps/unix/sysv/linux/dl-sysdep.c
23771 (_dl_discover_osversion): Likewise.
23773 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23775 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23776 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23778 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23780 * NEWS: Mention libm performance improvements and non-x86 PI
23783 * csu/libc-start.c (__pthread_initialize_minimal): Change
23784 function arguments.
23785 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23787 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23790 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23791 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23792 <bp-sym.h> and <bp-asm.h>.
23793 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23794 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23796 (memcpy): Don't use BP_SYM.
23797 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23799 (__mpn_add_n): Don't use BP_SYM.
23800 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23801 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23803 (__mpn_addmul_1): Don't use BP_SYM.
23804 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23805 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23807 (_setjmp): Don't use BP_SYM.
23808 (__novmx_setjmp): Likewise.
23809 (__GI__setjmp): Likewise.
23810 (__vmx_setjmp): Likewise.
23811 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23813 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23814 (__bzero): Don't use BP_SYM.
23815 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23816 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23817 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23818 <bp-sym.h> and <bp-asm.h>.
23819 (memcpy): Don't use BP_SYM.
23820 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23821 <bp-sym.h> and <bp-asm.h>.
23822 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23823 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23824 <bp-sym.h> and <bp-asm.h>.
23825 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23826 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23828 (__mpn_lshift): Don't use BP_SYM.
23829 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23830 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23832 (memset): Don't use BP_SYM.
23833 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23834 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23835 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23837 (__mpn_mul_1): Don't use BP_SYM.
23838 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23839 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23840 <bp-sym.h> and <bp-asm.h>.
23841 (memcmp): Don't use BP_SYM.
23842 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23843 <bp-sym.h> and <bp-asm.h>.
23844 (memcpy): Don't use BP_SYM.
23845 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23846 <bp-sym.h> and <bp-asm.h>.
23847 (memset): Don't use BP_SYM.
23848 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23849 <bp-sym.h> and <bp-asm.h>.
23850 (strncmp): Don't use BP_SYM.
23851 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23852 <bp-sym.h> and <bp-asm.h>.
23853 (memcpy): Don't use BP_SYM.
23854 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23855 <bp-sym.h> and <bp-asm.h>.
23856 (memset): Don't use BP_SYM.
23857 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23858 <bp-sym.h> and <bp-asm.h>.
23859 (__memchr): Don't use BP_SYM.
23860 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23861 <bp-sym.h> and <bp-asm.h>.
23862 (memcmp): Don't use BP_SYM.
23863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23864 <bp-sym.h> and <bp-asm.h>.
23865 (memcpy): Don't use BP_SYM.
23866 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23867 <bp-sym.h> and <bp-asm.h>.
23868 (__mempcpy): Don't use BP_SYM.
23869 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23870 <bp-sym.h> and <bp-asm.h>.
23871 (__memrchr): Don't use BP_SYM.
23872 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23873 <bp-sym.h> and <bp-asm.h>.
23874 (memset): Don't use BP_SYM.
23875 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23876 <bp-sym.h> and <bp-asm.h>.
23877 (__rawmemchr): Don't use BP_SYM.
23878 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23879 <bp-sym.h> and <bp-asm.h>.
23880 (__STRCMP): Don't use BP_SYM.
23881 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23882 <bp-sym.h> and <bp-asm.h>.
23883 (strchr): Don't use BP_SYM.
23884 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23885 <bp-sym.h> and <bp-asm.h>.
23886 (__strchrnul): Don't use BP_SYM.
23887 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23888 <bp-sym.h> and <bp-asm.h>.
23889 (strlen): Don't use BP_SYM.
23890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23891 <bp-sym.h> and <bp-asm.h>.
23892 (strncmp): Don't use BP_SYM.
23893 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23894 <bp-sym.h> and <bp-asm.h>.
23895 (__strnlen): Don't use BP_SYM.
23896 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23898 (__mpn_rshift): Don't use BP_SYM.
23899 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23900 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23901 <bp-sym.h> and <bp-asm.h>.
23902 (__sigsetjmp): Don't use BP_SYM.
23903 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23904 (L(start_addresses)): Don't use BP_SYM.
23905 (_start): Likewise.
23906 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23908 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23909 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23910 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23911 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23913 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23914 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23915 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23916 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23918 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23920 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23921 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23923 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23925 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23926 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23927 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23929 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23931 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23933 (strncmp): Don't use BP_SYM,
23934 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23936 (__mpn_sub_n): Don't use BP_SYM.
23937 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23938 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23940 (__mpn_submul_1): Don't use BP_SYM.
23941 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23943 <bp-sym.h> and <bp-asm.h>.
23944 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23946 <bp-sym.h> and <bp-asm.h>.
23947 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23950 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23953 Use ZK to minimize writes to Z.
23954 (sub_magnitudes): Simplify code a bit.
23955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23956 Use ZK to minimize writes to Z.
23957 (sub_magnitudes): Simplify code a bit.
23959 2013-02-27 Roland McGrath <roland@hack.frob.com>
23961 * csu/gmon-start.c: Add special exception to license text.
23963 2013-02-27 Richard Henderson <rth@redhat.com>
23965 * scripts/config.guess: Update from config.git.
23966 * scripts/config.sub: Likewise.
23968 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23970 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23972 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23974 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23976 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23978 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23980 2013-02-26 Roland McGrath <roland@hack.frob.com>
23982 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23983 [$(build-shared = yes].
23985 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23987 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23988 (__mul): Reduce iterations for calculating mantissa.
23990 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23992 (__mpranred): Likewise.
23995 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23996 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23998 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24000 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24001 Define __attribute__.
24003 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24005 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24007 * posix/regex_internal.h (__attribute): Remove.
24008 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24009 (re_string_context_at): Likewise.
24010 (bitset_not): Use __attribute__ and mark function as possibly
24012 (bitset_merge): Likewise.
24013 (bitset_mask): Likewise.
24014 (re_string_char_size_at): Likewise.
24015 (re_string_wchar_at): Likewise.
24016 (re_string_elem_size_at): Likewise.
24018 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24020 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24024 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24028 (denorm): Likewise.
24029 (__dbl_mp): Likewise.
24030 (add_magnitudes): Likewise.
24031 (sub_magnitudes): Likewise.
24035 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24038 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24041 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24045 up changes with default code.
24046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24049 2013-02-24 Allan McRae <allan@archlinux.org>
24051 * manual/socket.texi (The Internet Namespace): Order menu items
24052 to match that in the file.
24054 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24055 node listing of the info page menu.
24057 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24060 * sysdeps/i386/bp-asm.h: Remove file.
24061 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24062 (PARMS): Do not use macros from bp-asm.h.
24066 (__mpn_add_n): Do not use BP_SYM
24067 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24069 (PARMS): Do not use macros from bp-asm.h.
24072 (__mpn_addmul_1): Do not use BP_SYM
24073 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24075 (PARMS): Do not use macros from bp-asm.h.
24076 (SIGMSK): Likewise.
24077 (_setjmp): Likewise. Do not use BP_SYM.
24078 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24080 (PARMS): Do not use macros from bp-asm.h.
24081 (SIGMSK): Likewise.
24082 (setjmp): Likewise. Do not use BP_SYM.
24083 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24085 (PARMS): Do not use macros from bp-asm.h.
24086 (__frexp): Do not use BP_SYM.
24088 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24090 (PARMS): Do not use macros from bp-asm.h.
24091 (__frexpf): Do not use BP_SYM.
24092 (frexpf): Likewise.
24093 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24095 (PARMS): Do not use macros from bp-asm.h.
24096 (__frexpl): Do not use BP_SYM.
24097 (frexpl): Likewise.
24098 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24100 (PARMS): Do not use macros from bp-asm.h.
24101 (__remquo): Do not use BP_SYM.
24102 (remquo): Likewise.
24103 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24105 (PARMS): Do not use macros from bp-asm.h.
24106 (__remquof): Do not use BP_SYM.
24107 (remquof): Likewise.
24108 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24110 (PARMS): Do not use macros from bp-asm.h.
24111 (__remquol): Do not use BP_SYM.
24112 (remquol): Likewise.
24113 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24115 (PARMS): Do not use macros from bp-asm.h.
24118 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24119 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24121 (PARMS): Do not use macros from bp-asm.h.
24122 (strlen): Do not use BP_SYM.
24123 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24125 (PARMS): Do not use macros from bp-asm.h.
24129 (__mpn_add_n): Do not use BP_SYM.
24130 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24132 (PARMS): Do not use macros from bp-asm.h.
24135 (__mpn_addmul_1): Do not use BP_SYM.
24136 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24139 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24141 (PARMS): Do not use macros from bp-asm.h.
24144 (__mpn_lshift): Do not use BP_SYM.
24145 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24147 (PARMS): Do not use macros from bp-asm.h.
24151 (memcpy): Likewise. Do not use BP_SYM.
24152 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24153 libc_hidden_def and weak_alias.
24154 (mempcpy): Do not use BP_SYM in weak_alias.
24155 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24157 (PARMS): Do not use macros from bp-asm.h.
24160 [!BZERO_P] (CHR): Likewise.
24161 (memset): Likewise. Do not use BP_SYM.
24162 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24164 (PARMS): Do not use macros from bp-asm.h.
24167 (__mpn_mul_1): Do not use BP_SYM.
24168 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24170 (PARMS): Do not use macros from bp-asm.h.
24173 (__mpn_rshift): Do not use BP_SYM.
24174 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24176 (PARMS): Do not use macros from bp-asm.h.
24179 (strchr): Likewise. Do not use BP_SYM.
24180 (index): Do not use BP_SYM in weak_alias.
24181 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24183 (PARMS): Do not use macros from bp-asm.h.
24186 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24187 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24189 (PARMS): Do not use macros from bp-asm.h.
24190 (strlen): Do not use BP_SYM.
24191 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24193 (PARMS): Do not use macros from bp-asm.h.
24197 (__mpn_sub_n): Do not use BP_SYM.
24198 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24200 (PARMS): Do not use macros from bp-asm.h.
24203 (__mpn_submul_1): Do not use BP_SYM.
24204 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24206 (PARMS): Do not use macros from bp-asm.h.
24210 (__mpn_add_n): Do not use BP_SYM.
24211 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24214 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24216 (PARMS): Do not use macros from bp-asm.h.
24219 (memcmp): Do not use BP_SYM.
24220 (bcmp): Do not use BP_SYM in weak_alias.
24221 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24223 (PARMS): Do not use macros from bp-asm.h.
24227 (memcpy): Likewise. Do not use BP_SYM.
24228 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24230 (PARMS): Do not use macros from bp-asm.h.
24234 (memmove): Likewise. Do not use BP_SYM.
24235 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24237 (PARMS): Do not use macros from bp-asm.h.
24241 (__mempcpy): Likewise. Do not use BP_SYM.
24242 (mempcpy): Do not use BP_SYM in weak_alias.
24243 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24245 (PARMS): Do not use macros from bp-asm.h.
24248 [!BZERO_P] (CHR): Likewise.
24249 (memset): Likewise. Do not use BP_SYM.
24250 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24252 (PARMS): Do not use macros from bp-asm.h.
24254 (strcmp): Do not use BP_SYM.
24255 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24257 (PARMS): Do not use macros from bp-asm.h.
24260 [USE_AS_STRTOK_R] (SAVE): Likewise.
24261 (FUNCTION): Likewise. Do not use BP_SYM.
24262 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24264 (strtok_r): Likewise.
24265 (__GI___strtok_r): Likewise.
24266 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24267 (PARMS): Do not use macros from bp-asm.h.
24270 (__mpn_lshift): Do not use BP_SYM.
24271 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24272 (PARMS): Do not use macros from bp-asm.h.
24275 (__memchr): Do not use BP_SYM.
24276 (memchr): Do not use BP_SYM in weak_alias.
24277 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24278 (PARMS): Do not use macros from bp-asm.h.
24281 (memcmp): Do not use BP_SYM.
24282 (bcmp): Do not use BP_SYM in weak_alias.
24283 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24284 (PARMS): Do not use macros from bp-asm.h.
24287 (__mpn_mul_1): Do not use BP_SYM.
24288 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24290 (PARMS): Do not use macros from bp-asm.h.
24293 (__rawmemchr): Do not use BP_SYM.
24294 (rawmemchr): Do not use BP_SYM in weak_alias.
24295 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24296 (PARMS): Do not use macros from bp-asm.h.
24299 (__mpn_rshift): Do not use BP_SYM.
24300 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24301 (PARMS): Do not use macros from bp-asm.h.
24302 (SIGMSK): Likewise.
24303 (__sigsetjmp): Likewise. Do not use BP_SYM.
24304 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24305 (_start): Do not use BP_SYM.
24306 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24307 (PARMS): Do not use macros from bp-asm.h.
24310 (__stpcpy): Likewise. Do not use BP_SYM.
24311 (stpcpy): Do not use BP_SYM in weak_alias.
24312 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24314 (PARMS): Do not use macros from bp-asm.h.
24318 (__stpncpy): Likewise. Do not use BP_SYM.
24319 (stpncpy): Do not use BP_SYM in weak_alias.
24320 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24321 (PARMS): Do not use macros from bp-asm.h.
24324 (strchr): Likewise. Do not use BP_SYM.
24325 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24327 (PARMS): Do not use macros from bp-asm.h.
24330 (__strchrnul): Likewise. Do not use BP_SYM.
24331 (strchrnul): Do not use BP_SYM in weak_alias.
24332 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24334 (PARMS): Do not use macros from bp-asm.h.
24336 (strcspn): Do not use BP_SYM.
24337 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24339 (PARMS): Do not use macros from bp-asm.h.
24342 (strpbrk): Likewise. Do not use BP_SYM.
24343 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24345 (PARMS): Do not use macros from bp-asm.h.
24348 (strrchr): Likewise. Do not use BP_SYM.
24349 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24350 (PARMS): Do not use macros from bp-asm.h.
24352 (strspn): Do not use BP_SYM.
24353 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24354 (PARMS): Do not use macros from bp-asm.h.
24358 (FUNCTION): Likewise. Do not use BP_SYM.
24359 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24361 (strtok_r): Likewise.
24362 (__GI___strtok_r): Likewise.
24363 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24364 (PARMS): Do not use macros from bp-asm.h.
24368 (__mpn_sub_n): Do not use BP_SYM.
24369 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24371 (PARMS): Do not use macros from bp-asm.h.
24374 (__mpn_submul_1): Do not use BP_SYM.
24375 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24377 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24379 (PARMS): Do not use macros from bp-asm.h.
24384 (__clone): Do not use BP_SYM.
24385 (clone): Do not use BP_SYM in weak_alias.
24386 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24388 (PARMS): Do not use macros from bp-asm.h.
24390 (__mmap64): Do not use BP_SYM.
24391 (mmap64): Do not use BP_SYM in weak_alias.
24392 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24393 <bp-sym.h> and <bp-asm.h>.
24394 (PARMS): Do not use macros from bp-asm.h.
24395 (__posix_fadvise64_l64): Do not use BP_SYM.
24396 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24397 (PARMS): Do not use macros from bp-asm.h.
24399 (semtimedop): Do not use BP_SYM.
24400 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24403 2013-02-21 Allan McRae <allan@archlinux.org>
24405 * manual/message.texi (Charset conversion in gettext):
24406 Move @end statement to beginning of line.
24408 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24415 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24416 (denorm): Likewise.
24417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24420 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24422 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24423 tail-call to the resolved function if pltexit isn't needed.
24425 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24428 or Y being zero as being unlikely.
24429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24432 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24434 * manual/nss.texi (System Databases and Name Service Switch):
24435 Remove frobnicate @pxref.
24437 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24439 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24440 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24442 2013-02-20 Petr Machata <pmachata@redhat.com>
24444 * elf/elf.h (R_ARM_TARGET1): New macro.
24445 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24446 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24447 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24448 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24449 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24450 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24451 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24452 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24453 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24454 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24455 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24456 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24457 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24458 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24459 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24460 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24461 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24462 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24463 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24464 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24465 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24466 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24467 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24468 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24469 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24470 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24471 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24472 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24473 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24474 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24475 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24476 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24477 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24478 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24479 (R_ARM_THM_GOT_BREL12): Likewise.
24480 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24481 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24482 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24483 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24484 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24485 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24486 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24487 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24488 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24490 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24492 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24493 __attribute_used__ to __attribute__ ((unused)).
24495 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24497 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24500 comment formatting.
24501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24503 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24506 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24508 (ENTER): Remove both macro definitions.
24510 (CHECK_BOUNDS_LOW): Likewise.
24511 (CHECK_BOUNDS_HIGH): Likewise.
24512 (CHECK_BOUNDS_BOTH): Likewise.
24513 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24514 (RETURN_BOUNDED_POINTER): Likewise.
24515 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24516 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24517 (POP_ERRNO_LOCATION_RETURN): Likewise.
24518 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24520 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24522 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24523 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24524 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24525 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24526 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24527 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24528 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24529 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24530 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24531 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24532 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24533 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24534 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24535 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24537 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24538 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24540 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24541 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24542 * sysdeps/i386/i586/memset.S (memset): Likewise.
24543 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24544 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24545 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24547 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24548 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24549 Change uses of L(2) to L(out).
24550 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24551 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24552 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24553 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24554 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24556 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24557 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24559 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24560 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24561 (RETURN): Do not use macro LEAVE.
24562 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24563 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24564 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24565 * sysdeps/i386/i686/memset.S (memset): Likewise.
24566 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24567 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24568 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24569 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24571 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24572 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24573 L(1_2) and L(1_3) into L(1).
24574 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24575 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24576 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24577 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24578 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24579 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24580 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24581 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24582 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24584 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24585 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24586 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24587 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24588 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24589 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24590 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24591 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24592 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24593 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24594 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24595 * sysdeps/i386/strspn.S (strspn): Likewise.
24596 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24598 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24599 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24600 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24601 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24602 L(1_3) into L(1_1).
24603 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24604 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24605 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24607 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24609 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24611 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24614 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24616 * math/atest-exp.c (exp_mpn): Remove ROUND.
24617 * math/atest-exp2.c (exp_mpn): Likewise.
24618 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24620 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24621 * stdlib/tst-tls-atexit-lib.c: Likewise.
24622 * stdlib/tst-tls-atexit.c: Likewise.
24624 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24626 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24627 and __attribute_alloc_size__.
24629 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24631 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24632 __attribute_alloc_size__.
24633 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24634 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24636 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24638 * include/programs/xmalloc.h: New file.
24639 * catgets/gencat.c: Include it.
24640 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24641 * elf/pldd.c: Likewise.
24642 * iconv/iconv_charmap.c: Likewise.
24643 * iconv/iconvconfig.c: Likewise.
24644 * iconv/strtab.c: Likewise.
24645 * locale/programs/locale.c: Likewise.
24646 * locale/programs/localedef.h: Likewise.
24647 * locale/programs/simple-hash.c: Likewise.
24648 * nscd/nscd.h: Likewise.
24649 * nss/makedb.c: Likewise.
24650 * sysdeps/generic/ldconfig.h: Likewise.
24652 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24654 * Versions.def: Add GLIBC_2.18.
24655 * include/link.h (struct link_map): New member l_tls_dtor_count.
24656 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24657 (__call_tls_dtors): Likewise.
24658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24659 __cxa_thread_atexit_impl.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24676 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24677 (tests): Add test case tst-tls-atexit.
24678 (modules-names): Add shared library for tst-tls-atexit.
24679 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24680 (GLIBC_PRIVATE): Add __call_tls_dtors.
24681 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24683 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24684 * stdlib/tst-tls-atexit.c: New test case.
24685 * stdlib/tst-tls-atexit-lib.c: New test case.
24687 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24689 * elf/Versions (ld): Add _dl_find_dso_for_object.
24690 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24691 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24692 (dl_open_worker): Use _dl_find_dso_for_object.
24693 * elf/dl-sym.c (do_sym): Likewise.
24694 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24696 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24698 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24699 Syntactic changes only.
24700 (_dl_runtime_profile): Do a tail-call to the resolved function.
24702 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24705 * sysdeps/x86_64/bp-asm.h: Remove file.
24706 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24707 <bp-sym.h> and <bp-asm.h>.
24708 (__clone): Do not use BP_SYM.
24709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24710 <bp-sym.h> and <bp-asm.h>.
24711 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24712 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24714 (_setjmp): Do not use BP_SYM.
24715 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24717 (setjmp): Do not use BP_SYM.
24718 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24720 (mempcpy): Do not use BP_SYM in weak_alias.
24721 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24723 (strchr): Do not use BP_SYM.
24724 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24726 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24727 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24728 (_start): Do not use BP_SYM.
24729 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24731 (strcat): Do not use BP_SYM.
24732 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24734 (STRCMP): Do not use BP_SYM.
24735 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24737 (STRCPY): Do not use BP_SYM.
24738 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24740 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24742 (FUNCTION): Do not use BP_SYM.
24743 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24745 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24747 2013-02-17 Andreas Jaeger <aj@suse.de>
24749 * time/Versions: Sort entries.
24750 * string/Versions: Likewise.
24751 * resolv/Versions: Likewise.
24752 * posix/Versions: Likewise.
24753 * iconv/Versions: Likewise.
24754 * elf/Versions: Likewise.
24755 * wcsmbs/Versions: Likewise.
24757 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24759 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24760 loop termination condition.
24762 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24763 variable to calculate EZ.
24766 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24767 the lower precision input.
24769 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24772 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24773 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24774 (run-via-rtld-prefix): Do not handle %-bp tests.
24775 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24776 (all-object-suffixes): Remove .ob.
24777 (bppfx): Remove variable.
24778 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24779 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24780 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24781 [$(build-bounded) = yes] (libtype.ob): Likewise.
24782 * Makerules (elide-routines.ob): Remove variable.
24783 (do-tests-clean): Do not handle *-bp.out.
24784 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24785 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24786 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24787 (tests): Do not include $(tests-bp.out).
24788 (xtests): Do not include $(xtests-bp.out).
24789 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24790 [$(build-bounded) = yes] ($(addprefix
24791 $(objpfx),$(binaries-bounded))): Remove rule.
24792 ($(objpfx)%-bp.out): Remove rule.
24793 * config.make.in (build-bounded): Remove variable.
24794 * crypt/Makefile [$(build-bounded) = yes]
24795 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24796 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24797 append to variable.
24798 [$(build-bounded) = yes] (install-lib): Likewise.
24799 [$(build-bounded) = yes] (generated): Likewise.
24800 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24802 * intl/Makefile [$(build-bounded) = yes]
24803 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24804 * math/Makefile [$(build-bounded) = yes]
24805 ($(tests:%=$(objpfx)%-bp): Likewise.
24806 * misc/Makefile [$(build-bounded) = yes]
24807 ($(objpfx)tst-tsearch-bp): Likewise.
24808 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24809 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24811 * string/Makefile (o-objects.ob): Remove variable.
24812 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24813 (CFLAGS-.ob): Remove variable.
24814 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24815 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24816 both definitions of variable.
24817 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24818 (ASFLAGS-.ob): Remove variable.
24820 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24823 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24824 Remove __BOUNDED_POINTERS__ from condition.
24825 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24826 * string/bits/string2.h [!__NO_STRING_INLINES &&
24827 !__BOUNDED_POINTERS__]: Likewise.
24828 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24830 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24831 Remove conditional code.
24832 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24833 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24834 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24838 * csu/libc-start.c: Do not include <bp-sym.h>.
24839 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24840 * elf/dl-open.c: Do not include <bp-sym.h>.
24841 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24842 * math/fegetenv.c: Do not include <bp-sym.h>.
24843 (fegetenv): Do not use BP_SYM in versioned symbols.
24844 * nptl/sysdeps/pthread/bits/libc-lockP.h
24845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24848 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24850 (__pthread_mutex_destroy): Likewise.
24851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24852 (__pthread_mutex_lock): Likewise.
24853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24854 (__pthread_mutex_trylock): Likewise.
24855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24856 (__pthread_mutex_unlock): Likewise.
24857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24858 (__pthread_mutexattr_init): Likewise.
24859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24860 (__pthread_mutexattr_destroy): Likewise.
24861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24862 (__pthread_mutexattr_settype): Likewise.
24863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24864 (__pthread_rwlock_init): Likewise.
24865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24866 (__pthread_rwlock_destroy): Likewise.
24867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24868 (__pthread_rwlock_rdlock): Likewise.
24869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24870 (__pthread_rwlock_tryrdlock): Likewise.
24871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24872 (__pthread_rwlock_wrlock): Likewise.
24873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24874 (__pthread_rwlock_trywrlock): Likewise.
24875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24876 (__pthread_rwlock_unlock): Likewise.
24877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24878 (__pthread_key_create): Likewise.
24879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24880 (__pthread_setspecific): Likewise.
24881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24882 (__pthread_getspecific): Likewise.
24883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24886 (_pthread_cleanup_push_defer): Likewise.
24887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24888 (_pthread_cleanup_pop_restore): Likewise.
24889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24890 (pthread_setcancelstate): Likewise.
24891 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24893 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24894 (memchr): Do not use BP_SYM in weak_alias.
24895 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24896 (fegetenv): Do not use BP_SYM in versioned symbols.
24897 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24898 (fesetenv): Do not use BP_SYM in versioned symbols.
24899 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24900 (feupdateenv): Do not use BP_SYM in versioned symbols.
24901 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24902 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24903 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24904 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24905 (open64): Do not use BP_SYM in weak_alias.
24906 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24907 (fegetenv): Do not use BP_SYM in versioned symbols.
24908 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24909 (fesetenv): Do not use BP_SYM in versioned symbols.
24910 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24911 (feupdateenv): Do not use BP_SYM in versioned symbols.
24912 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24913 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24914 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24915 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24916 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24917 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24918 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24920 (__libc_start_main): Do not use BP_SYM.
24922 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24925 redundant return line.
24927 (denorm): Likewise.
24928 (dbl_mp): Likewise.
24929 (sub_magnitudes): Likewise.
24935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24937 (denorm): Likewise.
24938 (dbl_mp): Likewise.
24939 (sub_magnitudes): Likewise.
24946 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24948 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24949 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24952 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24953 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24955 of __mul for squares.
24956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24960 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24961 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24963 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24966 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24968 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24969 prototype or function definition. Rename ubp_* variables and
24970 parameters. Remove argv definitions conditional on
24971 [__BOUNDED_POINTERS__].
24972 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24973 * elf/dl-runtime.c (_dl_fixup): Likewise.
24974 * include/set-hooks.h (RUN_HOOK): Likewise.
24975 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24977 * string/strcpy.c (strcpy): Do not use __unbounded.
24978 * sysdeps/generic/frame.h (struct layout): Likewise.
24979 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24980 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24981 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24982 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24983 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24984 (__backtrace): Likewise.
24985 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24987 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24988 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24989 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24991 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24992 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24993 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24994 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24995 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24996 Do not use __unbounded.
24997 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24998 Rename __unboundedrlimits parameter to rlimits in prototype.
24999 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25000 Do not use __unbounded.
25001 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25002 not use __ptrvalue.
25003 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25004 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25005 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25006 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25007 __ptrvalue or __unbounded.
25008 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25009 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25011 (__new_msgctl): Do not use __ptrvalue.
25012 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25014 (__libc_msgrcv): Do not use __ptrvalue.
25015 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25016 startup_info): Do not use __unbounded.
25017 (__libc_start_main): Likewise. Rename ubp_* variables and
25018 parameters. Remove argv definitions conditional on
25019 [__BOUNDED_POINTERS__].
25020 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25022 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25024 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25026 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25028 (__new_shmctl): Do not use __ptrvalue.
25029 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25030 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25032 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25033 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25034 (__libc_sigaction): Likewise.
25035 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25036 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25038 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25040 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25042 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25044 * string/mempcpy.c: Implement by calling memcpy.
25046 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25053 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25054 values in the mantissa.
25056 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25057 minimize writes to Z.
25058 (sub_magnitudes): Simplify code a bit.
25060 2013-02-12 Roland McGrath <roland@hack.frob.com>
25062 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25063 from the message. The linker prefixes all warnings with that already.
25065 2013-02-12 Andreas Schwab <schwab@suse.de>
25068 * posix/regexec.c (extend_buffers): Add parameter min_len.
25069 (check_matching): Pass minimum needed length.
25070 (clean_state_log_if_needed): Likewise.
25071 (get_subexp): Likewise.
25072 * posix/Makefile (tests): Add bug-regex34.
25073 (bug-regex34-ENV): Define.
25074 * posix/bug-regex34.c: New file.
25077 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25078 elements compare against the byte sequence of it, not its name.
25079 * posix/Makefile (tests): Add bug-regex35.
25080 (bug-regex35-ENV): Define.
25081 * posix/bug-regex35.c: New file.
25083 2013-02-11 Tom de Vries <tom@codesourcery.com>
25085 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25087 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25088 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25089 (CHECK_EOL): Add undef.
25091 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25093 * bits/stdlib-bsearch.h: New file.
25094 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25095 * stdlib/stdlib.h: Likewise.
25097 2013-02-11 Roland McGrath <roland@hack.frob.com>
25099 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25100 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25102 * manual/search.texi (Array Search Function): Add missing const in
25104 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25105 declaration to use rlim_t.
25106 (Basic Scheduling Functions): Remove erroneous const from
25107 sched_getparam prototype. Remove erroneous * from
25108 sched_get_priority_max and sched_get_priority_min prototypes.
25109 (Resource Usage): Fix summary @comment on vtimes to refer to
25110 sys/vtimes.h rather than vtimes.h.
25111 Add missing *s in vtimes prototype.
25112 (Limits on Resources): Fix ulimit prototype to return long int.
25113 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25114 prototypes to use long int rather than double.
25115 (BSD Random): Fix initstate and setstate to use char *, not void *.
25116 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25117 prototype to make second argument 'struct aiocb64 *const[]'.
25118 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25119 (Status of AIO Operations): Remove erroneous const in aio_return and
25120 aio_return64 prototypes.
25121 (Synchronizing I/O): Fix sync prototype to return void.
25122 * manual/startup.texi (Suboptions): Remove an erroneous const in
25123 getsubopt prototype.
25124 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25125 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25126 use size_t rather than int.
25127 (Scanning All Users): Likewise for getpwent_r.
25128 (Setting Groups): Add missing const to setgroups prototype.
25129 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25130 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25131 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25132 'const void *' rather than 'const char *'.
25133 (Host Address Functions): Likewise for inet_ntop.
25134 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25135 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25136 ssize_t for return value.
25137 (Sending Data): Likewise for send, sendto, sendmsg.
25138 (Socket Option Functions): Add a missing const in setsockopt prototype.
25139 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25140 use wchar_t for the argument.
25141 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25142 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25144 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25145 double/float/long double for second argument.
25146 Fix return types of significand, significandf, significandl.
25147 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25148 argument in fchmod prototype.
25149 (File Owner): Use uid_t and gid_t in fchown prototype.
25150 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25151 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25152 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25153 use 'const struct dirent **' as argument types to CMP function pointer
25155 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25156 (File Times): Fix summary magic @comment for struct utimbuf and utime
25157 to refer to utime.h, not time.h.
25158 * manual/string.texi (Argz Functions): Add missing const in
25159 argz_extract and argz_next prototypes.
25160 (Finding Tokens in a String): Likewise for basename.
25161 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25162 (Copying and Concatenation): Fix typo in wmemmove prototype.
25163 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25164 (Signal Stack): Remove erroneous const in sigstack prototype.
25165 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25167 (Simple Calendar Time): Likewise for stime.
25168 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25170 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25171 say sys/sysctl.h instead.
25172 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25173 and vsyslog prototypes.
25175 2013-02-11 Tom de Vries <tom@codesourcery.com>
25177 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25180 2013-02-11 Roland McGrath <roland@hack.frob.com>
25182 * misc/sys/mman.h: Fix typo in mremap comment.
25184 2013-02-08 Roland McGrath <roland@hack.frob.com>
25186 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25187 the '\0' terminator.
25189 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25192 * debug/segfault.c: Don't include <bp-checks.h>.
25193 * sysdeps/generic/bp-checks.h: Remove file.
25194 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25195 (__GETDENTS): Don't use CHECK_N.
25196 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25197 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25198 (__getgroups): Don't use CHECK_N.
25199 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25200 (setgroups): Don't use CHECK_N.
25201 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25202 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25203 (__libc_msgrcv): Don't use CHECK_N.
25204 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25205 (__libc_msgsnd): Don't use CHECK_N.
25206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25208 (__libc_pread): Don't use CHECK_N.
25209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25210 include <bp-checks.h>.
25211 (__libc_pread64): Don't use CHECK_N.
25212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25213 include <bp-checks.h>.
25214 (__libc_pwrite): Don't use CHECK_N.
25215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25216 include <bp-checks.h>.
25217 (__libc_pwrite64): Don't use CHECK_N.
25218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25220 (__libc_pread): Don't use CHECK_N.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25222 include <bp-checks.h>.
25223 (__libc_pread64): Don't use CHECK_N.
25224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25225 include <bp-checks.h>.
25226 (__libc_pwrite): Don't use CHECK_N.
25227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25228 include <bp-checks.h>.
25229 (__libc_pwrite64): Don't use CHECK_N.
25230 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25231 (do_pread): Don't use CHECK_N.
25232 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25233 (do_pread64): Don't use CHECK_N.
25234 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25235 (do_pwrite): Don't use CHECK_N.
25236 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25237 (do_pwrite64): Don't use CHECK_N.
25238 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25239 (__libc_readv): Don't use CHECK_N.
25240 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25241 (semop): Don't use CHECK_N.
25242 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25244 (semtimedop): Don't use CHECK_N.
25245 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25246 (__libc_pread): Don't use CHECK_N.
25247 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25249 (__libc_pread64): Don't use CHECK_N.
25250 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25252 (__libc_pwrite): Don't use CHECK_N.
25253 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25255 (__libc_pwrite64): Don't use CHECK_N.
25256 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25258 (__libc_msgrcv): Don't use CHECK_N.
25259 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25260 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25261 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25262 (__libc_writev): Don't use CHECK_N.
25264 2013-02-08 Roland McGrath <roland@hack.frob.com>
25266 * string/strcpy.c: Removed unused variable.
25268 * Makeconfig (+sysdep-includes): Define with := rather than =.
25269 Use an existing include/ subdir of each sysdeps dir before it.
25271 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25273 * nscd/connection.c (register_traced_file): Comment function.
25274 [HAVE_INOTIFY] (union __inev): Define.
25275 [HAVE_INOTIFY] (inotify_check_files): New function.
25276 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25277 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25279 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25281 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25283 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25284 loaded if not already and that a failure is permanent.
25286 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25289 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25290 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25292 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25295 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25296 (CHECK_1_NULL_OK): Likewise.
25297 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25298 (__fxstat): Do not use CHECK_1.
25299 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25301 (___fxstat64): Do not use CHECK_1.
25302 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25304 (__fxstatat): Do not use CHECK_1.
25305 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25307 (__fxstatat64): Do not use CHECK_1.
25308 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25310 (__fxstat): Do not use CHECK_1.
25311 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25313 (__fxstatat): Do not use CHECK_1.
25314 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25316 (__getresgid): Do not use CHECK_1.
25317 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25319 (__getresuid): Do not use CHECK_1.
25320 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25322 (__lxstat): Do not use CHECK_1.
25323 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25325 (__old_msgctl): Do not use CHECK_1.
25326 (__new_msgctl): Likewise.
25327 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25329 (__new_setrlimit): Do not use CHECK_1.
25330 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25332 (__old_shmctl): Do not use CHECK_1.
25333 (__new_shmctl): Likewise.
25334 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25336 (__xstat): Do not use CHECK_1.
25337 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25338 (__lxstat): Do not use CHECK_1.
25339 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25341 (___lxstat64): Do not use CHECK_1.
25342 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25343 (__old_msgctl): Do not use CHECK_1.
25344 (__new_msgctl): Likewise.
25345 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25347 (__gettimeofday): Do not use CHECK_1.
25348 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25349 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25350 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25352 (__gettimeofday): Do not use CHECK_1.
25353 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25354 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25355 (__new_shmctl): Do not use CHECK_1.
25356 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25358 (do_sigtimedwait): Do not use CHECK_1.
25359 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25361 (do_sigwaitinfo): Do not use CHECK_1.
25362 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25364 (msgctl): Do not use CHECK_1.
25365 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25367 (shmctl): Do not use CHECK_1.
25368 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25369 (ustat): Do not use CHECK_1.
25370 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25372 (__fxstat): Do not use CHECK_1.
25373 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25375 (__fxstatat): Do not use CHECK_1.
25376 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25378 (__lxstat): Do not use CHECK_1.
25379 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25381 (__xstat): Do not use CHECK_1.
25382 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25383 (__xstat): Do not use CHECK_1.
25384 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25385 (___xstat64): Do not use CHECK_1.
25388 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25390 (CHECK_BOUNDS_HIGH): Likewise.
25391 * string/strcpy.c: Do not include <bp-checks.h>.
25392 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25394 2013-02-07 Roland McGrath <roland@hack.frob.com>
25396 * nscd/nscd-client.h (__nscd_drop_map_ref):
25397 Add __attribute__ ((unused)).
25398 * nis/nss-nisplus.h (niserr2nss): Likewise.
25400 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25401 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25403 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25404 Remove inline keyword.
25405 * include/rounding-mode.h (round_away): Likewise.
25406 * libio/wfileops.c (adjust_wide_data): Likewise.
25407 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25408 (__m128i_strloadu_tolower): Likewise.
25409 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25410 (__m128i_strloadu_tolower): Likewise.
25411 * time/mktime.c (ydhms_diff): Likewise.
25412 * locale/elem-hash.h (elem_hash): Likewise.
25413 * locale/setlocale.c (setdata): Likewise.
25414 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25415 (re_string_wchar_at): Likewise.
25416 (bitset_not, bitset_merge, bitset_mask): Likewise.
25417 [!(__GNUC__ > 3)] (inline): Remove macro.
25418 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25419 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25420 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25421 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25422 * string/memcmp.c (memcmp_bytes): Likewise.
25423 * locale/programs/locarchive.c (compute_hashval): Likewise.
25424 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25425 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25426 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25427 * nss/getent.c (print_rpc, print_protocols): Likewise.
25428 (print_passwd, print_group, print_aliases): Likewise.
25429 * nis/nss-nisplus.h (niserr2nss): Likewise.
25430 * nscd/connections.c (restart_p): Likewise.
25431 Change return type to bool.
25433 2013-02-05 Roland McGrath <roland@hack.frob.com>
25435 * Makeconfig (all-Depend-files): Add existing
25436 $(sorted-subdirs:=/Depend) files.
25437 (all-subdirs): Remove nss.
25438 * sysdeps/unix/inet/Subdirs: Add it here instead.
25439 * hesiod/Depend: New file.
25441 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25442 instead of calling alloca.
25444 * io/lseek.c (__lseek): Rename to __libc_lseek.
25445 Define __lseek as an alias.
25447 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25449 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25451 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25452 else clause and remove check for non-standard endianness.
25454 2013-02-04 David S. Miller <davem@davemloft.net>
25456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25458 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25461 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25462 (__ubp_memchr): Remove prototype.
25463 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25464 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25465 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25466 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25467 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25469 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25470 (__ubp_memchr): Likewise.
25471 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25472 (__ubp_memchr): Likewise.
25473 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25474 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25475 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25476 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25478 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25479 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25480 (__getcwd): Do not use CHECK_STRING.
25481 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25483 (__real_chown): Do not use CHECK_STRING.
25484 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25486 (fchownat): Do not use CHECK_STRING.
25487 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25489 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25491 (__lchown): Do not use CHECK_STRING.
25492 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25493 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25494 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25495 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25497 include <bp-checks.h>.
25498 (truncate64): Do not use CHECK_STRING.
25499 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25501 (__real_chown): Do not use CHECK_STRING.
25502 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25504 (__lchown): Do not use CHECK_STRING.
25505 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25507 (__chown): Do not use CHECK_STRING.
25508 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25510 (truncate64): Do not use CHECK_STRING.
25511 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25513 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25514 (__xmknod): Do not use CHECK_STRING.
25515 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25517 (__xmknodat): Do not use CHECK_STRING.
25518 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25519 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25521 2013-02-04 Andreas Schwab <schwab@suse.de>
25524 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25525 * include/netdb.h: Likewise for h_errno.
25526 * elf/tst-stackguard1.c: Include <tls.h>.
25528 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25530 * elf/link.h (struct link_map): Extend the l_addr comment.
25531 * include/link.h (struct link_map): Likewise.
25533 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25536 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25537 (BOUNDED_1): Remove macro.
25538 * debug/backtrace.c: Don't include <bp-checks.h>.
25539 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25540 (__backtrace): Likewise.
25541 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25543 (__backtrace): Don't use BOUNDED_1.
25544 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25546 (__backtrace): Don't use BOUNDED_1.
25547 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25548 (__backtrace): Don't use BOUNDED_1.
25549 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25550 (shmat): Don't use BOUNDED_N.
25552 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25555 * sysdeps/generic/bp-start.h: Remove file.
25556 * csu/libc-start.c: Don't include <bp-start.h>.
25557 (LIBC_START_MAIN): Set up __environ directly instead of using
25558 INIT_ARGV_and_ENVIRON.
25559 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25563 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25565 (CHECK_FCNTL): Likewise.
25566 (CHECK_N_PAGES): Likewise.
25569 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25571 (CHECK_SIGSET_NULL_OK): Likewise.
25572 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25574 (sigpending): Don't use CHECK_SIGSET.
25575 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25577 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25578 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25580 (do_sigsuspend): Don't use CHECK_SIGSET.
25581 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25583 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25584 (do_sigwait): Don't use CHECK_SIGSET.
25585 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25588 include <bp-checks.h>.
25589 (sigpending): Don't use CHECK_SIGSET.
25590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25591 include <bp-checks.h>.
25592 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25593 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25595 (sigpending): Don't use CHECK_SIGSET.
25596 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25598 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25601 * sysdeps/generic/bp-semctl.h: Remove file.
25602 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25603 <bp-checks.h> and <bp-semctl.h>.
25604 (__old_semctl): Don't use CHECK_SEMCTL.
25605 (__new_semctl): Likewise.
25606 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25608 (__old_semctl): Don't use CHECK_SEMCTL.
25609 (__new_semctl): Likewise.
25610 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25611 <bp-checks.h> and <bp-semctl.h>.
25612 (__old_semctl): Don't use CHECK_SEMCTL.
25613 (__new_semctl): Likewise.
25614 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25615 <bp-checks.h> and <bp-semctl.h>.
25616 (semctl): Don't use CHECK_SEMCTL.
25619 * Makerules (elide-bp-thunks): Remove variable.
25620 (elide-routines.oS): Don't use $(elide-bp-thunks).
25621 (elide-routines.os): Likewise.
25622 (elide-routines.o): Likewise.
25623 (elide-routines.op): Likewise.
25624 (elide-routines.og): Likewise.
25625 (objects): Don't use $(bp-thunks).
25626 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25628 (common-generated): Do not add s-proto-bp.d.
25629 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25632 Do not generate makefile rules for bounded-pointer thunks.
25633 * sysdeps/generic/bp-thunks.h: Remove file.
25634 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25635 * sysdeps/unix/s-proto-bp.S: Likewise.
25638 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25639 parts of result separately when argument is not close to line from
25640 -i to i and one part of argument is small.
25641 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25642 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25643 * math/libm-test.inc (cacos_test): Add more tests.
25644 (casin_test): Likewise.
25645 (casinh_test): Likewise.
25646 * sysdeps/i386/fpu/libm-test-ulps: Update.
25647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25649 2013-01-31 David S. Miller <davem@davemloft.net>
25651 * po/de.po: Update from translation team.
25653 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25655 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25657 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25659 * configure.in (_AC_PROG_CC_C89): New definition.
25660 * configure: Regenerate.
25662 * configure.in (AC_PROG_CPP): New definition.
25663 * configure: Regenerate.
25665 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25667 * debug/tst-backtrace.h: New file.
25668 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25669 (ret): Remove variable.
25671 (FAIL): Remove macro.
25672 (NO_INLINE): Likewise.
25673 (fn1): Use match function instead of strstr.
25674 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25675 (ret): Remove variable.
25677 (FAIL): Remove macro.
25678 (NO_INLINE): Likewise.
25679 (fn): Use match function instead of strstr.
25680 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25681 (ret): Remove variable.
25683 (FAIL): Remove macro.
25684 (NO_INLINE): Likewise.
25685 (handle_signal): Use match function instead of strstr.
25686 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25687 (ret): Remove variable.
25689 (FAIL): Remove macro.
25690 (NO_INLINE): Likewise.
25691 (handle_signal): Use match function instead of strstr.
25693 2013-01-23 Roland McGrath <roland@hack.frob.com>
25695 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25697 2013-01-23 David S. Miller <davem@davemloft.net>
25699 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25700 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25701 argument of CAS if possible.
25702 * sysdeps/sparc/sparc64/bits/atomic.h
25703 (__arch_compare_and_exchange_val_32_acq): Likewise.
25704 (__arch_compare_and_exchange_val_64_acq): Likewise.
25706 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25708 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25709 * sysdeps/posix/ulimit.c: ... this.
25710 Include <limits.h>.
25711 * sysdeps/unix/bsd/ulimit.c: Remove file.
25713 2013-01-23 Adam Conrad <adconrad@0c3.net>
25715 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25716 (LDFLAGS-tst-array5): Likewise.
25718 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25721 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25722 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25723 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25724 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25726 2013-01-21 David S. Miller <davem@davemloft.net>
25728 * sysdeps/sparc/backtrace.c: New file.
25729 * sysdeps/sparc/sparc32/backtrace.h: New file.
25730 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25731 * sysdeps/sparc/sparc64/backtrace.h: New file.
25732 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25733 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25736 2013-01-21 Andreas Schwab <schwab@suse.de>
25739 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25742 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25748 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25749 Mark Mitchell <mark@codesourcery.com>
25750 Tom de Vries <tom@codesourcery.com>
25751 Paul Pluzhnikov <ppluzhnikov@google.com>
25753 * debug/tst-backtrace2.c: New file.
25754 * debug/tst-backtrace3.c: Likewise.
25755 * debug/tst-backtrace4.c: Likewise.
25756 * debug/tst-backtrace5.c: Likewise.
25757 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25758 (CFLAGS-tst-backtrace3.c): Likewise.
25759 (CFLAGS-tst-backtrace4.c): Likewise.
25760 (CFLAGS-tst-backtrace5.c): Likewise.
25761 (LDFLAGS-tst-backtrace2): Likewise.
25762 (LDFLAGS-tst-backtrace3): Likewise.
25763 (LDFLAGS-tst-backtrace4): Likewise.
25764 (LDFLAGS-tst-backtrace5): Likewise.
25765 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25766 tst-backtrace4 and tst-backtrace5.
25768 2013-01-18 Anton Blanchard <anton@samba.org>
25769 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25771 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25772 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25773 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25774 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25776 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25777 "+r" and remove output regs list as redundant. Add explicit inline
25778 asm to specify register of return val to work around compiler codegen
25779 bug. Remove (int) cast on return value. Add return type parameter to
25780 use in macro so that this macro does not truncate return value for
25782 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25783 pass to INTERNAL_VSYSCALL_NCS.
25784 (INLINE_VSYSCALL): Add 'long int' as return type to
25785 INTERNAL_VSYSCALL_NCS macro invocation.
25786 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25787 INTERNAL_VSYSCALL_NCS macro invocation.
25788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25790 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25793 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25794 Fix application of SIMD FP exception mask.
25796 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25797 mp_no from a power of two.
25798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25799 __mpexp_twomm1. Use __pow_mp.
25801 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25804 2013-01-17 David S. Miller <davem@davemloft.net>
25806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25808 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25811 * include/complex.h: Condition contents on [!_COMPLEX_H].
25812 (__kernel_casinhf): New prototype.
25813 (__kernel_casinh): Likewise.
25814 (__kernel_casinhl): Likewise.
25815 * math/Makefile (libm_calls): Add k_casinh.
25816 * math/k_casinh.c: New file.
25817 * math/k_casinhf.c: Likewise.
25818 * math/k_casinhl.c: Likewise.
25819 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25820 finite nonzero arguments.
25821 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25822 finite nonzero arguments.
25823 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25824 finite nonzero arguments.
25825 * math/s_casinh.c: Do not include <float.h>.
25826 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25827 * math/s_casinhf.c: Do not include <float.h>.
25828 (__casinhf): Move code for finite nonzero arguments to
25830 * math/s_casinhl.c: Do not include <float.h>.
25831 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25833 (__casinhl): Move code for finite nonzero arguments to
25835 * math/libm-test.inc (cacos_test): Add more tests.
25836 * sysdeps/i386/fpu/libm-test-ulps: Update.
25837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25839 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25841 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25842 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25843 [!HAVE_MREMAP]: Remove [defined linux] case.
25844 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25846 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25848 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25850 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25852 * elf/elf.h (R_386_SIZE32): New relocation.
25853 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25855 (elf_machine_rela): Likewise.
25856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25857 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25859 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25861 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25862 (FP_FAST_FMA): Do not define.
25863 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25864 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25865 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25866 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25867 !_SOFT_FLOAT]: Likewise.
25868 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25869 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25872 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25873 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25874 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25875 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25876 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25879 2013-01-16 Andreas Schwab <schwab@suse.de>
25882 * include/stdlib.h (__mktemp): Add declaration.
25883 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25884 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25886 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25888 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25890 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25891 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25892 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25894 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25895 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25897 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25899 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25900 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25901 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25903 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25904 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25906 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25908 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25910 2013-01-15 David S. Miller <davem@davemloft.net>
25912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25913 trunc{,f} to libm-sysdep_routes.
25914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25924 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25925 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25926 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25927 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25928 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25929 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25932 nearbyint{,f} to libm-sysdep_routes.
25933 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25950 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25951 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25953 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25954 libc_feholdexcept and libc_fesetenv.
25956 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25958 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25960 2013-01-14 David S. Miller <davem@davemloft.net>
25962 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25963 (SPARC_ASM_VIS2_IFUNC): Likewise.
25964 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25966 use of 'siam' instruction.
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26000 routines to libm-sysdep_routines.
26001 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26004 fdim/fdimf to libm-sysdep_routines.
26005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26013 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26014 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26015 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26016 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26018 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26021 to optimize copies.
26023 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26028 local variable MPTWO.
26029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26032 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26034 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26037 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26039 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26041 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26043 * manual/pattern.texi (glob_t): Document gl_flags.
26044 (glob64_t): Likewise.
26046 2013-01-11 David S. Miller <davem@davemloft.net>
26048 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26049 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26050 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26051 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26052 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26053 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26054 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26055 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26056 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26057 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26058 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26059 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26060 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26062 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26063 sparc V9 rather than using V8 code.
26064 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26065 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26067 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26069 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26072 2013-01-11 Roland McGrath <roland@hack.frob.com>
26074 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26075 not in the main loop.
26076 * configure: Regenerated.
26078 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26080 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26081 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26083 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26084 [!__GLIBC_HAVE_LONG_LONG] case.
26085 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26086 condition to just #else.
26087 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26088 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26089 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26090 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26092 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26093 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26094 #elif condition to just #else.
26095 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26096 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26097 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26098 #elif condition to just #else.
26100 2013-01-11 Steve Ellcey <sellcey@mips.com>
26102 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26103 (EF_MIPS_ARCH_64): Fix value.
26104 (EF_MIPS_ARCH_32R2): New.
26105 (EF_MIPS_ARCH_64R2): New.
26107 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26109 * Makeconfig (+link-pie-before-libc): New.
26110 (+link-pie-after-libc): Likewise.
26111 (+link-pie-tests): Likewise.
26112 (+link-pie): Rewritten.
26113 (link-before-libc): Remove $(config-LDFLAGS).
26114 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26115 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26116 (config-LDFLAGS): Renamed to ...
26117 (rtld-LDFLAGS): This.
26118 (rtld-tests-LDFLAGS): New macro.
26119 (link-libc-rpath-link): Likewise.
26120 (link-libc-tests-rpath-link): Likewise.
26121 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26122 (link-libc): Prepand $(link-libc-rpath-link).
26123 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26124 (test-program-prefix): New macro.
26125 (test-via-rtld-prefix): Likewise.
26126 (test-program-cmd): Likewise.
26127 (host-test-program-cmd): Likewise.
26128 * Makefile ($(common-objpfx)testrun.sh): Replace
26129 $(run-program-prefix) with $(test-program-prefix).
26130 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26132 ($(common-objpfx)shlib.lds): Likewise.
26133 (build-module-helper): Likewise.
26134 ($(common-objpfx)format.lds): Likewise.
26135 * Rules (binaries-pie-tests): New.
26136 (binaries-pie-notests): Likewise.
26137 (binaries-pie): Rewritten.
26138 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26139 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26140 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26141 (make-test-out): Replace $(host-built-program-cmd) with
26142 $(host-test-program-cmd).
26143 * config.make.in (build-hardcoded-path-in-tests): New variable.
26144 * configure.in (--enable-hardcoded-path-in-tests): New configure
26146 (hardcoded_path_in_tests): New AC_SUBST.
26147 * configure: Regenerated.
26148 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26149 $(built-program-cmd) with $(test-program-cmd).
26150 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26151 (test_program_cmd): This.
26152 * elf/Makefile ($(objpfx)order.out): Run test with
26153 $(test-program-prefix).
26154 ($(objpfx)order2.out): Likewise.
26155 ($(objpfx)tst-initorder.out): Likewise.
26156 ($(objpfx)tst-initorder2.out): Likewise.
26157 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26158 $(test-program-cmd).
26159 ($(objpfx)tst-array1-static.out): Likewise.
26160 ($(objpfx)tst-array2.out): Likewise.
26161 ($(objpfx)tst-array3.out): Likewise.
26162 ($(objpfx)tst-array4.out): Likewise.
26163 ($(objpfx)tst-array5.out): Likewise.
26164 ($(objpfx)tst-array5-static.out): Likewise.
26165 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26166 $(test-program-cmd).
26167 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26168 $(run-program-prefix) with $(test-program-prefix).
26169 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26170 (test_program_prefix): This.
26171 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26172 $(run-program-prefix) with $(test-program-prefix).
26173 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26174 (test_program_prefix): This.
26175 * iconvdata/tst-tables.sh: Likewise.
26176 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26177 $(run-program-prefix) with $(test-program-prefix).
26178 ($(objpfx)tst-translit.out): Likewise.
26179 ($(objpfx)tst-gettext2.out): Likewise.
26180 ($(objpfx)tst-gettext4.out): Likewise.
26181 ($(objpfx)tst-gettext6.out): Likewise.
26182 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26183 (test_program_prefix): This.
26184 * intl/tst-gettext2.sh: Likewise.
26185 * intl/tst-gettext4.sh Likewise.
26186 * intl/tst-gettext6.sh: Likewise.
26187 * intl/tst-translit.sh: Likewise.
26188 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26189 with $(test-program-cmd).
26190 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26191 $(run-program-prefix) with $(test-program-prefix).
26192 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26193 (test_program_prefix): This.
26194 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26195 $(run-program-prefix) with $(test-program-prefix).
26196 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26197 (test_program_prefix): This.
26198 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26199 * posix/Makefile ($(objpfx)globtest.out): Replace
26200 $(run-via-rtld-prefix) and $(test-wrapper) with
26201 $(test-program-prefix) and $(test-via-rtld-prefix).
26202 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26203 $(test-program-prefix).
26204 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26205 $(host-test-program-cmd).
26206 (tst-spawn-ARGS): Likewise.
26207 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26208 $(test-program-prefix).
26209 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26210 (test_via_rtld_prefix): This.
26211 (test_wrapper): Renamed to ...
26212 (test_program_prefix): This.
26213 (run_program_prefix): Replaced by test_program_prefix.
26214 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26215 (test_program_prefix): This.
26216 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26217 with $(host-test-program-cmd).
26218 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26219 $(run-program-prefix) with $(test-program-prefix).
26220 ($(objpfx)tst-printf.out): Likewise.
26221 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26222 $(test-program-cmd).
26223 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26224 (test_program_prefix): This.
26225 * stdio-common/tst-unbputc.sh: Likewise.
26226 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26227 $(run-program-prefix) with $(test-program-prefix).
26228 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26229 (test_program_prefix): This.
26230 * string/Makefile ($(objpfx)tst-svc.out): Replace
26231 $(built-program-cmd) with $(test-program-cmd).
26233 2013-01-11 Andreas Jaeger <aj@suse.de>
26236 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26237 value. Sync with Linux 3.7.
26239 2013-01-10 David S. Miller <davem@davemloft.net>
26241 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26242 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26243 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26245 2013-01-10 Roland McGrath <roland@hack.frob.com>
26247 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26249 * configure: Regenerated.
26251 2013-01-10 David S. Miller <davem@davemloft.net>
26253 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26254 sparc V9 rather than using V8 code.
26255 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26256 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26258 2013-01-10 Roland McGrath <roland@hack.frob.com>
26260 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26261 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26262 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26263 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26264 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26265 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26266 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26267 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26268 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26269 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26270 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26271 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26272 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26273 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26274 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26275 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26276 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26277 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26278 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26279 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26280 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26281 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26282 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26283 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26284 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26285 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26286 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26288 2013-01-10 David S. Miller <davem@davemloft.net>
26290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26292 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26294 * posix/Makefile (tests-static): New variable.
26295 (tests): Add $(tests-static).
26296 (tst-exec-static-ARGS): New variable.
26297 (tst-spawn-static-ARGS): Likewise.
26298 * posix/tst-exec-static.c: New file.
26299 * posix/tst-spawn-static.c: Likewise.
26300 * posix/tst-exec.c: Support run directly.
26301 * posix/tst-spawn.c: Likewise.
26303 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26305 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26307 * math/bits/mathcalls.h (llrint): Likewise.
26308 (llround): Likewise.
26309 * stdlib/stdlib.h (struct drand48_data): Likewise.
26310 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26311 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26312 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26314 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26316 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26317 (elf_greg_t): Likewise.
26318 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26319 (__jmp_buf): Likewise.
26320 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26322 (llrint): Likewise, for all definitions.
26323 (llrintl): Likewise.
26325 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26326 Remove [__GNUC__] condition.
26327 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26328 condition to just [__USE_ISOC99].
26329 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26331 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26334 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26335 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26337 (_POSIX_V6_ILP32_OFF32): Likewise.
26338 (_XBS5_ILP32_OFF32): Likewise.
26339 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26340 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26342 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26344 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26347 doubles __mpexp_twomm1. Adjust usage.
26348 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26351 2013-01-10 Andreas Schwab <schwab@suse.de>
26354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26355 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26357 2013-01-09 David S. Miller <davem@davemloft.net>
26360 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26361 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26362 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26363 (TCP_FASTOPEN): Define.
26364 (tcp_repair_opt): New structure.
26365 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26367 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26368 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26369 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26370 (tcp_cookie_transactions): New structure.
26372 2013-01-09 Anton Blanchard <anton@samba.org>
26374 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26375 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26376 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26377 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26379 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26381 * include/features.h (__USE_ANSI): Remove.
26383 2013-01-09 Roland McGrath <roland@hack.frob.com>
26385 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26387 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26389 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26391 * sysdeps/s390/fpu/libm-test-ulps: Update.
26393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26395 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26399 (denorm): Likewise.
26400 (__mp_dbl): Likewise.
26401 (__dbl_mp): Likewise.
26402 (add_magnitudes): Likewise.
26403 (sub_magnitudes): Likewise.
26409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26413 (denorm): Likewise.
26414 (__mp_dbl): Likewise.
26415 (__dbl_mp): Likewise.
26416 (add_magnitudes): Likewise.
26417 (sub_magnitudes): Likewise.
26423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26427 (denorm): Likewise.
26428 (__mp_dbl): Likewise.
26429 (__dbl_mp): Likewise.
26430 (add_magnitudes): Likewise.
26431 (sub_magnitudes): Likewise.
26438 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26440 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26441 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26442 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26443 2 && __USE_EXTERN_INLINES]: Likewise.
26445 2013-01-08 Andreas Jaeger <aj@suse.de>
26448 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26450 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26451 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26453 2013-01-07 Anton Blanchard <anton@samba.org>
26455 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26456 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26457 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26458 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26459 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26460 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26461 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26462 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26464 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26465 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26468 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26469 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26470 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26471 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26473 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26474 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26475 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26476 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26477 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26478 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26479 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26480 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26481 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26482 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26483 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26484 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26485 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26488 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26489 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26490 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26492 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26495 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26496 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26497 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26499 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26501 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26502 (__MALLOC_PMT): Likewise.
26503 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26504 [__GNUC__], only on [_LIBC].
26505 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26506 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26507 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26508 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26509 forward declaration.
26510 (realloc_hook_ini): Likewise.
26511 (memalign_hook_ini): Likewise.
26512 (__libc_memalign): Do not use __MALLOC_PMT in variable
26514 (__libc_valloc): Likewise.
26515 (__libc_pvalloc): Likewise.
26516 (__libc_calloc): Likewise.
26517 (__posix_memalign): Likewise.
26520 * math/s_casinh.c: Include <float.h>.
26521 (__casinh): Do not do computation with squaring and square root
26522 for large arguments.
26523 * math/s_casinhf.c: Include <float.h>.
26524 (__casinhf): Do not do computation with squaring and square root
26525 for large arguments.
26526 * math/s_casinhl.c: Include <float.h>.
26527 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26528 (__casinhl): Do not do computation with squaring and square root
26529 for large arguments.
26530 * math/libm-test.inc (casin_test): Add more tests.
26531 (casinh_test): Likewise.
26532 * sysdeps/i386/fpu/libm-test-ulps: Update.
26533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26535 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26537 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26538 (__x86_64_raw_data_cache_size): Likewise.
26539 (__x86_64_data_cache_size_half): Likewise.
26540 (__x86_64_raw_data_cache_size_half): Likewise.
26541 (__x86_64_shared_cache_size): Likewise.
26542 (__x86_64_raw_shared_cache_size): Likewise.
26543 (__x86_64_shared_cache_size_half): Likewise.
26544 (__x86_64_raw_shared_cache_size_half): Likewise.
26545 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26547 (__x86_data_cache_size): This.
26548 (__x86_64_raw_data_cache_size): Renamed to ...
26549 (__x86_raw_data_cache_size): This.
26550 (__x86_64_data_cache_size_half): Renamed to ...
26551 (__x86_data_cache_size_half): This.
26552 (__x86_64_raw_data_cache_size_half): Renamed to ...
26553 (__x86_raw_data_cache_size_half): This.
26554 (__x86_64_shared_cache_size): Renamed to ...
26555 (__x86_shared_cache_size): This.
26556 (__x86_64_raw_shared_cache_size): Renamed to ...
26557 (__x86_raw_shared_cache_size): This.
26558 (__x86_64_shared_cache_size_half): Renamed to ...
26559 (__x86_shared_cache_size_half): This.
26560 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26561 (__x86_raw_shared_cache_size_half): This.
26562 * sysdeps/x86_64/memcpy.S: Updated.
26563 * sysdeps/x86_64/memset.S: Likewise.
26564 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26568 2013-01-04 David S. Miller <davem@davemloft.net>
26570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26572 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26574 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26575 1 to avoid redefinition warning.
26576 (__USE_GNU): Don't define.
26577 (init_signaling_nan): Protoize.
26579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26581 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26583 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26585 (__cpymn): Likewise.
26586 (norm): Remove commented code.
26587 (denorm): Likewise.
26588 (__mp_dbl): Likewise.
26590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26591 (__cpymn): Likewise.
26592 (norm): Remove commented code.
26593 (denorm): Likewise.
26594 (__mp_dbl): Likewise.
26597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26598 mp_no value for 1.0 and 2.0.
26599 (norm): Use RADIXI instead of radixi.d.
26600 (denorm): Likewise.
26601 (__mul): Use 0.0 instead of zero.d.
26602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26603 mp_no value for 1.0 and 2.0.
26604 (norm): Use RADIXI instead of radixi.d.
26605 (denorm): Likewise.
26606 (__mul): Use 0.0 instead of zero.d.
26608 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26611 * math/s_casinh.c (__casinh): Reduce finite argument to first
26612 quadrant then set signs of results at the end.
26613 * math/s_casinhf.c (__casinhf): Likewise.
26614 * math/s_casinhl.c (__casinhl): Likewise.
26615 * math/libm-test.inc (casin_test): Add more tests.
26616 (casinh_test): Likewise.
26617 * sysdeps/i386/fpu/libm-test-ulps: Update.
26618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26620 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26622 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26624 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26626 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26628 (denorm): Likewise.
26629 (__mp_dbl): Likewise.
26632 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26633 and adjust the header comment.
26635 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26636 variable name from declaration.
26638 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26641 Initialize COMMON_CPUID_INDEX_7 element.
26642 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26643 (CPUID_RTM): Likewise.
26644 (HAS_RTM): Likewise.
26645 (COMMON_CPUID_INDEX_7): New enum.
26647 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26650 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26651 size is zero, record memory as freed.
26653 2013-01-03 Andreas Jaeger <aj@suse.de>
26655 * po/ia.po: Add new Interlingua translation.
26657 2012-01-03 Allan McRae <allan@archlinux.org>
26659 * locale/programs/localedef.c: Fix description of '--posix' flag.
26661 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26663 * NEWS: Update dates in second copyright notice.
26664 * README: Update copyright dates in example.
26665 * manual/libc.texinfo: Update copyright dates.
26666 * scripts/test-installation.pl: Update copyright date in --version
26669 * hurd/ctty-input.c: Fix copyright notice formatting.
26670 * hurd/ctty-output.c: Likewise.
26671 * hurd/dtable.c: Likewise.
26672 * hurd/hurd-raise.c: Likewise.
26673 * hurd/hurdprio.c: Likewise.
26674 * hurd/msgportdemux.c: Likewise.
26675 * misc/sys/file.h: Likewise.
26676 * misc/sys/ioctl.h: Likewise.
26677 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26678 * sysdeps/mach/hurd/chdir.c: Likewise.
26679 * sysdeps/mach/hurd/fchdir.c: Likewise.
26680 * sysdeps/mach/hurd/rename.c: Likewise.
26681 * sysdeps/mach/hurd/rmdir.c: Likewise.
26682 * sysdeps/mach/hurd/seekdir.c: Likewise.
26683 * sysdeps/mach/hurd/setsid.c: Likewise.
26684 * sysdeps/posix/wait3.c: Likewise.
26686 * All files with FSF copyright notices: Update copyright dates
26687 using scripts/update-copyrights.
26688 * intl/plural.c: Regenerated.
26689 * locale/programs/charmap-kw.h: Likewise.
26690 * locale/programs/locfile-kw.h: Likewise.
26692 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26694 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26698 calculation loop and add branch prediction.
26700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26701 check access beyond bounds of m1np.
26703 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26705 (__inv): Remove local variable MPTWO to use the global
26707 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26711 MP3HALFS static const.
26713 2013-01-01 David S. Miller <davem@davemloft.net>
26715 * po/ca.po: Update from translation team.
26717 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26719 * scripts/update-copyrights: New file.
26720 * Makeconfig: Reformat copyright notice.
26721 * ctype/ctype.h: Likewise.
26722 * debug/swprintf_chk.c: Likewise.
26723 * elf/dl-cache.c: Likewise.
26724 * elf/dl-debug.c: Likewise.
26725 * elf/dl-object.c: Likewise.
26726 * grp/initgroups.c: Likewise.
26727 * hurd/Makefile: Likewise.
26728 * hurd/hurd/signal.h: Likewise.
26729 * hurd/hurdfault.c: Likewise.
26730 * hurd/hurdioctl.c: Likewise.
26731 * hurd/hurdlookup.c: Likewise.
26732 * hurd/intr-msg.c: Likewise.
26733 * iconv/gconv_open.c: Likewise.
26734 * libio/swprintf.c: Likewise.
26735 * locale/lc-ctype.c: Likewise.
26736 * locale/nl_langinfo.c: Likewise.
26737 * mach/Machrules: Likewise.
26738 * mach/Makefile: Likewise.
26739 * malloc/obstack.h: Likewise.
26740 * manual/Makefile: Likewise.
26741 * manual/tsort.awk: Likewise.
26742 * misc/bits/stab.def: Likewise.
26743 * nis/nis_print_group_entry.c: Likewise.
26744 * nis/nis_table.c: Likewise.
26745 * nis/nss_compat/compat-pwd.c: Likewise.
26746 * nis/nss_compat/compat-spwd.c: Likewise.
26747 * po/Makefile: Likewise.
26748 * posix/fnmatch.c: Likewise.
26749 * posix/regex.h: Likewise.
26750 * resolv/Makefile: Likewise.
26751 * resolv/nss_dns/dns-network.c: Likewise.
26752 * resolv/res_hconf.c: Likewise.
26753 * scripts/gen-sorted.awk: Likewise.
26754 * soft-fp/soft-fp.h: Likewise.
26755 * stdio-common/printf.h: Likewise.
26756 * stdlib/monetary.h: Likewise.
26757 * stdlib/random.c: Likewise.
26758 * stdlib/random_r.c: Likewise.
26759 * sysdeps/generic/Makefile: Likewise.
26760 * sysdeps/gnu/Makefile: Likewise.
26761 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26771 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26772 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26774 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26775 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26776 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26779 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26781 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26782 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26783 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26789 * sysdeps/mach/hurd/errnos.awk: Likewise.
26790 * sysdeps/mach/hurd/fork.c: Likewise.
26791 * sysdeps/mach/hurd/getcwd.c: Likewise.
26792 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26793 * sysdeps/mach/hurd/mmap.c: Likewise.
26794 * sysdeps/mach/hurd/utimes.c: Likewise.
26795 * sysdeps/mach/hurd/xmknod.c: Likewise.
26796 * sysdeps/posix/profil.c: Likewise.
26797 * sysdeps/posix/readdir_r.c: Likewise.
26798 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26799 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26800 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26801 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26805 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26807 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26808 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26809 * sysdeps/pthread/lio_listio.c: Likewise.
26810 * sysdeps/sparc/dl-procinfo.h: Likewise.
26811 * sysdeps/unix/i386/sysdep.S: Likewise.
26812 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26813 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26814 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26815 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26817 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26818 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26819 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26820 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26821 * sysdeps/wordsize-32/divdi3.c: Likewise.
26822 * time/sys/time.h: Likewise.
26823 * wcsmbs/Makefile: Likewise.
26825 2013-01-01 David S. Miller <davem@davemloft.net>
26827 * po/fr.po: Update from translation team.
26829 * catgets/gencat.c: Update copyright year.
26830 * csu/version.c: Likewise.
26831 * debug/catchsegv.sh: Likewise.
26832 * debug/pcprofiledump.c: Likewise.
26833 * debug/xtrace.sh: Likewise.
26834 * elf/ldconfig.c: Likewise.
26835 * elf/ldd.bash.in: Likewise.
26836 * elf/pldd.c: Likewise.
26837 * elf/sotruss.ksh: Likewise.
26838 * elf/sprof.c: Likewise.
26839 * iconv/iconv_prog.c: Likewise.
26840 * iconv/iconvconfig.c: Likewise.
26841 * locale/programs/locale.c: Likewise.
26842 * locale/programs/localedef.c: Likewise.
26843 * login/programs/pt_chown.c: Likewise.
26844 * malloc/memusage.sh: Likewise.
26845 * malloc/memusagestat.c: Likewise.
26846 * malloc/mtrace.pl: Likewise.
26847 * nscd/nscd.c: Likewise.
26848 * nss/getent.c: Likewise.
26849 * nss/makedb.c: Likewise.
26850 * posix/getconf.c: Likewise.
26852 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26854 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26857 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26859 * math/bits/mathcalls.h (modf): Use __nonnull.
26861 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26863 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26864 (split): Use macro CN instead of the bare value.
26865 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26868 instead of the bare value.
26869 (power1): Likewise.
26871 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26875 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26877 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26879 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26880 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26881 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26882 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26884 2012-12-28 Andreas Jaeger <aj@suse.de>
26886 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26887 values are from Linux 3.7.
26889 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26890 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26892 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26894 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26897 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26899 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26900 variables with preprocessor constants.
26901 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26902 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26903 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26905 2012-12-27 Bruno Haible <bruno@clisp.org>
26908 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26911 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26914 and use variable directly.
26915 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26917 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26919 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26920 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26924 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26925 include directive. Remove local variable MPONE.
26926 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26927 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26928 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26930 2012-12-25 David S. Miller <davem@davemloft.net>
26932 * version.h (RELEASE): Set to "development".
26933 (VERSION): Set to "2.17.90".
26934 * NEWS: Add 2.18 section.
26936 2012-12-21 David S. Miller <davem@davemloft.net>
26938 * po/hr.po: Update from translation team.
26940 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26942 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26944 2012-12-19 Steve Ellcey <sellcey@mips.com>
26946 * NEWS: Mention new memcpy for MIPS.
26948 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26950 * manual/contrib.texi (Contributors): Spelling correction.
26952 2012-12-15 David S. Miller <davem@davemloft.net>
26954 * po/ru.po: Update from translation team.
26956 2012-12-13 David S. Miller <davem@davemloft.net>
26958 * NEWS: Mention IFUNC testsuite enhancements.
26960 * po/pl.po: Update from translation team.
26961 * po/bg.po: Likewise.
26963 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26964 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26966 2012-12-11 David S. Miller <davem@davemloft.net>
26968 * po/sv.po: Update from translation team.
26970 * po/vi.po: Update from translation team.
26972 * po/cs.po: Update from translation team.
26974 * po/de.po: Update from translation team.
26975 * po/eo.po: Likewise.
26976 * po/nl.po: Likewise.
26978 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26981 * manual/argp.texi (Argp Helper Functions): Move node to follow
26982 Argp Parsing State.
26985 * manual/conf.texi (Limits on File System Capacity): Mention if
26986 terminating null is included in the max size.
26988 2012-12-10 Andreas Jaeger <aj@suse.de>
26990 * po/cs.po: Update from translation team.
26992 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26994 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26995 void pointer and cast to uintptr_t.
26996 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26998 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26999 * sysdeps/s390/s390-64/memset.S: Likewise.
27001 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27004 * menual/message.texi (Message Translation): Fix typos.
27005 (Helper programs for gettext): Likewise.
27007 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27010 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27013 2012-12-07 David S. Miller <davem@davemloft.net>
27015 * po/libc.pot: Update.
27017 2012-12-07 Richard Henderson <rth@redhat.com>
27020 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27021 normal/normal case to before the switch.
27022 (_FP_DIV): Likewise.
27024 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27025 Mike Frysinger <vapier@gentoo.org>
27027 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27028 check for __NR_fadvise64_64.
27030 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27032 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27033 0, not just to plain "0" as a statement.
27034 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27037 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27039 * NEWS: Use sourceware.org in Bugzilla URL.
27041 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27044 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27046 * stdio-common/tst-put-error.c (do_test): Add newline to the
27047 padded test to ensure flush.
27049 2012-12-05 Jeff Law <law@redhat.com>
27051 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27053 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27055 * README: Don't refer to ports add-on as distributed separately.
27056 Mention AArch64 in list of systems supported in the ports add-on.
27058 * LICENSES: Add more non-FSF copyright and license notices.
27060 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27063 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27065 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27066 10000 as width of padded output.
27068 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27070 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27072 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27073 variable LX with __attribute__ ((unused)).
27074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27079 with __attribute__ ((unused)).
27081 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27083 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27085 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27087 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27088 (CFLAGS-nldbl-acos.c): New variable.
27089 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27090 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27091 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27092 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27093 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27094 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27095 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27096 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27097 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27098 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27099 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27100 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27101 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27102 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27103 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27104 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27105 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27106 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27107 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27108 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27109 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27110 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27111 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27112 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27113 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27114 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27115 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27116 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27117 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27118 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27119 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27120 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27121 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27122 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27123 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27124 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27125 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27126 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27127 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27128 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27129 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27130 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27131 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27132 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27133 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27134 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27135 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27136 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27137 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27138 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27139 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27140 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27141 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27142 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27143 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27144 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27145 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27146 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27147 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27148 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27149 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27150 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27151 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27152 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27153 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27154 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27155 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27156 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27157 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27158 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27159 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27160 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27161 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27162 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27163 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27164 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27165 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27166 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27167 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27168 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27169 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27170 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27171 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27172 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27173 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27174 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27175 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27176 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27177 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27178 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27179 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27180 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27181 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27182 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27183 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27184 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27185 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27188 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27192 whole low double instead of just low 47 bits when splitting values
27195 2012-12-03 Allan McRae <allan@archlinux.org>
27197 * manual/stdio.texi (Predefined Printf Handlers): Remove
27198 @hsep and @vsep usage.
27200 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27202 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27203 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27205 2012-12-03 Jeff Law <law@redhat.com>
27207 * time/sys/time.h (settimeofday): Do not mark TV argument
27210 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27212 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27213 when currently writing and seek to current position when not.
27214 * libio/Makefile (tests): Remove bug-fclose1.
27215 * libio/bug-fclose1.c: Delete.
27217 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27219 * manual/arith.texi (feenableexcept): Fix typo.
27220 (fedisableexcept): Likewise.
27222 2012-11-30 Roland McGrath <roland@hack.frob.com>
27224 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27225 second, differently-typed declaration, rather than a cast.
27227 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27229 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27230 * include/rpc/svc.h: ... here.
27232 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27235 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27236 depending n and resplen2 to catch cases where answer
27239 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27241 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27242 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27244 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27246 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27248 2012-11-29 Roland McGrath <roland@hack.frob.com>
27250 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27252 2012-11-28 Jeff Law <law@redhat.com>
27255 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27256 dataset_temporary. Track alloca usage into alloca_used.
27257 If dataset is large allocate and release it via malloc/free.
27259 2012-06-04 Florian Weimer <fweimer@redhat.com>
27262 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27264 2012-11-28 David S. Miller <davem@davemloft.net>
27266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27268 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27271 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27272 of pi/2 rounded to nearest to 64 bits.
27273 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27274 nearest to 64 bits.
27275 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27278 2012-11-28 Jeff Law <law@redhat.com>
27279 Martin Osvald <mosvald@redhat.com>
27282 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27283 * sunrpc/svc.c: Include time.h.
27284 (__svc_accept_failed): New function.
27285 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27286 any reason other than EINTR, call __svc_accept_failed.
27287 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27288 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27290 2012-11-28 Andreas Schwab <schwab@suse.de>
27292 * scripts/abilist.awk: Also handle indirect functions in .opd
27295 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27298 * sysdeps/x86/fpu/powl_helper.c: New file.
27299 * sysdeps/x86/fpu/Makefile: Likewise.
27300 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27302 (__ieee754_powl): Use __powl_helper for finite arguments except
27303 integer exponents below 8.
27304 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27306 (__ieee754_powl): Use __powl_helper for finite arguments except
27307 integer exponents below 8.
27308 * math/libm-test.inc (pow_test): Add more tests and enable some
27309 previously disabled tests.
27310 * sysdeps/i386/fpu/libm-test-ulps: Update.
27311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27313 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27314 Carlos O'Donell <carlos_odonell@mentor.com>
27316 * nss/makedb.c (is_prime): Assert that input is odd and greater
27317 than 4. Note that fact in a comment too.
27318 (next_prime): Add 4 to input.
27320 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27323 * libio/Makefile (tests): Add test case tst-fwrite-error.
27324 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27325 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27326 * libio/tst-fwrite-error.c: New test case.
27328 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27330 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27331 before casting to void *.
27332 * include/libc-internal.h (__pointer_type): New macro.
27333 (__integer_if_pointer_type_sub): Likewise.
27334 (__integer_if_pointer_type): Likewise.
27335 (cast_to_integer): Likewise.
27336 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27337 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27338 before casting to atomic64_t.
27339 (atomic_exchange_acq): Likewise.
27340 (__arch_exchange_and_add_body): Likewise.
27341 (__arch_add_body): Likewise.
27342 (atomic_add_negative): Likewise.
27343 (atomic_add_zero): Likewise.
27345 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27347 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27348 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27349 (add_fdes): Likewise.
27350 (linear_search_fdes): Likewise.
27351 (binary_search_unencoded_fdes): Likewise.
27353 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27355 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27357 2012-11-24 Adam Conrad <adconrad@0c3.net>
27359 * configure.in: Autodetect C++ header directories.
27360 * configure: Regenerated.
27362 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27364 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27366 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27370 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27372 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27373 LDBL_MANT_DIG == 106]: Disable some tests.
27374 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27376 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27380 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27381 input for small inputs. Return +/- pi/2 for large inputs.
27382 * math/libm-test.inc (atan_test): Add more tests.
27384 * sysdeps/generic/unwind-dw2-fde-glibc.c
27385 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27386 __attribute__ ((unused)).
27389 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27390 x * y if x and y are nonzero and z is zero.
27393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27394 nonzero exponents with absolute value below 0x1p-117 to +/-
27398 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27399 up arguments below 2**-450, not just those below 2**-500.
27400 * math/libm-test.inc (hypot_test): Add another test.
27403 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27404 Return a+b for ratio over 2**120, not 2**60.
27405 * math/libm-test.inc (hypot_test): Add another test.
27407 * math/libm-test.inc (clog_test): Use
27408 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27409 (clog10_test): Likewise.
27412 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27414 2012-11-22 Andreas Schwab <schwab@suse.de>
27416 * sysdeps/i386/fpu/libm-test-ulps: Update.
27418 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27420 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27421 printf output with newline.
27423 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27426 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27427 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27428 -z nodlopen, -z initfirst and -z execstack support.
27429 * configure: Regenerated.
27431 * elf/elf.h (DF_1_NODIRECT): New macro.
27432 (DF_1_IGNMULDEF): Likewise.
27433 (DF_1_NOKSYMS): Likewise.
27434 (DF_1_NOHDR): Likewise.
27435 (DF_1_EDITED): Likewise.
27436 (DF_1_NORELOC): Likewise.
27437 (DF_1_SYMINTPOSE): Likewise.
27438 (DF_1_GLOBAUDIT): Likewise.
27439 (DF_1_SINGLETON): Likewise.
27440 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27441 DT_1_SUPPORTED_MASK bits.
27442 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27444 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27446 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27448 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27450 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27453 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27454 (sendmmsg): Move declarations...
27455 * socket/sys/socket.h: ... here.
27456 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27457 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27459 * socket/recvmmsg.c: ... this new file.
27460 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27461 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27462 definition of __sendmmsg hidden.
27463 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27464 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27465 Move ENOSYS stub into and include it from...
27466 * socket/sendmmsg.c: ... this new file.
27467 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27468 (sysdep_routines): Move recvmmsg and sendmmsg...
27469 * socket/Makefile (routines): ... here.
27470 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27471 (GLIBC_PRIVATE): Add __sendmmsg.
27472 * include/sys/socket.h (__sendmmsg): Add declarations.
27473 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27476 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27479 variable I1 with __attribute__ ((unused)).
27480 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27482 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27484 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27485 DUMMY variables with __attribute__ ((unused)).
27487 * bits/byteswap.h: Include <bits/types.h>.
27488 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27490 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27492 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27493 string_t. Do not manually set errno.
27494 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27495 length with __strnlen. Make sure to both set errno and return it on
27498 2012-11-19 David S. Miller <davem@davemloft.net>
27500 With help from Joseph Myers.
27501 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27502 very large arguments properly.
27503 * math/libm-test.inc (atan_test): New tests.
27504 (atan2_test): New tests.
27505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27508 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27511 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27514 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27515 [POSIX] (EADDRNOTAVAIL): Likewise.
27516 [POSIX] (EAFNOSUPPORT): Likewise.
27517 [POSIX] (EALREADY): Likewise.
27518 [POSIX] (ECONNABORTED): Likewise.
27519 [POSIX] (ECONNREFUSED): Likewise.
27520 [POSIX] (ECONNRESET): Likewise.
27521 [POSIX] (EDESTADDRREQ): Likewise.
27522 [POSIX] (EDQUOT): Likewise.
27523 [POSIX] (EHOSTUNREACH): Likewise.
27524 [POSIX] (EIDRM): Likewise.
27525 [POSIX] (EISCONN): Likewise.
27526 [POSIX] (ELOOP): Likewise.
27527 [POSIX] (EMULTIHOP): Likewise.
27528 [POSIX] (ENETDOWN): Likewise.
27529 [POSIX] (ENETUNREACH): Likewise.
27530 [POSIX] (ENOBUFS): Likewise.
27531 [POSIX] (ENODATA): Likewise.
27532 [POSIX] (ENOLINK): Likewise.
27533 [POSIX] (ENOMSG): Likewise.
27534 [POSIX] (ENOPROTOOPT): Likewise.
27535 [POSIX] (ENOSR): Likewise.
27536 [POSIX] (ENOSTR): Likewise.
27537 [POSIX] (ENOTCONN): Likewise.
27538 [POSIX] (ENOTSOCK): Likewise.
27539 [POSIX] (EOPNOTSUPP): Likewise.
27540 [POSIX] (EOVERFLOW): Likewise.
27541 [POSIX] (EPROTO): Likewise.
27542 [POSIX] (EPROTONOSUPPORT): Likewise.
27543 [POSIX] (EPROTOTYPE): Likewise.
27544 [POSIX] (ESTALE): Likewise.
27545 [POSIX] (ETIME): Likewise.
27546 [POSIX] (ETXTBSY): Likewise.
27547 [POSIX] (EWOULDBLOCK): Likewise.
27548 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27549 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27550 [POSIX] (SEEK_CUR): Likewise.
27551 [POSIX] (SEEK_END): Likewise.
27552 [POSIX || UNIX98] (mode_t): Do not require.
27553 [POSIX] (off_t): Likewise.
27554 [POSIX] (pid_t): Likewise.
27555 [POSIX] (sys/stat.h): Do not allow header.
27556 [POSIX] (unistd.h): Likewise.
27557 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27558 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27559 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27560 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27562 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27563 sigevent): Specify elements.
27564 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27566 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27567 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27569 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27570 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27571 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27572 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27573 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27574 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27575 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27576 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27577 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27578 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27579 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27580 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27581 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27582 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27590 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27592 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27593 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27594 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27595 Specify lower bound on value.
27596 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27597 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27598 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27599 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27600 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27601 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27602 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27603 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27605 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27607 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27608 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27609 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27610 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27611 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27612 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27613 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27614 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27615 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27616 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27617 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27618 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27619 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27620 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27621 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27622 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27624 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27626 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27627 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27628 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27629 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27630 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27633 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27634 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27635 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27636 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27637 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27638 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27642 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27644 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27645 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27646 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27647 specify as optional.
27648 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27649 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27650 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27651 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27652 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27653 [XPG3] (NL_LANGMAX): Likewise.
27654 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27655 [POSIX || XPG3] (NL_NMAX): Likewise.
27656 [POSIX || XPG3] (NL_SETMAX): Likewise.
27657 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27658 [XPG3] (NZERO): Likewise.
27659 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27660 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27661 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27662 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27663 (REG_ERANGE): Expect.
27664 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27666 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27667 Use (void) in prototype.
27668 [POSIX] (*_t): Allow.
27669 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27670 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27671 (WRDE_BADVAL): Expect.
27673 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27675 [XPG3 || XPG4] (O_RSYNC): Likewise.
27676 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27678 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27679 [XPG3 || XPG4] (sigqueue): Likewise.
27680 [XPG3 || XPG4] (sigtimedwait): Likewise.
27681 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27682 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27683 [XPG3 || XPG4] (vsnprintf): Likewise.
27684 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27686 [XPG3 || XPG4] (blksize_t): Likewise.
27687 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27689 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27690 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27691 [XPG3 || XPG4] (struct itimerspec): Likewise.
27692 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27693 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27694 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27695 [XPG3 || XPG4] (clockid_t): Likewise.
27696 [XPG3 || XPG4] (timer_t): Likewise.
27697 [XPG3 || XPG4] (clock_getres): Likewise.
27698 [XPG3 || XPG4] (clock_gettime): Likewise.
27699 [XPG3 || XPG4] (clock_settime): Likewise.
27700 [XPG3 || XPG4] (nanosleep): Likewise.
27701 [XPG3 || XPG4] (timer_create): Likewise.
27702 [XPG3 || XPG4] (timer_delete): Likewise.
27703 [XPG3 || XPG4] (timer_gettime): Likewise.
27704 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27705 [XPG3 || XPG4] (timer_settime): Likewise.
27706 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27707 [XPG3 || XPG4] (getlogin_r): Likewise.
27708 [XPG3 || XPG4] (pread): Likewise.
27709 [XPG3 || XPG4] (pthread_atfork): Likewise.
27710 [XPG3 || XPG4] (pwrite): Likewise.
27713 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27716 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27718 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27719 finalizing MALLSTREAM.
27721 * sysdeps/mach/hurd/syncfs.c: New file.
27723 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27726 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27727 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27728 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27729 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27730 (_nss_dns_gethostbyname4_r): Likewise.
27731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27732 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27734 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27737 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27739 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27741 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27742 * elf/cache.c (print_entry): Print ",AArch64" for
27745 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27746 * elf/cache.c (print_entry): Print ",hard-float" for
27749 2012-11-18 David S. Miller <davem@davemloft.net>
27751 With help from Joseph Myers.
27752 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27754 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27756 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27757 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27759 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27760 * math/libm-test.inc (y0_test): New tests.
27761 (y1_test): New tests.
27762 * sysdeps/i386/fpu/libm-test-ulps: Update.
27763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27766 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27768 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27770 * configure: Regenerated.
27772 2012-11-17 David S. Miller <davem@davemloft.net>
27775 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27776 nonzero exponents with absolute value below 0x1p-128 to +/-
27779 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27781 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27783 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27785 * posix/getconf-speclist.c: New file.
27786 * posix/posix-envs.def: Likewise.
27787 * posix/confstr.c (START_ENV_GROUP): New macro.
27788 (END_ENV_GROUP): Likewise.
27789 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27790 (KNOWN_PRESENT_ENV_STRING): Likewise.
27791 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27792 (UNKNOWN_ENVIRONMENT): Likewise.
27793 (confstr): Include posix-envs.def instead of handling
27794 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27795 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27796 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27797 (END_ENV_GROUP): Likewise.
27798 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27799 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27800 (UNKNOWN_ENVIRONMENT): Likewise.
27801 (__sysconf): Include posix-envs.def instead of handling associated
27802 cases directly here.
27803 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27804 preprocessing getconf-speclist.c rather than running getconf or
27805 generating empty file.
27807 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27809 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27811 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27814 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27816 2012-11-16 David S. Miller <davem@davemloft.net>
27818 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27819 smaller than LDBL_EPSILON/2.0L, just return xm1.
27821 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27823 * elf/tst-array1.c (init): Set constructor priority to 1000.
27824 (fini): Set destructor priority to 1000.
27825 * elf/tst-array2dep.c: Likewise.
27827 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27830 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27831 (_IO_new_file_xsputn): Also return EOF if none of the input
27832 data was written when overflow failed.
27833 * libio/iopadn.c (_IO_padn): Likewise.
27834 * libio/iowpadn.c (_IO_wpadn): Likewise.
27835 * stdio-common/tst-put-error.c: Add copyright notice.
27836 (do_test): Add case for printing padded string.
27837 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27838 _IO_padn returned error.
27839 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27840 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27843 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27845 * libio/libioP.h: Add comment note that the references to C++
27846 bits are now obsolete.
27848 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27850 * math/libm-test.inc (check_complex): Use asprintf.
27852 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27854 * debug/pcprofiledump.c (print_version): Update copyright year.
27855 * malloc/memusagestat.c (print_version): Likewise.
27857 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27860 * elf/Makefile (tests): Add tst-audit8.
27861 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27862 ($(objpfx)tst-audit8.out): New target.
27863 (tst-audit8-ENV): New variable.
27864 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27865 audit if l_reloc_result is NULL.
27866 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27867 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27868 * elf/tst-audit8.c: New file.
27870 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27872 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27873 * misc/Makefile (CFLAGS-select.c): Define.
27874 * posix/Makefile (CFLAGS-pause.c): Define.
27876 2012-11-13 David S. Miller <davem@davemloft.net>
27878 * crypt/Makefile: Move test targets after toplevel Rules
27879 inclusion. Grab any necessary sysdep routines when linking.
27880 * crypt/md5.c (md5_process_block): Remove define, we will always
27881 name it __md5_process_block.
27882 (md5_finish_ctx): Update md5_process_block call.
27883 (md5_stream): Likewise.
27884 (md5_process_bytes): Likewise.
27885 (md5_process_block): Rename to __md5_process_block and move to ...
27886 * crypt/md5-block.c: ... here.
27887 * crypt/sha256.c (sha256_process_block): Move to ...
27888 * crypt/sha256-block.c: ... here.
27889 * crypt/sha512.c (sha512_process_block): Move to ...
27890 * crypt/sha512-block.c: ... here.
27891 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27893 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27894 * sysdeps/sparc/sparc64/multiarch/Makefile
27895 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27897 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27898 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27900 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27901 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27902 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27903 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27904 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27905 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27906 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27907 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27913 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27915 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27917 * timezone/tzselect.ksh: Update from tzcode git revision
27918 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27919 * timezone/zdump.c: Likewise.
27920 * timezone/zic.c: Likewise.
27921 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27922 in TZVERSION setting, not $(PKGVERSION).
27923 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27924 REPORT_BUGS_TO settings.
27927 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27930 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27932 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27933 detection to immediately after _FP_ROUND().
27934 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27937 2012-11-11 David S. Miller <davem@davemloft.net>
27939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27941 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27942 __close rather than their public counterparts.
27944 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27946 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27948 [UNIX98] (sem_timedwait): Do not expect.
27949 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27950 [XPG4 || UNIX98] (sockatmark): Do not expect.
27951 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27952 (clock_getcpuclockid): Do not expect.
27953 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27954 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27956 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27957 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27958 [UNIX98] (vwscanf): Likewise.
27959 [UNIX98] (vswscanf): Likewise.
27961 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27963 * timezone/version.h: Remove file.
27964 * timezone/README: Do not refer to version.h.
27965 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27966 $(objpfx)version.h.
27967 ($(objpfx)zdump.o): Likewise.
27968 ($(objpfx)version.h): New target.
27970 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27972 * timezone/README: Don't mention modification to tzselect.ksh.
27973 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27974 work on unmodified tzselect.ksh. Substitute version numbers in
27977 * Makefile (format-me): Remove.
27978 (INSTALL): Adjust indentation. Use commands directly instead of
27979 using $(format-me).
27981 * aclocal.m4 (ACX_PKGVERSION): New macro.
27982 (ACX_BUGURL): Likewise.
27983 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27984 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27985 (REPORT_BUGS_TO): Likewise.
27986 * configure: Regenerated.
27987 * config.h.in (PKGVERSION): New macro.
27988 (REPORT_BUGS_TO): Likewise.
27989 * config.make.in (PKGVERSION): New variable.
27990 (PKGVERSION_TEXI): Likewise.
27991 (REPORT_BUGS_TO): Likewise.
27992 (REPORT_BUGS_TEXI): Likewise.
27993 * Makefile (format-me): Use -I$(common-objpfx)manual.
27994 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27995 ($(common-objpfx)manual/%): New target.
27996 (manual/%): Remove target.
27997 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27998 (print_version): Use PKGVERSION.
27999 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28000 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28001 and REPORT_BUGS_TO.
28002 ($(objpfx)xtrace): Likewise.
28003 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28004 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28005 (print_version): Use PKGVERSION.
28006 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28007 (do_version): Use PKGVERSION.
28008 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28010 (common-ldd-rewrite): Likewise.
28011 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28012 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28013 (print_version): Use PKGVERSION.
28014 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28015 * elf/pldd.c (argp_program_bug_address): Remove variable.
28016 (more_help): New function.
28017 (argp): Use more_help.
28018 (print_version): Use PKGVERSION.
28019 * elf/sln.c (main): Use PKGVERSION.
28020 (usage): Use REPORT_BUGS_TO.
28021 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28022 (top level): Use PKGVERSION.
28023 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28024 (print_version): Use PKGVERSION.
28025 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28026 (print_version): Use PKGVERSION.
28027 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28028 (print_version): Use PKGVERSION.
28029 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28030 (print_version): Use PKGVERSION.
28031 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28032 (print_version): Use PKGVERSION.
28033 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28034 (print_version): Use PKGVERSION.
28035 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28037 ($(objpfx)memusage): Likewise.
28038 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28039 (do_version): Use PKGVERSION.
28040 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28041 (print_version): Use PKGVERSION.
28042 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28043 ($PKGVERSION): New variable.
28044 ($REPORT_BUGS_TO): Likewise.
28045 (usage): Use $REPORT_BUGS_TO.
28046 (top level): Use $PKGVERSION.
28047 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28048 ($(objpfx)pkgvers.texi): New rule.
28049 ($(objpfx)stamp-pkgvers): Likewise.
28050 * manual/install.texi: Include pkgvers.texi.
28051 (--with-pkgversion): Document new configure option.
28052 (--with-bugurl): Likewise.
28053 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28054 than necessarily for this particular distribution. Use
28055 REPORT_BUGS_TO for where to report bugs.
28056 * INSTALL: Regenerated.
28057 * manual/libc.texinfo: Include pkgvers.texi.
28058 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28059 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28060 (print_version): Use PKGVERSION.
28061 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28062 (print_version): Use PKGVERSION.
28063 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28064 (print_version): Use PKGVERSION.
28065 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28066 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28068 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28069 (print_version): Use PKGVERSION.
28070 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28071 (print_version): Use PKGVERSION.
28072 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28075 * timezone/checktab.awk: Update from tzcode 2012i.
28076 * timezone/ialloc.c: Likewise.
28077 * timezone/private.h: Likewise.
28078 * timezone/scheck.c: Likewise.
28079 * timezone/tzfile.h: Likewise.
28080 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28081 (TZVERSION): Hardcode tzcode version number.
28082 * timezone/zdump.c: Update from tzcode 2012i.
28083 * timezone/zic.c: Likewise.
28084 * timezone/version.h: New file.
28085 * timezone/README: Describe version.h. Update upstream location.
28088 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28089 (mktemp): Enable declaration.
28090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28107 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28108 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28109 for copies of such integer values.
28110 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28111 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28113 2012-11-09 Andreas Jaeger <aj@suse.de>
28115 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28116 definitions and declarations that are provided by
28117 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28119 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28121 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28122 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28123 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28126 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28128 * elf/elf.h: Update comment before AArch64 relocations.
28130 2012-11-07 David S. Miller <davem@davemloft.net>
28132 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28133 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28134 (__start_context): Declare.
28135 (__makecontext_ret): Delete.
28136 (__makecontext): Hook up __start_context instead of
28138 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28139 (sysdep_routines): Add __start_context when in stdlib.
28141 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28143 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28144 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28145 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28147 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28148 (READELF): New variable. Use it instead of hardcoded "readelf".
28150 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28152 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28153 * sysdeps/x86/Makefile: Here.
28154 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28155 * sysdeps/x86/tst-xmmymm.sh: This.
28157 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28159 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28161 [UNIX98] (pthread_barrier_t): Do not expect.
28162 [UNIX98] (pthread_barrierattr_t): Likewise.
28163 [UNIX98] (pthread_spinlock_t): Likewise.
28164 [UNIX98] (pthread_barrier_destroy): Likewise.
28165 [UNIX98] (pthread_barrier_init): Likewise.
28166 [UNIX98] (pthread_barrier_wait): Likewise.
28167 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28168 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28169 [UNIX98] (pthread_barrierattr_init): Likewise.
28170 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28171 [UNIX98] (pthread_getcpuclockid): Likewise.
28172 [UNIX98] (pthread_mutex_timedlock): Likewise.
28173 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28174 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28175 [UNIX98] (pthread_sigmask): Likewise.
28176 [UNIX98] (pthread_spin_destroy): Likewise.
28177 [UNIX98] (pthread_spin_init): Likewise.
28178 [UNIX98] (pthread_spin_lock): Likewise.
28179 [UNIX98] (pthread_spin_trylock): Likewise.
28180 [UNIX98] (pthread_spin_unlock): Likewise.
28181 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28183 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28184 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28185 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28186 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28187 [XPG3 || XPG4] (pthread_key_t): Likewise.
28188 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28189 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28190 [XPG3 || XPG4] (pthread_once_t): Likewise.
28191 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28192 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28193 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28194 [XPG3 || XPG4] (pthread_t): Likewise.
28196 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28198 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28200 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28201 Change function return type to int.
28203 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28204 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28205 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28206 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28207 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28208 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28209 [!POSIX] (posix_madvise): Likewise.
28210 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28212 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28213 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28214 (mode_t): Likewise.
28215 (posix_mem_offset): Likewise.
28216 (posix_typed_mem_get_info): Likewise.
28217 (posix_typed_mem_open): Likewise.
28219 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28220 Change condition to [XOPEN2K8].
28222 * conform/conformtest.pl: Preprocess allow-header data with -x c
28223 instead of from stdin.
28224 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28225 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28226 [C99-based standards] (cerfc): Likewise.
28227 [C99-based standards] (cexp2): Likewise.
28228 [C99-based standards] (cexpm1): Likewise.
28229 [C99-based standards] (clog10): Likewise.
28230 [C99-based standards] (clog1p): Likewise.
28231 [C99-based standards] (clog2): Likewise.
28232 [C99-based standards] (clgamma): Likewise.
28233 [C99-based standards] (ctgamma): Likewise.
28234 [C99-based standards] (cerff): Likewise.
28235 [C99-based standards] (cerfcf): Likewise.
28236 [C99-based standards] (cexp2f): Likewise.
28237 [C99-based standards] (cexpm1f): Likewise.
28238 [C99-based standards] (clog10f): Likewise.
28239 [C99-based standards] (clog1pf): Likewise.
28240 [C99-based standards] (clog2f): Likewise.
28241 [C99-based standards] (clgammaf): Likewise.
28242 [C99-based standards] (ctgammaf): Likewise.
28243 [C99-based standards] (cerfl): Likewise.
28244 [C99-based standards] (cerfcl): Likewise.
28245 [C99-based standards] (cexp2l): Likewise.
28246 [C99-based standards] (cexpm1l): Likewise.
28247 [C99-based standards] (clog10l): Likewise.
28248 [C99-based standards] (clog1pl): Likewise.
28249 [C99-based standards] (clog2l): Likewise.
28250 [C99-based standards] (clgammal): Likewise.
28251 [C99-based standards] (ctgammal): Likewise.
28252 * conform/data/inttypes.h-data [C99-based standards]: Include
28253 stdint.h-data. Remove all expectations for stdint.h contents.
28254 [C99-based standards] (PRI*): Do not allow.
28255 [C99-based standards] (SCN*): Likewise.
28256 [C99-based standards] (*_t): Likewise.
28257 [C99-based-standards] (PRId8): Expect macro.
28258 [C99-based-standards] (PRIi8): Likewise.
28259 [C99-based-standards] (PRIo8): Likewise.
28260 [C99-based-standards] (PRIu8): Likewise.
28261 [C99-based-standards] (PRIx8): Likewise.
28262 [C99-based-standards] (PRIX8): Likewise.
28263 [C99-based-standards] (SCNd8): Likewise.
28264 [C99-based-standards] (SCNi8): Likewise.
28265 [C99-based-standards] (SCNo8): Likewise.
28266 [C99-based-standards] (SCNu8): Likewise.
28267 [C99-based-standards] (SCNx8): Likewise.
28268 [C99-based-standards] (PRIdLEAST8): Likewise.
28269 [C99-based-standards] (PRIiLEAST8): Likewise.
28270 [C99-based-standards] (PRIoLEAST8): Likewise.
28271 [C99-based-standards] (PRIuLEAST8): Likewise.
28272 [C99-based-standards] (PRIxLEAST8): Likewise.
28273 [C99-based-standards] (PRIXLEAST8): Likewise.
28274 [C99-based-standards] (SCNdLEAST8): Likewise.
28275 [C99-based-standards] (SCNiLEAST8): Likewise.
28276 [C99-based-standards] (SCNoLEAST8): Likewise.
28277 [C99-based-standards] (SCNuLEAST8): Likewise.
28278 [C99-based-standards] (SCNxLEAST8): Likewise.
28279 [C99-based-standards] (PRIdFAST8): Likewise.
28280 [C99-based-standards] (PRIiFAST8): Likewise.
28281 [C99-based-standards] (PRIoFAST8): Likewise.
28282 [C99-based-standards] (PRIuFAST8): Likewise.
28283 [C99-based-standards] (PRIxFAST8): Likewise.
28284 [C99-based-standards] (PRIXFAST8): Likewise.
28285 [C99-based-standards] (SCNdFAST8): Likewise.
28286 [C99-based-standards] (SCNiFAST8): Likewise.
28287 [C99-based-standards] (SCNoFAST8): Likewise.
28288 [C99-based-standards] (SCNuFAST8): Likewise.
28289 [C99-based-standards] (SCNxFAST8): Likewise.
28290 [C99-based-standards] (PRId16): Likewise.
28291 [C99-based-standards] (PRIi16): Likewise.
28292 [C99-based-standards] (PRIo16): Likewise.
28293 [C99-based-standards] (PRIu16): Likewise.
28294 [C99-based-standards] (PRIx16): Likewise.
28295 [C99-based-standards] (PRIX16): Likewise.
28296 [C99-based-standards] (SCNd16): Likewise.
28297 [C99-based-standards] (SCNi16): Likewise.
28298 [C99-based-standards] (SCNo16): Likewise.
28299 [C99-based-standards] (SCNu16): Likewise.
28300 [C99-based-standards] (SCNx16): Likewise.
28301 [C99-based-standards] (PRIdLEAST16): Likewise.
28302 [C99-based-standards] (PRIiLEAST16): Likewise.
28303 [C99-based-standards] (PRIoLEAST16): Likewise.
28304 [C99-based-standards] (PRIuLEAST16): Likewise.
28305 [C99-based-standards] (PRIxLEAST16): Likewise.
28306 [C99-based-standards] (PRIXLEAST16): Likewise.
28307 [C99-based-standards] (SCNdLEAST16): Likewise.
28308 [C99-based-standards] (SCNiLEAST16): Likewise.
28309 [C99-based-standards] (SCNoLEAST16): Likewise.
28310 [C99-based-standards] (SCNuLEAST16): Likewise.
28311 [C99-based-standards] (SCNxLEAST16): Likewise.
28312 [C99-based-standards] (PRIdFAST16): Likewise.
28313 [C99-based-standards] (PRIiFAST16): Likewise.
28314 [C99-based-standards] (PRIoFAST16): Likewise.
28315 [C99-based-standards] (PRIuFAST16): Likewise.
28316 [C99-based-standards] (PRIxFAST16): Likewise.
28317 [C99-based-standards] (PRIXFAST16): Likewise.
28318 [C99-based-standards] (SCNdFAST16): Likewise.
28319 [C99-based-standards] (SCNiFAST16): Likewise.
28320 [C99-based-standards] (SCNoFAST16): Likewise.
28321 [C99-based-standards] (SCNuFAST16): Likewise.
28322 [C99-based-standards] (SCNxFAST16): Likewise.
28323 [C99-based-standards] (PRId32): Likewise.
28324 [C99-based-standards] (PRIi32): Likewise.
28325 [C99-based-standards] (PRIo32): Likewise.
28326 [C99-based-standards] (PRIu32): Likewise.
28327 [C99-based-standards] (PRIx32): Likewise.
28328 [C99-based-standards] (PRIX32): Likewise.
28329 [C99-based-standards] (SCNd32): Likewise.
28330 [C99-based-standards] (SCNi32): Likewise.
28331 [C99-based-standards] (SCNo32): Likewise.
28332 [C99-based-standards] (SCNu32): Likewise.
28333 [C99-based-standards] (SCNx32): Likewise.
28334 [C99-based-standards] (PRIdLEAST32): Likewise.
28335 [C99-based-standards] (PRIiLEAST32): Likewise.
28336 [C99-based-standards] (PRIoLEAST32): Likewise.
28337 [C99-based-standards] (PRIuLEAST32): Likewise.
28338 [C99-based-standards] (PRIxLEAST32): Likewise.
28339 [C99-based-standards] (PRIXLEAST32): Likewise.
28340 [C99-based-standards] (SCNdLEAST32): Likewise.
28341 [C99-based-standards] (SCNiLEAST32): Likewise.
28342 [C99-based-standards] (SCNoLEAST32): Likewise.
28343 [C99-based-standards] (SCNuLEAST32): Likewise.
28344 [C99-based-standards] (SCNxLEAST32): Likewise.
28345 [C99-based-standards] (PRIdFAST32): Likewise.
28346 [C99-based-standards] (PRIiFAST32): Likewise.
28347 [C99-based-standards] (PRIoFAST32): Likewise.
28348 [C99-based-standards] (PRIuFAST32): Likewise.
28349 [C99-based-standards] (PRIxFAST32): Likewise.
28350 [C99-based-standards] (PRIXFAST32): Likewise.
28351 [C99-based-standards] (SCNdFAST32): Likewise.
28352 [C99-based-standards] (SCNiFAST32): Likewise.
28353 [C99-based-standards] (SCNoFAST32): Likewise.
28354 [C99-based-standards] (SCNuFAST32): Likewise.
28355 [C99-based-standards] (SCNxFAST32): Likewise.
28356 [C99-based-standards] (PRId64): Likewise.
28357 [C99-based-standards] (PRIi64): Likewise.
28358 [C99-based-standards] (PRIo64): Likewise.
28359 [C99-based-standards] (PRIu64): Likewise.
28360 [C99-based-standards] (PRIx64): Likewise.
28361 [C99-based-standards] (PRIX64): Likewise.
28362 [C99-based-standards] (SCNd64): Likewise.
28363 [C99-based-standards] (SCNi64): Likewise.
28364 [C99-based-standards] (SCNo64): Likewise.
28365 [C99-based-standards] (SCNu64): Likewise.
28366 [C99-based-standards] (SCNx64): Likewise.
28367 [C99-based-standards] (PRIdLEAST64): Likewise.
28368 [C99-based-standards] (PRIiLEAST64): Likewise.
28369 [C99-based-standards] (PRIoLEAST64): Likewise.
28370 [C99-based-standards] (PRIuLEAST64): Likewise.
28371 [C99-based-standards] (PRIxLEAST64): Likewise.
28372 [C99-based-standards] (PRIXLEAST64): Likewise.
28373 [C99-based-standards] (SCNdLEAST64): Likewise.
28374 [C99-based-standards] (SCNiLEAST64): Likewise.
28375 [C99-based-standards] (SCNoLEAST64): Likewise.
28376 [C99-based-standards] (SCNuLEAST64): Likewise.
28377 [C99-based-standards] (SCNxLEAST64): Likewise.
28378 [C99-based-standards] (PRIdFAST64): Likewise.
28379 [C99-based-standards] (PRIiFAST64): Likewise.
28380 [C99-based-standards] (PRIoFAST64): Likewise.
28381 [C99-based-standards] (PRIuFAST64): Likewise.
28382 [C99-based-standards] (PRIxFAST64): Likewise.
28383 [C99-based-standards] (PRIXFAST64): Likewise.
28384 [C99-based-standards] (SCNdFAST64): Likewise.
28385 [C99-based-standards] (SCNiFAST64): Likewise.
28386 [C99-based-standards] (SCNoFAST64): Likewise.
28387 [C99-based-standards] (SCNuFAST64): Likewise.
28388 [C99-based-standards] (SCNxFAST64): Likewise.
28389 [C99-based-standards] (PRIdMAX): Likewise.
28390 [C99-based-standards] (PRIiMAX): Likewise.
28391 [C99-based-standards] (PRIoMAX): Likewise.
28392 [C99-based-standards] (PRIuMAX): Likewise.
28393 [C99-based-standards] (PRIxMAX): Likewise.
28394 [C99-based-standards] (PRIXMAX): Likewise.
28395 [C99-based-standards] (SCNdMAX): Likewise.
28396 [C99-based-standards] (SCNiMAX): Likewise.
28397 [C99-based-standards] (SCNoMAX): Likewise.
28398 [C99-based-standards] (SCNuMAX): Likewise.
28399 [C99-based-standards] (SCNxMAX): Likewise.
28400 [C99-based-standards] (PRIdPTR): Likewise.
28401 [C99-based-standards] (PRIiPTR): Likewise.
28402 [C99-based-standards] (PRIoPTR): Likewise.
28403 [C99-based-standards] (PRIuPTR): Likewise.
28404 [C99-based-standards] (PRIxPTR): Likewise.
28405 [C99-based-standards] (PRIXPTR): Likewise.
28406 [C99-based-standards] (SCNdPTR): Likewise.
28407 [C99-based-standards] (SCNiPTR): Likewise.
28408 [C99-based-standards] (SCNoPTR): Likewise.
28409 [C99-based-standards] (SCNuPTR): Likewise.
28410 [C99-based-standards] (SCNxPTR): Likewise.
28411 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28413 * conform/data/stdint.h-data: Update comments to clarify
28415 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28417 [C99-based standards] (INT8_MAX): Likewise.
28418 [C99-based standards] (INT16_MIN): Likewise.
28419 [C99-based standards] (INT16_MAX): Likewise.
28420 [C99-based standards] (INT32_MIN): Likewise.
28421 [C99-based standards] (INT32_MAX): Likewise.
28422 [C99-based standards] (INT64_MIN): Likewise.
28423 [C99-based standards] (INT64_MAX): Likewise.
28424 [C99-based standards] (UINT8_MAX): Likewise.
28425 [C99-based standards] (UINT16_MAX): Likewise.
28426 [C99-based standards] (UINT32_MAX): Likewise.
28427 [C99-based standards] (UINT64_MAX): Likewise.
28428 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28429 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28430 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28431 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28432 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28433 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28434 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28435 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28436 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28437 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28438 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28439 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28440 [C99-based standards] (INT_FAST8_MIN): Likewise.
28441 [C99-based standards] (INT_FAST8_MAX): Likewise.
28442 [C99-based standards] (INT_FAST16_MIN): Likewise.
28443 [C99-based standards] (INT_FAST16_MAX): Likewise.
28444 [C99-based standards] (INT_FAST32_MIN): Likewise.
28445 [C99-based standards] (INT_FAST32_MAX): Likewise.
28446 [C99-based standards] (INT_FAST64_MIN): Likewise.
28447 [C99-based standards] (INT_FAST64_MAX): Likewise.
28448 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28449 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28450 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28451 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28452 [C99-based standards] (INTPTR_MIN): Likewise.
28453 [C99-based standards] (INTPTR_MAX): Likewise.
28454 [C99-based standards] (UINTPTR_MAX): Likewise.
28455 [C99-based standards] (INTMAX_MIN): Likewise.
28456 [C99-based standards] (INTMAX_MAX): Likewise.
28457 [C99-based standards] (UINTMAX_MAX): Likewise.
28458 [C99-based standards] (PTRDIFF_MIN): Likewise.
28459 [C99-based standards] (PTRDIFF_MAX): Likewise.
28460 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28461 [C99-based standards] (SIZE_MAX): Likewise.
28462 [C99-based standards] (WCHAR_MAX): Likewise.
28463 [C99-based standards] (WINT_MAX): Likewise.
28464 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28465 constraint on value.
28466 [C99-based standards] (WCHAR_MIN): Likewise.
28467 [C99-based standards] (WINT_MIN): Likewise.
28468 [C99-based standards] (*_t): Allow.
28469 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28470 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28471 Include math.h-data and complex.h-data. Remove all expectations
28472 of math.h and complex.h contents.
28473 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28475 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28476 (struct tm): Expect tag.
28477 [C99-based-standards] (wcstof): Expect function.
28478 [C99-based-standards] (wcstold): Likewise.
28479 [C99-based-standards] (wcstoll): Likewise.
28480 [C99-based-standards] (wcstoull): Likewise.
28481 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28482 macro-int-constant. Specify type.
28483 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28484 constraint on value.
28485 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28487 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28489 [ISO C standards]: Do not allow headers.
28490 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28491 wcs[abcdefghijklmnopqrstuvwxyz]*.
28492 [ISO C standards] (*_t): Do not allow.
28493 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28495 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28496 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28498 [ISO C standards]: Do not allow headers.
28499 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28500 is[abcdefghijklmnopqrstuvwxyz]*.
28501 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28502 to[abcdefghijklmnopqrstuvwxyz]*.
28503 [ISO C standards] (*_t): Do not allow.
28504 * conform/data/stdalign.h-data: New file.
28505 * conform/data/stdbool.h-data: Likewise.
28506 * conform/data/stdnoreturn.h-data: Likewise.
28508 2012-11-07 Roland McGrath <roland@hack.frob.com>
28511 * manual/filesys.texi (Directory Entries): Typo fix.
28512 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28514 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28516 * elf/elf.h (EM_AARCH64): New macro.
28517 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28518 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28519 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28520 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28521 (R_AARCH64_TLSDESC): Likewise.
28522 (NT_ARM_TLS): Likewise.
28523 (NT_ARM_HW_BREAK): Likewise.
28524 (NT_ARM_HW_WATCH): Likewise.
28526 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28529 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28530 (__ieee754_powl): Saturate nonzero exponents with absolute value
28531 below 0x1p-79 to +/- 0x1p-79.
28532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28533 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28534 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28535 nonzero exponents with absolute value below 0x1p-32 to +/-
28537 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28538 (__ieee754_powl): Saturate nonzero exponents with absolute value
28539 below 0x1p-79 to +/- 0x1p-79.
28540 * math/libm-test.inc (pow_test): Add more tests.
28542 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28544 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28545 _dl_s390_cap_flags with kernel. Increase string length.
28546 (_dl_s390_platforms): Add z196 and zEC12.
28548 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28550 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28551 Change XOPEN21K to XOPEN2K.
28553 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28555 * string/memmove.c: Use memcpy when possible.
28557 2012-11-06 Andreas Jaeger <aj@suse.de>
28559 * po/eo.po: Update from translation team.
28561 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28565 exponent and small x and y exponents, scale x or y up. Increase
28566 by 2 the exponent used in scaling up.
28567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28569 * math/libm-test.inc (fma_test): Add more tests.
28570 (fma_test_towardzero): Likewise.
28571 (fma_test_downward): Likewise.
28572 (fma_test_upward): Likewise.
28574 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28577 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28581 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28582 namespace for names of struct fields.
28583 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28585 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28586 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28588 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28591 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28593 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28595 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28599 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28602 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28606 definitely overflow as x * y not x * y + z.
28607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28608 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28609 * math/libm-test.inc (fma_test): Add more tests.
28610 (fma_test_towardzero): Likewise.
28611 (fma_test_downward): Likewise.
28612 (fma_test_upward): Likewise.
28614 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28618 * include/stub-tag.h: Remove file.
28619 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28621 * manual/maint.texi (Porting): Don't reference it.
28622 * Makerules ($(objpfx)stubs): Likewise.
28623 * dirent/closedir.c: Don't include <stub-tag.h>.
28624 * dirent/dirfd.c: Likewise.
28625 * dirent/fdopendir.c: Likewise.
28626 * dirent/getdents.c: Likewise.
28627 * dirent/getdents64.c: Likewise.
28628 * dirent/opendir.c: Likewise.
28629 * dirent/readdir.c: Likewise.
28630 * dirent/readdir64.c: Likewise.
28631 * dirent/readdir64_r.c: Likewise.
28632 * dirent/readdir_r.c: Likewise.
28633 * dirent/rewinddir.c: Likewise.
28634 * dirent/seekdir.c: Likewise.
28635 * dirent/telldir.c: Likewise.
28636 * gmon/profil.c: Likewise.
28637 * grp/setgroups.c: Likewise.
28638 * inet/if_index.c: Likewise.
28639 * io/access.c: Likewise.
28640 * io/chdir.c: Likewise.
28641 * io/chmod.c: Likewise.
28642 * io/chown.c: Likewise.
28643 * io/close.c: Likewise.
28644 * io/dup.c: Likewise.
28645 * io/dup2.c: Likewise.
28646 * io/dup3.c: Likewise.
28647 * io/euidaccess.c: Likewise.
28648 * io/faccessat.c: Likewise.
28649 * io/fchdir.c: Likewise.
28650 * io/fchmod.c: Likewise.
28651 * io/fchmodat.c: Likewise.
28652 * io/fchown.c: Likewise.
28653 * io/fchownat.c: Likewise.
28654 * io/fcntl.c: Likewise.
28655 * io/flock.c: Likewise.
28656 * io/fstatfs.c: Likewise.
28657 * io/fstatfs64.c: Likewise.
28658 * io/fstatvfs.c: Likewise.
28659 * io/fstatvfs64.c: Likewise.
28660 * io/futimens.c: Likewise.
28661 * io/fxstat.c: Likewise.
28662 * io/fxstat64.c: Likewise.
28663 * io/fxstatat.c: Likewise.
28664 * io/fxstatat64.c: Likewise.
28665 * io/getcwd.c: Likewise.
28666 * io/isatty.c: Likewise.
28667 * io/lchmod.c: Likewise.
28668 * io/lchown.c: Likewise.
28669 * io/link.c: Likewise.
28670 * io/linkat.c: Likewise.
28671 * io/lseek.c: Likewise.
28672 * io/lseek64.c: Likewise.
28673 * io/lxstat64.c: Likewise.
28674 * io/mkdir.c: Likewise.
28675 * io/mkdirat.c: Likewise.
28676 * io/mkfifo.c: Likewise.
28677 * io/mkfifoat.c: Likewise.
28678 * io/open.c: Likewise.
28679 * io/open64.c: Likewise.
28680 * io/openat.c: Likewise.
28681 * io/openat64.c: Likewise.
28682 * io/pipe.c: Likewise.
28683 * io/pipe2.c: Likewise.
28684 * io/poll.c: Likewise.
28685 * io/posix_fadvise.c: Likewise.
28686 * io/posix_fadvise64.c: Likewise.
28687 * io/posix_fallocate.c: Likewise.
28688 * io/posix_fallocate64.c: Likewise.
28689 * io/read.c: Likewise.
28690 * io/readlink.c: Likewise.
28691 * io/readlinkat.c: Likewise.
28692 * io/rmdir.c: Likewise.
28693 * io/sendfile.c: Likewise.
28694 * io/sendfile64.c: Likewise.
28695 * io/statfs.c: Likewise.
28696 * io/statfs64.c: Likewise.
28697 * io/statvfs.c: Likewise.
28698 * io/statvfs64.c: Likewise.
28699 * io/symlink.c: Likewise.
28700 * io/symlinkat.c: Likewise.
28701 * io/ttyname.c: Likewise.
28702 * io/ttyname_r.c: Likewise.
28703 * io/umask.c: Likewise.
28704 * io/unlink.c: Likewise.
28705 * io/unlinkat.c: Likewise.
28706 * io/utime.c: Likewise.
28707 * io/utimensat.c: Likewise.
28708 * io/write.c: Likewise.
28709 * io/xmknod.c: Likewise.
28710 * io/xmknodat.c: Likewise.
28711 * io/xstat.c: Likewise.
28712 * io/xstat64.c: Likewise.
28713 * login/getpt.c: Likewise.
28714 * login/grantpt.c: Likewise.
28715 * login/unlockpt.c: Likewise.
28716 * math/e_acoshl.c: Likewise.
28717 * math/e_acosl.c: Likewise.
28718 * math/e_asinl.c: Likewise.
28719 * math/e_atan2l.c: Likewise.
28720 * math/e_atanhl.c: Likewise.
28721 * math/e_coshl.c: Likewise.
28722 * math/e_expl.c: Likewise.
28723 * math/e_fmodl.c: Likewise.
28724 * math/e_gammal_r.c: Likewise.
28725 * math/e_hypotl.c: Likewise.
28726 * math/e_j0l.c: Likewise.
28727 * math/e_j1l.c: Likewise.
28728 * math/e_jnl.c: Likewise.
28729 * math/e_lgammal_r.c: Likewise.
28730 * math/e_log10l.c: Likewise.
28731 * math/e_log2l.c: Likewise.
28732 * math/e_logl.c: Likewise.
28733 * math/e_powl.c: Likewise.
28734 * math/e_rem_pio2l.c: Likewise.
28735 * math/e_sinhl.c: Likewise.
28736 * math/e_sqrtl.c: Likewise.
28737 * math/fclrexcpt.c: Likewise.
28738 * math/fedisblxcpt.c: Likewise.
28739 * math/feenablxcpt.c: Likewise.
28740 * math/fegetenv.c: Likewise.
28741 * math/fegetexcept.c: Likewise.
28742 * math/fegetround.c: Likewise.
28743 * math/feholdexcpt.c: Likewise.
28744 * math/fesetenv.c: Likewise.
28745 * math/fesetround.c: Likewise.
28746 * math/feupdateenv.c: Likewise.
28747 * math/fgetexcptflg.c: Likewise.
28748 * math/fraiseexcpt.c: Likewise.
28749 * math/fsetexcptflg.c: Likewise.
28750 * math/ftestexcept.c: Likewise.
28751 * math/k_cosl.c: Likewise.
28752 * math/k_rem_pio2l.c: Likewise.
28753 * math/k_sinl.c: Likewise.
28754 * math/k_tanl.c: Likewise.
28755 * math/s_asinhl.c: Likewise.
28756 * math/s_atanl.c: Likewise.
28757 * math/s_cbrtl.c: Likewise.
28758 * math/s_erfl.c: Likewise.
28759 * math/s_expm1l.c: Likewise.
28760 * math/s_log1pl.c: Likewise.
28761 * math/s_tanhl.c: Likewise.
28762 * misc/acct.c: Likewise.
28763 * misc/brk.c: Likewise.
28764 * misc/chflags.c: Likewise.
28765 * misc/chroot.c: Likewise.
28766 * misc/fchflags.c: Likewise.
28767 * misc/fgetxattr.c: Likewise.
28768 * misc/flistxattr.c: Likewise.
28769 * misc/fremovexattr.c: Likewise.
28770 * misc/fsetxattr.c: Likewise.
28771 * misc/fsync.c: Likewise.
28772 * misc/ftruncate.c: Likewise.
28773 * misc/futimes.c: Likewise.
28774 * misc/futimesat.c: Likewise.
28775 * misc/getdomain.c: Likewise.
28776 * misc/getdtsz.c: Likewise.
28777 * misc/gethostid.c: Likewise.
28778 * misc/gethostname.c: Likewise.
28779 * misc/getloadavg.c: Likewise.
28780 * misc/getpagesize.c: Likewise.
28781 * misc/getsysstats.c: Likewise.
28782 * misc/getxattr.c: Likewise.
28783 * misc/gtty.c: Likewise.
28784 * misc/ioctl.c: Likewise.
28785 * misc/lgetxattr.c: Likewise.
28786 * misc/listxattr.c: Likewise.
28787 * misc/llistxattr.c: Likewise.
28788 * misc/lremovexattr.c: Likewise.
28789 * misc/lsetxattr.c: Likewise.
28790 * misc/lutimes.c: Likewise.
28791 * misc/madvise.c: Likewise.
28792 * misc/mincore.c: Likewise.
28793 * misc/mlock.c: Likewise.
28794 * misc/mlockall.c: Likewise.
28795 * misc/mmap.c: Likewise.
28796 * misc/mprotect.c: Likewise.
28797 * misc/msync.c: Likewise.
28798 * misc/munlock.c: Likewise.
28799 * misc/munlockall.c: Likewise.
28800 * misc/munmap.c: Likewise.
28801 * misc/preadv.c: Likewise.
28802 * misc/preadv64.c: Likewise.
28803 * misc/ptrace.c: Likewise.
28804 * misc/pwritev.c: Likewise.
28805 * misc/pwritev64.c: Likewise.
28806 * misc/readv.c: Likewise.
28807 * misc/reboot.c: Likewise.
28808 * misc/remap_file_pages.c: Likewise.
28809 * misc/removexattr.c: Likewise.
28810 * misc/revoke.c: Likewise.
28811 * misc/select.c: Likewise.
28812 * misc/setdomain.c: Likewise.
28813 * misc/setegid.c: Likewise.
28814 * misc/seteuid.c: Likewise.
28815 * misc/sethostid.c: Likewise.
28816 * misc/sethostname.c: Likewise.
28817 * misc/setregid.c: Likewise.
28818 * misc/setreuid.c: Likewise.
28819 * misc/setxattr.c: Likewise.
28820 * misc/sstk.c: Likewise.
28821 * misc/stty.c: Likewise.
28822 * misc/swapoff.c: Likewise.
28823 * misc/swapon.c: Likewise.
28824 * misc/sync.c: Likewise.
28825 * misc/syncfs.c: Likewise.
28826 * misc/syscall.c: Likewise.
28827 * misc/truncate.c: Likewise.
28828 * misc/ualarm.c: Likewise.
28829 * misc/usleep.c: Likewise.
28830 * misc/ustat.c: Likewise.
28831 * misc/utimes.c: Likewise.
28832 * misc/vhangup.c: Likewise.
28833 * misc/writev.c: Likewise.
28834 * posix/_exit.c: Likewise.
28835 * posix/alarm.c: Likewise.
28836 * posix/execve.c: Likewise.
28837 * posix/fexecve.c: Likewise.
28838 * posix/fork.c: Likewise.
28839 * posix/fpathconf.c: Likewise.
28840 * posix/getaddrinfo.c: Likewise.
28841 * posix/getegid.c: Likewise.
28842 * posix/geteuid.c: Likewise.
28843 * posix/getgid.c: Likewise.
28844 * posix/getgroups.c: Likewise.
28845 * posix/getlogin.c: Likewise.
28846 * posix/getlogin_r.c: Likewise.
28847 * posix/getpgid.c: Likewise.
28848 * posix/getpid.c: Likewise.
28849 * posix/getppid.c: Likewise.
28850 * posix/getresgid.c: Likewise.
28851 * posix/getresuid.c: Likewise.
28852 * posix/getsid.c: Likewise.
28853 * posix/getuid.c: Likewise.
28854 * posix/glob64.c: Likewise.
28855 * posix/nanosleep.c: Likewise.
28856 * posix/pathconf.c: Likewise.
28857 * posix/pause.c: Likewise.
28858 * posix/posix_madvise.c: Likewise.
28859 * posix/pread.c: Likewise.
28860 * posix/pread64.c: Likewise.
28861 * posix/pwrite.c: Likewise.
28862 * posix/pwrite64.c: Likewise.
28863 * posix/sched_getaffinity.c: Likewise.
28864 * posix/sched_getp.c: Likewise.
28865 * posix/sched_gets.c: Likewise.
28866 * posix/sched_primax.c: Likewise.
28867 * posix/sched_primin.c: Likewise.
28868 * posix/sched_rr_gi.c: Likewise.
28869 * posix/sched_setaffinity.c: Likewise.
28870 * posix/sched_setp.c: Likewise.
28871 * posix/sched_sets.c: Likewise.
28872 * posix/sched_yield.c: Likewise.
28873 * posix/setgid.c: Likewise.
28874 * posix/setlogin.c: Likewise.
28875 * posix/setpgid.c: Likewise.
28876 * posix/setresgid.c: Likewise.
28877 * posix/setresuid.c: Likewise.
28878 * posix/setsid.c: Likewise.
28879 * posix/setuid.c: Likewise.
28880 * posix/sleep.c: Likewise.
28881 * posix/spawni.c: Likewise.
28882 * posix/sysconf.c: Likewise.
28883 * posix/times.c: Likewise.
28884 * posix/wait.c: Likewise.
28885 * posix/wait3.c: Likewise.
28886 * posix/wait4.c: Likewise.
28887 * posix/waitpid.c: Likewise.
28888 * resolv/gai_sigqueue.c: Likewise.
28889 * resource/getpriority.c: Likewise.
28890 * resource/getrlimit.c: Likewise.
28891 * resource/getrusage.c: Likewise.
28892 * resource/nice.c: Likewise.
28893 * resource/setpriority.c: Likewise.
28894 * resource/setrlimit.c: Likewise.
28895 * resource/ulimit.c: Likewise.
28896 * rt/aio_cancel.c: Likewise.
28897 * rt/aio_fsync.c: Likewise.
28898 * rt/aio_read.c: Likewise.
28899 * rt/aio_sigqueue.c: Likewise.
28900 * rt/aio_suspend.c: Likewise.
28901 * rt/aio_write.c: Likewise.
28902 * rt/clock_getres.c: Likewise.
28903 * rt/clock_gettime.c: Likewise.
28904 * rt/clock_nanosleep.c: Likewise.
28905 * rt/clock_settime.c: Likewise.
28906 * rt/lio_listio.c: Likewise.
28907 * rt/mq_close.c: Likewise.
28908 * rt/mq_getattr.c: Likewise.
28909 * rt/mq_notify.c: Likewise.
28910 * rt/mq_open.c: Likewise.
28911 * rt/mq_receive.c: Likewise.
28912 * rt/mq_send.c: Likewise.
28913 * rt/mq_setattr.c: Likewise.
28914 * rt/mq_timedreceive.c: Likewise.
28915 * rt/mq_timedsend.c: Likewise.
28916 * rt/mq_unlink.c: Likewise.
28917 * rt/shm_open.c: Likewise.
28918 * rt/shm_unlink.c: Likewise.
28919 * rt/timer_create.c: Likewise.
28920 * rt/timer_delete.c: Likewise.
28921 * rt/timer_getoverr.c: Likewise.
28922 * rt/timer_gettime.c: Likewise.
28923 * rt/timer_settime.c: Likewise.
28924 * setjmp/__longjmp.c: Likewise.
28925 * setjmp/setjmp.c: Likewise.
28926 * signal/kill.c: Likewise.
28927 * signal/killpg.c: Likewise.
28928 * signal/raise.c: Likewise.
28929 * signal/sigaction.c: Likewise.
28930 * signal/sigaltstack.c: Likewise.
28931 * signal/sigblock.c: Likewise.
28932 * signal/sigignore.c: Likewise.
28933 * signal/sigintr.c: Likewise.
28934 * signal/signal.c: Likewise.
28935 * signal/sigpause.c: Likewise.
28936 * signal/sigpending.c: Likewise.
28937 * signal/sigqueue.c: Likewise.
28938 * signal/sigreturn.c: Likewise.
28939 * signal/sigset.c: Likewise.
28940 * signal/sigsetmask.c: Likewise.
28941 * signal/sigstack.c: Likewise.
28942 * signal/sigsuspend.c: Likewise.
28943 * signal/sigtimedwait.c: Likewise.
28944 * signal/sigvec.c: Likewise.
28945 * signal/sigwait.c: Likewise.
28946 * signal/sigwaitinfo.c: Likewise.
28947 * signal/sysv_signal.c: Likewise.
28948 * socket/accept.c: Likewise.
28949 * socket/accept4.c: Likewise.
28950 * socket/bind.c: Likewise.
28951 * socket/connect.c: Likewise.
28952 * socket/getpeername.c: Likewise.
28953 * socket/getsockname.c: Likewise.
28954 * socket/getsockopt.c: Likewise.
28955 * socket/isfdtype.c: Likewise.
28956 * socket/listen.c: Likewise.
28957 * socket/recv.c: Likewise.
28958 * socket/recvfrom.c: Likewise.
28959 * socket/recvmsg.c: Likewise.
28960 * socket/send.c: Likewise.
28961 * socket/sendmsg.c: Likewise.
28962 * socket/sendto.c: Likewise.
28963 * socket/setsockopt.c: Likewise.
28964 * socket/shutdown.c: Likewise.
28965 * socket/sockatmark.c: Likewise.
28966 * socket/socket.c: Likewise.
28967 * socket/socketpair.c: Likewise.
28968 * stdio-common/ctermid.c: Likewise.
28969 * stdio-common/cuserid.c: Likewise.
28970 * stdio-common/remove.c: Likewise.
28971 * stdio-common/rename.c: Likewise.
28972 * stdio-common/renameat.c: Likewise.
28973 * stdio-common/tempname.c: Likewise.
28974 * stdlib/getcontext.c: Likewise.
28975 * stdlib/makecontext.c: Likewise.
28976 * stdlib/setcontext.c: Likewise.
28977 * stdlib/swapcontext.c: Likewise.
28978 * stdlib/system.c: Likewise.
28979 * streams/fattach.c: Likewise.
28980 * streams/fdetach.c: Likewise.
28981 * streams/getmsg.c: Likewise.
28982 * streams/getpmsg.c: Likewise.
28983 * streams/putmsg.c: Likewise.
28984 * streams/putpmsg.c: Likewise.
28985 * sysdeps/unix/bsd/getpt.c: Likewise.
28986 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28987 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28988 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28991 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28992 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28993 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28994 * sysvipc/msgctl.c: Likewise.
28995 * sysvipc/msgget.c: Likewise.
28996 * sysvipc/msgrcv.c: Likewise.
28997 * sysvipc/msgsnd.c: Likewise.
28998 * sysvipc/semctl.c: Likewise.
28999 * sysvipc/semget.c: Likewise.
29000 * sysvipc/semop.c: Likewise.
29001 * sysvipc/semtimedop.c: Likewise.
29002 * sysvipc/shmat.c: Likewise.
29003 * sysvipc/shmctl.c: Likewise.
29004 * sysvipc/shmdt.c: Likewise.
29005 * sysvipc/shmget.c: Likewise.
29006 * termios/tcdrain.c: Likewise.
29007 * termios/tcflow.c: Likewise.
29008 * termios/tcflush.c: Likewise.
29009 * termios/tcgetattr.c: Likewise.
29010 * termios/tcgetpgrp.c: Likewise.
29011 * termios/tcsendbrk.c: Likewise.
29012 * termios/tcsetattr.c: Likewise.
29013 * termios/tcsetpgrp.c: Likewise.
29014 * time/adjtime.c: Likewise.
29015 * time/clock.c: Likewise.
29016 * time/getitimer.c: Likewise.
29017 * time/gettimeofday.c: Likewise.
29018 * time/setitimer.c: Likewise.
29019 * time/settimeofday.c: Likewise.
29020 * time/stime.c: Likewise.
29021 * time/time.c: Likewise.
29023 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29025 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29028 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29030 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29032 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29036 FE_TONEAREST before applying Dekker multiplication and Knuth
29037 addition. Clear inexact exceptions and check for exact zero
29038 results afterwards.
29039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29040 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29042 * math/libm-test.inc (fma_test): Add more tests.
29043 (fma_test_towardzero): Likewise.
29044 (fma_test_downward): Likewise.
29045 (fma_test_upward): Likewise.
29046 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29048 (libc_fesetround): New macro.
29049 (libc_fesetroundf): Likewise.
29050 (libc_fesetroundl): Likewise.
29051 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29053 (libc_fesetround_387): Likewise.
29054 (libc_fesetroundf): New macro.
29055 (libc_fesetround): Likewise.
29056 (libc_fesetroundl): Likewise.
29057 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29059 (libc_fesetroundf): New macro.
29060 (libc_fesetround): Likewise.
29061 (libc_fesetroundl): Likewise.
29062 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29063 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29064 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29066 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29067 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29069 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29070 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29072 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29076 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29077 integer constant usable in #if and use that to give value to enum
29079 (FE_DIVBYZERO): Likewise.
29080 (FE_UNDERFLOW): Likewise.
29081 (FE_OVERFLOW): Likewise.
29082 (FE_INVALID): Likewise.
29083 (FE_INVALID_SNAN): Likewise.
29084 (FE_INVALID_ISI): Likewise.
29085 (FE_INVALID_IDI): Likewise.
29086 (FE_INVALID_ZDZ): Likewise.
29087 (FE_INVALID_IMZ): Likewise.
29088 (FE_INVALID_COMPARE): Likewise.
29089 (FE_INVALID_SOFTWARE): Likewise.
29090 (FE_INVALID_SQRT): Likewise.
29091 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29092 (FE_TONEAREST): Likewise.
29093 (FE_TOWARDZERO): Likewise.
29094 (FE_UPWARD): Likewise.
29095 (FE_DOWNWARD): Likewise.
29096 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29097 (FE_DIVBYZERO): Likewise.
29098 (FE_OVERFLOW): Likewise.
29099 (FE_UNDERFLOW): Likewise.
29100 (FE_INEXACT): Likewise.
29101 (FE_TONEAREST): Likewise.
29102 (FE_DOWNWARD): Likewise.
29103 (FE_UPWARD): Likewise.
29104 (FE_TOWARDZERO): Likewise.
29105 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29106 (FE_UNDERFLOW): Likewise.
29107 (FE_OVERFLOW): Likewise.
29108 (FE_DIVBYZERO): Likewise.
29109 (FE_INVALID): Likewise.
29110 (FE_TONEAREST): Likewise.
29111 (FE_TOWARDZERO): Likewise.
29112 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29113 (FE_OVERFLOW): Likewise.
29114 (FE_UNDERFLOW): Likewise.
29115 (FE_DIVBYZERO): Likewise.
29116 (FE_INEXACT): Likewise.
29117 (FE_TONEAREST): Likewise.
29118 (FE_TOWARDZERO): Likewise.
29119 (FE_UPWARD): Likewise.
29120 (FE_DOWNWARD): Likewise.
29121 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29122 (FE_DIVBYZERO): Likewise.
29123 (FE_OVERFLOW): Likewise.
29124 (FE_UNDERFLOW): Likewise.
29125 (FE_INEXACT): Likewise.
29126 (FE_TONEAREST): Likewise.
29127 (FE_DOWNWARD): Likewise.
29128 (FE_UPWARD): Likewise.
29129 (FE_TOWARDZERO): Likewise.
29131 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29133 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29135 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29137 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29138 commands. Quote $PWD.
29139 (blacklist_exports): Don't use remove_newlines. Replace "declare
29141 (remove_newlines): Remove.
29143 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29145 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29146 * stdlib/stdlib.h (atof): Moved to ...
29147 * include/bits/stdlib-float.h: Here. New file.
29148 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29149 * stdlib/bits/stdlib-float.h: New file.
29150 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29152 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29155 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29157 * conform/conformtest.pl (@headers): Add fenv.h.
29158 * conform/data/fenv.h-data: New file.
29159 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29160 include of <math/fenv.h>.
29162 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29163 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29164 && !UNIX98]. Enables tests for XOPEN2K8.
29165 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29166 POSIX2008]: Likewise.
29168 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29169 (struct rusage): Do not expect type or its members.
29172 * math/math.h (FP_NAN): Define macro to integer constant usable in
29173 #if and use that to give value to enum constant.
29174 (FP_INFINITE): Likewise.
29175 (FP_ZERO): Likewise.
29176 (FP_SUBNORMAL): Likewise.
29177 (FP_NORMAL): Likewise.
29179 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29181 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29182 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29185 2012-11-02 Roland McGrath <roland@hack.frob.com>
29187 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29188 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29189 autoconf-time if not.
29190 * configure.in: Remove AC_PREREQ.
29192 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29194 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29195 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29196 of the internal implementation.
29198 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29200 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29201 except include of <misc/sys/syslog.h>.
29203 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29206 function returns with a NULL context exit with zero.
29208 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29210 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29212 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29214 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29215 (run_program_cmd): This.
29216 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29217 (tst_langinfo): New variable. Use it.
29219 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29221 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29222 floating point opcodes.
29224 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29226 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29229 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29231 * sysdeps/mach/hurd/powerpc: Remove directory.
29232 * sysdeps/mach/powerpc: Likewise.
29234 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29236 * scripts/check-local-headers.sh: Ignore c++ headers.
29238 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29240 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29241 __libc_cleanup_region_start argument.
29243 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29248 x * y using scaling, not as x * y + z.
29249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29251 * math/libm-test.inc (fma_test): Add more tests.
29252 (fma_test_towardzero): Likewise.
29253 (fma_test_downward): Likewise.
29254 (fma_test_upward): Likewise.
29256 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29258 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29260 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29262 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29265 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29267 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29269 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29276 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29279 Fix the order of the list for glibc 2.17.
29280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29283 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29287 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29290 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29291 for low part of x being zero before using __atanl (y).
29292 * math/libm-test.inc (atan2_test): Add another test.
29294 * manual/install.texi (Configuring and compiling): Document
29295 general use of test-wrapper and test-wrapper-env.
29296 * INSTALL: Regenerated.
29298 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29299 (__fma): Do not extract and scale down low bits on after-rounding
29300 systems when result rounded to normal precision would have normal
29302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29303 (__fmal): Do not extract and scale down low bits on after-rounding
29304 systems when result rounded to normal precision would have normal
29306 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29307 (__fmal): Do not extract and scale down low bits on after-rounding
29308 systems when result rounded to normal precision would have normal
29310 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29312 (fma_test): Add more tests.
29313 (fma_test_towardzero): Likewise.
29314 (fma_test_downward): Likewise.
29315 (fma_test_upward): Likewise.
29317 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29319 * sysdeps/i386/tininess.h: Renamed to ...
29320 * sysdeps/x86/tininess.h: This.
29321 * sysdeps/x86_64/tininess.h: Removed.
29323 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29325 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29326 input. Use $(build-program-cmd).
29327 ($(objpfx)tst-array1-static.out): Likewise.
29328 ($(objpfx)tst-array2.out): Likewise.
29329 ($(objpfx)tst-array3.out): Likewise.
29330 ($(objpfx)tst-array4.out): Likewise.
29331 ($(objpfx)tst-array5.out): Likewise.
29332 ($(objpfx)tst-array5-static.out): Likewise.
29334 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29336 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29339 * nss/nsswitch.h (nss_interface_function): Provide new
29340 macro for use with NSS functions.
29341 * grp/initgroups.c: Use new macro.
29342 * nss/getXXbyYY.c: Likewise.
29343 * nss/getXXbyYY_r.c: Likewise.
29344 * nss/getXXent.c: Likewise.
29345 * nss/getXXent_r.c: Likewise.
29346 * sysdeps/posix/getaddrinfo.c: Likewise.
29348 2012-10-30 Andreas Jaeger <aj@suse.de>
29350 * po/ru.po: Update Russion translation from translation project.
29352 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29357 result and shift together with sticky bit instead of replicating
29358 round-to-nearest rounding.
29359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29361 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29362 missing underflow exceptions.
29363 (fma_test_towardzero): Add more tests.
29364 (fma_test_downward): Likewise.
29365 (fma_test_upward): Likewise.
29368 * sysdeps/generic/tininess.h: New file.
29369 * sysdeps/i386/tininess.h: Likewise.
29370 * sysdeps/sh/tininess.h: Likewise.
29371 * sysdeps/x86_64/tininess.h: Likewise.
29372 * stdlib/tst-strtod-underflow.c: Likewise.
29373 * stdlib/tst-tininess.c: Likewise.
29374 * stdlib/strtod_l.c: Include <tininess.h>.
29375 (round_and_return): Do not set errno for exact underflow cases.
29376 Force an underflow exception when setting errno for underflow.
29377 Determine underflow based on rounding to normal precision if
29378 TININESS_AFTER_ROUNDING.
29379 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29380 ERANGE for exact underflow cases.
29381 * stdlib/Makefile (tests): Add tst-tininess and
29382 tst-strtod-underflow.
29383 ($(objpfx)tst-tininess): Use $(link-libm).
29384 ($(objpfx)tst-strtod-underflow): Likewise.
29386 2012-10-30 Andreas Jaeger <aj@suse.de>
29389 * elf/Makefile (tests): Remove conditional for have-initfini-array
29390 since this is now always required and the variable does not exist
29392 (tests-static): Likewise.
29393 (modules-names): Likewise.
29395 * po/eo.po: Add Esperanto translation from translation project.
29397 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29398 merged with constructor/destructor.
29399 (init_array): Likewise.
29400 * elf/tst-array2dep.c (fini_array): Likewise.
29401 (init_array): Likewise.
29403 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29405 * manual/message.texi: Delete @cartouche tags.
29407 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29409 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29411 * sysdeps/mach/hurd/fsync.c: Likewise.
29413 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29414 [_POSIX_REALTIME_SIGNALS]: Change condition to
29415 [_POSIX_REALTIME_SIGNALS > 0].
29417 2012-10-27 Andreas Jaeger <aj@suse.de>
29419 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29420 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29422 [__WORDSIZE != 64]: Likewise.
29424 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29426 * iconvdata/tst-table.sh: Remove ${SHELL}.
29427 * iconvdata/tst-tables.sh: Likewise.
29429 2012-10-25 David S. Miller <davem@davemloft.net>
29431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29432 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29438 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29439 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29442 2012-10-25 Roland McGrath <roland@hack.frob.com>
29444 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29445 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29448 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29449 Jim Blandy <jimb@codesourcery.com>
29451 * scripts/cross-test-ssh.sh: New file.
29452 * manual/install.texi (Configuring and compiling): Document use of
29454 * INSTALL: Regenerated.
29456 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29458 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29461 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29463 * Makeconfig (run-program-prefix): Fix comment.
29465 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29466 Jim Blandy <jimb@codesourcery.com>
29468 * Makeconfig (test-wrapper): New variable,
29469 (test-wrapper-env): Likewise.
29470 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29471 (run-built-tests): Define to yes.
29472 (run-program-prefix): Use $(test-wrapper).
29473 (built-program-cmd): Likewise.
29474 * Rules (make-test-out): Use $(test-wrapper-env) and
29475 $(host-built-program-cmd).
29476 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29477 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29479 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29480 $(test-wrapper-env) to tst-rtld-load-self.sh.
29481 ($(objpfx)order2.out): Use $(test-wrapper).
29482 ($(objpfx)tst-initorder.out): Likewise.
29483 ($(objpfx)tst-initorder2.out): Likewise.
29484 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29485 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29486 (test_wrapper_env): New variable. Use it to run ld.so.
29487 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29488 Use it to run ld.so.
29489 (test_wrapper_env): Likewise.
29490 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29491 $(test-wrapper) to run-iconv-test.sh.
29492 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29493 (ICONV): Use $test_wrapper.
29494 * posix/Makefile ($(objpfx)globtest.out): Pass
29495 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29496 globtest.sh, not $(run-program-prefix).
29497 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29498 (test_wrapper): Likewise.
29499 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29500 set together with run_via_rtld_prefix.
29501 (run_program_prefix): Define in terms of test_wrapper and
29502 run_via_rtld_prefix.
29504 2012-10-24 Roland McGrath <roland@hack.frob.com>
29506 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29507 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29511 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29512 Declare __clock_getres, __clock_gettime, __clock_settime,
29513 __clock_nanosleep, and __clock_getcpuclockid.
29514 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29515 Remove librt_hidden_def (clock_gettime).
29516 * sysdeps/unix/clock_gettime.c: Likewise.
29517 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29518 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29519 * rt/clock_getres.c: Define __clock_getres as an alias.
29520 * sysdeps/posix/clock_getres.c: Likewise.
29521 * rt/clock_settime.c: Define __clock_settime as an alias.
29522 * sysdeps/unix/clock_settime.c: Likewise.
29523 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29524 * sysdeps/unix/clock_nanosleep.c: Likewise.
29525 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29526 * rt/clock-compat.c: New file.
29527 * rt/Makefile (librt-routines): Add clock-compat and move
29528 $(clock-routines) to ...
29529 (routines): ... here, new variable.
29530 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29531 Don't add get_clockfreq here.
29532 * rt/Versions (libc: GLIBC_2.17): New version set.
29533 Add clock_* symbols here.
29534 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29535 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29536 (GLIBC_2.17): Add clock_* symbols.
29537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29539 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29548 * NEWS: Mention the move.
29550 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29551 Use __open, __read, __close rather than their public counterparts.
29552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29553 (__get_clockfreq_via_cpuinfo): Likewise.
29554 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29555 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29557 * config.h.in (HAVE_IFUNC): New #undef.
29558 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29560 * configure: Regenerated.
29562 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29564 * configure.in: Move READELF check to start of file.
29565 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29566 libc_cv_asm_gnu_indirect_function in the process.
29567 * configure: Regenerated.
29569 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29571 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29572 send the output to /dev/null.
29573 (libc_cv_cc_with_libunwind): Likewise.
29574 (libc_cv_as_noexecstack): Likewise.
29575 * configure: Regenerate.
29577 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29579 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29581 * posix/globtest.sh (TMPDIR): Do not set.
29582 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29583 (testout): Likewise.
29585 2012-10-24 Andreas Jaeger <aj@suse.de>
29587 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29588 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29589 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29590 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29591 posix_fadvise64, posix_fallocate64.
29593 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29594 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29595 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29597 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29599 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29602 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29603 <bits/fcntl-linux.h>.
29604 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29607 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29608 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29609 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29610 [__WORDSIZE != 64]: Likewise.
29612 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29614 * Makeconfig (run-built-tests): New variable.
29615 * Rules [$(cross-compiling) = yes]: Change condition to
29616 [$(run-built-tests) = no].
29617 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29618 to [$(run-built-tests) = yes].
29619 * elf/Makefile [$(cross-compiling) = no]: Likewise
29620 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29621 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29622 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29623 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29624 * io/Makefile [$(cross-compiling) = no]: Likewise.
29625 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29626 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29627 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29628 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29629 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29630 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29631 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29632 * string/Makefile [$(cross-compiling) = no]: Likewise.
29634 * posix/Makefile ($(objpfx)globtest.out): Pass
29635 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29636 $(rtld-installed-name).
29637 * posix/globtest.sh (elf_objpfx): Remove variable.
29638 (rtld_installed_name): Likewise.
29639 (library_path): Likewise.
29640 (run_program_prefix): New variable. Use for running globtest
29643 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29644 Joseph Myers <joseph@codesourcery.com>
29646 * Makeconfig (host-built-program-cmd): New variable.
29647 * elf/Makefile (tst-stackguard1-ARGS): Use
29648 $(host-built-program-cmd).
29649 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29650 (tst-spawn-ARGS): Likewise.
29651 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29653 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29654 Jim Blandy <jimb@codesourcery.com>
29656 * Makeconfig (run-via-rtld-prefix): New variable.
29657 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29658 (built-program-cmd): Likewise.
29660 2012-10-22 Andreas Jaeger <aj@suse.de>
29662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29663 __O_RSYNC if it exists, otherwise to O_SYNC.
29665 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29666 Joseph Myers <joseph@codesourcery.com>
29668 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29670 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29672 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29675 2012-10-22 Andreas Jaeger <aj@suse.de>
29677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29682 bits/fcntl-linux.h.
29684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29685 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29692 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29693 Joseph Myers <joseph@codesourcery.com>
29695 * config.make.in (NM): New variable.
29697 2012-10-21 Andreas Jaeger <aj@suse.de>
29699 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29700 definitions and declarations that are provided by
29701 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29703 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29706 * elf/Makefile (tests-static): Add tst-leaks1-static.
29707 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29708 ($(objpfx)tst-leaks1-static): New rule.
29709 ($(objpfx)tst-leaks1-static-mem): Likewise.
29710 (tst-leaks1-static-ENV): New macro.
29711 * elf/dl-open.c (dl_open_worker): Check the main application
29712 only if SHARED is defined.
29713 * elf/tst-leaks1-static.c: New file.
29715 2012-10-20 Andreas Jaeger <aj@suse.de>
29717 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29718 generic values for Linux.
29719 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29720 and declarations that are provided by <bits/fcntl-linux.h> and
29721 include <bits/fcntl-linux.h>.
29722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29725 2012-10-20 Roland McGrath <roland@hack.frob.com>
29727 * io/fcntl.h: Move include of <bits/types.h> to the top and
29728 include it unconditionally.
29730 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29732 * wcsmbs/Makefile (tests-ifunc): New variable.
29733 (tests): Add $(tests-ifunc).
29734 * wcsmbs/test-wcschr-ifunc.c: New file.
29735 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29736 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29737 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29738 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29739 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29741 * string/Makefile (tests-ifunc): New variable.
29742 (tests): Add $(tests-ifunc).
29743 * string/test-memccpy.c (TEST_NAME): New macro.
29744 * string/test-memchr.c (TEST_NAME): Likewise.
29745 * string/test-memcmp.c (TEST_NAME): Likewise.
29746 * string/test-memcpy.c (TEST_NAME): Likewise.
29747 * string/test-memmem.c (TEST_NAME): Likewise.
29748 * string/test-memmove.c (TEST_NAME): Likewise.
29749 * string/test-memset.c (TEST_NAME): Likewise.
29750 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29751 * string/test-stpcpy.c (TEST_NAME): Likewise.
29752 * string/test-stpncpy.c (TEST_NAME): Likewise.
29753 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29754 * string/test-strcasestr.c (TEST_NAME): Likewise.
29755 * string/test-strcat.c (TEST_NAME): Likewise.
29756 * string/test-strchr.c (TEST_NAME): Likewise.
29757 * string/test-strcmp.c(TEST_NAME): Likewise.
29758 * string/test-strcpy.c (TEST_NAME): Likewise.
29759 * string/test-strcspn.c (TEST_NAME): Likewise.
29760 * string/test-strlen.c (TEST_NAME): Likewise.
29761 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29762 * string/test-strncmp.c (TEST_NAME): Likewise.
29763 * string/test-strncpy.c (TEST_NAME): Likewise.
29764 * string/test-strnlen.c (TEST_NAME): Likewise.
29765 * string/test-strpbrk.c (TEST_NAME): Likewise.
29766 * string/test-strrchr.c (TEST_NAME): Likewise.
29767 * string/test-strspn.c (TEST_NAME): Likewise.
29768 * string/test-strstr.c (TEST_NAME): Likewise.
29769 * string/test-bcopy-ifunc.c: New file.
29770 * string/test-bzero-ifunc.c: Likewise.
29771 * string/test-memccpy-ifunc.c: Likewise.
29772 * string/test-memchr-ifunc.c: Likewise.
29773 * string/test-memcmp-ifunc.c: Likewise.
29774 * string/test-memcpy-ifunc.c: Likewise.
29775 * string/test-memmem-ifunc.c: Likewise.
29776 * string/test-memmove-ifunc.c: Likewise.
29777 * string/test-mempcpy-ifunc.c: Likewise.
29778 * string/test-memset-ifunc.c: Likewise.
29779 * string/test-rawmemchr-ifunc.c: Likewise.
29780 * string/test-stpcpy-ifunc.c: Likewise.
29781 * string/test-stpncpy-ifunc.c: Likewise.
29782 * string/test-strcasecmp-ifunc.c: Likewise.
29783 * string/test-strcasestr-ifunc.c: Likewise.
29784 * string/test-strcat-ifunc.c: Likewise.
29785 * string/test-strchr-ifunc.c: Likewise.
29786 * string/test-strchrnul-ifunc.c: Likewise.
29787 * string/test-strcmp-ifunc.c: Likewise.
29788 * string/test-strcpy-ifunc.c: Likewise.
29789 * string/test-strcspn-ifunc.c: Likewise.
29790 * string/test-strlen-ifunc.c: Likewise.
29791 * string/test-strncasecmp-ifunc.c: Likewise.
29792 * string/test-strncat-ifunc.c: Likewise.
29793 * string/test-strncmp-ifunc.c: Likewise.
29794 * string/test-strncpy-ifunc.c: Likewise.
29795 * string/test-strnlen-ifunc.c: Likewise.
29796 * string/test-strpbrk-ifunc.c: Likewise.
29797 * string/test-strrchr-ifunc.c: Likewise.
29798 * string/test-strspn-ifunc.c: Likewise.
29799 * string/test-strstr-ifunc.c: Likewise.
29801 * debug/Makefile (tests-ifunc): New variable.
29802 (tests): Add $(tests-ifunc).
29803 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29804 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29805 * debug/test-stpcpy_chk-ifunc.c: New file.
29806 * debug/test-strcpy_chk-ifunc.c: Likewise.
29808 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29811 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29812 header is not read in.
29814 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29816 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29817 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29818 directly. Pass built executable to script as
29819 $(built-program-cmd).
29820 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29821 $testprogram without using LD_LIBRARY_PATH and $ldso.
29823 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29824 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29825 $(rtld-installed-name).
29826 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29827 (rtld_installed_name): Likewise.
29828 (library_path): Likewise.
29829 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29830 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29831 $(run-program-prefix) to tst-tables.sh.
29832 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29833 it to run tst-table-from and tst-table-to.
29834 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29835 Pass it to tst-table.sh.
29836 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29837 $(run-program-prefix) to tst-gettext.sh.
29838 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29840 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29842 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29843 to run tst-gettext.
29844 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29845 to run tst-gettext2.
29846 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29847 to run tst-translit.
29848 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29849 $(run-program-prefix) to tst-mtrace.sh.
29850 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29852 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29853 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29854 $(rtld-installed-name).
29855 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29856 (rtld_installed_name): Likewise.
29857 (run_program_prefix): New variable. Use it to run wordexp-test.
29859 * Makeconfig (ARCH): Remove all definitions.
29860 (machine): Likewise.
29861 [ARCH]: Remove conditional code.
29862 [!objdir]: Give error.
29863 [!objdir] (objpfx): Remove.
29864 [!objdir] (common-objpfx): Likewise.
29865 [!objdir] (common-objdir): Likewise.
29866 * configure.in (config_makefile): Remove. Hardcode Makefile in
29867 AC_CONFIG_FILES call.
29868 * configure: Regenerated.
29871 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29873 (testout): Likewise.
29875 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29876 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29877 $(rtld-installed-name).
29878 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29879 (rtld_installed_name): Likwise.
29880 (runit): Remove function.
29881 (run_getconf): New variable, Use it for running getconf binary.
29883 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29886 * string/test-memmem.c (check_result): New function.
29887 (do_one_test): Use it.
29888 (check1): New function.
29889 (test_main): Use it.
29891 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29893 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29895 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29897 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29898 (_G_LSEEK64): Likewise.
29899 (_G_MMAP64): Likewise.
29900 (_G_FSTAT64): Likewise.
29901 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29902 (_G_LSEEK64): Likewise.
29903 (_G_MMAP64): Likewise.
29904 (_G_FSTAT64): Likewise.
29905 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29906 unconditional. Call __mmap64 directly.
29907 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29908 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29909 __lseek64 directly.
29910 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29911 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29913 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29914 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29915 __lseek64 directly.
29916 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29917 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29918 __lseek64 directly.
29919 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29920 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29921 __lseek64 directly.
29922 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29923 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29924 __fxstat64 directly.
29925 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29926 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29928 (freopen64) [!_G_OPEN64]: Remove conditional code.
29929 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29931 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29932 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29934 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29935 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29937 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29938 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29940 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29941 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29943 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29944 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29946 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29947 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29949 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29951 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29954 * manual/memory.texi (Malloc Tunable Parameters): Add note
29955 about free list pointers overwriting some perturb bytes.
29956 Wording suggested by Roland McGrath.
29958 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29960 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29961 (lgamma_test): Likewise.
29962 (tgamma_test): Likewise.
29964 2012-10-16 Florian Weimer <fweimer@redhat.com>
29967 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29968 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29970 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29972 * NEWS: Mention BZ #14716.
29973 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29974 when removing AVAILABLE1_USES_J macro.
29976 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29978 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29979 (__bswap_64): __uint64_t for unsigned 64-bit int.
29981 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29983 * include/string.h (memmem): Declare libc hidden alias.
29984 * string/memmem.c (memmem): Define libc hidden alias.
29985 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29986 __read, __close instead of open, read, close.
29988 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29991 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29993 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29994 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29995 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29997 (__rawmemchr_sse2): Likewise.
29998 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29999 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30000 (__strchr_sse2): Likewise.
30001 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30002 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30003 (__strcasecmp_sse2): Likewise.
30004 (__strncasecmp_sse2): Likewise.
30005 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30006 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30007 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30008 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30009 (__strrchr_sse2): Likewise.
30010 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30012 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30013 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30014 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30015 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30016 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30017 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30018 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30019 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30020 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30021 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30022 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30023 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30024 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30025 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30026 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30027 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30028 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30029 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30030 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30031 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30032 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30033 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30034 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30035 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30036 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30037 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30038 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30039 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30040 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30041 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30043 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30045 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30046 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30047 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30048 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30050 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30052 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30053 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30054 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30055 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30057 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30058 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30059 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30060 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30061 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30062 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30063 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30064 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30065 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30066 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30067 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30068 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30069 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30070 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30071 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30073 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30074 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30075 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30076 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30077 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30078 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30079 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30080 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30082 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30083 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30084 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30085 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30086 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30087 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30088 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30089 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30090 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30091 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30092 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30093 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30094 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30095 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30096 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30097 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30099 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30100 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30101 * include/ifunc-impl-list.h: New file.
30102 * misc/ifunc-impl-list.c: Likewise.
30103 * misc/Makefile (routines): Add ifunc-impl-list.
30104 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30105 * string/test-string.h: Include <ifunc-impl-list.h>.
30106 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30107 TEST_NAME]: New variables.
30108 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30110 (test_init): Call __libc_ifunc_impl_list to initialize
30111 func_list if TEST_IFUNC and TEST_NAME are defined.
30113 * string/Makefile (strop-tests): Add bcopy and bzero.
30114 * string/test-bcopy.c: New file.
30115 * string/test-bzero.c: Likewise.
30116 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30118 * string/test-memset.c: Support bzero test if TEST_BZERO is
30120 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30122 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30124 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30127 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30129 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30130 * configure: Regenerated.
30132 * Makeconfig (+link-static-before-libc): Don't include
30133 $(link-static-libc).
30135 * libio/libio.h (_IO_pos_t): Remove.
30137 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30139 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30142 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30144 * crypt/crypt-entry.c: Include fips-private.h.
30145 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30146 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30147 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30148 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30150 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30152 * crypt/crypt-private.h: Include stdbool.h.
30153 (_ufc_setup_salt_r): Return bool.
30154 * crypt/crypt-entry.c: Include errno.h.
30155 (__crypt_r): Return NULL with EINVAL for bad salt.
30156 * crypt/crypt_util.c (bad_for_salt): New.
30157 (_ufc_setup_salt_r): Check that salt is long enough and within
30158 the specified alphabet.
30159 * crypt/badsalttest.c: New file.
30160 * crypt/Makefile (tests): Add it.
30161 ($(objpfx)badsalttest): New.
30163 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30165 * NEWS: Add entry for BZ #14602.
30167 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30169 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30171 * math/libm-test.inc: Update comment listing what functions and
30173 (isgreater_test): New function.
30174 (isgreaterequal_test): Likewise.
30175 (isless_test): Likewise.
30176 (islessequal_test): Likewise.
30177 (islessgreater_test): Likewise.
30178 (isunordered_test): Likewise.
30179 (main): Call the new functions.
30181 2012-10-09 Roland McGrath <roland@hack.frob.com>
30183 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30184 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30185 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30186 * sysdeps/i386/configure: Regenerated.
30187 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30188 * sysdeps/mach/configure: Regenerated.
30189 * sysdeps/mach/hurd/configure: Regenerated.
30190 * sysdeps/powerpc/configure: Regenerated.
30191 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30192 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30193 * sysdeps/s390/s390-32/configure: Regenerated.
30194 * sysdeps/s390/s390-64/configure: Regenerated.
30195 * sysdeps/sh/configure: Regenerated.
30196 * sysdeps/sparc/configure: Regenerated.
30197 * sysdeps/unix/sysv/linux/configure: Regenerated.
30198 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30199 * sysdeps/x86_64/configure: Regenerated.
30201 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30202 defined. Don't check if MAP is NULL.
30204 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30206 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30207 (_G_stat64): Likewise.
30208 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30209 (_G_stat64): Likewise.
30210 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30211 instead of struct _G_stat64.
30212 * libio/fileops.c (mmap_remap_check): Likewise.
30213 (decide_maybe_mmap): Likewise.
30214 (_IO_new_file_seekoff): Likewise.
30215 (_IO_file_stat): Likewise.
30216 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30218 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30219 instead of struct _G_stat64.
30220 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30222 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30225 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30227 (CHECK_EOL): New macro.
30228 (two_way_short_needle): Check beginning of haystack for EOL. Use
30230 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30231 Replace with CHECK_EOL.
30232 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30233 Replace with CHECK_EOL.
30235 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30237 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30239 * math/libm-test.inc: Update comment listing what functions and
30241 (finite_test): New function.
30242 (isinf_test): Likewise.
30243 (isnan_test): Likewise.
30244 (fpclassify_test): Test subnormal input.
30245 (isfinite_test): Likewise.
30246 (isnormal_test): Likewise.
30247 (main): Call the new functions.
30249 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30252 * Makerules (%.dynsym): Force C locale when running
30253 $(OBJDUMP) --dynamic-syms.
30255 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30257 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30260 2012-10-06 David S. Miller <davem@davemloft.net>
30262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30263 upper 32-bits of the length value in %o2 since we use branch-on-register
30264 tests which consider the entire 64-bit register.
30266 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30268 * string/test-strstr.c (check2): Add a test for page boundary.
30270 2012-10-05 David S. Miller <davem@davemloft.net>
30272 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30273 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30275 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30277 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30278 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30279 and bzero when HWCAP_SPARC_CRYPTO is present.
30281 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30284 * string/test-strstr.c (check2): New function.
30285 (test_main): Call check2.
30287 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30289 * string/bug-strcasestr1.c (do_test): Moved to ...
30290 * string/test-strcasestr.c (check1): Here. New function.
30291 (do_one_test): Break out result checking code into ...
30292 (check_result): This. New function.
30293 (do_one_test): Call check_result.
30294 (test_main): Call check1.
30295 * string/bug-strchr1.c (do_test): Moved to ...
30296 * string/test-strchr.c (check1): Here. New function.
30297 (do_one_test): Break out result checking code into ...
30298 (check_result): This. New function.
30299 (do_one_test): Call check_result.
30300 (test_main): Call check1.
30301 * string/bug-strstr1.c (main): Moved to ...
30302 * string/test-strstr.c (check1): Here. New function.
30303 (do_one_test): Break out result checking code into ...
30304 (check_result): This. New function.
30305 (do_one_test): Call check_result.
30306 (test_main): Call check1.
30307 * string/bug-strcasestr1.c: Removed.
30308 * string/bug-strchr1.c: Likewise.
30309 * string/bug-strstr1.c: Likewise.
30311 * elf/Makefile (dl-routines): Add hwcaps.
30312 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30313 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30314 (_dl_important_hwcaps): Moved to ...
30315 * elf/dl-hwcaps.c: Here. New file.
30316 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30319 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30320 if IS_IN_rtld isn't defined.
30322 * elf/dl-support.c (_dl_sysinfo_map): New.
30323 Include "get-dynamic-info.h" and "setup-vdso.h".
30324 (_dl_non_dynamic_init): Call setup_vdso.
30325 * elf/dynamic-link.h: Don't include <assert.h>.
30326 (elf_get_dynamic_info): Moved to ...
30327 * elf/get-dynamic-info.h: Here. New file.
30328 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30329 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30330 * elf/setup-vdso.h: Here. New file.
30331 * elf/rtld.c: Include "setup-vdso.h".
30332 (dl_main): Call setup_vdso.
30334 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30336 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30337 creal in comment listing functions tested. List finite, isinf,
30338 isnan, isless, islessequal, isgreater, isgreaterequal,
30339 islessgreater, isunordered, lgamma_r and pow10 as functions and
30340 macros not tested. Mention which functions not tested are aliases
30341 for other functions. Fix typo. Note that signs of NaNs are not
30344 * scripts/config.guess: Update from config.git.
30345 * scripts/config.sub: Likewise.
30347 2012-10-04 Roland McGrath <roland@hack.frob.com>
30349 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30350 * misc/madvise.c (madvise): Renamed to __madvise.
30351 Make madvise a weak alias.
30352 * include/sys/mman.h: Declare __madvise.
30353 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30354 * sysdeps/unix/syscalls.list
30355 (madvise): Make __madvise the strong name, and madvise a weak alias.
30356 * sysdeps/unix/sysv/linux/syscalls.list
30357 (madvise, mmap): Remove redundant entries.
30358 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30359 * malloc/malloc.c (mtrim): Likewise.
30360 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30362 2012-10-03 Roland McGrath <roland@hack.frob.com>
30364 * sysdeps/mach/hurd/dl-cache.c: File removed.
30365 * config.h.in (USE_LDCONFIG): New #undef.
30366 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30367 * configure: Regenerated.
30368 * elf/Makefile (dl-routines): Add dl-cache only under
30369 [$(use-ldconfig) = yes].
30370 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30371 cache on [USE_LDCONFIG].
30372 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30374 * elf/rtld.c (dl_main): Likewise.
30376 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30378 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30379 _SC_LEVEL4_CACHE_LINESIZE.
30381 2012-10-03 Roland McGrath <roland@hack.frob.com>
30383 * sysdeps/unix/bsd/confstr.h: File removed.
30385 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30387 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30390 2012-10-02 Roland McGrath <roland@hack.frob.com>
30392 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30393 Make 'mapoff' field ElfW(Off) rather than off_t.
30395 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30397 * nscd/Makefile: Remove nscd-cflags and all its users.
30398 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30399 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30402 * malloc.c (malloc_printerr): Clarify error message.
30404 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30408 Set bit_FMA_Usable if FMA is supported.
30409 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30411 (bit_FMA4_Usable): Updated.
30412 (index_FMA_Usable): New macro.
30413 (CPUID_FMA): Likewise
30414 (HAS_FMA): Defined with bit_FMA_Usable.
30416 2012-10-01 Roland McGrath <roland@hack.frob.com>
30418 * bits/types.h (__swblk_t): Type removed.
30419 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30420 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30422 (__SWBLK_T_TYPE): Likewise.
30423 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30424 (__SWBLK_T_TYPE): Likewise.
30425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30426 (__SWBLK_T_TYPE): Likewise.
30427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30428 (__SWBLK_T_TYPE): Likewise.
30430 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30431 Honza Horak <hhorak@redhat.com>
30433 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30434 (xdr_mapname): Use YPMAXMAP as maxsize.
30435 (xdr_peername): Use YPMAXPEER as maxsize.
30436 (xdr_keydat): Use YPAXRECORD as maxsize.
30437 (xdr_valdat): Use YPMAXRECORD as maxsize.
30439 2012-10-01 Roland McGrath <roland@hack.frob.com>
30441 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30443 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30444 * csu/init-first.c: ... here.
30445 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30446 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30447 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30448 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30449 * sysdeps/i386/init-first.c: File removed.
30450 * sysdeps/sh/init-first.c: File removed.
30452 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30456 if x * y might underflow to zero and z is zero.
30457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30459 * math/libm-test.inc (min_subnorm_value): New variable.
30460 (fma_test): Add more tests.
30461 (fma_test_towardzero): Likewise.
30462 (fma_test_downward): Likewise
30463 (fma_test_upward): Likewise.
30464 (initialize): Set min_subnorm_value.
30466 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30471 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30472 mode for addition resulting in exact zero.
30473 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30476 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30478 * math/libm-test.inc (fma_test): Add more tests.
30479 (fma_test_towardzero): New function.
30480 (fma_test_downward): Likewise.
30481 (fma_test_upward): Likewise.
30482 (main): Call the new functions.
30484 2012-09-28 David S. Miller <davem@davemloft.net>
30486 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30488 2012-09-28 Roland McGrath <roland@hack.frob.com>
30490 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30491 instead of SIGALRM.
30493 * sysdeps/gnu/_G_config.h: Moved to ...
30494 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30495 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30496 * sysdeps/generic/_G_config.h: ... here.
30498 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30500 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30502 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30503 Conditionalize target on [libnss_test1.so-version].
30505 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30507 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30508 (elfobjdir): Move out of conditionals.
30510 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30511 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30512 (__nss_lookup_function): Conditionalize label remove_from_tree on
30513 [!DO_STATIC_NSS || SHARED], matching its only use.
30515 2012-09-28 David S. Miller <davem@davemloft.net>
30517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30518 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30520 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30522 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30524 when HWCAP_SPARC_CRYPTO is present.
30526 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30528 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30530 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30533 * stdio-common/vfprintf.c (process_string_arg): Revert
30536 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30538 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30540 * stdio-common/tst-sprintf.c: Include <locale.h>
30541 (main): Test sprintf's handling of incomplete multibyte
30544 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30546 * elf/dl-runtime.c (VERSYMIDX): Removed.
30547 * elf/dl-version.c (VERSYMIDX): Likewise.
30548 * elf/do-rel.h (VERSYMIDX): Likewise.
30549 (VALIDX): Likewise.
30550 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30551 * elf/rtld.c (VALIDX): Likewise.
30552 (ADDRIDX): Likewise.
30553 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30554 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30555 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30556 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30557 (VALIDX): Likewise.
30558 (ADDRIDX): Likewise.
30560 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30562 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30564 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30567 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30569 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30570 addresses are in the same scope as 192.0.2/24.
30571 * posix/gai.conf: Document new scope table defaults.
30573 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30576 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30577 for ftell. Compute offsets from write pointers instead.
30578 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30580 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30583 * libio/Makefile (tests): New test case tst-fseek.
30584 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30585 combination works in wide mode.
30586 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30587 state when the external buffer state changes.
30589 2012-09-27 David S. Miller <davem@davemloft.net>
30592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30593 pass reloc->r_addend in as the 'high' argument to
30594 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30598 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30600 * rt/tst-aio2.c: Include <pthread.h>.
30601 * rt/tst-aio3.c: Likewise.
30603 2012-09-27 Steve Ellcey <sellcey@mips.com>
30605 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30607 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30609 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30610 contents on [SHARED].
30612 2012-09-26 Marek Polacek <polacek@redhat.com>
30616 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30617 for C++ and GCC <4.3 as well as for non GCC compilers.
30619 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30623 2012-09-25 Roland McGrath <roland@hack.frob.com>
30625 * Makefile.in (all, install): Declare with .PHONY.
30626 Reported by Michael Hope <michael.hope@linaro.org>.
30628 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30630 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30631 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30633 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30635 (sydep_routines): Add the new and the internal functions.
30636 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30637 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30639 (GLIBC_2.17): Add the new function.
30640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30641 (GLIBC_2.17): Likewise.
30642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30643 (GLIBC_2.17): Likewise.
30644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30645 (GLIBC_2.17): Likewise.
30646 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30648 2012-09-25 Alan Modra <amodra@gmail.com>
30650 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30651 Add release barrier before setting once_control to say
30652 initialisation is done. Add hints on lwarx. Use macro in
30654 (clear_once_control): Add release barrier.
30656 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30659 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30661 * math/s_clog10.c (__clog10): Likewise.
30662 * math/s_clog10f.c (__clog10f): Likewise.
30663 * math/s_clog10l.c (__clog10l): Likewise.
30664 * math/s_clogf.c (__clogf): Likewise.
30665 * math/s_clogl.c (__clogl): Likewise.
30666 * math/Makefile (libm-calls): Add x2y2m1.
30667 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30668 (__x2y2m1): Likewise.
30669 (__x2y2m1l): Likewise.
30670 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30671 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30674 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30675 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30676 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30677 * sysdeps/i386/fpu/libm-test-ulps: Update.
30678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30681 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30682 int as type of variable DEPTH.
30683 (glob): Use size_t instead of int as type of variables NEWCOUNT
30686 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30688 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30689 Add s_sincosf-sse2.
30690 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30691 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30692 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30693 macros for using routine as __sincosf_ia32.
30694 Use macro for function declaration and weak_alias.
30695 * sysdeps/i386/fpu/libm-test-ulps: Update.
30697 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30700 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30701 subnormal argument.
30702 * math/s_cexpf.c (__cexpf): Likewise.
30703 * math/s_csinf.c (__csinf): Likewise.
30704 * math/s_csinhf.c (__csinhf): Likewise.
30705 * math/s_ctanf.c (__ctanf): Likewise.
30706 * math/s_ctanhf.c (__ctanhf): Likewise.
30707 * math/s_ccosh.c (__ccoshf): Likewise.
30708 * math/s_cexp.c (__cexpl): Likewise.
30709 * math/s_csin.c (__csin): Likewise.
30710 * math/s_csinh.c (__csinh): Likewise.
30711 * math/s_ctan.c (__ctan): Likewise.
30712 * math/s_ctanh.c (ctanh): Likewise.
30713 * math/s_ccoshl.c (__ccoshl): Likewise.
30714 * math/s_cexpl.c (__cexpl): Likewise.
30715 * math/s_csinl.c (__csinl): Likewise.
30716 * math/s_csinhl.c (__csinhl): Likewise.
30717 * math/s_ctanl.c (__ctanl): Likewise.
30718 * math/s_ctanhl.c (__ctanhl): Likewise.
30720 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30722 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30723 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30724 (_IO_off_t): Define to __off_t, not _G_off_t.
30725 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30726 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30727 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30728 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30729 type of __dummy and __dummy2 fields.
30730 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30731 (_G_ssize_t): Likewise.
30732 (_G_off_t): Likewise.
30733 (_G_pid_t): Likewise.
30734 (_G_uid_t): Likewise.
30735 (_G_wchar_t): Likewise.
30736 (_G_wint_t): Likewise.
30737 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30738 (_G_ssize_t): Likewise.
30739 (_G_off_t): Likewise.
30740 (_G_pid_t): Likewise.
30741 (_G_uid_t): Likewise.
30742 (_G_wchar_t): Likewise.
30743 (_G_wint_t): Likewise.
30744 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30745 (_G_ssize_t): Likewise.
30746 (_G_off_t): Likewise.
30747 (_G_pid_t): Likewise.
30748 (_G_uid_t): Likewise.
30749 (_G_wchar_t): Likewise.
30750 (_G_wint_t): Likewise.
30752 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30754 * malloc/arena.c: Include malloc-sysdep.h.
30755 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30756 is sufficient to shrink the heap or an unmap is needed.
30757 * sysdeps/generic/malloc-sysdep.h: New file. Define
30758 new function check_may_shrink_heap.
30759 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30760 new function check_may_shrink_heap.
30762 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30764 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30767 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30769 * catgets/test-gencat.sh: Add "set -e".
30770 * elf/tst-pathopt.sh: Likewise.
30771 * grp/tst_fgetgrent.sh: Likewise.
30772 * iconvdata/run-iconv-test.sh: Likewise.
30773 * intl/tst-gettext.sh: Likewise.
30774 * intl/tst-gettext2.sh: Likewise.
30775 * intl/tst-gettext4.sh: Likewise.
30776 * intl/tst-gettext6.sh: Likewise.
30777 * intl/tst-translit.sh: Likewise.
30778 * io/ftwtest-sh: Likewise.
30779 * libio/test-freopen.sh: Likewise.
30780 * malloc/tst-mtrace.sh: Likewise.
30781 * posix/globtest.sh: Likewise.
30782 * posix/tst-getconf.sh: Likewise.
30783 * posix/wordexp-tst.sh: Likewise.
30784 * stdio-common/tst-printf.sh: Likewise.
30785 * stdio-common/tst-unbputc.sh: Likewise.
30786 * stdlib/tst-fmtmsg.sh: Likewise.
30787 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30788 * catgets/Makefile: Do not specify -e option when running
30789 testsuite shell scripts.
30790 * elf/Makefile: Likewise.
30791 * grp/Makefile: Likewise.
30792 * iconvdata/Makefile: Likewise.
30793 * intl/Makefile: Likewise.
30794 * io/Makefile: Likewise.
30795 * libio/Makefile: Likewise.
30796 * malloc/Makefile: Likewise.
30797 * posix/Makefile: Likewise.
30798 * stdio-common/Makefile: Likewise.
30799 * stdlib/Makefile: Likewise.
30800 * sysdeps/x86_64/Makefile: Likewise.
30802 * io/ftwtest-sh: Add copyright header.
30803 * posix/globtest.sh: Likewise.
30804 * posix/tst-getconf.sh: Likewise.
30805 * posix/wordexp-tst.sh: Likewise.
30806 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30808 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30811 * Makeconfig (+link): Defined as $(+link-static) if
30812 $(build-shared) isn't yes.
30813 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30815 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30817 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30820 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30821 new chunk size with MALLOC_ALIGN_MASK.
30823 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30826 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30828 (__printf_fphex): Determine rounding using get_rounding_mode and
30830 * stdio-common/tst-printf-round.c (struct hex_test): New
30832 (hex_tests): New variable.
30833 (test_hex_in_one_mode): New function.
30834 (do_test): Also run tests for hex float output.
30836 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30838 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30839 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30840 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30841 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30842 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30843 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30844 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30847 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30849 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30850 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30851 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30852 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30854 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30857 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30859 * elf/tst-rtld-load-self.sh: New test.
30860 * elf/Makefile: Run it.
30862 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30864 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30865 (tst-writev-ENV): Remove.
30866 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30868 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30870 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30872 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30874 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30876 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30878 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30879 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30880 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30883 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30886 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30887 * config.make.in (have-cpp-asm-debuginfo): Removed.
30888 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30889 * configure: Regenerated.
30891 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30894 * stdio-common/printf_fp.c: Include <stdbool.h> and
30896 (___printf_fp): Determine rounding using get_rounding_mode and
30898 * stdio-common/tst-printf-round.c: New file.
30899 * stdio-common/Makefile (tests): Add tst-printf-round.
30900 (link-libm): New variable.
30901 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30903 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30906 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30907 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30909 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30912 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30914 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30915 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30916 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30917 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30919 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30922 * include/rounding-mode.h: New file.
30923 * sysdeps/generic/get-rounding-mode.h: Likewise.
30924 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30925 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30926 (MAX_VALUE): New macro.
30927 (MIN_VALUE): Likewise.
30928 (overflow_value): New function.
30929 (underflow_value): Likewise.
30930 (round_and_return): Use overflow_value and underflow_value to
30931 determine return values in overflow and underflow cases. Use
30932 round_away to determine rounding depending on rounding mode.
30933 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30934 determine return values in overflow and underflow cases.
30935 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30936 (struct test_results): New structure.
30937 (struct test): Use struct test_results to store expected results
30938 for all rounding modes.
30939 (TEST): Include expected results for all rounding modes.
30940 (test_in_one_mode): New function.
30941 (do_test): Use test_in_one_mode to compute and check results.
30942 Check results for all rounding modes.
30943 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30946 2012-12-09 Allan McRae <allan@archlinux.org>
30948 * sysdeps/i386/fpu/libm-test-ulps: Update
30950 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30952 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30953 (_G_int32_t): Likewise.
30954 (_G_uint16_t): Likewise.
30955 (_G_uint32_t): Likewise.
30956 (_G_HAVE_BOOL): Likewise.
30957 (_G_HAVE_ATEXIT): Likewise.
30958 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30959 (_G_HAVE_IO_FILE_OPEN): Likewise.
30960 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30961 (_G_int32_t): Likewise.
30962 (_G_uint16_t): Likewise.
30963 (_G_uint32_t): Likewise.
30964 (_G_HAVE_BOOL): Likewise.
30965 (_G_HAVE_ATEXIT): Likewise.
30966 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30967 (_G_HAVE_IO_FILE_OPEN): Likewise.
30968 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30969 (_G_int32_t): Likewise.
30970 (_G_uint16_t): Likewise.
30971 (_G_uint32_t): Likewise.
30972 (_G_HAVE_BOOL): Likewise.
30973 (_G_HAVE_ATEXIT): Likewise.
30974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30975 (_G_HAVE_IO_FILE_OPEN): Likewise.
30977 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30979 * csu/libc-tls.c: Update copyright years.
30981 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30983 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30984 [!_G_USING_THUNKS]: Remove conditional code.
30985 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30986 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30988 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30989 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30990 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30991 (_G_VTABLE_LABEL_PREFIX): Likewise.
30992 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30993 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30994 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30995 (_G_VTABLE_LABEL_PREFIX): Likewise.
30996 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30997 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30999 (_G_VTABLE_LABEL_PREFIX): Likewise.
31000 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31002 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31004 * libio/Makefile: Include ../Makeconfig before tests.
31005 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31006 only if $(build-shared) is yes.
31008 * iconv/gconv_db.c: Update copyright years.
31010 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31012 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31013 unwind info if defined PIC. Fix special cases description.
31014 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31016 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31018 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31020 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31022 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31024 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31027 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31028 (LDLIBS-tst-chk4): This.
31029 (LDFLAGS-tst-chk5): Renamed to ...
31030 (LDLIBS-tst-chk5): This.
31031 (LDFLAGS-tst-chk6): Renamed to ...
31032 (LDLIBS-tst-chk6): This.
31033 (LDFLAGS-tst-lfschk4): Renamed to ...
31034 (LDLIBS-tst-lfschk4): This.
31035 (LDFLAGS-tst-lfschk5): Renamed to ...
31036 (LDLIBS-tst-lfschk5): This.
31037 (LDFLAGS-tst-lfschk6): Renamed to ...
31038 (LDLIBS-tst-lfschk6): This.
31040 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31041 on $(common-objpfx)soversions.mk.
31043 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31046 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31049 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31051 * malloc/arena.c (arena_get_retry): New function that gets
31052 another arena for the caller to try its request on.
31053 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31054 current arena cannot fulfill the request.
31055 (__libc_memalign): Likewise.
31056 (__libc_memalign): Likewise.
31057 (__libc_pvalloc): Likewise.
31058 (__libc_calloc): Likewise.
31060 2012-09-05 John Tobey <john.tobey@gmail.com>
31063 * manual/arith.texi (Operations on Complex): Fix description
31064 of carg branch cut.
31066 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31069 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31073 * manual/memory.texi (Memory): Make order of menu items match
31076 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31078 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31079 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31080 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31082 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31084 * csu/libc-tls.c (static_dtv): Renamed to ...
31085 (_dl_static_dtv): This. Make it global.
31086 (_dl_initial_dtv): Removed.
31087 (__libc_setup_tls): Updated.
31088 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31089 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31092 2012-09-06 Petr Machata <pmachata@redhat.com>
31094 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31095 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31096 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31097 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31099 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31102 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31103 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31106 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31109 * Makeconfig (link-static-before-libc): Replace $(+prector)
31111 (link-static-after-libc): Replace $(+postctor) with
31113 (link-bounded): Replace $(+prector)/$(+postctor) with
31114 $(+prectorT)/$(+postctorT).
31115 (+prectorT): New macro.
31116 (+postctorT): Likewise.
31118 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31120 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31121 (round_str): Handle values above the maximum for IBM long double
31123 * stdlib/tst-strtod-round.c (tests): Regenerated.
31125 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31127 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31129 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31130 zarch_nohighgprs around the zarch optimized routines.
31131 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31132 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31136 2012-09-05 David S. Miller <davem@davemloft.net>
31138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31140 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31141 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31142 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31143 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31146 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31148 * malloc/arena.c: Fold copyright years.
31149 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31151 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31153 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31155 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31157 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31159 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31161 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31162 change internal state upon failure.
31164 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31166 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31167 * malloc/memusage.c (mmap): Likewise.
31168 (mmap64, mremap): Likewise. Adjust name in comment.
31170 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31172 * libio/fileops.c: Fix typos in comments.
31173 * libio/oldfileops.c: Likewise.
31174 * libio/wfileops.c: Likewise.
31176 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31179 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31180 (tst-malloc-usable-ENV): Set environment for test case.
31181 * malloc/hooks.c (malloc_check_get_size): New function to get
31183 * malloc/malloc.c (musable): Use malloc_check_get_size.
31184 * malloc/tst-malloc-usable.c: New test case.
31186 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31188 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31190 2012-09-05 Allan McRae <allan@archlinux.org>
31193 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31194 determine header location.
31195 * configure: Regenerated.
31197 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31199 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31201 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31202 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31204 (test): Regenerate.
31206 2012-09-04 David S. Miller <davem@davemloft.net>
31208 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31209 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31210 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31212 2012-09-04 Florian Weimer <fweimer@redhat.com>
31214 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31217 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31219 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31222 * libio/iogetdelim.c: Include <limits.h>.
31223 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31224 + len + 1 would overflow.
31226 2012-09-03 Andreas Jaeger <aj@suse.de>
31228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31229 * sysdeps/i386/fpu/libm-test-ulps: Update.
31231 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31233 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31234 Add s_sinf-sse2, s_conf-sse2.
31236 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31237 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31238 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31239 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31241 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31242 for using routine as __sinf_ia32.
31243 Use macro for function declaration and weak_alias.
31244 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31245 for using routine as __cosf_ia32.
31246 Use macro for function declaration and weak_alias.
31248 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31249 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31251 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31252 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31255 * math/libm-test.inc (cos_test): Add more test cases.
31256 (sin_test): Likewise.
31257 (sincos_test): Likewise.
31259 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31261 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31262 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31264 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31266 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31269 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31270 first element of the GOT.
31271 (elf_machine_load_address): Return the difference between
31272 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31274 2012-09-01 Allan McRae <allan@archlinux.org>
31277 * configure.in (AWK): Require gawk version 3.0 or later.
31278 * configure: Regenerated.
31280 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31282 * sysdeps/unix/sysv/linux/kernel-features.h
31283 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31285 [__NR_clock_getres]: Make code unconditional.
31286 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31287 (clock_getcpuclockid): Remove code left unreachable by removal of
31289 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31290 code unconditional.
31291 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31292 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31293 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31294 Make code unconditional.
31295 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31296 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31297 * sysdeps/unix/sysv/linux/clock_settime.c
31298 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31300 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31301 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31303 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31306 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31307 scripts/test-installation.pl.
31309 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31310 and $ld_so_version if it is set.
31312 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31315 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31316 failure if reading from procfs failed.
31317 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31319 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31321 * sysdeps/unix/sysv/linux/kernel-features.h
31322 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31323 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31324 Remove conditional code.
31325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31326 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31327 Remove conditional code.
31328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31329 * sysdeps/unix/sysv/linux/i386/fxstat.c
31330 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31332 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31333 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31335 * sysdeps/unix/sysv/linux/i386/lxstat.c
31336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31338 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31339 Remove conditional code.
31340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31341 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31342 Remove conditional code.
31343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31344 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31345 <kernel-features.h>.
31346 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31348 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31349 Remove conditional code.
31350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31351 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31352 Remove conditional.
31354 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31357 * NEWS: Add fixed bug number.
31359 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31362 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31363 underflowing exponent in case of negative sign.
31364 * stdlib/tst-strtod-round-data: Add more tests.
31365 * stdlib/tst-strtod-round.c (tests): Regenerated.
31368 * stdlib/strtod_l.c (NDIG): Remove.
31369 (HEXNDIG): Likewise.
31370 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31371 smallest representable value.
31372 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31373 lie within an exact representation of 1/2 ulp of the result.
31374 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31376 (TENS_P9_IDX): Define unconditionally.
31377 (TENS_P9_SIZE): Likewise.
31378 (TENS_P10_IDX): Likewise.
31379 (TENS_P10_SIZE): Likewise.
31380 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31381 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31382 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31383 entries for 10^2^13 and 10^2^14.
31384 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31385 (TENS_P13_IDX): Define.
31386 (TENS_P13_SIZE): Likewise.
31387 (TENS_P14_IDX): Likewise.
31388 (TENS_P14_SIZE): Likewise.
31389 (_fpioconst_pow10): Change array size to
31390 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31392 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31393 1024]: Add entries for 10^2^13 and 10^2^14.
31394 [LAST_POW10 > _LAST_POW10]: Remove #error.
31395 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31396 (_fpioconst_pow10): Change array size to
31397 FPIOCONST_POW10_ARRAY_SIZE.
31398 * stdlib/gen-fpioconst.c: New file.
31399 * stdlib/gen-tst-strtod-round.c: Likewise.
31400 * stdlib/tst-strtod-round-data: Likewise.
31401 * stdlib/tst-strtod-round.c: Likewise.
31402 * stdlib/Makefile (tests): Add tst-strtod-round.
31405 * stdlib/strtod_l.c: Include <stdint.h>.
31406 (NDEBUG): Do not define.
31407 (round_and_return): Change EXPONENT parameter to type intmax_t.
31408 Rearrange calculations to avoid internal overflow possibilities.
31409 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31410 Rearrange calculations to avoid internal overflow possibilities.
31411 Assert that number fits inside MPNSIZE limbs.
31412 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31413 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31414 calculations and add assertions to avoid internal overflow
31415 possibilities. Add casts to avoid signed/unsigned operations.
31416 * stdlib/tst-strtod-overflow.c: New file.
31417 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31419 2012-08-25 Marek Polacek <polacek@redhat.com>
31421 * time/time.h: Fix some typos in comments.
31423 2012-08-23 Roland McGrath <roland@hack.frob.com>
31425 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31426 * posix/tst-rfc3484-2.c: Likewise.
31427 * posix/tst-rfc3484-3.c: Likewise.
31429 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31431 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31432 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31434 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31436 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31437 #include of fxstatat64.c.
31439 2012-08-22 Roland McGrath <roland@hack.frob.com>
31441 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31442 * shadow/getspent_r.c: Likewise.
31443 * shadow/getspnam.c: Likewise.
31444 * shadow/getspnam_r.c: Likewise.
31445 * gshadow/getsgent.c: Likewise.
31446 * gshadow/getsgent_r.c: Likewise.
31447 * gshadow/getsgnam.c: Likewise.
31448 * gshadow/getsgnam_r.c: Likewise.
31449 * inet/getnetbyad.c: Likewise.
31450 * inet/getnetbyad_r.c: Likewise.
31451 * inet/getnetbynm.c: Likewise.
31452 * inet/getnetbynm_r.c: Likewise.
31453 * inet/getnetent.c: Likewise.
31454 * inet/getnetent_r.c: Likewise.
31455 * inet/getproto.c: Likewise.
31456 * inet/getproto_r.c: Likewise.
31457 * inet/getprtent.c: Likewise.
31458 * inet/getprtent_r.c: Likewise.
31459 * inet/getprtname.c: Likewise.
31460 * inet/getprtname_r.c: Likewise.
31461 * inet/getrpcbyname.c: Likewise.
31462 * inet/getrpcbyname_r.c: Likewise.
31463 * inet/getrpcbynumber.c: Likewise.
31464 * inet/getrpcbynumber_r.c: Likewise.
31465 * inet/getrpcent.c: Likewise.
31466 * inet/getrpcent_r.c: Likewise.
31467 * inet/getaliasent.c: Likewise.
31468 * inet/getaliasent_r.c: Likewise.
31469 * inet/getaliasname.c: Likewise.
31470 * inet/getaliasname_r.c: Likewise.
31471 * nscd/getgrgid_r.c: Likewise.
31472 * nscd/getgrnam_r.c: Likewise.
31473 * nscd/gethstbyad_r.c: Likewise.
31474 * nscd/gethstbynm3_r.c: Likewise.
31475 * nscd/getpwnam_r.c: Likewise.
31476 * nscd/getpwuid_r.c: Likewise.
31477 * nscd/getsrvbynm_r.c: Likewise.
31478 * nscd/getsrvbypt_r.c: Likewise.
31479 * nscd/gai.c: Likewise.
31481 * configure.in (build_nscd): New substituted variable, set
31482 by --disable-build-nscd and defaults to $use_nscd.
31483 * configure: Regenerated.
31484 * config.make.in (build-nscd): New substituted variable.
31485 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31486 Change conditional to require [$(build-nscd) = yes] as well.
31487 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31490 * configure.in (use_nscd): New substituted variable, set by
31491 --disable-nscd. If enabled, define USE_NSCD.
31492 * configure: Regenerated.
31493 * config.h.in: Add USE_NSCD.
31494 * config.make.in (use-nscd): New substituted variable.
31495 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31496 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31497 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31498 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31499 (CFLAGS-getgrnam_r.c): Likewise.
31500 (CFLAGS-initgroups.c): Likewise.
31501 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31502 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31504 * inet/getnetgrent_r.c
31505 (nscd_setnetgrent): New function, broken out of ...
31506 (setnetgrent): ... here. Call it.
31507 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31508 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31509 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31510 * nscd/Makefile (routines, aux): Move definitions after include of
31511 Makeconfig. Conditionalize on [$(use-nscd) != no].
31512 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31513 Conditionalize on [USE_NSCD].
31514 (is_nscd, nscd_init_cb): Likewise.
31515 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31516 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31517 * nss/nss_db/db-init.c: Likewise.
31518 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31520 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31521 (make_request): Use it.
31522 (cache_valid_p): New function.
31523 (__check_pf): Use it.
31524 * NEWS: Add item for --disable-nscd.
31526 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31528 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31529 to support sed >= 4.2.1-20-ga9bf076.
31530 * configure: Regenerated.
31532 2012-08-22 Roland McGrath <roland@hack.frob.com>
31534 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31535 Conditionalize whole body on [IREL].
31537 2012-08-22 Jeff Law <law@redhat.com>
31540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31541 if the family is PF_UNSPEC.
31543 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31545 * Makerules (lib-version): Rename from V.
31546 (install-lib-nosubdir): Change V to lib-version.
31548 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31551 * powerpc32/power6/wcschr.c: New file.
31552 * powerpc32/power6/wcscpy.c: New file.
31553 * powerpc32/power6/wcsrchr.c: New file.
31554 * powerpc64/power6/wcschr.c: New file.
31555 * powerpc64/power6/wcscpy.c: New file.
31556 * powerpc64/power6/wcsrchr.c: New file.
31558 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31560 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31561 (two_way_short_needle): Use it.
31562 * string/strstr.c (AVAILABLE1_USES_J): Define.
31563 * string/strcasestr.c: Likewise.
31565 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31567 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31570 * NEWS: Add an entry.
31571 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31572 define their defaults.
31573 (two_way_short_needle): Detect end-of-string on-the-fly.
31574 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31575 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31576 * string/bug-strcasestr1.c: New test.
31577 * string/Makefile: Run it.
31579 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31582 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31583 the first character.
31585 2012-08-21 Roland McGrath <roland@hack.frob.com>
31587 * csu/elf-init.c (__libc_csu_irel): Function removed.
31588 * csu/libc-start.c (apply_irel): New function.
31589 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31591 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31593 * sysdeps/unix/sysv/linux/kernel-features.h
31594 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31595 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31596 <kernel-features.h>.
31597 [__NR_fadvise64_64]: Make code unconditional.
31598 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31599 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31600 !__NR_fadvise64_64)]: Likewise.
31601 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31602 !__NR_fadvise64_64))]: Likewise.
31603 [__NR_fadvise64]: Make code unconditional.
31604 [!__NR_fadvise64]: Remove conditional code.
31605 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31606 <kernel-features.h>.
31607 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31609 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31612 not include <kernel-features.h>.
31613 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31615 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31617 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31618 include <kernel-features.h>.
31619 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31621 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31624 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31627 slight instruction rearrangements per scrollpipe analysis.
31628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31630 2012-08-20 Roland McGrath <roland@hack.frob.com>
31632 * manual/syslog.texi (syslog; vsyslog, closelog):
31633 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31634 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31636 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31637 DSOCAPS to match condition on defining it.
31639 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31641 * sysdeps/unix/sysv/linux/kernel-features.h
31642 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31644 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31645 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31647 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31648 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31653 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31654 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31656 * sysdeps/unix/sysv/linux/kernel-features.h
31657 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31658 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31660 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31661 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31662 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31663 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31664 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31665 Make code unconditional.
31666 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31667 (__mmap64) [!__NR_mmap2]: Likewise.
31668 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31669 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31670 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31671 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31672 [__NR_mmap2]: Make code unconditional.
31673 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31674 (__mmap64) [!__NR_mmap2]: Likewise.
31676 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31678 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31680 2012-08-18 Andreas Jaeger <aj@suse.de>
31682 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31684 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31686 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31687 * include/unistd.h (__have_sock_cloexec): Likewise.
31688 (__have_pipe2): Likewise.
31689 (__have_dup3): Likewise.
31691 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31694 * include/unistd.h (__have_pipe2): Change define into an extern int.
31695 (__have_dup3): Likewise.
31696 * socket/have_sock_cloexec.c: Include fcntl.h.
31697 (__have_pipe2): New variable.
31698 (__have_dup3): Likewise.
31700 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31702 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31704 2012-08-17 Marek Polacek <polacek@redhat.com>
31706 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31707 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31709 2012-08-17 Roland McGrath <roland@hack.frob.com>
31711 * configure.in: Add AC_SUBST for sysheaders.
31712 * configure: Regenerated.
31713 * config.make.in (sysheaders): New substituted variable.
31715 * sysdeps/unix/mkfifo.c: Moved ...
31716 * sysdeps/posix/mkfifo.c: ... here.
31717 * sysdeps/unix/mkfifoat.c: Moved ...
31718 * sysdeps/posix/mkfifoat.c: ... here.
31720 * sysdeps/unix/utime.c: Moved ...
31721 * sysdeps/posix/utime.c: ... here.
31723 * sysdeps/unix/time.c: Moved ...
31724 * sysdeps/posix/time.c: ... here.
31725 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31726 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31728 * sysdeps/unix/nice.c: Moved ...
31729 * sysdeps/posix/nice.c: ... here.
31731 * sysdeps/unix/alarm.c: Moved ...
31732 * sysdeps/posix/alarm.c: ... here.
31734 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31736 2012-08-17 Jeff Law <law@redhat.com>
31738 * intl/Makefile (codeset_mo): New variable.
31739 ($(codeset_mo)): New target.
31740 (tst-codeset.out): Depend on that. Remove explicit rule.
31741 (tst-gettext3.out, tst-gettext5.out): Likewise.
31742 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31743 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31744 * intl/tst-codeset.sh: Remove.
31745 * intl/tst-gettext3.sh: Likewise.
31746 * intl/tst-gettext5.sh: Likewise.
31748 2012-08-17 Roland McGrath <roland@hack.frob.com>
31750 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31751 * sysdeps/unix/syscalls.list: ... here.
31753 * sysdeps/posix/getaddrinfo.c
31754 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31755 (gaiconf_init, gaiconf_reload): Use them.
31756 [!_STATBUF_ST_NSEC]
31757 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31758 Define using time_t rather than struct timespec.
31760 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31761 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31763 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31765 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31766 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31769 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31770 __libc_cleanup_push argument.
31772 * bits/param.h: New file.
31773 * misc/sys/param.h: New file.
31774 * include/sys/param.h: New file.
31775 * misc/Makefile (headers): Add bits/param.h.
31776 * sysdeps/generic/sys/param.h: File removed.
31777 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31778 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31779 * sysdeps/mach/hurd/bits/param.h: New file.
31780 * sysdeps/mach/hurd/sys/param.h: File removed.
31782 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31785 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31787 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31788 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31791 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31792 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31793 rather than -D_IO_MTSAFE_IO conditionally.
31794 * stdio-common/Makefile (CPPFLAGS): Likewise.
31795 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31796 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31797 Use $(libio-mtsafe).
31798 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31799 of -D_IO_MTSAFE_IO.
31800 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31801 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31802 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31803 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31804 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31805 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31806 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31807 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31808 (CFLAGS-fread_u_chk.c): Likewise.
31809 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31810 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31811 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31812 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31813 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31814 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31815 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31816 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31817 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31819 * libio/Makefile: Test [$(libc-reentrant) = yes]
31820 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31823 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31824 * sysdeps/pthread/configure: File removed.
31825 * sysdeps/pthread/Makeconfig: New file.
31826 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31827 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31829 2012-08-16 Gary Benson <gbenson@redhat.com>
31831 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31832 unmapping the first object in a namespace.
31834 2012-08-16 Roland McGrath <roland@hack.frob.com>
31836 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31837 (__internal_setnetgrent): ... this. Add internal_function to
31838 definition. Add libc_hidden_def.
31839 (setnetgrent): Update caller.
31840 (internal_endnetgrent): Renamed to ...
31841 (__internal_endnetgrent): ... this. Add internal_function to
31842 definition. Add libc_hidden_def.
31843 (endnetgrent): Update caller.
31844 (internal_getnetgrent_r): Renamed to ...
31845 (__internal_getnetgrent_r): ... this. Add internal_function to
31846 definition. Add libc_hidden_def.
31847 (__getnetgrent_r): Update caller.
31848 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31850 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31852 * stdlib/longlong.h: Update from GCC.
31854 2012-08-16 Roland McGrath <roland@hack.frob.com>
31856 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31857 on _QL, which is set by umul_ppmm but never used.
31858 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31859 variables, which are set by GMP macros but never used.
31860 * stdio-common/_itowa.c (_itowa): Likewise.
31861 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31862 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31864 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31866 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31867 struct La_sh_regs is not constant.
31868 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31869 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31870 and struct La_sparc64_regs are not constant.
31872 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31874 * sysdeps/unix/sysv/linux/kernel-features.h
31875 (__ASSUME_POSIX_TIMERS): Remove.
31876 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31877 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31878 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31879 Make code unconditional.
31880 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31881 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31882 Make code unconditional.
31883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31884 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31885 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31887 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31888 Make code unconditional.
31889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31890 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31891 (__libc_missing_posix_timers): Remove.
31893 2012-08-15 Roland McGrath <roland@hack.frob.com>
31895 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31896 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31898 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31900 * elf/dl-sym.c: Include <stdlib.h>.
31902 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31903 constants, which avoids warnings in 32-bit builds.
31905 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31906 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31908 * misc/lseek.c: File moved to ...
31909 * io/lseek.c: ... here.
31911 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31913 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31914 shifting LEN more than 31 bits at once.
31916 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31919 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31920 segmentation fault for a case of two empty input strings.
31921 * string/test-strncasecmp.c (check1): Renamed to...
31922 (bz12205): ...this.
31923 (bz14195): Add new testcase for two empty input strings and N > 0.
31924 (test_main): Call new testcase, adapt for renamed function.
31926 2012-08-15 Andreas Jaeger <aj@suse.de>
31929 * crypt/md5test2.c: New test, based on test supplied by Serge
31930 Belyshev <belyshev@depni.sinp.msu.ru>.
31931 * crypt/Makefile (xtests): Add md5test-giant..
31932 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31934 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31937 * crypt/md5.c (md5_process_block): Don't assume the buffer
31938 length is less than 2**32.
31939 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31940 length is less than 2**64.
31942 2012-08-15 Roland McGrath <roland@hack.frob.com>
31944 * string/str-two-way.h: Include <sys/param.h>.
31945 (MAX): Macro removed.
31947 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31948 Move #define and #undef of memmove to just before and after
31949 including <string.h>.
31951 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31952 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31953 and after including <string.h>. Move declarations of
31954 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31955 to before #include "string/memmove.c".
31957 * include/dirent.h: Declare __getdirentries.
31959 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31960 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31962 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31964 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31965 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31966 * sysdeps/i386/configure: Regenerated.
31967 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31968 STABS_CURRENT_FILE, and STABS_FUN.
31969 (END): Remove call to STABS_FUN_END.
31970 (STABS_CURRENT_FILE1): Delete.
31971 (STABS_CURRENT_FILE): Likewise.
31972 (STABS_FUN): Likewise.
31973 (STABS_FUN_END): Likewise.
31974 (STABS_FUN2): Likewise.
31975 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31976 * sysdeps/x86_64/configure: Regenerated.
31978 2012-08-14 Roland McGrath <roland@hack.frob.com>
31980 * elf/dl-open.c: Include <atomic.h>.
31981 * elf/dl-lookup.c: Likewise.
31983 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31985 * sysdeps/unix/sysv/linux/kernel-features.h
31986 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31987 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31989 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31991 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31992 condition on __ASSUME_CLONE_THREAD_FLAGS.
31994 2012-08-14 Andreas Jaeger <aj@suse.de>
31996 * sysdeps/i386/fpu/libm-test-ulps: Update.
31998 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32000 * include/atomic.h (atomic_exchange_and_add): Split into ...
32001 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32004 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32008 2012-08-13 Jeff Law <law@redhat.com>
32010 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32011 null byte in the output string.
32013 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32015 * sysdeps/unix/sysv/linux/kernel-features.h
32016 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32017 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32018 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32019 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32020 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32021 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32022 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32024 2012-08-09 Jeff Law <law@redhat.com>
32027 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32028 When avoid_arena is set, don't retry in the that arena. Pick the
32029 next one, whatever it might be.
32030 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32031 (arena_lock): Pass in new parameter to arena_get2.
32032 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32034 (__libc_malloc): Unify retrying after main arena failure with
32035 __libc_memalign version.
32036 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32038 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32041 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32042 to __redirect_strstr.
32043 (__strstr_sse42): Use typeof __redirect_strstr.
32044 (__strstr_ia32): Likewise.
32045 (__libc_strstr): New prototype.
32046 (strstr): Renamed to ...
32047 (__libc_strstr): This.
32048 (strstr): New strong alias of __libc_strstr.
32049 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32050 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32053 (__libc_time): New prototype.
32054 (time_ifunc): Replace time with __libc_time.
32055 (time): New strong alias and hidden definition of __libc_time.
32056 (__GI_time): Remove strong alias.
32057 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32058 Include <stddef.h>.
32059 (memmove): Redefined to __redirect_memmove.
32060 (__memmove_sse2): Use typeof __redirect_memmove.
32061 (__memmove_ssse3): Likewise.
32062 (__memmove_ssse3_back): Likewise.
32063 (__libc_memmove): New prototype.
32064 (memmove): Renamed to ...
32065 (__libc_memmove): This.
32066 (memmove): New strong alias of __libc_memmove.
32068 2012-08-08 Mark Salter <msalter@redhat.com>
32071 (R_MN10300_TLS_GD): Define.
32072 (R_MN10300_TLS_LD): Likewise.
32073 (R_MN10300_TLS_LDO): Likewise.
32074 (R_MN10300_TLS_GOTIE): Likewise.
32075 (R_MN10300_TLS_IE): Likewise.
32076 (R_MN10300_TLS_LE): Likewise.
32077 (R_MN10300_TLS_DTPMOD): Likewise.
32078 (R_MN10300_TLS_DTPOFF): Likewise.
32079 (R_MN10300_TLS_TPOFF): Likewise.
32080 (R_MN10300_SYM_DIFF): Likewise.
32081 (R_MN10300_ALIGN): Likewise.
32082 (R_MN10300_NUM): Update.
32084 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32089 2012-08-08 Roland McGrath <roland@hack.frob.com>
32091 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32093 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32094 sysdeps/unix -> sysdeps/posix move.
32095 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32097 2012-08-07 Allan McRae <allan@archlinux.org>
32100 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32101 (SUNOS_CPP): Likewise.
32102 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32104 (open_input): Call CPP using execvp.
32106 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32108 * sysdeps/unix/sysv/linux/kernel-features.h
32109 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32110 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32111 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32112 (__ASSUME_WAITID_SYSCALL): Likewise.
32113 * sysdeps/unix/sysv/linux/dl-execstack.c
32114 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32115 code unconditional.
32116 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32119 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32120 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32122 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32124 [__ASSUME_WAITID_SYSCALL]: Likewise.
32125 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32127 2012-08-07 Roland McGrath <roland@hack.frob.com>
32129 * sysdeps/unix/closedir.c: Renamed to ...
32130 * sysdeps/posix/closedir.c: ... here.
32131 * sysdeps/unix/dirfd.c: Renamed to ...
32132 * sysdeps/posix/dirfd.c: ... here.
32133 * sysdeps/unix/dirstream.h: Renamed to ...
32134 * sysdeps/posix/dirstream.h: ... here.
32135 * sysdeps/unix/fdopendir.c: Renamed to ...
32136 * sysdeps/posix/fdopendir.c: ... here.
32137 * sysdeps/unix/opendir.c: Renamed to ...
32138 * sysdeps/posix/opendir.c: ... here.
32139 * sysdeps/unix/readdir.c: Renamed to ...
32140 * sysdeps/posix/readdir.c: ... here.
32141 * sysdeps/unix/readdir_r.c: Renamed to ...
32142 * sysdeps/posix/readdir_r.c: ... here.
32143 * sysdeps/unix/rewinddir.c: Renamed to ...
32144 * sysdeps/posix/rewinddir.c: ... here.
32145 * sysdeps/unix/seekdir.c: Renamed to ...
32146 * sysdeps/posix/seekdir.c: ... here.
32147 * sysdeps/unix/telldir.c: Renamed to ...
32148 * sysdeps/posix/telldir.c: ... here.
32149 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32150 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32151 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32152 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32154 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32155 * bits/fcntl.h: ... here.
32157 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32159 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32160 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32161 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32162 (struct flock): Move l_start, l_len to the beginning.
32163 Use __pid_t for l_pid.
32164 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32165 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32166 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32167 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32168 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32169 [__USE_LARGEFILE64] (struct flock64): New type.
32170 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32172 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32173 * bits/dirent.h: ... here.
32175 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32176 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32178 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32180 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32181 Change from 2.6.0 to 2.6.16.
32182 * sysdeps/unix/sysv/linux/configure: Regenerated.
32183 * sysdeps/unix/sysv/linux/kernel-features.h
32184 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32185 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32187 (__ASSUME_UTIMES): Likewise.
32188 (__ASSUME_CLONE_STOPPED): Remove.
32189 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32190 architectures, not kernel version.
32191 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32192 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32193 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32194 (__ASSUME_WAITID_SYSCALL): Likewise.
32195 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32196 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32197 * README: State 2.6.16 as minimum Linux kernel version. Do not
32198 refer to older versions.
32200 2012-08-06 Roland McGrath <roland@hack.frob.com>
32202 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32203 Define alphasort64 as an alias.
32204 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32205 Define versionsort64 as an alias.
32206 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32207 Define scandir64 as an alias.
32208 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32209 Define scandirat64 as an alias.
32210 * dirent/alphasort64.c (alphasort64):
32211 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32212 * dirent/versionsort64.c: Likewise.
32213 * dirent/scandir64.c: Likewise.
32214 * dirent/scandirat64.c: Likewise.
32215 * sysdeps/wordsize-64/alphasort.c: File removed.
32216 * sysdeps/wordsize-64/alphasort64.c: File removed.
32217 * sysdeps/wordsize-64/scandir.c: File removed.
32218 * sysdeps/wordsize-64/scandir64.c: File removed.
32219 * sysdeps/wordsize-64/scandirat.c: File removed.
32220 * sysdeps/wordsize-64/scandirat64.c: File removed.
32221 * sysdeps/wordsize-64/versionsort.c: File removed.
32222 * sysdeps/wordsize-64/versionsort64.c: File removed.
32223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32226 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32228 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32230 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32232 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32234 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32236 [defined __arch64__ || defined __sparcv9]
32237 (__INO_T_MATCHES_INO64_T): New macro.
32238 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32239 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32240 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32241 * sysdeps/unix/sysv/linux/bits/dirent.h
32242 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32243 (_DIRENT_MATCHES_DIRENT64): New macro.
32245 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32246 Define lockf64 as an alias.
32247 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32248 Define fseeko64 as an alias.
32249 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32250 Define ftello64 as an alias.
32251 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32252 Define _IO_fgetpos64 and fgetpos64 as aliases.
32253 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32254 Define _IO_fsetpos64 and fsetpos64 as aliases.
32255 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32256 Conditionalize body on this.
32257 * libio/fseeko64.c: Likewise.
32258 * libio/ftello64.c: Likewise.
32259 * libio/iofgetpos64.c: Likewise.
32260 * libio/iofsetpos64.c: Likewise.
32261 * sysdeps/wordsize-64/lockf.c: File removed.
32262 * sysdeps/wordsize-64/lockf64.c: File removed.
32263 * sysdeps/wordsize-64/fseeko.c: File removed.
32264 * sysdeps/wordsize-64/fseeko64.c: File removed.
32265 * sysdeps/wordsize-64/ftello.c: File removed.
32266 * sysdeps/wordsize-64/ftello64.c: File removed.
32267 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32268 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32269 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32270 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32271 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32273 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32274 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32275 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32276 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32277 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32278 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32280 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32282 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32284 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32286 [defined __arch64__ || defined __sparcv9]
32287 (__OFF_T_MATCHES_OFF64_T): New macro.
32288 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32289 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32291 (__OFF_T_MATCHES_OFF64_T): New macro.
32293 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32295 * stdlib/secure-getenv.c (__secure_getenv): Replace
32296 GLIBC_2_16 with GLIBC_2_17.
32298 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32301 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32303 2012-08-03 David S. Miller <davem@davemloft.net>
32305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32307 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32311 (__ASSUME_CORRECT_SI_PID): Likewise.
32312 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32313 (__ASSUME_TMPFS_NAME): Likewise.
32314 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32315 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32316 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32317 (HAVE_AUX_SECURE): Make definition unconditional.
32318 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32319 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32321 2012-08-03 Roland McGrath <roland@hack.frob.com>
32323 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32324 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32325 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32326 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32327 __eloop_threshold instead of SYMLOOP_MAX.
32329 * sysdeps/generic/eloop-threshold.h: New file.
32330 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32332 * elf/chroot_canon.c (chroot_canon): Likewise.
32334 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32338 Change to 2.6.0 everywhere.
32339 * sysdeps/unix/sysv/linux/configure: Regenerated.
32340 * sysdeps/unix/sysv/linux/kernel-features.h
32341 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32342 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32344 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32345 (__ASSUME_FUTEX_REQUEUE): Remove.
32346 (__ASSUME_STATFS64): Define unconditionally.
32347 (__ASSUME_AT_SECURE): Likewise.
32348 (__ASSUME_CORRECT_SI_PID): Likewise.
32349 (__ASSUME_TGKILL): Define without depending on kernel version for
32351 (__ASSUME_UTIMES): Likewise.
32352 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32354 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32355 (__ASSUME_TMPFS_NAME): Likewise.
32356 * README: Update reference to Linux kernel versions.
32358 2012-08-02 Marek Polacek <polacek@redhat.com>
32361 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32362 libc_cv_asm_type_prefix with %.
32363 * configure: Regenerated.
32364 * include/libc-symbols.h: Remove comment about
32365 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32366 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32367 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32368 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32369 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32370 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32371 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32372 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32373 * elf/tst-unique2mod1.c: Likewise.
32374 * elf/tst-unique1mod2.c: Likewise.
32375 * elf/tst-unique1mod1.c: Likewise.
32376 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32377 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32378 Replace ASM_TYPE_DIRECTIVE with .type.
32379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32380 * sysdeps/i386/sysdep.h: Likewise.
32381 * sysdeps/x86_64/sysdep.h: Likewise.
32382 * sysdeps/sh/sysdep.h: Likewise.
32383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32384 Do not define ASM_TYPE_DIRECTIVE.
32385 * sysdeps/powerpc/sysdep.h: Likewise.
32386 * sysdeps/powerpc/powerpc32/sysdep.h:
32387 Replace ASM_TYPE_DIRECTIVE with .type.
32388 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32389 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32390 * sysdeps/i386/fpu/e_powf.S: Likewise.
32391 * sysdeps/i386/fpu/e_expl.S: Likewise.
32392 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32393 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32394 * sysdeps/i386/fpu/e_pow.S: Likewise.
32395 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32396 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32397 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32398 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32399 * sysdeps/i386/fpu/e_log2.S: Likewise.
32400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32402 * sysdeps/i386/fpu/e_powl.S: Likewise.
32403 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32404 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32405 * sysdeps/i386/fpu/e_logl.S: Likewise.
32406 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32407 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32408 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32409 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32410 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32411 * sysdeps/i386/fpu/e_log.S: Likewise.
32412 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32413 * sysdeps/i386/fpu/e_logf.S: Likewise.
32414 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32415 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32416 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32417 * sysdeps/i386/fpu/e_log10.S: Likewise.
32418 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32419 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32420 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32421 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32422 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32423 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32424 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32425 * sysdeps/i386/i686/strtok.S: Likewise.
32426 * sysdeps/i386/i386-mcount.S: Likewise.
32427 * sysdeps/i386/strtok.S: Likewise.
32428 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32429 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32431 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32432 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32433 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32434 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32435 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32436 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32437 * sysdeps/x86_64/_mcount.S: Likewise.
32438 * sysdeps/x86_64/strtok.S: Likewise.
32439 * sysdeps/sh/_mcount.S: Likewise.
32441 2012-08-01 Roland McGrath <roland@hack.frob.com>
32443 * libio/iofopen.c: Include <fcntl.h>.
32444 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32445 (_IO_fopen64, fopen64): Define as aliases.
32446 * libio/iofopen64.c: Include <fcntl.h>.
32447 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32448 Conditionalize body on this.
32449 * sysdeps/wordsize-64/iofopen.c: File removed.
32450 * sysdeps/wordsize-64/iofopen64.c: File removed.
32452 2012-08-01 Marek Polacek <polacek@redhat.com>
32454 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32455 Use dlfcn directly instead of a variable.
32456 (binfmt-subdir): Do not define.
32459 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32461 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32462 Remove all definitions.
32463 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32464 <kernel-features.h>.
32465 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32466 (miss_F_GETOWN_EX): Remove all definitions.
32467 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32469 [!__ASSUME_FCNTL64]: Remove conditional code.
32470 [__ASSUME_FCNTL64]: Make code unconditional.
32471 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32472 <kernel-features.h>.
32473 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32474 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32475 (lockf64) [__NR_fcntl64]: Make code unconditional.
32476 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32478 * sysdeps/unix/sysv/linux/kernel-features.h
32479 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32480 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32481 Make code unconditional.
32482 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32483 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32485 [__NR_vfork]: Make code unconditional.
32486 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32487 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32489 [__NR_vfork]: Make code unconditional.
32490 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32491 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32493 2012-08-01 Roland McGrath <roland@hack.frob.com>
32495 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32496 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32498 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32499 Define mkstemp64 as an alias.
32500 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32501 Define mkstemps64 as an alias.
32502 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32503 Define mkostemp64 as an alias.
32504 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32505 Define mkostemps64 as an alias.
32506 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32507 Conditionalize body on this.
32508 * misc/mkostemp64.c: Likewise.
32509 * misc/mkostemps64.c: Likewise.
32510 * misc/mkstemps64.c: Likewise.
32511 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32512 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32513 * sysdeps/wordsize-64/mkostemp.c: File removed.
32514 * sysdeps/wordsize-64/mkstemp.c: File removed.
32515 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32517 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32521 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32522 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32523 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32524 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32526 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32527 compat_symbol macros from <shlib-compat.h> rather than the underlying
32528 default_symbol_version and symbol_version macros, so that DEFAULT
32529 lines in shlib-versions are respected.
32530 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32532 2012-08-01 Florian Weimer <fweimer@redhat.com>
32534 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32535 Declare with warn_unused_result.
32536 (setgid, setregid, setegid, setresgid): Likewise.
32537 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32539 * WUR-REPORT: Remove set*id functions.
32541 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32543 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32545 2012-07-31 Roland McGrath <roland@hack.frob.com>
32548 * include/sys/socket.h (__libc_accept, __libc_accept4):
32549 Add attribute_hidden.
32550 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32552 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32554 * inet/getnetgrent_r.c (setup): Likewise.
32556 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32558 2012-07-31 David S. Miller <davem@davemloft.net>
32560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32562 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32565 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32566 value between 1.0 and 2.0 and smaller part has absolute value less
32568 * math/s_clog10.c (__clog10): Likewise.
32569 * math/s_clog10f.c (__clog10f): Likewise.
32570 * math/s_clog10l.c (__clog10l): Likewise.
32571 * math/s_clogf.c (__clogf): Likewise.
32572 * math/s_clogl.c (__clogl): Likewise.
32573 * math/libm-test.inc (clog_test): Add more tests.
32574 (clog10_test): Likewise.
32575 * sysdeps/i386/fpu/libm-test-ulps: Update.
32576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32578 2012-07-31 Florian Weimer <fweimer@redhat.com>
32580 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32581 Exit with zero in case no suitable GID is found, and write a
32582 message to standard error.
32584 2012-07-30 Roland McGrath <roland@hack.frob.com>
32586 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32588 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32589 (MAXPATHLEN): Removed.
32590 (NOGROUP, NODEV): New macros.
32591 (setbit, clrbit, isset, isclr): New macros.
32592 (howmany, roundup, powerof2): New macros.
32593 (DEV_BSIZE): New macro.
32595 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32596 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32598 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32599 definition on [!__NO_LONG_DOUBLE_MATH].
32601 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32602 PTR_MANGLE and PTR_DEMANGLE.
32604 * socket/accept4.c (accept4): Rename to __libc_accept4.
32605 Define accept4 as a weak alias.
32607 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32608 on [_DIRENT_HAVE_D_TYPE].
32609 * io/ftw.c (ftw_dir): Likewise.
32611 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32613 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32615 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32616 Use the BSD numbers rather than the arbitrary ones we had.
32617 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32618 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32619 (SIGXCPU, SIGXFSZ): New macros.
32622 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32623 initializer on [_LIBC_REENTRANT].
32625 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32626 definitions inside [_POSIX_MAPPED_FILES].
32628 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32630 * dirent/opendir.c: Include <fcntl.h>.
32632 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32633 (__libc_getspecific): Likewise.
32634 (__libc_key_create): Likewise.
32636 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32637 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32638 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32639 (tmpfile64): Define as alias.
32640 * sysdeps/wordsize-64/tmpfile.c: File removed.
32641 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32642 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32643 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32645 * stdio-common/vfscanf.c: Include <stdbool.h>.
32646 * nss/makedb.c: Likewise.
32647 * stdio-common/_i18n_number.h: Likewise.
32648 * argp/argp-help.c: Likewise.
32649 * posix/wordexp.c: Likewise.
32650 * sysdeps/posix/spawni.c: Likewise.
32651 * nss/nss_files/files-initgroups.c: Likewise.
32652 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32653 * nss/nss_files/files-initgroups.c: Likewise.
32654 * nss/nss_db/db-netgrp.c: Likewise.
32655 * nss/nss_db/db-initgroups.c: Likewise.
32656 * io/fchmodat.c: Include <sys/stat.h>.
32658 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32659 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32661 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32664 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32665 Add multiple inclusion protection.
32667 2012-07-27 David S. Miller <davem@davemloft.net>
32669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32671 2012-07-27 Gary Benson <gbenson@redhat.com>
32674 * elf/rtld.c: Include <stap-probe.h>.
32675 (dl_main): Added static probes "init_start" and "init_complete".
32676 * elf/dl-load.c: Include <stap-probe.h>.
32677 (lose): Take new parameter "nsid".
32678 Added static probe "map_failed".
32679 (_dl_map_object_from_fd): Pass namespace id to lose.
32680 Added static probe "map_start".
32681 (open_verify): Pass namespace id to lose.
32682 * elf/dl-open.c: Include <stap-probe.h>.
32683 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32684 and "reloc_complete".
32685 * elf/dl-close.c: Include <stap-probe.h>.
32686 (_dl_close_worker): Added static probes "unmap_start" and
32688 * elf/rtld-debugger-interface.txt: New file documenting the above.
32690 2012-07-26 Roland McGrath <roland@hack.frob.com>
32692 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32693 rather than a string variable.
32694 * sunrpc/rpc_main.c (h_output): Likewise.
32695 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32697 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32699 * inet/check_native.c: New file.
32701 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32704 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32705 if larger part has absolute value 1.0.
32706 * math/s_clog10.c (__clog10): Likewise.
32707 * math/s_clog10f.c (__clog10f): Likewise.
32708 * math/s_clog10l.c (__clog10l): Likewise.
32709 * math/s_clogf.c (__clogf): Likewise.
32710 * math/s_clogl.c (__clogl): Likewise.
32711 * math/libm-test.inc (clog_test): Add more tests.
32712 (clog10_test): Likewise.
32713 * sysdeps/i386/fpu/libm-test-ulps: Update.
32714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32716 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32717 (pltexit): Likewise.
32718 (La_regs): Likewise.
32719 (La_retval): Likewise.
32720 (int_retval): Likewise.
32721 Update #error for removed macros to refer only to definitions in
32723 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32725 (pltexit): Likewise.
32726 (La_regs): Likewise.
32727 (La_retval): Likewise.
32728 (int_retval): Likewise.
32729 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32731 (pltexit): Likewise.
32732 (La_regs): Likewise.
32733 (La_retval): Likewise.
32734 (int_retval): Likewise.
32735 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32737 (pltexit): Likewise.
32738 (La_regs): Likewise.
32739 (La_retval): Likewise.
32740 (int_retval): Likewise.
32741 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32743 (pltexit): Likewise.
32744 (La_regs): Likewise.
32745 (La_retval): Likewise.
32746 (int_retval): Likewise.
32747 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32749 (pltexit): Likewise.
32750 (La_regs): Likewise.
32751 (La_retval): Likewise.
32752 (int_retval): Likewise.
32753 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32755 (pltexit): Likewise.
32756 (La_regs): Likewise.
32757 (La_retval): Likewise.
32758 (int_retval): Likewise.
32759 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32760 macro definitions in tst-audit.h.
32761 * sysdeps/i386/tst-audit.h: New file.
32762 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32763 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32764 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32765 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32766 * sysdeps/sh/tst-audit.h: Likewise.
32767 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32768 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32769 * sysdeps/x86_64/tst-audit.h: Likewise.
32771 2012-07-26 Andreas Jaeger <aj@suse.de>
32773 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32776 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32777 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32778 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32780 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32781 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32782 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32784 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32787 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32789 (si_call_addr, si_syscall, si_arch): Define new macro.
32790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32792 (si_call_addr, si_syscall, si_arch): Define new marcro.
32793 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32795 (si_call_addr, si_syscall, si_arch): Define new macro.
32796 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32798 (si_call_addr, si_syscall, si_arch): Define new macro.
32800 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32804 Change to 2.4.21 where previously 2.4.1.
32805 * sysdeps/unix/sysv/linux/configure: Regenerated.
32806 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32807 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32808 Linux kernel version.
32809 (__ASSUME_STD_AUXV): Remove.
32810 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32812 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32813 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32814 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32815 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32816 (__ASSUME_NETLINK_SUPPORT): Likewise.
32817 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32818 (__no_netlink_support): Remove conditional definition.
32819 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32821 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32822 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32823 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32824 (if_nameindex_ioctl): Remove.
32825 (if_nameindex_netlink): Do not handle __no_netlink_support.
32826 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32828 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32829 Remove conditional code.
32830 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32832 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32834 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32835 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32836 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32838 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32839 [!__ASSUME_STD_AUXV]: Remove conditional code.
32840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32841 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32842 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32844 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32845 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32847 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32849 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32850 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32852 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32854 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32857 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32860 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32861 code unconditional.
32862 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32864 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32866 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32869 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32871 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32874 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32875 code unconditional.
32876 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32878 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32880 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32883 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32884 code unconditional.
32885 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32887 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32889 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32892 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32894 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32895 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32896 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32897 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32898 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32899 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32900 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32901 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32902 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32903 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32904 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32905 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32906 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32907 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32908 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32909 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32910 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32911 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32912 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32914 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32915 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32916 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32918 2012-07-25 Florian Weimer <fweimer@redhat.com>
32920 * Versions.def: Add GLIBC_2.17.
32921 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32922 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32923 Introduce __libc_secure_getenv.
32924 * stdlib/Versions (2.17): Add secure_getenv
32925 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32926 * stdlib/secure-getenv.c: Rename __secure_getenv to
32927 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32928 symbol __secure_getenv for GLIBC_2.0.
32929 * stdlib/tst-secure-getenv.c: New.
32930 * stdlib/Makefile (tests): Add testcase.
32931 * manual/startup.texi (Environment Access): Document
32933 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32934 __libc_secure_getenv.
32935 * inet/ruserpass.c (ruserpass): Likewise.
32936 * malloc/mtrace.c (mtrace): Likewise.
32937 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32938 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32939 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32940 * sysdeps/posix/tempname.c: Likewise. Evaluate
32941 HAVE_SECURE_GETENV.
32942 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32943 __secure_getenv to __libc_secure_getenv.
32944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32957 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32959 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32960 (struct La_i86_retval): Likewise.
32961 (struct La_x86_64_regs): Likewise.
32962 (struct La_x86_64_retval): Likewise.
32963 (struct La_x32_regs): Likewise.
32964 (struct La_x32_retval): Likewise.
32965 (struct La_ppc32_regs): Likewise.
32966 (struct La_ppc32_retval): Likewise.
32967 (struct La_ppc64_regs): Likewise.
32968 (struct La_ppc64_retval): Likewise.
32969 (struct La_sh_regs): Likewise.
32970 (struct La_sh_retval): Likewise.
32971 (struct La_s390_32_regs): Likewise.
32972 (struct La_s390_32_retval): Likewise.
32973 (struct La_s390_64_regs): Likewise.
32974 (struct La_s390_64_retval): Likewise.
32975 (struct La_sparc32_regs): Likewise.
32976 (struct La_sparc32_retval): Likewise.
32977 (struct La_sparc64_regs): Likewise.
32978 (struct La_sparc64_retval): Likewise.
32979 (struct audit_ifaces): Remove architecture-specific pltenter and
32981 * sysdeps/i386/ldsodefs.h: New file.
32982 * sysdeps/powerpc/ldsodefs.h: Likewise.
32983 * sysdeps/s390/ldsodefs.h: Likewise.
32984 * sysdeps/sh/ldsodefs.h: Likewise.
32985 * sysdeps/sparc/ldsodefs.h: Likewise.
32986 * sysdeps/x86_64/ldsodefs.h: Likewise.
32988 2012-07-25 Marek Polacek <polacek@redhat.com>
32991 * math/libm-test.inc (yn_test): Add another test.
32992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32993 to ERANGE when the result is +-Inf.
32994 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32995 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32996 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32997 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32999 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33001 * conform/data/time.h-data (NULL): Use macro-constant. Require
33003 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33005 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33007 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33009 * configure.in <sysdeps resolving>: Correct printing
33011 * configure: Regenerate.
33013 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33015 * math/w_ilogb.c: Include <limits.h>.
33016 * math/w_ilogbl.c: Likewise.
33018 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33020 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33021 va_copy. Document allowing for unavailable va_copy only as
33022 pre-C99 compatibility.
33023 * manual/string.texi (Copying and Concatenation): Use va_copy
33024 instead of __va_copy in concat example.
33026 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33028 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33029 (__sendto): Use create_address_port. Initialize APORT and deallocate
33032 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33033 with O_NOLINK passed to __file_name_lookup.
33035 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33036 with O_NOLINK passed to __file_name_lookup.
33038 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33039 negative N or less than NGIDS.
33041 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33042 type to string_t. Set ERANGE as errno and return it if NAME is not big
33043 enough. Use memcpy instead of strncpy.
33045 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33047 * elf/Makefile (check-data): Remove.
33048 (localplt.data): New vpath directive.
33049 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33050 instead of $(check-data).
33051 * scripts/data/localplt-generic.data: Move to ...
33052 * sysdeps/generic/localplt.data: ... here.
33053 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33054 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33055 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33058 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33061 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33064 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33067 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33070 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33074 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33076 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33077 PPC32 and PPC64 files.
33078 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33079 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33081 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33083 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33084 __makecontext_ret to ...
33085 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33086 ... here and call exit if uc_link is NULL. New file.
33087 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33088 __makecontext_ret.S.
33089 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33090 __makecontext_ret to ...
33091 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33092 ... here and call exit if uc_link is NULL. New file.
33093 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33094 __makecontext_ret.S.
33096 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33098 * elf/elf.h (R_390_IRELATIVE): New definition.
33099 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33100 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33101 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33102 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33103 (elf_machine_lazy_rel): Likewise.
33104 * sysdeps/s390/dl-irel.h: New file.
33105 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33106 * sysdeps/s390/s390-64/memset.S: New asm code.
33107 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33108 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33109 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33110 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33111 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33112 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33113 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33114 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33115 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33116 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33117 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33118 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33119 * sysdeps/s390/s390-32/memset.S: New asm code.
33120 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33122 2012-07-17 Marek Polacek <polacek@redhat.com>
33125 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33126 * sysdeps/s390/s390-64/configure.in: Likewise.
33127 * sysdeps/sparc/configure.in: Likewise.
33128 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33129 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33130 * sysdeps/i386/configure.in: Likewise.
33131 * sysdeps/x86_64/configure.in: Likewise.
33132 * sysdeps/sh/configure.in: Likewise.
33133 * sysdeps/s390/s390-32/configure: Regenerated.
33134 * sysdeps/s390/s390-64/configure: Likewise.
33135 * sysdeps/x86_64/configure: Likewise.
33136 * sysdeps/sh/configure: Likewise.
33137 * sysdeps/powerpc/powerpc64/configure: Likewise.
33138 * sysdeps/powerpc/powerpc32/configure: Likewise.
33139 * sysdeps/sparc/configure: Likwise.
33140 * sysdeps/i386/configure: Likewise.
33142 * elf/dl-open.c: Comment fixes.
33144 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33146 * Makefile [CXX] (check-data): Remove.
33147 [CXX] (c++-types.data): New vpath directive.
33148 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33149 vpath. Do not allow for C++ type data being missing.
33150 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33151 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33152 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33153 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33154 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33155 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33156 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33159 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33162 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33165 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33168 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33171 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33174 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33177 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33180 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33181 definitions to architecture-specific files.
33182 (TLS_IE): Likewise.
33183 (TLS_LD): Likewise.
33184 (TLS_GD): Likewise.
33185 * sysdeps/i386/tls-macros.h: New file.
33186 * sysdeps/powerpc/tls-macros.h: Likewise.
33187 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33188 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33189 * sysdeps/sh/tls-macros.h: Likewise.
33190 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33191 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33192 * sysdeps/x86_64/tls-macros.h: Likewise.
33194 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33196 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33197 zero value for regular exit case.
33199 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33200 (__start_context): Preserve zero value for regular exit case.
33202 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33203 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33205 * manual/setjmp.texi (setcontext): Clarify normal process
33206 termination when uc_link is the null pointer.
33207 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33210 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33212 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33213 preprocessor. Test for each exception mask separately.
33215 2012-07-16 Andreas Jaeger <aj@suse.de>
33217 * po/ru.po: Update from translation team.
33219 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33221 * conform/data/string.h-data (NULL): Use macro-constant. Require
33223 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33224 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33225 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33226 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33229 2012-07-13 Andreas Jaeger <aj@suse.de>
33231 * po/fr.po: Update from translation team.
33233 2012-07-12 Marek Polacek <polacek@redhat.com>
33236 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33237 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33240 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33244 Change to 2.4.1 where previously 2.4.0.
33245 * sysdeps/unix/sysv/linux/configure: Regenerated.
33246 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33247 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33249 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33250 (__ASSUME_AT_CLKTCK): Remove.
33251 (__ASSUME_AT_PAGESIZE): Likewise.
33252 (__ASSUME_AT_XID): Likewise.
33253 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33254 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33255 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33257 (HAVE_AUX_PAGESIZE): Likewise.
33258 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33259 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33260 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33262 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33266 the temporary buffer used to invoke __gethostbyname2_r,
33267 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33268 host_data / struct gaih_addrtuple.
33269 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33270 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33271 header file nss/nsswitch.h.
33272 * nss/nsswitch.h (global scope): Add definition of implementation
33273 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33274 resolv/nss_dns/dns-host.c).
33276 2012-07-11 Andreas Jaeger <aj@suse.de>
33278 * po/fr.po: Update from translation team.
33280 * po/sv.po: Update from translation team
33281 * po/fr.po: Another update from translation team.
33283 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33285 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33286 for subnormals or multiply small sinh result by itself.
33287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33290 2012-07-11 David S. Miller <davem@davemloft.net>
33292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33294 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33297 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33298 (INTERNAL_MARK): Shift it here.
33300 2012-07-10 Marek Polacek <polacek@redhat.com>
33303 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33304 libc_cv_asm_global_directive with .globl.
33305 * configure: Regenerated.
33306 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33308 * sysdeps/i386/configure: Regenerated.
33309 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33311 * sysdeps/x86_64/configure: Regenerated.
33312 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33313 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33314 * elf/tst-unique2mod2.c: Likewise.
33315 * elf/tst-unique2mod1.c: Likewise.
33316 * elf/tst-unique1mod2.c: Likewise.
33317 * elf/tst-unique1mod1.c: Likewise.
33318 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33319 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33320 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33321 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33322 * sysdeps/mach/sysdep.h: Likewise.
33323 * sysdeps/i386/sysdep.h: Likewise.
33324 * sysdeps/i386/i386-mcount.S: Likewise.
33325 * sysdeps/x86_64/_mcount.S: Likewise.
33326 * sysdeps/x86_64/sysdep.h: Likewise.
33327 * sysdeps/sh/_mcount.S: Likewise.
33328 * sysdeps/sh/sysdep.h: Likewise.
33329 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33330 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33331 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33332 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33333 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33334 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33335 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33336 * locale/localeinfo.h: Likewise.
33337 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33338 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33340 2012-07-09 Roland McGrath <roland@hack.frob.com>
33343 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33345 * manual/message.texi (The Uniforum approach): Likewise.
33346 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33347 (glibc iconv Implementation): Likewise.
33349 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33352 * math/s_clog.c (__clog): Avoid scaling a value down where that
33353 could result in underflow.
33354 * math/s_clog10.c (__clog10): Likewise.
33355 * math/s_clog10f.c (__clog10f): Likewise.
33356 * math/s_clog10l.c (__clog10l): Likewise.
33357 * math/s_clogf.c (__clogf): Likewise.
33358 * math/s_clogl.c (__clogl): Likewise.
33359 * math/libm-test.inc (clog_test): Add more tests.
33360 (clog10_test): Likewise.
33361 * sysdeps/i386/fpu/libm-test-ulps: Update.
33362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33364 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33367 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33368 by 7 not 8 to examine high bit of fractional part.
33371 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33372 for call to __mcount_internal.
33373 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33374 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33375 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33377 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33380 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33381 approximation for values within 0x1p-13f of an odd multiple of
33383 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33384 exception. Add more tests.
33385 * sysdeps/i386/fpu/libm-test-ulps: Update.
33388 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33389 inputs and return -1 for them. Do not check for +Inf in case not
33390 reachable for +Inf.
33391 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33392 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33393 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33394 and return -1 for them. Do not check for +Inf in case not
33395 reachable for +Inf.
33396 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33398 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33399 and return -1 for them. Do not check for +Inf in case not
33400 reachable for +Inf.
33401 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33402 spurious underflow.
33403 * sysdeps/i386/fpu/libm-test-ulps: Update.
33404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33406 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33408 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33410 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33414 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33415 could result in spurious underflow. Scale down values above
33416 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33417 * math/s_csqrtf.c (__csqrtf): Likewise.
33418 * math/s_csqrtl.c (__csqrtl): Likewise.
33419 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33420 spurious underflow.
33421 * sysdeps/i386/fpu/libm-test-ulps: Update.
33422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33424 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33426 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33428 * catgets/xopen-msg.awk: New file.
33429 * catgets/xopen-msg.sed: Removed.
33431 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33433 * intl/po2test.awk: New file.
33434 * intl/po2test.sed: Removed.
33436 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33439 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33440 or multiply small sinh result by itself.
33441 * math/s_ctanf.c (__ctanf): Likewise.
33442 * math/s_ctanh.c (__ctanh): Likewise.
33443 * math/s_ctanhf.c (__ctanhf): Likewise.
33444 * math/s_ctanhl.c (__ctanhl): Likewise.
33445 * math/s_ctanl.c (__ctanl): Likewise.
33446 * math/libm-test.inc (ctan_test_tonearest): New function.
33447 (ctan_test_towardzero): Likewise.
33448 (ctan_test_downward): Likewise.
33449 (ctan_test_upward): Likewise.
33450 (ctanh_test_tonearest): Likewise.
33451 (ctanh_test_towardzero): Likewise.
33452 (ctanh_test_downward): Likewise.
33453 (ctanh_test_upward): Likewise.
33454 (main): Call these new functions.
33455 * sysdeps/i386/fpu/libm-test-ulps: Update.
33456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33458 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33460 * .gitignore: Delete /ports entry.
33462 2012-07-03 Andreas Jaeger <aj@suse.de>
33464 * po/bg.po: Update from translation team.
33465 * po/cs.po: Likewise.
33466 * po/de.po: Likewise.
33467 * po/hr.po: Likewise.
33468 * po/nl.pl: Likewise.
33469 * po/pl.po: Likewise.
33470 * po/vi.po: Likewise.
33472 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33474 * Makeconfig [!+link] (+link-before-libc): New variable.
33475 [!+link] (+link-after-libc): Likewise.
33476 [!+link] (+link-tests): Likewise.
33477 [!+link] (+link): Define in terms of $(+link-before-libc) and
33478 $(+link-after-libc).
33479 [!+link-static] (+link-static-before-libc): New variable.
33480 [!+link-static] (+link-static-after-libc): Likewise.
33481 [!+link-static] (+link-static-tests): Likewise.
33482 [!+link-static] (+link-static): Define in terms of
33483 $(+link-static-before-libc) and $(+link-static-after-libc).
33484 [build-shared] (link-libc-before-gnulib): New variable.
33485 [build-shared] (link-libc-tests): Likewise.
33486 [build-shared] (link-libc): Define in terms of
33487 $(link-libc-before-gnulib).
33488 [!build-shared] (link-libc-tests): New variable.
33489 (link-libc-static-tests): New variable.
33490 [!gnulib] (gnulib-arch): New variable.
33491 [!gnulib] (gnulib-tests): Likewise.
33492 [!gnulib] (static-gnulib-arch): Likewise.
33493 [!gnulib] (static-gnulib-tests): Likewise.
33494 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33495 Define with "=" instead of ":=".
33496 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33497 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33498 * Rules (binaries-all-notests): New variable.
33499 (binaries-all-tests): Likewise.
33500 (binaries-static-notests): Likewise.
33501 (binaries-static-tests): Likewise.
33502 (binaries-all): Define using $(binaries-all-notests) and
33503 $(binaries-all-tests).
33504 (binaries-static): Define using $(binaries-static-notests) and
33505 $(binaries-static-tests).
33506 (binaries-shared-tests): New variable.
33507 (binaries-shared-notests): Likewise.
33508 (binaries-shared): Remove variable.
33509 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33510 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33511 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33512 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33513 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33514 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33515 * elf/Makefile (sln-modules): New variable.
33516 (extra-objs): Add $(sln-modules:=.o).
33517 (ldconfig-modules): Add static-stubs.
33518 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33519 * elf/static-stubs.c: New file.
33522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33523 by 7 not 8 to examine high bit of fractional part. Use volatile
33524 variables when splitting into final array of floats if
33525 __FLT_EVAL_METHOD__ != 0.
33526 * math/libm-test.inc (cos_test): Add another test.
33527 (sin_test): Likewise.
33528 * sysdeps/i386/fpu/libm-test-ulps: Update.
33531 * math/libm-test.inc (cosh_test): Add more tests.
33533 * version.h (RELEASE): Set to "development".
33534 (VERSION): Set to "2.16.90".
33536 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33538 * NEWS: Update copyright. Remove last-updated date.
33539 Mention math library bug fixes and timezone data changes.
33540 * README: Mention GNU/Hurd, x32, and HPPA support status.
33542 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33544 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33546 2012-06-27 Andreas Jaeger <aj@suse.de>
33548 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33550 2012-06-25 Andreas Jaeger <aj@suse.de>
33552 * sysdeps/s390/fpu/libm-test-ulps: Update.
33554 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33555 Thomas Schwinge <thomas@codesourcery.com>
33557 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33558 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33562 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33564 * sysdeps/mach/start.c: Remove file.
33565 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33566 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33567 * sysdeps/sh/init-first.c: Likewise.
33569 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33570 registers for frame unwinding purposes, add CFI directives.
33571 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33572 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33573 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33576 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33577 __fortify_fail returning.
33578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33581 sysdeps/sh/____longjmp_chk.S.
33582 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33583 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33584 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33585 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33587 * sysdeps/sh/abort-instr.h: New file.
33588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33589 process in case exit returns.
33591 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33592 initialize the GOT register before use.
33594 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33595 calculation of ARGC > 4.
33597 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33598 meaningful names to some local labels.
33600 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33601 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33603 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33604 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33605 (__arch_compare_and_exchange_val_16_acq): Likewise.
33606 (__arch_compare_and_exchange_val_32_acq): Likewise.
33607 (atomic_exchange_and_add): Fix gUSA sequence.
33608 (atomic_add): Likewise.
33609 (atomic_add_negative): Likewise.
33610 (atomic_add_zero): Likewise.
33611 (atomic_bit_test_set): Likewise.
33613 2012-06-22 Andreas Schwab <schwab@redhat.com>
33616 * include/link.h (struct link_map): Add l_free_initfini.
33617 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33619 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33620 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33621 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33624 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33626 * configure.in: Use AC_LANG_SOURCE.
33627 * configure: Regenerate.
33629 2012-06-22 Roland McGrath <roland@hack.frob.com>
33631 * configure.in (libc_cv_localstatedir): New substituted variable.
33632 * configure: Regenerated.
33633 * config.make.in (localstatedir): New variable, substituted from
33634 libc_cv_localstatedir.
33635 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33636 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33637 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33638 * sysdeps/gnu/configure: Regenerated.
33640 2012-06-21 Jeff Law <law@redhat.com>
33643 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33644 free. Simplify list management for _LIBC case.
33646 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33650 Clear sign bit of 64-bit integer value before comparing against
33653 * sysdeps/mach/configure: Regenerated.
33655 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33658 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33660 2012-06-21 Jeff Law <law@redhat.com>
33663 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33664 uint16_t for elements in the "seen" array to avoid char overflows.
33665 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33666 * elf/dl-open.c (dl_open_worker): Likewise.
33668 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33670 * scripts/list-sources.sh: Scan PORTS for translations.
33671 * po/libc.pot: Regenerated.
33673 2012-06-21 Andreas Jaeger <aj@suse.de>
33676 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33678 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33679 * bits/byteswap-16.h (__bswap_16): Likewise.
33680 * bits/byteswap.h (__bswap_constant_16): Likewise.
33682 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33685 * sysdeps/i386/fpu_control.h: Removed.
33686 * sysdeps/x86_64/fpu_control.h: Moved to ...
33687 * sysdeps/x86/fpu_control.h: Here.
33689 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33690 (_FPU_SETCW): Likewise.
33692 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33695 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33696 * sysdeps/x86/fpu/bits/mathinline.h: This.
33697 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33701 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33702 functions if __x86_64__ is defined.
33704 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33706 * string/endian.h: Add !__ASSEMBLER__ condition for including
33707 conversion interfaces.
33709 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33713 of ABS(x) in calculating zero to negative powers other than odd
33715 * math/libm-test.inc (pow_test): Add more tests.
33717 2012-06-15 Andreas Jaeger <aj@suse.de>
33719 * manual/contrib.texi (Contributors): Update entry of Liubov
33720 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33723 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33725 * string/string.h: Add __wur to GNU version of strerror_r.
33727 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33730 * string/Makefile (tests): Add tst-strtok_r.
33731 * string/tst-strtok_r.c: New file.
33732 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33733 RAX_LP/RDX_LP on SAVE_PTR.
33735 2012-06-14 Roland McGrath <roland@hack.frob.com>
33737 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33739 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33741 * libm_test.inc (csqrt_test): Allow more spurious underflow
33743 (j0_test): Likewise.
33744 (j1_test): Likewise.
33745 (y0_test): Likewise.
33746 (y1_test): Likewise.
33748 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33750 * po/Makefile (libc.pot): Use UTF-8 charset.
33752 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33755 Suppress sign-conversion warning from FD_SET.
33756 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33757 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33758 not unsigned long int.
33759 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33761 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33765 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33766 __extern_always_inline instead of __extern_inline.
33767 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33768 (__signbit): Likewise.
33769 (__signbitl): Support C++ namespace.
33770 (lrintf): New inline function.
33772 (llrintf): Likewise.
33773 (llrint): Likewise.
33783 (floorf): Likewise.
33784 (nearbyint): Likewise.
33785 (nearbyintf): Likewise.
33787 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33790 non-default versions.
33792 2012-06-11 Roland McGrath <roland@hack.frob.com>
33795 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33797 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33799 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33800 (FE_UPWARD, FE_DOWNWARD): Don't define.
33801 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33802 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33804 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33806 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33807 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33809 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33811 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33813 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33814 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33816 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33819 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33820 * sysdeps/i386/fpu/Implies: New file.
33821 * sysdeps/x86_64/fpu/Implies: Likewise.
33822 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33823 * sysdeps/x86/fpu/bits/fenv.h: This.
33825 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33828 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33831 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33832 character 0xffff that matches the last element of the
33835 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33837 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33840 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33843 values higher than 25.6283.
33845 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33847 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33848 subnormal exponent extraction and add some __builtin_expect.
33849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33850 Fix for subnormal mantissa calculation.
33852 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33854 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33855 cpu2 is -1 and errno is not ENOSYS.
33857 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33860 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33861 * sysdeps/x86/bits/string.h: This.
33862 * sysdeps/x86_64/bits/string.h: Removed.
33864 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33865 if not compiling for x86-64, but compiling for >= i486.
33867 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33868 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33870 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33871 New macro from Linux kernel 3.4.0.
33872 (FP_XSTATE_MAGIC2): Likewise.
33873 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33874 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33875 (struct _fpx_sw_bytes): New struct.
33876 (struct _xsave_hdr): Likewise.
33877 (struct _ymmh_state): Likewise.
33878 (struct _xstate): Likewise.
33880 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33881 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33882 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33883 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33884 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33885 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33887 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33888 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33889 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33890 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33891 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33892 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33894 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33897 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33898 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33899 (sysdep_headers): Include sys/platform/ppc.h.
33900 * sysdeps/powerpc/test-gettimebase.c: Test for
33901 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33902 * manual/Makefile (appendices): Include platform.texi.
33903 * manual/contrib.texi (Contributors): Update @node pointers.
33904 * manual/maint.texi (Maintenance): Likewise.
33905 (Platform): New node.
33906 * manual/platform.texi: New file. Document the new features.
33908 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33909 Jakub Jelinek <jakub@redhat.com>
33912 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33913 where __builtin_expect is unavailable.
33915 2012-06-03 David S. Miller <davem@davemloft.net>
33917 * stdlib/longlong.h: Updated from GCC.
33919 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33922 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33923 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33926 (GLIBC_2.16): Likewise.
33928 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33930 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33932 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33935 (default-abi): New variable.
33936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33937 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33939 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33941 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33943 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33946 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33947 definition. Document in comment.
33949 2012-06-01 David S. Miller <davem@davemloft.net>
33951 * stdlib/longlong.h: Updated from GCC.
33953 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33956 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33957 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33958 sys/debugreg.h sys/io.h here.
33959 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33960 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33962 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33963 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33964 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33965 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33966 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33967 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33969 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33970 Define only if __x86_64__ is defined.
33972 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33976 Use int64_t for variable i.
33977 * math/libm-test.inc (fmod_test): Add more tests.
33979 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33980 z computation is not scheduled after fetestexcept.
33981 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33982 Use math_force_eval instead of asm to ensure calculation scheduled
33983 before exception test.
33984 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33985 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33987 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33990 computation is not scheduled after fetestexcept.
33992 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33995 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33996 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33998 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34000 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34001 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34003 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34006 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34008 (__WCHAR_MIN): Support __WORDSIZE == 64.
34009 (__WCHAR_MAX): Likewise.
34011 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34012 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34016 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34019 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34020 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34022 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34023 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34025 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34026 Defined to 1 if __x86_64__ isn't defined.
34027 (_STAT_VER_LINUX_OLD): New.
34028 (st_atime): Remove duplicate.
34029 (st_mtime): Likewise.
34030 (st_ctime): Likewise.
34032 2012-05-31 David S. Miller <davem@davemloft.net>
34034 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34037 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34039 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34043 * elf/dl-reloc.c: Include <_itoa.h>.
34044 (_dl_reloc_bad_type): Remove use of INTUSE.
34045 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34046 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34047 * stdio-common/psiginfo.c (psiginfo): Likewise.
34048 * stdio-common/psignal.c (psignal): Likewise.
34049 * string/strsignal.c (strsignal): Likewise.
34050 * include/signal.h (_sys_siglist): Declare hidden proto.
34051 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34052 INTVARDEF with libc_hidden_data_def.
34053 * stdio-common/itoa-udigits.c: Likewise.
34054 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34055 (_itoa_lower_digits_internal): Remove declaration.
34056 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34057 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34058 (_sys_sigabbrev_internal): Remove aliases.
34059 (_sys_siglist): Define hidden alias.
34061 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34066 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34069 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34070 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34072 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34073 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34074 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34075 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34077 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34079 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34080 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34081 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34083 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34091 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34093 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34095 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34096 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34098 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34099 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34100 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34102 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34103 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34105 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34106 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34110 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34112 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34113 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34115 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34117 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34118 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34119 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34121 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34123 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34125 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34127 * math/math.h (M_El): Use two more decimal places.
34128 (M_LOG2El): Likewise.
34129 (M_LOG10El): Likewise.
34130 (M_LN2l): Likewise.
34131 (M_LN10l): Likewise.
34133 (M_PI_2l): Likewise.
34134 (M_PI_4l): Likewise.
34135 (M_1_PIl): Likewise.
34136 (M_2_PIl): Likewise.
34137 (M_2_SQRTPIl): Likewise.
34138 (M_SQRT2l): Likewise.
34139 (M_SQRT1_2l): Likewise.
34141 2012-05-31 David S. Miller <davem@davemloft.net>
34143 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34144 values between float registers.
34145 * sysdeps/sparc/sparc64/memset.S: Likewise.
34146 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34148 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34150 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34151 -D_FORTIFY_SOURCE=1.
34152 (CPPFLAGS-tst-longjmp_chk.c): Define.
34153 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34154 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34155 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34156 CFLAGS-tst-wchar-h.c.
34158 2012-05-31 Marek Polacek <polacek@redhat.com>
34161 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34162 __endmntent_internal): Remove declaration.
34163 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34164 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34165 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34167 2012-05-30 David S. Miller <davem@davemloft.net>
34169 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34170 (___Q_simulate_exceptions): Use real FP ops rather than writing
34172 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34175 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34178 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34179 * sysdeps/x86/bits/xtitypes.h: This.
34181 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34182 * sysdeps/x86/bits/wordsize.h: This.
34184 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34185 * sysdeps/x86/bits/huge_vall.h: This.
34187 * sysdeps/i386/bits/select.h: Removed.
34188 * sysdeps/x86_64/bits/select.h: Renamed to ...
34189 * sysdeps/x86/bits/select.h: This.
34191 * sysdeps/i386/bits/setjmp.h: Removed.
34192 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34193 * sysdeps/x86/bits/setjmp.h: This.
34195 * sysdeps/i386/bits/mathdef.h: Removed.
34196 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34197 * sysdeps/x86/bits/mathdef.h: This.
34199 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34202 * include/sys/socket.h (__connect_internal)
34203 (__libc_sa_len_internal): Remove declaration.
34204 (__connect, __libc_sa_len): Declare hidden_proto.
34205 (SA_LEN): Remove use of INTUSE.
34206 * socket/connect.c: Add libc_hidden_def.
34207 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34208 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34209 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34211 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34212 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34213 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34214 of adding _internal alias.
34216 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34219 * sysdeps/i386/bits/link.h: Removed.
34220 * sysdeps/i386/bits/linkmap.h: Likewise.
34221 * sysdeps/x86_64/bits/link.h: Renamed to ...
34222 * sysdeps/x86/bits/link.h: This.
34223 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34224 * sysdeps/x86/bits/linkmap.h: This.
34226 * sysdeps/i386/bits/endian.h: Removed.
34227 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34228 * sysdeps/x86/bits/endian.h: This.
34230 * sysdeps/i386/bits/byteswap.h: Removed.
34231 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34232 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34233 * sysdeps/x86/bits/byteswap.h: This.
34234 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34235 * sysdeps/x86/bits/byteswap-16.h: This.
34236 * sysdeps/i386/Implies: Add x86.
34237 * sysdeps/x86_64/Implies: Likewise.
34239 2012-05-30 David S. Miller <davem@davemloft.net>
34241 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34242 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34243 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34244 (FP_TRAPPING_EXCEPTIONS): Define.
34245 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34246 (FP_TRAPPING_EXCEPTIONS): Define.
34247 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34248 subnormals only when inexact has been signalled or underflow
34249 exceptions are enabled.
34250 (_FP_PACK_CANONICAL): Likewise.
34252 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34255 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34256 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34258 2012-05-30 Richard Henderson <rth@twiddle.net>
34260 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34261 with #ifndef NOT_IN_libc.
34263 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34264 marked to avoid plt entry.
34266 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34269 * Makeconfig (default-abi): New macro.
34270 (abi-includes): Likewise.
34271 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34272 $(abi-$(default-abi)-lib-soname) for soname if defined.
34273 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34275 * Makefile (installed-stubs): Likewise.
34276 * include/stubs-biarch.h: Removed.
34277 * scripts/lib-names.awk: Only handle one library at a time.
34278 * scripts/soversions.awk: Remove WORDSIZE support.
34279 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34281 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34283 (syscall-list-default-condition): Likewise.
34284 (syscall-list-default-condition): Likewise.
34285 (syscall-list-includes): Likewise.
34286 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34287 syscall-list-* with abi-*. Handle undefined abi-variants.
34288 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34289 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34290 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34291 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34292 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34293 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34295 (syscall-list-32-options): Likewise.
34296 (syscall-list-32-condition): Likewise.
34297 (syscall-list-64-options): Likewise.
34298 (syscall-list-64-condition): Likewise.
34299 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34301 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34304 (abi-64-ld-soname): New macro.
34305 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34306 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34309 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34310 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34312 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34314 * sysdeps/unix/sysv/linux/kernel-features.h
34315 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34316 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34317 include <kernel-features.h>.
34318 [!__NR_ftruncate64]: Remove conditional code.
34319 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34320 [__NR_ftruncate64]: Make code unconditional.
34321 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34322 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34323 include <kernel-features.h>.
34324 [!__NR_ftruncate64]: Remove conditional code.
34325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34326 [__NR_ftruncate64]: Make code unconditional.
34327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34329 include <kernel-features.h>.
34330 [!__NR_ftruncate64]: Remove conditional code.
34331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34332 [__NR_ftruncate64]: Make code unconditional.
34333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34335 include <kernel-features.h>.
34336 [!__NR_ftruncate64]: Remove conditional code.
34337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34338 [__NR_ftruncate64]: Make code unconditional.
34339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34341 * configure.in (libc_cv_fpie): Weaken to a compile test using
34342 LIBC_TRY_CC_OPTION.
34343 * configure: Regenerated.
34345 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34360 2012-05-27 David S. Miller <davem@davemloft.net>
34362 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34364 (__Q_simulate_exceptions): Return void. Change to simulate
34365 exceptions by writing into the %fsr.
34366 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34367 (__Qp_handle_exceptions): Likewise.
34369 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34370 __Qp_handle_exceptions.
34371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34372 __Qp_handle_exceptions.
34373 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34374 as unused and give dummy FP_RND_NEAREST initializer.
34375 (FP_INHIBIT_RESULTS): Define.
34376 (___Q_simulate_exceptions): Update declaration.
34377 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34379 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34380 as unused and give dummy FP_RND_NEAREST initializer.
34381 (__Qp_handle_exceptions): Update declaration.
34382 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34385 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34387 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34388 the temporary FPU control word.
34389 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34390 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34391 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34392 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34393 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34394 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34395 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34396 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34397 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34398 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34399 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34401 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34403 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34406 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34408 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34409 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34410 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34411 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34413 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34414 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34417 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34419 * po/h.po: Update from translation team.
34421 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34423 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34425 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34426 handling of denormals.
34427 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34428 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34429 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34432 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34436 2012-05-26 Marek Polacek <polacek@redhat.com>
34439 * math/libm-test.inc (fma_test): Don't always expect underflow
34442 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34445 * elf/tst-execstack.c: Include stackinfo.h.
34446 (do_test): Adjust test case to ensure that pthread_getattr_np
34447 behaviour remains the same after marking stack executable.
34449 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34451 * sysdeps/unix/sysv/linux/kernel-features.h
34452 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34453 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34455 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34456 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34457 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34459 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34460 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34462 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34464 * configure.in: Define the default includes to being none.
34465 * configure: Regenerated.
34467 2012-05-25 Roland McGrath <roland@hack.frob.com>
34469 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34470 * sysdeps/x86_64/setjmp.S: Likewise.
34471 * sysdeps/i386/bsd-setjmp.S: Likewise.
34472 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34473 * sysdeps/i386/setjmp.S: Likewise.
34474 * sysdeps/i386/__longjmp.S: Likewise.
34475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34476 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34478 * include/stap-probe.h: New file.
34479 * configure.in: Handle --enable-systemtap.
34480 * configure: Regenerated.
34481 * config.h.in (USE_STAP_PROBE): New #undef.
34482 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34483 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34484 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34486 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34490 to 2.4.0 where earlier.
34491 * sysdeps/unix/sysv/linux/configure: Regenerated.
34492 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34493 <kernel-features.h>.
34494 [__ASSUME_32BITUIDS]: Make code unconditional.
34495 [!__ASSUME_32BITUIDS]: Remove conditional code.
34496 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34497 <kernel-features.h>.
34498 [__ASSUME_32BITUIDS]: Make code unconditional.
34499 [!__ASSUME_32BITUIDS]: Remove conditional code.
34500 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34501 [__ASSUME_32BITUIDS]: Make code unconditional.
34502 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34503 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34504 <kernel-features.h>.
34505 [__ASSUME_32BITUIDS]: Make code unconditional.
34506 [!__ASSUME_32BITUIDS]: Remove conditional code.
34507 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34508 <kernel-features.h>.
34509 [__ASSUME_32BITUIDS]: Make code unconditional.
34510 [!__ASSUME_32BITUIDS]: Remove conditional code.
34511 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34512 <kernel-features.h>.
34513 [__ASSUME_32BITUIDS]: Make code unconditional.
34514 [!__ASSUME_32BITUIDS]: Remove conditional code.
34515 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34516 <kernel-features.h>.
34517 [__ASSUME_32BITUIDS]: Make code unconditional.
34518 [!__ASSUME_32BITUIDS]: Remove conditional code.
34519 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34520 <kernel-features.h>.
34521 [__ASSUME_32BITUIDS]: Make code unconditional.
34522 [!__ASSUME_32BITUIDS]: Remove conditional code.
34523 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34524 <kernel-features.h>.
34525 [__ASSUME_32BITUIDS]: Make code unconditional.
34526 [!__ASSUME_32BITUIDS]: Remove conditional code.
34527 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34528 <kernel-features.h>.
34529 [__ASSUME_32BITUIDS]: Make code unconditional.
34530 [!__ASSUME_32BITUIDS]: Remove conditional code.
34531 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34532 <kernel-features.h>.
34533 [__ASSUME_32BITUIDS]: Make code unconditional.
34534 [!__ASSUME_32BITUIDS]: Remove conditional code.
34535 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34536 <kernel-features.h>.
34537 [__ASSUME_32BITUIDS]: Make code unconditional.
34538 [!__ASSUME_32BITUIDS]: Remove conditional code.
34539 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34540 <kernel-features.h>.
34541 [__ASSUME_32BITUIDS]: Make code unconditional.
34542 [!__ASSUME_32BITUIDS]: Remove conditional code.
34543 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34544 <kernel-features.h>.
34545 [__NR_setresgid] (__setresgid): Do not declare.
34546 [__ASSUME_32BITUIDS]: Make code unconditional.
34547 [!__ASSUME_32BITUIDS]: Remove conditional code.
34548 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34549 <kernel-features.h>.
34550 [__NR_setresuid] (__setresuid): Do not declare.
34551 [__ASSUME_32BITUIDS]: Make code unconditional.
34552 [!__ASSUME_32BITUIDS]: Remove conditional code.
34553 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34554 <kernel-features.h>.
34555 [__ASSUME_32BITUIDS]: Make code unconditional.
34556 [!__ASSUME_32BITUIDS]: Remove conditional code.
34557 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34558 <kernel-features.h>.
34559 [__ASSUME_32BITUIDS]: Make code unconditional.
34560 [!__ASSUME_32BITUIDS]: Remove conditional code.
34561 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34562 <kernel-features.h>.
34563 [__ASSUME_32BITUIDS]: Make code unconditional.
34564 [!__ASSUME_32BITUIDS]: Remove conditional code.
34565 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34566 <kernel-features.h>.
34567 [__ASSUME_32BITUIDS]: Make code unconditional.
34568 [!__ASSUME_32BITUIDS]: Remove conditional code.
34569 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34570 <kernel-features.h>.
34571 [__ASSUME_32BITUIDS]: Make code unconditional.
34572 [!__ASSUME_32BITUIDS]: Remove conditional code.
34573 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
34594 (__ASSUME_SETRESUID_SYSCALL): Remove.
34595 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34596 (__ASSUME_32BITUIDS): Likewise.
34597 (__ASSUME_LDT_WORKS): Likewise.
34598 (__ASSUME_O_DIRECTORY): Likewise.
34599 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34600 architecture but not kernel version.
34601 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34602 (__ASSUME_MMAP2_SYSCALL): Likewise.
34603 (__ASSUME_STAT64_SYSCALL): Likewise.
34604 (__ASSUME_IPC64): Likewise.
34605 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34606 <kernel-features.h>.
34607 [__ASSUME_32BITUIDS]: Make code unconditional.
34608 [!__ASSUME_32BITUIDS]: Remove conditional code.
34609 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34610 <kernel-features.h>.
34611 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34612 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34613 132096]: Remove conditional code.
34614 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34615 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34616 <kernel-features.h>.
34617 [__ASSUME_32BITUIDS]: Make code unconditional.
34618 [!__ASSUME_32BITUIDS]: Remove conditional code.
34619 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34620 <kernel-features.h>.
34621 [__ASSUME_32BITUIDS]: Make code unconditional.
34622 [!__ASSUME_32BITUIDS]: Remove conditional code.
34623 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34624 <kernel-features.h>.
34625 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34627 (__setresgid): Do not declare.
34628 [__ASSUME_32BITUIDS]: Make code unconditional.
34629 [!__ASSUME_32BITUIDS]: Remove conditional code.
34630 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34631 <kernel-features.h>.
34632 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34634 (__setresuid): Do not declare.
34635 [__ASSUME_32BITUIDS]: Make code unconditional.
34636 [!__ASSUME_32BITUIDS]: Remove conditional code.
34637 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34638 <kernel-features.h>.
34639 [__ASSUME_32BITUIDS]: Make code unconditional.
34640 [!__ASSUME_32BITUIDS]: Remove conditional code.
34641 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34642 <kernel-features.h>.
34643 [__ASSUME_32BITUIDS]: Make code unconditional.
34644 [!__ASSUME_32BITUIDS]: Remove conditional code.
34646 2012-05-25 Richard Henderson <rth@twiddle.net>
34648 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34649 dl_hwcap to ifunc resolver.
34650 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34652 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34653 dl_hwcap to ifunc resolver.
34654 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34656 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34659 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34660 for |x| <= 2**-26, not 2**-57.
34661 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34664 2012-05-24 Jeff Law <law@redhat.com>
34666 * stdio-common/Makefile (tests): Add bug25.
34667 * stdio-common/bug25.c: New test.
34669 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34672 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34673 multiple of MALLOC_ALIGNMENT in size.
34674 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34676 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34678 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34680 (FILENAME_MAX): Use macro-int-constant.
34681 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34682 (_IOFBF): Use macro-int-constant.
34683 (_IOLBF): Likewise.
34684 (_IONBF): Likewise.
34685 (SEEK_CUR): Likewise.
34686 (SEEK_END): Likewise.
34687 (SEEK_SET): Likewise.
34688 (TMP_MAX): Likewise.
34689 (EOF): Use macro-int-constant. Require < 0.
34690 (NULL): Use macro-constant. Require == 0.
34691 (stdin): Require type to be FILE *.
34692 (stdout): Likewise.
34693 (stderr): Likewise.
34694 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34695 macro-int-constant.
34696 (EXIT_SUCCESS): Likewise.
34697 (NULL): Use macro-constant. Require == 0.
34698 (RAND_MAX): Use macro-int-constant.
34699 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34700 [C99-based standards] (strtof): Require function.
34701 [C99-based standards] (strtold): Likewise.
34702 [C99-based standards] (strtoll): Likewise.
34703 [C99-based standards] (strtoull): Likewise.
34704 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34705 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34706 [ISO || ISO99 || ISO11] (math.h): Likewise.
34707 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34708 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34711 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34714 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34715 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34716 * intl/dgettext.c (DCGETTEXT): Likewise.
34717 * intl/gettext.c (DCGETTEXT): Likewise.
34718 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34719 * posix/regex_internal.h (gettext): Likewise.
34720 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34721 Remove declaration.
34722 * include/argz.h (__argz_count_internal)
34723 (__argz_stringify_internal): Remove declaration.
34724 (__argz_count, __argz_stringify): Declare hidden proto.
34725 * intl/dcgettext.c: Remove use of INTDEF.
34726 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34727 * string/argz-stringify.c: Likewise.
34728 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34729 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34730 Declare hidden proto.
34731 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34732 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34733 Declare hidden proto.
34734 * include/stdio.h (__asprintf_internal): Don't declare.
34735 (__asprintf): Don't define as macro. Declare hidden proto.
34736 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34737 (__fsetlocking): Declare hidden proto.
34738 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34739 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34741 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34742 (_IO_setlinebuf): Remove use of INTUSE.
34743 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34744 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34745 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34746 Remove declaration.
34747 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34748 (_IO_do_flush): Remove use of INTUSE.
34749 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34750 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34751 (_IO_adjust_column, _IO_least_wmarker)
34752 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34753 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34754 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34755 (_IO_default_doallocate, _IO_wdefault_doallocate)
34756 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34757 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34758 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34759 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34760 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34761 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34762 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34763 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34764 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34765 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34766 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34767 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34768 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34770 (_IO_flush_all_internal, _IO_adjust_column_internal)
34771 (_IO_default_uflow_internal, _IO_default_finish_internal)
34772 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34773 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34774 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34775 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34776 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34777 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34778 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34779 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34780 (_IO_file_close_internal, _IO_file_close_it_internal)
34781 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34782 (_IO_file_init_internal, _IO_file_attach_internal)
34783 (_IO_file_fopen_internal, _IO_file_read_internal)
34784 (_IO_file_sync_internal, _IO_file_seek_internal)
34785 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34786 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34787 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34788 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34789 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34790 (_IO_list_all_internal, _IO_link_in_internal)
34791 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34792 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34793 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34794 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34795 (_IO_do_write_internal, _IO_padn_internal)
34796 (_IO_getline_info_internal, _IO_getline_internal)
34797 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34798 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34799 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34800 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34801 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34802 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34803 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34804 with libc_hidden_ver, remove use of INTUSE.
34805 * libio/genops.c: Likewise.
34806 * libio/freopen.c: Likewise.
34807 * libio/freopen64.c: Likewise.
34808 * libio/iofclose.c: Likewise.
34809 * libio/iofdopen.c: Likewise.
34810 * libio/iofflush.c: Likewise.
34811 * libio/iofflush_u.c: Likewise.
34812 * libio/iofgets.c: Likewise.
34813 * libio/iofgets_u.c: Likewise.
34814 * libio/iofopen.c: Likewise.
34815 * libio/iofopncook.c: Likewise.
34816 * libio/iofread.c: Likewise.
34817 * libio/iofread_u.c: Likewise.
34818 * libio/ioftell.c: Likewise.
34819 * libio/iofwrite.c: Likewise.
34820 * libio/iogetline.c: Likewise.
34821 * libio/iogets.c: Likewise.
34822 * libio/iogetwline.c: Likewise.
34823 * libio/iopadn.c: Likewise.
34824 * libio/iopopen.c: Likewise.
34825 * libio/ioseekoff.c: Likewise.
34826 * libio/ioseekpos.c: Likewise.
34827 * libio/iosetbuffer.c: Likewise.
34828 * libio/iosetvbuf.c: Likewise.
34829 * libio/ioungetc.c: Likewise.
34830 * libio/ioungetwc.c: Likewise.
34831 * libio/iovdprintf.c: Likewise.
34832 * libio/iovsprintf.c: Likewise.
34833 * libio/iovsscanf.c: Likewise.
34834 * libio/memstream.c: Likewise.
34835 * libio/obprintf.c: Likewise.
34836 * libio/oldfileops.c: Likewise.
34837 * libio/oldiofclose.c: Likewise.
34838 * libio/oldiofdopen.c: Likewise.
34839 * libio/oldiofopen.c: Likewise.
34840 * libio/oldiopopen.c: Likewise.
34841 * libio/oldstdfiles.c: Likewise.
34842 * libio/putc.c: Likewise.
34843 * libio/setbuf.c: Likewise.
34844 * libio/setlinebuf.c: Likewise.
34845 * libio/stdfiles.c: Likewise.
34846 * libio/strops.c: Likewise.
34847 * libio/vasprintf.c: Likewise.
34848 * libio/vscanf.c: Likewise.
34849 * libio/vsnprintf.c: Likewise.
34850 * libio/vswprintf.c: Likewise.
34851 * libio/wfiledoalloc.c: Likewise.
34852 * libio/wfileops.c: Likewise.
34853 * libio/wgenops.c: Likewise.
34854 * libio/wmemstream.c: Likewise.
34855 * libio/wstrops.c: Likewise.
34856 * libio/__fpurge.c: Likewise.
34857 * libio/__fsetlocking.c: Likewise.
34858 * assert/assert.c: Likewise.
34859 * debug/fgets_chk.c: Likewise.
34860 * debug/fgets_u_chk.c: Likewise.
34861 * debug/fread_chk.c: Likewise.
34862 * debug/fread_u_chk.c: Likewise.
34863 * debug/gets_chk.c: Likewise.
34864 * debug/obprintf_chk.c: Likewise.
34865 * debug/vasprintf_chk.c: Likewise.
34866 * debug/vdprintf_chk.c: Likewise.
34867 * debug/vsnprintf_chk.c: Likewise.
34868 * debug/vsprintf_chk.c: Likewise.
34869 * malloc/mtrace.c: Likewise.
34870 * misc/error.c: Likewise.
34871 * misc/syslog.c: Likewise.
34872 * stdio-common/asprintf.c: Likewise.
34873 * stdio-common/fxprintf.c: Likewise.
34874 * stdio-common/getw.c: Likewise.
34875 * stdio-common/isoc99_fscanf.c: Likewise.
34876 * stdio-common/isoc99_scanf.c: Likewise.
34877 * stdio-common/isoc99_vfscanf.c: Likewise.
34878 * stdio-common/isoc99_vscanf.c: Likewise.
34879 * stdio-common/isoc99_vsscanf.c: Likewise.
34880 * stdio-common/printf-prs.c: Likewise.
34881 * stdio-common/printf_fp.c: Likewise.
34882 * stdio-common/printf_fphex.c: Likewise.
34883 * stdio-common/printf_size.c: Likewise.
34884 * stdio-common/putw.c: Likewise.
34885 * stdio-common/scanf.c: Likewise.
34886 * stdio-common/sprintf.c: Likewise.
34887 * stdio-common/tmpfile.c: Likewise.
34888 * stdio-common/vfprintf.c: Likewise.
34889 * stdio-common/vfscanf.c: Likewise.
34890 * stdlib/strfmon_l.c: Likewise.
34891 * sunrpc/openchild.c: Likewise.
34892 * sunrpc/xdr_stdio.c: Likewise.
34893 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34894 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34896 2012-05-24 Roland McGrath <roland@hack.frob.com>
34898 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34900 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34901 in the third column, to generate for the shared library an IFUNC
34902 that uses _dl_vdso_vsym.
34903 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34904 * Makeconfig (object-suffixes-noshared): New variable.
34906 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34907 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34908 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34909 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34912 * include/sys/time.h (__gettimeofday): Remove macro.
34913 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34914 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34916 (__gettimeofday): Add libc_hidden_def.
34917 (gettimeofday): Add libc_hidden_weak.
34918 * sysdeps/mach/gettimeofday.c: Likewise.
34919 * sysdeps/posix/gettimeofday.c: Likewise.
34920 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34921 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34923 (__gettimeofday_internal): Remove strong_alias.
34924 (__gettimeofday): Add libc_hidden_def.
34925 (gettimeofday): Add libc_hidden_weak.
34926 * sysdeps/unix/syscalls.list (gettimeofday):
34927 Remove __gettimeofday_internal alias.
34929 2012-05-24 Daniel Jacobowitz <drow@false.org>
34930 H.J. Lu <hongjiu.lu@intel.com>
34933 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34934 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34935 (largebin_index_32_big): New.
34936 (largebin_index): Use it for 16-byte alignment.
34937 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34938 correction with front_misalign.
34940 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34968 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34969 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34971 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34975 * math/libm-test.inc (exp_test): Add test from bug 14036.
34976 (pow_test): Add test from bug 10846.
34978 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34980 (special_function): Do not include flags in test name.
34981 (parse_args): Likewise.
34982 * sysdeps/i386/fpu/libm-test-ulps: Update.
34983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34984 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34985 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34988 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34990 * math/libm-test.inc ("Philosophy"): Update comment about
34992 (UNDERFLOW_EXCEPTION): New macro.
34993 (UNDERFLOW_EXCEPTION_OK): Likewise.
34994 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34995 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34996 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34997 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34998 (INVALID_EXCEPTION_OK): Update value.
34999 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35000 (OVERFLOW_EXCEPTION_OK): Likewise.
35001 (IGNORE_ZERO_INF_SIGN): Likewise.
35002 (test_exceptions): Handle underflow exceptions.
35003 (acos_test): Update for underflow exception expectations.
35004 (cexp_test): Likewise.
35005 (clog_test): Likewise.
35006 (clog10_test): Likewise.
35007 (csqrt_test): Likewise.
35008 (ctan_test): Likewise.
35009 (ctanh_test): Likewise.
35010 (exp_test): Likewise.
35011 (exp10_test): Likewise.
35012 (exp2_test): Likewise.
35013 (expm1_test): Likewise.
35014 (fma_test): Likewise.
35015 (j0_test): Likewise.
35016 (jn_test): Likewise.
35017 (nexttoward_test): Likewise.
35018 (pow_test): Likewise.
35019 (scalbn_test): Likewise.
35020 (scalbln_test): Likewise.
35021 (tan_test): Likewise.
35022 (y1_test): Likewise.
35023 * sysdeps/i386/fpu/libm-test-ulps: Update.
35024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35026 2012-05-23 David S. Miller <davem@davemloft.net>
35028 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35029 (__libc_sigaction): Remove unused local variables.
35031 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35033 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35035 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35037 mktime: avoid signed integer overflow
35038 * time/mktime.c (__mktime_internal): Do not mishandle the case
35039 where diff == INT_MIN.
35041 mktime: simplify computation of average
35042 * time/mktime.c (ranged_convert): Use new time_t_avg function
35043 instead of rolling our own (probably-slower) code.
35045 mktime: do not assume signed right shift propagates sign bit
35046 * time/mktime.c (isdst_differ): New static function.
35047 (__mktime_internal): No need to normalize tm_isdst now.
35048 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35051 mktime: merge another wrapv change from gnulib
35052 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35053 from some compilers.
35055 mktime: remove incorrect attempt at unusual arithmetics
35056 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35057 The code didn't really work on such machines anyway.
35058 (TYPE_MINIMUM): Assume two's complement.
35059 (twos_complement_arithmetic): Verify that long_int and time_t
35060 are two's complement (or unsigned, in the latter case).
35062 mktime: check signed shifts on long_int and time_t, too
35063 * time/mktime.c (SHR): Check that shifts work as desired
35064 on the types long_int and time_t too, as SHR is used on
35067 mktime: do not assume 'long' is wide enough
35068 * time/mktime.c (verify): Move decl up.
35069 (long_int): New type.
35070 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35071 to remove assumption in the code that 'long' is wide enough to
35072 store year values. This assumption is not true on x32 and on
35073 some non-glibc platforms.
35075 mktime: merge wrapv change from gnulib
35076 * time/mktime.c (WRAPV): New macro.
35077 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35078 (guess_time_tm, __mktime_internal): Do not assume that signed
35079 integer overflow wraps around; modern compilers generate code
35080 where this assumption is no longer valid.
35082 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35084 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35085 Replace "jmp L(pseudo_end)" with "ret".
35086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35089 2012-05-23 Andreas Jaeger <aj@suse.de>
35091 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35092 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35094 2012-05-23 Andreas Jaeger <aj@suse.de>
35095 Maximilian Attems <max@stro.at>
35097 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35100 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35102 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35103 code so that pseudo_end is just ret and the stack pointer is
35104 correct also for static library in error case.
35106 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35108 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35109 move to syscalls.list.
35110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35115 * manual/install.texi (Running make install): Do not mention Linux
35116 kernel version for which pt_chown is not needed.
35117 (Linux): Do not mention problems with nscd with 2.0 kernels.
35118 * INSTALL: Regenerated.
35120 2012-05-23 Andreas Jaeger <aj@suse.de>
35122 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35123 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35125 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35127 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35129 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35131 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35133 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35135 * sysdeps/unix/sysv/linux/bits/in.h
35136 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35138 2012-05-22 Roland McGrath <roland@hack.frob.com>
35140 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35141 (PREPARE_VERSION): Just use assert instead, it will be elided
35142 under [NDEBUG] anyway.
35144 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35146 * sysdeps/unix/sysv/linux/Makefile: Include
35147 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35148 (sysdep_routines): Remove sysctl.
35149 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35150 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35151 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35152 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35153 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35155 2012-05-22 Andreas Jaeger <aj@suse.de>
35157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35158 that pseudo_end is just ret and the stack pointer is correct also
35159 for static library in error case.
35161 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35164 * nss/nsswitch.c (defconfig_entries): New variable.
35165 (__nss_database_lookup): Don't leak defconfig entries.
35166 (nss_parse_service_list): Don't leak on error paths.
35167 (free_database_entries): New function.
35168 (free_defconfig): New function.
35169 (free_mem): Move common code to free_database_entries.
35171 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35173 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35175 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35177 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35178 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35181 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35182 (INTERNAL_SYSCALL_TYPES): Likewise.
35183 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35184 (LOAD_REGS_TYPES_[1-6]): Likewise.
35185 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35186 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35188 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35190 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35191 copysignl for GLIBC_2_0.
35192 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35193 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35195 logbl for GLIBC_2_0.
35196 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35197 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35199 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35204 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35207 * time/mktime.c: Update copyright years.
35209 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35211 mktime: merge comment-quoting-style change from gnulib
35212 * time/mktime.c: Quote 'like this' in comments.
35213 The GNU coding standards suggest that we no longer quote `like this',
35214 as "`" and "'" are typically rendered asymmetrically nowadays.
35215 The typical gnulib style is to quote 'like this' when quoting
35216 code, and "like this" when quoting English.
35218 * time/mktime.c (compile-command): Add "-I.".
35220 mktime: merge mktime-internal.h change from gnulib
35221 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35223 mktime: merge time_r change from gnulib
35224 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35226 mktime: merge DEBUG change from gnulib
35227 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35228 case system <time.h> has a #define.
35230 mktime: merge <sys/types.h> change from gnulib
35231 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35232 since <time.t> is now guaranteed to define time_t.
35234 mktime: merge HAVE_CONFIG_H change from gnulib
35235 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35237 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35242 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35244 (struct rusage): Use anonymous union to pad each field to
35247 2012-05-21 David S. Miller <davem@davemloft.net>
35249 * Makefules (o-iterator): Remove .s cases.
35250 (compile-command.s): Delete.
35251 (COMPILE.s): Delete.
35252 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35254 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35256 * configure.in (libc_cv_predef_stack_protector): Only consider
35257 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35258 * configure: Regenerated.
35260 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35263 New macro. Use R*LP on int and pointer.
35264 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35265 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35266 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35267 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35269 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35270 [__WORDSIZE_TIME64_COMPAT32] instead of
35271 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35272 (struct utmp): Likewise.
35273 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35274 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35276 (__WORDSIZE_TIME64_COMPAT32): This.
35277 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35278 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35279 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35280 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35281 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35282 (__WORDSIZE_TIME64_COMPAT32): New macro.
35284 2012-05-21 Andreas Jaeger <aj@suse.de>
35286 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35287 only if [SHARED]. Add prototype for __wcschr_ia32.
35289 2012-05-21 Roland McGrath <roland@hack.frob.com>
35291 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35292 of %rbp unmolested in the jmp_buf while mangling the low bits.
35293 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35294 unmolested high bits of %rbp while demangling the low bits.
35295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35297 2012-05-21 Andreas Jaeger <aj@suse.de>
35299 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35300 * sunrpc/svc_simple.c: Use it for registerrpc.
35301 * sunrpc/xcrypt.c: Use it for passwd2des.
35303 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35305 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35307 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35308 Don't define if [__SYSCALL_WORDSIZE != 32].
35309 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35312 2012-05-21 Bruno Haible <bruno@clisp.org>
35313 Andreas Jaeger <aj@suse.de>
35315 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35316 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35317 inptr and inend for must_buffer_ch.
35318 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35319 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35320 * stdio-common/Makefile (tests): Remove bug15.
35321 (bug15-ENV): Remove macro.
35322 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35325 2012-05-19 Andreas Jaeger <aj@suse.de>
35326 Roland McGrath <roland@hack.frob.com>
35328 * manual/contrib.texi: Completely rewritten. It contains now an
35329 alphabetical list of contributors and their contributions.
35331 2012-05-21 Richard Henderson <rth@twiddle.net>
35333 * misc/getauxval.c (__getauxval): Use unsigned long int.
35334 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35335 (getauxval): Use unsigned long int.
35337 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35339 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35341 2012-05-21 Roland McGrath <roland@hack.frob.com>
35343 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35344 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35345 __alignof__ (long double).
35347 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35351 2012-05-20 Richard Henderson <rth@twiddle.net>
35353 * misc/getauxval.c: New file.
35354 * misc/sys/auxv.h: New file.
35355 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35356 (routines): Add getauxval.
35357 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35358 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35359 * elf/dl-sysdep.c (_dl_auxv): Remove.
35360 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35361 * elf/dl-support.c (_dl_auxv): New variable.
35362 (_dl_aux_init): Initialize it.
35363 * manual/startup.texi (Auxiliary Vector): New node.
35364 * sysdeps/generic/bits/hwcap.h: New file.
35365 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35366 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35367 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35368 * sysdeps/sparc/sysdep.h: ... here. Include it.
35369 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35382 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35386 2012-05-19 David S. Miller <davem@davemloft.net>
35388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35390 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35393 * math/s_ccosh.c: Include <float.h>
35394 (__ccosh): Avoid internal overflow calculating sinh and cosh
35395 values before multiplying by sin and cos values.
35396 * math/s_ccoshf.c: Likewise.
35397 * math/s_ccoshl.c: Likewise.
35398 * math/s_csin.c: Likewise.
35399 * math/s_csinf.c: Likewise.
35400 * math/s_csinl.c: Likewise.
35401 * math/s_csinh.c: Likewise.
35402 * math/s_csinhf.c: Likewise.
35403 * math/s_csinhl.c: Likewise.
35404 * math/libm-test.inc (ccos_test): Add more tests.
35405 (ccosh_test): Likewise.
35406 (csin_test): Likewise.
35407 (csinh_test): Likewise.
35408 * sysdeps/i386/fpu/libm-test-ulps: Update.
35409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35411 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35413 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35414 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35416 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35418 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35420 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35421 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35422 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35423 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35424 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35425 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35426 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35427 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35428 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35429 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35430 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35431 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35432 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35433 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35434 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35435 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35436 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35437 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35438 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35439 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35440 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35441 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35442 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35443 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35444 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35445 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35446 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35447 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35448 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35449 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35450 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35452 2012-05-18 Andreas Jaeger <aj@suse.de>
35454 * csu/.gitignore: Delete.
35456 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35458 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35459 (timex): Use __syscall_slong_t.
35461 2012-05-18 Andreas Jaeger <aj@suse.de>
35462 Carlos O'Donell <carlos_odonell@mentor.com>
35464 * manual/install.texi (Configuring and compiling): Update
35465 description about files modified in the source directory.
35466 * INSTALL: Regenerated.
35468 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35470 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35471 value. Use "or" to set return value to -1.
35472 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35473 negate return value.
35475 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35477 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35478 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35479 failure if the compiler has Graphite support disabled.
35480 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35482 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35483 (CFLAGS-memmove.c): Likewise.
35484 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35487 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35489 * sysdeps/x86_64/x32/_itoa.h: New file.
35491 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35492 getdents system call only if kernel and user dirents have the
35493 same d_ino and d_off.
35495 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35496 LLONG_MAX != LONG_MAX.
35497 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35498 (_fitoa_word): Likewise.
35500 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35502 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35503 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35504 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35506 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35507 include <bits/wordsize.h>. Check __x86_64__ instead of
35509 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35510 if __x86_64__ is defined. Use anonymous union on fpstate.
35512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35515 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35517 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35518 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35519 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35520 Refer to _rtld_local_ro instead of _rtld_global_ro.
35521 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35523 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35525 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35527 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35528 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35529 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35531 * sysdeps/powerpc/powerpc32/dl-machine.c
35532 (__elf_machine_runtime_setup) [PROF]: Don't reference
35535 2012-05-18 Andreas Jaeger <aj@suse.de>
35537 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35538 function only available for GCCs before 3.4 since GCC 3.4
35539 introduced a builtin.
35541 (llrintf): Likewise.
35542 (llrint): Likewise.
35549 (nearbyint): Likewise.
35550 (nearbyintf): Likewise.
35554 (floorf): Likewise.
35556 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35558 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35559 on both fields and cast pointer to __syscall_ulong_t.
35561 * bits/types.h (__fsword_t): New type.
35562 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35563 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35565 (__FSWORD_T_TYPE): Likewise.
35566 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35567 (__FSWORD_T_TYPE): Likewise.
35568 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35569 (__FSWORD_T_TYPE): Likewise.
35570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35571 (__FSWORD_T_TYPE): Likewise.
35572 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35573 __SWORD_TYPE with __fsword_t.
35574 (statfs64): Likewise.
35576 2012-05-17 David S. Miller <davem@davemloft.net>
35578 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35580 2012-05-17 Andreas Jaeger <aj@suse.de>
35582 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35585 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35587 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35589 2012-05-17 Andreas Jaeger <aj@suse.de>
35591 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35594 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35596 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35598 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35600 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35601 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35603 2012-05-17 Andreas Jaeger <aj@suse.de>
35604 Carlos O'Donell <carlos_odonell@mentor.com>
35607 * sysdeps/x86_64/multiarch/init-arch.h
35608 (bit_YMM_Usable): Rename to...
35609 (bit_AVX_Usable): ... this.
35610 (bit_FMA4_Usable): New macro.
35611 (bit_XMM_state): New macro.
35612 (bit_YMM_state): New macro.
35613 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35614 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35615 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35616 (CPUID_OSXSAVE): New macro.
35617 (CPUID_AVX): New macro.
35618 (CPUID_FMA4): New macro.
35619 (index_YMM_Usable): Rename to...
35620 (index_AVX_Usable): ... this.
35621 (HAS_AVX): Use HAS_ARCH_FEATURE.
35622 (HAS_FMA4): Likewise.
35623 (HAS_YMM_USABLE): Remove.
35624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35625 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35627 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35628 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35629 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35630 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35631 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35633 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35635 * math/libm-test.c: Support platforms without multiple rounding modes.
35636 * math/bug-nextafter.c: Support platforms without FP exceptions.
35637 * math/bug-nexttoward.c: Likewise.
35638 * math/test-fenv.c: Likewise.
35639 * math/test-misc.c: Likewise.
35640 * stdlib/bug-getcontext.c: Likewise.
35642 2012-05-17 Andreas Jaeger <aj@suse.de>
35644 * manual/examples/search.c (critter_cmp): Change signature to
35646 * manual/string.texi (Collation Functions): Likewise.
35648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35650 * bits/types.h: Fold copyright years.
35651 * bits/typesizes.h: Likewise.
35652 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35656 * time/time.h: Likewise.
35658 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35661 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35662 in instead of returning them. Return void.
35663 (__libc_mallinfo): Accumulate over all arenas.
35664 (__malloc_stats): Adjust for change in int_mallinfo interface.
35666 2012-05-16 Roland McGrath <roland@hack.frob.com>
35669 * configure.in (NM): Add AC_CHECK_TOOL for it.
35670 (libc_extra_cflags): New substituted variable.
35671 Check for -fstack-protector being used implicitly.
35672 * configure: Regenerated.
35673 * config.make.in (config-extra-cflags): New variable,
35674 gets @libc_extra_cflags@.
35675 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35678 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35679 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35680 * configure: Regenerated.
35681 * config.make.in (CPPUNDEFS): New substituted variable.
35682 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35683 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35684 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35686 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35688 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35689 (mq_attr): Use __syscall_slong_t.
35691 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35693 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35694 Check __x86_64__ instead of __WORDSIZE.
35695 (_STAT_VER_LINUX): Likewise.
35696 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35697 __syscall_ulong_t and __syscall_slong_t.
35698 (stat64): Likewise.
35700 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35702 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35704 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35706 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35710 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35713 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35714 include <bits/wordsize.h>. Check __x86_64__ instead of
35716 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35718 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35720 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35721 include <bits/wordsize.h>. Check __x86_64__ instead of
35723 (user_regs_struct): Use "__extension__ unsigned long long"
35724 instead of "unsigned long" if __x86_64__ is defined.
35725 (user): Likewise. Pad after pointer field if __ILP32__ is
35728 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35730 * configure.in (makeinfo): Require version 4.5 or later. Allow
35732 * configure: Regenerated.
35733 * manual/install.texi (texinfo): Increase version requirement to
35735 * INSTALL: Regenerated.
35737 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35739 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35741 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35743 * sysdeps/x86_64/x32/ffs.c: New file.
35745 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35747 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35748 defined. Use __syscall_ulong_t.
35749 (shminfo): Use __syscall_ulong_t.
35750 (shm_info): Likewise.
35752 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35755 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35757 (msgqnum_t): Use __syscall_ulong_t.
35758 (msglen_t): Likewise.
35759 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35762 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35763 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35765 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35767 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35768 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35770 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35773 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35774 include <bits/wordsize.h>. Check __x86_64__ instead of
35777 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35778 "unsigned long long int" if __x86_64__ is defined.
35779 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35781 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35782 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35783 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35785 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35787 (GET_PC): Cast to uintptr_t first.
35788 (GET_FRAME): Likewise.
35789 (GET_STACK): Likewise.
35791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35793 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35794 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35795 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35796 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35797 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35798 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35799 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35800 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35801 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35802 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35803 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35804 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35805 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35806 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35808 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35810 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35812 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35813 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35814 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35815 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35816 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35818 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35819 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35821 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35823 * Makerules (+depfiles): Also collect depfiles from .oS in
35825 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35826 .oS, $(libnldbl-routines)).
35828 * Makerules (native-compile-mkdep-flags): Define.
35829 * sunrpc/Makefile (extra-objs): Add $(addprefix
35830 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35831 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35832 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35833 calling $(make-target-directory).
35835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35837 * bits/types.h (__snseconds_t): Removed.
35838 * time/time.h (struct timespec): Replace __snseconds_t with
35840 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35841 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35844 (__SNSECONDS_T_TYPE): Likewise.
35845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35846 (__SNSECONDS_T_TYPE): Likewise.
35847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35848 (__SNSECONDS_T_TYPE): Likewise.
35850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35852 * sysdeps/mach/hurd/bits/typesizes.h
35853 (__SYSCALL_SLONG_TYPE): New macro.
35854 (__SYSCALL_ULONG_TYPE): Likewise.
35856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35858 * bits/types.h (__syscall_slong_t): New type.
35859 (__syscall_ulong_t): Likewise.
35861 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35862 (__SYSCALL_ULONG_TYPE): Likewise.
35863 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35864 (__SYSCALL_SLONG_TYPE): Likewise.
35865 (__SYSCALL_ULONG_TYPE): Likewise.
35866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35867 (__SYSCALL_SLONG_TYPE): Likewise.
35868 (__SYSCALL_ULONG_TYPE): Likewise.
35869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35870 (__SYSCALL_SLONG_TYPE): Likewise.
35871 (__SYSCALL_ULONG_TYPE): Likewise.
35873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35875 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35876 Add sigaltstack-offsets.sym.
35877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35878 <sigaltstack-offsets.h>.
35879 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35880 longjmp_msg pointer.
35881 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35882 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35884 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35886 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35888 * elf/stackguard-macros.h: Remove file.
35889 * sysdeps/generic/stackguard-macros.h: New file.
35890 * sysdeps/i386/stackguard-macros.h: Likewise.
35891 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35892 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35893 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35894 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35895 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35896 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35897 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35898 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35899 <elf/stackguard-macros.h>.
35902 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35903 __aligned__ in attribute.
35904 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35905 (gregset_t): Likewise.
35907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35909 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35910 * sysdeps/x86_64/64/Implies-after: Here. New file.
35911 * sysdeps/x86_64/x32/Implies-after: New file.
35913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35915 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35916 and access return value for _dl_profile_fixup. Use R10_LP to
35919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35921 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35925 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35926 * sysdeps/x86_64/x32/sysdep.h: New file.
35928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35930 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35931 * sysdeps/x86_64/setjmp.S: Likewise.
35933 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35935 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35937 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35938 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35939 remove unused global constant.
35941 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35943 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35944 include of <not-cancel.h>.
35946 2012-05-15 Roland McGrath <roland@hack.frob.com>
35948 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35950 2012-05-15 Jeff Law <law@redhat.com>
35951 Andreas Jaeger <aj@suse.de>
35954 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35956 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35957 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35958 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35959 code changing __hst_map_handle.map.
35961 2012-05-15 Roland McGrath <roland@hack.frob.com>
35963 * configure.in (sysnames): Look for Implies-before and Implies-after
35965 * configure: Regenerated.
35967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35969 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35970 8-byte data alignment with LP_SIZE alignment.
35972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35974 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35979 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35983 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35984 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35991 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35992 (stackinfo_sub_sp): Likewise.
35994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36006 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36011 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36015 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36016 into R11_LP and load __x86_64_shared_cache_size_half into
36019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36021 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36024 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36033 powerpc32/power7/fpu/s_logb.c via #include.
36034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36035 powerpc32/power7/fpu/s_logbf.c via #include.
36036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36037 powerpc32/power7/fpu/s_logbl.c via #include.
36039 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36041 * README.libm: Remove file.
36043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36045 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36046 count for x32. Use R*_LP and omit operand-size suffix.
36048 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36050 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36051 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36052 * sysdeps/x86_64/x32/shlib-versions: New file.
36054 2012-05-14 Roland McGrath <roland@hack.frob.com>
36056 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36057 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36058 Use _dl_fatal_printf instead.
36060 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36062 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36063 set if not set by the user. Do not allow for being unset.
36064 * sysdeps/unix/sysv/linux/configure: Regenerated.
36066 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36068 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36069 the `q' suffix from lea and replace .quad with ASM_ADDR.
36071 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36074 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36076 (PTR_DEMANGLE): Likewise.
36078 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36080 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36082 (ASM_ADDR): Likewise.
36083 (RAX_LP): Likewise.
36084 (RBP_LP): Likewise.
36085 (RBX_LP): Likewise.
36086 (RCX_LP): Likewise.
36087 (RDI_LP): Likewise.
36088 (RSI_LP): Likewise.
36089 (RSP_LP): Likewise.
36092 (R10_LP): Likewise.
36093 (R10_LP): Likewise.
36094 (R11_LP): Likewise.
36095 (R12_LP): Likewise.
36096 (R13_LP): Likewise.
36097 (R14_LP): Likewise.
36098 (R15_LP): Likewise.
36100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36102 * sysdeps/x86_64/x32/dl-machine.h: New file.
36104 2012-05-14 Andreas Jaeger <aj@suse.de>
36106 * manual/Makefile (subdir): Remove export of subdir.
36107 (all): Remove target.
36108 (.PHONY): Remove all from list.
36109 (mkinstalldirs): Remove.
36110 (.PHONY): Remove installdirs from list.
36111 ($(inst_infodir)/libc.info): Use make-target-directory.
36112 (installdirs): Remove.
36113 (subdir_%): Remove.
36114 (glibc-targets): Remove.
36117 ($(objpfx)stubs ../po/manual.pot): Remove.
36118 ($(objpfx)stamp%): Remove.
36119 (make-target-directory): Remove.
36120 (subdir_install): Remove.
36121 (routines): Remove.
36128 * manual/.gitignore: Remove, it's not needed anymore.
36129 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36131 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36133 (texis): Renamed to $(objpfx)texis.
36134 (texis-path): New, contains path to generated files.
36135 (chapters.%): Use texis-path for complete path, add extra argument
36137 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36138 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36139 (summary,texi, stamp-summary): Use complete path of
36140 files. Generate files in build dir.
36141 (dir-add.texi): Build in build dir.
36142 (libm-err.texi,stamp-libm-err): Likewise.
36143 (version.texi, stamp-version): Likewise.
36144 (.%c.texi): Likewise.
36145 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36146 (mostlyclean): Remove target.
36147 (realclean): Remove target.
36148 (generated): Add new variable with contents from mostlyclean and
36149 realclean, remove entries duplicated in common-mostlyclean, add
36150 stamp-libm-err and stamp-version.
36151 (generated-dirs): Add libc directory.
36152 ($(inst_infodir)/libc.info): Install files from build dir.
36154 * manual/install.texi (Configuring and compiling): Adjust since
36155 the info files are not part of the tar ball anymore.
36157 2012-05-14 Andreas Jaeger <aj@suse.de>
36159 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36162 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36166 to 2.2.0 where earlier.
36167 * sysdeps/unix/sysv/linux/configure: Regenerated.
36168 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36169 Remove conditional code.
36170 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36171 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36172 Remove conditional code.
36173 [!__NR_lchown]: Likewise.
36174 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36175 [__NR_lchown]: Likewise.
36176 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36177 comment referencing __ASSUME_LCHOWN_SYSCALL.
36178 * sysdeps/unix/sysv/linux/i386/sigaction.c
36179 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36180 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36181 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36182 Remove conditional code.
36183 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36184 (__protocol_available): Remove #if 0 code.
36185 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36187 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36188 * sysdeps/unix/sysv/linux/kernel-features.h
36189 (__ASSUME_GETCWD_SYSCALL): Don't define.
36190 (__ASSUME_REALTIME_SIGNALS): Likewise.
36191 (__ASSUME_PREAD_SYSCALL): Likewise.
36192 (__ASSUME_PWRITE_SYSCALL): Likewise.
36193 (__ASSUME_POLL_SYSCALL): Likewise.
36194 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36195 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36197 (__ASSUME_SIOCGIFNAME): Don't define.
36198 (__ASSUME_MSG_NOSIGNAL): Likewise.
36199 (__ASSUME_SENDFILE): Define unconditionally.
36200 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36201 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36203 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36204 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36205 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36206 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36207 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36208 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36209 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36211 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36214 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36223 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36226 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36232 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36234 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36235 Remove conditional code.
36236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36237 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36238 Remove conditional code.
36239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36240 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36241 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36242 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36243 Remove conditional code.
36244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36245 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36246 Remove conditional code.
36247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36248 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36249 Remove conditional code.
36250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36251 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36252 Remove conditional code.
36253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36254 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36255 Remove conditional code.
36256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36257 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36260 * sysdeps/unix/sysv/linux/sigaction.c
36261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36263 * sysdeps/unix/sysv/linux/sigpending.c
36264 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36265 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36266 * sysdeps/unix/sysv/linux/sigprocmask.c
36267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36269 * sysdeps/unix/sysv/linux/sigsuspend.c
36270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36272 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36273 (__libc_missing_rt_sigs): Remove.
36274 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36275 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36276 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36277 Remove conditional code.
36278 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36279 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36281 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36282 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36283 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36284 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36286 2012-05-14 Andreas Jaeger <aj@suse.de>
36288 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36289 it's not used in glibc.
36290 (__coshm1): Likewise.
36291 (__acosh1p): Likewise.
36294 * manual/string.texi (Copying and Concatenation): Add missing
36295 variable in concat example.
36296 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36298 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36302 __builtin_clzl with __builtin_clzll.
36304 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36307 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36310 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36312 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36313 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36314 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36315 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36317 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36319 * NEWS: Update ia64 info.
36321 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36323 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36326 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36328 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36329 * sysdeps/unix/syscalls.list (dup3): Likewise.
36330 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36331 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36333 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36335 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36336 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36338 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36340 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36342 (TLS_IE): Use mov/add instead of movq/addq to load thread
36344 (TLS_GD_PREFIX): New.
36347 2012-05-11 David S. Miller <davem@davemloft.net>
36349 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36350 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36351 (_FPU_SETCW): Likewise.
36353 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36355 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36356 is 32-byte aligned.
36358 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36361 * iconvdata/gb18030.c: Update tables.
36362 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36363 characters specially.
36364 (BODY for TO_LOOP): Add encoding of missing ranges.
36366 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36369 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36370 * sysdeps/mach/hurd/dup3.c: Likewise.
36371 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36372 * sysdeps/powerpc/memmove.c:: Likewise.
36374 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36377 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36379 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36381 * elf/elf.h (R_X86_64_RELATIVE64): New.
36382 (R_X86_64_NUM): Updated.
36383 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36384 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36385 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36386 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36387 tst-quad1pie tst-quad2pie
36388 (modules-names): Add tst-quadmod1 tst-quadmod2.
36389 ($(objpfx)tst-quad1): New dependency.
36390 ($(objpfx)tst-quad2): Likewise.
36391 ($(objpfx)tst-quad1pie): Likewise.
36392 ($(objpfx)tst-quad2pie): Likewise.
36393 * sysdeps/x86_64/tst-quad1.c: New file.
36394 * sysdeps/x86_64/tst-quad1pie.c: New file.
36395 * sysdeps/x86_64/tst-quad2.c: Likewise.
36396 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36397 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36398 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36399 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36400 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36404 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36405 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36406 * streams/stropts.h (t_scalar_t): Define type.
36408 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36409 (_PATH_PRESERVE): Set to "/var/lib".
36410 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36412 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36415 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36416 if __dir_mkfile succeeded.
36418 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36419 checking for _hurd_dtablesize. Unlock it right after having
36420 finished _hurd_dtable allocation.
36422 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36424 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36425 * sysdeps/mach/hurd/configure: Regenerated.
36426 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36427 special-casing to...
36428 * sysdeps/gnu/configure.in: ... this new file.
36429 * sysdeps/unix/sysv/linux/configure: Regenerated.
36430 * sysdeps/gnu/configure: New generated file.
36432 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36433 for Linux: use nsec instead of usec, as well as:
36434 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36435 members of type struct timespec.
36436 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36438 (struct stat64): Likewise.
36439 (_STATBUF_ST_NSEC): New macro.
36440 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36442 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36443 __strtoul_internal rather than strtoul.
36445 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36447 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36452 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36453 which preserves existing values.
36454 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36456 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36458 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36459 TIMEOUT values. Return EINVAL for NFDS values either negative or
36460 greater than FD_SETSIZE.
36462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36464 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36465 allocated, call __vm_protect to finish enabling the existing space, and
36466 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36467 allocate the remainder.
36469 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36471 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36472 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36474 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36476 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36477 sysdeps/mach/hurd/readlink.c.
36479 * posix/tst-sysconf.c (posix_options): Only use
36480 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36481 _POSIX_SYNCHRONIZED_IO when they are defined
36482 * sysdeps/mach/hurd/bits/posix_opt.h:
36483 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36484 (_XOPEN_REALTIME): Undefine macro.
36485 (_XOPEN_REALTIME_THREADS): Undefine macro.
36486 (_XOPEN_SHM): Undefine macro.
36487 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36489 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36491 (_POSIX_ASYNC_IO): Undefine macro.
36492 (_POSIX_PRIORITIZED_IO): Undefine macro.
36493 (_POSIX_SPIN_LOCKS): Define macro to -1.
36495 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36496 SA_NODEFER, SA_RESETHAND.
36497 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36498 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36501 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36503 * elf/Makefile (pldd-modules): Define unconditionally.
36505 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36507 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36509 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36511 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36512 Return ENOENT when name is empty.
36513 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36515 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36517 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36519 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36523 Fix mlock in all cases except non-readable pages.
36524 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36525 instead of VM_PROT_ALL as parameter to __vm_wire function.
36527 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36528 (__mkdir): When path is `/', just fail with EEXIST.
36529 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36531 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36533 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36534 <sys/uio.h> (for writev).
36535 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36536 and <sys/param.h> (for MIN).
36538 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36540 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36541 REQUESTED_TIME. Properly set the remaining time and return EINTR
36544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36546 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36547 Depend on against $(link-rpcuserlibs).
36549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36551 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36552 (__libc_stack_end): Do not use attribute_relro.
36553 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36554 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36555 to libthread-provided value.
36556 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36562 * bits/libc-lock.h (__libc_once_get): New macro.
36563 * sysdeps/mach/bits/libc-lock.h: Likewise.
36564 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36566 instead of using implementation details.
36568 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36569 * libio/freopen.c: Likewise.
36570 * libio/freopen64.c: Likewise.
36571 * misc/syslog.c: Likewise.
36572 * nscd/connections.c: Likewise.
36573 * nscd/netgroupcache.c: Likewise.
36574 * sysdeps/posix/getcwd.c: Likewise.
36576 2012-05-10 Roland McGrath <roland@hack.frob.com>
36578 * math/w_ilogbf.c: Add #include <limits.h>.
36580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36582 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36583 path instead of returning without unlocking.
36585 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36586 immediate-write ioctls.
36587 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36591 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36592 __builtin_frame_address instead of making assumptions about the
36593 location of the return address relative to DATA. Force early load of
36594 the return address.
36595 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36596 __builtin_frame_address.
36599 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36600 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36601 implement dup3 and do some further code clean-ups.
36602 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36603 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36607 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36609 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36610 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36611 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36612 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36613 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36616 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36617 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36618 when handler == SIG_ERR, not when handler != SIG_ERR.
36620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36622 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36623 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36626 accept4 for GNU Hurd.
36627 * include/sys/socket.h (__libc_accept4): New prototype.
36628 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36629 to implement __libc_accept4.
36630 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36632 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36634 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36635 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36636 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36637 signal-defines.sym.
36639 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36641 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36645 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36646 assertion on O_CLOEXEC flag.
36647 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36648 * hurd/intern-fd.c: Likewise.
36649 * hurd/port2fd.c: Likewise.
36651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36654 * bits/in.h (IPV6_PKTINFO): Define new macro.
36655 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36657 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36662 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36664 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36665 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36667 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36668 * math/libm-test.inc (logb_test) : Additional logb tests.
36670 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36671 Andreas Jaeger <aj@suse.de>
36673 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36674 * configure: Regenerated.
36675 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36676 * config.make.in (link-obsolete-rpc): New substituted variable.
36677 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36678 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36679 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36680 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36681 so that libc.a contains the symbols.
36682 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36683 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36684 * sunrpc/auth_none.c: Likewise.
36685 * sunrpc/auth_unix.c: Likewise.
36686 * sunrpc/authdes_prot.c: Likewise.
36687 * sunrpc/authuxprot.c: Likewise.
36688 * sunrpc/clnt_gen.c: Likewise.
36689 * sunrpc/clnt_perr.c: Likewise.
36690 * sunrpc/clnt_raw.c: Likewise.
36691 * sunrpc/clnt_simp.c: Likewise.
36692 * sunrpc/clnt_tcp.c: Likewise.
36693 * sunrpc/clnt_udp.c: Likewise.
36694 * sunrpc/clnt_unix.c: Likewise.
36695 * sunrpc/des_crypt.c: Likewise.
36696 * sunrpc/des_soft.c: Likewise.
36697 * sunrpc/get_myaddr.c: Likewise.
36698 * sunrpc/key_call.c: Likewise.
36699 * sunrpc/key_prot.c: Likewise.
36700 * sunrpc/netname.c: Likewise.
36701 * sunrpc/pm_getmaps.c: Likewise.
36702 * sunrpc/pm_getport.c: Likewise.
36703 * sunrpc/pmap_clnt.c: Likewise.
36704 * sunrpc/pmap_prot.c: Likewise.
36705 * sunrpc/pmap_prot2.c: Likewise.
36706 * sunrpc/pmap_rmt.c: Likewise.
36707 * sunrpc/publickey.c: Likewise.
36708 * sunrpc/rpc_cmsg.c: Likewise.
36709 * sunrpc/rpc_common.c: Likewise.
36710 * sunrpc/rpc_dtable.c: Likewise.
36711 * sunrpc/rpc_prot.c: Likewise.
36712 * sunrpc/rpc_thread.c: Likewise.
36713 * sunrpc/rtime.c: Likewise.
36714 * sunrpc/svc.c: Likewise.
36715 * sunrpc/svc_auth.c: Likewise.
36716 * sunrpc/svc_raw.c: Likewise.
36717 * sunrpc/svc_run.c: Likewise.
36718 * sunrpc/svc_tcp.c: Likewise.
36719 * sunrpc/svc_udp.c: Likewise.
36720 * sunrpc/svc_unix.c: Likewise.
36721 * sunrpc/svcauth_des.c: Likewise.
36722 * sunrpc/xcrypt.c: Likewise.
36723 * sunrpc/xdr.c: Likewise.
36724 * sunrpc/xdr_array.c: Likewise.
36725 * sunrpc/xdr_float.c: Likewise.
36726 * sunrpc/xdr_intXX_t.c: Likewise.
36727 * sunrpc/xdr_mem.c: Likewise.
36728 * sunrpc/xdr_rec.c: Likewise.
36729 * sunrpc/xdr_ref.c: Likewise.
36730 * sunrpc/xdr_sizeof.c: Likewise.
36731 * sunrpc/xdr_stdio.c: Likewise.
36733 2012-05-10 Roland McGrath <roland@hack.frob.com>
36735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36736 change. Update copyright years.
36738 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36740 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36742 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36743 Joseph Myers <joseph@codesourcery.com>
36744 Paul Pluzhnikov <ppluzhnikov@google.com>
36747 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36749 [cross-compiling] (extra-libs): Likewise.
36750 [cross-compiling] (extra-libs-others): Likewise.
36751 [cross-compiling] (librpcsvc-routines): Likewise.
36752 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36753 [cross-compiling] (omit-deps): Likewise.
36754 (sunrpc-CPPFLAGS): New variable.
36755 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36756 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36757 (cross-rpcgen-objs): New variable.
36758 (extra-objs): Append $(cross-rpcgen-objs).
36759 ($(cross-rpcgen-objs)): New rule.
36760 ($(objpfx)cross-rpcgen): Likewise.
36761 (rpcgen-cmd): Define to use $(built-program-file). Expand
36763 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36764 ($(objpfx)x%.stmp): Likewise.
36765 * sunrpc/proto.h [IS_IN_build] (_): Define.
36766 [IS_IN_build] (_libc_intl_domainname): Likewise.
36768 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36771 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36772 and R_X86_64_TPOFF64.
36774 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36776 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36777 sysdeps/unix/sysv/syscalls.list.
36780 * sysdeps/unix/sysv/syscalls.list: Remove file.
36782 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36785 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36786 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36787 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36788 (__LC_IDENTIFICATION): Make these macros useful in #if
36789 expressions, as required by C99.
36791 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36793 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36794 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36797 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36799 * stdlib/longlong.h: Updated from GCC.
36801 2012-05-09 Andreas Jaeger <aj@suse.de>
36803 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36804 default is first entry.
36805 (run_mode): Set type.
36806 (main): Remove informal message about syslog.
36807 (options): Fix typo.
36810 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36813 (llrintf): Likewise.
36814 (llrint): Likewise.
36817 (nearbyint): Likewise.
36818 (nearbyintf): Likewise.
36820 2012-05-09 Andreas Jaeger <aj@suse.de>
36821 Pedro Alves <palves@redhat.com>
36823 * nscd/nscd.c (run_mode): Use enum.
36824 (main): Cleanup coding style issue.
36826 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36827 Andreas Jaeger <aj@suse.de>
36829 * nscd/nscd.c (go_background): Replaced with...
36830 (run_mode): ... this.
36831 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36832 (options): Add -F --foreground.
36833 (main): Implement it.
36834 (parse_opt): Parse it.
36836 2012-05-09 Andreas Jaeger <aj@suse.de>
36839 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36840 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36841 -Wconversion warning.
36842 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36845 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36847 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36849 (LC_ALL): Use macro-int-constant.
36850 (LC_COLLATE): Likewise.
36851 (LC_CTYPE): Likewise.
36852 (LC_MESSAGES): Likewise.
36853 (LC_MONETARY): Likewise.
36854 (LC_NUMERIC): Likewise.
36855 (LC_TIME): Likewise.
36856 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36857 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36859 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36861 [C99-based standards] (float_t): Expect type.
36862 [C99-based standards] (double_t): Expect type.
36863 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36865 [C99-based standards] (HUGE_VALL): Likewise.
36866 [C99-based standards] (INFINITY): Likewise.
36867 [C99-based standards] (NAN): Likewise.
36868 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36869 [C99-based standards] (FP_NAN): Likewise.
36870 [C99-based standards] (FP_NORMAL): Likewise.
36871 [C99-based standards] (FP_SUBNORMAL): Likewise.
36872 [C99-based standards] (FP_ZERO): Likewise.
36873 [C99-based standards] (FP_FAST_FMA): Use
36874 optional-macro-int-constant. Specify type. Require == 1.
36875 [C99-based standards] (FP_FAST_FMAF): Likewise.
36876 [C99-based standards] (FP_FAST_FMAL): Likewise.
36877 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36878 [C99-based standards] (FP_ILOGBNAN): Likewise.
36879 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36881 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36882 [C99-based standards] (math_errhandling): Specify type.
36883 [ISO99 || ISO11] (signgam): Do not allow.
36884 [non-C99-based standards] (copysignf): Do not allow.
36885 [non-C99-based standards] (exp2f): Likewise.
36886 [non-C99-based standards] (log2f): Likewise.
36887 [non-C99-based standards] (modff): Allow.
36888 [non-C99-based standards] (erff): Do not allow.
36889 [non-C99-based standards] (erfcf): Likewise.
36890 [non-C99-based standards] (gammaf): Likewise.
36891 [non-C99-based standards] (hypotf): Likewise.
36892 [non-C99-based standards] (j0f): Likewise.
36893 [non-C99-based standards] (j1f): Likewise.
36894 [non-C99-based standards] (jnf): Likewise.
36895 [non-C99-based standards] (lgammaf): Likewise.
36896 [non-C99-based standards] (tgammaf): Likewise.
36897 [non-C99-based standards] (y0f): Likewise.
36898 [non-C99-based standards] (y1f): Likewise.
36899 [non-C99-based standards] (ynf): Likewise.
36900 [non-C99-based standards] (isnanf): Likewise.
36901 [non-C99-based standards] (acoshf): Likewise.
36902 [non-C99-based standards] (asinhf): Likewise.
36903 [non-C99-based standards] (atanhf): Likewise.
36904 [non-C99-based standards] (cbrtf): Likewise.
36905 [non-C99-based standards] (expm1f): Likewise.
36906 [non-C99-based standards] (ilogbf): Likewise.
36907 [non-C99-based standards] (log1pf): Likewise.
36908 [non-C99-based standards] (logbf): Likewise.
36909 [non-C99-based standards] (nextafterf): Likewise.
36910 [non-C99-based standards] (remainderf): Likewise.
36911 [non-C99-based standards] (rintf): Likewise.
36912 [non-C99-based standards] (scalbf): Likewise.
36913 [non-C99-based standards] (copysignl): Likewise.
36914 [non-C99-based standards] (exp2l): Likewise.
36915 [non-C99-based standards] (log2l): Likewise.
36916 [non-C99-based standards] (modfl): Allow.
36917 [non-C99-based standards] (erfl): Do not allow.
36918 [non-C99-based standards] (erfcl): Likewise.
36919 [non-C99-based standards] (gammal): Likewise.
36920 [non-C99-based standards] (hypotl): Likewise.
36921 [non-C99-based standards] (j0l): Likewise.
36922 [non-C99-based standards] (j1l): Likewise.
36923 [non-C99-based standards] (jnl): Likewise.
36924 [non-C99-based standards] (lgammal): Likewise.
36925 [non-C99-based standards] (tgammal): Likewise.
36926 [non-C99-based standards] (y0l): Likewise.
36927 [non-C99-based standards] (y1l): Likewise.
36928 [non-C99-based standards] (ynl): Likewise.
36929 [non-C99-based standards] (isnanl): Likewise.
36930 [non-C99-based standards] (acoshl): Likewise.
36931 [non-C99-based standards] (asinhl): Likewise.
36932 [non-C99-based standards] (atanhl): Likewise.
36933 [non-C99-based standards] (cbrtl): Likewise.
36934 [non-C99-based standards] (expm1l): Likewise.
36935 [non-C99-based standards] (ilogbl): Likewise.
36936 [non-C99-based standards] (log1pl): Likewise.
36937 [non-C99-based standards] (logbl): Likewise.
36938 [non-C99-based standards] (nextafterl): Likewise.
36939 [non-C99-based standards] (remainderl): Likewise.
36940 [non-C99-based standards] (rintl): Likewise.
36941 [non-C99-based standards] (scalbl): Likewise.
36942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36943 [non-C99-based standards] (FP_*): Do not allow.
36944 [C99-based standards] (FP_*): Change to
36945 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36946 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36948 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36949 (SIG_ERR): Likewise.
36950 [X/Open-based standards] (SIG_HOLD): Likewise.
36951 (SIG_IGN): Likewise.
36952 (SIGABRT): Use macro-int-constant. Specify type. Require
36954 (SIGFPE): Likewise.
36955 (SIGILL): Likewise.
36956 (SIGINT): Likewise.
36957 (SIGSEGV): Likewise.
36958 (SIGTER): Likewise.
36959 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36960 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36961 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36962 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36963 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36964 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36965 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36966 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36967 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36968 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36969 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36970 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36971 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36972 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36973 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36974 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36975 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36976 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36977 [X/Open-based standards] (SIGTRAP): Likewise.
36978 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36979 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36980 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36981 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36982 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36985 2012-05-08 Ian Wienand <ianw@vmware.com>
36988 * time/tzset.c (__tzset_parse_tz): Update default rules for
36989 daylight time changes in the Energy Policy Act of 2005.
36991 2012-05-09 Andreas Jaeger <aj@suse.de>
36994 * elf/ldconfig.c (parse_conf): Change string to make clear that
36995 ldconfig only issued a warning if ld.so.conf does not exist.
36997 2012-05-08 David S. Miller <davem@davemloft.net>
36999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37000 movxtod instead of popping the value on the stack.
37002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37004 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37006 * config.h.in: Add HAVE_ARM_PCS_VFP.
37008 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37011 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37012 checking but the checks are disabled for any reason.
37014 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37016 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37017 and ELF64_R_TYPE with ELFW(R_TYPE).
37019 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37021 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37022 (ulimit): Likewise.
37024 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37025 (settimeofday): Likewise.
37027 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37029 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37030 a struct th_u2 inside the union, and move tu_block/tu_code into
37031 a new th_u3 union of tu_block/tu_code inside of that. Move
37032 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37033 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37034 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37035 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37036 (th_stuff): Change to th_u1.tu_stuff.
37038 (th_msg): Change to th_u1.th_u2.tu_data.
37040 2012-05-07 David S. Miller <davem@davemloft.net>
37042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37045 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37046 (SETUP_PIC_REG): Use it.
37047 (SETUP_PIC_REG_LEAF): Use it.
37049 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37053 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37055 (EXPL_FINITE): Likewise.
37056 (FLDLOG): Likewise.
37057 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37058 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37062 (EXPL_FINITE): Likewise.
37063 (FLDLOG): Likewise.
37064 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37065 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37067 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37068 test of -max_value argument for long double.
37069 * sysdeps/i386/fpu/libm-test-ulps: Update.
37070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37072 2012-05-06 David S. Miller <davem@davemloft.net>
37074 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37075 quad soft-float symbols whose references which are compiler
37077 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37079 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37085 (EXPL_FINITE): Likewise.
37086 (FLDLOG): Likewise.
37089 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37090 Adjust comments for base varying.
37091 (__expl_finite): Change alias to EXPL_FINITE.
37092 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37094 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37095 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37097 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37098 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37100 (EXPL_FINITE): Likewise.
37101 (FLDLOG): Likewise.
37104 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37105 Adjust comments for base varying.
37106 (__expl_finite): Change alias to EXPL_FINITE.
37107 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37112 * math/libm-test.inc (check_float_internal): Correct ulp
37113 calculation for subnormal expected results.
37115 2012-05-06 Andreas Jaeger <aj@suse.de>
37117 * Makeconfig (+math-flags): New, set to -frounding-math.
37118 (+cflags): Add +math-flags so that all of glibc gets compiled with
37121 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37123 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37125 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37131 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37132 (__ieee754_expl): Allow for and saturate large arguments.
37133 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37134 (u_threshold): Likewise.
37135 (__exp): Call __ieee754_exp before checking for overflow and
37137 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37138 (u_threshold): Likewise.
37139 (__expf): Call __ieee754_expf before checking for overflow and
37141 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37142 (u_threshold): Likewise.
37143 (__expl): Call __ieee754_expl before checking for overflow and
37145 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37146 (__ieee754_expl): Allow for and saturate large arguments.
37147 * math/libm-test.inc (exp_test): Add another test. Do not allow
37148 missing overflow exception on overflow.
37149 (expm1_test): Do not allow missing overflow exception on overflow.
37151 * sysdeps/i386/fpu/e_expl.c: Move to ...
37152 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37153 rather than using inline asm.
37154 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37155 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37156 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37158 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37161 (signal): Likewise.
37165 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37167 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37168 sysdeps/unix/common/syscalls.list.
37169 (fchmod): Likewise.
37170 (fchown): Likewise.
37171 (ftruncate): Likewise.
37172 (getrusage): Likewise.
37173 (gettimeofday): Likewise.
37174 (setpgid): Likewise.
37175 (setregid): Likewise.
37176 (setreuid): Likewise.
37177 (sigaction): Likewise.
37178 (truncate): Likewise.
37179 (vhangup): Likewise.
37180 * sysdeps/unix/common/syscalls.list: Remove file.
37181 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37182 * sysdeps/unix/sysv/linux/Implies: Likewise.
37184 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37186 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37188 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37192 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37195 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37198 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37201 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37204 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37207 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37210 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37214 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37218 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37221 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37225 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37229 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37231 * sysdeps/unix/common/bits/dirent.h: Remove file.
37232 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37234 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37235 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37236 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37237 * sysdeps/unix/bsd/isatty.c: Likewise.
37238 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37239 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37240 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37242 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37246 long double comparison inaccuracies.
37247 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37250 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37252 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37255 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37258 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37259 nonzero digits before rounding a hex value.
37260 * stdlib/tst-strtod.c (tests): Add another test.
37262 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37264 * sysdeps/s390/fpu/libm-test-ulps: Update.
37266 2012-05-03 Andreas Jaeger <aj@suse.de>
37268 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37269 does not get optimized out.
37270 (malloc_opt_barrier): New.
37272 2012-05-03 Andreas Jaeger <aj@suse.de>
37273 Roland McGrath <roland@hack.frob.com>
37275 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37276 intermediate file deletion.
37277 (generated): Add .symlist files.
37279 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37282 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37283 Redirect under this condition.
37284 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37285 [__USE_GNU] (__dprintf_chk): Not under this condition.
37286 [__USE_GNU] (__vdprintf_chk): Likewise.
37287 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37288 under this condition.
37289 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37290 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37291 [__USE_XOPEN2K8] (vdprintf): Likewise.
37292 [__USE_GNU] (__dprintf_chk): Not under this condition.
37293 [__USE_GNU] (__vdprintf_chk): Likewise.
37294 [__USE_GNU] (dprintf): Likewise.
37295 [__USE_GNU] (vdprintf): Likewise.
37297 2012-05-03 Roland McGrath <roland@hack.frob.com>
37299 * elf/Makefile (common-generated): Set this instead of generated for
37300 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37301 $(all-built-dso)-derived lists.
37303 2012-05-03 Andreas Jaeger <aj@suse.de>
37305 * sysdeps/i386/fpu/libm-test-ulps: Update.
37308 * FAQ.in: Likewise.
37309 * scripts/gen-FAQ.pl: Likewise.
37310 * manual/install.texi (Installation): Point to online location of
37312 * Makefile (files-for-dist): Remove FAQ.
37315 2012-05-02 Allan McRae <allan@archlinux.org>
37317 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37318 (LDFLAGS-reldepmod5.so): Likewise.
37319 (LDFLAGS-reldep6mod1.so): Likewise.
37320 (LDFLAGS-reldep6mod4.so): Likewise.
37321 (LDFLAGS-reldep8mod3.so): Likewise.
37322 (LDFLAGS-unload4mod1.so): Likewise.
37323 (LDFLAGS-unload4mod2.so): Likewise.
37324 (LDFLAGS-tst-initorder): Likewise.
37325 (LDFLAGS-tst-initordera2.so): Likewise.
37326 (LDFLAGS-tst-initordera3.so): Likewise.
37327 (LDFLAGS-tst-initordera4.so): Likewise.
37328 (LDFLAGS-tst-initorderb2.so): Likewise.
37329 (LDFLAGS-noload): Likewise.
37330 (LDFLAGS-next): Likewise.
37331 (LDFLAGS-order2mod1.so): Likewise.
37332 (LDFLAGS-order2mod2.so): Likewise.
37333 (LDFLAGS-tst-initorder2): Likewise.
37334 (LDFLAGS-tst-initorder2a.so): Likewise.
37335 (LDFLAGS-tst-initorder2b.so): Likewise.
37336 (LDFLAGS-tst-initorder2c.so): Likewise.
37337 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37339 2012-05-02 David S. Miller <davem@davemloft.net>
37341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37343 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37346 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37348 2012-05-02 Andreas Jaeger <aj@suse.de>
37350 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37351 since we manipulate rounding mode.
37352 (CPPFLAGS-test-idouble.c): Likewise.
37353 (CPPFLAGS-test-ifloat.c): Likewise.
37354 (CFLAGS-test-ldouble.c): Likewise.
37355 (CFLAGS-test-double.c): Likewise.
37356 (CFLAGS-test-float.c): Likewise.
37357 (CFLAGS-test-misc.c): Likewise.
37358 (CFLAGS-test-test-fenv.c): Likewise.
37360 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37364 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37365 comparisons to determine direction to adjust input.
37367 2012-05-01 Roland McGrath <roland@hack.frob.com>
37369 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37370 output to the target.
37372 * scripts/localplt.awk: New file.
37373 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37374 (check-localplt-CFLAGS): Variable removed.
37375 ($(all-built-dso:=.jmprel)): New static pattern rule.
37376 (generated): Add those targets.
37377 (localplt-built-dso): New variable.
37378 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37380 * elf/check-localplt.c: File removed.
37382 * scripts/check-execstack.awk: New file.
37383 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37384 (check-execstack-CFLAGS): Variable removed.
37385 ($(objpfx)check-execstack.h): Target removed.
37386 ($(objpfx)execstack-default): New target.
37387 (generated): Add that instead of check-execstack.h.
37388 ($(all-built-dso:=.phdr)): New static pattern rule.
37389 (generated): Add those targets.
37390 * elf/check-execstack.c: File removed.
37392 * scripts/check-textrel.awk: New file.
37393 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37394 (check-textrel-CFLAGS): Variable removed.
37395 (all-built-dso): Use := to define.o
37396 ($(all-built-dso:=.dyn)): New static pattern rule.
37397 (generated): Add those targets.
37398 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37399 * config.make.in (READELF): New substituted variable.
37400 * elf/check-textrel.c: File removed.
37402 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37404 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37406 * conform/data/ctype.h-data [C99-based standards] (isblank):
37408 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37409 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37411 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37412 Specify type. Require positive value.
37413 (EILSEQ): Likewise.
37414 (ERANGE): Likewise.
37415 [ISO || POSIX] (EILSEQ): Do not expect.
37416 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37417 Specify type. Require positive value.
37418 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37419 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37420 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37421 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37422 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37423 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37424 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37425 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37426 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37427 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37428 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37429 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37430 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37431 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37432 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37433 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37434 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37435 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37436 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37437 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37438 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37439 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37440 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37441 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37442 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37443 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37444 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37445 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37446 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37447 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37448 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37449 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37450 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37451 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37452 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37453 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37454 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37455 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37456 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37457 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37458 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37459 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37460 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37461 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37462 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37463 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37464 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37465 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37466 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37467 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37468 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37469 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37470 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37471 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37472 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37473 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37474 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37475 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37476 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37477 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37478 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37479 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37480 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37481 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37482 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37483 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37484 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37485 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37486 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37487 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37488 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37489 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37490 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37491 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37492 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37493 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37494 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37496 (FLT_ROUNDS): Expect as macro, not constant.
37497 (FLT_MANT_DIG): Use macro-int-constant.
37498 (DBL_MANT_DIG): Likewise.
37499 (LDBL_MANT_DIG): Likewise.
37500 (FLT_DIG): Likewise.
37501 (DBL_DIG): Likewise.
37502 (LDBL_DIG): Likewise.
37503 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37504 (DBL_MIN_EXP): Likewise.
37505 (LDBL_MIN_EXP): Likewise.
37506 (FLT_MAX_EXP): Use macro-int-constant.
37507 (DBL_MAX_EXP): Likewise.
37508 (LDBL_MAX_EXP): Likewise.
37509 (FLT_MAX_10_EXP): Likewise.
37510 (DBL_MAX_10_EXP): Likewise.
37511 (LDBL_MAX_10_EXP): Likewise.
37512 (FLT_MAX): Use macro-constant.
37513 (DBL_MAX): Likewise.
37514 (LDBL_MAX): Likewise.
37515 (FLT_EPSILON): Use macro-constant. Give upper bound.
37516 (DBL_EPSILON): Likewise.
37517 (LDBL_EPSILON): Likewise.
37518 (FLT_MIN): Likewise.
37519 (DBL_MIN): Likewise.
37520 (LDBL_MIN): Likewise.
37521 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37522 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37523 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37524 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37525 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37526 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37527 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37528 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37529 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37530 [ISO11] (FLT_TRUE_MIN): Likewise.
37531 [ISO11] (LDBL_TRUE_MIN): Likewise.
37532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37533 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37534 (SCHAR_MIN): Use macro-int-constant. Specify type.
37535 (SCHAR_MAX): Likewise.
37536 (UCHAR_MAX): Likewise.
37537 (CHAR_MIN): Likewise.
37538 (CHAR_MAX): Likewise.
37539 (MB_LEN_MAX): Use macro-int-constant.
37540 (SHRT_MIN): Use macro-int-constant. Specify type.
37541 (SHRT_MAX): Likewise.
37542 (USHRT_MAX): Likewise.
37543 (INT_MAX): Likewise.
37544 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37546 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37548 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37550 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37551 bound negative. Suffix upper bound with "L".
37552 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37554 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37556 [C99-based standards] (LLONG_MAX): Likewise.
37557 [C99-based standards] (ULLONG_MAX): Likewise.
37558 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37560 [ISO11] (max_align_t): Require type.
37561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37563 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37564 from $CFLAGS, without defining away __attribute__ calls.
37565 (checknamespace): Use $CFLAGS_namespace.
37567 * conform/conformtest.pl (@keywords): Only include C99 keywords
37568 for standards based on C99 or C11.
37570 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37572 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37575 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37576 usability of symbols in #if.
37578 * conform/conformtest.pl: If macro or constant types start
37579 "promoted:", expect the symbol to be of the following type
37580 promoted by the integer promotions.
37582 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37583 in one place. Also handle "macro-constant".
37585 * conform/conformtest.pl: Only accept expected macro values with
37586 "==". Parse all "macro" lines in one place.
37587 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37589 * conform/conformtest.pl: Handle braced types on "constant" lines
37590 instead of handling "typed-constant".
37591 * conform/data/signal.h-data: Use "constant" instead of
37594 * conform/conformtest.pl: Handle "optional-" at start of lines in
37595 one place rather than duplicating several cases. Handle each
37596 format of "macro" line with initial "optional-".
37598 * conform/conformtest.pl: Only accept expected constant or
37599 optional-constant values with "==". Parse all "constant" lines in
37600 one place. Parse all "optional-constant" lines in one place.
37601 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37602 * conform/data/fmtmsg.h-data: Likewise.
37603 * conform/data/netinet/in.h-data: Likewise.
37604 * conform/data/tar.h-data: Likewise.
37605 * conform/data/limits.h-data: Use "==" form on "constant" and
37606 "optional-constant" lines.
37608 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37609 Use -std=c99 for XOPEN2K.
37610 (@knownproblems): Remove.
37611 (newtoken): Don't check %isknown.
37613 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37614 Do not expect macro.
37615 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37616 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37617 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37618 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37619 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37620 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37621 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37622 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37623 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37624 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37625 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37626 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37627 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37628 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37629 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37630 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37631 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37632 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37633 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37634 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37635 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37636 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37637 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37639 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37640 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37641 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37642 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37643 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37644 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37645 [XPG3] (acosh): Likewise.
37646 [XPG3] (asinh): Likewise.
37647 [XPG3] (atanh): Likewise.
37648 [XPG3] (cbrt): Likewise.
37649 [XPG3] (expm1): Likewise.
37650 [XPG3] (ilogb): Likewise.
37651 [XPG3] (log1p): Likewise.
37652 [XPG3] (logb): Likewise.
37653 [XPG3] (nextafter): Likewise.
37654 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37655 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37656 [XPG3] (remainder): Likewise.
37657 [XPG3] (rint): Likewise.
37658 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37659 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37660 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37661 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37662 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37663 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37664 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37665 [UNIX98 || XOPEN2K] (scalb): Expect.
37666 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37667 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37668 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37669 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37670 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37671 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37672 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37673 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37674 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37675 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37676 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37677 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37678 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37679 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37680 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37681 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37682 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37683 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37684 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37685 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37686 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37687 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37688 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37689 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37690 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37691 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37692 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37693 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37694 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37695 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37696 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37697 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37698 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37699 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37700 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37701 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37702 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37703 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37704 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37705 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37706 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37707 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37708 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37709 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37710 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37711 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37712 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37713 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37714 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37715 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37716 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37717 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37718 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37719 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37720 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37721 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37722 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37723 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37724 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37725 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37726 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37727 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37728 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37729 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37730 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37731 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37732 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37733 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37734 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37735 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37736 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37737 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37738 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37739 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37740 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37741 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37742 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37743 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37744 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37745 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37746 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37747 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37748 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37749 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37750 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37751 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37752 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37753 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37754 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37755 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37756 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37757 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37758 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37759 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37760 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37761 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37762 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37763 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37764 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37765 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37766 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37767 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37768 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37769 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37770 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37771 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37772 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37773 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37774 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37775 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37776 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37777 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37778 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37779 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37780 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37781 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37782 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37783 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37784 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37785 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37786 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37787 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37788 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37789 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37790 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37791 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37792 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37793 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37794 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37795 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37796 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37797 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37798 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37799 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37800 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37801 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37802 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37804 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37805 _XOPEN_SOURCE_EXTENDED for XPG4.
37807 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37809 * Makeconfig (localtime): Remove variable.
37810 (inst_localtime-file): Likewise.
37812 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37833 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37837 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37838 comparisons to determine direction to adjust input.
37839 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37840 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37843 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37845 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37847 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37848 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37850 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37852 * math/libm-test.inc (nexttoward_test): Add more tests.
37854 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37857 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37858 in version GLIBC_2.1, not GLIBC_2.0.
37859 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37862 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37865 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37867 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37868 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37869 * math/libm-test.inc (acos_test): Add more tests.
37870 (asin_test): Likewise.
37871 * sysdeps/i386/fpu/libm-test-ulps: Update.
37872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37875 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37877 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37878 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37879 * math/libm-test.inc (acos_test_tonearest): New function.
37880 (acos_test_towardzero): Likewise.
37881 (acos_test_downward): Likewise.
37882 (acos_test_upward): Likewise.
37883 (asin_test_tonearest): Likewise.
37884 (asin_test_towardzero): Likewise.
37885 (asin_test_downward): Likewise.
37886 (asin_test_upward): Likewise.
37887 (main): Call the new functions.
37888 * sysdeps/i386/fpu/libm-test-ulps: Update.
37889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37893 * math/e_exp10.c: Include <float.h>.
37894 (__ieee754_exp10): Handle underflow here rather than multiplying
37895 large negative argument by M_LN10.
37896 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37898 * math/e_exp10l.c: Include <float.h>.
37899 (__ieee754_exp10l): Handle underflow here rather than multiplying
37900 large negative argument by M_LN10l.
37901 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37902 spurious overflow exception on underflow.
37904 2012-04-29 Marek Polacek <polacek@redhat.com>
37906 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37907 (__fortify_function): New macro.
37908 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37909 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37910 __extern_always_inline.
37911 * libio/bits/stdio2.h: Likewise.
37912 * libio/bits/stdio.h: Likewise.
37913 * string/string.h: Likewise.
37914 * string/bits/string3.h: Likewise.
37915 * include/stdio.h: Likewise.
37916 * stdlib/bits/stdlib.h: Likewise.
37917 * stdlib/stdlib.h: Likewise.
37918 * rt/bits/mqueue2.h: Likewise.
37919 * rt/mqueue.h: Likewise.
37920 * posix/bits/unistd.h: Likewise.
37921 * posix/unistd.h: Likewise.
37922 * io/bits/poll2.h: Likewise.
37923 * io/bits/fcntl2.h: Likewise.
37924 * io/fcntl.h: Likewise.
37925 * io/sys/poll.h: Likewise.
37926 * misc/bits/syslog.h: Likewise.
37927 * misc/bits/syslog-ldbl.h: Likewise.
37928 * misc/sys/syslog.h: Likewise.
37929 * socket/bits/socket2.h: Likewise.
37930 * socket/sys/socket.h: Likewise.
37931 * debug/tst-chk1.c: Likewise.
37932 * wcsmbs/bits/wchar2.h: Likewise.
37933 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37934 * wcsmbs/wchar.h: Likewise.
37936 2012-04-29 Andreas Jaeger <aj@suse.de>
37938 * Makerules (tests): Remove enable-check-abi protection.
37939 (check-abi-warn): Remove.
37940 (check-abi-%): Remove check-abi-warn usage.
37942 * configure.in: Remove check-abi configure option.
37943 * configure: Regenerated.
37944 * config.make.in (enable-check-abi): Remove.
37946 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37949 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37950 double functions to double *_finite functions.
37953 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37954 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37956 * stdio-common/Makefile (tests): Add tst-sprintf3.
37957 * stdio-common/tst-sprintf3.c: New file.
37959 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37960 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37962 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37964 * conform/conformtest.pl: Remove duplicate typed-constant
37967 2012-04-28 David S. Miller <davem@davemloft.net>
37969 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37970 (check-abi-%): Remove AWK script prerequisite and explicit
37972 (check-abi): Rewrite to just diff the symlist with the abilist.
37973 (config-tls, config-abi-config): Delete, no longer used.
37974 (update-abi-%): Remove AWK script and explicit abilist directory.
37975 (update-abi): Rewrite to simply compare and conditionally copy the
37976 symlist and the sysdep abilist file. Remove update-abi-config
37978 * abilist/ld.abilist: Remove.
37979 * abilist/libBrokenLocale.abilist: Remove.
37980 * abilist/libanl.abilist: Remove.
37981 * abilist/libcrypt.abilist: Remove.
37982 * abilist/libdl.abilist: Remove.
37983 * abilist/librt.abilist: Remove.
37984 * abilist/libthread_db.abilist: Remove.
37985 * abilist/libutil.abilist: Remove.
37986 * scripts/extract-abilist.awk: Remove.
37987 * scripts/merge-abilist.awk: Remove.
37988 * sysdeps/generic/libcidn.abilist: New file.
37989 * sysdeps/generic/libnss_compat.abilist: New file.
37990 * sysdeps/generic/libnss_db.abilist: New file.
37991 * sysdeps/generic/libnss_dns.abilist: New file.
37992 * sysdeps/generic/libnss_files.abilist: New file.
37993 * sysdeps/generic/libnss_hesiod.abilist: New file.
37994 * sysdeps/generic/libnss_nis.abilist: New file.
37995 * sysdeps/generic/libnss_nisplus.abilist: New file.
37996 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37997 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37998 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38000 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38001 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38002 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38003 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38004 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38005 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38006 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38007 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38008 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38010 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38011 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38012 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38013 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38015 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38016 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38017 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38018 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38019 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38020 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38022 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38023 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38024 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38026 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38129 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38130 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38131 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38134 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38135 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38136 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38137 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38138 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38139 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38140 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38141 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38142 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38194 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38196 * conform/conformtest.pl: Fix typo in handling typed-constant from
38199 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38201 * README: Cut down references to pre-2.6 Linux kernels and
38202 Linuxthreads. Update lists of configurations in libc and ports
38203 and sort alphabetically. Say "or newer" with Linux kernel version
38206 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38208 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38211 * math/libm-test.inc (logb_test_downward): New test to expose
38212 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38215 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38218 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38220 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38221 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38223 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38225 * sysdeps/unix/i386/brk.S: Remove file.
38226 * sysdeps/unix/i386/dl-brk.S: Likewise.
38227 * sysdeps/unix/i386/pipe.S: Likewise.
38228 * sysdeps/unix/i386/sigreturn.S: Likewise.
38229 * sysdeps/unix/i386/syscall.S: Likewise.
38230 * sysdeps/unix/i386/vfork.S: Likewise.
38231 * sysdeps/unix/i386/wait.S: Likewise.
38233 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38234 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38236 * configure.in (arm*-none*): Do not allow without
38237 --enable-hacker-mode.
38238 (netbsd*): Remove case setting base_os.
38239 (386bsd*): Likewise.
38240 (freebsd*): Likewise.
38243 (sunos*): Likewise.
38244 (ultrix*): Likewise.
38245 (newsos*): Likewise.
38246 (dynix*): Likewise.
38252 (minix*): Likewise.
38253 (irix4*): Likewise.
38254 (irix6*): Likewise.
38255 (solaris[2-9]*): Likewise.
38257 * configure: Regenerated.
38259 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38263 overflow or cancellation in calculating denominator.
38264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38265 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38266 down expression to avoid unexpected rounding in newer GCCs.
38267 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38269 2012-04-26 David S. Miller <davem@davemloft.net>
38271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38272 long-double compat symbols.
38273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38287 2012-04-25 David S. Miller <davem@davemloft.net>
38289 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38290 HWCAP_* values only after the memory barriers have been defined.
38291 (atomic_full_barrier): Define.
38292 (atomic_read_barrier): Define.
38293 (atomic_write_barrier): Define.
38295 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38297 * shlib-versions: Add libgcc_s version information.
38298 * sysdeps/generic/libgcc_s.h: Remove.
38299 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38301 * sysdeps/gnu/unwind-resume.c: Likewise.
38302 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38304 2012-04-25 David S. Miller <davem@davemloft.net>
38306 * sysdeps/unix/sparc/brk.S: Delete.
38307 * sysdeps/unix/sparc/dl-brk.S: Delete.
38308 * sysdeps/unix/sparc/pipe.S: Delete.
38309 * sysdeps/unix/sparc/sysdep.S: Delete.
38310 * sysdeps/unix/sparc/sysdep.h: Delete.
38311 * sysdeps/unix/sparc/vfork.S: Delete.
38312 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38313 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38314 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38315 (ret_ERRVAL, r0, r1, MOVE): Define.
38316 (JUMPTARGET): Remove.
38317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38318 sysdeps/unix/sparc/sysdep.h
38319 (ENTRY, END): Remove.
38320 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38322 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38324 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38325 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38328 * timezone/README: Update upstream location and email address for
38330 * timezone/zdump.c: Update from tzcode 2012b.
38331 * timezone/zic.c: Likewise.
38333 * configure.in (libc_cv_as_needed): Remove test.
38334 * configure: Regenerated.
38335 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38336 conditional definition.
38337 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38338 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38339 * config.make.in (have-as-needed): Remove variable.
38341 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38342 Paul Pluzhnikov <ppluzhnikov@google.com>
38344 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38347 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38349 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38350 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38351 * sysdeps/sh/strlen.S: Likewise.
38353 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38355 * sysdeps/unix/fork.S: Remove file.
38356 * sysdeps/unix/i386/fork.S: Likewise.
38357 * sysdeps/unix/sparc/fork.S: Likewise.
38359 * sysdeps/unix/system.c: Remove file.
38360 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38362 * sysdeps/unix/getegid.S: Remove file.
38363 * sysdeps/unix/geteuid.S: Likewise.
38365 2012-04-24 Roland McGrath <roland@hack.frob.com>
38367 * scripts/check-localplt.awk: New file.
38368 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38370 * scripts/data/localplt-generic.data: Add a comment.
38372 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38373 NODE when __dir_mkfile failed.
38374 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38375 Reported by Ludovic Courtès <ludo@gnu.org>.
38377 2012-04-24 Andreas Jaeger <aj@suse.de>
38379 * Makerules (common-clean): Also remove gen-as-const-headers
38382 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38384 * Makerules (native-compile): Do not change working directory for
38385 build. Use $(OUTPUT_OPTION) in command.
38386 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38388 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38391 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38392 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38393 * math/libm-test.inc (floor_test): Add more tests.
38394 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38396 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38398 * sysdeps/unix/getdents.c: Remove file.
38399 * sysdeps/unix/sysv/getdents.c: Likewise.
38400 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38402 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38403 sysdeps/unix/mman/syscalls.list.
38405 (mprotect): Likewise.
38407 (munmap): Likewise.
38408 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38409 * sysdeps/unix/mman/syscalls.list: Remove.
38410 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38412 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38413 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38414 * configure: Regenerated.
38415 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38416 $(libgcc_s_suffix).
38417 * config.make.in (libgcc_s_suffix): Remove variable.
38419 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38421 * sysdeps/unix/sysv/gethostname.c: Move to ...
38422 * sysdeps/posix/gethostname.c: ... here.
38424 * sysdeps/unix/execve.S: Remove file.
38426 * sysdeps/unix/_exit.S: Remove file.
38428 2012-04-23 Andreas Jaeger <aj@suse.de>
38431 * manual/Makefile: Remove make dist support, there's no
38432 need for a stand-alone documentation tar ball.
38433 (TEXI2DVI): Define always, it's not in Makeconfig.
38436 (edition): Removed.
38437 (glibc-doc-$(edition).tar): Removed
38441 (ETAGS): Remove, it's in Makeconfig.
38442 (move-if-change): Remove, it's in Makeconfig.
38444 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38447 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38448 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38449 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38450 (strtod_l, strtof_l, strtold_l): Remove __wur.
38451 It is not necessarily an error to ignore strtol's return value.
38452 One can reliably look at the stored endptr to decide whether
38453 the number had valid syntax.
38455 2012-04-21 Andreas Jaeger <aj@suse.de>
38458 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38460 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38462 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38463 * sysdeps/unix/sysv/Versions: Remove file.
38465 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38470 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38474 version from __vm86.
38476 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38478 * sysdeps/unix/common/lxstat.c: Remove file.
38479 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38481 * sysdeps/unix/sysv/Makefile: Remove file.
38483 * sysdeps/unix/sysv/direct.h: Remove file.
38485 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38486 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38487 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38488 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38489 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38490 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38491 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38493 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38495 * sysdeps/unix/xmknod.c: Remove file.
38496 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38498 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38500 * sysdeps/unix/sysv/i386/time.S: Remove file.
38502 * sysdeps/unix/fxstat.c: Remove file.
38503 * sysdeps/unix/xstat.c: Likewise.
38504 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38506 * sysdeps/unix/sysv/sigaction.c: Remove file.
38508 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38509 (sysdep_headers): Remove variable.
38510 [termio.h not in sysdep_headers] (generated): Likewise.
38511 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38512 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38513 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38514 * sysdeps/unix/sysv/tcflow.c: Likewise.
38515 * sysdeps/unix/sysv/tcflush.c: Likewise.
38516 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38517 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38518 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38519 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38520 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38522 * sysdeps/unix/siglist.c: Remove file.
38524 * sysdeps/unix/getppid.S: Remove file.
38526 * sysdeps/unix/mkdir.c: Remove file.
38527 * sysdeps/unix/rmdir.c: Likewise.
38529 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38531 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38533 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38534 errlist-compat value.
38536 2012-04-18 David S. Miller <davem@davemloft.net>
38538 * sysdeps/generic/memcopy.h (reg_char): Delete.
38539 * debug/strcat_chk.c: Use char, not reg_char.
38540 * debug/strcpy_chk.c: Likewise.
38541 * debug/strncat_chk.c: Likewise.
38542 * debug/strncpy_chk.c: Likewise.
38543 * string/memchr.c: Likewise.
38544 * string/memrchr.c: Likewise.
38545 * string/rawmemchr.c: Likewise.
38546 * string/strcat.c: Likewise.
38547 * string/strchr.c: Likewise.
38548 * string/strchrnul.c: Likewise.
38549 * string/strcmp.c: Likewise.
38550 * string/strcpy.c: Likewise.
38551 * string/strncat.c: Likewise.
38552 * string/strncmp.c: Likewise.
38553 * string/strncpy.c: Likewise.
38555 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38557 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38558 __builtin_memcopy is called when src and dest ranges are known to not
38561 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38563 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38564 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38565 fwd_align_merge macro call.
38566 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38567 bwd_align_merge macro call.
38568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38570 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38572 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38573 bwd_align_merge macros.
38574 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38575 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38576 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38578 2012-04-18 David S. Miller <davem@davemloft.net>
38580 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38582 2012-04-18 Andreas Jaeger <aj@suse.de>
38585 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38586 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38587 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38589 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38590 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38591 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38593 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38594 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38595 Adjust for changed ldbl-128 files.
38597 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38598 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38599 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38601 2012-04-17 David S. Miller <davem@davemloft.net>
38603 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38605 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38607 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38608 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38609 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38610 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38611 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38612 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38614 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38617 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38618 * math/libm-test.inc: Add ilogb errno and exception tests.
38619 * math/w_ilogb.c: New file: ilogb wrapper.
38620 * math/w_ilogbf.c: New file: ilogbf wrapper.
38621 * math/w_ilogbl.c: New file: ilogbl wrapper.
38622 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38623 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38624 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38625 exception being thrown with 0.0 as argument.
38626 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38627 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38628 exception being thrown with 0.0 as argument.
38629 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38630 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38631 exception being thrown with 0.0 as argument.
38632 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38633 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38634 exception being thrown with 0.0 as argument.
38635 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38636 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38638 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38640 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38641 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38642 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38643 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38645 2012-04-17 Petr Baudis <pasky@ucw.cz>
38647 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38650 2012-04-16 Marek Polacek <polacek@redhat.com>
38652 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38654 2012-04-16 Marek Polacek <polacek@redhat.com>
38656 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38657 operands of fdivp instruction.
38659 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38661 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38662 * elf/tst-auditmod3b.c: Likewise.
38663 * elf/tst-auditmod4b.c: Likewise.
38664 * elf/tst-auditmod5b.c: Likewise.
38665 * elf/tst-auditmod6b.c: Likewise.
38666 * elf/tst-auditmod6c.c: Likewise.
38667 * elf/tst-auditmod7b.c: Likewise.
38668 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38669 * sysdeps/x86_64/preconfigure.in: Likewise.
38670 * sysdeps/x86_64/preconfigure: Regenerated.
38672 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38674 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38677 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38679 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38680 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38682 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38685 * locale/iso-639.def: Fix gl language name. Spotted by
38688 2012-04-12 Roland McGrath <roland@hack.frob.com>
38691 * libio/libio.h (__io_write_fn): Update comment.
38693 2012-04-12 Petr Baudis <pasky@ucw.cz>
38696 * stdio.texi (Hook Functions): The user provided writer function
38697 is not allowed to return -1.
38699 2012-04-11 David S. Miller <davem@davemloft.net>
38701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38703 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38705 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38706 Add a leading slash to rtkaio.
38708 2012-04-11 Jim Meyering <meyering@redhat.com>
38711 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38712 It is not necessarily an error to ignore fwrite's return
38713 value. One can reliably use ferror to test for errors after
38716 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38718 * bits/types.h (__snseconds_t): New type.
38719 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38721 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38723 (__SNSECONDS_T_TYPE): Likewise.
38724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38725 (__SNSECONDS_T_TYPE): Likewise.
38726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38727 (__SNSECONDS_T_TYPE): Likewise.
38729 2012-04-10 Andreas Jaeger <aj@suse.de>
38732 * manual/time.texi (Processor Time): Return type of times is
38733 elapsed real time since an arbitrary point in the past.
38734 (CPU Time): Move CLK_TCK from here...
38735 (Processor Time): ...to here. Correct description.
38736 * manual/conf.texi (Constants for Sysconf): Correct description of
38739 2012-04-10 David S. Miller <davem@davemloft.net>
38742 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38743 where the is a gap between DT_REL(A) and DT_JMPREL.
38745 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38747 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38748 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38749 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38751 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38753 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38754 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38755 (dl_main): Handle --inhibit-cache.
38756 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38758 * elf/dl-load.c (_dl_map_object): Use it.
38759 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38761 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38764 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38765 (__ieee754_powl): Saturate large exponents rather than testing for
38766 overflow of y*log2(x).
38767 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38768 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38772 * math/s_ctan.c: Include <float.h>.
38773 (__ctan): Avoid internal overflow or cancellation in calculating
38775 * math/s_ctanf.c: Likewise.
38776 * math/s_ctanl.c: Likewise.
38777 * math/s_ctanh.c: Likewise.
38778 * math/s_ctanhf.c: Likewise.
38779 * math/s_ctanhl.c: Likewise.
38780 * math/libm-test.inc (ctan_test): Add more tests.
38781 (ctanh_test): Likewise.
38782 * sysdeps/i386/fpu/libm-test-ulps: Update.
38783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38785 2012-04-09 Andreas Jaeger <aj@suse.de>
38788 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38789 is an optional BSD extension.
38792 * manual/stdio.texi (Opening Streams): Document additional fopen
38795 2012-04-09 Roland McGrath <roland@hack.frob.com>
38797 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38798 %eax without telling the compiler.
38800 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38803 * manual/install.texi: Use sourceware.org.
38805 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38808 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38809 (__ieee754_pow): Generate overflow and underflow using huge*huge
38810 and tiny*tiny rather than just returning constant infinity or zero
38811 for large exponents.
38812 * math/libm-test.inc (pow_test): Require overflow exceptions for
38813 applicable cases of large exponents.
38816 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38817 (__ieee754_pow): Use iterative multiplication algorithm only for
38818 integer exponents with absolute value below 1024. Check for odd
38819 integer exponents when using algorithm for real exponents.
38820 * math/libm-test.inc (pow_test): Add more tests.
38821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38823 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38826 * math/libm-test.inc (exp_test): Do not allow overflow exception
38829 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38832 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38833 instead of __kernel_standard_f.
38835 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38837 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38838 * sysdeps/x86_64/memset_chk.S: Likewise.
38840 2012-04-08 Andreas Jaeger <aj@suse.de>
38843 * manual/startup.texi (Environment Access): Describe return value
38844 for putenv and setenv.
38847 * manual/filesys.texi (Directory Entries): Add description for
38851 * manual/filesys.texi (Directory Entries): Clarify that it's file
38852 system not operating system in the description of DT_UNKNOWN.
38855 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38857 2012-04-08 Stephen Compall <s11@member.fsf.org>
38860 * manual/llio.texi (Opening and Closing Files): Add cross
38861 reference to explain mode argument.
38863 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38865 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38866 * sysdeps/x86_64/memset_chk.S: Likewise.
38868 2012-04-07 David S. Miller <davem@davemloft.net>
38870 * elf/elf.h (R_SPARC_WDISP10): Define.
38871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38874 R_SPARC_SIZE64 and R_SPARC_H34.
38876 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38878 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38879 conditions and remove no longer applicable assertion.
38881 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38883 * bits/byteswap.h: Include <features.h>.
38884 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38885 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38887 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38889 * bits/byteswap.h (__bswap_16): Removed.
38890 Include <bits/byteswap-16.h> to get __bswap_16.
38891 * sysdeps/i386/bits/byteswap.h: Likewise.
38892 * sysdeps/s390/bits/byteswap.h: Likewise.
38893 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38894 * bits/byteswap-16.h: New file.
38895 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38896 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38897 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38898 * string/Makefile (headers): Add bits/byteswap-16.h.
38900 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38903 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38905 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38906 * nss/tst-nss-static.c: New.
38908 2012-04-06 Robert Millan <rmh@gnu.org>
38911 * manual/llio.texi (File Position Primitive): lseek
38912 refers to WHENCE when it really means OFFSET.
38914 2012-04-06 Andreas Jaeger <aj@suse.de>
38916 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38917 strncmp declarations.
38919 * abilist/libc.abilist: Add __poll and __ppoll.
38921 2012-04-05 David S. Miller <davem@davemloft.net>
38923 * scripts/check-local-headers.sh: Accept a host triplet in the
38924 path matched by the exclude regexp.
38926 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38928 * sysdeps/powerpc/powerpc32/dl-machine.h
38929 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38930 * sysdeps/s390/s390-32/dl-machine.h
38931 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38932 * sysdeps/sparc/sparc32/dl-machine.h
38933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38934 * sysdeps/sparc/sparc64/dl-machine.h
38935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38937 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38939 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38940 undefined symbol errors.
38942 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38945 2012-04-05 Michael Matz <matz@suse.de>
38948 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38950 2012-04-05 Andreas Jaeger <aj@suse.de>
38953 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38956 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38959 which ROUND is no valid rounding mode.
38961 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38963 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38965 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38967 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38969 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38970 an exception using FPU order intentionally.
38972 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38974 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38975 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38976 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38977 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38979 2012-04-05 Simon Josefsson <simon@josefsson.org>
38982 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38983 EINVAL when BUFLEN is too smal.
38985 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38988 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38989 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38991 2012-04-03 Andreas Jaeger <aj@suse.de>
38994 * manual/setjmp.texi (System V contexts): Fix sentence.
38997 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38998 New macro for this case.
38999 [!__GNUC__] (__bswap_64): New inline function for this case.
39000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39001 * bits/byteswap.h: Likewise.
39002 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39003 ull, guard with __GLIBC_HAVE_LONG_LONG.
39005 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39006 __GLIBC_HAVE_LONG_LONG.
39008 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39009 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39011 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39014 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39015 inptr and inend, rather than using last_ch.
39017 2012-04-02 David S. Miller <davem@davemloft.net>
39019 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39020 * stdio-common/printf-parse.h (read_int): Change return type to
39021 'int', return -1 on INT_MAX overflow.
39022 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39023 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39024 overflows INT_MAX. Check for overflow of in-format-string precision
39025 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39026 SIZE_MAX not INT_MAX for integer overflow test.
39027 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39028 skip the construct in the format string but do not record anything.
39029 * stdio-common/bug22.c: Adjust to test both width/prevision
39030 INT_MAX overflow as well as total length INT_MAX overflow. Check
39031 explicitly for proper errno values.
39033 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39035 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39037 * string/test-strcmp.c [! WIDE]: Likewise.
39038 * time/tst-mktime2.c: Likewise for INT_MAX.
39039 * string/test-string.h: #include <sys/param.h> for MIN.
39041 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39042 * sysdeps/i386/init-first.c (init): Likewise.
39043 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39044 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39045 * sysdeps/sh/init-first.c (init): Likewise.
39047 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39049 * po/ru.po: Update from translation team.
39050 * po/vi.po: Likewise.
39052 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39054 * resolv/nss_dns/dns-host.c: Merge copyright years.
39056 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39058 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39059 Optimize memcpy with prefetch if
39060 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39061 src, dst pointers have unequal 16 byte alignments.
39063 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39066 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39067 from a CNAME entry and return the minimum ttl for the query.
39068 (gaih_getanswer_slice): Likewise.
39070 2012-03-30 Jeff Law <law@redhat.com>
39072 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39074 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39075 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39077 * resolv/nss_dns/dns-host.c: Update copyright year.
39079 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39081 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39082 requests to save a system call. Fix check that all bytes are sent.
39084 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39085 comments for sendmmsg.
39087 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39090 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39091 with only 1 character between 0x0041 and 0x01b0.
39092 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39093 * wcsmbs/tst-mbsnrtowcs.c: New file.
39095 2012-03-29 David S. Miller <davem@davemloft.net>
39097 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39098 small copies by hand.
39100 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39103 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39104 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39107 2012-03-28 David S. Miller <davem@davemloft.net>
39109 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39110 that branches into memcpy.
39111 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39112 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39113 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39114 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39117 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39118 implementation too.
39119 * sysdeps/sparc/mempcpy.S: New file.
39121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39122 the IFUNC routine in the libc case.
39123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39125 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39126 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39127 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39128 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39129 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39130 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39131 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39132 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39134 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39135 loop to 256 bytes instead of 64 bytes and fix test signedness.
39137 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39138 * sysdeps/sparc/sparc32/Makefile: rather than here...
39139 * sysdeps/sparc/sparc64/Makefile: and here.
39141 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39143 * malloc/mallocbug.c: Avoid warnings about unused variables.
39145 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39148 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39149 in the right place. Discard and retry query if response is
39150 larger than input buffer size.
39152 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39157 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39158 x for large integer exponent.
39159 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39160 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39161 sign of result as needed afterwards.
39162 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39163 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39164 result for underflowing pow the same as for overflow.
39165 (__kernel_standard_l): Handle powl overflow and underflow here
39166 rather than calling __kernel_standard.
39167 * math/libm-test.inc (pow_test): Add more tests.
39182 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39183 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39184 (__kernel_standard_l): New function.
39185 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39187 * math/w_acosl.c (__acosl): Likewise.
39188 * math/w_asinl.c (__asinl): Likewise.
39189 * math/w_atan2l.c (__atan2l): Likewise.
39190 * math/w_atanhl.c (__atanhl): Likewise.
39191 * math/w_coshl.c (__coshl): Likewise.
39192 * math/w_exp10l.c (__exp10l): Likewise.
39193 * math/w_exp2l.c (__exp2l): Likewise.
39194 * math/w_fmodl.c (__fmodl): Likewise.
39195 * math/w_hypotl.c (__hypotl): Likewise.
39196 * math/w_j0l.c (__j0l, __y0l): Likewise.
39197 * math/w_j1l.c (__j1l, __y1l): Likewise.
39198 * math/w_jnl.c (__jnl, __ynl): Likewise.
39199 * math/w_lgammal.c (__lgammal): Likewise.
39200 * math/w_log10l.c (__log10l): Likewise.
39201 * math/w_log2l.c (__log2l): Likewise.
39202 * math/w_logl.c (__logl): Likewise.
39203 * math/w_powl.c (__powl): Likewise.
39204 * math/w_remainderl.c (__remainderl): Likewise.
39205 * math/w_scalbl.c (sysv_scalbl): Likewise.
39206 * math/w_sinhl.c (__sinhl): Likewise.
39207 * math/w_sqrtl.c (__sqrtl): Likewise.
39208 * math/w_tgammal.c (__tgammal): Likewise.
39209 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39210 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39211 * math/libm-test.inc (acos_test): Add more tests.
39212 (acosh_test): Likewise.
39213 (asin_test): Likewise.
39214 (atanh_test): Likewise.
39215 (exp_test): Likewise.
39216 (exp10_test): Likewise.
39217 (exp2_test): Likewise.
39218 (expm1_test): Likewise.
39219 (lgamma_test): Likewise.
39220 (log_test): Likewise.
39221 (log10_test): Likewise.
39222 (log1p_test): Likewise.
39223 (log2_test): Likewise.
39224 (pow_test): Do not allow some spurious overflow exceptions.
39225 (sqrt_test): Add more tests.
39226 (tgamma_test): Likewise.
39227 (y0_test): Likewise.
39228 (y1_test): Likewise.
39229 (yn_test): Likewise.
39231 2012-03-27 Anton Blanchard <anton@samba.org>
39233 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39235 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39236 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39237 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39239 2012-03-27 David S. Miller <davem@davemloft.net>
39241 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39243 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39244 have-as-vis3 check.
39246 2012-03-27 Andreas Jaeger <aj@suse.de>
39248 * sysdeps/x86_64/elf/configure.in: Moved to ...
39249 * sysdeps/x86_64/configure.in: ... here.
39250 * sysdeps/x86_64/elf/start.S: Moved to ...
39251 * sysdeps/x86_64/start.S: ... here.
39252 * sysdeps/x86_64/elf/configure: Delete.
39254 * sysdeps/x86_64/configure.in: Merge contents from
39255 sysdeps/i386/configure.in (without i686 check).
39257 * sysdeps/i386/elf/Versions: Merge into ...
39258 * sysdeps/i386/Versions: ... this.
39259 * sysdeps/i386/elf/Versions: Delete file.
39260 * sysdeps/i386/elf/start.S: Moved to ...
39261 * sysdeps/i386/start.S: ...here.
39262 * sysdeps/i386/elf/configure.in: Merge into...
39263 * sysdeps/i386/configure.in: ...here.
39264 * sysdeps/i386/elf/configure.in: Delete file.
39265 * sysdeps/i386/elf/configure: Delete file.
39267 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39268 * debug/backtracesyms.c: ... here.
39269 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39270 * debug/backtracesymsfd.c: ... here.
39271 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39272 * sysdeps/generic/ifunc-sel.h: ... here.
39274 * sysdeps/unix/i386/start.c: Delete file.
39275 * sysdeps/unix/sparc/start.c: Delete file.
39276 * sysdeps/unix/start.c: Delete file.
39278 * sysdeps/sh/elf/configure.in: Moved to ...
39279 * sysdeps/sh/configure.in: ... here.
39280 * sysdeps/sh/elf/start.S: Moved to ...
39281 * sysdeps/sh/start.S: ... here.
39282 * sysdeps/sh/elf/configure: Delete file.
39284 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39285 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39286 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39287 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39288 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39289 * sysdeps/powerpc/powerpc64/start.S: here.
39290 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39291 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39292 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39293 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39294 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39296 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39297 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39298 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39299 * sysdeps/powerpc/powerpc32/start.S: ... here.
39300 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39301 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39302 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39304 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39305 * sysdeps/powerpc/ifunc-sel.h: ... here.
39306 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39307 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39309 * sysdeps/sparc/elf/configure.in: Moved to ...
39310 * sysdeps/sparc/configure.in: ... here.
39311 * sysdeps/sparc/elf/configure: Delete file.
39312 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39313 * sysdeps/sparc/sparc32/start.S: ... here.
39314 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39315 * sysdeps/sparc/sparc64/start.S: ... here.
39316 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39317 * sysdeps/sparc/sparc32/Makefile: ... this.
39318 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39319 * sysdeps/sparc/sparc64/Makefile: ... this.
39321 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39322 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39323 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39324 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39325 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39326 * sysdeps/s390/s390-32/setjmp.S: ... here.
39327 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39328 * sysdeps/s390/s390-32/configure.in: ... here.
39329 * sysdeps/s390/s390-32/elf/configure: Delete file.
39330 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39331 * sysdeps/s390/s390-32/start.S: ... here.
39333 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39334 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39335 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39336 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39337 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39338 * sysdeps/s390/s390-64/setjmp.S: ... here.
39339 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39340 * sysdeps/s390/s390-64/configure.in: ... here
39341 * sysdeps/s390/s390-64/elf/configure: Delete file.
39342 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39343 * sysdeps/s390/s390-64/start.S: ... here.
39344 * sysdeps/s390/s390-64/elf/configure: Delete.
39346 * configure.in: Remove support for elf directories in sysdeps.
39348 * configure: Regenerated.
39349 * sysdeps/i386/configure: Regenerated.
39350 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39351 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39352 * sysdeps/s390/s390-32/configure: Regenerated.
39353 * sysdeps/s390/s390-64/configure: Regenerated.
39354 * sysdeps/sh/configure: Regenerated.
39355 * sysdeps/sparc/configure: Regenerated.
39356 * sysdeps/x86_64/configure: Regenerated.
39358 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39363 denormal result into account.
39365 2012-03-25 Roland McGrath <roland@hack.frob.com>
39367 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39368 Reported by Allan McRae <allan@archlinux.org>.
39370 2012-03-23 Jeff Law <law@redhat.com>
39372 * nss/getnssent.c (__nss_getent): Fix typo.
39374 2012-03-23 David S. Miller <davem@davemloft.net>
39376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39378 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39380 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39381 to pad to uint64_t for each field.
39382 (dl_tls_index): Replace unsigned long with uint64_t.
39384 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39385 Paul Pluzhnikov <ppluzhnikov@google.com>
39388 * grp/Makefile (otherlibs): Don't set it.
39389 * inet/Makefile (otherlibs): Likewise.
39390 * login/Makefile (otherlibs): Likewise.
39391 * nscd/Makefile (otherlibs): Likewise.
39392 * posix/Makefile (otherlibs): Likewise.
39393 * pwd/Makefile (otherlibs): Likewise.
39394 * rt/Makefile (otherlibs): Likewise.
39395 * sunrpc/Makefile (otherlibs): Likewise.
39396 * nss/Makefile (otherlibs): Likewise.
39397 Add libnss_files to routines and static-only-routines.
39398 ($(objpfx)getent): Remove rule.
39399 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39400 static-only-routines.
39402 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39405 * math/s_cexp.c: Include <float.h>.
39406 (__cexp): Handle exp result overflowing not necessarily
39407 overflowing both real and imaginary parts of result.
39408 * math/s_cexpf.c: Likewise.
39409 * math/s_cexpl.c: Likewise.
39410 * math/libm-test.inc (cexp_test): Add more tests.
39411 * sysdeps/i386/fpu/libm-test-ulps: Update.
39412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39414 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39416 * include/link.h (ELFW): New macro.
39417 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39418 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39420 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39422 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39425 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39427 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39429 (struct La_x32_retval): Likewise.
39431 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39433 * sysdeps/x86_64/preconfigure.in: New file.
39434 * sysdeps/x86_64/preconfigure: New generated file.
39436 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39439 * math/e_exp2l.c: Include <float.h>.
39440 (__ieee754_exp2l): Handle overflow and underflow cases
39441 separately. Only pass fractional part of argument to
39443 * math/libm-test.inc (exp2_test): Add more tests.
39445 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39446 negating x to take absolute value.
39447 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39449 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39450 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39452 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39453 computing low part if x was negated.
39454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39456 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39458 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39459 la_x32_gnu_pltexit.
39460 (pltexit): Cast int_retval to ptrdiff_t.
39461 * elf/tst-auditmod3b.c: Likewise.
39462 * elf/tst-auditmod4b.c: Likewise.
39463 * elf/tst-auditmod5b.c: Likewise.
39464 * elf/tst-auditmod6b.c: Likewise.
39465 * elf/tst-auditmod6c.c: Likewise.
39466 * elf/tst-auditmod7b.c: Likewise.
39468 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39469 and x32_gnu_pltexit.
39471 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39472 __ELF_NATIVE_CLASS.
39473 (La_x32_regs): New macro.
39474 (La_x32_retval): Likewise.
39475 (la_x32_gnu_pltenter): New function prototype.
39476 (la_x32_gnu_pltexit): Likewise.
39478 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39485 * configure.in (libc_cv_cc_nofma): Check for option to disable
39486 generation of FMA instructions.
39487 * configure: Regenerate.
39488 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39489 * sysdeps/ieee754/dbl-64/Makefile: New file.
39490 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39491 Remove brandred-fma4.
39492 (CFLAGS-brandred-fma4.c): Remove.
39493 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39494 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39496 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39499 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39501 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39502 LLONG_MAX != LONG_MAX.
39503 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39504 (_fitoa_word): Likewise.
39505 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39506 LLONG_MAX != LONG_MAX.
39507 * stdio-common/_itowa.h: Include <_itoa.h>.
39508 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39509 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39510 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39511 only if not defined.
39512 (_ITOA_WORD_TYPE): Likewise.
39513 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39514 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39516 2012-03-21 David S. Miller <davem@davemloft.net>
39518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39520 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39522 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39523 of x86_64 when setting libc_cv_slibdir, libdir and
39525 * sysdeps/unix/sysv/linux/configure: Regenerated.
39527 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39529 * manual/lang.texi (Old Varargs): Remove section.
39530 (How Variadic): Update menu.
39531 (va_start): Do not mention varargs.h.
39533 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39534 Joseph Myers <joseph@codesourcery.com>
39536 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39538 * configure: Regenerated.
39540 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39542 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39543 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39546 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39549 * Makefile (files-for-dist): Remove NOTES.
39550 (NOTES): Remove rule.
39551 * README: Don't refer to NOTES.
39552 * manual/creature.texi: Don't include macros.texi.
39553 * manual/intro.texi (creature.texi): Remove comment referring to
39556 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39557 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39558 * configure: Regenerated.
39559 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39560 LIBC_TRY_CC_OPTION.
39561 (libc_cv_as_i686): Likewise.
39562 (libc_cv_cc_avx): Likewise.
39563 (libc_cv_cc_sse2avx): Likewise.
39564 (libc_cv_cc_fma4): Likewise.
39565 (libc_cv_cc_novzeroupper): Likewise.
39566 * sysdeps/i386/configure: Regenerated.
39569 * sysdeps/i386/fpu/s_cexp.S: Remove.
39570 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39571 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39572 * math/libm-test.inc (cexp_test): Add more tests.
39573 * sysdeps/i386/fpu/libm-test-ulps: Update.
39574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39576 2012-03-21 Allan McRae <allan@archlinux.org>
39578 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39580 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39583 * math/w_exp2.c: Do not include <float.h>.
39584 (o_threshold, u_threshold): Remove.
39585 (__exp2): Calculate result before checking finiteness and calling
39587 * math/w_exp2f.c: Likewise.
39588 * math/w_exp2l.c: Likewise.
39589 * math/libm-test.inc (exp2_test): Require overflow exception for
39593 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39594 range of signed 64-bit integers before using fistpll. Remove
39595 checks for whether integers fit in mantissa bits.
39596 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39597 the range of signed 32-bit integers before using fistpl. Remove
39598 checks for whether integers fit in mantissa bits.
39599 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39600 (__ieee754_powl): Test for y outside the range of signed 64-bit
39601 integers before using fistpll. Reduce 64-bit values to 63-bit
39603 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39604 divide-by-zero is raised for zero to large negative powers.
39605 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39606 (__ieee754_powl): Test for y outside the range of signed 64-bit
39607 integers before using fistpll. Reduce 64-bit values to 63-bit
39609 * math/libm-test.inc (pow_test): Add more tests.
39611 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39613 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39614 <stdio-common/_itoa.h>.
39615 * debug/segfault.c: Likewise.
39616 * elf/dl-cache.c: Likewise.
39617 * elf/dl-minimal.c: Likewise.
39618 * elf/dl-misc.c: Likewise.
39619 * elf/dl-sysdep.c: Likewise.
39620 * elf/dl-version.c: Likewise.
39621 * elf/rtld.c: Likewise.
39622 * hurd/hurdsock.c: Likewise.
39623 * hurd/lookup-retry.c: Likewise.
39624 * malloc/malloc.c: Likewise.
39625 * malloc/mtrace.c: Likewise.
39626 * nscd/nscd_getgr_r.c: Likewise.
39627 * nscd/nscd_getpw_r.c: Likewise.
39628 * nscd/nscd_getserv_r.c: Likewise.
39629 * posix/getopt_init.c: Likewise.
39630 * posix/wordexp.c: Likewise.
39631 * stdio-common/_itoa.c: Likewise.
39632 * stdio-common/printf_fphex.c: Likewise.
39633 * stdio-common/vfprintf.c: Likewise.
39634 * string/_strerror.c: Likewise.
39635 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39636 * sysdeps/i386/i686/hp-timing.h: Likewise.
39637 * sysdeps/mach/_strerror.c: Likewise.
39638 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39639 * sysdeps/mach/hurd/sethostid.c: Likewise.
39640 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39641 * sysdeps/mach/xpg-strerror.c: Likewise.
39642 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39643 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39644 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39645 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39646 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39647 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39648 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39649 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39650 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39651 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39652 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39653 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39654 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39655 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39656 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39657 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39658 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39659 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39660 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39661 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39662 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39664 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39666 * stdio-common/_itoa.h: Moved to ...
39667 * sysdeps/generic/_itoa.h: Here.
39669 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39671 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39672 instead of "_itoa.h" and "_itowa.h".
39673 * stdio-common/vfprintf.: Likewise.
39675 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39677 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39679 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39680 (__signbit): Likwise.
39681 (llrintf): Likwise.
39684 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39686 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39689 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39691 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39692 OVERFLOW_EXCEPTION_OK.
39693 * math/libm-test.inc ("Philosophy"): Update comment about
39695 (OVERFLOW_EXCEPTION): Define.
39696 (OVERFLOW_EXCEPTION_OK): Likewise.
39697 (INVALID_EXCEPTION_OK): Renumber.
39698 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39699 (IGNORE_ZERO_INF_SIGN): Likewise.
39700 (test_exceptions): Handle FE_OVERFLOW.
39701 (exp10_test): Expect overflow exceptions.
39702 (exp2_test): Likewise.
39703 (expm1_test): Likewise.
39704 (nextafter_test): Likewise.
39705 (pow_test): Likewise.
39706 (scalbn_test): Likewise.
39707 (scalbln_test): Likewise.
39709 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39711 * sysdeps/x86_64/bits/atomic.h
39712 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39714 (atomic_exchange_acq): Likewise.
39715 (__arch_exchange_and_add_body): Likewise.
39716 (__arch_add_body): Likewise.
39717 (atomic_add_negative): Likewise.
39718 (atomic_add_zero): Likewise.
39720 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39722 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39723 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39725 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39727 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39728 Check __x86_64__ instead of __WORDSIZE.
39730 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39732 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39734 2012-03-19 David S. Miller <davem@davemloft.net>
39736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39738 * sysdeps/sparc/fpu/fenv_private.h: New file.
39739 * sysdeps/sparc/fpu/math_private.h: Use it.
39740 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39742 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39743 (libc_feholdexcept_setroundl): Remove.
39744 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39746 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39747 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39749 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39751 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39752 int64_t instead of long int.
39753 (INSERT_WORDS64): Likwise.
39755 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39757 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39758 _Unwind_GetCFA return to _Unwind_Ptr first.
39760 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39763 * math/s_clog.c: Include <float.h>.
39764 (__clog): Scale large or subnormal inputs.
39765 * math/s_clogf.c: Likewise.
39766 * math/s_clogl.c: Likewise.
39767 * math/s_clog10.c: Include <float.h>.
39768 (M_LOG10_2): Define.
39769 (__clog10): Scale large or subnormal inputs.
39770 * math/s_clog10f.c: Likewise.
39771 * math/s_clog10l.c: Likewise.
39772 * math/libm-test.inc (clog_test): Add more tests.
39773 (clog10_test): Likewise.
39774 * sysdeps/i386/fpu/libm-test-ulps: Update.
39775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39778 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39780 * math/libm-test.inc (atan2_test): Add another test.
39782 * Makerules (common-objdir-compile): Remove.
39783 * sysdeps/unix/Makefile (config-generated): Do not add
39784 $(unix-generated) to variable.
39785 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39786 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39788 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39790 [generic bits/local_lim.h] (before-compile): Do not append to
39792 [generic bits/local_lim.h] (common-generated): Likewise.
39793 [generic sys/param.h] (before-compile): Do not append to variable.
39794 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39795 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39796 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39797 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39799 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39800 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39801 [generic sys/param.h] ($(addprefix
39802 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39803 [generic sys/param.h] (common-generated): Do not append to
39805 [generic sys/param.h] (sysdep_headers): Likewise.
39806 [generic bits/errno.h] (before-compile): Do not append to
39808 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39810 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39811 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39812 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39813 [generic bits/errno.h] (common-generated): Do not append to
39815 [generic bits/ioctls.h] (before-compile): Do not append to
39817 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39819 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39820 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39821 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39823 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39824 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39825 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39826 [generic bits/ioctls.h] (common-generated): Do not append to
39828 [generic sys/syscall.h] (syscall.h): Remove variable.
39829 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39831 [generic sys/syscall.h] (before-compile): Do not append to
39833 [generic sys/syscall.h] (common-generated): Likewise.
39834 * sysdeps/unix/errnos-tmpl.c: Remove file.
39835 * sysdeps/unix/errnos.awk: Likewise.
39836 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39837 * sysdeps/unix/ioctls.awk: Likewise.
39838 * sysdeps/unix/mk-local_lim.c: Likewise.
39839 * sysdeps/unix/snarf-ioctls: Likewise.
39841 2012-03-19 Richard Henderson <rth@twiddle.net>
39843 * sysdeps/i386/fpu/fenv_private.h: New file.
39844 * sysdeps/i386/fpu/math_private.h: Use it.
39845 (math_opt_barrier, math_force_eval): Remove.
39846 (libc_feholdexcept_setround_53bit): Remove.
39847 (libc_feupdateenv_53bit): Remove.
39848 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39849 (math_opt_barrier, math_force_eval): Remove.
39850 (libc_feholdexcept): Remove.
39851 (libc_feholdexcept_setround): Remove.
39852 (libc_fetestexcept, libc_fesetenv): Remove.
39853 (libc_feupdateenv_test): Remove.
39854 (libc_feupdateenv, libc_feholdsetround): Remove.
39855 (libc_feresetround): Remove.
39857 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39858 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39860 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39861 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39862 (libc_feupdateenv_testl): New.
39863 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39864 (libc_feupdateenv_testf): New.
39865 (libc_feupdateenv): Use libc_feupdateenv_test.
39866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39867 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39869 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39870 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39871 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39872 (libc_feresetround_noex): New.
39873 (libc_feresetround_noexf): New.
39874 (libc_feresetround_noexl): New.
39875 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39876 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39877 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39878 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39881 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39883 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39884 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39885 SET_RESTORE_ROUND_NOEX.
39886 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39887 SET_RESTORE_ROUND_NOEXF.
39888 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39889 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39890 (libc_feholdsetroundf): New.
39891 (libc_feresetround, libc_feresetroundf): New.
39893 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39894 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39895 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39897 * sysdeps/generic/math_private.h: Include <fenv.h>.
39898 (default_libc_feholdexcept): New.
39899 (default_libc_feholdexcept_setround): New.
39900 (default_libc_fesetenv, default_libc_feupdateenv): New.
39901 (libc_feholdexcept): Only define if undefined.
39902 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39903 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39904 (libc_feholdexcept_setroundl): Likewise.
39905 (libc_feholdexcept_setround_53bit): Likewise.
39906 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39907 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39908 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39909 (libc_feupdateenv_53bit): Likewise.
39910 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39911 (libc_feholdexcept): Convert from macro to inline function.
39912 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39913 (libc_fesetenv, libc_feupdateenv): Likewise.
39915 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39916 not previously defined.
39917 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39918 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39919 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39920 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39921 * sysdeps/ieee754/flt-32/math_private.h: New file.
39922 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39923 math_private.h below SET_FLOAT_WORD.
39924 (__isnan, __isinf_ns, __finite): Remove.
39925 (__isnanf, __isinf_nsf, __finitef): Remove.
39927 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39931 2012-03-17 David S. Miller <davem@davemloft.net>
39934 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39937 2012-03-16 David S. Miller <davem@davemloft.net>
39939 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39943 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39945 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39946 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39947 sysdep_routines when subdir is sysvipc.
39948 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39949 __getshmlba helper.
39951 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39953 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39955 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39958 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39960 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39961 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39962 (__lround): Renamed to ...
39963 (__llround): This. Replace long int with long long int.
39964 Define lround functions as aliases of llround functions.
39965 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39967 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39969 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39970 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39971 adresses to uintptr_t. Replace "long int" and "unsigned long
39972 int" with "greg_t" on va_arg.
39974 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39976 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39977 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39979 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39980 Move e_machine check before EI_CLASS check. Handle x32
39981 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39982 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39983 SKIP_EM_IA_64 and include
39984 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39986 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39987 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39988 (add_system_dir): New macro.
39990 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39991 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39993 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40004 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40006 * math/w_j0f.c (j0f): Likewise.
40008 * math/w_j0l.c (__j0l): Likewise.
40010 * math/w_j1.c (j1): Likewise.
40012 * math/w_j1f.c (j1f): Likewise.
40014 * math/w_j1l.c (__j1l): Likewise.
40016 * math/w_jn.c (jn): Likewise.
40018 * math/w_jnf.c (jnf): Likewise.
40020 * math/w_jnl.c (__jnl): Likewise.
40022 * math/libm-test.inc (j0_test): Add more tests.
40023 (j1_test): Likewise.
40024 (jn_test): Likewise. Add trailing semicolon to existing test.
40025 (y0_test): Likewise.
40026 (y1_test): Likewise.
40027 * sysdeps/i386/fpu/libm-test-ulps: Update.
40028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40032 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40033 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40034 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40035 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40036 (__tanl): Set errno for infinite argument.
40037 * sysdeps/i386/fpu/mptan.c: Remove.
40038 * sysdeps/i386/fpu/s_tan.S: Likewise.
40039 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40040 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40041 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40042 * math/libm-test.inc (tan_test): Add more tests and enable more
40043 tests for double and long double.
40044 * sysdeps/i386/fpu/libm-test-ulps: Update.
40045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40047 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40049 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40050 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40052 2012-03-16 Roland McGrath <roland@hack.frob.com>
40054 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40055 * configure.in: Use it for both main tree and add-ons.
40056 * configure: Regenerated.
40058 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40060 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40062 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40064 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40068 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40069 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40074 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40075 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40076 != 0 for prec == 2.
40077 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40078 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40079 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40080 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40081 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40082 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40083 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40084 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40085 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40086 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40087 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40088 * math/libm-test.inc (cos_test): Add more tests and enable more
40089 tests for long double.
40090 (sin_test): Likewise.
40091 (sincos_test): Likewise.
40092 * sysdeps/i386/fpu/libm-test-ulps: Update.
40093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40095 2012-03-16 David S. Miller <davem@davemloft.net>
40097 * sysdeps/sparc/fpu/math_private.h: New file.
40099 2012-03-15 David S. Miller <davem@davemloft.net>
40101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40115 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40116 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40118 * sysdeps/sparc/sparc-ifunc.h: New file.
40119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40145 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40146 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40164 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40166 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40170 2012-03-15 Andreas Jaeger <aj@suse.de>
40173 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40174 ieee754/flt-32 implementation for sin, cos and sincos.
40175 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40176 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40177 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40178 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40179 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40180 ieee754/flt-32 implementation for tan.
40182 * math/libm-test.inc (cos_test): Enable some large input tests for
40184 (sin_test): Likewise.
40185 (sincos_test): Likewise.
40186 (tan_test): Add tests for large input.
40188 * sysdeps/i386/fpu/libm-test-ulps: Update.
40190 2012-03-15 Andreas Jaeger <aj@suse.de>
40193 * math/libm-test.inc (cos_test): Add more test cases.
40194 (sin_test): Likewise.
40195 (sincos_test): Likewise.
40197 2012-03-15 Andreas Jaeger <aj@suse.de>
40200 * math/libm-test.inc (cos_test): Add a test case for large input
40202 (sin_test): Likewise.
40203 (sincos_test): Likewise.
40205 2012-03-15 Andreas Jaeger <aj@suse.de>
40206 Joseph Myers <joseph@codesourcery.com>
40209 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40210 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40211 * sysdeps/i386/fpu/branred.c: Likewise.
40212 * sysdeps/i386/fpu/dosincos.c: Likewise.
40213 * sysdeps/i386/fpu/mpa.c: Likewise.
40214 * sysdeps/i386/fpu/s_cos.S: Likewise.
40215 * sysdeps/i386/fpu/s_sin.S: Likewise.
40216 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40217 * sysdeps/i386/fpu/sincos32.c: Likewise.
40219 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40221 (libc_feupdateenv_53bit): Define.
40222 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40224 (libc_feupdateenv_53bit): Define.
40226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40227 53 bit (without extend i386 double precision).
40229 * math/libm-test.inc (sincos_test): Add tests for large input.
40233 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40235 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40239 2012-03-15 David S. Miller <davem@davemloft.net>
40241 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40242 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40243 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40244 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40269 fmin/fmax sysdep routines.
40270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40272 2012-03-14 David S. Miller <davem@davemloft.net>
40274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40346 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40351 * sysdeps/sparc/configure.in: New file.
40352 * sysdeps/sparc/configure: Generate.
40353 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40354 * configure: Regenerate.
40355 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40356 * config.make.in (have-as-vis3): New.
40357 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40358 available use -Av9d instead of -Av9a.
40359 * sysdeps/sparc/sparc64/Makefile: Likewise.
40360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40375 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40376 fzeros/fnegs to load 0x80000000 into a float register instead of
40378 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40380 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40384 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40385 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40386 ($(inst_includedir)/bits/syscall.h): Remove rule.
40387 ($(objpfx)bits/syscall.d): Include instead of
40388 $(objpfx)syscall-list.d.
40389 (generated): Change syscall-list.h and syscall-list.d to
40390 bits/syscall.h and bits/syscall.d.
40392 2012-03-14 Roland McGrath <roland@hack.frob.com>
40395 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40397 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40400 * math/s_csqrt.c: Include <float.h>.
40401 (__csqrt): Scale large or subnormal inputs.
40402 * math/s_csqrtf.c: Likewise.
40403 * math/s_csqrtl.c: Likewise.
40404 * math/libm-test.inc (csqrt_test): Add more tests.
40405 * sysdeps/i386/fpu/libm-test-ulps: Update.
40406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40409 * math/libm-test.inc (hypot_test): Add more tests.
40411 2012-03-13 David S. Miller <davem@davemloft.net>
40414 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40415 double-precision for the calculation instead of scaling.
40417 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40420 manipulate bits before adding and subtracting TWO52[sx].
40421 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40424 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40426 2012-03-13 David S. Miller <davem@davemloft.net>
40428 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40429 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40431 rtld-global-offsets.h
40432 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40434 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40437 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40439 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40440 'err' in the ifdef scope in which it is actually used.
40442 * nss/nss_db/db-init.c: Include string.h
40444 2012-03-12 David S. Miller <davem@davemloft.net>
40446 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40447 masking out of the most significant byte of random value used.
40448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40449 Fix coding style in previous change.
40451 * sysdeps/unix/sysv/linux/kernel-features.h
40452 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40453 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40455 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40458 2012-03-11 David S. Miller <davem@davemloft.net>
40460 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40461 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40462 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40463 for 'resultvar' otherwise things get truncated on 64-bit.
40465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40466 Fix masking out of the most significant byte of random value used.
40468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40470 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40474 2012-03-09 David S. Miller <davem@davemloft.net>
40476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40477 variables with appropriate CPP guards.
40478 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40479 from the frame pointer, not the stack pointer. Correct layout
40480 comments. Fix test on resulting framesize and the management of
40481 the outregs buffer for pltexit. Preserve floating point return
40482 values across _dl_call_pltexit call.
40483 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40484 framesize and the management of the outregs buffer for pltexit.
40485 Preserve floating point return values across _dl_call_pltexit
40487 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40488 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40489 (la_sparc64_gnu_pltexit): New functions.
40490 (print_exit): Fix format string for return register value.
40492 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40494 * sunrpc/Makefile (others): Add rpcgen.
40495 ($(objpfx)rpcgen): Remove special build rule and dependency on
40497 * sunrpc/rpcgen.c: New file.
40499 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40502 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40503 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40504 * sysdeps/i386/crti.S: Likewise.
40505 * sysdeps/i386/crtn.S: Likewise.
40506 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40507 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40508 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40509 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40510 * sysdeps/sh/crti.S: Likewise.
40511 * sysdeps/sh/crtn.S: Likewise.
40512 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40515 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40517 * locale/programs/locfile-kw.gperf: Likewise.
40518 * locale/programs/charmap-kw.h: Regenerated.
40519 * locale/programs/locfile-kw.h: Likewise.
40522 * intl/plural.y: Replace FSF snail mail address with URL.
40523 * intl/plural.c: Regenerated.
40525 2012-03-09 Richard Henderson <rth@twiddle.net>
40527 * include/math_private.h: Remove file.
40528 * math/math_private.h: Move file ...
40529 * sysdeps/generic/math_private.h: ... here.
40531 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40532 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40533 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40535 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40536 and <math_private.h>.
40537 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40538 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40539 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40540 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40541 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40542 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40543 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40545 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40549 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40551 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40553 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40558 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40559 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40561 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40563 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40564 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40567 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40569 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40570 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40571 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40572 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40573 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40574 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40575 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40577 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40578 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40579 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40580 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40581 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40582 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40583 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40584 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40585 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40586 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40587 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40588 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40589 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40590 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40591 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40592 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40593 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40594 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40595 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40596 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40598 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40599 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40600 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40601 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40602 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40603 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40604 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40605 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40606 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40608 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40615 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40617 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40619 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40620 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40621 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40624 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40630 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40632 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40637 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40638 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40639 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40640 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40645 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40646 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40647 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40648 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40649 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40651 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40653 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40654 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40655 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40656 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40657 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40658 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40659 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40660 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40661 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40664 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40666 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40667 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40668 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40670 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40671 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40672 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40673 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40674 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40675 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40676 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40678 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40679 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40680 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40681 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40682 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40683 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40684 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40685 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40686 * sysdeps/ieee754/k_standard.c: Likewise.
40687 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40688 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40689 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40690 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40691 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40692 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40693 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40694 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40695 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40699 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40700 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40701 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40702 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40703 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40704 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40705 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40706 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40707 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40708 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40709 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40710 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40711 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40715 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40721 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40729 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40730 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40731 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40732 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40738 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40739 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40740 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40741 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40742 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40745 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40747 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40748 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40749 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40754 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40759 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40760 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40764 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40771 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40772 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40775 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40780 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40791 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40792 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40793 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40794 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40795 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40798 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40799 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40800 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40802 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40803 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40804 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40805 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40806 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40807 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40808 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40809 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40810 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40811 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40812 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40815 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40817 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40818 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40819 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40820 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40821 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40822 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40823 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40824 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40825 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40826 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40827 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40828 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40829 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40833 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40836 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40837 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40838 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40840 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40842 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40843 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40844 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40845 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40847 * sysdeps/ieee754/s_lib_version.c: Likewise.
40848 * sysdeps/ieee754/s_matherr.c: Likewise.
40849 * sysdeps/ieee754/s_signgam.c: Likewise.
40850 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40851 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40852 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40853 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40854 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40855 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40856 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40857 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40858 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40859 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40860 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40861 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40862 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40863 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40864 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40865 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40866 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40867 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40868 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40872 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40874 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40875 * sunrpc/rpc_main.c: Likewise.
40876 * sunrpc/rpc_svcout.c: Likewise.
40878 2012-03-09 David S. Miller <davem@davemloft.net>
40880 * include/math_private.h: New file.
40882 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40884 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40885 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40886 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40887 from <bits/socket_type.h>.
40888 (enum __socket_type): Don't define here.
40889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40891 bits/socket_type.h.
40894 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40895 checking __USE_GNU.
40897 * Makerules ($(inst_includedir)/%.h): New rule.
40898 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40899 (install-others): Remove variable setting.
40900 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40902 2012-03-08 Richard Henderson <rth@twiddle.net>
40904 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40905 from macro to inline function; merge with the
40906 !__LIBC_INTERNAL_MATH_INLINES version.
40907 (__ieee754_sqrtf): Likewise.
40909 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40910 to inline function.
40911 (__rintf, __floor, __floorf): Likewise.
40913 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40914 macro to inline function.
40915 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40918 not <math/math_private.h>.
40920 2012-03-08 David S. Miller <davem@davemloft.net>
40922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40924 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40926 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40928 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40930 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40931 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40933 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40935 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40936 be defined individually, they must be defined as a block. Define
40937 S for printing a string instead of hidint the different by using a
40938 macro for adding the 'l'.
40939 * stdio-common/tst-fphex-wide.c: Adjust.
40941 2012-03-07 Marek Polacek <polacek@redhat.com>
40943 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40945 2012-03-08 Marek Polacek <polacek@redhat.com>
40948 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40949 * stdio-common/tst-fphex.c: Define a few macros to make the
40950 test reusable. Use them.
40951 * stdio-common/tst-fphex-wide.c: New file.
40953 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40956 * manual/macros.texi (gnusystems): New macro.
40957 (nongnusystems): Likewise.
40958 (gnulinuxhurdsystems): Likewise.
40959 (gnuhurdsystems): Likewise..
40960 (gnulinuxsystems): Likewise.
40961 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40962 variants of the GNU system, not "GNU system".
40963 * manual/conf.texi: Likewise.
40964 * manual/errno.texi: Likewise. Update example of errno macro
40966 * manual/filesys.texi: Likewise.
40967 (getumask): Document as specific to GNU/Hurd.
40968 * manual/install.texi: Likewise. Reword some references to
40970 * manual/intro.texi: Likewise.
40971 * manual/io.texi: Likewise.
40972 (File Name Portability): Detail which constraints are inapplicable
40973 to all GNU systems and which are only inapplicable to GNU/Hurd.
40974 * manual/job.texi: Likewise.
40975 * manual/llio.texi: Likewise.
40976 (O_NOCTTY): Document as present on GNU/Linux.
40977 * manual/maint.texi: Likewise.
40978 * manual/memory.texi: Likewise.
40979 * manual/pattern.texi: Likewise.
40980 * manual/pipe.texi: Likewise.
40981 * manual/process.texi: Likewise.
40982 * manual/resource.texi: Likewise.
40983 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40985 * manual/setjmp.texi: Likewise.
40986 * manual/signal.texi: Likewise.
40987 * manual/startup.texi: Likewise.
40988 * manual/stdio.texi: Likewise.
40989 * manual/terminal.texi: Likewise.
40990 (ONLCR): Document as POSIX.
40991 (OXTABS): Document availability on GNU/Linux as XTABS.
40992 (ONOEOT): Document availability separately from other bits.
40993 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40994 * manual/time.texi: Likewise.
40995 * manual/users.texi: Likewise.
40996 * INSTALL: Regenerated.
40997 * sysdeps/gnu/errlist.c: Regenerated.
40999 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41000 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41001 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41003 * configure: Regenerated.
41005 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41007 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41008 default includes instead of AC_HEADER_CHECK.
41009 * sysdeps/i386/configure: Regenerated.
41012 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41013 * math/s_cacoshf.c (__cacoshf): Likewise.
41014 * math/s_cacoshl.c (__cacoshl): Likewise.
41015 * math/s_casinh.c (__casinh): Set signs of result from argument.
41016 * math/s_casinhf.c (__casinhf): Likewise.
41017 * math/s_casinhl.c (__casinhl): Likewise.
41018 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41019 (casinh_test): Add more tests.
41020 * sysdeps/i386/fpu/libm-test-ulps: Update.
41021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41023 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41025 * po/zh_TW.po: Update from translation team.
41027 * login/Makefile (distribute): Remove variable.
41028 * catgets/Makefile: Likewise.
41029 * mach/Makefile: Likewise.
41030 * malloc/Makefile: Likewise.
41031 * misc/Makefile: Likewise.
41032 * iconv/Makefile: Likewise.
41033 * nscd/Makefile: Likewise.
41034 * hurd/Makefile: Likewise.
41035 * manual/Makefile: Likewise.
41036 * locale/Makefile: Likewise.
41037 * intl/Makefile: Likewise.
41038 * conform/Makefile: Likewise.
41039 * nss/Makefile: Likewise.
41040 * time/Makefile: Likewise.
41041 * soft-fp/Makefile: Likewise.
41042 * dirent/Makefile: Likewise.
41043 * gmon/Makefile: Likewise.
41044 * po/Makefile: Likewise.
41045 * rt/Makefile: Likewise.
41046 * socket/Makefile: Likewise.
41047 * math/Makefile: Likewise.
41048 * signal/Makefile: Likewise.
41049 * debug/Makefile: Likewise.
41050 * elf/Makefile: Likewise.
41051 * timezone/Makefile: Likewise.
41052 * stdlib/Makefile: Likewise.
41053 * iconvdata/Makefile: Likewise.
41054 * sunrpc/Makefile: Likewise.
41055 * io/Makefile: Likewise.
41056 * argp/Makefile: Likewise.
41057 * inet/Makefile: Likewise.
41058 * hesiod/Makefile: Likewise.
41059 * grp/Makefile: Likewise.
41060 * csu/Makefile: Likewise.
41061 * wctype/Makefile: Likewise.
41062 * crypt/Makefile: Likewise.
41063 * libio/Makefile: Likewise.
41064 * string/Makefile: Likewise.
41065 * nis/Makefile: Likewise.
41066 * resolv/Makefile: Likewise.
41067 * stdio-common/Makefile: Likewise.
41068 * wcsmbs/Makefile: Likewise.
41069 * dlfcn/Makefile: Likewise.
41070 * posix/Makefile: Likewise.
41073 * timezone/Makefile: Don't install timezone files, just the programs
41076 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41078 * nss/databases.def: Add missing gshadow entry.
41080 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41082 2012-03-06 Marek Polacek <polacek@redhat.com>
41085 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41086 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41087 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41088 * stdio-common/tst-long-dbl-fphex.c: New file.
41090 2012-03-06 David S. Miller <davem@davemloft.net>
41092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41093 (set_obp_int): New function.
41094 (get_obp_int): New function.
41095 (__get_clockfreq_via_dev_openprom): Likewise.
41096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41097 Avoid unused variable warnings on 'val' and use builtin_expect.
41098 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41100 (INLINE_CLONE_SYSCALL): Likewise.
41102 2012-03-05 David S. Miller <davem@davemloft.net>
41104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41106 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41111 only for |x| >= 40.
41112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41114 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41117 Replace gettimeofday with __vdso_gettimeofday.
41119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41120 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41121 __vdso_clock_gettime and __vdso_getcpu.
41123 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41124 time with __vdso_time.
41126 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41128 * manual/lang.texi (size_t): Note types to which size_t may be
41129 equivalent with the GNU C Library, but do not describe when
41130 differences between them are significant.
41132 2012-03-05 Andreas Jaeger <aj@suse.de>
41134 * sysdeps/i386/fpu/libm-test-ulps: Update.
41136 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41139 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41140 (__ieee754_pow): Save and restore rounding mode and use
41141 round-to-nearest for main computations.
41142 * math/libm-test.inc (pow_test_tonearest): New function.
41143 (pow_test_towardzero): Likewise.
41144 (pow_test_downward): Likewise.
41145 (pow_test_upward): Likewise.
41146 (main): Call the new functions.
41147 * sysdeps/i386/fpu/libm-test-ulps: Update.
41148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41151 * math/libm-test.inc (cosh_test_tonearest): New function.
41152 (cosh_test_towardzero): Likewise.
41153 (cosh_test_downward): Likewise.
41154 (cosh_test_upward): Likewise.
41155 (sinh_test_tonearest): Likewise.
41156 (sinh_test_towardzero): Likewise.
41157 (sinh_test_downward): Likewise.
41158 (sinh_test_upward): Likewise.
41159 (main): Call the new functions.
41160 * sysdeps/i386/fpu/libm-test-ulps: Update.
41161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41163 2012-03-05 Tom de Vries <tom@codesourcery.com>
41165 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41166 default stack guard is set in last bytes.
41167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41169 2012-03-05 Kees Cook <keescook@chromium.org>
41171 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41174 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41175 possibly allocate from heap instead of stack.
41176 * stdio-common/bug-vfprintf-nargs.c: New file.
41177 * stdio-common/Makefile (tests): Add nargs overflow test.
41179 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41183 2012-03-03 Marek Polacek <polacek@redhat.com>
41185 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41186 * math/math_private.h: Likewise.
41187 * stdlib/tst-strtod.c: Likewise.
41188 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41189 * sysdeps/x86_64/bits/atomic.h: Likewise.
41191 2012-03-02 David S. Miller <davem@davemloft.net>
41193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41197 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41198 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41199 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41200 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41202 2012-03-02 Roland McGrath <roland@hack.frob.com>
41205 * manual/examples/README: New file, says the example source files
41206 can be used under GPL>=2.
41207 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41208 line containing just "*/".
41209 * manual/examples/add.c: Add copyright header (GPL>=2).
41210 * manual/examples/argp-ex1.c: Likewise.
41211 * manual/examples/argp-ex2.c: Likewise.
41212 * manual/examples/argp-ex3.c: Likewise.
41213 * manual/examples/argp-ex4.c: Likewise.
41214 * manual/examples/atexit.c: Likewise.
41215 * manual/examples/db.c: Likewise.
41216 * manual/examples/dir.c: Likewise.
41217 * manual/examples/dir2.c: Likewise.
41218 * manual/examples/execinfo.c: Likewise.
41219 * manual/examples/filecli.c: Likewise.
41220 * manual/examples/filesrv.c: Likewise.
41221 * manual/examples/fmtmsgexpl.c: Likewise.
41222 * manual/examples/genpass.c: Likewise.
41223 * manual/examples/inetcli.c: Likewise.
41224 * manual/examples/inetsrv.c: Likewise.
41225 * manual/examples/isockad.c: Likewise.
41226 * manual/examples/longopt.c: Likewise.
41227 * manual/examples/memopen.c: Likewise.
41228 * manual/examples/memstrm.c: Likewise.
41229 * manual/examples/mkfsock.c: Likewise.
41230 * manual/examples/mkisock.c: Likewise.
41231 * manual/examples/mygetpass.c: Likewise.
41232 * manual/examples/pipe.c: Likewise.
41233 * manual/examples/popen.c: Likewise.
41234 * manual/examples/rprintf.c: Likewise.
41235 * manual/examples/search.c: Likewise.
41236 * manual/examples/select.c: Likewise.
41237 * manual/examples/setjmp.c: Likewise.
41238 * manual/examples/sigh1.c: Likewise.
41239 * manual/examples/sigusr.c: Likewise.
41240 * manual/examples/stpcpy.c: Likewise.
41241 * manual/examples/strdupa.c: Likewise.
41242 * manual/examples/strftim.c: Likewise.
41243 * manual/examples/strncat.c: Likewise.
41244 * manual/examples/subopt.c: Likewise.
41245 * manual/examples/swapcontext.c: Likewise.
41246 * manual/examples/termios.c: Likewise.
41247 * manual/examples/testopt.c: Likewise.
41248 * manual/examples/testpass.c: Likewise.
41249 * manual/examples/timeval_subtract.c: Likewise.
41252 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41254 * manual/timeval_subtract.c.texi: ... here, new file.
41256 2012-03-02 David S. Miller <davem@davemloft.net>
41258 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41260 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41263 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41264 (__sin): Save and restore rounding mode and use round-to-nearest
41265 for all computations.
41266 (__cos): Save and restore rounding mode and use round-to-nearest
41267 for all computations.
41268 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41270 (tan): Save and restore rounding mode and use round-to-nearest for
41272 * math/libm-test.inc (cos_test_tonearest): New function.
41273 (cos_test_towardzero): Likewise.
41274 (cos_test_downward): Likewise.
41275 (cos_test_upward): Likewise.
41276 (sin_test_tonearest): Likewise.
41277 (sin_test_towardzero): Likewise.
41278 (sin_test_downward): Likewise.
41279 (sin_test_upward): Likewise.
41280 (tan_test_tonearest): Likewise.
41281 (tan_test_towardzero): Likewise.
41282 (tan_test_downward): Likewise.
41283 (tan_test_upward): Likewise.
41284 (main): Call the new functions.
41285 * sysdeps/i386/fpu/libm-test-ulps: Update.
41286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41289 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41290 small n, then large n, before computing and testing k+n.
41291 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41296 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41297 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41300 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41301 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41304 * math/libm-test.inc (scalbn_test): Add more tests.
41305 (scalbln_test): Likewise.
41307 * manual/filesys.texi (mode_t): Describe constraints on size and
41308 signedness, not exact equivalence to a particular type.
41310 (ino64_t): Likewise.
41312 (nlink_t): Likewise.
41313 (blkcnt_t): Likewise.
41314 (blkcnt64_t): Likewise.
41315 * manual/llio.texi (off_t): Likewise.
41318 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41319 (__ieee754_exp): Save and restore rounding mode and use
41320 round-to-nearest for all computations.
41321 * math/libm-test.inc (exp_test_tonearest): New function.
41322 (exp_test_towardzero): Likewise.
41323 (exp_test_downward): Likewise.
41324 (exp_test_upward): Likewise.
41325 (main): Call the new functions.
41326 * sysdeps/i386/fpu/libm-test-ulps: Update.
41327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41329 2012-03-01 Chris Demetriou <cgd@google.com>
41331 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41332 have predictable order.
41334 2012-03-01 David S. Miller <davem@davemloft.net>
41336 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41338 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41339 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41340 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41341 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41343 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41344 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41345 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41347 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41348 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41349 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41350 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41351 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41356 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41359 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41362 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41363 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41367 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41368 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41369 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41373 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41375 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41376 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41377 * sysdeps/sparc/elf/configure: Regenerated.
41379 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41381 * configure.in (AS, LD): Require binutils 2.20 or later.
41382 * configure: Regenerated.
41383 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41384 as required minimum version.
41385 * INSTALL: Regenerated.
41389 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41390 before squaring exponent.
41391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41392 bottom long double and 27 bits of top long double before squaring
41394 * math/libm-test.inc (erfc_test): Add more tests.
41395 * sysdeps/i386/fpu/libm-test-ulps: Update.
41396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41399 2012-03-01 Kai Tietz <ktietz@redhat.com>
41401 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41402 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41403 containing bit-fields.
41404 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41405 * soft-fp/single.h (_FP_UNION_S): Likewise.
41406 * soft-fp/double.h (_FP_UNION_D): Likewise.
41408 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41411 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41412 not include ../strcmp.S.
41413 [USE_AS_STRNCASECMP_L]: Likewise.
41414 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41415 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41416 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41417 (__strncasecmp_l_ia32): Define as alias to
41418 __strncasecmp_l_nonascii.
41421 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41422 * sysdeps/i386/fpu/libm-test-ulps: Update.
41423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41425 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41428 2012-02-29 Jeff Law <law@redhat.com>
41430 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41431 out of bounds read.
41433 2012-02-29 Marek Polacek <polacek@redhat.com>
41436 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41437 * elf/Makefile: Add rules to run tst-unused-dep.out.
41439 2012-02-28 David S. Miller <davem@davemloft.net>
41441 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41442 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41445 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41446 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41448 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41450 * math/libm-test.inc (llround_test): Move one test from
41451 lround_test. Use TEST_f_L in moved test.
41452 (lround_test): Move misplaced test to llround_test. Add testcase
41455 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41457 * sysdeps/x86_64/fpu/e_expf.S: New file.
41458 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41460 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41463 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41464 of remain_len that may cause incomplete multi-byte character and
41466 * posix/bug-regex33.c: New file.
41467 * posix/Makefile (tests): Add bug-regex33.
41469 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41471 * manual/macros.texi: New file.
41472 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41473 * manual/libc.texinfo: Include macros.texi.
41474 * manual/creatute.texi: Likewise.
41475 * manual/install.texi: Likewise.
41476 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41477 @glibcadj{} in references to the GNU C Library.
41478 * manual/charset.texi: Likewise.
41479 * manual/conf.texi: Likewise.
41480 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41481 when not using those macros.
41482 * manual/creature.texi: Likewise.
41483 * manual/crypt.texi: Likewise.
41484 * manual/errno.texi: Likewise.
41485 * manual/filesys.texi: Likewise.
41486 * manual/header.texi: Likewise.
41487 * manual/install.texi: Likewise.
41488 * manual/intro.texi: Likewise.
41489 * manual/io.texi: Likewise.
41490 * manual/job.texi: Likewise.
41491 * manual/lang.texi: Likewise.
41492 * manual/libc.texiinfo: Likewise.
41493 * manual/llio.texi: Likewise.
41494 * manual/locale.texi: Likewise.
41495 * manual/maint.texi: Likewise.
41496 * manual/math.texi: Likewise.
41497 * manual/memory.texi: Likewise.
41498 * manual/message.texi: Likewise.
41499 * manual/nss.texi: Likewise.
41500 * manual/pattern.texi: Likewise.
41501 * manual/process.texi: Likewise.
41502 * manual/resource.texi: Likewise.
41503 * manual/search.texi: Likewise.
41504 * manual/setjmp.texi: Likewise.
41505 * manual/signal.texi: Likewise.
41506 * manual/socket.texi: Likewise.
41507 * manual/startup.texi: Likewise.
41508 * manual/stdio.texi: Likewise.
41509 * manual/string.texi: Likewise.
41510 * manual/sysinfo.texi: Likewise.
41511 * manual/syslog.texi: Likewise.
41512 * manual/terminal.texi: Likewise.
41513 * manual/time.texi: Likewise.
41514 * manual/users.texi: Likewise.
41515 * INSTALL: Regenerated.
41516 * NOTES: Regenerated.
41517 * sysdeps/gnu/errlist.c: Regenerated.
41519 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41521 * include/dirent.h: Include <dirstream.h> before
41524 2012-02-28 David S. Miller <davem@davemloft.net>
41526 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41527 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41528 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41529 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41531 2012-02-27 David S. Miller <davem@davemloft.net>
41533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41535 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41536 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41539 frame pointer instead of stack pointer relative arg slot.
41540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41541 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41542 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41544 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41547 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41549 2012-02-27 David S. Miller <davem@davemloft.net>
41551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41555 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41556 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41557 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41558 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41560 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41562 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41563 later. Allow versions 5-9.
41564 * configure: Regenerated.
41565 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41566 required minimum version and 4.6 as recommended version. Do not
41567 mention bugs in GCC 2.7 and 2.8.
41568 * INSTALL: Regenerated.
41570 2012-02-27 David S. Miller <davem@davemloft.net>
41572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41576 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41577 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41578 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41579 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41582 manipulate bits before adding and subtracting TWO112[sx].
41583 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41585 2012-02-27 Roland McGrath <roland@hack.frob.com>
41588 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41589 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41590 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41591 being in POSIX, because they are in 1003.1-2008.
41593 * rt/tst-aio.c: Include <fcntl.h>.
41594 * rt/tst-aio7.c: Likewise.
41595 * rt/tst-aio64.c: Likewise.
41597 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41599 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41601 * manual/install.texi (--with-headers): Describe headers as
41602 interface headers, not private headers.
41603 (Specific advice for GNU/Linux systems): Describe use of headers
41604 from "make headers_install", not private headers from older
41606 * INSTALL: Regenerated.
41607 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41609 * sysdeps/unix/sysv/linux/configure: Regenerated.
41611 * manual/llio.texi (fclean): Remove documentation.
41613 * manual/Makefile (libc-texi-generated): New variable. Include
41615 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41616 $(libc-texi-generated), not duplicated list of files.
41617 (version.texi, stamp-version): New rules.
41618 (realclean): Remove $(libc-texi-generated), not individual files
41619 from that list. Do not remove dir-add.texinfo.
41620 * manual/libc.texinfo: Comment out uses of edition numbers and
41621 references to printed manual. Remove last-updated dates.
41622 (EDITION): Comment out.
41624 (VERSION, UPDATED): Remove.
41625 (version.texi): Include.
41627 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41629 * sysdeps/posix/spawni.c: Include <signal.h>.
41630 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41631 * sysdeps/pthread/aio_fsync.c: Likewise.
41633 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41635 * conform/Makefile (tests): Run only when not cross-compiling and
41636 when fast-check is not defined.
41638 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41639 * conform/data/limits.h-data: Fixes for POSIX2008.
41640 * conform/run-conformtest.sh: Run all tests.
41641 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41643 * include/bits/dlfcn.h: Likewise.
41644 * include/langinfo.h: Likewise.
41645 * include/monetary.h: Likewise.
41646 * include/sys/poll.h: Likewise.
41648 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41650 * posix/spawn.h: Define __need_sigset_t.
41651 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41652 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41653 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41654 to get sigevent_t only.
41655 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41656 only for __USE_GNU.
41657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41658 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41659 process_vm_writev only for __USE_GNU.
41660 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41662 * conform/Makefile: For now ignore errors from run-conformtest.
41663 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41664 POSIX to avoid namespace pollution. Don't prepend headers.
41665 * conform/data/aio.h-data: Fixes for POSIX testing.
41666 * conform/data/fcntl.h-data: Likewise.
41667 * conform/data/glob.h-data: Likewise.
41668 * conform/data/grp.h-data: Likewise.
41669 * conform/data/pthread.h-data: Likewise.
41670 * conform/data/pwd.h-data: Likewise.
41671 * conform/data/signal.h-data: Likewise.
41672 * conform/data/spawn.h-data: Likewise.
41673 * conform/data/stdio.h-data: Likewise.
41674 * conform/data/stdlib.h-data: Likewise.
41675 * conform/data/stropts.h-data: Likewise.
41676 * conform/data/sys/mman.h-data: Likewise.
41677 * conform/data/sys/stat.h-data: Likewise.
41678 * conform/data/sys/types.h-data: Likewise.
41679 * conform/data/sys/wait.h-data: Likewise.
41680 * conform/data/time.h-data: Likewise.
41681 * conform/data/unistd.h-data: Likewise.
41682 * conform/data/utime.h-data: Likewise.
41684 * io/sys/stat.h: fchmod was always in POSIX.
41685 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41686 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41687 * rt/aio.h: Define __need_timespec before including <time.h>.
41688 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41689 struct. Add forward declaration of pthread_attr_t and use it in
41691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41693 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41694 always remove CLK_TCK definition.
41696 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41698 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41700 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41702 * conform/run-conformtest.sh: New file.
41703 * conform/Makefile: Run run-conformtest for tests.
41704 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41707 * conform/data/uchar.h-data: New file.
41708 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41709 * conform/data/arpa/inet.h-data: Likewise.
41710 * conform/data/assert.h-data: Likewise.
41711 * conform/data/complex.h-data: Likewise.
41712 * conform/data/cpio.h-data: Likewise.
41713 * conform/data/ctype.h-data: Likewise.
41714 * conform/data/dirent.h-data: Likewise.
41715 * conform/data/dlfcn.h-data: Likewise.
41716 * conform/data/errno.h-data: Likewise.
41717 * conform/data/fcntl.h-data: Likewise.
41718 * conform/data/float.h-data: Likewise.
41719 * conform/data/fmtmsg.h-data: Likewise.
41720 * conform/data/fnmatch.h-data: Likewise.
41721 * conform/data/ftw.h-data: Likewise.
41722 * conform/data/glob.h-data: Likewise.
41723 * conform/data/grp.h-data: Likewise.
41724 * conform/data/iconv.h-data: Likewise.
41725 * conform/data/inttypes.h-data: Likewise.
41726 * conform/data/langinfo.h-data: Likewise.
41727 * conform/data/libgen.h-data: Likewise.
41728 * conform/data/limits.h-data: Likewise.
41729 * conform/data/locale.h-data: Likewise.
41730 * conform/data/math.h-data: Likewise.
41731 * conform/data/monetary.h-data: Likewise.
41732 * conform/data/mqueue.h-data: Likewise.
41733 * conform/data/ndbm.h-data: Likewise.
41734 * conform/data/net/if.h-data: Likewise.
41735 * conform/data/netdb.h-data: Likewise.
41736 * conform/data/netinet/in.h-data: Likewise.
41737 * conform/data/nl_types.h-data: Likewise.
41738 * conform/data/poll.h-data: Likewise.
41739 * conform/data/pthread.h-data: Likewise.
41740 * conform/data/pwd.h-data: Likewise.
41741 * conform/data/regex.h-data: Likewise.
41742 * conform/data/sched.h-data: Likewise.
41743 * conform/data/search.h-data: Likewise.
41744 * conform/data/semaphore.h-data: Likewise.
41745 * conform/data/setjmp.h-data: Likewise.
41746 * conform/data/signal.h-data: Likewise.
41747 * conform/data/spawn.h-data: Likewise.
41748 * conform/data/stdarg.h-data: Likewise.
41749 * conform/data/stdio.h-data: Likewise.
41750 * conform/data/stdlib.h-data: Likewise.
41751 * conform/data/string.h-data: Likewise.
41752 * conform/data/strings.h-data: Likewise.
41753 * conform/data/stropts.h-data: Likewise.
41754 * conform/data/sys/ipc.h-data: Likewise.
41755 * conform/data/sys/mman.h-data: Likewise.
41756 * conform/data/sys/msg.h-data: Likewise.
41757 * conform/data/sys/resource.h-data: Likewise.
41758 * conform/data/sys/select.h-data: Likewise.
41759 * conform/data/sys/sem.h-data: Likewise.
41760 * conform/data/sys/shm.h-data: Likewise.
41761 * conform/data/sys/socket.h-data: Likewise.
41762 * conform/data/sys/stat.h-data: Likewise.
41763 * conform/data/sys/statvfs.h-data: Likewise.
41764 * conform/data/sys/time.h-data: Likewise.
41765 * conform/data/sys/timeb.h-data: Likewise.
41766 * conform/data/sys/times.h-data: Likewise.
41767 * conform/data/sys/types.h-data: Likewise.
41768 * conform/data/sys/uio.h-data: Likewise.
41769 * conform/data/sys/un.h-data: Likewise.
41770 * conform/data/sys/utsname.h-data: Likewise.
41771 * conform/data/sys/wait.h-data: Likewise.
41772 * conform/data/syslog.h-data: Likewise.
41773 * conform/data/tar.h-data: Likewise.
41774 * conform/data/termios.h-data: Likewise.
41775 * conform/data/utime.h-data: Likewise.
41776 * conform/data/utmpx.h-data: Likewise.
41777 * conform/data/varargs.h-data: Likewise.
41778 * conform/data/wchar.h-data: Likewise.
41779 * conform/data/wctype.h-data: Likewise.
41780 * conform/data/wordexp.h-data: Likewise.
41782 * include/stropts.h: New file.
41783 * include/uchar.h: New file.
41784 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41785 * include/assert.h: Likewise.
41786 * include/ctype.h: Likewise.
41787 * include/dirent.h: Likewise.
41788 * include/dlfcn.h: Likewise.
41789 * include/fcntl.h: Likewise.
41790 * include/fnmatch.h: Likewise.
41791 * include/glob.h: Likewise.
41792 * include/grp.h: Likewise.
41793 * include/libio.h: Likewise.
41794 * include/locale.h: Likewise.
41795 * include/math.h: Likewise.
41796 * include/net/if.h: Likewise.
41797 * include/netdb.h: Likewise.
41798 * include/netinet/in.h: Likewise.
41799 * include/pthread.h: Likewise.
41800 * include/pwd.h: Likewise.
41801 * include/regex.h: Likewise.
41802 * include/sched.h: Likewise.
41803 * include/search.h: Likewise.
41804 * include/setjmp.h: Likewise.
41805 * include/signal.h: Likewise.
41806 * include/stdio.h: Likewise.
41807 * include/stdlib.h: Likewise.
41808 * include/string.h: Likewise.
41809 * include/sys/cdefs.h: Likewise.
41810 * include/sys/mman.h: Likewise.
41811 * include/sys/msg.h: Likewise.
41812 * include/sys/resource.h: Likewise.
41813 * include/sys/select.h: Likewise.
41814 * include/sys/socket.h: Likewise.
41815 * include/sys/stat.h: Likewise.
41816 * include/sys/statvfs.h: Likewise.
41817 * include/sys/time.h: Likewise.
41818 * include/sys/times.h: Likewise.
41819 * include/sys/uio.h: Likewise.
41820 * include/sys/utsname.h: Likewise.
41821 * include/sys/wait.h: Likewise.
41822 * include/termios.h: Likewise.
41823 * include/time.h: Likewise.
41824 * include/ulimit.h: Likewise.
41825 * include/unistd.h: Likewise.
41826 * include/utime.h: Likewise.
41827 * include/wchar.h: Likewise.
41828 * include/wctype.h: Likewise.
41829 * include/wordexp.h: Likewise.
41831 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41833 * time/time.h: TIME_UTC must be a macro.
41834 Make timespec_get available for ISO C11 only as well.
41836 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41838 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41839 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41841 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41843 * configure.in: Use -o not -a in test for unsupported multi-arch.
41845 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41847 * manual/texinfo.tex: Update to version 2012-01-19.16.
41849 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41851 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41853 2012-02-24 Roland McGrath <roland@hack.frob.com>
41856 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41857 * manual/fdl-1.3.texi: New file.
41858 * manual/fdl-1.1.texi: File removed.
41861 * manual/libc.texinfo (FDL_VERSION): New @set.
41862 Use it for mention of FDL in cover text.
41863 (Documentation License): Use it in @include file name.
41865 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41866 Roland McGrath <roland@hack.frob.com>
41869 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41870 (not LONG_LONG_MAX and LONG_LONG_MIN.
41871 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41872 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41874 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41876 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41880 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41881 manipulate bits before adding and subtracting TWO23[sx].
41882 * math/libm-test.inc (nearbyint_test): Add more tests.
41884 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41887 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41888 bits before adding and subtracting TWO23[sx].
41889 * math/libm-test.inc (rint_test): Add more tests.
41890 (rint_test_tonearest): Likewise.
41891 (rint_test_towardzero): Likewise.
41892 (rint_test_downward): Likewise.
41893 (rint_test_upward: Likewise.
41895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41898 * include/stdc-predef.h: New file. Extracted from features.h.
41899 * include/features.h: Include stdc-predef.h.
41900 * Makefile (headers): Add stdc-predef.h.
41901 * CONFORMANCE (Compiler limitations): Update.
41903 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41905 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41907 2012-02-21 David S. Miller <davem@davemloft.net>
41909 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41910 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41912 2012-02-20 David S. Miller <davem@davemloft.net>
41914 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41915 using a normal save/restore sequence, rather than allocating a
41916 dummy stack frame just to store a frame pointer and restore.
41917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41919 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41921 * manual/install.texi: Fix stray word in line-wrapped comment.
41923 2012-02-20 David S. Miller <davem@davemloft.net>
41925 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41926 both binutils and gcc support GOTDATA.
41928 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41929 "rd %pc" in the PIC register setup sequences.
41931 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41932 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41933 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41934 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41935 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41938 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41940 (SYSCALL_ERROR_HANDLER): Likewise.
41941 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41944 (SYSCALL_ERROR_HANDLER): Likewise.
41946 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41947 (HAVE_GCC_GOTDATA): New.
41948 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41949 relocation support in both binutils and gcc.
41950 * sysdeps/sparc/elf/configure: Regenerate.
41952 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41953 * sysdeps/sparc/sparc32/elf/configure: Delete.
41954 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41955 * sysdeps/sparc/sparc64/elf/configure: Delete.
41956 * sysdeps/sparc/elf/configure.in: New file.
41957 * sysdeps/sparc/elf/configure: Generate.
41959 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41960 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41961 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41962 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41963 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41965 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41967 * manual/install.texi: Do not mention specific glibc version
41969 * manual/libc.texinfo (VERSION, UPDATED): Update.
41970 (@copying): Use @copyright{} and range of years.
41972 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41975 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41976 [crti.S not in sysdirs] (generated): Do not append.
41977 [crti.S not in sysdirs] (omit-deps): Likewise.
41978 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41979 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41980 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41981 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41982 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41984 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41985 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41986 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41987 * csu/defs.awk: Remove file.
41988 * sysdeps/generic/initfini.c: Likewise.
41989 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41991 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41994 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41996 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41997 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41998 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42000 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42001 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42003 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42004 (__EPOLL_PACKED): Define to empty if not defined by
42006 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42010 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42012 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42013 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42014 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42015 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42017 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42021 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42023 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42026 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42030 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42032 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42033 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42035 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42037 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42038 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42040 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42042 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42045 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42047 * math/w_acos.c: Use non-signaling floating-point comparisons.
42048 * math/w_acosf.c: Likewise.
42049 * math/w_acosh.c: Likewise.
42050 * math/w_acoshf.c: Likewise.
42051 * math/w_acoshl.c: Likewise.
42052 * math/w_acosl.c: Likewise.
42053 * math/w_asin.c: Likewise.
42054 * math/w_asinf.c: Likewise.
42055 * math/w_asinl.c: Likewise.
42056 * math/w_atanh.c: Likewise.
42057 * math/w_atanhf.c: Likewise.
42058 * math/w_atanhl.c: Likewise.
42059 * math/w_exp2.c: Likewise.
42060 * math/w_exp2f.c: Likewise.
42061 * math/w_exp2l.c: Likewise.
42062 * math/w_j0.c: Likewise.
42063 * math/w_j0f.c: Likewise.
42064 * math/w_j0l.c: Likewise.
42065 * math/w_j1.c: Likewise.
42066 * math/w_j1f.c: Likewise.
42067 * math/w_j1l.c: Likewise.
42068 * math/w_jn.c: Likewise.
42069 * math/w_jnf.c: Likewise.
42070 * math/w_log.c: Likewise.
42071 * math/w_log10.c: Likewise.
42072 * math/w_log10f.c: Likewise.
42073 * math/w_log10l.c: Likewise.
42074 * math/w_log2.c: Likewise.
42075 * math/w_log2f.c: Likewise.
42076 * math/w_log2l.c: Likewise.
42077 * math/w_logf.c: Likewise.
42078 * math/w_logl.c: Likewise.
42079 * math/w_sqrt.c: Likewise.
42080 * math/w_sqrtf.c: Likewise.
42081 * math/w_sqrtl.c: Likewise.
42082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42083 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42084 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42085 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42086 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42088 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42091 * manual/string.texi (strnlen): Use correct parameter name in
42092 equivalent expression.
42094 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42097 * manual/users.texi (seteuid): Consistently use neweuid for
42100 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42103 * manual/nss.texi (Services in the NSS configuration): Correct
42104 list of services in example configuration file.
42106 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42109 * manual/arith.texi: Remove statements about negative zero
42110 behaving identically to zero.
42112 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42115 * manual/install.texi: Do not document upgrading from libc5.
42117 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42120 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42122 2012-02-18 David S. Miller <davem@davemloft.net>
42124 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42125 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42126 %o7 across the call.
42127 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42130 SETUP_PIC_REG_LEAF.
42131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42132 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42133 * sysdeps/sparc/crtn.S: Likewise.
42135 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42137 * aout/Makefile: Remove.
42139 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42142 * manual/examples/argp-ex1.c (main): Format definition in GNU
42144 * manual/examples/argp-ex2.c (main): Likewise.
42145 * manual/examples/argp-ex3.c (main): Likewise.
42146 * manual/examples/argp-ex4.c (main): Likewise.
42147 * manual/examples/longopt.c (main): Use new-style prototype
42149 * manual/examples/strncat.c (main): Specify return type and use
42150 (void) for arguments.
42151 * manual/examples/subopt.c (main): Use char **argv argument.
42153 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42156 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42159 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42162 * manual/string.texi (strchr): Change when strchrnul is
42165 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42168 * manual/locale.texi (setlocale): Document LOCPATH.
42170 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42173 * manual/process.texi (execle): Move @dots{} before last argument.
42175 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42178 * manual/charset.texi (Generic Charset Conversion): Fix typo
42179 (LC_TYPE -> LC_CTYPE).
42181 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42184 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42185 (scalbnf): Likewise.
42186 (scalbnl): Likewise.
42187 (scalbln): Likewise.
42188 (scalblnf): Likewise.
42189 (scalblnl): Likewise.
42190 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42191 (vwarnx): Likewise.
42194 * manual/filesys.texi (telldir): Use braces around return type.
42195 * manual/llio.texi (mmap): Add space after comma.
42196 (mmap64): Likewise.
42197 * manual/math.texi (jn): Use @var{} on parameter names.
42203 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42205 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42207 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42208 (sched_get_priority_max): Likewise.
42209 * manual/signal.texi (sigvec): Add space after comma.
42210 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42212 (if_indextoname): Likewise.
42213 (if_freenameindex): Likewise.
42214 (sendto): Use ',' instead of '.' in prototype.
42215 * manual/startup.texi (syscall): Use @dots{} instead of literal
42217 * manual/stdio.texi (__fpending): Separate initial words of
42218 paragraph from @deftypefun line.
42219 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42221 (vsyslog): Use @var{} on parameter names.
42222 * manual/terminal.texi (stty): Use @var{} on parameter names.
42223 * manual/users.texi (getutmp): Use @var{} on parameter names.
42224 (getutmpx): Likewise.
42226 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42229 * manual/stdio.texi (fopen): Fix typos in description of
42232 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42235 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42236 get clock_id definition.
42238 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42241 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42242 (madvise): Cast every argument to void on its own.
42244 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42247 * manual/startup.texi (Exit Status): Fix typo.
42249 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42252 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42253 * manual/examples/argp-ex2.c: Likewise.
42254 * manual/examples/argp-ex3.c: Likewise.
42256 2012-02-16 Richard Henderson <rth@redhat.com>
42258 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42259 * sysdeps/s390/s390-32/initfini.c: Remove.
42260 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42261 * sysdeps/s390/s390-64/initfini.c: Remove.
42263 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42265 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42266 compiler output for sysdeps/generic/initfini.c.
42267 * sysdeps/sh/elf/initfini.c: Remove file.
42269 2012-02-16 David S. Miller <davem@davemloft.net>
42272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42274 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42275 * sysdeps/sparc/crti.S: New file.
42276 * sysdeps/sparc/crtn.S: New file.
42277 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42278 * sysdeps/sparc/sparc64/Makefile: Likewise.
42280 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42283 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42285 2012-02-15 Roland McGrath <roland@hack.frob.com>
42288 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42290 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42291 (write, read, close): Likewise.
42292 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42294 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42296 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42297 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42298 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42299 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42301 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42305 2012-02-14 Marek Polacek <polacek@redhat.com>
42307 * sysdeps/x86_64/crti.S: New file.
42308 * sysdeps/x86_64/crtn.S: New file.
42309 * sysdeps/x86_64/elf/initfini.c: Remove file.
42311 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42313 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42314 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42315 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42316 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42318 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42322 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42324 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42325 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42326 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42327 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42329 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42333 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42335 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42336 __feraiseexcept instead of feraiseexcept.
42338 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42339 nanosleep invocations.
42340 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42341 strings, and add error checking for a nanosleep invocations.
42343 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42345 Replace FSF snail mail address with URLs, as per GNU coding standards.
42346 Most of the snail mail addresses were wrong anyway, and omitting
42347 them makes the source code easier to maintain. Almost all of the
42348 changes are to license notices and to locale LC_IDENTIFICATION
42349 addresses, except for this one:
42350 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42351 not its snail mail address.
42353 2012-02-09 Richard Henderson <rth@twiddle.net>
42355 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42356 of kernel-features.h.
42358 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42360 2012-02-08 Marek Polacek <polacek@redhat.com>
42362 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42363 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42364 * sysdeps/gnu/_G_config.h: Likewise.
42365 * sysdeps/generic/_G_config.h: Likewise.
42367 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42369 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42373 * sysdeps/powerpc/powerpc32/crti.S: New file.
42374 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42375 * sysdeps/powerpc/powerpc64/crti.S: New file.
42376 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42378 * Makeconfig (have-initfini): Don't set.
42379 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42380 * configure.in (nopic_initfini): Don't substitute.
42381 * config.h.in (HAVE_INITFINI): Don't #undef.
42382 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42383 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42385 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42387 Support crti.S and crtn.S provided directly by architectures.
42388 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42389 [crti.S in sysdirs] (omit-deps): Likewise.
42390 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42391 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42392 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42393 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42394 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42395 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42396 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42397 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42398 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42399 compiler output for sysdeps/generic/initfini.c.
42400 * sysdeps/i386/elf/Makefile: Remove file.
42401 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42403 2012-02-07 Marek Polacek <polacek@redhat.com>
42405 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42406 * sysdeps/gnu/_G_config.h: Likewise.
42407 * sysdeps/mach/hurd/_G_config.h: Likewise.
42409 2012-02-07 Marek Polacek <polacek@redhat.com>
42411 * math/Makefile (tests): Add tst-CMPLX2.
42412 * math/tst-CMPLX2.c: New file.
42414 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42416 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42418 * math/libm-test.inc (jn_test): Add missing L suffix.
42420 2012-02-06 Marek Polacek <polacek@redhat.com>
42422 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42423 * sysdeps/i386/fpu/e_powf.S: Likewise.
42424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42425 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42427 * sysdeps/i386/fpu/e_pow.S: Likewise.
42428 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42430 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42431 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42432 * sysdeps/i386/fpu/e_log2.S: Likewise.
42433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42435 * sysdeps/i386/fpu/e_powl.S: Likewise.
42436 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42438 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42439 * sysdeps/i386/fpu/e_logl.S: Likewise.
42440 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42441 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42442 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42443 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42444 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42445 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42446 * sysdeps/i386/fpu/e_log.S: Likewise.
42447 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42449 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42450 * sysdeps/i386/fpu/e_logf.S: Likewise.
42451 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42452 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42453 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42454 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42455 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42456 * sysdeps/i386/fpu/e_log10.S: Likewise.
42457 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42458 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42459 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42460 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42462 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42463 * sysdeps/i386/asm-syntax.h: Likewise.
42464 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42466 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42467 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42468 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42469 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42470 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42471 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42472 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42473 * sysdeps/powerpc/sysdep.h: Likewise.
42474 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42477 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42480 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42482 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42484 * sysdeps/i386/sysdep.h: Include <features.h>.
42485 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42488 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42490 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42492 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42495 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42497 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42498 (SETUP_PIC_REG): Use GET_PC_THUNK.
42499 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42502 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42504 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42505 for non-PIC compilation.
42506 (SETUP_PIC_REG): Add .p2align directive.
42507 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42508 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42509 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42510 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42512 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42513 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42515 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42516 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42517 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42518 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42519 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42520 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42521 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42522 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42523 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42524 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42525 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42526 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42528 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42529 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42530 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42535 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42536 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42537 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42538 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42539 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42540 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42541 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42542 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42543 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42544 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42545 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42546 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42547 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42549 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42551 * math/tst-CMPLX.c: Include <stdio.h>.
42553 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42555 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42558 * sysdeps/sparc/bits/mathdef.h: Likewise.
42560 2012-01-31 Marek Polacek <polacek@redhat.com>
42562 * libio/libio.h: Don't define _PARAMS.
42563 * locale/programs/config.h: Don't define PARAMS.
42564 * stdlib/strtol_l.c: Likewise.
42565 (__strtol_l): Remove PARAMS from the prototype.
42567 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42569 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42570 names. Just use the correct names. Remove unnecessary wrapper
42572 * malloc/arena.c: Likewise.
42573 * malloc/hooks.c: Likewise.
42575 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42576 ARENA_TEST says not to. Simplify test for creation of a new arena.
42577 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42579 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42581 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42583 (update_get_addr): New function.
42584 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42585 GET_ADDR_MODULE parameter.
42587 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42589 * crypt/cert.c: Remove __STDC__ conditionals.
42590 * crypt/crypt-entry.c: Likewise.
42591 * crypt/crypt_util.c: Likewise.
42592 * libio/filedoalloc.c: Likewise.
42593 * libio/fileops.c: Likewise.
42594 * libio/genops.c: Likewise.
42595 * libio/iofclose.c: Likewise.
42596 * libio/iofdopen.c: Likewise.
42597 * libio/iofopen.c: Likewise.
42598 * libio/iofopen64.c: Likewise.
42599 * libio/iogetdelim.c: Likewise.
42600 * libio/iopopen.c: Likewise.
42601 * libio/obprintf.c: Likewise.
42602 * libio/oldfileops.c: Likewise.
42603 * libio/oldiofclose.c: Likewise.
42604 * libio/oldiofdopen.c: Likewise.
42605 * libio/oldiofopen.c: Likewise.
42606 * libio/oldiopopen.c: Likewise.
42607 * libio/wfiledoalloc.c: Likewise.
42608 * libio/wgenops.c: Likewise.
42609 * locale/programs/xmalloc.c: Likewise.
42610 * misc/syslog.c: Likewise.
42611 * stdio-common/xbug.c: Likewise.
42612 * string/memchr.c: Likewise.
42613 * string/memcmp.c: Likewise.
42614 * string/memrchr.c: Likewise.
42615 * string/rawmemchr.c: Likewise.
42616 * sysdeps/posix/getcwd.c: Likewise.
42617 * time/strftime_l.c: Likewise.
42619 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42621 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42622 * config.make.in (config-cflags-sse2avx): Define.
42623 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42626 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42628 * scripts/config.guess: Update from upstream config git repository.
42629 * scripts/config.sub: Likewise.
42631 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42633 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42635 (R_TILEPRO_*, R_TILEGX_*): New macros.
42637 * scripts/firstversions.awk: Fix bug in version range handling.
42639 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42641 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42643 * include/sys/epoll.h: New file.
42644 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42647 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42649 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42650 Avoid unnecessary __WORDSIZE == 64 test.
42651 (fmaxf): Use VEX format if possible.
42656 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42657 * math/math_private.h: Remove libc_fegetround* and
42659 * sysdeps/i386/configure.in: Check for -msse2avx.
42660 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42661 also if SSE2AVX is defined.
42662 Remove libc_fegetround* and libc_fesetround*.
42663 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42664 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42665 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42667 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42668 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42670 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42671 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42673 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42675 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42677 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42679 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42681 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42684 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42686 * Makeconfig (libm): Define.
42687 * elf/Makefile: Add rules to build and run tst-relsort1.
42688 * elf/tst-relsort1.c: New file.
42689 * elf/tst-relsort1mod1.c: New file.
42690 * elf/tst-relsort1mod2.c: New file.
42692 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42694 * math/s_ldexp.c: Remove __STDC__ conditionals.
42695 * math/s_ldexpf.c: Likewise.
42696 * math/s_ldexpl.c: Likewise.
42697 * math/s_nextafter.c: Likewise.
42698 * math/s_nexttowardf.c: Likewise.
42699 * math/s_significand.c: Likewise.
42700 * math/s_significandf.c: Likewise.
42701 * math/s_significandl.c: Likewise.
42702 * math/w_jnl.c: Likewise.
42703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42709 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42710 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42711 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42712 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42713 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42716 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42717 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42719 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42720 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42722 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42723 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42724 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42729 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42730 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42731 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42732 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42735 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42736 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42737 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42738 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42739 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42740 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42741 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42742 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42743 * sysdeps/ieee754/k_standard.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42757 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42763 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42767 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42768 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42780 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42783 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42784 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42793 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42794 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42796 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42804 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42805 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42808 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42810 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42812 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42814 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42815 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42816 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42819 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42821 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42823 * sysdeps/ieee754/s_matherr.c: Likewise.
42824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42829 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42831 * crypt/md5.h: Remove __STDC__ conditionals.
42832 * libio/libioP.h: Likewise.
42833 * locale/programs/config.h: Likewise.
42834 * sysdeps/generic/sysdep.h: Likewise.
42835 * sysdeps/i386/asm-syntax.h: Likewise.
42836 * sysdeps/s390/asm-syntax.h: Likewise.
42837 * sysdeps/unix/sysdep.h: Likewise.
42838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42841 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42843 * libio/libio.h: Remove __STDC__ conditionals.
42844 * malloc/obstack.h: Likewise.
42845 * math/complex.h: Likewise.
42846 * math/math.h: Likewise.
42847 * sysdeps/generic/_G_config.h: Likewise.
42848 * sysdeps/gnu/_G_config.h: Likewise.
42849 * sysdeps/mach/hurd/_G_config.h: Likewise.
42850 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42851 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42852 * sysdeps/sparc/bits/mathdef.h: Likewise.
42854 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42857 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42858 Clean up HAS_* macros.
42859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42860 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42870 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42872 * elf/tst-unique3.cc (gets): Remove declaration.
42873 * elf/tst-unique3lib.cc (gets): Likewise.
42874 * elf/tst-unique3lib2.cc (gets): Likewise.
42875 * elf/tst-unique4.cc (gets): Likewise.
42877 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42879 * include/stdio.h: Add C++ protection. Add gets declarations and
42881 * debug/tst-chk1.c: Don't declare gets here.
42882 * stdio-common/tst-gets.c: Likewise.
42884 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42886 * posix/glob: Remove directory.
42888 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42890 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42892 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42894 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42895 of the non-standard EPFNOSUPPORT.
42897 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42899 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42900 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42901 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42903 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42905 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42907 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42909 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42911 * nscd/grpcache.c (cache_addgr): Likewise.
42912 * nscd/hstcache.c (cache_addhst): Likewise.
42913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42914 * nscd/pwdcache.c (cache_addpw): Likewise.
42915 * nscd/servicescache.c (cache_addserv): Likewise.
42917 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42919 * malloc/malloc.c: Various cleanups.
42920 * malloc/hooks.c: Likewise.
42922 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42923 * stdlib/bug-fmtmsg1.c: New file.
42925 * stdlib/fmtmsg.c (init): Add missing unlock.
42926 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42928 2012-01-12 Marek Polacek <polacek@redhat.com>
42930 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42933 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42935 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42936 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42937 macro to ensure uniqueness of label name.
42938 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42939 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42941 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42943 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42945 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42946 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42950 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42952 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42954 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42955 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42956 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42958 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42960 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42961 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42965 * math/bits/math-finite.h: Add ldexp support.
42967 2012-01-10 Marek Polacek <polacek@redhat.com>
42969 * locale/programs/localedef.h (show_archive_content): Add noreturn
42972 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42974 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42976 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42978 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42980 * io/Makefile (headers): Add bits/poll2.h.
42982 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42985 typo #include statement.
42987 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42989 * include/sys/cdefs.h: Define __attribute_alloc_size.
42990 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42991 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42992 * elf/pldd.c: Likewise.
42993 * iconv/iconv_charmap.c: Likewise.
42994 * iconv/iconvconfig.c: Likewise.
42995 * iconv/strtab.c: Likewise.
42996 * locale/programs/locale.c: Likewise.
42997 * locale/programs/localedef.h: Likewise.
42998 * locale/programs/simple-hash.c: Likewise.
42999 * nscd/nscd.h: Likewise.
43000 * nss/makedb.c: Likewise.
43001 * sysdeps/generic/ldconfig.h: Likewise.
43002 * locale/programs/localedef.c: Remove xmalloc prototype.
43003 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43005 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43007 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43010 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43012 * math/Makefile (tests): Add tst-CMPLX.
43013 * math/tst-CMPLX.c: New file.
43015 * math/complex.h (CMPLXL): Fix typo.
43017 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43018 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43020 * debug/tst-chk1.c: Add poll and ppoll tests.
43021 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43022 * include/sys/poll.h: Add hidden proto for ppoll.
43023 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43024 * sysdeps/mach/hurd/ppoll.c: Likewise.
43025 * io/ppoll.c: Likewise.
43026 * debug/poll_chk.c: New file.
43027 * debug/ppoll_chk.c: New file.
43028 * include/bits/poll2.h: New file.
43029 * io/bits/poll2.h: New file.
43032 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43034 * configure.in: static is always set to yes. Remove.
43035 * config.make.in: Don't set build-static.
43036 * Makeconfig: Remove use of build-static.
43037 * dlfcn/Makefile: Likewise.
43038 * elf/Makefile: Likewise.
43039 * math/Makefile: Likewise.
43040 * misc/Makefile: Likewise.
43041 * nptl/Makefile: Likewise.
43042 * sysdeps/mach/hurd/Makefile: Likewise.
43044 * configure.in: PWD_P is not used anymore.
43045 * config.make.in: Remove PWD_P entry.
43047 * configure.in: Remove last remnants of RANLIB.
43048 No need to check for signed size_t anymore.
43049 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43051 Remove __builtin_expect test because we require at least gcc 3.4.
43052 * aclocal.m4: Likewise.
43054 * wcsmbs/mbrtoc16.c: Implement using towc function.
43055 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43056 * wcsmbs/wcsmbsload.c: Likewise.
43057 * iconv/gconv_simple.c: Likewise.
43058 * iconv/gconv_int.h: Likewise.
43059 * iconv/gconv_builtin.h: Likewise.
43060 * iconv/iconv_prog.c: Remove CHAR16 handling.
43062 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43064 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43066 * configure.in: Remove --with-elf and --enable-bounded options.
43067 Dont set base_machine for ia64. More non-ELF conditions removed.
43068 Remove testing and setting of leading underscore information.
43069 * config.make.in (build-bounded): Set to no.
43070 * config.h.in: Remove NO_UNDERSCORES entry.
43071 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43073 * csu/start.c: Remove !NO_UNDERSCORE code.
43074 * locale/localeinfo.h: Likewise.
43075 * sysdeps/generic/machine-gmon.h: Likewise.
43076 * sysdeps/generic/sysdep.h: Likewise.
43077 * sysdeps/i386/sysdep.h: Likewise.
43078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43079 * sysdeps/mach/sysdep.h: Likewise.
43080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43082 * sysdeps/sh/sysdep.h: Likewise.
43083 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43084 * sysdeps/unix/i386/sysdep.S: Likewise.
43085 * sysdeps/unix/sparc/start.c: Likewise.
43086 * sysdeps/unix/sparc/sysdep.S: Likewise.
43087 * sysdeps/unix/sparc/sysdep.h: Likewise.
43088 * sysdeps/unix/start.c: Likewise.
43089 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43090 * sysdeps/x86_64/sysdep.h: Likewise.
43092 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43095 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43097 * argp/argp-fmtstream.h: Use const instead __const.
43098 * argp/argp.h: Likewise.
43099 * assert/assert.h: Likewise.
43100 * bits/fenv.h: Likewise.
43101 * bits/sched.h: Likewise.
43102 * bits/sigset.h: Likewise.
43103 * bits/sigthread.h: Likewise.
43104 * catgets/nl_types.h: Likewise.
43105 * conform/data/pthread.h-data: Likewise.
43106 * crypt/crypt-private.h: Likewise.
43107 * crypt/crypt.h: Likewise.
43108 * crypt/crypt_util.c: Likewise.
43109 * ctype/ctype.h: Likewise.
43110 * debug/execinfo.h: Likewise.
43111 * debug/mbsnrtowcs_chk.c: Likewise.
43112 * debug/mbsrtowcs_chk.c: Likewise.
43113 * debug/wcsnrtombs_chk.c: Likewise.
43114 * debug/wcsrtombs_chk.c: Likewise.
43115 * debug/wcstombs_chk.c: Likewise.
43116 * dirent/dirent.h: Likewise.
43117 * dlfcn/dlfcn.h: Likewise.
43118 * elf/neededtest4.c: Likewise.
43119 * grp/grp.h: Likewise.
43120 * gshadow/gshadow.h: Likewise.
43121 * iconv/gconv.h: Likewise.
43122 * iconv/gconv_int.h: Likewise.
43123 * iconv/gconv_simple.c: Likewise.
43124 * iconv/iconv.h: Likewise.
43125 * iconv/loop.c: Likewise.
43126 * iconv/skeleton.c: Likewise.
43127 * include/aio.h: Likewise.
43128 * include/aliases.h: Likewise.
43129 * include/argz.h: Likewise.
43130 * include/arpa/inet.h: Likewise.
43131 * include/assert.h: Likewise.
43132 * include/dirent.h: Likewise.
43133 * include/dlfcn.h: Likewise.
43134 * include/execinfo.h: Likewise.
43135 * include/fcntl.h: Likewise.
43136 * include/fenv.h: Likewise.
43137 * include/glob.h: Likewise.
43138 * include/grp.h: Likewise.
43139 * include/libintl.h: Likewise.
43140 * include/mntent.h: Likewise.
43141 * include/netdb.h: Likewise.
43142 * include/pwd.h: Likewise.
43143 * include/rpc/netdb.h: Likewise.
43144 * include/sched.h: Likewise.
43145 * include/search.h: Likewise.
43146 * include/shadow.h: Likewise.
43147 * include/signal.h: Likewise.
43148 * include/stdio.h: Likewise.
43149 * include/stdlib.h: Likewise.
43150 * include/string.h: Likewise.
43151 * include/sys/socket.h: Likewise.
43152 * include/sys/stat.h: Likewise.
43153 * include/sys/statfs.h: Likewise.
43154 * include/sys/statvfs.h: Likewise.
43155 * include/sys/syslog.h: Likewise.
43156 * include/sys/time.h: Likewise.
43157 * include/sys/uio.h: Likewise.
43158 * include/time.h: Likewise.
43159 * include/unistd.h: Likewise.
43160 * include/utmp.h: Likewise.
43161 * include/wchar.h: Likewise.
43162 * include/wctype.h: Likewise.
43163 * inet/aliases.h: Likewise.
43164 * inet/arpa/inet.h: Likewise.
43165 * inet/netinet/ether.h: Likewise.
43166 * inet/netinet/in.h: Likewise.
43167 * intl/libintl.h: Likewise.
43168 * io/bits/fcntl2.h: Likewise.
43169 * io/fcntl.h: Likewise.
43170 * io/ftw.h: Likewise.
43171 * io/sys/poll.h: Likewise.
43172 * io/sys/stat.h: Likewise.
43173 * io/sys/statfs.h: Likewise.
43174 * io/sys/statvfs.h: Likewise.
43175 * io/utime.h: Likewise.
43176 * libio/bits/stdio.h: Likewise.
43177 * libio/bits/stdio2.h: Likewise.
43178 * libio/libio.h: Likewise.
43179 * libio/libioP.h: Likewise.
43180 * libio/stdio.h: Likewise.
43181 * locale/lc-ctype.c: Likewise.
43182 * locale/locale.h: Likewise.
43183 * login/utmp.h: Likewise.
43184 * malloc/arena.c: Likewise.
43185 * malloc/malloc.c: Likewise.
43186 * malloc/malloc.h: Likewise.
43187 * malloc/mcheck.c: Likewise.
43188 * malloc/mtrace.c: Likewise.
43189 * math/bits/mathcalls.h: Likewise.
43190 * math/fenv.h: Likewise.
43191 * math/math_private.h: Likewise.
43192 * misc/bits/error.h: Likewise.
43193 * misc/bits/syslog.h: Likewise.
43194 * misc/err.h: Likewise.
43195 * misc/error.h: Likewise.
43196 * misc/fstab.h: Likewise.
43197 * misc/mntent.h: Likewise.
43198 * misc/regexp.h: Likewise.
43199 * misc/search.h: Likewise.
43200 * misc/sgtty.h: Likewise.
43201 * misc/sys/mman.h: Likewise.
43202 * misc/sys/syslog.h: Likewise.
43203 * misc/sys/uio.h: Likewise.
43204 * misc/sys/xattr.h: Likewise.
43205 * misc/ttyent.h: Likewise.
43206 * nis/rpcsvc/ypclnt.h: Likewise.
43207 * nss/nss.h: Likewise.
43208 * posix/bits/unistd.h: Likewise.
43209 * posix/fnmatch.h: Likewise.
43210 * posix/glob.h: Likewise.
43211 * posix/sched.h: Likewise.
43212 * posix/spawn.h: Likewise.
43213 * posix/sys/wait.h: Likewise.
43214 * posix/unistd.h: Likewise.
43215 * posix/wordexp.h: Likewise.
43216 * pwd/pwd.h: Likewise.
43217 * resolv/netdb.h: Likewise.
43218 * resource/sys/resource.h: Likewise.
43219 * rt/aio.h: Likewise.
43220 * rt/bits/mqueue2.h: Likewise.
43221 * rt/mqueue.h: Likewise.
43222 * shadow/shadow.h: Likewise.
43223 * signal/signal.h: Likewise.
43224 * socket/send.c: Likewise.
43225 * socket/sendto.c: Likewise.
43226 * socket/sys/socket.h: Likewise.
43227 * stdio-common/printf.h: Likewise.
43228 * stdlib/bits/stdlib.h: Likewise.
43229 * stdlib/fmtmsg.h: Likewise.
43230 * stdlib/monetary.h: Likewise.
43231 * stdlib/stdlib.h: Likewise.
43232 * stdlib/ucontext.h: Likewise.
43233 * streams/stropts.h: Likewise.
43234 * string/argz.h: Likewise.
43235 * string/bits/string2.h: Likewise.
43236 * string/string.h: Likewise.
43237 * string/strings.h: Likewise.
43238 * sunrpc/rpc/auth.h: Likewise.
43239 * sunrpc/rpc/auth_des.h: Likewise.
43240 * sunrpc/rpc/clnt.h: Likewise.
43241 * sunrpc/rpc/netdb.h: Likewise.
43242 * sunrpc/rpc/pmap_clnt.h: Likewise.
43243 * sunrpc/rpc/xdr.h: Likewise.
43244 * sysdeps/generic/inttypes.h: Likewise.
43245 * sysdeps/generic/net/if.h: Likewise.
43246 * sysdeps/generic/sys/swap.h: Likewise.
43247 * sysdeps/gnu/net/if.h: Likewise.
43248 * sysdeps/gnu/utmpx.h: Likewise.
43249 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43250 * sysdeps/i386/i486/bits/string.h: Likewise.
43251 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43252 * sysdeps/s390/bits/string.h: Likewise.
43253 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43254 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43255 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43256 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43257 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43258 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43259 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43260 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43261 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43262 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43263 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43264 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43265 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43266 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43267 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43268 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43269 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43271 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43274 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43275 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43276 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43277 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43278 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43279 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43281 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43283 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43284 * sysvipc/sys/ipc.h: Likewise.
43285 * sysvipc/sys/msg.h: Likewise.
43286 * sysvipc/sys/sem.h: Likewise.
43287 * sysvipc/sys/shm.h: Likewise.
43288 * termios/termios.h: Likewise.
43289 * time/sys/time.h: Likewise.
43290 * time/time.h: Likewise.
43291 * wcsmbs/bits/wchar2.h: Likewise.
43292 * wcsmbs/uchar.h: Likewise.
43293 * wcsmbs/wchar.h: Likewise.
43294 * wctype/wctype.h: Likewise.
43297 * Makeconfig: Remove all but ELF support including AIX support.
43298 * Makerules: Likewise.
43299 * config.h.in: Likewise.
43300 * config.make.in: Likewise.
43301 * configure: Likewise.
43302 * configure.in: Likewise.
43303 * csu/Makefile: Likewise.
43304 * csu/version.c: Likewise.
43305 * debug/Makefile: Likewise.
43306 * dlfcn/Makefile: Likewise.
43307 * elf/Makefile: Likewise.
43308 * extra-lib.mk: Likewise.
43309 * iconv/Makefile: Likewise.
43310 * include/libc-symbols.h: Likewise.
43311 * include/shlib-compat.h: Likewise.
43312 * resolv/Makefile: Likewise.
43313 * resolv/res_libc.c: Likewise.
43314 * rt/Makefile: Likewise.
43315 * sysdeps/i386/asm-syntax.h: Likewise.
43316 * sysdeps/i386/sysdep.h: Likewise.
43317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43318 * sysdeps/mach/sysdep.h: Likewise.
43319 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43320 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43321 * sysdeps/s390/asm-syntax.h: Likewise.
43322 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43324 * sysdeps/sh/sysdep.h: Likewise.
43325 * sysdeps/unix/sparc/sysdep.h: Likewise.
43326 * sysdeps/wordsize-32/divdi3.c: Likewise.
43327 * sysdeps/x86_64/sysdep.h: Likewise.
43329 * argp/Versions: Remove _argp_unlock_xxx.
43332 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43333 * abilist/libBrokenLocale.abilist: Likewise.
43334 * abilist/libanl.abilist: Likewise.
43335 * abilist/libc.abilist: Likewise.
43336 * abilist/libcrypt.abilist: Likewise.
43337 * abilist/libdl.abilist: Likewise.
43338 * abilist/libm.abilist: Likewise.
43339 * abilist/libnsl.abilist: Likewise.
43340 * abilist/libpthread.abilist: Likewise.
43341 * abilist/libresolv.abilist: Likewise.
43342 * abilist/librt.abilist: Likewise.
43343 * abilist/libthread_db.abilist: Likewise.
43344 * abilist/libutil.abilist: Likewise.
43345 * abilist/libnss_db.abilist: New file.
43347 * scripts/abilist.awk: Add support for indirect functions.
43349 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43351 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43353 * shlib-versions: Remove entries for ports architectures.
43355 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43357 * elf/stackguard-macros.h: Remove support for IA-64.
43358 * elf/tst-auditmod1.c: Likewise.
43359 * sysdeps/generic/ldsodefs.h: Likewise.
43361 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43362 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43366 * configure.in: Remove --enable-omitfp support.
43368 * config.make.in: Likewise.
43369 * Makeconfig: Likewise.
43370 * manual/install.texi: Likewise.
43372 In case anyone cares, the IA-64 architecture could move to ports.
43373 * sysdeps/ia64/*: Removed.
43374 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43375 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43378 * configure.in: Remove entries for unsupported architectures.
43381 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43382 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43384 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43385 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43386 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43387 fall back to using wcrtomb.
43388 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43389 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43391 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43392 * wcsmbs/tst-c16c32-1.c: New file.
43394 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43397 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43399 * elf/tst-unique3.cc: Add explicit declaration of gets.
43400 * elf/tst-unique3lib.cc: Likewise.
43401 * elf/tst-unique3lib2.cc: Likewise.
43402 * elf/tst-unique4.cc: Likewise.
43404 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43406 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43409 * assert/assert.h (static_assert): Don't define for C++.
43410 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43411 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43413 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43415 * iconv/loop.c (single loop): Fix assertion in storing of
43418 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43420 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43422 * posix/getconf.c: Update copyright year.
43423 * nss/getent.c: Likewise.
43424 * nss/makedb.c: Likewise.
43425 * iconv/iconvconfig.c: Likewise.
43426 * iconv/iconv_prog.c: Likewise.
43427 * elf/ldconfig.c: Likewise.
43428 * elf/pldd.c: Likewise.
43429 * elf/sotruss.ksh: Likewise.
43430 * catgets/gencat.c: Likewise.
43431 * csu/version.c: Likewise.
43432 * elf/ldd.bash.in: Likewise.
43433 * elf/sprof.c (print_version): Likewise.
43434 * locale/programs/locale.c: Likewise.
43435 * locale/programs/localedef.c: Likewise.
43436 * login/programs/pt_chown.c: Likewise.
43437 * nscd/nscd.c (print_version): Likewise.
43438 * debug/xtrace.sh: Likewise.
43439 * malloc/memusage.sh: Likewise.
43440 * malloc/mtrace.pl: Likewise.
43441 * debug/catchsegv.sh: Likewise.
43443 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43445 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43448 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43451 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43452 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43454 * iconv/gconv_int.h: Likewise.
43455 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43456 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43457 from libc for GLIBC_2.16.
43458 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43459 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43460 * wcsmbs/uchar.h: Really define mbstate_t.
43461 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43462 * wcsmbs/c16rtomb.c: New file.
43463 * wcsmbs/mbrtoc16.c: New file.
43464 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43465 for C/POSIX locale.
43466 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43467 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43469 * wcsmbs/wchar.h: Add missing __restrict.
43471 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43474 * time/Makefile (routines): Add timespec_get.
43475 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43476 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43477 timespec for ISO C11.
43478 * time/timespec_get.c: New file.
43479 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43480 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43483 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43484 * stdlib/stdlib.h: Declare aligned_alloc.
43485 * Versions.def: Add GLIBC_2.16 for libc.
43486 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43489 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43492 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43496 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43499 * assert/assert.h (static_assert): Define.
43501 * version.h: Update for 2.16 development version.
43504 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43507 * version.h (RELEASE): Bump for 2.15 release.
43508 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43510 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43511 Patch by Marek Polacek <mpolacek@redhat.com>.
43513 * bits/byteswap.h: Protect long long constants with __extension__.
43514 * sysdeps/i386/bits/byteswap.h: Likewise.
43515 * sysdeps/ia64/bits/byteswap.h: Likewise.
43516 * sysdeps/s390/bits/byteswap.h: Likewise.
43517 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43519 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43523 destination buffer.
43524 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43526 2011-12-23 Marek Polacek <polacek@redhat.com>
43528 * elf/dl-addr.c (determine_info): Add inline keyword.
43529 * elf/tst-auditmod4b.c (check_avx): Likewise.
43530 * elf/tst-auditmod6b.c (check_avx): Likewise.
43531 * elf/tst-auditmod6c.c (check_avx): Likewise.
43532 * elf/tst-auditmod7b.c (check_avx): Likewise.
43534 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43536 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43539 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43542 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43543 processing for last bytes.
43545 2011-08-06 Bruno Haible <bruno@clisp.org>
43548 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43549 U+0385, not to U+1FEE.
43552 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43553 entry for U+00A5 U+0301.
43555 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43558 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43559 buffer for the output is too small.
43561 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43565 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43566 SSE flags if possible.
43568 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43572 processing for last bytes.
43574 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43576 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43577 (syscall-list-default-options, syscall-list-default-condition)
43578 (syscall-list-includes): Define.
43579 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43580 list of ABIs and options and #if conditions for each ABI. Do not
43581 handle common syscalls between ABIs specially.
43582 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43584 (syscall-list-variants, syscall-list-32bit-options)
43585 (syscall-list-32bit-condition, syscall-list-64bit-options)
43586 (syscall-list-64bit-condition): Define.
43587 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43588 (syscall-list-variants, syscall-list-32bit-options)
43589 (syscall-list-32bit-condition, syscall-list-64bit-options)
43590 (syscall-list-64bit-condition): Define.
43591 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43593 (syscall-list-variants, syscall-list-32bit-options)
43594 (syscall-list-32bit-condition, syscall-list-64bit-options)
43595 (syscall-list-64bit-condition): Define.
43596 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43598 (syscall-list-variants, syscall-list-32bit-options)
43599 (syscall-list-32bit-condition, syscall-list-64bit-options)
43600 (syscall-list-64bit-condition): Define.
43602 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43604 * locale/iso-639.def: Add brx entry.
43607 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43608 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43610 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43611 __feraiseexcept_renamed.
43613 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43616 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43617 EPOLLET with unsigned values.
43618 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43621 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43622 to large cancellation.
43623 * math/s_cacoshf.c: Likewise.
43624 * math/s_cacoshl.c: Likewise.
43626 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43630 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43631 * math/s_cacoshf.c: Likewise.
43632 * math/s_cacoshl.c: Likewise.
43634 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43637 * iconv/gconv.h: Define __GCONV_SWAP.
43638 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43639 * iconvdata/utf-16.c: Likewise.
43640 * iconvdata/utf-32.c: Likewise.
43642 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43646 numerator after shifting it by one limb.
43648 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43650 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43651 under [__USE_EXTERN_INLINES].
43653 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43656 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43658 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43660 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43661 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43663 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43664 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43665 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43666 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43667 for strncasecmp/strncasecmp_l compilation.
43668 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43669 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43671 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43674 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43677 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43680 * time/tzfile.c (__tzfile_read): Check values from file header.
43682 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43684 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43685 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43686 * powerpc/powerpc32/dl-start.S: Likewise.
43687 * powerpc/powerpc32/elf/start.S: Likewise.
43688 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43689 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43690 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43691 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43692 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43693 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43694 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43695 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43696 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43697 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43698 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43699 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43700 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43701 * powerpc/powerpc32/memset.S: Likewise.
43702 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43703 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43704 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43705 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43706 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43707 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43708 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43709 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43710 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43711 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43712 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43713 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43714 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43716 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43718 * math/libm-test.inc: Added more nearbyint tests.
43719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43724 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43726 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43729 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43731 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43732 Add wcscpy-ssse3 wcscpy-c.
43733 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43734 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43735 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43736 * sysdeps/x86_64/wcschr.S: New file.
43737 * sysdeps/x86_64/wcsrchr.S: New file.
43738 * string/test-strcmp.c: Remove checking of wcscmp function for
43740 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43741 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43742 wcsrchr-sse2 wcsrchr-c.
43743 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43744 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43745 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43746 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43747 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43748 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43749 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43750 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43751 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43752 * wcsmbc/wcschr.c (WCSCHR): New macro.
43754 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43756 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43757 * wcsmbs/test-wcsrchr.c: New file.
43758 * string/test-strrchr.c: Add wcsrchr support.
43760 * wcsmbs/test-wcscpy.c: New file.
43761 * string/test-strcpy.c: Add wcscpy support.
43764 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43766 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43769 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43772 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43774 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43776 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43777 Minor optimizations.
43779 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43780 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43781 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43783 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43785 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43786 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43787 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43788 for gcc to avoid warnings.
43789 * inet/Makefile (tests): Add tst-checks.
43790 * inet/tst-checks.c: New file.
43792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43795 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43798 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43799 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43801 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43803 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43805 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43808 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43810 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43812 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43813 conditional on GCC version.
43814 (__arch_compare_and_exchange_val_8_acq)
43815 (__arch_compare_and_exchange_val_16_acq)
43816 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43817 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43818 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43820 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43822 * sysdeps/sh/backtrace.c: New file.
43824 2011-12-02 Andreas Schwab <schwab@redhat.com>
43826 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43829 2011-12-01 Andreas Schwab <schwab@redhat.com>
43831 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43832 falling back to utime.
43834 2011-11-30 Andreas Schwab <schwab@redhat.com>
43836 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43837 expectations for float.
43839 2011-11-29 Andreas Schwab <schwab@redhat.com>
43841 * locale/weight.h (findidx): Add parameter len.
43842 * locale/weightwc.h (findidx): Likewise.
43843 * posix/fnmatch_loop.c (FCT): Adjust caller.
43844 * posix/regcomp.c (build_equiv_class): Likewise.
43845 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43846 * posix/regexec.c (check_node_accept_bytes): Likewise.
43847 * string/strcoll_l.c (STRCOLL): Likewise.
43848 * string/strxfrm_l.c (STRXFRM): Likewise.
43850 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43852 * Makefile.in: Remove CVSOPT handling.
43853 * configure.in: Remove use of AC_REVISION.
43854 * iconvdata/Makefile (distribute): No need to filter out CVS.
43855 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43858 2011-11-16 Andreas Schwab <schwab@redhat.com>
43860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43861 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43862 [USE_AS_STRNCASECMP_L]: Likewise.
43863 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43864 NO_TLS_DIRECT_SEG_REFS.
43865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43866 Fix argument offsets for non-PIC.
43867 [USE_AS_STRNCASECMP_L]: Likewise.
43868 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43869 NO_TLS_DIRECT_SEG_REFS.
43871 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43873 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43875 * locale/loadlocale.c (_nl_load_locale): Likewise.
43877 2011-11-15 Andreas Schwab <schwab@redhat.com>
43879 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43880 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43882 (SYSCALL_GETTIME): Set errno on error.
43884 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43885 count references to noai6ai_cached.
43887 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43889 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43891 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43892 FD_CLOEXEC for /proc/self/maps.
43894 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43895 FD_CLOEXEC for /proc/meminfo.
43897 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43900 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43901 FD_CLOEXEC for given file.
43903 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43905 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43906 FD_CLOEXEC for /etc/hosts.
43907 (_gethtent): Likewise.
43909 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43911 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43912 cancellation and set FD_CLOEXEC for /etc/netgroup.
43914 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43915 reading /etc/publickey.
43917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43918 allow cancellation when reading /etc/group.
43920 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43922 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43924 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43925 when using data file.
43927 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43929 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43930 (write_nis_obj): Use "c" and "e" in fopen.
43932 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43934 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43936 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43938 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43940 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43943 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43945 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43947 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43949 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43950 file parsing and set FD_CLOEXEC.
43952 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43954 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43956 2011-11-14 Andreas Schwab <schwab@redhat.com>
43958 * malloc/arena.c (arena_get2): Don't call reused_arena when
43959 _int_new_arena failed.
43961 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43963 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43964 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43969 to compile strcasecmp and strncasecmp.
43970 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43971 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43975 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43977 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43978 locale-defines.sym to gen-as-const-headers.
43979 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43980 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43982 to compile strcasecmp and strncasecmp.
43983 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43984 strcasecmp_l and strncasecmp_l.
43985 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43986 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43987 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43989 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43990 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43991 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43992 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43993 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43994 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43995 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43997 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43999 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44000 result of SYSDEP_GETTIME_CPU to retval.
44001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44002 parameter list to macro. Remove trailing semicolon. Adjust users.
44004 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44007 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44009 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44011 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44012 from unused variable.
44014 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44016 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44019 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44022 * sunrpc/rpc_prot.c (rejected): Fix case value.
44024 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44025 unsigned long long int to avoid warnings in shift.
44027 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44029 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44032 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44033 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44034 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44036 * nis/nis_table.c (nis_list): Use variable of correct type for
44037 result of __follow_path call.
44039 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44041 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44042 of math functions ceil, trunc, floor, round, and sqrt, when
44043 avaliable on the platform.
44044 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44046 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44047 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44048 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44050 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44052 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44055 2011-11-11 Roland McGrath <roland@hack.frob.com>
44057 * include/unistd.h: Fix __readlink return type.
44058 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44060 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44062 * stdlib/ucontext.h: Undo last change for makecontext.
44064 2011-11-11 Andreas Schwab <schwab@redhat.com>
44066 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44068 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44069 * setjmp/setjmp.h: Mark functions as non-leaf.
44070 * setjmp/bits/setjmp2.h: Likewise.
44071 * stdlib/ucontext.h: Likewise.
44073 2011-11-10 Andreas Schwab <schwab@redhat.com>
44075 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44076 (reused_arena): Don't check arena limit.
44077 (arena_get2): Atomically check arena limit.
44079 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44081 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44082 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44087 2011-11-07 Andreas Schwab <schwab@redhat.com>
44089 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44090 handler when locking.
44092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44093 Fix size of allocated buffer.
44095 2011-11-04 Andreas Schwab <schwab@redhat.com>
44098 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44099 declarations for long double functions.
44100 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44102 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44104 2011-11-03 Andreas Schwab <schwab@redhat.com>
44106 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44109 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44112 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44114 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44116 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44118 * include/alloca.h (stackinfo_alloca_round): Define.
44119 (extend_alloca): Use it.
44120 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44121 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44124 * scripts/check-local-headers.sh: Ignore libaudit.h.
44126 * nscd/Makefile (extra-objs): Make recursively expanded.
44128 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44130 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44133 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44134 * posix/tst-rfc3484-2.c: Likewise.
44135 * posix/tst-rfc3484-3.c: Likewise.
44137 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44139 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44141 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44142 process_vm_writev from libc using GLIBC_2.15 version.
44144 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44146 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44148 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44151 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44154 * nss/getent.c (initgroups_keys): Show error message in case no group
44157 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44158 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44159 __bump_nl_timestamp.
44160 * nscd/connections (nscd_init): When host database is served open
44161 netlink socket and request notification about configuration changes.
44162 (main_loop_poll): Track netlink file descriptor and bump timestamp
44163 in case data becomes available.
44164 (main_loop_epoll): Likewise.
44165 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44166 (database_pers_head): Add extra_data fileds.
44167 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44168 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44169 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44172 in6ai data, call __free_in6ai.
44173 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44174 Add -DHAVE_NETLINK.
44175 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44176 interface information. Reuse previous data if netlink timestamp
44178 (__bump_nl_timestamp): New function.
44179 (__free_in6ai): New function.
44181 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44183 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44184 close_not_cancel_no_status here.
44185 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44187 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44190 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44193 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44194 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44195 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44197 2011-07-03 Andreas Jaeger <aj@suse.de>
44200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44201 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44202 * math/libm-test.inc (sin_test): Add test case.
44204 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44207 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44208 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44210 * elf/chroot_canon.c (chroot_canon): Cleanups.
44212 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44215 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44216 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44218 * string/test-strchr.c: Make usable for strchrnul testing.
44219 * string/test-strchrnul.c: New file.
44220 * string/Makefile (strop-tests): Add strchrnul.
44222 * po/it.po: Update from translation team.
44223 * po/es.po: Likewise.
44225 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44228 the three constants needed as parameters. Drop the others.
44229 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44230 __m128i_strloadu_tolower.
44231 Create and initialize variable zero and use it in all the places
44232 where _mm_setzero_si128 was used.
44234 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44235 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44236 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44237 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44239 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44240 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44241 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44242 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44243 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44244 __mpranred, __mptan.
44245 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44246 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44247 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44248 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44249 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44250 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44252 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44253 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44255 2011-10-28 Andreas Schwab <schwab@redhat.com>
44257 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44258 redefine if SHARED.
44259 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44262 wide char related routines to wcsmbs subdir.
44264 2011-10-27 Andreas Schwab <schwab@redhat.com>
44267 * misc/sys/cdefs.h (__THROWNL): Define.
44268 * posix/unistd.h: Use __THREADNL instead of __THREAD
44269 for memory synchronization functions.
44271 2011-10-26 Roland McGrath <roland@hack.frob.com>
44274 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44276 * manual/stdio.texi (Obstack Streams): Node removed.
44278 2011-10-26 Andreas Schwab <schwab@redhat.com>
44280 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44281 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44284 * math/math_private.h (math_force_eval): Allow non-addressable
44286 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44288 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44290 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44291 file is not needed.
44293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44294 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44300 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44302 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44303 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44304 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44305 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44306 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44307 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44308 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44309 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44310 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44311 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44312 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44313 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44314 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44315 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44318 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44319 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44320 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44322 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44323 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44326 place. Use VEX encoding when compiling for AVX.
44328 2011-10-25 Andreas Schwab <schwab@redhat.com>
44330 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44331 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44333 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44335 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44337 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44338 useless if() expression.
44339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44340 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44343 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44344 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44347 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44348 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44349 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44351 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44352 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44353 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44354 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44355 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44356 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44357 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44359 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44361 2011-10-25 Andreas Schwab <schwab@redhat.com>
44363 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44367 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44369 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44370 .text section. Avoid duplicate constants.
44371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44379 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44380 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44381 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44383 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44385 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44388 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44391 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44392 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44393 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44395 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44396 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44397 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44398 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44399 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44400 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44401 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44402 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44403 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44404 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44405 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44406 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44407 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44409 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44410 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44412 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44413 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44414 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44415 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44417 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44419 * sysdeps/x86_64/dla.h: Move to ...
44420 * sysdeps/x86_64/fpu/dla.h: ...here.
44421 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44422 situations. Use __builtin_fma only for gcc 4.6 and up.
44424 * config.make.in: Add have-mfma4 entry.
44425 * configure.in: Substitute libc_cv_cc_fma4.
44426 * math/Makefile (dbl-only-routines): Add sincostab.
44427 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44428 Use __sincostab not sincos.
44429 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44436 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44437 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44438 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44439 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44442 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44444 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44445 define aliases when function name is a macro.
44446 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44447 sysdeps/ieee754/dbl-64/sincos.tbl.
44448 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44449 fma4-enabled routines.
44450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44451 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44452 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44453 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44454 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44455 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44459 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44460 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44461 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44462 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44463 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44465 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44466 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44467 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44468 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44470 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44471 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44472 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44475 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44477 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44481 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44492 2011-10-24 Andreas Schwab <schwab@redhat.com>
44494 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44496 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44500 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44502 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44504 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44505 Remove unused variable magic_bits.
44506 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44508 * string/strnlen.c: Define and use STRNLEN macro.
44509 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44510 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44512 * wcsmbs/wcslen.c: Define and use WCSLEN.
44513 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44514 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44515 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44516 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44517 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44518 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44521 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44524 strnlen-sse2-no-bsf.
44525 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44528 Add strnlen support.
44529 (USE_AS_STRNLEN): New macro.
44530 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44532 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44533 * sysdeps/x86_64/wcslen.S: New file.
44535 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44538 XMM-moves are used for copying on small sizes.
44540 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44542 * wcsmbs/Makefile (strop-tests): Add wcschr.
44543 * wcsmbs/test-wcschr.c: New file.
44544 * string/test-strchr.c: Update.
44545 Add wcschr support.
44548 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44550 * wcsmbs/Makefile (strop-tests): Add wcslen.
44551 * wcsmbs/test-wcslen.c: New file.
44552 * string/test-strlen.c: Update.
44553 Add wcslen support.
44556 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44558 * po/it.po: Update from translation team.
44560 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44562 * sysdeps/x86_64/wcscmp.S: Update.
44563 Fix wrong comparison semantics.
44564 wcscmp shall use signed comparison not unsigned.
44565 Don't use substraction to avoid overflow bug.
44566 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44567 * wcsmbc/wcscmp.c: Likewise.
44568 * string/test-strcmp.c: Likewise.
44569 Add new tests to check cases with negative values.
44571 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44573 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44574 * sysdeps/x86_64/dla.h: ...here. New file.
44575 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44585 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44588 __ynl_finite aliases.
44590 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44594 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44596 [DLA_FMA] (EMULV): Use DLA_FMA.
44597 [DLA_FMA] (MUL12): Use EMULV.
44598 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44599 that are not needed.
44600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44605 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44608 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44610 * math/s_nan.c: Undef __nan.
44611 * math/s_nanf.c: Undef __nanf.
44612 * math/s_nanl.c: Undef __nanl.
44613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44616 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44618 * math/s_catan.c: Add branch predictions.
44619 * math/s_catanf.c: Likewise.
44620 * math/s_catanh.c: Likewise.
44621 * math/s_catanhf.c: Likewise.
44622 * math/s_catanhl.c: Likewise.
44623 * math/s_catanl.c: Likewise.
44624 * math/s_cexp.c: Likewise.
44625 * math/s_cexpf.c: Likewise.
44626 * math/s_cexpl.c: Likewise.
44627 * math/s_clog.c: Likewise.
44628 * math/s_clog10.c: Likewise.
44629 * math/s_clog10f.c: Likewise.
44630 * math/s_clog10l.c: Likewise.
44631 * math/s_clogf.c: Likewise.
44632 * math/s_clogl.c: Likewise.
44633 * math/s_csqrt.c: Likewise.
44634 * math/s_csqrtf.c: Likewise.
44635 * math/s_csqrtl.c: Likewise.
44636 * math/s_ctanf.c: Likewise.
44637 * math/s_ctanh.c: Likewise.
44638 * math/s_ctanhf.c: Likewise.
44639 * math/s_ctanhl.c: Likewise.
44640 * math/s_ctanl.c: Likewise.
44642 * math/math_private.h: Define __nan, __nanf, __nanl.
44643 * math/s_cacosh.c: Include <math_private.h>.
44644 * math/s_cacoshl.c: Likewise.
44645 * math/s_casinh.c: Likewise.
44646 * math/s_casinhf.c: Likewise.
44647 * math/s_casinhl.c: Likewise.
44648 * math/s_ccos.c: Rely entire on ccosh.
44649 * math/s_ccosf.c: Rely entire on ccoshf.
44650 * math/s_ccosl.c: Rely entirely on ccoshl.
44651 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44652 Remove tests for FE_INVALID.
44653 * math/s_ccoshf.c: Likewise.
44654 * math/s_ccoshl.c: Likewise.
44655 * math/s_csin.c: Likewise.
44656 * math/s_csinf.c: Likewise.
44657 * math/s_csinh.c Likewise.
44658 * math/s_csinhf.c: Likewise.
44659 * math/s_csinhl.c: Likewise.
44660 * math/s_csinl.c: Likewise.
44661 * math/s_ctan.c: Likewise.
44662 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44663 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44664 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44666 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44669 compilation problems.
44671 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44674 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44676 * sysdeps/i386/configure.in: Test for -mfma4 option.
44677 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44678 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44679 COMMON_CPUID_INDEX_80000001.
44680 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44681 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44682 use it if FMA3 is not supported.
44683 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44685 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44688 2011-10-20 Andreas Schwab <schwab@redhat.com>
44691 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44692 it would create a cycle with a link time dependency.
44694 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44696 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44698 * string/Makefile (strop-tests): Add rawmemchr.
44699 * string/test-rawmemchr.c: New file.
44701 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44703 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44704 when compiling str{,n}casecmp and when AVX is available. Hook up
44705 new optimized code in initializers.
44707 2011-10-19 Andreas Schwab <schwab@redhat.com>
44709 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44710 __feraiseexcept instead of feraiseexcept.
44712 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44714 * math/math_private.h: Define defaults for libc_fetestexcept and
44716 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44717 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44719 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44720 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44721 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44722 libc_fetestexcept and libc_feupdateenv.
44724 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44725 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44726 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44727 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44728 libc_feholdexcept_setround.
44730 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44731 Add s_nearbyint-c and s_nearbyintf-c.
44732 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44733 nearbyintf inlines.
44734 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44735 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44736 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44737 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44739 * math/math_private.h: Define defaults for libc_fegetround,
44740 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44741 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44742 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44744 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44745 standard functions.
44746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44747 Remove comments and hacks for old compiler versions.
44748 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44749 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44750 libc_feholdexceptl.
44752 2011-10-18 Andreas Schwab <schwab@redhat.com>
44754 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44755 (__feraiseexcept_renamed): Add __NTH.
44756 (feraiseexcept): Add __NTH. Rename local variables to fix
44757 namespace violations.
44759 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44763 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44765 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44766 recently added interfaces.
44767 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44769 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44770 about macro parameter expansion.
44772 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44773 __NO_MATH_INLINES is defined. Cleanups.
44775 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44776 and __floorf is target has SSE4.1.
44777 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44778 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44780 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44782 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44784 (floorf): Likewise.
44786 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44788 2011-10-17 Andreas Schwab <schwab@redhat.com>
44790 * misc/sys/cdefs.h: Fix last change.
44792 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44795 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44797 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44799 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44801 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44804 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44805 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44807 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44808 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44809 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44810 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44811 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44812 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44813 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44814 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44815 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44816 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44817 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44818 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44819 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44820 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44822 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44823 ceil, ceilf, floor, floorf.
44825 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44826 Perform IRELATIVE relocations last.
44828 * elf/do-rel.h: Add another parameter nrelative, replacing the
44829 local variable with the same name. Change name of the function
44830 to end in Rel or Rela (uppercase).
44831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44832 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44833 elf_dynamic_do_##reloc function.
44835 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44837 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44838 is sufficient, at least on modern CPUs.
44840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44842 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44843 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44845 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44847 * math/bits/math-finite.h: Add entries for exp.
44848 * math/e_expl.c: Add __*_finite alias.
44849 * sysdeps/i386/fpu/e_exp.S: Likewise.
44850 * sysdeps/i386/fpu/e_expf.S: Likewise.
44851 * sysdeps/i386/fpu/e_expl.c: Likewise.
44852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44853 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44854 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44856 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44857 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44858 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44860 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44861 is sufficient, at least on modern CPUs.
44863 * ctype/ctype-info.c (__ctype_init): Define.
44864 * include/ctype.h (__ctype_init): Declare.
44865 (__ctype_b_loc): The variable is always initialized.
44866 (__ctype_toupper_loc): Likewise.
44867 (__ctype_tolower_loc): Likewise.
44868 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44869 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44871 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44873 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44875 * configure.in: Also look in $cxxmachine/include for C++ system
44878 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44880 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44881 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44882 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44883 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44885 (USE_AS_WMEMCMP): New macro.
44887 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44888 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44889 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44890 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44892 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44893 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44894 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44895 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44896 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44898 (USE_AS_WMEMCMP): New macro.
44899 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44900 * sysdeps/string/test-memcmp.c: Update.
44901 Fix simple_wmemcmp.
44903 * wcsmbs/wmemcmp.c: Update.
44904 (WMEMCMP): New macro.
44907 2011-10-12 Andreas Jaeger <aj@suse.de>
44910 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44912 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44914 * libio/iofwide.c (do_length): Avoid warning.
44916 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44918 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44920 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44922 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44923 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44924 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44925 * sysdeps/i386/i686/fpu/e_log.S: New file.
44926 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44927 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44929 * ctype/ctype.h: Add support for inlined isXXX functions when
44930 compiling C++ code.
44932 2011-10-14 Andreas Schwab <schwab@redhat.com>
44934 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44936 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44938 2011-10-13 Roland McGrath <roland@hack.frob.com>
44941 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44943 2011-10-13 Andreas Schwab <schwab@redhat.com>
44945 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44946 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44949 * sysdeps/x86_64/memrchr.S: Check for zero size.
44951 * string/stratcliff.c: Add memrchr tests.
44953 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44956 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44957 rawmemchr-sse2 rawmemchr-sse2-bsf.
44958 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44959 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44960 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44961 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44962 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44963 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44964 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44965 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44966 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44967 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44968 * string/memrchr.c (MEMRCHR): New macro.
44970 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44972 Add integration with gcc's -ffinite-math-only and optimize wrapper
44974 * Versions.def: Define GLIBC_2.15 version for libm.
44975 * math/Makefile (headers): Add bits/math-finite.h.
44976 * math/bits/math-finite.h: New file.
44977 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44978 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44979 * math/e_acoshl.c: Add __*_finite alias.
44980 * math/e_acosl.c: Likewise.
44981 * math/e_asinl.c: Likewise.
44982 * math/e_atan2l.c: Likewise.
44983 * math/e_atanhl.c: Likewise.
44984 * math/e_coshl.c: Likewise.
44985 * math/e_exp10.c: Likewise.
44986 * math/e_exp10f.c: Likewise.
44987 * math/e_exp10l.c: Likewise.
44988 * math/e_exp2l.c: Likewise.
44989 * math/e_fmodl.c: Likewise.
44990 * math/e_gammal_r.c: Likewise.
44991 * math/e_hypotl.c: Likewise.
44992 * math/e_j0l.c: Likewise.
44993 * math/e_j1l.c: Likewise.
44994 * math/e_jnl.c: Likewise.
44995 * math/e_lgammal_r.c: Likewise.
44996 * math/e_log10l.c: Likewise.
44997 * math/e_log2l.c: Likewise.
44998 * math/e_logl.c: Likewise.
44999 * math/e_powl.c: Likewise.
45000 * math/e_sinhl.c: Likewise.
45001 * math/e_sqrtl.c: Likewise.
45002 * math/e_scalb.c: Completely rewritten and optimized.
45003 * math/e_scalbf.c: Likewise.
45004 * math/e_scalbl.c: Likewise.
45005 * math/w_acos.c: Likewise.
45006 * math/w_acosf.c: Likewise.
45007 * math/w_acosl.c: Likewise.
45008 * math/w_acosh.c: Likewise.
45009 * math/w_acoshf.c: Likewise.
45010 * math/w_acoshl.c: Likewise.
45011 * math/w_asin.c: Likewise.
45012 * math/w_asinf.c: Likewise.
45013 * math/w_asinl.c: Likewise.
45014 * math/w_atan2.c: Likewise.
45015 * math/w_atan2f.c: Likewise.
45016 * math/w_atan2l.c: Likewise.
45017 * math/w_atanh.c: Likewise.
45018 * math/w_atanhf.c: Likewise.
45019 * math/w_atanhl.c: Likewise.
45020 * math/w_exp10.c: Likewise.
45021 * math/w_exp10f.c: Likewise.
45022 * math/w_exp10l.c: Likewise.
45023 * math/w_fmod.c: Likewise.
45024 * math/w_fmodf.c: Likewise.
45025 * math/w_fmodl.c: Likewise.
45026 * math/w_j0.c: Likewise.
45027 * math/w_j0f.c: Likewise.
45028 * math/w_j0l.c: Likewise.
45029 * math/w_j1.c: Likewise.
45030 * math/w_j1f.c: Likewise.
45031 * math/w_j1l.c: Likewise.
45032 * math/w_jn.c: Likewise.
45033 * math/w_jnf.c: Likewise.
45034 * math/w_log.c: Likewise.
45035 * math/w_logf.c: Likewise.
45036 * math/w_logl.c: Likewise.
45037 * math/w_log10.c: Likewise.
45038 * math/w_log10f.c: Likewise.
45039 * math/w_log10l.c: Likewise.
45040 * math/w_log2.c: Likewise.
45041 * math/w_log2f.c: Likewise.
45042 * math/w_log2l.c: Likewise.
45043 * math/w_pow.c: Likewise.
45044 * math/w_powf.c: Likewise.
45045 * math/w_powl.c: Likewise.
45046 * math/w_remainder.c: Likewise.
45047 * math/w_remainderf.c: Likewise.
45048 * math/w_remainderl.c: Likewise.
45049 * math/w_scalb.c: Likewise.
45050 * math/w_scalbf.c: Likewise.
45051 * math/w_scalbl.c: Likewise.
45052 * math/w_sqrt.c: Likewise.
45053 * math/w_sqrtf.c: Likewise.
45054 * math/w_sqrtl.c: Likewise.
45055 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45056 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45058 * math/math_private.h: Declare __kernel_standard_f.
45059 * math/w_cosh.c: Remove cruft and optimize a bit.
45060 * math/w_coshf.c: Likewise.
45061 * math/w_coshl.c: Likewise.
45062 * math/w_exp2.c: Likewise.
45063 * math/w_exp2f.c: Likewise.
45064 * math/w_exp2l.c: Likewise.
45065 * math/w_hypot.c: Likewise.
45066 * math/w_hypotf.c: Likewise.
45067 * math/w_hypotl.c: Likewise.
45068 * math/w_lgamma.c: Likewise.
45069 * math/w_lgamma_r.c: Likewise.
45070 * math/w_lgammaf.c: Likewise.
45071 * math/w_lgammaf_r.c: Likewise.
45072 * math/w_lgammal.c: Likewise.
45073 * math/w_lgammal_r.c: Likewise.
45074 * math/w_sinh.c: Likewise.
45075 * math/w_sinhf.c: Likewise.
45076 * math/w_sinhl.c: Likewise.
45077 * math/w_tgamma.c: Likewise.
45078 * math/w_tgammaf.c: Likewise.
45079 * math/w_tgammal.c: Likewise.
45080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45081 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45082 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45083 Minor optimizations. Pretty printing. Remove cruft.
45084 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45085 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45086 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45087 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45088 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45089 * sysdeps/i386/fpu/e_asin.S: Likewise.
45090 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45091 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45092 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45093 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45094 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45095 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45096 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45097 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45098 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45099 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45100 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45101 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45102 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45103 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45104 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45105 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45106 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45107 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45108 * sysdeps/i386/fpu/e_log.S: Likewise.
45109 * sysdeps/i386/fpu/e_log10.S: Likewise.
45110 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45111 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45112 * sysdeps/i386/fpu/e_log2.S: Likewise.
45113 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45114 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45115 * sysdeps/i386/fpu/e_logf.S: Likewise.
45116 * sysdeps/i386/fpu/e_logl.S: Likewise.
45117 * sysdeps/i386/fpu/e_pow.S: Likewise.
45118 * sysdeps/i386/fpu/e_powf.S: Likewise.
45119 * sysdeps/i386/fpu/e_powl.S: Likewise.
45120 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45121 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45122 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45123 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45124 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45125 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45126 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45127 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45128 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45129 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45130 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45132 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45133 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45134 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45135 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45136 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45146 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45149 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45150 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45153 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45154 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45156 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45157 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45158 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45159 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45160 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45161 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45162 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45163 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45164 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45165 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45166 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45167 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45168 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45169 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45170 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45171 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45172 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45174 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45176 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45177 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45178 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45179 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45180 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45181 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45182 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45183 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45184 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45185 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45186 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45187 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45188 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45189 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45190 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45194 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45195 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45196 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45198 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45199 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45200 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45201 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45211 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45214 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45215 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45216 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45217 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45218 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45220 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45221 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45222 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45224 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45225 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45226 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45227 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45228 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45229 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45230 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45231 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45232 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45233 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45234 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45235 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45237 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45239 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45240 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45241 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45242 (__isnanf): Likewise.
45243 (__isinf_ns): Likewise.
45244 (__isinf_nsf): Likewise.
45245 (__finite): Likewise.
45246 (__finitef): Likewise.
45247 (__ieee754_sqrt): Define as macro.
45248 (__ieee754_sqrtf): Define as macro.
45249 (__ieee754_sqrtl): Define as macro.
45250 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45252 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45253 __FINITE_MATH_ONLY__ consistent.
45254 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45256 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45258 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45263 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45265 * po/ja.po: Update from translation team.
45267 2011-10-08 Roland McGrath <roland@hack.frob.com>
45269 * locale/programs/locarchive.c (prepare_address_space): New function.
45270 (create_archive, enlarge_archive, open_archive): Use it.
45272 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45273 inside [SHARED], where it is used.
45275 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45277 * nss/getent.c (netgroup_keys): Remove unused variable.
45278 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45280 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45282 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45283 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45285 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45287 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45288 * math/Makefile (libm-calls): Add s_isinf_ns.
45289 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45290 * math/multc3.c: Likewise.
45291 * math/s_casin.c: Likewise.
45292 * math/s_casinf.c: Likewise.
45293 * math/s_casinl.c: Likewise.
45294 * math/s_ccos.c: Likewise.
45295 * math/s_ccosf.c: Likewise.
45296 * math/s_ccosl.c: Likewise.
45297 * math/s_ctan.c: Likewise.
45298 * math/s_ctanf.c: Likewise.
45299 * math/s_ctanh.c: Likewise.
45300 * math/s_ctanhf.c: Likewise.
45301 * math/s_ctanhl.c: Likewise.
45302 * math/s_ctanl.c: Likewise.
45303 * math/w_fmod.c: Likewise.
45304 * math/w_fmodf.c: Likewise.
45305 * math/w_fmodl.c: Likewise.
45306 * math/w_remainder.c: Likewise.
45307 * math/w_remainderf.c: Likewise.
45308 * math/w_remainderl.c: Likewise.
45309 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45310 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45313 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45314 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45315 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45316 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45318 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45320 * stdio-common/printf_fphex.c: Likewise.
45321 * stdio-common/printf_size.c: Likewise.
45323 * math/e_exp10.c: Include math_private.h using <...> not "...".
45324 * math/e_exp10f.c: Likewise.
45325 * math/e_exp10l.c: Likewise.
45326 * math/e_exp2l.c: Likewise.
45327 * math/e_j0l.c: Likewise.
45328 * math/e_j1l.c: Likewise.
45329 * math/e_jnl.c: Likewise.
45330 * math/e_lgammal_r.c: Likewise.
45331 * math/e_rem_pio2l.c: Likewise.
45332 * math/e_scalb.c: Likewise.
45333 * math/e_scalbf.c: Likewise.
45334 * math/e_scalbl.c: Likewise.
45335 * math/k_cosl.c: Likewise.
45336 * math/k_sinl.c: Likewise.
45337 * math/k_tanl.c: Likewise.
45338 * math/s_cacoshf.c: Likewise.
45339 * math/s_catan.c: Likewise.
45340 * math/s_catanf.c: Likewise.
45341 * math/s_catanh.c: Likewise.
45342 * math/s_catanhf.c: Likewise.
45343 * math/s_catanhl.c: Likewise.
45344 * math/s_catanl.c: Likewise.
45345 * math/s_ccosh.c: Likewise.
45346 * math/s_ccoshf.c: Likewise.
45347 * math/s_ccoshl.c: Likewise.
45348 * math/s_cexp.c: Likewise.
45349 * math/s_cexpf.c: Likewise.
45350 * math/s_cexpl.c: Likewise.
45351 * math/s_clog.c: Likewise.
45352 * math/s_clog10.c: Likewise.
45353 * math/s_clog10f.c: Likewise.
45354 * math/s_clog10l.c: Likewise.
45355 * math/s_clogf.c: Likewise.
45356 * math/s_clogl.c: Likewise.
45357 * math/s_csin.c: Likewise.
45358 * math/s_csinf.c: Likewise.
45359 * math/s_csinh.c: Likewise.
45360 * math/s_csinhf.c: Likewise.
45361 * math/s_csinhl.c: Likewise.
45362 * math/s_csinl.c: Likewise.
45363 * math/s_csqrt.c: Likewise.
45364 * math/s_csqrtf.c: Likewise.
45365 * math/s_csqrtl.c: Likewise.
45366 * math/s_ctan.c: Likewise.
45367 * math/s_ctanf.c: Likewise.
45368 * math/s_ctanh.c: Likewise.
45369 * math/s_ctanhf.c: Likewise.
45370 * math/s_ctanhl.c: Likewise.
45371 * math/s_ctanl.c: Likewise.
45372 * math/s_ldexp.c: Likewise.
45373 * math/s_ldexpf.c: Likewise.
45374 * math/s_ldexpl.c: Likewise.
45375 * math/s_significand.c: Likewise.
45376 * math/s_significandf.c: Likewise.
45377 * math/s_significandl.c: Likewise.
45378 * math/w_acos.c: Likewise.
45379 * math/w_acosf.c: Likewise.
45380 * math/w_acosh.c: Likewise.
45381 * math/w_acoshf.c: Likewise.
45382 * math/w_acoshl.c: Likewise.
45383 * math/w_acosl.c: Likewise.
45384 * math/w_asin.c: Likewise.
45385 * math/w_asinf.c: Likewise.
45386 * math/w_asinl.c: Likewise.
45387 * math/w_atan2.c: Likewise.
45388 * math/w_atan2f.c: Likewise.
45389 * math/w_atan2l.c: Likewise.
45390 * math/w_atanh.c: Likewise.
45391 * math/w_atanhf.c: Likewise.
45392 * math/w_atanhl.c: Likewise.
45393 * math/w_cosh.c: Likewise.
45394 * math/w_coshf.c: Likewise.
45395 * math/w_coshl.c: Likewise.
45396 * math/w_dremf.c: Likewise.
45397 * math/w_exp10.c: Likewise.
45398 * math/w_exp10f.c: Likewise.
45399 * math/w_exp10l.c: Likewise.
45400 * math/w_exp2.c: Likewise.
45401 * math/w_exp2f.c: Likewise.
45402 * math/w_fmod.c: Likewise.
45403 * math/w_fmodf.c: Likewise.
45404 * math/w_fmodl.c: Likewise.
45405 * math/w_hypot.c: Likewise.
45406 * math/w_hypotf.c: Likewise.
45407 * math/w_hypotl.c: Likewise.
45408 * math/w_j0.c: Likewise.
45409 * math/w_j0f.c: Likewise.
45410 * math/w_j0l.c: Likewise.
45411 * math/w_j1.c: Likewise.
45412 * math/w_j1f.c: Likewise.
45413 * math/w_j1l.c: Likewise.
45414 * math/w_jn.c: Likewise.
45415 * math/w_jnf.c: Likewise.
45416 * math/w_jnl.c: Likewise.
45417 * math/w_lgamma.c: Likewise.
45418 * math/w_lgamma_r.c: Likewise.
45419 * math/w_lgammaf.c: Likewise.
45420 * math/w_lgammaf_r.c: Likewise.
45421 * math/w_lgammal.c: Likewise.
45422 * math/w_lgammal_r.c: Likewise.
45423 * math/w_log.c: Likewise.
45424 * math/w_log10.c: Likewise.
45425 * math/w_log10f.c: Likewise.
45426 * math/w_log10l.c: Likewise.
45427 * math/w_log2.c: Likewise.
45428 * math/w_log2f.c: Likewise.
45429 * math/w_log2l.c: Likewise.
45430 * math/w_logf.c: Likewise.
45431 * math/w_logl.c: Likewise.
45432 * math/w_pow.c: Likewise.
45433 * math/w_powf.c: Likewise.
45434 * math/w_powl.c: Likewise.
45435 * math/w_remainder.c: Likewise.
45436 * math/w_remainderf.c: Likewise.
45437 * math/w_remainderl.c: Likewise.
45438 * math/w_scalb.c: Likewise.
45439 * math/w_scalbf.c: Likewise.
45440 * math/w_scalbl.c: Likewise.
45441 * math/w_sinh.c: Likewise.
45442 * math/w_sinhf.c: Likewise.
45443 * math/w_sinhl.c: Likewise.
45444 * math/w_sqrt.c: Likewise.
45445 * math/w_sqrtf.c: Likewise.
45446 * math/w_sqrtl.c: Likewise.
45447 * math/w_tgamma.c: Likewise.
45448 * math/w_tgammaf.c: Likewise.
45449 * math/w_tgammal.c: Likewise.
45451 * po/ja.po: Update from translation team.
45453 2011-09-29 Andreas Jaeger <aj@suse.de>
45456 * sunrpc/netname.c (netname2host): Fix logic.
45460 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45462 * math/w_remainder.c (__remainder): Likewise.
45463 * math/w_remainderf.c (__remainderf): Likewise.
45464 * math/libm-test.inc (remainder_test): Add test cases.
45466 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45468 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45471 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45473 * string/test-memcmp.c: Avoid unncessary #defines.
45474 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45476 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45478 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45479 Use new sse2 version for core i3 - i7 as it's faster
45480 than sse42 version.
45481 (bit_Prefer_PMINUB_for_stringop): New.
45482 * sysdeps/x86_64/rawmemchr.S: Update.
45483 Replace with faster SSE2 version.
45484 * sysdeps/x86_64/memrchr.S: New file.
45485 * sysdeps/x86_64/memchr.S: Update.
45486 Replace with faster SSE2 version.
45488 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45490 * elf/dl-load.c (lose): Add cast to avoid warning.
45492 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45494 * po/ca.po: Update from translation team.
45496 * inet/getnetgrent_r.c: Hook up nscd.
45497 * nscd/Makefile (routines): Add nscd_netgroup.
45498 (nscd-modules): Add netgroupcache.
45499 (CFLAGS-netgroupcache.c): Define.
45500 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45501 (cache_search): Add const to second parameter.
45502 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45504 (dbs): Add netgrdb entry.
45505 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45506 (verify_persistent_db): Handle netgrdb.
45507 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45508 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45510 (netgroup_response_header): Define.
45511 (innetgroup_response_header): Define.
45512 (datahead): Add netgroup_response_header and innetgroup_response_header
45514 * nscd/nscd.conf: Add entries for netgroup cache.
45515 * nscd/nscd.h (dbtype): Add netgrdb.
45516 (_PATH_NSCD_NETGROUP_DB): Define.
45517 (netgroup_iov_disabled): Declare.
45518 (xmalloc, xcalloc, xrealloc): Move declarations here.
45519 (cache_search): Adjust prototype.
45520 Add netgroup-related prototypes.
45521 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45522 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45523 (__nscd_innetgr): Declare.
45524 * nscd/selinux.c (perms): Use access_vector_t as element type and
45525 add netgroup-related initializers.
45526 * nscd/netgroupcache.c: New file.
45527 * nscd/nscd_netgroup.c: New file.
45528 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45529 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45530 For four parameters use innetgr.
45531 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45532 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45533 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45534 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45536 * nscd/connections.c (register_traced_file): Don't register file
45537 for disabled databases.
45539 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45541 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45543 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45544 from tree and freeing node.
45546 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45548 * nss/nsswitch.c (__nss_database_lookup): Handle
45549 nss_parse_service_list out of memory case.
45551 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45553 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45554 out of memory case.
45556 2011-10-04 Andreas Schwab <schwab@redhat.com>
45558 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45559 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45561 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45562 elf_machine_rela, elf_machine_lazy_rel.
45563 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45564 (ELF_DYNAMIC_DO_REL): Likewise.
45565 (ELF_DYNAMIC_DO_RELA): Likewise.
45566 (ELF_DYNAMIC_RELOCATE): Likewise.
45567 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45568 to ELF_DYNAMIC_DO_REL.
45569 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45570 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45571 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45574 skip_ifunc, don't call ifunc function if non-zero.
45575 (elf_machine_rela): Likewise.
45576 (elf_machine_lazy_rel): Likewise.
45577 (elf_machine_lazy_rela): Likewise.
45578 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45579 (elf_machine_lazy_rel): Likewise.
45580 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45582 (elf_machine_lazy_rel): Likewise.
45583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45585 (elf_machine_lazy_rel): Likewise.
45586 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45587 (elf_machine_lazy_rel): Likewise.
45588 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45589 (elf_machine_lazy_rel): Likewise.
45590 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45591 (elf_machine_lazy_rel): Likewise.
45592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45593 (elf_machine_lazy_rel): Likewise.
45594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45595 (elf_machine_lazy_rel): Likewise.
45596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45597 (elf_machine_lazy_rel): Likewise.
45599 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45601 * nss/nss_files/files-init.c (_nss_files_init): Use static
45602 initialization for all the *_traced_file variables.
45604 2011-09-28 Andreas Schwab <schwab@redhat.com>
45606 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45608 2011-09-27 Roland McGrath <roland@hack.frob.com>
45611 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45613 2011-09-27 Andreas Schwab <schwab@redhat.com>
45615 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45616 Reread the line before reparsing it.
45618 2011-09-26 Andreas Schwab <schwab@redhat.com>
45620 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45622 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45623 Maxim Kuvyrkov <maxim@codesourcery.com>
45624 Joseph Myers <joseph@codesourcery.com>
45626 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45627 if needed for __stack_chk_guard.
45629 2011-09-19 Roland McGrath <roland@hack.frob.com>
45631 * sysdeps/posix/spawni.c (script_execute): Always define it.
45632 It will be optimized away if unused.
45633 (maybe_script_execute): New function.
45634 (__spawni): Call it.
45636 * Makerules: Don't include tls.make.
45637 (config-tls): Always set to thread.
45638 * tls.make.c: File removed.
45640 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45642 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45643 * config.make.in (CPPFLAGS-config): New substituted variable.
45645 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45650 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45651 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45653 2011-09-15 Roland McGrath <roland@hack.frob.com>
45655 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45656 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45658 (CALL_FAIL): Likewise.
45659 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45660 (CALL_FAIL): Macro removed.
45661 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45663 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45665 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45666 for __FINITE_MATH_ONLY__ == 1.
45668 2011-09-15 Andreas Schwab <schwab@redhat.com>
45670 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45671 __ieee754_sqrt instead of sqrt.
45672 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45673 __ieee754_sqrtf instead of sqrtf.
45674 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45675 __floorf instead of floorf.
45676 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45677 __floorf, __truncf instead of floorf, truncf.
45679 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45681 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45683 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45684 __extern_always_inline.
45685 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45688 2011-09-14 Andreas Schwab <schwab@redhat.com>
45690 * elf/rtld.c (dl_main): Also relocate in dependency order when
45691 doing symbol dependency testing.
45693 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45696 Always define `refsym'.
45698 2011-09-13 Andreas Schwab <schwab@redhat.com>
45700 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45701 (__FD_ELT): Renamed from __FDELT.
45702 * misc/bits/select2.h (__FD_ELT): Likewise.
45703 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45704 __FD_MASK instead of __FDELT, __FDMASK.
45705 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45707 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45710 * elf/Makefile (gen-ldd): Fix pattern.
45712 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45713 (init_tls): Likewise.
45715 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45719 2011-09-12 Andreas Schwab <schwab@redhat.com>
45721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45722 `struct cmsghdr *' instead of `void *'.
45723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45726 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45728 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45730 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45731 ldd_rewrite_script.
45733 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45735 * configure.in: Remove --with-tls option.
45736 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45737 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45738 out in case it is missing.
45739 * sysdeps/ia64/elf/configure.in: Likewise.
45740 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45741 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45742 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45743 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45744 * sysdeps/sh/elf/configure.in: Likewise.
45745 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45746 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45747 * sysdeps/x86_64/elf/configure.in: Likewise.
45748 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45749 * sysdeps/mach/hurd/tls.h: Likewise.
45752 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45755 * configure.in: Fix use of AC_INIT.
45757 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45759 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45761 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45763 * malloc/hooks.c: Likewise.
45766 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45767 variables statically.
45768 (narenas): Initialize.
45769 (list_lock): Initialize.
45770 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45771 initializtion of main_arena and list_lock. Small cleanups.
45772 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45773 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45774 Add initializers to main_arena and mp_.
45775 (malloc_state): Remove pagesize member. Change all users to use
45778 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45779 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45780 is always initialized.
45782 * malloc/malloc.c: Removed unused configurations and dead code.
45783 * malloc/arena.c: Likewise.
45784 * malloc/hooks.c: Likewise.
45785 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45787 * include/tls.h: Removed. USE___THREAD must always be defined.
45788 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45789 * elf/dl-libc.c: Likewise.
45790 * elf/dl-tsd.c: Likewise.
45791 * include/errno.h: Likewise.
45792 * include/netdb.h: Likewise.
45793 * include/resolv.h: Likewise.
45794 * inet/herrno-loc.c: Likewise.
45795 * inet/herrno.c: Likewise.
45796 * malloc/arena.c: Likewise.
45797 * malloc/hooks.c: Likewise.
45798 * malloc/malloc.c: Likewise.
45799 * resolv/res-state.c: Likewise.
45800 * resolv/res_libc.c: Likewise.
45801 * sysdeps/i386/dl-machine.h: Likewise.
45802 * sysdeps/ia64/dl-machine.h: Likewise.
45803 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45804 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45805 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45806 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45807 * sysdeps/sh/dl-machine.h: Likewise.
45808 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45809 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45810 * sysdeps/unix/i386/sysdep.S: Likewise.
45811 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45812 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45817 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45819 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45821 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45822 * sysdeps/x86_64/dl-machine.h: Likewise.
45823 * tls.make.c: Likewise.
45825 * configure.in: Remove --with-__thread option. Make tests for
45826 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45827 tls_model attribute fail if no support is available. Remove
45829 * Makeconfig: Adjust for dropped configure option. All features are
45831 * Makerules: Likewise.
45832 * Versions.def: Likewise.
45833 * argp/argp-fmtstream.c: Likewise.
45834 * argp/argp-fmtstream.h: Likewise.
45835 * argp/argp-help.c: Likewise.
45836 * assert/assert.c: Likewise.
45837 * config.h.in: Likewise.
45838 * config.make.in: Likewise.
45839 * configure: Likewise.
45840 * configure.in: Likewise.
45841 * csu/Versions: Likewise.
45842 * csu/init.c: Likewise.
45843 * elf/tst-audit2.c: Likewise.
45844 * elf/tst-tls10.c: Likewise.
45845 * elf/tst-tls10.h: Likewise.
45846 * elf/tst-tls11.c: Likewise.
45847 * elf/tst-tls12.c: Likewise.
45848 * elf/tst-tls14.c: Likewise.
45849 * elf/tst-tlsmod11.c: Likewise.
45850 * elf/tst-tlsmod12.c: Likewise.
45851 * elf/tst-tlsmod13.c: Likewise.
45852 * elf/tst-tlsmod13a.c: Likewise.
45853 * elf/tst-tlsmod14a.c: Likewise.
45854 * elf/tst-tlsmod15b.c: Likewise.
45855 * elf/tst-tlsmod16a.c: Likewise.
45856 * elf/tst-tlsmod16b.c: Likewise.
45857 * elf/tst-tlsmod7.c: Likewise.
45858 * elf/tst-tlsmod8.c: Likewise.
45859 * elf/tst-tlsmod9.c: Likewise.
45860 * gmon/gmon.c: Likewise.
45861 * grp/fgetgrent_r.c: Likewise.
45862 * grp/putgrent.c: Likewise.
45863 * hurd/fopenport.c: Likewise.
45864 * include/libc-symbols.h: Likewise.
45865 * include/tls.h: Likewise.
45866 * intl/gettextP.h: Likewise.
45867 * intl/loadinfo.h: Likewise.
45868 * locale/global-locale.c: Likewise.
45869 * locale/localeinfo.h: Likewise.
45870 * mach/devstream.c: Likewise.
45871 * malloc/arena.c: Likewise.
45872 * malloc/set-freeres.c: Likewise.
45873 * misc/err.c: Likewise.
45874 * misc/getttyent.c: Likewise.
45875 * misc/mntent_r.c: Likewise.
45876 * posix/getopt.c: Likewise.
45877 * posix/wordexp.c: Likewise.
45878 * pwd/fgetpwent_r.c: Likewise.
45879 * resolv/Versions: Likewise.
45880 * resolv/res_hconf.c: Likewise.
45881 * shadow/fgetspent_r.c: Likewise.
45882 * shadow/putspent.c: Likewise.
45883 * stdio-common/printf_fphex.c: Likewise.
45884 * stdio-common/tmpfile.c: Likewise.
45885 * stdlib/abort.c: Likewise.
45886 * stdlib/fmtmsg.c: Likewise.
45887 * sunrpc/auth_unix.c: Likewise.
45888 * sunrpc/clnt_perr.c: Likewise.
45889 * sunrpc/clnt_tcp.c: Likewise.
45890 * sunrpc/clnt_udp.c: Likewise.
45891 * sunrpc/clnt_unix.c: Likewise.
45892 * sunrpc/openchild.c: Likewise.
45893 * sunrpc/svc_simple.c: Likewise.
45894 * sunrpc/svc_tcp.c: Likewise.
45895 * sunrpc/svc_udp.c: Likewise.
45896 * sunrpc/svc_unix.c: Likewise.
45897 * sunrpc/xdr.c: Likewise.
45898 * sunrpc/xdr_array.c: Likewise.
45899 * sunrpc/xdr_rec.c: Likewise.
45900 * sunrpc/xdr_ref.c: Likewise.
45901 * sunrpc/xdr_stdio.c: Likewise.
45903 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45905 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45907 2011-07-03 Andreas Jaeger <aj@suse.de>
45909 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45910 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45911 regenerate with gen-libm-tests.pl.
45913 2010-05-12 Petr Baudis <pasky@suse.cz>
45916 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45917 around j0() zero points by switching to j1().
45918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45923 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45925 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45927 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45930 Patch in part by Pavel Roskin <proski@gnu.org>.
45933 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45935 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45936 Free memory block if necessary.
45939 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45940 be NULL. Don't lock in this case.
45942 2011-09-09 Roland McGrath <roland@hack.frob.com>
45944 * elf/elf.h (ELFOSABI_GNU): New macro.
45945 (ELFOSABI_LINUX): Define to that.
45947 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45949 * string/strncat.c (strncat): Undef the symbol in case it has been
45950 defined in bits/string.h.
45952 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45954 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45956 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45959 2011-08-17 Andreas Jaeger <aj@suse.de>
45961 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45963 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45964 Ian Lance Taylor <iant@google.com>
45966 * math/libm-test.inc (lround_test): New testcase.
45967 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45969 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45971 * Makefile: Remove support for automatic cvs check-ins.
45972 * Makerules: Likewise.
45973 * config.make.in: Likewise.
45974 * configure.in: Likewise.
45975 * intl/Makefile: Likewise.
45976 * locale/Makefile: Likewise.
45977 * po/Makefile: Likewise.
45978 * posix/Makefile: Likewise.
45979 * sysdeps/gnu/Makefile: Likewise.
45980 * sysdeps/mach/hurd/Makefile: Likewise.
45981 * sysdeps/sparc/sparc32/Makefile: Likewise.
45984 * posix/Makefile (bug-regex32-ENV): Define.
45985 Patch by John Stanley <jpsinthemix@verizon.net>.
45987 * misc/Makefile (headers): Add bits/select2.h.
45988 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45989 * misc/bits/select2.h: New file.
45990 * include/bits/select2.h: New file.
45991 * debug/Makefile (routines): Add fdelt_chk.
45992 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45993 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45995 * debug/fdelt_chk.c: New file.
45997 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45998 * wcsmbs/test-wmemcmp.c: Likewise.
45999 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46000 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46002 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46004 * string/Makefile (strop-tests): Add memcmp.
46005 * string/test-wmemcmp.c: New file.
46006 * string/test-memcmp.c: Add wmemcmp support.
46008 2011-09-08 Roland McGrath <roland@hack.frob.com>
46011 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46014 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46015 garbage value in a __mach_port_mod_refs call in the cases of the
46016 task-self and thread-self ports.
46018 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46020 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46022 2011-09-08 Andreas Schwab <schwab@redhat.com>
46024 * elf/dl-load.c (lose): Check for non-null L.
46026 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46028 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46030 * elf/dl-libc.c (dlerror_run): Pass back error code from
46034 * elf/dl-load.c (lose): Free l_origin if it is valid.
46036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46038 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46039 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46042 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46043 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46045 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46047 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46048 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46050 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46051 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46052 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46053 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46054 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46055 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46056 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46058 2011-08-15 Alan Modra <amodra@gmail.com>
46061 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46062 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46063 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46064 ppc_mcount to static-only-routines.
46065 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46067 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46068 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46070 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46072 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46073 for finite and infinity parameters.
46075 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46078 and add nop instructions for throughput optimization.
46079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46081 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46083 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46084 aligned copy for power7 with vector-scalar instructions.
46085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46087 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46092 2011-09-07 Andreas Schwab <schwab@redhat.com>
46095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46098 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46100 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46101 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46102 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46103 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46106 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46109 Forgot to demangle the pointer.
46111 * sysdeps/i386/sysdep.h: Define atom_text_section.
46112 * sysdeps/x86_64/sysdep.h: Likewise.
46113 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46114 section with atom_text_section.
46115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46117 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46118 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46119 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46121 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46122 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46123 already be defined. Change to take two parameters and don't assign
46124 result to variable. Adjust all users.
46125 Define INTERNAL_GETTIME if not already defined.
46126 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46129 HAVE_CLOCK_GETTIME_VSYSCALL.
46130 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46133 gettimeofday vsyscall, just use time.
46135 2011-09-06 Andreas Schwab <schwab@redhat.com>
46137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46140 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46142 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46146 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46147 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46148 syscall if possible.
46150 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46152 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46153 e_ident. Don't pass to find_mapsXX.
46154 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46156 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46159 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46160 * sysdeps/x86_64/multiarch/strchr.S: Update.
46161 Check bit_slow_BSF bit.
46162 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46163 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46166 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46169 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46171 (tryshell): Define.
46172 (__spawni): Change last parameter to be flag. Test
46173 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46174 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46175 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46176 * posix/spawni.c: Likewise.
46177 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46178 * posix/spawnp.c: Likewise. Change normal version to use
46179 SPAWN_XFLAGS_USE_PATH.
46180 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46181 SPAWN_XFLAGS_TRY_SHELL.
46184 * posix/glob.h: Remove gcc 1.x support.
46187 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46189 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46192 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46194 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46195 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46196 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46197 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46198 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46199 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46201 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46203 * sysdeps/x86_64/wcscmp.S: New file.
46205 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46206 wcscmp-c wcscmp-sse2
46207 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46208 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46209 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46210 * wcsmbs/wcscmp.c: Allow renaming.
46212 2011-09-05 David S. Miller <davem@davemloft.net>
46214 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46215 stack slot, rather than the struct return pointer slot.
46216 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46217 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46219 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46221 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46223 * po/ja.po: Update from translation team.
46226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46227 kernel in 64-bit binaries.
46229 2011-09-01 David S. Miller <davem@davemloft.net>
46231 * elf/elf.h (HWCAP_SPARC_*): Move to..
46232 * sysdeps/sparc/sysdep.h: this new file and add new values.
46233 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46234 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46235 _DL_HWCAP_COUNT to 24.
46236 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46238 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46239 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46240 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46242 instead of magic constants.
46243 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46245 2011-08-31 David S. Miller <davem@davemloft.net>
46247 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46249 Reimplement to do errno handling inline.
46250 (SYSCALL_ERROR_HANDLER): New macro.
46251 (__SYSCALL_STRING): Do not do errno handling in asm.
46252 (__CLONE_SYSCALL_STRING): Delete.
46253 (__INTERNAL_SYSCALL_STRING): Delete.
46254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46255 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46256 (PSEUDO): Reimplement to do errno handling inline.
46257 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46258 (SYSCALL_ERROR_HANDLER): New macro.
46259 (__SYSCALL_STRING): Do not do errno handling in asm.
46260 (__CLONE_SYSCALL_STRING): Delete.
46261 (__INTERNAL_SYSCALL_STRING): Delete.
46262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46263 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46265 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46266 (inline_syscall*): Add 'err' argument.
46267 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46268 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46269 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46270 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46272 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46273 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46275 2011-08-30 Andreas Schwab <schwab@redhat.com>
46277 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46279 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46281 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46284 2011-08-24 David S. Miller <davem@davemloft.net>
46286 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46288 2011-08-24 Andreas Schwab <schwab@redhat.com>
46290 * elf/Makefile: Add rules to build and run unload8 test.
46291 * elf/unload8.c: New file.
46292 * elf/unload8mod1.c: New file.
46293 * elf/unload8mod1x.c: New file.
46294 * elf/unload8mod2.c: New file.
46295 * elf/unload8mod3.c: New file.
46297 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46300 2011-08-23 David S. Miller <davem@davemloft.net>
46302 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46303 subtract stack bias.
46304 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46305 %sp not %fp in calculations.
46306 (_JMPBUF_UNWINDS_ADJ): Likewise.
46308 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46309 (aio_suspend): Call it to force an exception region around the
46310 AIO_MISC_WAIT() invocation.
46312 2011-08-23 Andreas Schwab <schwab@redhat.com>
46314 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46317 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46319 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46321 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46322 and <dl-machine.h>.
46323 (Elf64_FuncDesc): Remove.
46325 2011-08-22 David S. Miller <davem@davemloft.net>
46327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46328 sigaltstack check, add missing cfi directives.
46329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46330 missing cfi directives, and sigaltstack handling.
46332 2011-08-16 Andreas Schwab <schwab@redhat.com>
46335 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46336 object is seen twice.
46337 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46339 * elf/Makefile (distribute): Add tst-initorder2.c.
46340 (tests): Add tst-initorder2.
46341 (modules-names): Add tst-initorder2a tst-initorder2b
46342 tst-initorder2c tst-initorder2d. Add rules to build them.
46343 ($(objpfx)tst-initorder2.out): New rule.
46344 * elf/tst-initorder2.c: New file.
46345 * elf/tst-initorder2.exp: New file.
46347 2011-08-22 Andreas Schwab <schwab@redhat.com>
46349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46351 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46352 dependencies back to end of function.
46354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46355 $(elfobjdir)/ld.so.
46357 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46360 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46362 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46363 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46364 of __vdso_gettimeofday.
46365 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46366 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46368 (_libc_vdso_platform_setup): Remove initialization of
46369 __vdso_gettimeofday and __vdso_time.
46371 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46373 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46374 and fgetc_unlocked.
46375 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46378 * elf/dl-open.c (add_to_global): Report additions to the global scope
46379 for LD_DEBUG=scopes.
46380 (dl_open_worker): Also print scope of newly loaded dependencies.
46381 (_dl_show_scope): Indicate if there is no scope.
46384 * stdio-common/Makefile (tests): Add bug24.
46385 * stdio-common/bug24.c: New file.
46387 2011-08-19 Andreas Jaeger <aj@suse.de>
46390 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46391 non-existant file when using close-on-exec mode.
46393 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46396 the very first instruction.
46398 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46399 the CFI state in the end.
46400 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46401 inclusion of dl-trampoline.h.
46402 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46404 2011-08-19 Andreas Schwab <schwab@redhat.com>
46406 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46407 expectations for long double.
46409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46410 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46412 2011-08-14 David S. Miller <davem@davemloft.net>
46414 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46415 artificual limit depends upon the system page size.
46417 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46419 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46420 * resolv/Makefile: Define CFLAGS-libresolv.
46422 2011-08-17 Andreas Schwab <schwab@redhat.com>
46424 * nss/makedb.c (compute_tables): Make variables used in nested
46427 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46429 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46430 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46431 if buffer was too small.
46433 * elf/pldd.c (main): Attach to all threads in the process.
46434 Rewrite /proc handling to use *at functions.
46436 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46438 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46439 specifies first scope to show.
46440 (dl_open_worker): Update callers. Move printing scope of new
46441 object to before the relocation.
46442 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46443 * sysdeps/generic/ldsodefs.h: Update declaration.
46445 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46446 string for the scope number.
46448 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46450 * nscd/servicescache.c (cache_addserv): Make sure written is always
46453 2011-08-14 Roland McGrath <roland@hack.frob.com>
46455 * sysdeps/i386/i486/bits/atomic.h
46456 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46457 statement expression, so as to suppress "set but not used" warning.
46458 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46460 * string/strncat.c (STRNCAT): Use prototype definition.
46462 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46463 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46465 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46466 (localedef-modules): Add localedef.
46467 (locale-modules): Add locale.
46469 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46470 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46471 to avoid a warning.
46473 2011-08-14 David S. Miller <davem@davemloft.net>
46475 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46476 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46478 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46480 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46481 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46482 * elf/rtld.c (dl_main): Set l_name of vDSO.
46483 Call _dl_show_scope when DL_DEBUG_SCOPES.
46484 (process_dl_debug): Recognize scopes flag and also set it for all.
46485 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46486 Declare _dl_show_scope.
46488 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46489 (do_dlopen): Pass caller_dlopen to dl_open.
46490 (__libc_dlopen_mode): Initialize caller_dlopen.
46492 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46493 of libc. Make tolower call locale-independent. Optimize a bit by
46494 using isdigit instead of isalnum.
46495 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46497 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46499 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46500 was a dependency or dynamically loaded.
46502 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46504 * intl/l10nflist.c: Allow architecture-specific pop function.
46505 * sysdeps/x86_64/l10nflist.c: New file.
46507 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46510 2011-08-10 Andreas Schwab <schwab@redhat.com>
46512 * include/dirent.h: Add libc_hidden_proto for scandirat and
46513 scandirat64. Don't declare __scandirat64.
46514 * dirent/scandirat.c: Add libc_hidden_def.
46515 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46516 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46518 2011-08-10 David S. Miller <davem@davemloft.net>
46520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46526 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46528 * Versions.def [libc]: Add GLIBC_2.15.
46529 * dirent/Makefile (routines): Add scandirat and scandirat64.
46530 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46532 * dirent/dirent.h: Declare scandirat and scandirat64.
46533 * dirent/scandirat.c: New file.
46534 * dirent/scandirat64.c: New file.
46535 * sysdeps/wordsize-64/scandirat.c: New file.
46536 * sysdeps/wordsize-64/scandirat64.c: New file.
46537 * dirent/opendir.c: Define opendirat.
46538 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46540 * dirent/scandir64.c: Adjust for scandir.c change.
46541 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46542 __scandirat64, and __scandir_cancel_handler.
46543 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46544 additional parameter and use openat instead of open (outside of ld.so).
46545 Add new __opendir as wrapper around __opendirat.
46546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46547 here without requiring old scandirat implementation.
46549 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46551 * dirent/scandir.c (cancel_handler): Renamed to
46552 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46553 defined. Adjust users.
46554 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46557 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46559 * string/test-string.h (IMPL): Use __STRING to expand name and then
46562 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46565 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46567 * string/Makefile: Update.
46568 (strop-tests): Append strncat.
46569 * string/test-wcscmp.c: New file.
46570 New comprehensive test for wcscmp.
46571 * string/test-strcmp.c: Update.
46572 (WIDE): New define.
46574 2011-07-22 Andreas Schwab <schwab@redhat.com>
46576 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46579 2011-07-26 Andreas Schwab <schwab@redhat.com>
46581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46582 encoding to ACE if AI_IDN.
46584 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46587 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46589 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46592 Fix overflow bug in strncat.
46593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46595 * string/test-strncat.c: Update.
46596 Add new tests for checking overflow bugs.
46598 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46601 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46602 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46603 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46605 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46606 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46607 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46608 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46611 (USE_AS_STRCAT): Define.
46612 Add strcat and strncat support.
46613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46615 2011-07-25 Andreas Schwab <schwab@redhat.com>
46617 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46618 __n bigger than INT_MAX+1.
46619 (__strncmp_g): Likewise.
46621 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46623 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46624 * libio/stido.h: Likewise.
46626 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46631 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46638 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46643 (_dl_x86_64_save_sse): Likewise.
46645 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46649 (_dl_x86_64_save_sse): Likewise.
46651 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46653 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46655 2011-07-21 Andreas Schwab <schwab@redhat.com>
46657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46659 (_dl_x86_64_save_sse): Use correct AVX check.
46661 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46664 bug in strncpy/strncat.
46665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46667 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46669 * string/tester.c (test_strcat): Add tests for different alignments
46670 of source and destination.
46671 (test_strncat): Likewise.
46673 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46676 * posix/glob.c (glob): Check passed in values before using them in
46677 expressions to avoid some overflows.
46678 (glob_in_dir): Likewise.
46681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46682 check for AVX enablement so that we don't crash with old kernels and
46684 * elf/tst-audit4.c: Add same checks here.
46685 * elf/tst-audit6.c: Likewise.
46687 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46689 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46691 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46693 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46695 * po/cs.po: Update from translation team.
46696 * po/bg.po: Likewise.
46698 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46700 * misc/sys/cdefs.h: Add support for const attribute.
46701 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46702 to gnu_dev_{major,minor,makedev} functions.
46704 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46706 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46708 2011-07-20 Andreas Schwab <schwab@redhat.com>
46710 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46713 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46716 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46717 register in order to avoid conflicts with the soft frame pointer
46718 being held in r11 when necessary.
46719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46720 (INTERNAL_VSYSCALL_NCS): Likewise.
46722 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46724 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46725 * elf/dl-fini.c (_dl_fini): Adjust caller.
46726 * elf/dl-close.c (_dl_close_worker): Likewise.
46727 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46729 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46731 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46732 "aux_cache->nlibs < 0".
46734 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46735 in the reload-count case.
46737 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46740 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46741 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46742 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46743 * sysdeps/x86_64/multiarch/strcat.S: New file.
46744 * sysdeps/x86_64/multiarch/strncat.S: New file.
46745 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46746 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46747 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46748 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46750 (USE_AS_STRCAT): Define.
46751 Add strcat and strncat support.
46752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46754 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46755 * string/strncat.c: Update.
46756 (USE_AS_STRNCAT): Define.
46757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46758 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46760 * sysdeps/x86_64/multiarch/init-arch.h
46761 (bit_Prefer_PMINUB_for_stringop): New.
46762 (index_Prefer_PMINUB_for_stringop): Likewise.
46763 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46764 bit_Prefer_PMINUB_for_stringop.
46766 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46768 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46770 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46771 of casting of buffer.
46772 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46773 buffer32 and buffer64.
46774 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46775 writes instead of casting of buffer.
46776 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46778 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46781 2011-07-19 Andreas Schwab <schwab@redhat.com>
46783 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46785 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46787 * nscd/nscd.c (termination_handler): Don't do anything for a database
46788 if it has not yet been initialized.
46790 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46792 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46794 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46796 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46798 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46800 * po/nl.po: Update from translation team.
46801 * po/sv.po: Likewise.
46803 2011-07-16 Roland McGrath <roland@hack.frob.com>
46805 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46806 now disallowed by GCC.
46808 * configure.in (use-default-link): Default to yes if a test -shared
46809 link meets our qualifications.
46810 * configure: Regenerated.
46812 * config.make.in (output-format): New variable.
46813 * configure.in: Check for ld --print-output-format support.
46814 * configure: Regenerated.
46815 * Makerules ($(common-objpfx)format.lds)
46816 [$(output-format) != unknown]: Just use $(output-format),
46817 instead of the linker-script munging.
46819 2011-07-14 Roland McGrath <roland@hack.frob.com>
46821 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46822 of $(common-objpfx)shlib.lds.
46823 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46825 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46826 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46828 * configure.in (-z relro check): Adjust test code to add a large
46829 writable data section after it.
46830 * configure: Regenerated.
46832 2011-07-11 Roland McGrath <roland@hack.frob.com>
46834 * configure.in (-z relro check): Fix test code to make the variable
46836 * configure: Regenerated.
46838 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46840 * nscd/nscd.h (struct traced_file): Define.
46841 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46842 elements. Add traced_files.
46843 (inotify_fd): Declare.
46844 (register_traced_file): Declare.
46845 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46846 (inotify_fd): Export.
46847 (resolv_conf_descr): Remove.
46848 (nscd_init): Move inotify descriptor creation to main.
46849 Don't register files for notification here.
46850 (register_traced_file): New function.
46851 (invalidate_cache): Don't use reset_res to determine whether to call
46852 res_init, go through the list of registered files.
46853 (main_loop_poll): The inotify descriptors are now stored in the
46854 structures for the traced files.
46855 (main_loop_epoll): Likewise
46856 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46857 to __nss_disable_nscd.
46858 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46859 for a database anymore. Check the records for all the registered
46861 * nss/Makefile (libnss_files-routines): Add files-init.
46862 (libnss_db-routines): Add db-init.
46863 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46864 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46865 * nss/nss_db/db-init.c: New file.
46866 * nss/nss_files/files-init.c: New file.
46867 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46868 __nss_lookup_function.
46869 (__nss_lookup_function): Call nss_load_library.
46870 (nss_load_all_libraries): New function.
46871 (__nss_disable_nscd): Take parameter with callback function for files
46872 to register. Set is_nscd. Load all the DSOs for the NSS modules
46873 used for the cached services.
46874 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46875 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46876 options for features to all the files in nscd.
46878 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46880 2011-07-10 Roland McGrath <roland@hack.frob.com>
46882 * csu/elf-init.c (__libc_csu_init): Comment typo.
46884 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46886 * po/pl.po: Update from translation team.
46887 * po/ja.po: Likewise.
46888 * po/ru.po: Likewise.
46889 * po/ko.po: Likewise.
46890 * po/fr.po: Likewise.
46892 2011-07-09 Roland McGrath <roland@hack.frob.com>
46894 * configure.in (.ctors/.dtors header and trailer check):
46895 Use an empirical test on a built program.
46896 * configure: Regenerated.
46898 * configure.in (-z relro check): Use an empirical test on a built DSO.
46899 Detect, but do not require, on ia64.
46900 * configure: Regenerated.
46902 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46903 Update tests that use readelf to use $READELF instead.
46904 * configure: Regenerated.
46906 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46908 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46909 if the result is not used.
46911 2011-07-05 Andreas Jaeger <aj@suse.de>
46914 * stdlib/tst-strtod.c: Add testcase.
46916 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46918 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46919 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46920 The latter has a higher limit. Take additional parameter to pass to
46922 (__pathconf): Pass file to __statfs_link_max.
46923 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46925 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46929 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46932 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46933 (__statfs_filesize_max): Likewise.
46934 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46936 2011-07-05 Andreas Jaeger <aj@suse.de>
46938 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46940 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46942 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46944 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46947 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46949 * Makefile (strop-tests): Add strncat.
46950 * string/test-strncat.c: New file.
46952 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46954 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46956 2011-06-21 Andreas Jaeger <aj@suse.de>
46958 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46959 Copy rule from iconvdata/Makefile.
46961 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46964 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46965 but no long options are defined, just return 'W'.
46967 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46970 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46972 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46974 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46976 (innetgr): Likewise.
46978 2011-07-05 Roland McGrath <roland@hack.frob.com>
46980 * config.make.in (install_root): Default to $(DESTDIR).
46982 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46986 2011-07-02 Roland McGrath <roland@hack.frob.com>
46988 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46990 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46991 containing directory rather than embedding absolute directory names.
46993 * scripts/check-local-headers.sh: Rewritten using awk.
46994 Match by word, not by line. Print error messages for matches.
46995 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46997 * Makerules [shlib-lds-flags empty]:
46998 ($(common-objpfx)libc_pic.opts): New target.
46999 ($(common-objpfx)libc_pic.os.clean): New target.
47000 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47002 * config.make.in (OBJCOPY): New variable.
47003 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47004 * configure: Regenerated.
47006 * config.make.in (use-default-link): New variable.
47007 * configure.in (use_default_link): Grok --with-default-link to set it.
47008 * configure: Regenerated.
47009 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47010 (shlib-lds, shlib-lds-flags): Define to empty.
47012 * Makerules (shlib-lds): New variable.
47013 (shlib-lds-flags): New variable.
47014 (build-shlib, build-moduile, build-module-asneeded): Use it.
47015 ($(common-objpfx)libc.so): Use $(shlib-lds).
47016 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47017 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47019 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47020 DT_FLAGS/DT_FLAGS_1 with zero flags.
47022 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47023 linker script munging.
47025 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47027 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47029 * crypt/sha512.c (sha512_process_block): Perform total addition using
47030 128-bit if possible.
47031 (__sha512_finish_ctx): Likewise.
47032 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47034 * crypt/sha256.c (SWAP64): Define.
47035 (sha256_process_block): Perform total addition using 64-bit if
47037 (__sha256_finish_ctx): Likewise.
47039 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47041 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47042 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47043 * nscd/hstcache.c (cache_addhst): Likewise.
47044 * nscd/grpcache.c (cache_addgr): Likewise.
47045 * nscd/aicache.c (addhstaiX): Likewise
47046 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47048 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47050 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47052 * nscd/hstcache.c (cache_addhst): Likewise.
47053 * nscd/grpcache.c (cache_addgr): Likewise.
47054 * nscd/aicache.c (addhstaiX): Likewise
47056 2011-07-01 Andreas Schwab <schwab@redhat.com>
47058 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47059 domain only when needed.
47061 2011-06-30 Andreas Schwab <schwab@redhat.com>
47063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47064 is always restored.
47066 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47068 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47069 are re-adding the entry.
47070 * nscd/servicescache.c (cache_addserv): Likewise.
47072 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47074 * sysdeps/generic/dl-irel.h: fix protection against multiple
47076 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47078 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47081 * malloc/memusage.sh: Fix quoting in message.
47082 * debug/xtrace.sh: Likewise.
47084 * configure.in: Remove support for --experimental-malloc option, make
47086 * config.make.in: Likewise.
47087 * malloc/Makefile: Likewise.
47089 2011-06-27 Andreas Schwab <schwab@redhat.com>
47091 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47092 two-byte characters.
47094 2011-06-27 Roland McGrath <roland@hack.frob.com>
47096 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47097 AC_CACHE_CHECK invocation.
47098 * configure: Regenerated.
47100 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47102 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47105 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47106 bit from old_res_options.
47108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47110 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47111 value type for setfct.
47113 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47116 __gettimeofday instead of gettimeofday.
47118 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47120 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47122 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47129 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47132 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47133 strcpy-sse2-unaligned strncpy-sse2-unaligned
47134 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47135 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47136 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47137 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47138 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47141 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47142 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47143 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47144 (STRCPY): Support SSE2 and SSSE3 versions.
47146 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47149 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47150 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47151 kernels which artificially limit size of requests.
47153 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47156 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47157 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47158 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47159 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47160 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47161 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47162 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47165 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47166 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47167 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47168 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47169 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47171 Enable unaligned load optimization for Intel Core i3, i5 and i7
47173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47175 (index_Fast_Unaligned_Load): Define.
47176 (HAS_FAST_UNALIGNED_LOAD): Define.
47178 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47180 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47182 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47185 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47186 until it is clear that the information is realy needed.
47187 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47189 2011-06-22 Andreas Schwab <schwab@redhat.com>
47191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47193 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47196 /sys/devices/system/cpu/online if it is usable.
47198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47199 reading the information from the /proc filesystem to once a second.
47201 2011-06-21 Andreas Jaeger <aj@suse.de>
47203 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47204 NULL after inclusion of kernel headers.
47206 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47208 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47209 calls to internal_setent.
47212 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47213 addresses using gethostbyname4_r ignore IPv4 addresses.
47215 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47216 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47218 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47220 2011-06-20 David S. Miller <davem@davemloft.net>
47222 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47224 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47226 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47227 (elf_irel): Use it.
47228 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47229 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47230 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47231 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47232 * sysdeps/x86_64/dl-irel.h: Likewise.
47234 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47235 * elf/dl-sym.c: Likewise.
47237 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47239 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47240 need to dereference resplen2.
47242 2011-06-14 Andreas Schwab <schwab@redhat.com>
47244 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47246 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47248 * Makeconfig: Define vardbdir and inst_vardbdir.
47249 * nss/Makefile: Add rules to install db-Makefile.
47251 * nss/nss_db/db-XXX.c: Cleanup.
47253 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47254 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47256 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47257 * nss/makedb.c: Implement -g option to specify that value strings
47258 are generated and should not be added to table iterated over for
47260 * nss/nss_db/db-initgroups.c: New file.
47262 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47265 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47266 (internal_getgrouplist): Adjust to name change.
47267 Update use_initgroups_entry if this is not the first call.
47268 * nss/databases.def: Add initgroups entry.
47270 * nss/makedb.c (compute_tables): Check result of multiple hash table
47271 sizes to minimize maximum chain length.
47273 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47275 * Versions.def: Add entry for libnss_db.
47276 * shlib-versions: Likewise.
47277 * nss/Makefile: Add rules to build libnss_db.
47278 * nss/Versions: Add libnss_db information. Organize libnss_files
47280 * nss/db-Makefile: Add gshadow support. Change rules for the new
47281 makedb progra. Some minor improvements to generate smaller files.
47282 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47284 * nss/makedb.c: ...here.
47285 Improve database format to be smaller and require less memory at
47287 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47289 * nss/nss_db/db-netgrp.c: Likewise.
47290 * nss/nss_db/db-open.c: Likewise.
47291 * nss/nss_files/flies-XXX.x: Adjust comments.
47292 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47293 * nss/nss_files/files-grp.c: Likewise.
47294 * nss/nss_files/files-hosts.c: Likewise.
47295 * nss/nss_files/files-network.c: Likewise.
47296 * nss/nss_files/files-proto.c: Likewise.
47297 * nss/nss_files/files-pwd.c: Likewise.
47298 * nss/nss_files/files-rpc.c: Likewise.
47299 * nss/nss_files/files-service.c: Likewise.
47300 * nss/nss_files/files-sgrp.c: Likewise.
47301 * nss/nss_files/files-spwd.c: Likewise.
47302 * nss/nss_db/db-alias.c: Removed.
47303 * nss/nss_db/dummy-db.h: Removed.
47305 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47307 * nss/makedb.c: Rewritten to not use database library.
47308 * nss/Makefile: Update to build new makedb program.
47310 2011-06-14 Andreas Jaeger <aj@suse.de>
47312 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47313 memset declaration.
47315 2011-06-10 Andreas Schwab <schwab@redhat.com>
47317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47320 2011-06-10 Roland McGrath <roland@hack.frob.com>
47322 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47323 * elf/Makefile ($(objpfx)ld.so): Likewise.
47325 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47326 Don't list ld.so twice in dependencies.
47328 * posix/bug-regex31.c: Include <stdlib.h>.
47330 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47332 * nis/nss_compat/compat-spwd.c
47333 (getspent_next_nss_netgr): Remove unused variable.
47334 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47336 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47337 nonmembers" output to use the right array.
47339 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47341 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47343 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47344 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47345 * catgets/gencat.c (read_input_file): Likewise.
47346 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47348 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47349 variable definition inside #if's controlling its use.
47351 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47353 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47355 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47357 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47360 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47362 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47363 * configure: Regenerated.
47365 * Makerules: Revert last change.
47366 * elf/Makefile: Likewise.
47368 2011-06-09 Roland McGrath <roland@hack.frob.com>
47370 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47371 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47372 (reloc-link): Likewise.
47374 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47376 * elf/Makefile: Add rules to build pldd.
47377 * elf/pldd.c: New file.
47378 * elf/pldd-xx.c: New file.
47380 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47382 * version.h: Update for 2.15 development version.
47384 2011-06-07 David S. Miller <davem@davemloft.net>
47386 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47389 elf_machine_lazy_rel): Likewise.
47390 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47392 elf_machine_lazy_rel): Likewise.
47393 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47394 dl_hwcap via passed in argument.
47395 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47398 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47400 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47402 2011-06-06 Roland McGrath <roland@hack.frob.com>
47405 * manual/fdl-1.1.texi: New file, verbatim from:
47406 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47407 * manual/lgpl-2.1.texi: New file, verbatim from:
47408 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47409 * manual/Makefile (licenses): New variable, list those new file names.
47411 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47413 * manual/fdl.texi: File removed.
47414 * manual/lesser.texi: File removed.
47415 * manual/libc.texinfo (Copying, Documentation License):
47416 Use new @include file names, put @appendix directive before @include.
47418 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47421 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47422 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47423 (mq_open): Add __NTH.
47425 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47428 Assume Intel Core i3/i5/i7 processor if AVX is available.
47430 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47435 2011-05-31 Andreas Schwab <schwab@redhat.com>
47437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47438 memory. Use alloca_account. Fix memory leak when retrying.
47440 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47442 * version.h (RELEASE): Bump for 2.14 release.
47443 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47445 * config.make.in (RANLIB): Remove entry.
47447 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47449 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47450 (libc.pot): Work around missing support for .ksh extension in xgettext.
47453 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47454 if both request failed.
47455 (send_dg): In case of server errors clear resplen or *resplen2.
47458 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47459 when there are multiple maps.
47460 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47461 (_dl_fini): Remove test here.
47463 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47465 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47468 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47469 bit from old_res_options.
47470 (gaih_inet): Likewise.
47473 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47476 * resolv/res_init.c (res_setoptions): Make the code more compact.
47479 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47483 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47485 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47488 * malloc/malloc.h: Declare malloc hook variables as volatile.
47490 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47494 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47495 raise in the comment.
47496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47498 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47500 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47503 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47504 grow the buffers more if it already has to be sufficient.
47505 (build_wcs_upper_buffer): Likewise.
47506 * posix/regexec.c (check_matching): Likewise.
47507 (clean_state_log_if_needed): Likewise.
47508 (extend_buffers): Don't enlarge buffers beyond size of the input
47510 Patches mostly by Emil Wojak <emil@wojak.eu>.
47511 * posix/bug-regex32.c: New file.
47512 * posix/Makefile (tests): Add bug-regex32.
47514 * locale/findlocale.c (_nl_find_locale): Return right away if
47515 _nl_explode_name failed.
47516 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47518 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47520 * debug/xtrace.sh: Unify messages.
47521 * malloc/memusage.sh: Likewise.
47524 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47525 time symbol from vDSO. Substitute with vsyscall if not available.
47526 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47529 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47530 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47531 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47532 Add sendmmsg and internal_sendmmsg.
47533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47535 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47537 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47538 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47541 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47544 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47545 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47547 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47551 * iconvdata/Makefile (tests): Add bug-iconv9.
47552 * iconvdata/bug-iconv9.c: New file.
47554 2011-05-27 Andreas Schwab <schwab@redhat.com>
47557 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47559 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47562 (struct user_regs_struct): Change intcs field back to cs.
47564 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47566 * po/ja.po: Update from translation team.
47568 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47571 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47572 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47574 2011-05-20 Andreas Schwab <schwab@redhat.com>
47576 * stdlib/longlong.h: Update from GCC.
47578 2011-05-23 Andreas Schwab <schwab@redhat.com>
47580 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47582 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47583 Add parameter name.
47584 (__sysconf): Pass it down.
47586 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47589 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47591 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47592 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47593 add in in __libc_use_alloca calls. Adjust callers.
47594 (glob): Use malloc in some situations.
47596 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47597 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47600 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47602 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47603 and CLOCK_BOOTTIME_ALARM.
47606 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47609 * string/_strerror.c (__strerror_r): Print negative errors as signed
47613 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47614 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47615 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47617 * configure.in: Fix typo in redirection and correct removal of test
47618 files in two cases.
47621 * locale/setlocale.c (new_composite_name): Fix test to check for
47622 identical name of all categories.
47625 * libio/filedoalloc.c (local_isatty): New function.
47626 (_IO_file_doallocate): Use local_isatty.
47627 * stdio-common/perror.c (perror): In case a new stream is used
47628 forward the stream error.
47629 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47632 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47637 * include/alloca.h (extend_alloca_account): Define.
47640 * posix/regex.h: Fix comments with documentation of user-accessible
47641 fields after compilation and describe correct free'ing of pattern
47642 after re_compile_pattern.
47643 Patch by Reuben Thomas <rrt@sc3d.org>.
47645 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47647 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47648 and -mno-altivec to prevent the compiler from using Altivec and/or
47649 VSX instructions when the corresponding registers are not available.
47651 2011-05-19 Andreas Schwab <schwab@redhat.com>
47653 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47655 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47657 * libio/freopen.c (freopen): Use __dup2, not dup2.
47658 * libio/freopen64.c (freopen64): Likewise.
47660 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47663 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47664 * math/Makefile (tests): Add test-powl.
47665 (CFLAGS-test-powl.c): Define.
47666 * math/test-powl.c: New file.
47668 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47670 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47672 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47675 * iconvdata/gb18030.c: Update to GB18020-2005.
47677 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47679 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47680 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47681 Patch by Aharon Robbins <arnold@skeeve.com>.
47684 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47688 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47689 through underflows.
47692 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47693 point to strings before performing equality test for error_one_per_line
47697 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47700 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47701 (struct user_fpregs_struct): Avoid __uint*_t types.
47704 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47705 symbol info. Use it instead of calling _dl_addr locally.
47706 (lock_and_info): New function.
47707 (tr_freehook): Call lock_and_info and pass symbol info as additional
47708 parameter to tr_where.
47709 (tr_mallochook): Likewise.
47710 (tr_reallochook): Likewise.
47711 (tr_memalignhook): Likewise.
47713 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47714 used and couldn't be at all thread-safe.
47716 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47718 * libio/freopen.c (freopen): Don't close old file descriptor
47719 before the new one is opened. Instead dup the new file descriptor
47720 to the old one after the new stream is created.
47721 * libio/freopen64.c (freopen64): Likewise.
47722 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47723 * libio/fileops.c (_IO_new_file_close_it): Handle new
47724 _IO_FLAGS2_NOCLOSE flag.
47725 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47726 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47727 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47728 _IO_FLAGS2_NOCLOSE flag.
47729 * include/unistd.h: Add hidden_proto for dup3.
47730 Define __have_dup3.
47731 * io/dup3.c: Define hidden symbol.
47732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47735 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47736 when an incomplete long option is used.
47737 * posix/tst-getopt_long1.c: New file.
47738 * posix/Makefile (tests): Add tst-getopt_long1.
47741 * scripts/config.guess: Update from autoconf-2.68.
47742 * scripts/config.sub: Likewise.
47745 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47747 (has_cpuclock): ...this. New function.
47748 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47749 macro here based on has_cpuclock code.
47752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47753 First byte (not low byte) is now always NUL.
47754 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47757 Use non-cancelable interfaces.
47760 * locale/iso-639.def: Add entry for Sorani.
47763 * include/stdlib.h: Move include protection to the right place.
47764 Define abort_msg_s. Declare __abort_msg with it.
47765 * stdlib/abort.c (__abort_msg): Adjust type.
47766 * assert/assert.c (__assert_fail_base): New function. Majority
47767 of code from __assert_fail. Allocate memory for __abort_msg with
47769 (__assert_fail): Now call __assert_fail_base.
47770 * assert/assert-perr.c: Remove bulk of implementation. Use
47771 __assert_fail_base.
47772 * include/assert.hL Declare __assert_fail_base.
47773 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47775 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47777 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47781 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47782 until all modules are registered in the DTV.
47783 * elf/Makefile: Add rules to build and run tst-tls19.
47784 * elf/tst-tls19.c: New file.
47785 * elf/tst-tls19mod1.c: New file.
47786 * elf/tst-tls19mod2.c: New file.
47787 * elf/tst-tls19mod3.c: New file.
47788 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47791 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47795 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47796 two-byte sequence errors.
47797 * iconvdata/Makefile (tests): Add bug-iconv8.
47798 * iconvdata/bug-iconv8.c: New file.
47801 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47804 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47807 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47808 (dummy_getcfa): New function.
47809 (init): Get _Unwind_GetCFA address, use dummy if not found.
47810 (backtrace_helper): In recursion check, also check whether CFA changes.
47811 (__backtrace): Completely initialize arg.
47813 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47814 storing incomplete byte sequence in state object. Avoid testing for
47815 guaranteed too small input if we know there is enough data available.
47817 2011-05-11 Andreas Schwab <schwab@redhat.com>
47819 * Makeconfig (+link-pie): Indent.
47820 * Rules (binaries-pie): Define if $(have-fpie) and
47822 (binaries-shared): Also filter out $(binaries-pie).
47823 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47824 * nscd/Makefile (others-pie): Add nscd.
47825 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47826 ($(objpfx)nscd): Remove command override.
47827 * login/Makefile (others-pie): Add pt_chown.
47828 ($(objpfx)pt_chown): Remove command override.
47829 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47830 remove command overrides.
47832 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47834 * libio/tst_putwc.c: Fix error messages.
47837 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47838 currently writing and seek to current position when not.
47839 * libio/Makefile (tests): Add bug-fclose1.
47840 * libio/bug-fclose1.c: New file.
47842 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47845 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47846 don't set DF_1_NODELETE here.
47847 (do_lookup_x): When entering new entry test for copy relocation
47848 and if necessary set DF_1_NODELETE flag.
47849 * elf/tst-unique4.cc: New file.
47850 * elf/tst-unique4.h: New file.
47851 * elf/tst-unique4lib.cc: New file.
47852 * elf/Makefile: Add rules to build and run tst-unique4.
47853 Patch by Piotr Bury <pbury@goahead.com>.
47855 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47858 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47861 * misc/mntent_r.c (addmntent): Flush the stream after the output
47864 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47865 (is_trusted_path_normalize): Skip initial colon. Append slash
47866 to empty buffer. Duplicate is_trusted_path code but allow
47867 constructed patch to be prefix.
47868 (is_dst): Allow $ORIGIN followed by /.
47869 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47870 Correct testing of result of is_trusted_path_normalize
47871 (decompose_rpath): Fix warning.
47873 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47876 * grp/initgroups.c (internal_getgrouplist): When we found the service
47877 list through the initgroups entry in nsswitch.conf do not always
47878 continue on a successful lookup. Don't always use the
47879 __nss_group_database value if it is set.
47880 * nss/nsswitch.conf (initgroups): Change action for successful db
47881 lookup to continue for compatibility.
47883 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47886 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47888 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47890 * iconvdata/tst-tables.sh: Likewise.
47891 * iconvdata/cp770.c: New file.
47892 * iconvdata/cp771.c: New file.
47893 * iconvdata/cp772.c: New file.
47894 * iconvdata/cp773.c: New file.
47895 * iconvdata/cp774.c: New file.
47896 * iconvdata/testdata/CP770: New file.
47897 * iconvdata/testdata/CP770..UTF8: New file.
47898 * iconvdata/testdata/CP771: New file.
47899 * iconvdata/testdata/CP771..UTF8: New file.
47900 * iconvdata/testdata/CP772: New file.
47901 * iconvdata/testdata/CP772..UTF8: New file.
47902 * iconvdata/testdata/CP773: New file.
47903 * iconvdata/testdata/CP773..UTF8: New file.
47904 * iconvdata/testdata/CP774: New file.
47905 * iconvdata/testdata/CP774..UTF8: New file.
47907 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47909 * iconvdata/gen-8bit-gap.sh: Likewise.
47910 * iconvdata/gen-8bit.sh: Likewise.
47912 * locale/iso-639.def: Add ary entry.
47915 * locale/C-translit.h.in: Add U20A1 transliteration.
47918 * locale/iso-639.def: Add wae entry.
47919 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47922 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47926 * locale/C-translit.h.in: Add entry for U20B9.
47927 Patch by pravin.d.s@gmail.com.
47929 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47932 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47933 ENAMETOOLONG use generic getcwd.
47934 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47935 in rtld. Use *stat64.
47936 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47937 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47938 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47939 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47940 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47941 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47942 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47943 __fstatat64 macros.
47944 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47945 * dirent/rewinddir.c: Add libc_hidden_def.
47946 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47947 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47949 * include/dirent.h (__alloc_dir): Add flags parameter.
47950 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47951 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47953 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47954 from fdopendir if O_CLOEXEC is already set.
47956 2011-03-15 Alan Modra <amodra@gmail.com>
47958 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47959 l_tls_firstbyte_offset non-zero. Save padding offset in
47960 l_tls_firstbyte_offset for later use.
47961 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47962 freeing static tls block.
47964 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47966 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47967 where #ifdef was intended. The intent is to prevent ARG_MAX from
47968 being defined by the kernel headers.
47970 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47973 * resolv/resolv.h: Define RES_NOTLDQUERY.
47974 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47975 no-tld-query and set RES_NOTLDQUERY.
47976 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47977 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47978 modern BIND to search name as TLD unless forbidden.
47980 2011-05-07 Petr Baudis <pasky@suse.cz>
47981 Ulrich Drepper <drepper@gmail.com>
47984 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47985 (is_trusted_path): ...to here.
47986 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47987 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47988 using is_trusted_path_normalize() in setuid scripts.
47990 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47992 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47993 __BEGIN/__END_DECLS.
47995 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47998 NSS_STATUS_NOTFOUND if no record was found.
48000 2011-05-05 Andreas Schwab <schwab@redhat.com>
48002 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48003 (headers-not-in-tirpc): Remove rpc/netdb.h
48004 * resolv/netdb.h: Revert last change.
48006 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48008 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48009 circular dependency between libgcc.a and libc.a.
48011 2011-05-05 Andreas Schwab <schwab@redhat.com>
48013 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48014 * nis/Makefile: Don't install rpcsvc/*.
48015 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48016 instead of <rpc/types.h>.
48017 (MAXHOSTNAMELEN): Define.
48019 2011-05-03 Andreas Schwab <schwab@redhat.com>
48021 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48023 2011-04-28 Maciej Babinski <mbabinski@google.com>
48026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48027 gethostbyname4_r when IPv6 results are possible.
48029 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48032 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48033 _PC_PIPE_BUF handling.
48035 2011-04-30 Bruno Haible <bruno@clisp.org>
48038 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48039 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48041 * inet/getnameinfo.c (getnameinfo): Likewise.
48043 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48045 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48046 to groups setting in database lookup.
48047 * nss/nsswitch.conf: Add initgroups entry.
48049 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48052 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48054 Patch by Eric Blake <eblake@redhat.com>.
48056 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48058 * sunrpc/Makefile (need-export-routines): Add svc_run.
48059 (routines): Remove svc_run.
48060 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48061 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48062 * sunrpc/svc_run.c (svc_run): Likewise.
48063 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48065 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48068 problem in reallocation in last patch.
48070 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48072 * sunrpc/Makefile: Move inclusion of Rules.
48074 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48076 * nss/nss_files/files-initgroups.c: New file.
48077 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48078 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48079 _nss_files_initgroups_dyn.
48081 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48083 * elf/elf.h (R_ARM_IRELATIVE): Define.
48085 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48087 * po/ru.po: Update from translation team.
48089 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48091 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48094 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48097 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48098 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48103 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48105 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48107 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48111 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48114 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48116 * stdlib/bug-getcontext.c: New file.
48117 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48119 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48121 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48122 instructions into .machine "z9-109".
48123 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48124 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48126 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48128 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48129 between environment variables and auxiliary vector.
48131 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48133 * Makefile: Add rules to build linkobj/libc.so.
48134 * include/libc-symbols.h: Define libc_hidden_nolink.
48135 * include/rpc/auth.h: Mark functions which are to be hidden.
48136 * include/rpc/auth_des.h: Likewise.
48137 * include/rpc/auth_unix.h: Likewise.
48138 * include/rpc/clnt.h: Likewise.
48139 * include/rpc/des_crypt.h: Likewise.
48140 * include/rpc/key_prot.h: Likewise.
48141 * include/rpc/pmap_clnt.h: Likewise.
48142 * include/rpc/pmap_prot.h: Likewise.
48143 * include/rpc/pmap_rmt.h: Likewise.
48144 * include/rpc/rpc_msg.h: Likewise.
48145 * include/rpc/svc.h: Likewise.
48146 * include/rpc/svc_auth.h: Likewise.
48147 * include/rpc/xdr.h: Likewise.
48148 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48149 * nss/Makefile: Likewise.
48150 * sunrpc/Makefile: Don't install headers. Build library with normal
48151 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48152 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48153 for the compat linking library. Remove use of INTDEF/INTUSE.
48154 * sunrpc/auth_none.c: Likewise.
48155 * sunrpc/auth_unix.c: Likewise.
48156 * sunrpc/authdes_prot.c: Likewise.
48157 * sunrpc/authuxprot.c: Likewise.
48158 * sunrpc/clnt_gen.c: Likewise.
48159 * sunrpc/clnt_perr.c: Likewise.
48160 * sunrpc/clnt_raw.c: Likewise.
48161 * sunrpc/clnt_simp.c: Likewise.
48162 * sunrpc/clnt_tcp.c: Likewise.
48163 * sunrpc/clnt_udp.c: Likewise.
48164 * sunrpc/clnt_unix.c: Likewise.
48165 * sunrpc/des_crypt.c: Likewise.
48166 * sunrpc/des_soft.c: Likewise.
48167 * sunrpc/get_myaddr.c: Likewise.
48168 * sunrpc/key_call.c: Likewise.
48169 * sunrpc/key_prot.c: Likewise.
48170 * sunrpc/netname.c: Likewise.
48171 * sunrpc/pm_getmaps.c: Likewise.
48172 * sunrpc/pm_getport.c: Likewise.
48173 * sunrpc/pmap_clnt.c: Likewise.
48174 * sunrpc/pmap_prot.c: Likewise.
48175 * sunrpc/pmap_prot2.c: Likewise.
48176 * sunrpc/pmap_rmt.c: Likewise.
48177 * sunrpc/publickey.c: Likewise.
48178 * sunrpc/rpc_cmsg.c: Likewise.
48179 * sunrpc/rpc_common.c: Likewise.
48180 * sunrpc/rpc_dtable.c: Likewise.
48181 * sunrpc/rpc_prot.c: Likewise.
48182 * sunrpc/rpc_thread.c: Likewise.
48183 * sunrpc/rtime.c: Likewise.
48184 * sunrpc/svc.c: Likewise.
48185 * sunrpc/svc_auth.c: Likewise.
48186 * sunrpc/svc_authux.c: Likewise.
48187 * sunrpc/svc_raw.c: Likewise.
48188 * sunrpc/svc_run.c: Likewise.
48189 * sunrpc/svc_simple.c: Likewise.
48190 * sunrpc/svc_tcp.c: Likewise.
48191 * sunrpc/svc_udp.c: Likewise.
48192 * sunrpc/svc_unix.c: Likewise.
48193 * sunrpc/svcauth_des.c: Likewise.
48194 * sunrpc/xcrypt.c: Likewise.
48195 * sunrpc/xdr.c: Likewise.
48196 * sunrpc/xdr_array.c: Likewise.
48197 * sunrpc/xdr_float.c: Likewise.
48198 * sunrpc/xdr_intXX_t.c: Likewise.
48199 * sunrpc/xdr_mem.c: Likewise.
48200 * sunrpc/xdr_rec.c: Likewise.
48201 * sunrpc/xdr_ref.c: Likewise.
48202 * sunrpc/xdr_sizeof.c: Likewise.
48203 * sunrpc/xdr_stdio.c: Likewise.
48205 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48208 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48209 * sysdeps/ia64/dl-tls.h: Likewise.
48210 * sysdeps/powerpc/dl-tls.h: Likewise.
48211 * sysdeps/s390/dl-tls.h: Likewise.
48212 * sysdeps/sh/dl-tls.h: Likewise.
48213 * sysdeps/sparc/dl-tls.h: Likewise.
48214 * sysdeps/x86_64/dl-tls.h: Likewise.
48215 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48217 2011-03-14 Andreas Schwab <schwab@redhat.com>
48219 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48220 rpath element also skip the following colon.
48221 (expand_dynamic_string_token): Add is_path parameter and pass
48222 down to DL_DST_REQUIRED and _dl_dst_substitute.
48223 (decompose_rpath): Call expand_dynamic_string_token with
48224 non-zero is_path. Ignore empty rpaths.
48225 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48228 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48233 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48236 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48237 Patch by Filipe David Manana <fdmanana@apache.org>.
48239 2011-04-07 Andreas Schwab <schwab@redhat.com>
48241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48242 Maintain aligned stack.
48243 (CHECK_RSP): Remove unused macro.
48245 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48247 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48248 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48250 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48252 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48254 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48256 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48259 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48260 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48261 * sysdeps/x86_64/memmove.c: New file.
48262 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48263 (memcpy): Renamed to ...
48264 (__new_memcpy): This.
48265 (memcpy): Provide GLIBC_2_14 memcpy.
48266 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48267 (memcpy): Provide GLIBC_2_2_5 memcpy.
48269 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48272 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48274 2011-03-30 Andreas Schwab <schwab@redhat.com>
48276 * misc/syncfs.c: New file.
48277 * misc/Makefile (routines): Add syncfs.
48278 * posix/unistd.h: Declare syncfs.
48279 * sysdeps/unix/syscalls.list: Add syncfs.
48281 2011-04-01 Andreas Schwab <schwab@redhat.com>
48283 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48290 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48293 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48297 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48303 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48304 sync_file_range.c with -fexceptions.
48305 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48306 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48307 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48308 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48309 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48310 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48312 sync_file_range as cancellation point
48313 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48314 now a wrapper around __call_sync_file_range with cancellation handling.
48315 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48316 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48317 function name to __call_sync_file_range.
48318 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48319 Add call_sync_file_range.
48321 2011-04-01 Andreas Schwab <schwab@redhat.com>
48323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48326 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48328 * iconv/iconv.h: Fix typo in comment.
48329 * io/fcntl.h: Likewise.
48330 * libio/stdio.h: Likewise.
48331 * posix/spawn.h: Likewise.
48332 * posix/unistd.h: Likewise.
48333 * stdlib/stdlib.h: Likewise.
48334 * time/time.h: Likewise.
48335 * wcsmbs/wchar.h: Likewise.
48337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48338 open_by_handle): Add.
48339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48340 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48341 Augment a few comments.
48342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48347 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48350 * io/fcntl.h (AT_EMPTY_PATH): Define.
48352 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48354 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48355 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48356 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48358 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48359 * Versions.def: Add GLIBC_2.14.
48360 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48363 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48369 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48372 * string/test-strncmp.c (do_page_test): New function.
48373 (check2): Likewise.
48374 (test_main): Call check2.
48375 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48377 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48381 Handle cache information in CPU leaf 4.
48382 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48384 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48387 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48388 character representation.
48389 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48391 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48393 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48394 END(__isnan) to END(__isnanf) to match function entry point/label
48395 EALIGN(__isnanf,...).
48397 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48399 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48401 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48404 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48405 copy from the symbol referenced in the relocation to initialize the
48407 Patch by Piotr Bury <pbury@goahead.com>.
48408 * elf/Makefile: Add rules to build and tst-unique3.
48409 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48410 * elf/tst-unique3.cc: New file.
48411 * elf/tst-unique3.h: New file.
48412 * elf/tst-unique3lib.cc: New file.
48413 * elf/tst-unique3lib2.cc: New file.
48415 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48417 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48419 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48420 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48423 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48425 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48426 to-be-loaded object along a path to loader is ld.so.
48428 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48429 Ulrich Drepper <drepper@gmail.com>
48431 * sysdeps/x86_64/memset.S: After aligning destination, code
48432 branches to different locations depending on the value of
48433 misalignment, when multiarch is enabled. Fix this.
48435 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48437 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48438 Set _x86_64_preferred_memory_instruction for AMD processsors.
48439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48440 Set bit_Prefer_SSE_for_memop for AMD processors.
48442 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48444 * libio/fmemopen.c (fmemopen): Optimize a bit.
48446 2011-03-03 Andreas Schwab <schwab@redhat.com>
48448 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48450 2011-03-03 Roland McGrath <roland@redhat.com>
48452 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48454 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48456 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48457 __bzero_ultra1 instead of __memset_ultra1.
48459 2011-02-23 Andreas Schwab <schwab@redhat.com>
48460 Ulrich Drepper <drepper@gmail.com>
48463 * include/link.h (struct link_map): Add l_orig_initfini.
48464 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48465 returning unsuccessfully.
48466 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48467 close of a file loaded at startup, restore the original l_initfini
48469 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48470 list, store the pointer.
48471 * elf/Makefile ($(objpfx)noload-mem): New rule.
48472 (noload-ENV): Define.
48473 (tests): Add $(objpfx)noload-mem.
48474 * elf/noload.c: Include <memcheck.h>.
48475 (main): Call mtrace. Close all opened handles.
48477 2011-02-17 Andreas Schwab <schwab@redhat.com>
48480 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48481 dependencies are missing.
48483 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48485 Fix __if_freereq crash: Unlike the generic version which uses free,
48487 * sysdeps/mach/hurd/ifreq.h: New file.
48489 2011-01-27 Petr Baudis <pasky@suse.cz>
48490 Ulrich Drepper <drepper@gmail.com>
48493 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48494 to extend_alloca().
48495 * stdio-common/bug23.c: New file.
48496 * stdio-common/Makefile (tests): Add bug23.
48498 2010-09-28 Andreas Schwab <schwab@redhat.com>
48499 Ulrich Drepper <drepper@gmail.com>
48502 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48503 before performing relro protection. At old place add assertion
48504 to make sure nothing changed.
48506 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48507 Glauber de Oliveira Costa <glommer@gmail.com>
48509 * elf/elf.h: Add new ARM TLS relocs.
48511 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48514 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48516 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48518 * sysdeps/wordsize-64/tst-writev.c: New file.
48520 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48522 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48523 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48524 insns in _dl_start to prevent a TOC reference before relocs are
48527 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48530 * Makeconfig: Remove RANLIB definition.
48531 * Makerules: Don't use RANLIB.
48532 * aclocal.m4: Remove ranlib test.
48533 * configure.in: No need to check for ranlib.
48534 * elf/rtld-Rules: Don't use RANLIB.
48536 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48538 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48540 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48541 inclusion protection macro.
48543 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48544 SIGRTMIN and SIGRTMAX and print information in that case only when
48545 SIGRTMIN is defined.
48547 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48549 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48550 arginfo fn returning -1.
48552 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48553 and thousands string is zero terminated.
48555 2011-02-03 Andreas Schwab <schwab@redhat.com>
48557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48558 sysdeps/unix/sysv/linux/bits/socket.h.
48560 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48562 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48563 (__CPU_COUNT): Remove old macros.
48564 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48565 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48566 (__CPU_ALLOC, __CPU_FREE): Add macros.
48567 (__sched_cpualloc, __sched_cpufree): Add declarations.
48569 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48571 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48572 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48573 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48574 (readdhstai): Return value of addhstaiX call.
48575 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48576 (addgrbyX): Return value returned by cache_addgr.
48577 (readdgrbyname): Return value returned by addgrbyX.
48578 (readdgrbygid): Likewise.
48579 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48580 (addpwbyX): Return value returned by cache_addpw.
48581 (readdpwbyname): Return value returned by addhstbyX.
48582 (readdpwbyuid): Likewise.
48583 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48584 (addservbyX): Return value returned by cache_addserv.
48585 (readdservbyname): Return value returned by addservbyX:
48586 (readdservbyport): Likewise.
48587 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48588 (addhstbyX): Return value returned by cache_addhst.
48589 (readdhstbyname): Return value returned by addhstbyX.
48590 (readdhstbyaddr): Likewise.
48591 (readdhstbynamev6): Likewise.
48592 (readdhstbyaddrv6): Likewise.
48593 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48594 (readdinitgroups): Return value returned by addinitgroupsX.
48595 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48596 (prune_cache): Keep track of timeout value of re-added entries.
48597 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48598 * nscd/nscd.h: Adjust prototypes of readd* functions.
48600 2011-02-04 Roland McGrath <roland@redhat.com>
48602 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48603 (nis_stats): Likewise.
48604 * nis/nis_modify.c (nis_modify): Likewise.
48605 * nis/nis_remove.c (nis_remove): Likewise.
48606 * nis/nis_add.c (nis_add): Likewise.
48608 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48610 * posix/fnmatch_loop.c: Add some consts.
48612 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48614 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48617 * config.make.in (config-cflags-novzeroupper): Define.
48618 * configure.in: Substitute libc_cv_cc_novzeroupper.
48619 * elf/Makefile (AVX-CFLAGS): Define.
48620 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48621 (CFLAGS-tst-auditmod4a.c): Likewise.
48622 (CFLAGS-tst-auditmod4b.c): Likewise.
48623 (CFLAGS-tst-auditmod6b.c): Likewise.
48624 (CFLAGS-tst-auditmod6c.c): Likewise.
48625 (CFLAGS-tst-auditmod7b.c): Likewise.
48626 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48628 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48630 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48631 function to the callback.
48632 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48634 2011-02-02 Andreas Schwab <schwab@redhat.com>
48636 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48639 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48642 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48644 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48646 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48649 * elf/Makefile: Add rules to build and run new test.
48650 * elf/tst-initorder.c: New file.
48651 * elf/tst-initorder.exp: New file.
48652 * elf/tst-initordera1.c: New file.
48653 * elf/tst-initordera2.c: New file.
48654 * elf/tst-initordera3.c: New file.
48655 * elf/tst-initordera4.c: New file.
48656 * elf/tst-initorderb1.c: New file.
48657 * elf/tst-initorderb2.c: New file.
48658 * elf/tst-order-a1.c: New file.
48659 * elf/tst-order-a2.c: New file.
48660 * elf/tst-order-a3.c: New file.
48661 * elf/tst-order-a4.c: New file.
48662 * elf/tst-order-b1.c: New file.
48663 * elf/tst-order-b2.c: New file.
48664 * elf/tst-order-main.c: New file.
48665 New test case by George Gensure <werkt0@gmail.com>.
48667 2010-10-01 Andreas Schwab <schwab@redhat.com>
48669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48670 decoding ACE if AI_CANONIDN.
48672 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48674 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48676 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48678 * version.h (RELEASE): Bump for 2.13 release.
48679 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48681 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48683 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48685 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48688 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48692 * posix/getconf.c: Update copyright year.
48693 * catgets/gencat.c: Likewise.
48694 * csu/version.c: Likewise.
48695 * debug/catchsegv.sh: Likewise.
48696 * debug/xtrace.sh: Likewise.
48697 * elf/ldconfig.c: Likewise.
48698 * elf/ldd.bash.in: Likewise.
48699 * elf/sprof.c (print_version): Likewise.
48700 * iconv/iconv_prog.c: Likewise.
48701 * iconv/iconvconfig.c: Likewise.
48702 * locale/programs/locale.c: Likewise.
48703 * locale/programs/localedef.c: Likewise.
48704 * malloc/memusage.sh: Likewise.
48705 * malloc/mtrace.pl: Likewise.
48706 * nscd/nscd.c (print_version): Likewise.
48707 * nss/getent.c: Likewise.
48709 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48710 PF_CAIF, and PF_ALG.
48711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48713 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48715 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48716 (modules-names): Use them.
48717 (ifunc-test-modules, ifunc-pie-tests): Define.
48718 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48719 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48720 (test-extras): Likewise.
48721 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48722 $(compile-command.c).
48723 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48724 (all-built-dso): Define.
48725 (check-textrel.out, check-execstack.out): Depend on it.
48727 * configure.in: Don't override --enable-multi-arch.
48729 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48732 * nscd/hstcache.c (tryagain): Define.
48733 (cache_addhst): Return tryagain not notfound for temporary errors.
48734 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48737 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48741 to make the syscall.
48742 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48745 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48746 and fall back to matching as normal character if the string ends before
48747 the matching ']' is found. This is what POSIX requires.
48748 * posix/testfnm.c: Adjust test result.
48749 * posix/globtest.sh: Adjust test result. Add new test.
48750 * posix/tst-fnmatch.input: Likewise.
48751 * posix/tst-fnmatch2.c: Add new test.
48753 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48755 * elf/Makefile (check-execstack): Revert last change. Depend on
48757 (check-execstack.h): New target.
48758 (generated): Add check-execstack.h.
48759 * elf/check-execstack.c: Include "check-execstack.h".
48760 (main): Revert last change.
48761 (handle_file): Return zero if GNU_STACK is absent and
48762 DEFAULT_STACK_PERMS doesn't include PF_X.
48764 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48766 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48767 in child fails because the descriptor is already closed.
48768 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48769 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48770 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48773 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48777 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48778 temporary buffer used to handle multi lookups locally.
48779 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48781 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48783 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48786 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48788 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48789 alignment for SSE2.
48791 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48794 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48795 characters. When rounding increased number of integer digits recompute
48797 * stdio-common/tst-grouping.c: New file.
48798 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48800 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48802 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48803 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48805 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48807 * bits/select.h: Likewise.
48809 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48811 * po/ja.po: Update from translation team.
48813 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48816 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48817 implementation just like for lxstat, fxstatat, et al.
48819 2010-12-27 Jim Meyering <meyering@redhat.com>
48822 * posix/regexec.c (build_trtable): Return failure indication upon
48823 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48825 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48828 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48829 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48830 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48831 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48834 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48837 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48838 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48840 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48842 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48843 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48844 script has SORT_BY_INIT_PRIORITY.
48845 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48846 NO_CTORS_DTORS_SECTIONS is defined.
48847 * elf/soinit.c: Likewise.
48848 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48849 NO_CTORS_DTORS_SECTIONS is defined.
48850 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48851 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48852 * sysdeps/sh/init-first.c: Likewise.
48853 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48855 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48857 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48858 always use the slow path.
48860 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48862 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48863 similar rule which adds the sysdep directories to the header search in
48864 order to pick up the correct platform stackinfo.h.
48865 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48866 perform test if it is, otherwise return successfully without testing.
48867 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48868 DEFAULT_STACK_PERMS define in stackinfo.h.
48869 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48870 defined in stackinfo.h.
48871 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48872 DEFAULT_STACK_PERMS defined in stackinfo.h.
48873 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48874 * sysdeps/ia64/stackinfo.h: Likewise.
48875 * sysdeps/s390/stackinfo.h: Likewise.
48876 * sysdeps/sh/stackinfo.h: Likewise.
48877 * sysdeps/sparc/stackinfo.h: Likewise.
48878 * sysdeps/x86_64/stackinfo.h: Likewise.
48879 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48880 PF_X for powerpc64. Retain PF_X for powerpc32.
48882 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48884 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48886 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48887 GETDENTS_64BIT_ALIGNED.
48889 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48891 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48893 2010-12-10 Andreas Schwab <schwab@redhat.com>
48895 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48898 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48899 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48901 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48902 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48904 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48907 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48910 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48912 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48914 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48916 * po/it.po: Update from translation team.
48918 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48923 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48925 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48927 2010-11-24 Andreas Schwab <schwab@redhat.com>
48929 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48931 (gaih_getanswer_slice): Likewise.
48933 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48937 2010-05-31 Petr Baudis <pasky@suse.cz>
48940 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48941 silently even in the chroot mode.
48943 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48945 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48946 last patch a bit. Pretty printing
48948 2010-05-31 Petr Baudis <pasky@suse.cz>
48951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48952 initialization of skip_initgroups_dyn.
48954 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48956 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48957 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48959 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48961 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48963 2010-11-11 Andreas Schwab <schwab@redhat.com>
48965 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48966 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48967 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48968 ($(objpfx)tst-fnmatch-mem): New rule.
48969 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48970 * posix/tst-fnmatch.c (main): Call mtrace.
48972 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48975 Support Intel processor model 6 and model 0x2c.
48977 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48982 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48985 * string/test-strncasecmp.c (check_result): New function.
48986 (do_one_test): Use it.
48987 (check1): New function.
48988 (test_main): Use it.
48989 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48990 Support strcasecmp and strncasecmp.
48992 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48995 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48996 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48998 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49000 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49004 * sysdeps/x86_64/multiarch/bzero.S: New file.
49005 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49006 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49007 * sysdeps/x86_64/multiarch/memset.S: New file.
49008 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49010 Set bit_Prefer_SSE_for_memop for Intel processors.
49011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49013 (index_Prefer_SSE_for_memop): Define.
49014 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49016 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49018 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49021 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49024 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49025 (__x86_64_raw_data_cache_size_half): Likewise.
49026 (__x86_64_raw_shared_cache_size): Likewise.
49027 (__x86_64_raw_shared_cache_size_half): Likewise.
49029 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49030 (__x86_64_raw_data_cache_size_half): Likewise.
49031 (__x86_64_raw_shared_cache_size): Likewise.
49032 (__x86_64_raw_shared_cache_size_half): Likewise.
49033 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49034 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49035 and __x86_64_raw_shared_cache_size_half. Round
49036 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49037 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49038 to multiple of 256 bytes.
49040 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49044 of inacessible symlinks. Verify result of symlink before returning it.
49045 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49046 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49048 2010-10-28 Erich Ritz <erichritz@gmail.com>
49050 * math/math.h (isinf): Fix typo in comment.
49052 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49054 * po/da.po: Update from translation team.
49056 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49058 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49059 is added to the list.
49061 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49062 Ulrich Drepper <drepper@gmail.com>
49064 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49065 the global list here. Move code to...
49066 (_dl_add_to_namespace_list): ...here. New function.
49067 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49068 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49069 * elf/dl-load.c (lose): Don't remove the element from the list.
49070 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49071 (_dl_map_object): Likewise.
49073 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49076 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49077 into all bytes of SSE register.
49078 Patch by Richard Li <richardpku@gmail.com>.
49080 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49083 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49086 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49088 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49089 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49090 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49091 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49096 2010-10-22 Andreas Schwab <schwab@redhat.com>
49098 * include/dlfcn.h (__RTLD_SECURE): Define.
49099 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49100 mode & __RTLD_SECURE instead.
49101 (open_path): Rename preloaded parameter to secure.
49102 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49103 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49104 * elf/dl-deps.c (openaux): Likewise.
49105 * elf/rtld.c (struct map_args): Remove is_preloaded.
49106 (map_doit): Don't use it.
49107 (dl_main): Likewise.
49108 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49109 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49111 2010-09-09 Andreas Schwab <schwab@redhat.com>
49113 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49114 (sysd-rules-targets): Remove duplicates.
49115 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49116 rtld-%.$o dependency.
49118 2010-10-18 Andreas Schwab <schwab@redhat.com>
49120 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49121 _dl_map_object do it.
49123 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49125 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49126 fast fma builtins, define the macros in the C99 standard.
49127 (FP_FAST_FMAF): Likewise.
49128 (FP_FAST_FMAL): Likewise.
49129 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49131 * bits/mathdef.h: Update copyright year.
49132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49134 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49136 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49137 builtins, define the macros in the C99 standard.
49138 (FP_FAST_FMAF): Likewise.
49139 (FP_FAST_FMAL): Likewise.
49140 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49142 (FP_FAST_FMAF): Likewise.
49144 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49147 * math/libm-test.inc (fma_test): Some new testcases.
49148 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49149 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49150 y and infinite z. Do multiplication by C already in long double.
49151 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49153 y and infinite z. Do bitwise or of inexact bit into u.d.
49154 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49155 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49156 * sysdeps/i386/fpu/s_fma.S: Removed.
49157 * sysdeps/i386/fpu/s_fmal.S: Removed.
49159 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49162 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49164 computation is not scheduled after fetestexcept. Fix value
49165 of minimum denormal long double.
49167 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49170 * math/libm-test.inc (fma_test): Add some more tests.
49171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49174 2010-10-15 Andreas Schwab <schwab@redhat.com>
49176 * scripts/data/localplt-s390-linux-gnu.data: New file.
49177 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49179 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49182 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49183 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49185 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49187 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49189 if one of x and y is very large and the other is subnormal.
49190 * sysdeps/s390/fpu/s_fmaf.c: New file.
49191 * sysdeps/s390/fpu/s_fma.c: New file.
49192 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49193 * sysdeps/powerpc/fpu/s_fma.S: New file.
49194 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49195 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49196 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49198 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49201 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49203 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49204 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49205 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49206 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49207 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49208 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49211 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49214 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49215 * posix/bug-regex31.input: Add test case.
49217 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49219 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49220 * posix/bug-regex31.input: New file.
49223 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49224 (parse_sub_exp): Fix last change, use postorder.
49226 * posix/bug-regex31.c: New file.
49227 * posix/Makefile: Add rules to build and run bug-regex31.
49229 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49232 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49235 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49236 to have entries in sys_siglist.
49239 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49242 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49245 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49246 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49247 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49248 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49250 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49251 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49252 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49253 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49254 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49255 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49256 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49257 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49258 * math/ftestexcept.c (fetestexcept): Likewise.
49259 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49260 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49261 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49262 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49263 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49264 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49265 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49267 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49270 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49273 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49275 * string/bug-strstr1.c: New file.
49276 * string/Makefile: Add rules to build and run bug-strstr1.
49278 2010-10-05 Eric Blake <eblake@redhat.com>
49281 * string/str-two-way.h (two_way_long_needle): Always clear memory
49282 when skipping input due to the shift table.
49284 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49287 * malloc/mcheck.c: Handle large requests.
49290 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49291 for strncmp and strncasecmp.
49292 * string/stratcliff.c: Add tests for strcmp and strncmp.
49293 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49295 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49297 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49300 2010-09-30 Andreas Jaeger <aj@suse.de>
49302 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49303 (CGROUP_SUPER_MAGIC): Define.
49304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49305 Handle btrfs and cgroup file systems.
49306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49309 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49311 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49312 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49314 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49317 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49318 trying to locate the ELF header.
49320 2010-09-27 Andreas Schwab <schwab@redhat.com>
49323 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49324 Mask out sign-bit copies when constructing f_fsid.
49326 2010-09-24 Petr Baudis <pasky@suse.cz>
49328 * debug/stack_chk_fail_local.c: Add missing licence exception.
49329 * debug/warning-nop.c: Likewise.
49331 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49334 implementing getdents64 using getdents syscall, set d_type if
49335 __ASSUME_GETDENTS32_D_TYPE.
49337 2010-09-16 Andreas Schwab <schwab@redhat.com>
49339 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49340 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49342 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49345 * posix/unistd.h: Undo change of feature selection for ftruncate from
49348 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49350 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49353 2010-09-20 Andreas Schwab <schwab@redhat.com>
49355 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49359 2010-09-14 Andreas Schwab <schwab@redhat.com>
49361 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49362 variables after CHECK_SP call.
49363 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49365 2010-09-13 Andreas Schwab <schwab@redhat.com>
49366 Ulrich Drepper <drepper@redhat.com>
49368 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49369 re-relocationg ld.so.
49370 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49371 _dl_init_paths call.
49372 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49375 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49377 * resolv/res_init.c (__res_vinit): Count the default server we added.
49379 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49380 Ulrich Drepper <drepper@redhat.com>
49383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49384 (____longjmp_chk): Use %ebx for saving value across system call.
49387 2010-09-06 Andreas Schwab <schwab@redhat.com>
49389 * manual/Makefile: Don't mix pattern rules with normal rules.
49391 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49393 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49395 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49396 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49397 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49398 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49402 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49405 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49406 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49408 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49410 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49411 * sysdeps/x86_64/addmul_1.S: Likewise.
49412 * sysdeps/x86_64/lshift.S: Likewise.
49413 * sysdeps/x86_64/mul_1.S: Likewise.
49414 * sysdeps/x86_64/rshift.S: Likewise.
49415 * sysdeps/x86_64/sub_n.S: Likewise.
49416 * sysdeps/x86_64/submul_1.S: Likewise.
49418 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49420 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49421 Define __sched_param instead of SCHED_* and sched_param when
49422 <bits/sched.h> is included with __need_schedparam defined.
49423 * bits/sched.h [__need_schedparam]
49424 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49425 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49426 (__defined_schedparam): Define to 1.
49427 (__sched_param): New structure, identical to sched_param.
49428 (__need_schedparam): Undefine.
49430 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49433 (epoll_create1): Declare.
49435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49437 2010-08-31 Andreas Schwab <schwab@redhat.com>
49440 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49441 shifting retval into place.
49443 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49445 * nis/rpcsvc/nis.h: Update copyright notice.
49446 * nis/rpcsvc/nis.x: Likewise.
49447 * nis/rpcsvc/nis_callback.h: Likewise.
49448 * nis/rpcsvc/nis_callback.x: Likewise.
49449 * nis/rpcsvc/nis_object.x: Likewise.
49450 * nis/rpcsvc/nis_tags.h: Likewise.
49451 * nis/rpcsvc/yp.h: Likewise.
49452 * nis/rpcsvc/yp.x: Likewise.
49453 * nis/rpcsvc/ypupd.h: Likewise.
49454 * nis/yp_xdr.c: Likewise.
49455 * nis/ypupdate_xdr.c: Likewise.
49457 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49458 mainly the body of pmap_getport. Add parameters to specify timeouts.
49459 (pmap_getport): Use __libc_rpc_getport.
49460 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49461 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49462 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49464 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49469 2010-08-27 Roland McGrath <roland@redhat.com>
49471 * sysdeps/i386/i686/multiarch/Makefile
49472 (CFLAGS-varshift.c): New variable.
49474 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49476 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49477 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49481 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49483 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49485 * sysdeps/x86_64/strlen.S: Unroll the loop.
49486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49487 strlen-sse2 strlen-sse2-bsf.
49488 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49489 __strlen_no_bsf if bit_Slow_BSF is set.
49490 (__strlen_sse42): Removed.
49491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49492 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49494 2010-08-25 Roland McGrath <roland@redhat.com>
49496 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49497 * sysdeps/x86_64/multiarch/varshift.c: New file.
49498 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49499 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49500 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49501 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49503 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49506 strlen-sse2 strlen-sse2-bsf.
49507 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49508 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49509 (__strlen_sse2): Removed.
49510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49513 bit_Slow_BSF for Atom.
49514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49515 (index_Slow_BSF): Define.
49516 (HAS_SLOW_BSF): Define.
49518 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49521 * resolv/res_init.c (__res_vinit): When no server address at all
49522 is given default to loopback.
49524 2010-08-24 Roland McGrath <roland@redhat.com>
49526 * configure.in: Remove config-name.h generation.
49527 * configure: Regenerated.
49528 * config-name.in: File removed.
49529 * scripts/config-uname.sh: New file.
49530 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49531 ($(objdir)config-name.h): New target.
49533 * sunrpc/rpc_parse.h: Avoid nested comment.
49535 2010-08-24 Richard Henderson <rth@redhat.com>
49536 Ulrich Drepper <drepper@redhat.com>
49537 H.J. Lu <hongjiu.lu@intel.com>
49539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49541 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49542 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49543 _mm_alignr_epi8 with _mm_loadu_si128.
49544 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49545 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49546 (__m128i_shift_right): Removed.
49547 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49548 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49549 * sysdeps/x86_64/multiarch/varshift.h: New file.
49550 * sysdeps/x86_64/multiarch/varshift.S: New file.
49552 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49554 * configure.in: Move assembler checks to before sysdep dir checking.
49556 2010-08-20 Petr Baudis <pasky@suse.cz>
49558 * LICENSES: Sync the sunrpc license.
49560 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49562 * sunrpc/auth_des.c: Update copyright notice once again.
49563 * sunrpc/auth_none.c: Likewise.
49564 * sunrpc/auth_unix.c: Likewise.
49565 * sunrpc/authdes_prot.c: Likewise.
49566 * sunrpc/authuxprot.c: Likewise.
49567 * sunrpc/bindrsvprt.c: Likewise.
49568 * sunrpc/clnt_gen.c: Likewise.
49569 * sunrpc/clnt_perr.c: Likewise.
49570 * sunrpc/clnt_raw.c: Likewise.
49571 * sunrpc/clnt_simp.c: Likewise.
49572 * sunrpc/clnt_tcp.c: Likewise.
49573 * sunrpc/clnt_udp.c: Likewise.
49574 * sunrpc/clnt_unix.c: Likewise.
49575 * sunrpc/des_crypt.c: Likewise.
49576 * sunrpc/des_soft.c: Likewise.
49577 * sunrpc/get_myaddr.c: Likewise.
49578 * sunrpc/getrpcport.c: Likewise.
49579 * sunrpc/key_call.c: Likewise.
49580 * sunrpc/key_prot.c: Likewise.
49581 * sunrpc/openchild.c: Likewise.
49582 * sunrpc/pm_getmaps.c: Likewise.
49583 * sunrpc/pm_getport.c: Likewise.
49584 * sunrpc/pmap_clnt.c: Likewise.
49585 * sunrpc/pmap_prot.c: Likewise.
49586 * sunrpc/pmap_prot2.c: Likewise.
49587 * sunrpc/pmap_rmt.c: Likewise.
49588 * sunrpc/rpc/auth.h: Likewise.
49589 * sunrpc/rpc/auth_unix.h: Likewise.
49590 * sunrpc/rpc/clnt.h: Likewise.
49591 * sunrpc/rpc/des_crypt.h: Likewise.
49592 * sunrpc/rpc/key_prot.h: Likewise.
49593 * sunrpc/rpc/netdb.h: Likewise.
49594 * sunrpc/rpc/pmap_clnt.h: Likewise.
49595 * sunrpc/rpc/pmap_prot.h: Likewise.
49596 * sunrpc/rpc/pmap_rmt.h: Likewise.
49597 * sunrpc/rpc/rpc.h: Likewise.
49598 * sunrpc/rpc/rpc_des.h: Likewise.
49599 * sunrpc/rpc/rpc_msg.h: Likewise.
49600 * sunrpc/rpc/svc.h: Likewise.
49601 * sunrpc/rpc/svc_auth.h: Likewise.
49602 * sunrpc/rpc/types.h: Likewise.
49603 * sunrpc/rpc/xdr.h: Likewise.
49604 * sunrpc/rpc_clntout.c: Likewise.
49605 * sunrpc/rpc_cmsg.c: Likewise.
49606 * sunrpc/rpc_common.c: Likewise.
49607 * sunrpc/rpc_cout.c: Likewise.
49608 * sunrpc/rpc_dtable.c: Likewise.
49609 * sunrpc/rpc_hout.c: Likewise.
49610 * sunrpc/rpc_main.c: Likewise.
49611 * sunrpc/rpc_parse.c: Likewise.
49612 * sunrpc/rpc_parse.h: Likewise.
49613 * sunrpc/rpc_prot.c: Likewise.
49614 * sunrpc/rpc_sample.c: Likewise.
49615 * sunrpc/rpc_scan.c: Likewise.
49616 * sunrpc/rpc_scan.h: Likewise.
49617 * sunrpc/rpc_svcout.c: Likewise.
49618 * sunrpc/rpc_tblout.c: Likewise.
49619 * sunrpc/rpc_util.c: Likewise.
49620 * sunrpc/rpc_util.h: Likewise.
49621 * sunrpc/rpcinfo.c: Likewise.
49622 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49623 * sunrpc/rpcsvc/key_prot.x: Likewise.
49624 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49625 * sunrpc/rpcsvc/mount.x: Likewise.
49626 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49627 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49628 * sunrpc/rpcsvc/rex.x: Likewise.
49629 * sunrpc/rpcsvc/rstat.x: Likewise.
49630 * sunrpc/rpcsvc/rusers.x: Likewise.
49631 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49632 * sunrpc/rpcsvc/spray.x: Likewise.
49633 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49634 * sunrpc/rtime.c: Likewise.
49635 * sunrpc/svc.c: Likewise.
49636 * sunrpc/svc_auth.c: Likewise.
49637 * sunrpc/svc_authux.c: Likewise.
49638 * sunrpc/svc_raw.c: Likewise.
49639 * sunrpc/svc_run.c: Likewise.
49640 * sunrpc/svc_simple.c: Likewise.
49641 * sunrpc/svc_tcp.c: Likewise.
49642 * sunrpc/svc_udp.c: Likewise.
49643 * sunrpc/svc_unix.c: Likewise.
49644 * sunrpc/svcauth_des.c: Likewise.
49645 * sunrpc/xcrypt.c: Likewise.
49646 * sunrpc/xdr.c: Likewise.
49647 * sunrpc/xdr_array.c: Likewise.
49648 * sunrpc/xdr_float.c: Likewise.
49649 * sunrpc/xdr_mem.c: Likewise.
49650 * sunrpc/xdr_rec.c: Likewise.
49651 * sunrpc/xdr_ref.c: Likewise.
49652 * sunrpc/xdr_sizeof.c: Likewise.
49653 * sunrpc/xdr_stdio.c: Likewise.
49655 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49658 2010-08-19 Andreas Schwab <schwab@redhat.com>
49660 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49662 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49664 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49665 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49666 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49667 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49668 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49669 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49670 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49671 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49673 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49674 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49675 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49676 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49677 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49679 2010-07-26 Anton Blanchard <anton@samba.org>
49681 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49682 * malloc/arena.c (heap_trim): Likewise.
49684 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49686 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49688 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49689 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49691 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49693 * sysdeps/i386/elf/Makefile: New file.
49695 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49697 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49698 from fanotify_init.
49699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49702 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49704 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49706 * sysdeps/multiarch/strcmp.S: Likewise.
49708 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49710 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49711 strncase_l-nonascii.
49712 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49713 Add strncase_l-ssse3.
49714 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49715 * sysdeps/x86_64/strcmp.S: Likewise.
49716 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49717 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49718 * sysdeps/x86_64/strncase.S: New file.
49719 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49720 * sysdeps/x86_64/strncase_l.S: New file.
49721 * string/Makefile (strop-tests): Add strncasecmp.
49722 * string/test-strncasecmp.c: New file.
49724 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49727 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49728 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49730 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49732 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49734 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49736 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49738 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49740 2010-05-01 Alan Modra <amodra@gmail.com>
49742 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49743 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49744 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49745 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49746 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49747 tidying. Don't tail-call __sigjmp_save for static lib.
49748 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49750 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49751 (CALL_MCOUNT): Add eh info, and nop after bl.
49752 (TAIL_CALL_SYSCALL_ERROR): New macro.
49753 (PSEUDO_RET): Use it.
49754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49755 Correct save location of integer regs and cr.
49756 (_dl_profile_resolve): Correct cr save location. Delete nops
49757 after bl when SHARED. Reduce cfi size a little by better
49758 placement of cfi directives.
49759 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49760 make a stack frame. Instead use parm save area as a temp.
49761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49762 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49764 Don't make a stack frame for parent, use parm save area.
49765 Increase child stack frame to 112 bytes. Don't save unused reg,
49766 and adjust reg usage. Set up cfi on error recovery and
49767 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49769 (__makecontext): Add dummy nop after jump to exit.
49770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49771 Use correct parm save area and cr save, reduce stack frame.
49772 Correct cfi for possible PSEUDO_RET frame setup.
49773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49774 Branch to local label emitted by PSEUDO_RET rather than
49777 2010-08-12 Andreas Schwab <schwab@redhat.com>
49780 * locale/programs/locale.c (print_assignment): New function.
49781 (show_locale_vars): Use it.
49783 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49785 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49787 (struct statfs64): Likewise.
49788 (_STATFS_F_FLAGS): Define.
49789 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49790 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49791 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49792 (ST_VALID): Define locally.
49793 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49794 __statvfs_getflags, use the provided value.
49795 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49796 __ASSUME_STATFS_F_FLAGS.
49798 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49800 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49801 Add sys/fanotify.h.
49802 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49803 fanotify_mask for GLIBC_2.13.
49804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49805 fanotify_init and fanotify_mark.
49806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49807 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49809 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49811 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49812 prlimit64 for GLIBC_2.13.
49813 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49818 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49819 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49823 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49826 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49827 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49829 * nss/Makefile: Add rules to build and run tst-nss-test1.
49830 * shlib-versions: Add entry for libnss_test1.
49831 * nss/nss_test1.c: New file.
49832 * nss/tst-nss-test1.c: New file.
49834 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49835 (__nss_configure_lookup): Set appropriate entry in
49836 __nss_configure_lookup to true.
49837 * nss/nsswitch.h: Define enum with indeces of databases in
49838 databases and __nss_database_custom arrays. Declare
49839 __nss_database_custom.
49840 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49841 to avoid using nscd when custom rules are installed.
49842 * nss/getXXbyYY_r.c: Likewise.
49843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49845 * nss/nss_files/files-parse.c: Whitespace fixes.
49847 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49850 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49851 * posix/fnmatch_loop.c: Likewise.
49853 2010-07-17 Andi Kleen <ak@linux.intel.com>
49855 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49856 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49857 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49858 * Versions.def [GLIBC_2.13]: Add.
49860 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49863 Also fail if tpwd after pwuid call is NULL.
49865 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49867 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49868 when converting to ms.
49870 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49872 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49873 EOPNOTSUPP errors with ENOTTY.
49874 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49875 EOPNOTSUPP errors with ENOTTY.
49877 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49879 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49880 Add strcasecmp_l-ssse3.
49881 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49883 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49884 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49885 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49887 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49889 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49891 * string/Makefile (strop-tests): Add strcasecmp.
49892 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49893 strcasecmp_l-nonascii.
49894 (gen-as-const-headers): Add locale-defines.sym.
49895 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49896 * sysdeps/x86_64/strcasecmp.S: New file.
49897 * sysdeps/x86_64/strcasecmp_l.S: New file.
49898 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49899 * sysdeps/x86_64/locale-defines.sym: New file.
49900 * string/test-strcasecmp.c: New file.
49902 * string/test-strcasestr.c: Test both ends of the range of characters.
49903 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49905 2010-07-29 Roland McGrath <roland@redhat.com>
49908 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49910 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49912 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49915 2010-07-27 Andreas Schwab <schwab@redhat.com>
49917 * manual/memory.texi (Malloc Tunable Parameters): Document
49920 2010-07-26 Roland McGrath <roland@redhat.com>
49923 * configure.in (-fgnu89-inline check): Set and substitute
49924 gnu89_inline, not libc_cv_gnu89_inline.
49925 * configure: Regenerated.
49926 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49928 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49930 * string/test-strnlen.c: New file.
49931 * string/Makefile (strop-tests): Add strnlen.
49932 * string/tester.c (test_strnlen): Add a few more test cases.
49933 * string/tst-strlen.c: Better error reporting.
49935 * sysdeps/x86_64/strnlen.S: New file.
49937 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49940 lower-latency instructions.
49942 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49944 * string/test-strcasestr.c: New file.
49945 * string/test-strstr.c: New file.
49946 * string/Makefile (strop-tests): Add strstr and strcasestr.
49947 * string/str-two-way.h: Don't undefine MAX.
49948 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49950 2010-07-21 Andreas Schwab <schwab@redhat.com>
49952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49953 strcasestr-nonascii.
49954 (CFLAGS-strcasestr-nonascii.c): Define.
49955 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49957 Remove unused attribute.
49959 2010-07-20 Roland McGrath <roland@redhat.com>
49961 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49962 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49963 ld.so.cache was broken. With it, there is no way to disable dsocaps
49964 like LD_HWCAP_MASK can disable hwcaps.
49966 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49968 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49970 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49972 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49973 call in strcasestr.
49974 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49975 __strcasestr_sse42_nonascii.
49976 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49977 strcasestr-nonascii.c.
49978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49980 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49982 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49983 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49987 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49992 2010-07-06 Andreas Schwab <schwab@redhat.com>
49995 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49998 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50001 _PC_PIPE_BUF using F_GETPIPE_SZ.
50003 2010-07-05 Roland McGrath <roland@redhat.com>
50005 * manual/arith.texi (Rounding Functions): Fix rint description
50006 implicit in round description.
50008 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50010 * elf/Makefile: Fix linking for a few tests to make recent linker
50013 2010-06-30 Andreas Schwab <schwab@redhat.com>
50015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50016 $(common-objpfx)libc_nonshared.a.
50018 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50020 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50021 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50022 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50023 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50024 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50025 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50026 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50027 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50042 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50043 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50044 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50045 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50046 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50047 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50048 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50049 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50050 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50051 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50052 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50053 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50069 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50071 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50072 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50073 * string/memmove.c (memmove): Renamed to ...
50074 (MEMMOVE): ...this. Default to memmove.
50075 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50076 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50079 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50080 mempcpy-ssse3-back memmove-ssse3-back.
50081 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50084 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50085 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50086 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50087 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50088 * sysdeps/x86_64/multiarch/memmove.c: New file.
50089 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50090 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50091 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50092 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50094 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50096 (index_Fast_Copy_Backward): Define.
50097 (HAS_ARCH_FEATURE): Define.
50098 (HAS_FAST_REP_STRING): Define.
50099 (HAS_FAST_COPY_BACKWARD): Define.
50101 2010-06-21 Andreas Schwab <schwab@redhat.com>
50103 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50104 Restore proper fallback handling.
50106 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50109 * posix/group_member.c (__group_member): Correct checking loop.
50111 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50112 OOM in getpwuid_r correctly. Return error number when the caller
50113 should return, otherwise -1.
50114 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50115 call returning > 0 value.
50116 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50118 2010-06-07 Andreas Schwab <schwab@redhat.com>
50120 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50121 libc_nonshared.a from targets in modules-names.
50123 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50125 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50128 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50131 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50135 2010-06-02 Andreas Schwab <schwab@redhat.com>
50137 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50139 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50141 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50150 2010-06-14 Roland McGrath <roland@redhat.com>
50152 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50154 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50156 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50157 __REDIRECT followed by __THROW.
50158 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50159 * posix/getopt.h (getopt): Likewise.
50161 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50163 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50164 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50165 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50167 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50168 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50170 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50172 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50174 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50178 Properly check family and model.
50180 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50182 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50184 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50186 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50188 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50190 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50193 2010-05-19 Andreas Schwab <schwab@redhat.com>
50195 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50198 2010-05-21 Andreas Schwab <schwab@redhat.com>
50200 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50201 and internal_recvmmsg.
50202 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50203 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50204 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50205 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50207 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50208 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50209 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50211 2010-05-20 Andreas Schwab <schwab@redhat.com>
50213 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50215 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50217 POWER7 optimizations.
50218 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50219 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50221 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50223 * version.h: Update for 2.13 development version.
50225 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50227 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50228 exceptions. Return 0.
50230 2010-05-07 Roland McGrath <roland@redhat.com>
50232 * elf/ldconfig.c (main): Add a const.
50234 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50236 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50237 (args_options): Add no-idn option.
50238 (ahosts_keys_int): Add idn_flags to ai_flags.
50239 (parse_option): Handle 'i' option to clear idn_flags.
50241 * malloc/malloc.c (_int_free): Possible race in the most recently
50242 added check. Only act on the data if no current modification
50245 See ChangeLog.17 for earlier changes.