1 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2 Jakub Jelinek <jakub@redhat.com>
5 * libio/stdio.h: Check definition of __fortify_function
6 instead of __extern_always_inline to include bits/stdio2.h.
7 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8 check if __extern_always_inline is defined.
9 [__USE_MISC || __USE_XOPEN]: Likewise.
10 [__USE_ISOC99] Likewise.
11 * misc/sys/cdefs.h (__fortify_function): Define only if
12 __extern_always_inline is defined.
13 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14 __extern_always_inline and __extern_inline only for g++-4.3
15 and newer or a compatible gcc.
17 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
20 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21 last change to handle zero prefix length.
23 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28 * posix/getconf.c (vars): Add _POSIX_IPV6 and
31 2014-09-13 Allan McRae <allan@archlinux.org>
33 * po/ru.po: Update Russian translation from translation project.
35 2014-09-12 Roland McGrath <roland@hack.frob.com>
37 * locale/programs/locale.c (show_locale_vars): Inline local function
38 into its sole call site. Clean up some style nits.
39 (print_item): New function, broken out of ...
40 (show_info): ... local function here. Clean up style nits.
42 * locale/programs/ld-ctype.c (set_one_default): New function, broken
44 (set_class_defaults): ... local function set_default here.
45 Define set_default as a macro locally to pass constant parameters.
46 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
47 rather than a shared local.
49 * stdlib/rpmatch.c (try): New function, broken out of ...
50 (rpmatch): ... local function here. Also, prototypify definition.
52 2014-09-12 Joseph Myers <joseph@codesourcery.com>
54 * scripts/soversions.awk: Do not handle configuration names.
55 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
56 vendor and os variables to soversions.awk.
57 * configure.ac: Do not modify gnu-* host_os.
58 * configure: Regenerated
59 * shlib-versions: Remove first column with configuration names.
60 * nptl/shlib-versions: Likewise.
61 * nptl_db/shlib-versions: Likewise.
62 * sysdeps/hppa/shlib-versions: Likewise.
63 * sysdeps/m68k/shlib-versions: Likewise.
64 * sysdeps/mach/hurd/shlib-versions: Likewise.
65 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
66 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
67 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
68 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
69 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
70 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
71 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
72 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
73 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
75 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
76 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
77 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
78 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
79 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
80 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
81 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
82 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
84 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
85 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
86 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
88 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
90 Condition symbol version definitions on [HAVE_ELFV2_ABI].
92 * shlib-versions: Remove OS-specific entries. Moved to files in
94 * sysdeps/mach/hurd/shlib-versions: New file.
95 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
97 * nptl/shlib-versions: Remove architecture-specific entries.
98 Moved to files in sysdeps.
99 * shlib-versions: Likewise.
100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
102 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
103 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
104 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
105 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
107 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
108 (UDP_NO_CHECK6_RX): Likewise.
110 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
112 * sysdeps/posix/sysconf.c (__sysconf): Spell
113 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
115 2014-08-12 Florian Weimer <fweimer@redhat.com>
117 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
119 * iconv/Versions (__gconv_transliterate): Export for use from
121 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
122 (struct __gconv_trans_data, __gconv_trans_fct,
123 __gconv_trans_context_fct, __gconv_trans_query_fct,
124 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
126 (struct __gconv_step_data): Remove __trans member.
127 (__gconv_transliterate): Declaration moved from gconv_int.h. No
128 longer hidden. Remove unused trans_data argument.
129 * iconv/gconv_int.h (struct trans_struct): Remove definition.
130 (__gconv_translit_find): Remove declaration.
131 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
133 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
134 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
135 trans_data argument. Add hidden definition.
136 (__gconv_translit_find): Remove.
137 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
138 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
139 * iconv/skeleton.c: Remove transliteration initialization.
140 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
141 __gconv_step_data initialization.
142 * libio/iofwide.c (__libio_translit_): Remove.
143 (_IO_fwide): Adjust struct __gconv_step_data initialization.
144 * wcsmbs/btowc.c (__btowc): Likewise.
145 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
146 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
147 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
148 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
149 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
150 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
151 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
152 * wcsmbs/wctob.c (wctob): Likewise.
154 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
157 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
158 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
160 * sysdeps/x86/Makefile: Adjust.
162 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
163 Roland McGrath <roland@hack.frob.com>
165 * locale/weight.h: Add include guard.
166 (findidx): Make static rather than auto; take new parameters
167 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
168 * locale/weightwc.h: Likewise.
169 * posix/fnmatch_loop.c
170 (FCT): Change type of EXTRA from int32_t to wint_t.
171 Don't include either header inside the function.
172 Call FINDIDX rather than findidx, and pass new arguments.
173 #undef FINDIDX at the end of the file.
174 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
175 FINDIDX before including fnmatch_loop.c for the non-wide version.
176 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
177 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
178 for the wide version.
179 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
180 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
181 Pass new arguments to findidx.
182 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
183 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
184 Don't #include it inside the function. Pass new arguments to findidx.
185 * posix/regex_internal.h
186 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
187 (re_string_elem_size_at): Don't #include it inside the function.
188 Pass new arguments to findidx.
189 * string/strcoll_l.c: #include WEIGHT_H at top level.
190 (get_next_seq): Don't #include it inside the function.
191 Pass new arguments to findidx.
192 (get_next_seq_nocache): Likewise.
193 * string/strxfrm_l.c: #include WEIGHT_H at top level.
194 (STRXFRM): Don't #include it inside the function.
195 Pass new arguments to findidx.
197 2014-09-11 Florian Weimer <fweimer@redhat.com>
200 * malloc/malloc.c (unlink): Turn asserts into a call to
203 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
206 * libio/wfileops (do_ftell_wide): Free OUT.
208 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
210 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
212 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
215 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
216 group if the current group is empty.
218 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
220 * benchtests/bench-memset.c (test_main): Add more test from size
221 from 32 to 512 bytes.
222 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
223 Add POWER8 memset object.
224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
225 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
226 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
228 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
230 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
231 multiarch POWER8 memset optimization.
232 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
233 POWER8 memset optimization.
235 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
236 Remove bzero multiarch objects.
237 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
238 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
239 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
240 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
242 [__bzero]: Redefine to specific name.
243 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
244 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
245 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
247 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
248 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
250 2014-09-10 Florian Weimer <fweimer@redhat.com>
252 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
253 warnings into errors.
255 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
256 __cxa_thread_atexit_impl prototype.
258 2014-09-09 Steve Ellcey <sellcey@mips.com>
260 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
261 Fix capitalization of error message.
263 2014-09-09 Steve Ellcey <sellcey@mips.com>
265 * sysdeps/mips/preconfigure: Modify ABI tests.
267 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
269 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
271 2014-09-07 Roland McGrath <roland@hack.frob.com>
272 Carlos O'Donell <carlos@systemhalted.org>
274 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
275 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
276 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
277 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
278 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
279 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
280 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
281 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
282 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
283 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
284 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
285 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
286 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
287 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
288 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
289 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
290 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
291 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
292 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
293 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
294 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
295 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
296 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
297 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
298 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
299 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
300 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
301 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
302 Deconditionalize the code that was previously under [RESET_PID].
303 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
304 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
305 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
306 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
309 2014-09-08 Allan McRae <allan@archlinux.org>
311 * version.h (RELEASE): Set to "development".
312 (VERSION): Set to "2.20.90"
314 2014-09-07 Allan McRae <allan@archlinux.org
316 * version.h (RELEASE): Set to "stable".
317 (VERSION): Set to "2.20"
318 * include/features.h (__GLIBC_MINOR__): Set to 20.
320 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
323 * po/ko.po: Update Korean translation from translation project.
325 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
328 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
329 macro for handling signed relocations.
331 2014-09-03 Florian Weimer <fweimer@redhat.com>
334 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
335 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
337 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
338 * iconvdata/ibm935.c (BODY): Likewise.
339 * iconvdata/ibm937.c (BODY): Likewise.
340 * iconvdata/ibm939.c (BODY): Likewise.
341 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
343 * iconvdata/Makefile (iconv-test.out): Pass module list to test
345 * iconvdata/run-iconv-test.sh: New test loop for checking for
348 2014-09-02 Khem Raj <raj.khem@gmail.com>
350 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
353 2014-09-01 Allan McRae <allan@archlinux.org>
355 * po/eo.po: Update Esperanto translation from translation project.
357 * po/ca.po: Update Catalan translation from translation project.
359 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
361 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
364 2014-08-27 Mark Wielaard <mjw@redhat.com>
367 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
368 to call set_thread_area instead of hand written asm.
369 (__NR_set_thread_area): Removed define.
370 (TLS_FLAG_WRITABLE): Likewise.
371 (__ASSUME_SET_THREAD_AREA): Remove check.
372 (TLS_EBX_ARG): Remove define.
373 (TLS_LOAD_EBX): Likewise.
375 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
377 Simplify atomicity of socket creation in bind.
379 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
380 looking up the name after linking the file.
382 2014-08-27 Allan McRae <allan@archlinux.org>
384 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
386 2014-08-26 Florian Weimer <fweimer@redhat.com>
389 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
390 trans_compare, open_translit, __gconv_translit_find):
391 Remove module loading code.
393 2014-08-26 Allan McRae <allan@archlinux.org>
395 * po/vi.po: Update Vietnamese translation from translation project.
397 * po/uk.po: Update Ukrainian translation from translation project.
399 * po/fr.po: Update French translation from translation project.
401 * po/ru.po: Update Russian translation from translation project.
403 * po/pl.po: Update Polish translation from translation project.
405 * po/cs.po: Update Czech translation from translation project.
407 * po/de.po: Update German translation from translation project.
409 * po/bg.po: Update Bulgarian translation from translation project.
411 * po/sv.po: Update Sweedish translation from translation project.
413 * po/nl.po: Update Dutch translation from translation project.
415 * po/es.po: Update Spanish translation from translation project.
417 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
419 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
421 * catgets/Makefile (CPPFLAGS-gencat): Remove.
422 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
423 (CPPFLAGS-iconvconfig): Likewise.
424 * timezone/Makefile (CPPFLAGS-zic): Likewise.
426 * include/libc-symbols.h: Remove unnecessary check for
428 * nptl/pthreadP.h: Likewise.
429 * sysdeps/aarch64/setjmp.S: Likewise.
430 * sysdeps/alpha/setjmp.S: Likewise.
431 * sysdeps/arm/sysdep.h: Likewise.
432 * sysdeps/i386/setjmp.S: Likewise.
433 * sysdeps/m68k/setjmp.c: Likewise.
434 * sysdeps/posix/getcwd.c: Likewise.
435 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
436 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
437 * sysdeps/s390/s390-32/setjmp.S: Likewise.
438 * sysdeps/s390/s390-64/setjmp.S: Likewise.
439 * sysdeps/sh/sh3/setjmp.S: Likewise.
440 * sysdeps/sh/sh4/setjmp.S: Likewise.
441 * sysdeps/unix/alpha/sysdep.h: Likewise.
442 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
443 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
444 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
445 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
448 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
449 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
450 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
453 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
455 * sysdeps/x86_64/setjmp.S: Likewise.
457 2014-08-13 Joseph Myers <joseph@codesourcery.com>
460 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
462 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
463 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
465 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
467 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
470 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
471 and __x86_64__ when disabling x87 inline functions.
473 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
476 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
477 asm statement with __cpuid_count.
479 2014-08-12 Mike Frysinger <vapier@gentoo.org>
481 * configure.ac: Change __ehdr_start code to dereference the struct.
482 Run readelf on the output to look for relocations.
483 * configure: Regenerated.
485 2014-08-12 Joseph Myers <joseph@codesourcery.com>
488 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
490 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
492 2014-08-12 Roland McGrath <roland@hack.frob.com>
494 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
496 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
499 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
500 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
502 2014-08-12 Sean Anderson <seanga2@gmail.com>
504 * malloc/malloc.c: Fix typo in comment.
506 2014-08-09 Allan McRae <allan@archlinux.org>
508 * Regenerate libc.po.
510 2014-08-08 Mike Frysinger <vapier@gentoo.org>
512 * intl/tst-gettext2.sh: Check every lang file for creation.
514 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
516 * sysdeps/aarch64/fpu/math_private.h
517 (libc_feholdsetround_noex_aarch64_ctx): New function.
519 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
521 * sysdeps/arm/armv6/strcpy.S (strcpy):
522 Fix performance issue in misaligned cases.
524 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
527 Move definition from termios.h.
528 (struct termio): Likewise.
529 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
530 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
531 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
532 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
534 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
535 Move definition to ioctl-types.h
536 (struct termio): Likewise.
537 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
538 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
539 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
540 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
543 2014-08-05 Richard Henderson <rth@redhat.com>
545 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
547 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
549 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
551 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
552 Protect libm symbols with IS_IN_libm.
554 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
556 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
558 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
560 2014-08-04 Will Newton <will.newton@linaro.org>
562 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
565 2014-08-04 Mike Frysinger <vapier@gentoo.org>
567 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
568 variants for each function.
570 2014-08-04 Roland McGrath <roland@hack.frob.com>
572 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
574 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
575 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
577 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
578 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
579 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
580 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
581 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
582 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
583 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
584 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
585 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
586 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
587 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
588 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
590 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
592 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
593 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
594 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
595 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
596 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
598 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
600 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
601 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
602 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
603 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
604 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
605 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
606 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
607 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
608 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
609 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
610 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
611 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
612 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
613 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
614 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
615 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
616 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
617 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
618 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
619 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
620 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
621 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
622 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
623 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
624 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
625 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
626 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
627 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
628 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
629 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
631 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
632 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
634 2014-08-04 Roland McGrath <roland@hack.frob.com>
636 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
637 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
638 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
639 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
640 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
641 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
643 2014-08-04 Roland McGrath <roland@hack.frob.com>
645 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
646 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
647 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
648 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
650 2014-08-04 Roland McGrath <roland@hack.frob.com>
652 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
653 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
654 (__libc_vfork): Define function under this name.
655 (__vfork): Define as an alias.
656 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
657 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
659 2014-08-04 Roland McGrath <roland@hack.frob.com>
661 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
662 that was previously under [RESET_PID].
663 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
665 2014-08-04 Andreas Schwab <schwab@suse.de>
667 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
669 2014-08-03 Mike Frysinger <vapier@gentoo.org>
671 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
674 2014-08-01 Roland McGrath <roland@hack.frob.com>
676 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
678 2014-08-01 Richard Henderon <rth@redhat.com>
680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
681 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
682 typo in exact zero test.
683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
684 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
687 2014-08-01 Roland McGrath <roland@hack.frob.com>
689 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
690 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
691 * sysdeps/arm/sysdep.h: ... here.
692 [!__ASSEMBLER__]: Include <stdint.h>.
694 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
696 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
697 (HAVE_WCTYPE_H): Likewise.
698 (HAVE_ISWCTYPE): Likewise.
699 (ENABLE_NLS): Likewise.
700 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
701 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
703 * posix/regex_internal.c: Check if DEBUG is defined and is
706 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
707 (HAVE_MBSRTOWCS): Likewise.
708 * posix/fnmatch.c: Include string.h unconditionally.
710 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
712 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
715 2014-07-31 Roland McGrath <roland@hack.frob.com>
717 * sysdeps/generic/safe-fatal.h: New file.
718 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
719 * nptl/forward.c: Include it.
720 (__pthread_unwind): Use __safe_fatal as default action, rather
721 than a bogus use of INTERNAL_SYSCALL that could never work.
723 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
724 * configure.ac (libc_cv_builtin_trap): New test.
725 * configure: Regenerated.
726 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
727 (ABORT_INSTRUCTION): Define using __builtin_trap.
729 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
730 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
731 * sysdeps/nptl/nptl-signals.h: New file.
732 * nptl/pthreadP.h: Include <nptl-signals.h>.
734 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
736 * sysdeps/s390/s390-64/utf16-utf32-z9.c
737 (ONE_DIRECTION): Define.
738 * sysdeps/s390/s390-64/utf8-utf16-z9.c
739 (ONE_DIRECTION): Define.
740 * sysdeps/s390/s390-64/utf8-utf32-z9.c
741 (ONE_DIRECTION): Define.
743 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
745 * sysdeps/s390/Makefile: Delete file.
746 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
747 * sysdeps/s390/__longjmp.c: Delete file.
748 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
749 Remove fields __flags and __reserved.
750 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
752 * sysdeps/s390/rtld-__longjmp.c: Delete file.
753 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
754 * sysdeps/s390/rtld-setjmp.S: Likewise.
755 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
756 * sysdeps/s390/s390-32/__longjmp.c: ... here.
757 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
758 * sysdeps/s390/s390-32/setjmp.S: ... here.
760 (__sigsetjmp): Remove setting __flags field.
761 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
762 * sysdeps/s390/s390-64/__longjmp.c: ... here.
763 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
764 * sysdeps/s390/s390-64/setjmp.S: ... here.
766 (__sigsetjmp): Remove setting __flags field.
767 * sysdeps/s390/setjmp.S: Delete file.
768 * sysdeps/s390/sigjmp.c: Likewise.
769 * sysdeps/s390/v1-longjmp.c: Likewise.
770 * sysdeps/s390/v1-setjmp.h: Likewise.
771 * sysdeps/s390/v1-sigjmp.c: Likewise.
772 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
773 Remove v1-longjmp_chk.
774 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
775 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
776 Include debug/longjmp_chk.c and add versioning.
777 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
778 Include nptl/pt-longjmp.c and add versioning.
779 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
780 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
782 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
784 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
785 (__getcontext): Remove setting __flags field.
787 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
788 Don't restore upper high grps.
789 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
791 (__swapcontext): Remove setting uc_flags field.
792 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
794 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
796 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
798 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
799 (__getcontext): Remove setting __flags field.
801 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
802 (__swapcontext): Remove setting uc_flags field.
803 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
804 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
805 Remove fields uc_high_gprs and __reserved.
806 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
807 New file with reverted content.
808 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
809 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
811 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
814 2014-07-31 Andreas Schwab <schwab@suse.de>
816 * config.h.in (HAVE_IFUNC): Define to 0.
817 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
820 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
823 memmove-avx-unaligned, memcpy-avx-unaligned and
824 mempcpy-avx-unaligned.
825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
826 Add tests for AVX memcpy functions.
827 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
828 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
830 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
831 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
833 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
836 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
837 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
838 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
840 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
846 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
849 * manual/llio.texi: Add section about open file description locks.
850 * manual/examples/ofdlocks.c: Example of open file description
852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
853 F_OFD_SETLK, and F_OFD_SETLKW.
855 2014-07-23 Allan McRae <allan@archlinux.org>
857 * po/es.po: Update Spanish translation from translation project.
859 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
861 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
863 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
866 * sysdeps/arm/dl-machine.h (elf_machine_rela)
867 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
868 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
870 2014-07-17 Joseph Myers <joseph@codesourcery.com>
873 * math/fesetenv.c (__fesetenv)
874 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
875 * math/feupdateenv.c (__feupdateenv)
876 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
878 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
879 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
880 (__ASSUME_SOCKETCALL): Do not define.
882 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
883 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
884 (__ASSUME_SOCKETCALL): Do not define.
885 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
886 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
887 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
888 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
889 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
890 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
891 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
892 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
894 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
895 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
896 (__ASSUME_SOCKETCALL): Do not define.
897 (__ASSUME_IPC64): Define unconditionally.
898 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
899 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
900 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
901 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
902 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
903 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
904 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
907 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
908 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
909 (__ASSUME_SOCKETCALL): Do not define.
910 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
911 (__ASSUME_FUTEX_LOCK_PI): Likewise.
912 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
913 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
914 (__ASSUME_REQUEUE_PI): Define unconditionally.
915 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
916 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
917 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
918 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
919 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
920 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
922 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
923 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
924 (__ASSUME_SOCKETCALL): Do not define.
925 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
926 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
927 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
928 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
929 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
930 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
932 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
933 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
934 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
935 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
936 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
937 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
938 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
939 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
940 (__ASSUME_GETCPU_SYSCALL): Likewise.
942 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
943 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
944 cases for individual architectures.
945 * sysdeps/gnu/configure: Regenerated.
946 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
947 LIBC_SLIBDIR_RTLDDIR.
948 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
949 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
950 LIBC_SLIBDIR_RTLDDIR.
951 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
953 LIBC_SLIBDIR_RTLDDIR.
954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
956 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
957 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
959 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
960 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
962 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
963 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
964 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
965 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
967 * sysdeps/aarch64/shlib-versions: Move to ...
968 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
969 * sysdeps/alpha/shlib-versions: Move to ...
970 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
971 * sysdeps/arm/shlib-versions: Move to ...
972 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
973 * sysdeps/hppa/shlib-versions: Move all contents except for
974 libgcc_s entry to ...
975 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
977 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
978 * sysdeps/ia64/shlib-versions: Move to ...
979 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
981 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
982 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
983 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
984 * sysdeps/microblaze/shlib-versions: Move to ...
985 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
986 * sysdeps/mips/shlib-versions: Move to ...
987 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
989 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
990 * sysdeps/tile/shlib-versions: Move to ...
991 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
992 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
994 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
995 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
997 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
999 2014-07-17 Will Newton <will.newton@linaro.org>
1001 * sysdeps/arm/bits/atomic.h
1002 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1003 (__arch_compare_and_exchange_bool_16_int): Likewise.
1004 (__arch_compare_and_exchange_bool_64_int): Likewise.
1006 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1007 into an #else block.
1009 2014-07-16 Roland McGrath <roland@hack.frob.com>
1011 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1012 just Linux configurations. Test empirically that the compiler sets
1013 __ARM_EABI__, rather than using the tuple to decide.
1014 * sysdeps/arm/preconfigure: Regenerated.
1015 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1016 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1017 contents appended ...
1018 * sysdeps/arm/configure.ac: ... here.
1019 * sysdeps/arm/configure: Regenerated.
1021 2014-07-15 Roland McGrath <roland@hack.frob.com>
1023 * nptl/pthread_kill.c: New file.
1024 * nptl/pthread_sigmask.c: New file.
1025 * nptl/pthread_sigqueue.c: New file.
1027 * sysdeps/nptl/lowlevellock.h: New file.
1028 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1029 * sysdeps/nptl/lowlevellock-futex.h: New file.
1031 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1032 Remove dead declarations.
1034 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1036 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1037 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1039 * sysdeps/x86_64/configure.ac: Likewise.
1040 * sysdeps/i386/configure: Regenerated.
1041 * sysdeps/x86_64/configure: Likewise.
1042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1043 memset-avx2 only if config-cflags-avx2 is yes.
1044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1045 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1047 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1048 only if HAVE_AVX2_SUPPORT is defined.
1049 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1051 2014-07-14 Alan Modra <amodra@gmail.com>
1054 * elf/elf.h (DT_PPC64_NUM): Correct value.
1055 * NEWS: Add to fixed bug list.
1057 2014-07-13 Jim Meyering <meyering@fb.com>
1060 regex: don't deref NULL upon heap allocation failure
1061 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1062 failure in one more place.
1063 To trigger the segfault, configure grep -with-included-regex,
1064 build it, and run these commands:
1065 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1067 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1069 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1071 2014-07-11 Richard Henderson <rth@redhat.com>
1073 * sysdeps/aarch64/libm-test-ulps: Update.
1075 2014-07-10 Florian Weimer <fweimer@redhat.com>
1078 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1079 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1080 (__nptl_setxid): Initialize error member. Call
1081 __nptl_setxid_error.
1082 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1083 * nptl/descr.h (struct xid_command): Add error member.
1084 * nptl/tst-setuid3.c: New file.
1085 * nptl/Makefile (tests): Add it.
1087 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1089 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1091 (__lll_trylock): Use __lll_base_trylock.
1092 (__lll_cond_trylock): Likewise.
1094 2014-07-10 Roland McGrath <roland@hack.frob.com>
1096 * nptl/pthread_create.c (start_thread): Use atomic_or and
1097 lll_futex_wake directly rather than lll_robust_dead.
1098 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1099 (lll_robust_dead): Macro removed.
1100 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1101 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1102 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1103 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1104 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1105 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1106 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1107 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1108 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1109 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1110 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1111 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1112 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1113 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1114 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1116 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1117 Use atomic_compare_and_exchange_val_acq directly rather than
1119 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1120 (__lll_robust_trylock, lll_robust_trylock): Removed.
1121 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1122 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1123 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1124 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1125 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1126 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1127 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1128 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1129 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1130 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1131 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1132 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1133 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1134 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1136 2014-07-02 Florian Weimer <fweimer@redhat.com>
1138 * manual/locale.texi (Locale Names): New section documenting
1139 locale name syntax. Adjust menu and node chaining accordingly.
1140 (Choosing Locale): Reference Locale Names, Locale Categories.
1141 Mention setting LC_ALL=C. Reflect that name syntax is now
1143 (Locale Categories): New section title. Reference Locale Names.
1144 LC_ALL is an environment variable, but not a category.
1145 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1146 description, now in Locale Name. Reference that section. Locale
1147 name syntax is now documented.
1149 2014-07-02 Florian Weimer <fweimer@redhat.com>
1152 * locale/findlocale.c (name_present, valid_locale_name): New
1154 (_nl_find_locale): Use the loc_name variable to store name
1155 candidates. Call name_present and valid_locale_name to check and
1156 validate locale names. Return an error if the locale is invalid.
1158 2014-07-02 Florian Weimer <fweimer@redhat.com>
1160 * locale/setlocale.c (setlocale): Use strdup for allocating
1161 composite name copy.
1163 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1165 Sync up with gnulib.
1166 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1167 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1168 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1169 and _GL_ARG_NONNULL.
1170 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1171 [!_LIBC]: Include code for Windows and Cygwin.
1172 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1173 Include prototype for int strerror_r.
1174 [!_LIBC] (is_open): New function.
1175 (flush_stdout): New function.
1176 (print_errno_message): Use it.
1178 (error_at_line): Likewise.
1179 (error_tail) Add function attribute macros. Use
1182 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1184 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1186 * io/ftw.c: Include sys/param.h unconditionally.
1188 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1191 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1193 (freecache): New function to free CACHE on exit.
1195 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1198 2014-07-09 David S. Miller <davem@davemloft.net>
1200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1202 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1203 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1204 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1205 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1206 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1207 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1208 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1209 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1210 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1211 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1212 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1213 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1214 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1216 2014-07-09 Andreas Schwab <schwab@suse.de>
1218 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1220 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1221 (do_test): Likewise.
1223 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1225 2014-07-09 Will Newton <will.newton@linaro.org>
1227 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1228 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1229 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1230 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1231 * sysdeps/hppa/start.S (_start): Likewise.
1233 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1235 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1237 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1240 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1242 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1243 after checking that it is non-NULL.
1245 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1247 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249 * sysdeps/powerpc/memmove.c: Remove file.
1250 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1251 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1252 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1253 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1254 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1255 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1257 string memmove instead of removed powerpc one.
1259 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1260 [weak_alias]: Fix compiler warning due trailing data.
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1262 [weak_alias]: Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1264 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1267 (__libc_ifunc_impl_list): Add memmove functions.
1269 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1271 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1273 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1275 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1277 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1279 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1281 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1283 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1285 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1287 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1289 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1291 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1293 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1295 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1297 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1299 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1301 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1303 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1306 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1308 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1309 to avoid alignment traps in non-cacheable memory.
1310 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1314 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1315 file: multiarch power7 memmove.
1316 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1317 multiarch default memmove.
1318 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1319 multiarch memove for powerpc32/power4.
1321 * string/bcopy.c: Use full path to include memmove.c.
1322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1324 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1325 bcopy for powerpc64.
1326 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1327 bcopy for powerpc64.
1328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1329 and memmove implementations.
1330 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1331 optimized multiarch memmove for POWER7/powerpc64.
1332 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1333 default multiarch memmove for powerpc64.
1334 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1335 multiarch for powerpc64.
1336 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1337 for POWER7/powerpc64.
1338 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1339 memmove for POWER7/powerpc64.
1341 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1344 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1345 __ELF_NATIVE_CLASS equal to 64.
1347 2014-07-07 Roland McGrath <roland@hack.frob.com>
1349 * sysdeps/nptl/lowlevellock.h: File removed.
1351 * NEWS: NPTL is no longer an add-on!
1352 * nptl/internaltypes.h: Moved ...
1353 * sysdeps/nptl/internaltypes.h: ... here.
1354 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1355 * sysdeps/nptl/fork.c: Likewise.
1356 * sysdeps/nptl/gai_misc.h: Likewise.
1357 * sysdeps/nptl/librt-cancellation.c: Likewise.
1358 * sysdeps/nptl/jmp-unwind.c: Likewise.
1359 * sysdeps/nptl/setxid.h: Likewise.
1360 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1361 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1362 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1363 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1364 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1365 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1366 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1367 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1368 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1369 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1370 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1371 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1372 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1373 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1374 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1375 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1377 * nptl/Makeconfig: Moved ...
1378 * sysdeps/nptl/Makeconfig: ... here.
1379 * nptl/configure: File removed.
1380 * nptl/ANNOUNCE: File removed.
1381 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1382 * sysdeps/unix/sysv/linux/configure: Regenerated.
1384 * nptl/Makefile (routines): Add libc_pthread_init,
1385 libc_multiple_threads, register-atfork and unregister-atfork.
1386 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1387 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1388 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1389 pthread-pi-defines.sym, structsem.sym.
1390 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1391 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1392 [$(subdir) = nptl] (tests): Add tst-setgetname.
1393 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1394 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1395 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1396 [!LIBC_SIGACTION]: Remove aliases.
1397 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1398 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1399 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1400 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1401 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1402 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1404 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1405 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1406 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1407 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1408 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1409 __libc_allocate_rtsig_private.
1410 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1411 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1412 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1413 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1414 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1415 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1416 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1417 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1418 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1419 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1420 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1421 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1422 * nptl/internaltypes.h: ... here.
1423 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1424 * sysdeps/nptl/jmp-unwind.c: ... here.
1425 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1426 * nptl/libc-lowlevellock.c: ... here.
1427 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1428 * nptl/libc_multiple_threads.c: ... here.
1429 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1430 * nptl/libc_pthread_init.c: ... here.
1431 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1432 * nptl/lowlevelbarrier.sym: ... here.
1433 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1434 * nptl/lowlevelcond.sym: ... here.
1435 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1436 * nptl/lowlevellock.c: ... here.
1437 * nptl/lowlevellock.h: Moved ...
1438 * sysdeps/nptl/lowlevellock.h: ... here.
1439 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1440 * nptl/lowlevelrobustlock.c: ... here.
1441 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1442 * nptl/lowlevelrobustlock.sym: ... here.
1443 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1444 * nptl/lowlevelrwlock.sym: ... here.
1445 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1446 * nptl/pt-fork.c: ... here.
1447 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1448 * nptl/pthread-pi-defines.sym: ... here.
1449 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1450 * nptl/pthread_attr_getaffinity.c: ... here.
1451 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1452 * nptl/pthread_attr_setaffinity.c: ... here.
1453 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1454 * nptl/pthread_mutex_cond_lock.c: ... here.
1455 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1457 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1458 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1459 * nptl/pthread_once.c: ... here, replacing old file.
1460 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1461 * nptl/pthread_yield.c: ... here.
1462 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1463 * nptl/register-atfork.c: ... here.
1464 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1465 * nptl/sem_post.c: ... here.
1466 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1467 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1468 * nptl/sem_timedwait.c: ... here.
1469 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1470 * nptl/sem_trywait.c: ... here.
1471 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1472 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1473 * nptl/sem_wait.c: ... here.
1474 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1475 * nptl/structsem.sym: ... here.
1476 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1477 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1478 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1479 * nptl/unregister-atfork.c: ... here.
1480 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1481 * nptl/unwindbuf.sym: ... here.
1482 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1483 * sysdeps/nptl/fork.c: ... here.
1484 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1485 * sysdeps/nptl/fork.h: ... here.
1486 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1487 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1488 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1489 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1490 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1491 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1492 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1493 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1494 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1495 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1496 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1497 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1498 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1499 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1500 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1501 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1502 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1503 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1504 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1505 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1506 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1507 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1508 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1509 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1510 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1511 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1512 * sysdeps/unix/sysv/linux/raise.c: ... here.
1513 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1514 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1515 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1516 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1517 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1518 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1519 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1520 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1521 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1522 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1523 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1524 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1525 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1526 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1527 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1529 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1531 * sysdeps/generic/memcopy.h: Add comment for
1532 MEMCPY_OK_FOR_FWD_MEMMOVE.
1534 2014-07-04 Will Newton <will.newton@linaro.org>
1536 * string/memchr.c: Merge from gnulib.
1537 [_LIBC]: Remove conditionals.
1538 (__ptr_t): Remove define.
1539 (LONG_MAX_32_BITS): Likewise.
1540 (LONG_MAX): Likewise.
1541 (MEMCHR): Use ANSI prototype and optimize algorithm.
1543 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1545 2014-07-03 Roland McGrath <roland@hack.frob.com>
1547 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1548 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1550 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1551 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1552 in a bare environment with no <stdlib.h> installed.
1553 * sysdeps/nptl/configure: Regenerated.
1555 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1557 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1558 AC_EGREP_CPP for kernel header checks, so they only succeed if
1559 including <linux/version.h> actually works right.
1560 * sysdeps/unix/sysv/linux/configure: Regenerated.
1562 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1563 value so it's not diagnosed as unused.
1565 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1566 thing) with "ifeq ($(subdir),rt)".
1568 2014-07-03 Richard Henderson <rth@redhat.com>
1570 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1571 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1572 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1574 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1575 (math_force_eval): New.
1577 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1578 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1580 * sysdeps/alpha/fpu/s_round.c: Remove file.
1581 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1583 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1584 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1585 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1586 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1587 (_dl_start, print_statistics): Likewise.
1588 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1589 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1591 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1592 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1593 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1594 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1596 (HP_SMALL_TIMING_AVAIL): Define.
1597 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1598 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1599 (HP_SMALL_TIMING_AVAIL): Define.
1600 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1601 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1603 * sysdeps/aarch64/hp-timing.h: New file.
1605 * sysdeps/generic/hp-timing.h: Remove dead comment.
1606 * sysdeps/generic/hp-timing-common.h: New file.
1607 * sysdeps/alpha/hp-timing.h: Include it.
1608 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1609 * sysdeps/i386/i686/hp-timing.h: Likewise.
1610 * sysdeps/ia64/hp-timing.h: Likewise.
1611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1612 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1613 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1614 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1615 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1616 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1619 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1620 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1621 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1622 * elf/rtld.c (_dl_start_final): Likewise.
1623 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1624 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1625 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1626 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1627 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1628 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1629 (HP_TIMING_DIFF_INIT): Remove.
1630 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1631 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1632 (HP_TIMING_DIFF_INIT): Remove.
1633 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1634 * sysdeps/i386/i686/hp-timing.c: Remove file.
1635 * sysdeps/x86_64/hp-timing.c: Remove file.
1636 * sysdeps/ia64/hp-timing.c: Remove file.
1637 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1638 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1639 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1640 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1642 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1643 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1644 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1645 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1646 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1647 (HP_TIMING_ACCUM): Remove.
1648 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1649 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1650 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1652 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1653 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1654 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1655 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1657 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1658 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1659 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1661 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1663 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1665 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1667 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1669 Sync up with gettext.
1670 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1671 [_MSC_VER]: Include malloc.h
1672 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1673 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1674 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1675 TEMP_FAILURE_RETRY. Cast return of alloca.
1676 [!_LIBC] Call gl_rwlock_init.
1677 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1679 2014-07-02 Roland McGrath <roland@hack.frob.com>
1681 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1682 before checking its value.
1684 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1686 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1688 * debug/memcpy_chk.c: Don't include pagecopy.h.
1689 * debug/mempcpy_chk.c: Likewise.
1690 * string/memcpy.c: Likewise.
1691 * string/memmove.c: Likewise.
1692 * sysdeps/powerpc/memmove.c: Likewise.
1693 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1694 definition of PAGE_COPY_FWD_MAYBE here...
1695 * sysdeps/generic/pagecopy.h: ... from here.
1696 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1698 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1699 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1701 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1705 (__libc_ifunc_impl_list): Likewise.
1706 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1707 multiarch strcat for PPC64.
1708 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1709 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1711 2014-07-02 Roland McGrath <roland@hack.frob.com>
1713 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1715 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1717 * intl/loadmsgcat.c: Remove declaration of
1718 get_sysdep_segment_value.
1719 (get_sysdep_segment_value): Use ISO C style.
1720 (_nl_load_domain): Use ISO C style. Get rid of redundant
1721 semicolon. Fix typo and formatting in comment.
1722 (_nl_unload_domain): Use ISO C style.
1724 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1726 2014-07-02 Will Newton <will.newton@linaro.org>
1728 * malloc/obstack.c: Merge from gnulib master.
1729 [HAVE_CONFIG_H]: Remove conditional code.
1730 [!_LIBC]: Include config.h.
1731 [!ELIDE_CODE]: Don't include inttypes.h, include
1732 stdint.h unconditionally.
1733 (print_and_abort): Mark as _Noreturn.
1734 (_obstack_allocated_p): Mark as __attribute_pure__.
1735 (obstack_free): Rename to __obstack_free.
1736 [!__attribute__]: Remove conditional code.
1737 * malloc/obstack.h: Merge from gnulib master.
1738 [__cplusplus]: Move conditional down.
1739 [!__attribute_pure__]: Define __attribute_pure__ here
1740 if it is not already defined.
1741 (_obstack_memory_used): Mark as __attribute_pure__.
1742 [!__obstack_free]: Define as obstack_free.
1743 [__GNUC__]: Remove check for ancient NeXT gcc.
1745 2014-07-02 Will Newton <will.newton@linaro.org>
1746 Paul Eggert <eggert@cs.ucla.edu>
1748 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1750 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1752 * resolv/gethnamaddr.c: Add comment warning that the file is
1755 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1757 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1760 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1761 entry for aio_cancel and aio_cancel64.
1762 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1763 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1764 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1765 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1766 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1767 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1768 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1769 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1770 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1771 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1772 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1773 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1774 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1776 2014-07-01 Roland McGrath <roland@hack.frob.com>
1778 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1779 * nptl/pthread_mutex_lock.c: Likewise.
1780 * nptl/pthread_mutex_timedlock.c: Likewise.
1781 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1783 2014-07-01 Richard henderson <rth@redhat.com>
1785 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1786 (__isnan, __isnanl): Remove.
1787 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1789 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1791 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1793 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1795 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1797 * resolv/nss_dns/dns-host.c (getanswer_r)
1798 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1800 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1803 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1805 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1806 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1808 2014-07-01 Roland McGrath <roland@hack.frob.com>
1810 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1811 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1813 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1814 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1816 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1817 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1819 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1820 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1822 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1823 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1824 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1825 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1827 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1828 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1829 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1830 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1833 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1835 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1836 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1837 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1838 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1839 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1840 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1841 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1842 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1844 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1845 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1846 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1847 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1848 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1849 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1850 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1852 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1854 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1856 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1859 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1860 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1861 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1862 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1863 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1865 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1867 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1868 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1869 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1872 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1876 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1878 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1879 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1881 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1883 * sysdeps/arm/libm-test-ulps: Regenerated.
1885 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1886 Roland McGrath <roland@hack.frob.com>
1888 * test-skeleton.c (signal_handler): Kill the whole process group
1889 before killing the child individually.
1890 (main): Report any failure on `setpgid'.
1892 2014-06-30 Roland McGrath <roland@hack.frob.com>
1894 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1895 from _TLS_H to _ARM_NPTL_TLS_H.
1896 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1897 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1899 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1902 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1903 (__expm1l): Return argument unchanged when small but not
1906 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1908 (_FP_UNPACK_RAW_1_P): Likewise.
1909 (_FP_PACK_RAW_1): Likewise.
1910 (_FP_PACK_RAW_1_P): Likewise.
1911 (_FP_MUL_MEAT_1_wide): Likewise.
1912 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1913 (_FP_MUL_MEAT_1_hard): Likewise.
1914 (_FP_DIV_MEAT_1_imm): Likewise.
1915 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1916 (_FP_DIV_MEAT_1_udiv): Likewise.
1917 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1918 (_FP_UNPACK_RAW_2): Likewise.
1919 (_FP_UNPACK_RAW_2_P): Likewise.
1920 (_FP_PACK_RAW_2): Likewise.
1921 (_FP_PACK_RAW_2_P): Likewise.
1922 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1923 (_FP_MUL_MEAT_2_wide): Likewise.
1924 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1925 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1926 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1927 (_FP_MUL_MEAT_2_gmp): Likewise.
1928 (_FP_DIV_MEAT_2_udiv): Likewise.
1929 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1930 (_FP_FRAC_SRL_4): Likewise.
1931 (_FP_FRAC_SRST_4): Likewise.
1932 (_FP_FRAC_SRS_4): Likewise.
1933 (_FP_UNPACK_RAW_4): Likewise.
1934 (_FP_UNPACK_RAW_4_P): Likewise.
1935 (_FP_PACK_RAW_4): Likewise.
1936 (_FP_PACK_RAW_4_P): Likewise.
1937 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1938 (_FP_MUL_MEAT_4_wide): Likewise.
1939 (_FP_MUL_MEAT_4_gmp): Likewise.
1940 (umul_ppppmnnn): Likewise.
1941 (_FP_DIV_MEAT_4_udiv): Likewise.
1942 (__FP_FRAC_ADD_4): Likewise.
1943 (__FP_FRAC_SUB_3): Likewise.
1944 (__FP_FRAC_SUB_4): Likewise.
1945 (__FP_FRAC_DEC_3): Likewise.
1946 (__FP_FRAC_DEC_4): Likewise.
1947 (__FP_FRAC_ADDI_4): Likewise.
1948 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1949 (_FP_FRAC_SRL_8): Likewise.
1950 (_FP_FRAC_SRS_8): Likewise.
1952 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1954 (FP_UNPACK_RAW_EP): Likewise.
1955 (FP_PACK_RAW_E): Likewise.
1956 (FP_PACK_RAW_EP): Likewise.
1957 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1958 (_FP_ISSIGNAN): Likewise.
1959 (_FP_ADD_INTERNAL): Likewise.
1960 (_FP_FMA): Likewise.
1961 (_FP_CMP): Likewise.
1962 (_FP_SQRT): Likewise.
1963 (_FP_TO_INT): Likewise.
1964 (_FP_FROM_INT): Likewise.
1965 (FP_EXTEND): Likewise.
1966 (_FP_DIV_MEAT_N_loop): Likewise.
1968 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1970 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1973 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1976 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1977 result with correct sign in case of exponents that produce
1978 overflow except for X very close to 1.
1980 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1982 mktime: merge #if/#ifdef usage from glibc
1983 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1984 as that works with both Glibc's and Gnulib's style.
1985 See thread starting at Siddhesh Poyarekar's bug report at:
1986 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1988 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1990 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1991 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1992 * sysdeps/tile/tilegx/memmove.c: Remove file.
1994 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1996 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1997 abi-name definition.
1998 * scripts/soversions.awk: Do not handle or generate ABI lines.
1999 * shlib-versions: Remove ABI entries.
2000 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2001 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2003 2014-06-27 Roland McGrath <roland@hack.frob.com>
2005 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2006 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2007 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2008 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2009 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2010 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2013 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2016 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2018 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2020 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2021 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2022 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2023 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2024 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2026 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2027 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2029 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2031 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2033 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2036 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2039 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2041 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2044 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2046 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2048 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2050 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2053 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2058 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2059 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2061 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2062 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2063 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2066 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2068 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2069 Identical file removed.
2070 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2072 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2074 Identical file removed.
2075 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2076 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2079 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2080 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2081 Identical file removed.
2082 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2083 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2085 Identical file removed.
2086 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2087 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2088 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2089 Identical file removed.
2090 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2091 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2093 Identical file removed.
2094 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2096 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2097 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2098 Identical file removed.
2099 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2101 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2102 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2103 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2105 Identical file removed.
2106 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2108 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2111 Identical file removed.
2112 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2114 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2115 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2116 Identical file removed.
2117 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2119 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2120 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2121 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2122 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2123 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2126 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2127 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2128 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2130 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2131 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2132 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2133 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2134 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2136 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2139 * nscd/nscd.c (monitor_child): Return exit status of child
2140 instead of return value from wait syscall.
2142 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2144 * configure.ac (libc_commonpagesize): Remove variable.
2145 (libc_relro_required): Likewise.
2146 (libc_cv_z_relro): Remove configure test.
2147 * configure: Regenerated.
2148 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2150 (libc_relro_required): Likewise.
2151 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2152 (libc_relro_required): Likewise.
2153 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2154 (libc_relro_required): Likewise.
2155 * sysdeps/arm/preconfigure: Regenerated.
2156 * sysdeps/ia64/preconfigure: Remove file.
2157 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2159 (libc_relro_required): Likewise.
2163 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2164 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2165 recompute overflowing results in original rounding mode.
2166 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2167 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2168 recompute overflowing results in original rounding mode.
2169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2170 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2171 recompute overflowing results in original rounding mode.
2172 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2173 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2174 recompute overflowing results in original rounding mode.
2175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2176 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2177 recompute overflowing results in original rounding mode.
2178 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2179 (libc_feholdsetround_ctx): New macro.
2180 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2181 * sysdeps/i386/fpu/libm-test-ulps: Update.
2182 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2184 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2186 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2187 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2188 corresponding .cpsetup call.
2190 2014-06-26 Roland McGrath <roland@hack.frob.com>
2192 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2193 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2194 * sysdeps/arm/Makefile [$(subdir) = csu]
2195 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2196 (static-only-routines): Add aeabi_read_tp here.
2197 (shared-only-routines): Add libc-aeabi_read_tp here.
2198 (CFLAGS-libc-start.c): Add -fexceptions here.
2199 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2200 (sysdep_routines, static-only-routines, shared-only-routines):
2201 Don't add to these here.
2202 (CFLAGS-libc-start.c): Likewise.
2204 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2205 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2206 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2207 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2208 * sysdeps/arm/Makefile [$(subdir) = rt]
2209 (librt-sysdep_routines, librt-shared-only-routines):
2210 Append rt-aeabi_unwind_cpp_pr1 here.
2211 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2212 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2213 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2214 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2215 Append nptl-aeabi_unwind_cpp_pr1 here.
2216 (tests): Filter out tst-cleanupx4 here.
2217 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2218 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2219 Don't do those here.
2221 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2223 * scripts/list-sources.sh: Do not handle ports specially.
2225 2014-06-26 Roland McGrath <roland@hack.frob.com>
2227 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2228 * sysdeps/arm/feupdateenv.c: Likewise.
2230 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2232 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2234 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2235 trailing whitespace removed.
2236 * scripts/config.guess: Update to version 2014-03-23.
2237 * scripts/config.sub: Update to version 2014-05-01
2238 * scripts/install-sh: Update to version 2013-12-25.23.
2239 * scripts/move-if-change: Update from gnulib.
2241 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2243 * debug/memmove_chk.c: Remove pagecopy.h include.
2245 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2247 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2248 identical to gnulib mktime.
2250 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2252 * configure.ac: Do not test for machine being rs6000. Do not test
2254 * configure: Regenerated.
2256 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2258 * configure: Regenerated.
2259 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2260 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2261 Remove configure test.
2262 * sysdeps/arm/configure: Regenerated.
2263 * sysdeps/nptl/configure.ac: Do not check
2264 libc_cv_asm_cfi_directives.
2265 * sysdeps/nptl/configure: Regenerated.
2266 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2267 * sysdeps/x86_64/nptl/configure: Remove generated file.
2268 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2270 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2272 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2274 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2275 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2276 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2279 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2280 instead of whether it is defined.
2281 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2282 * sysdeps/hppa/dl-machine.h: Likewise.
2283 * sysdeps/ia64/dl-machine.h: Likewise.
2284 * sysdeps/m68k/dl-machine.h: Likewise.
2285 * sysdeps/microblaze/dl-machine.h: Likewise.
2286 * sysdeps/mips/dl-machine.: Likewise.
2287 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2289 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2290 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2291 * sysdeps/sh/dl-machine.h: Likewise.
2292 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2293 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2294 * sysdeps/tile/dl-machine.h: Likewise.
2295 * sysdeps/x86_64/dl-machine.h: Likewise.
2297 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2299 (verify_persistent_db): Likewise.
2301 2014-06-26 Roland McGrath <roland@hack.frob.com>
2303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2304 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2306 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2309 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2312 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2314 Identical file removed.
2315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2316 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2318 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2320 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2322 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2324 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2327 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2334 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2336 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2338 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2340 Identical file removed.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2342 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2347 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2361 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2364 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2369 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2371 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2373 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2375 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2376 * sysdeps/unix/sysv/linux/s390/Versions
2377 (libpthread: GLIBC_2.19): New version set.
2378 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2379 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2380 (librt: GLIBC_2.3.3): New version set.
2381 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2382 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2383 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2384 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2385 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2386 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2387 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2389 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2390 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2391 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2393 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2394 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2395 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2396 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2397 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2398 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2399 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2400 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2401 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2403 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2404 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2405 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2406 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2407 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2409 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2410 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2411 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2413 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2417 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2419 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2421 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2423 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2425 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2428 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2429 (__libc_vfork): Define the function under this name.
2430 [!NOT_IN_libc] (__vfork): Make this an alias.
2431 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2432 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2433 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2434 (__libc_vfork): Define the function under this name.
2435 [!NOT_IN_libc] (__vfork): Make this an alias.
2436 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2437 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2438 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2440 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2441 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2443 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2444 code that was previously under [RESET_PID].
2445 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2446 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2449 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2450 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2451 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2452 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2453 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2454 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2455 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2456 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2457 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2458 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2459 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2461 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2463 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2464 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2465 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2469 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2470 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2471 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2473 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2475 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2477 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2479 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2480 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2481 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2482 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2483 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2484 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2485 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2486 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2487 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2488 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2489 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2491 2014-06-25 Roland McGrath <roland@hack.frob.com>
2493 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2494 that was previously under [RESET_PID].
2495 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2497 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2499 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2500 not undefine and redefine.
2501 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2502 [O_CLOEXEC]: Make code unconditional.
2503 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2504 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2505 <kernel-features.h>.
2506 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2507 conditional variable definition.
2508 (shm_open) [O_CLOEXEC]: Make code unconditional.
2509 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2512 * configure.ac (USE_REGPARMS): Don't define here.
2513 * configure: Regenerated.
2514 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2515 * sysdeps/i386/configure: Regenerated.
2517 * nptl/createthread.c: Don't include kernel-features.h.
2518 * nptl/pthread_cancel.c: Likewise.
2519 * nptl/pthread_condattr_setclock.c: Likewise.
2520 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2521 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2522 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2523 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2524 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2525 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2526 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2529 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2530 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2531 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2532 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2533 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2534 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2535 * nscd/gai.c: Likewise.
2536 * nss/nss_db/db-open.c: Likewise.
2537 * sysdeps/generic/ldsodefs.h: Likewise.
2538 * sysdeps/sh/nptl/tls.h: Likewise.
2539 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2540 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2541 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2542 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2543 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2544 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2545 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2546 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2547 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2548 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2549 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2550 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2551 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2552 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2553 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2554 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2555 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2556 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2557 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2558 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2559 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2560 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2561 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2562 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2563 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2564 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2565 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2566 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2567 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2568 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2569 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2570 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2571 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2572 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2573 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2574 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2575 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2576 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2577 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2578 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2579 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2580 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2581 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2582 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2583 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2584 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2585 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2586 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2587 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2588 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2589 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2590 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2591 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2592 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2593 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2594 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2595 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2596 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2619 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2620 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2621 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2622 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2623 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2624 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2625 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2626 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2627 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2628 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2629 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2630 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2631 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2632 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2633 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2634 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2635 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2636 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2637 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2638 * sysdeps/unix/sysv/linux/system.c: Likewise.
2639 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2640 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2641 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2642 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2643 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2644 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2645 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2647 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2648 * configure: Regenerated.
2649 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2651 * configure.ac (base_machine): Do not set specially for particular
2653 * configure: Regenerated.
2654 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2655 settings from configure.ac.
2656 * sysdeps/i386/preconfigure: New file.
2657 * sysdeps/s390/preconfigure: Likewise.
2658 * sysdeps/sh/preconfigure: Likewise.
2659 * sysdeps/sparc/preconfigure: Likewise.
2661 2014-06-25 Roland McGrath <roland@hack.frob.com>
2663 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2664 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2665 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2666 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2667 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2668 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2669 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2670 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2671 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2672 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2673 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2674 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2675 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2676 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2677 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2678 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2679 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2680 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2681 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2683 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2684 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2685 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2686 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2687 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2688 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2689 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2690 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2691 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2692 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2693 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2694 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2695 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2696 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2697 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2698 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2699 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2700 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2701 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2702 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2703 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2704 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2705 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2706 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2707 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2708 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2709 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2710 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2711 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2712 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2713 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2714 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2715 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2716 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2717 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2718 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2719 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2720 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2723 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2728 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2731 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2733 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2736 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2738 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2745 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2750 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2755 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2757 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2759 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2761 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2764 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2767 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2769 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2772 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2774 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2781 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2784 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2786 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2789 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2793 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2795 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2797 * timezone/checktab.awk: Update from tzcode 2014e.
2798 * timezone/private.h: Likewise.
2799 * timezone/tzfile.h: Likewise.
2800 * timezone/zdump.c: Likewise.
2801 * timezone/zic.c: Likewise.
2803 * sysdeps/unix/sysv/linux/kernel-features.h
2804 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2806 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2807 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2808 Remove conditional code.
2810 2014-06-25 Will Newton <will.newton@linaro.org>
2812 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2813 (_dl_arm_cap_flags): Add HWCAP2 values.
2814 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2815 (_DL_HWCAP_COUNT): Increase to 37.
2816 (_DL_HWCAP_LAST): New define.
2817 (_DL_HWCAP2_LAST): New define.
2818 (_dl_procinfo): Add support for printing
2820 (_dl_string_hwcap): Use _dl_hwcap_string.
2822 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2826 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2828 * README: Do not mention ports directory.
2830 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2832 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2833 <kernel-features.h>.
2834 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2835 conditional variable definition.
2836 (__futimes): Update comment.
2837 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2838 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2841 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2842 arguments close to 0.
2843 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2845 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2847 * math/auto-libm-test-in: Add more tests of exp10.
2848 * math/auto-libm-test-out: Regenerated.
2849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2851 * sysdeps/unix/sysv/linux/kernel-features.h
2852 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2853 * sysdeps/unix/sysv/linux/readv.c: Do not include
2854 <kernel-features.h>.
2855 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2856 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2857 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2859 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2861 * sysdeps/unix/sysv/linux/writev.c: Do not include
2862 <kernel-features.h>.
2863 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2864 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2865 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2867 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2870 2014-06-25 Will Newton <will.newton@linaro.org>
2872 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2873 comment changes throughout the file. Remove checks
2874 for HAVE_*_H definitions that are not required.
2875 (__gen_tempname): Call abort if an unknown kind value is
2878 2014-06-25 Andreas Schwab <schwab@suse.de>
2881 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2882 scalbln, scalblnf, scalblnl in libc.
2884 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2887 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2888 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2889 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2891 2014-06-24 Roland McGrath <roland@hack.frob.com>
2893 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2894 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2895 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2896 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2898 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2899 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2901 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2902 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2903 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2904 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2905 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2906 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2907 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2908 * sysdeps/x86/bits/semaphore.h: ... here.
2909 * sysdeps/x86/nptl/elide.h: Moved ...
2910 * sysdeps/x86/elide.h: ... here.
2911 * sysdeps/x86_64/nptl/Implies: File removed.
2912 * sysdeps/i386/nptl/Implies: File removed.
2914 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2918 return the argument for normal arguments with exponent below -64.
2919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2921 * math/auto-libm-test-in: Add another test of expm1.
2922 * math/auto-libm-test-out: Regenerated.
2925 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2926 calling __erfcl for arguments at least 16.
2927 * math/auto-libm-test-in: Add more tests of erf.
2928 * math/auto-libm-test-out: Regenerated.
2930 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2931 individual architectures.
2932 * sysdeps/unix/sysv/linux/configure: Regenerated.
2933 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2934 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2935 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2936 (ldd_rewrite_script): Define variable.
2937 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2942 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2943 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2944 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2945 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2946 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2947 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2948 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2949 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2951 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2954 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2955 Rename member __data.d to __data.__elision_data.
2957 2014-06-24 Wilco <wdijkstr@arm.com>
2959 * NEWS: Add 16918 to fixed bug list.
2961 2014-06-24 Wilco <wdijkstr@arm.com>
2963 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2965 2014-06-24 Wilco <wdijkstr@arm.com>
2967 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2968 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2969 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2970 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2971 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2972 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2973 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2976 2014-06-24 Wilco <wdijkstr@arm.com>
2978 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2980 2014-06-24 Wilco <wdijkstr@arm.com>
2982 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2983 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2984 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2985 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2987 2014-06-24 Wilco <wdijkstr@arm.com>
2990 * sysdeps/arm/feupdateenv.c (feupdateenv):
2991 Rewrite to reduce FPSCR accesses and fix return value.
2993 2014-06-24 Wilco <wdijkstr@arm.com>
2995 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2996 Optimize to avoid unnecessary FPSCR writes.
2997 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2998 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2999 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3000 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3002 2014-06-24 Wilco <wdijkstr@arm.com>
3004 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3005 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3006 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3007 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3008 Call libc_fetestexcept_vfp.
3009 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3010 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3011 __SOFTFP__ ifdef so that they can be built for softfp.
3013 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3015 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3016 argument type signed char.
3018 * Makerules (check-abi): Dump diff of symlist if the test
3021 2014-06-23 Roland McGrath <roland@hack.frob.com>
3023 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3026 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3027 Remove unused variable ST.
3029 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3033 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3034 small arguments before calling __expm1.
3035 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3036 small arguments before calling __expm1f.
3037 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3038 small arguments before calling __expm1l.
3039 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3041 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3042 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3043 spurious underflow for some cosh tests.
3044 * math/auto-libm-test-out: Regenerated.
3045 * sysdeps/i386/fpu/libm-test-ulps: Update.
3048 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3049 (__ieee754_y1): Set errno if return value overflows.
3050 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3051 (__ieee754_y1f): Set errno if return value overflows.
3052 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3053 (__ieee754_y1l): Set errno if return value overflows.
3054 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3055 (__ieee754_y1l): Set errno if return value overflows.
3056 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3057 * math/auto-libm-test-out: Regenerated.
3059 * math/gen-auto-libm-tests.c: Document use of
3060 ignore-zero-inf-sign.
3061 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3062 (input_flags): Add ignore-zero-inf-sign.
3063 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3064 * math/gen-libm-test.pl (generate_testfile): Handle
3065 ignore-zero-inf-sign.
3066 * math/auto-libm-test-in: Mark some cpow tests with
3067 ignore-zero-inf-sign and some with xfail-rounding.
3068 * math/auto-libm-test-out: Regenerated.
3069 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3070 * sysdeps/i386/fpu/libm-test-ulps: Update.
3071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3074 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3075 overflowing or underflowing operations take place with sign of
3077 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3078 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3079 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3080 (__ieee754_pow): Recompute overflowing and underflowing results in
3081 original rounding mode.
3082 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3083 (__powl_helper): Allow negative argument X and scale negated value
3084 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3085 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3086 overflowing or underflowing operations take place with sign of
3088 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3090 * math/auto-libm-test-in: Add more tests of pow.
3091 * math/auto-libm-test-out: Regenerated.
3092 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3093 (pow_tonearest_test_data): Remove.
3094 (pow_test_tonearest): Likewise.
3095 (pow_towardzero_test_data): Likewise.
3096 (pow_test_towardzero): Likewise.
3097 (pow_downward_test_data): Likewise.
3098 (pow_test_downward): Likewise.
3099 (pow_upward_test_data): Likewise.
3100 (pow_test_upward): Likewise.
3101 (main): Don't call removed functions.
3102 * sysdeps/i386/fpu/libm-test-ulps: Update.
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3105 2014-06-23 Roland McGrath <roland@hack.frob.com>
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3281 2014-06-23 Will Newton <will.newton@linaro.org>
3282 Wilco <wdijkstr@arm.com>
3284 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3285 implementation. Include get-rounding-mode.h.
3286 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3287 [!libc_feholdsetround_noex_ctx]: Define
3288 libc_feholdsetround_noex_ctx.
3289 [!libc_feholdsetround_noexf_ctx]: Define
3290 libc_feholdsetround_noexf_ctx.
3291 [!libc_feholdsetround_noexl_ctx]: Define
3292 libc_feholdsetround_noexl_ctx.
3293 (libc_feholdsetround_ctx): New function.
3294 (libc_feresetround_ctx): New function.
3295 (libc_feholdsetround_noex_ctx): New function.
3296 (libc_feresetround_noex_ctx): New function.
3298 2014-06-23 Roland McGrath <roland@hack.frob.com>
3300 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3301 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3302 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3303 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3304 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3305 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3307 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3308 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3309 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3310 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3311 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3312 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3314 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3315 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3316 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3317 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3319 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3321 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3322 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3323 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3324 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3325 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3327 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3328 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3329 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3331 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3333 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3336 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3339 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3340 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3341 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3342 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3344 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3346 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3347 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3348 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3349 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3350 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3351 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3352 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3353 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3355 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3357 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3358 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3359 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3360 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3361 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3362 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3363 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3364 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3365 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3366 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3367 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3368 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3369 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3371 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3373 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3375 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3378 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3380 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3382 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3384 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3385 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3386 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3387 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3388 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3389 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3390 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3391 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3393 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3394 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3395 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3396 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3397 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3398 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3399 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3400 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3401 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3402 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3403 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3404 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3407 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3409 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3410 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3411 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3413 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3416 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3417 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3418 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3419 (IPV6_PMTUDISC_INTERFACE): Likewise.
3420 (IPV6_PMTUDISC_OMIT): Likewise.
3422 2014-06-23 Andreas Schwab <schwab@suse.de>
3424 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3425 Remove unused errout label.
3427 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3429 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3430 macro: hardware supports Vector Crypto instructions.
3432 2014-06-23 Will Newton <will.newton@linaro.org>
3434 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3435 rather than __builtin_expect.
3437 * elf/dl-lookup.c (undefined_msg): Remove variable.
3438 (_dl_lookup_symbol_x): Replace undefined_msg with string
3441 * elf/dl-lookup.c (do_lookup_unique): New function.
3442 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3443 to a separate function.
3445 2014-06-23 Andreas Schwab <schwab@suse.de>
3448 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3449 before reading the next line.
3451 2014-06-23 Will Newton <will.newton@linaro.org>
3453 * test-skeleton.c (signal_handler): Use printf and %m
3454 rather than perror. Use printf rather than fprintf to
3455 stderr. Use puts rather than fputs to stderr.
3458 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3460 * nscd/nscd.c (thread_info_t): Remove typedef.
3461 (thread_info): Remove variable.
3463 2014-06-21 Allan McRae <allan@archlinux.org>
3465 * NEWS: Mention CVE-2014-4043.
3467 2014-06-20 Roland McGrath <roland@hack.frob.com>
3469 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3470 * nptl/smp.h: ... here.
3472 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3474 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3475 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3476 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3477 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3479 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3480 * nptl/stack-aliasing.h: New file.
3481 * sysdeps/i386/i686/stack-aliasing.h: New file.
3482 * sysdeps/i386/i686/nptl/Makefile: File removed.
3483 * sysdeps/x86_64/stack-aliasing.h: New file.
3484 * sysdeps/x86_64/nptl/Makefile
3485 (CFLAGS-pthread_create.c): Variable removed.
3487 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3488 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3490 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3491 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3494 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3496 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3497 (__ASSUME_SIGFRAME_V2): Remove macro.
3498 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3499 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3500 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3501 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3502 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3503 Declare as function. Remove conditional macro definitions.
3504 (__default_rt_sa_restorer): Likewise.
3505 (__default_sa_restorer_v1): Remove declaration.
3506 (__default_sa_restorer_v2): Likewise.
3507 (__default_rt_sa_restorer_v1): Likewise.
3508 (__default_rt_sa_restorer_v2): Likewise.
3509 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3510 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3511 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3513 2014-06-20 Roland McGrath <roland@hack.frob.com>
3515 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3516 (libpthread-routines): Add sysdep.
3517 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3518 * sysdeps/unix/sysv/linux/sparc/Versions
3519 (libpthread: GLIBC_2.3.3): New version set.
3520 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3521 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3522 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3523 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3524 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3525 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3527 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3528 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3529 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3530 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3531 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3532 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3533 * sysdeps/sparc/nptl/sem_init.c: ... here.
3534 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3535 * sysdeps/sparc/nptl/sem_post.c: ... here.
3536 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3537 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3538 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3539 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3540 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3541 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3542 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3543 (libpthread-routines): Add cpu_relax.
3544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3546 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3547 (librt: GLIBC_2.3.3): New version set.
3548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3549 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3550 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3551 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3554 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3557 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3559 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3561 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3563 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3565 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3568 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3572 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3576 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3580 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3584 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3588 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3591 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3597 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3599 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3602 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3604 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3608 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3610 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3611 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3612 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3613 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3614 * nscd/nscd.c: Likewise.
3615 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3616 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3617 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3618 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3620 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3621 <kernel-features.h>.
3622 (init_mq_netlink): Remove conditional have_sock_cloexec
3623 definitions. Remove code conditional on have_sock_cloexec < 0.
3624 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3625 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3626 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3627 <kernel-features.h>.
3628 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3629 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3631 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3633 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3634 Add tests for memset_chk and memset.
3636 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3639 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3642 * elf/tst-dl-iter-static.c: New file.
3643 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3645 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3648 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3650 * sysdeps/unix/sysv/linux/kernel-features.h
3651 (__ASSUME_F_GETOWN_EX): Remove macro.
3652 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3653 <kernel-features.h>.
3654 (miss_F_GETOWN_EX): Remove variable or macro.
3655 (do_fcntl): Do not check miss_F_GETOWN_EX.
3656 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3660 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3661 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3662 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3664 * sysdeps/unix/sysv/linux/kernel-features.h
3665 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3666 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3667 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3668 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3670 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3673 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3674 Fix calculation of the symbol's value.
3675 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3676 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3677 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3678 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3679 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3680 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3681 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3682 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3683 (modules-names): Add `tst-armtlsdescmod',
3684 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3685 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3686 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3687 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3688 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3689 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3690 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3691 ($(objpfx)tst-armtlsdescloc): New dependency.
3692 ($(objpfx)tst-armtlsdescextnow): Likewise.
3693 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3694 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3696 * sysdeps/arm/configure: Regenerate.
3698 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3700 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3701 (__atfct_seterrno_2): Likewise.
3702 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3703 <kernel-features.h>.
3704 (__ASSUME_ATFCTS): Do not undefine and redefine.
3705 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3706 (__have_atfcts): Remove conditional definition.
3707 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3708 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3709 unreachable if [__ASSUME_ATFCTS].
3710 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3711 not undefine and redefine.
3712 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3713 <kernel-features.h>.
3714 (faccessat) [__NR_faccessat]: Make code unconditional.
3715 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3716 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3717 <kernel-features.h>.
3718 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3719 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3720 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3721 <kernel-features.h>.
3722 (fchownat) [__NR_fchownat]: Make code unconditional.
3723 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3724 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3725 <kernel-features.h>.
3726 (futimesat) [__NR_futimesat]: Make code unconditional.
3727 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3728 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3729 <kernel-features.h>.
3730 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3731 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3732 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3733 <kernel-features.h>.
3734 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3735 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3736 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3737 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3738 <kernel-features.h>.
3739 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3740 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3741 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3742 <kernel-features.h>.
3743 (linkat) [__NR_linkat]: Make code unconditional.
3744 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3745 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3746 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3747 <kernel-features.h>.
3748 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3749 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3750 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3751 <kernel-features.h>.
3752 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3753 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3754 * sysdeps/unix/sysv/linux/openat.c: Do not include
3755 <kernel-features.h>.
3756 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3757 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3758 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3759 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3760 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3761 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3762 <kernel-features.h>.
3763 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3764 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3765 result of INLINE_SYSCALL directly, not via int variable.
3766 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3767 <kernel-features.h>.
3768 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3769 (renameat) [__NR_renameat]: Make code unconditional.
3770 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3771 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3772 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3773 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3774 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3775 (__ASSUME_ATFCTS): Do not undefine and redefine.
3776 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3777 <kernel-features.h>.
3778 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3779 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3780 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3781 <kernel-features.h>.
3782 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3783 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3784 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3785 (__ASSUME_ATFCTS): Do not undefine and redefine.
3786 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3787 <kernel-features.h>.
3788 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3789 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3790 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3791 <kernel-features.h>.
3792 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3793 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3795 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3797 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3799 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3802 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3803 constructed tree before returning error.
3804 * posix/bug-regexp36.c: Expand test case.
3806 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3809 * math/libm-test.inc (scalbln_test_date):
3810 Add errno expectations.
3811 * math/w_scalblnf.c: New File.
3812 Add wrapper which checks for setting errno to ERANGE.
3813 Add weak_alias for corresponding scalbln function.
3814 * math/w_scalbln.c: Likewise.
3815 * math/w_scalblnl.c: Likewise.
3816 * math/Makefile (libm-calls): Add w_scalbln.
3817 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3818 Remove weak_alias for corresponding scalbln function.
3819 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3821 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3823 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3824 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3825 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3826 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3827 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3828 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3829 Remove long_double_symbol for scalblnl function in libm, libc.
3830 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3831 Add wrapper which checks for setting errno to ERANGE.
3832 Add long_double_symbol for scalblnl function in libm, libc.
3833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3834 Remove long_double_symbol for scalblnl in libm.
3835 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3836 Add wrapper which checks for setting errno to ERANGE.
3837 Add long_double_symbol for scalblnl function in libm.
3838 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3839 Do not use wrapper because of own implementation.
3841 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3843 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3844 3 bytes for __pad1 for x32.
3845 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3847 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3848 H.J. Lu <hongjiu.lu@intel.com>
3850 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3851 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3852 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3853 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3854 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3856 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3859 * posix/regcomp.c (parse_expression): Deallocate partially
3860 constructed tree before returning error.
3861 * posix/Makefile.c (tests): Add bug-regex36.
3862 (generated): Add bug-regex36.mtrace.
3863 (tests-special): Add $(objpfx)bug-regex36-mem.out
3864 (bug-regex36-ENV): New variable.
3865 ($(objpfx)bug-regex36-mem.out): New rule.
3866 * posix/bug-regex36.c: New file.
3868 2014-06-19 Will Newton <will.newton@linaro.org>
3870 * malloc/malloc.c (systrim): If extra is zero then return
3873 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3875 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3877 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3879 * sysdeps/aarch64/strchr.S: New file.
3881 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3884 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3885 from arguments -2 or below.
3886 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3887 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3889 2014-06-18 Andreas Schwab <schwab@suse.de>
3892 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3893 of a bracket expr not to run off the end of the string.
3894 * posix/Makefile (tests): Add tst-fnmatch3.
3895 * posix/tst-fnmatch3.c: New file.
3897 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3899 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3900 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3901 [$(cross-compiling) = no]: Likewise.
3902 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3903 [$(cross-compiling) = no]: Likewise.
3905 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3908 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3909 double, adjusted for any remainder from the high double.
3910 * math/libm-test.inc (nearbyint): Add tests.
3913 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3915 * nptl/sysdeps/powerpc/Makefile: Moved ...
3916 * sysdeps/powerpc/nptl/Makefile: ... here.
3917 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3918 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3919 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3920 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3921 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3922 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3923 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3924 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3925 * nptl/sysdeps/powerpc/tls.h: Moved ...
3926 * sysdeps/powerpc/nptl/tls.h: ... here.
3928 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3931 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3932 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3933 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3934 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3935 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3936 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3937 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3938 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3939 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3941 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3943 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3945 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3947 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3950 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3953 2014-06-16 Florian Weimer <fweimer@redhat.com>
3956 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3957 non-executed part of the test.
3959 2014-06-16 Andreas Schwab <schwab@suse.de>
3961 * string/bits/string2.h (strdup, strndup): Update feature guard.
3963 2014-06-14 David S. Miller <davem@davemloft.net>
3965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3967 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3969 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3970 that was previously under [RESET_PID].
3971 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3973 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3974 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3975 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3976 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3977 (__libc_vfork): New strong alias.
3978 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3980 2014-06-14 Andi Kleen <ak@linux.intel.com>
3982 * sysdeps/generic/elide.h: New file.
3984 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3986 * Makefile (installed-headers): Adjust path of pthread.h header.
3988 2014-06-13 Roland McGrath <roland@hack.frob.com>
3990 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3991 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3992 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3993 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3995 * nptl/sysdeps/s390/Makefile: Moved ...
3996 * sysdeps/s390/nptl/Makefile: ... here.
3997 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3998 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3999 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4000 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4001 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4002 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4003 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4004 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4005 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4006 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4007 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4008 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4009 * nptl/sysdeps/s390/tls.h: Moved ...
4010 * sysdeps/s390/nptl/tls.h: ... here.
4012 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4013 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4015 2014-06-13 David S. Miller <davem@davemloft.net>
4017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4020 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4024 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4025 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4026 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4027 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4028 Remove RESET_PID cpp guards.
4029 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4030 Remove RESET_PID cpp guards.
4031 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4033 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4035 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4038 2014-06-13 Andi Kleen <ak@linux.intel.com>
4040 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4041 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4042 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4043 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4044 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4045 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4046 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4047 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4048 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4049 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4050 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4051 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4052 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4053 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4054 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4055 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4056 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4057 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4058 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4059 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4061 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4062 (pthread_rwlock_rdlock): Add elision.
4063 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4064 (pthread_rwlock_wrlock): Add elision.
4065 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4066 (pthread_rwlock_trywrlock): Add elision.
4067 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4068 (pthread_rwlock_tryrdlock): Add elision.
4069 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4070 (pthread_rwlock_tryrdlock): Add elision unlock.
4071 * nptl/sysdeps/pthread/pthread.h:
4072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4073 (PTHREAD_RWLOCK_INITIALIZER,
4074 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4075 Handle new elision field.
4076 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4077 * sysdeps/arm/nptl/bits/pthreadtypes.h
4078 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4079 * sysdeps/sh/nptl/bits/pthreadtypes.h
4080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4081 * sysdeps/tile/nptl/bits/pthreadtypes.h
4082 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4083 * sysdeps/a/nptl/bits/pthreadtypes.h
4084 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4085 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4086 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4087 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4088 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4089 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4091 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4092 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4093 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4094 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4095 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4097 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4099 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4101 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4102 (elision_init): Set try_xbegin to zero when no RTM.
4103 * sysdeps/x86/nptl/bits/pthreadtypes.h
4104 (pthread_rwlock_t): Change __pad1 to __rwelision.
4105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4107 2014-06-13 Andi Kleen <ak@linux.intel.com>
4109 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4110 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4111 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4112 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4114 2014-06-13 Meador Inge <meadori@codesourcery.com>
4117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4118 that the cached result has been set before returning it.
4120 2014-06-12 Roland McGrath <roland@hack.frob.com>
4122 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4123 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4124 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4125 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4126 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4127 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4129 * nptl/sysdeps/sparc/Makefile: Moved ...
4130 * sysdeps/sparc/nptl/Makefile: ... here.
4131 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4132 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4133 * nptl/sysdeps/sparc/tls.h: Moved ...
4134 * sysdeps/sparc/nptl/tls.h: ... here.
4135 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4136 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4137 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4138 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4139 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4140 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4141 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4142 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4143 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4144 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4145 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4146 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4147 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4148 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4149 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4150 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4151 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4152 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4154 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4157 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4158 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4160 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4164 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4166 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4167 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4169 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4170 (struct list_links): Type removed.
4171 (struct thread_node, struct timer_node): Replace struct list_links
4172 with struct list_head.
4173 (list_unlink_ip): Likewise.
4174 * sysdeps/pthread/timer_routines.c
4175 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4176 (list_append, list_insbefore): Likewise.
4177 (list_init): Function removed.
4178 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4179 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4180 * sysdeps/pthread/Makefile: ... here, new file.
4182 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4183 * sysdeps/nptl/Implies: ... here.
4184 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4185 * nptl/sysdeps/pthread/list.h: Moved ...
4186 * include/list.h: ... here.
4187 * nptl/sysdeps/pthread/createthread.c: Moved ...
4188 * nptl/createthread.c: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4190 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4191 * nptl/pt-longjmp.c: ... here.
4192 * nptl/sysdeps/pthread/Makefile: Moved ...
4193 * sysdeps/nptl/Makefile: ... here.
4194 * nptl/sysdeps/pthread/Subdirs: Moved ...
4195 * sysdeps/nptl/Subdirs: ... here.
4196 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4197 * sysdeps/nptl/aio_misc.h: ... here.
4198 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4199 * sysdeps/nptl/bits/libc-lock.h: ... here.
4200 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4201 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4202 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4203 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4204 * nptl/sysdeps/pthread/configure: Moved ...
4205 * sysdeps/nptl/configure: ... here.
4206 * nptl/sysdeps/pthread/configure.ac: Moved ...
4207 * sysdeps/nptl/configure.ac: ... here.
4208 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4209 * sysdeps/nptl/gai_misc.h: ... here.
4210 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4211 * sysdeps/nptl/librt-cancellation.c: ... here.
4212 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4213 * sysdeps/nptl/malloc-machine.h: ... here.
4214 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4215 * sysdeps/nptl/pthread-functions.h: ... here.
4216 * nptl/sysdeps/pthread/pthread.h: Moved ...
4217 * sysdeps/nptl/pthread.h: ... here.
4218 * nptl/sysdeps/pthread/setxid.h: Moved ...
4219 * sysdeps/nptl/setxid.h: ... here.
4220 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4221 * sysdeps/nptl/sigfillset.c: ... here.
4222 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4223 * sysdeps/nptl/tcb-offsets.h: ... here.
4224 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4225 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4226 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4227 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4228 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4229 * sysdeps/pthread/allocalim.h: ... here.
4230 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4231 * sysdeps/pthread/bits/sigthread.h: ... here.
4232 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4233 * sysdeps/pthread/flockfile.c: ... here.
4234 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4235 * sysdeps/pthread/ftrylockfile.c: ... here.
4236 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4237 * sysdeps/pthread/funlockfile.c: ... here.
4238 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4239 * sysdeps/pthread/posix-timer.h: ... here.
4240 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4241 * sysdeps/pthread/timer_create.c: ... here.
4242 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4243 * sysdeps/pthread/timer_delete.c: ... here.
4244 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4245 * sysdeps/pthread/timer_getoverr.c: ... here.
4246 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4247 * sysdeps/pthread/timer_gettime.c: ... here.
4248 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4249 * sysdeps/pthread/timer_routines.c: ... here.
4250 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4251 * sysdeps/pthread/timer_settime.c: ... here.
4252 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4253 * sysdeps/pthread/tst-timer.c: ... here.
4254 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4255 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4257 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4258 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4260 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4261 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4262 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4263 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4264 Update #include target.
4265 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4266 * sysdeps/i386/i686/nptl/Makefile: ... here.
4267 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4268 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4269 Update #include target.
4270 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4271 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4272 * nptl/sysdeps/i386/Makefile: Moved ...
4273 * sysdeps/i386/nptl/Makefile: ... here.
4274 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4275 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4276 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4277 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4278 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4279 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4280 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4281 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4282 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4283 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4284 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4285 * nptl/sysdeps/i386/tls.h: Moved ...
4286 * sysdeps/i386/nptl/tls.h: ... here.
4288 * sysdeps/sh/Makefile [$(subdir) = csu]
4289 (gen-as-const-headers): Add tcb-offsets.sym.
4290 * nptl/sysdeps/sh/Makefile: File removed.
4291 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4292 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4293 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4294 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4295 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4296 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4297 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4298 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4299 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4300 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4301 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4302 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4303 * nptl/sysdeps/sh/tls.h: Moved ...
4304 * sysdeps/sh/nptl/tls.h: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4306 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4307 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4308 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4310 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4312 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4314 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4316 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4318 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4319 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4320 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4321 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4322 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4323 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4324 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4325 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4326 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4327 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4328 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4329 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4331 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4334 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4336 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4338 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4339 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4340 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4342 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4343 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4344 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4345 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4346 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4347 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4348 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4349 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4350 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4351 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4352 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4354 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4356 * posix/spawn_faction_addopen.c: Include string.h.
4358 2014-06-11 Roland McGrath <roland@hack.frob.com>
4360 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4361 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4362 * nptl/sysdeps/x86_64/Makefile: Moved ...
4363 * sysdeps/x86_64/nptl/Makefile: ... here.
4364 * nptl/sysdeps/x86_64/configure: Moved ...
4365 * sysdeps/x86_64/nptl/configure: ... here.
4366 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4367 * sysdeps/x86_64/nptl/configure.ac: ... here.
4368 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4369 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4370 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4371 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4372 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4373 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4374 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4375 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4376 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4377 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4378 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4379 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4380 * nptl/sysdeps/x86_64/tls.h: Moved ...
4381 * sysdeps/x86_64/nptl/tls.h: ... here.
4382 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4383 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4384 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4385 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4387 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4389 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4393 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4395 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4397 [POSIX] (off_t): Likewise.
4398 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4399 [POSIX] (S_ISBLK): Require macro.
4400 [POSIX] (S_ISCHR): Likewise.
4401 [POSIX] (S_ISDIR): Likewise.
4402 [POSIX] (S_ISFIFO): Likewise.
4403 [POSIX] (S_ISREG): Likewise.
4404 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4406 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4408 [POSIX] (time_t): Likewise.
4409 [POSIX] (timer_t): Likewise.
4411 2014-06-11 Florian Weimer <fweimer@redhat.com>
4414 * posix/spawn_int.h (struct __spawn_action): Make the path string
4415 non-const to support deallocation.
4416 * posix/spawn_faction_addopen.c
4417 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4418 * posix/spawn_faction_destroy.c
4419 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4420 path in all spawn_do_open actions.
4421 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4422 posix_spawn_file_actions_addopen.
4424 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4426 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4427 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4428 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4429 conditional code always true.
4430 (__libc_vfork): New alias.
4432 2014-06-11 Roland McGrath <roland@hack.frob.com>
4434 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4435 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4437 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4439 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4440 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4442 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4443 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4445 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4446 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4448 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4450 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4451 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4452 multiarch strcmp for PPC64.
4453 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4454 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4456 multiarch optimizations.
4457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4458 (__libc_ifunc_impl_list): Likewise.
4460 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4462 * benchtests/scripts/validate_benchout.py: New script.
4463 * benchtests/Makefile (bench-func): Call it.
4464 * benchtests/scripts/benchout.schema.json: New file.
4466 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4468 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4469 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4470 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4471 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4472 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4473 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4474 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4475 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4476 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4477 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4478 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4479 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4480 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4481 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4482 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4483 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4588 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4589 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4590 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4591 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4593 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4596 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4597 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4598 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4599 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4600 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4602 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4604 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4606 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4607 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4609 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4612 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4614 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4617 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4621 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4622 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4623 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4625 2014-06-10 Wilco <wdijkstr@arm.com>
4627 * math/test-fenv-return.c: New file.
4628 * math/Makefile: Add new test test-fenv-return.
4630 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4633 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4635 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4636 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4637 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4638 0.0L for an argument of 1.0L.
4639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4641 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4642 value when x - 1 is zero.
4643 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4644 * sysdeps/i386/fpu/libm-test-ulps: Update.
4645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4647 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4650 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4652 2014-06-09 Roland McGrath <roland@hack.frob.com>
4654 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4655 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4657 2014-06-09 Roland McGrath <roland@hack.frob.com>
4659 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4660 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4662 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4663 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4665 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4666 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4668 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4669 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4671 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4672 if not already defined.
4673 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4674 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4675 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4676 (TLS_INIT_TP): Use it.
4677 (TLS_DEFINE_INIT_TP): New macro.
4678 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4680 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4682 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4684 [POSIX] (IXANY): Likewise.
4685 [POSIX] (OLCUC): Likewise.
4686 [POSIX || POSIX2008] (CBAUD): Do not allow.
4687 [POSIX || POSIX2008] (DEFECHO): Likewise.
4688 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4689 [POSIX || POSIX2008] (ECHOKE): Likewise.
4690 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4691 [POSIX || POSIX2008] (EXTA): Likewise.
4692 [POSIX || POSIX2008] (EXTB): Likewise.
4693 [POSIX || POSIX2008] (FLUSHO): Likewise.
4694 [POSIX || POSIX2008] (LOBLK): Likewise.
4695 [POSIX || POSIX2008] (PENDIN): Likewise.
4696 [POSIX || POSIX2008] (SWTCH): Likewise.
4697 [POSIX || POSIX2008] (VDISCARD): Likewise.
4698 [POSIX || POSIX2008] (VDSUSP): Likewise.
4699 [POSIX || POSIX2008] (VLNEXT): Likewise.
4700 [POSIX || POSIX2008] (VREPRINT): Likewise.
4701 [POSIX || POSIX2008] (VSTATUS): Likewise.
4702 [POSIX || POSIX2008] (VWERASE): Likewise.
4703 (B*): Change to B[0123456789]*.
4704 * conform/data/time.h-data [POSIX || UNIX98]
4705 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4706 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4707 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4708 [POSIX] (tm_*): Do not allow.
4710 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4712 * Makefile (install): Don't set LANGUAGE.
4713 * Makefile.in (install): Likewise.
4714 * assert/Makefile (test-assert-ENV): Remove variable.
4715 (test-assert-perr-ENV): Likewise.
4716 * elf/Makefile (neededtest4-ENV): Likewise.
4717 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4718 [$(cross-compiling) = no]: Don't set LANGUAGE.
4719 * io/ftwtest-sh (LANG): Remove variable.
4720 * libio/Makefile (tst-widetext-ENV): Likewise.
4721 * manual/install.texi (Running make install): Don't refer to
4722 environment settings for make install.
4723 * INSTALL: Regenerated.
4724 * nptl/tst-tls6.sh: Don't set LANG.
4725 * posix/globtest.sh (LANG): Remove variable.
4726 * string/Makefile (tester-ENV): Likewise.
4727 (inl-tester-ENV): Likewise.
4728 (noinl-tester-ENV): Likewise.
4729 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4730 [$(cross-compiling) = no]: Don't set LANGUAGE.
4731 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4732 without explicit environment settings.
4734 2014-06-06 Roland McGrath <roland@hack.frob.com>
4736 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4737 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4739 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4741 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4743 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4744 other files in the crypt directory.
4745 * crypt/crypt.c: Remove duplicate includes.
4746 * crypt/crypt-entry.c: Likewise.
4747 * crypt/crypt_util.c: Likewise.
4749 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4751 * Makeconfig (run-program-env): New variable.
4752 (run-program-prefix-before-env): Likewise.
4753 (run-program-prefix-after-env): Likewise.
4754 (run-program-prefix): Define in terms of new variables.
4755 (built-program-cmd-before-env): New variable.
4756 (built-program-cmd-after-env): Likewise.
4757 (built-program-cmd): Define in terms of new variables.
4758 (test-program-prefix-before-env): New variable.
4759 (test-program-prefix-after-env): Likewise.
4760 (test-program-prefix): Define in terms of new variables.
4761 (test-program-cmd-before-env): New variable.
4762 (test-program-cmd-after-env): Likewise.
4763 (test-program-cmd): Define in terms of new variables.
4764 * Rules (make-test-out): Use $(run-program-env).
4765 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4766 (help): Do not mention environment variables. Mention
4767 --timeoutfactor option.
4768 (timeoutfactor): New variable.
4769 (blacklist_exports): Remove function.
4770 (exports): Remove variable.
4771 (command): Do not include ${exports}.
4772 * manual/install.texi (Configuring and compiling): Do not mention
4773 test wrappers preserving environment variables. Mention that last
4774 assignment to a variable must take precedence.
4775 * INSTALL: Regenerated.
4776 * benchtests/Makefile (run-bench): Use $(run-program-env).
4777 * catgets/Makefile ($(objpfx)test1.cat): Use
4778 $(built-program-cmd-before-env), $(run-program-env) and
4779 $(built-program-cmd-after-env).
4780 ($(objpfx)test2.cat): Do not specify environment variables
4782 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4783 $(run-program-env) and $(built-program-cmd-after-env).
4784 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4785 $(run-program-env) and $(test-program-cmd-after-env).
4786 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4788 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4789 run_program_env and test_program_cmd_after_env arguments.
4790 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4791 * elf/tst-pathopt.sh: Use run_program_env argument.
4792 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4793 $(test-wrapper-env) and $(run-program-env).
4794 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4795 run_program_env arguments.
4796 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4797 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4798 $(test-program-prefix-before-env), $(run-program-env) and
4799 $(test-program-prefix-after-env).
4800 ($(objpfx)tst-gettext2.out): Likewise.
4801 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4802 run_program_env and test_program_prefix_after_env arguments.
4803 * intl/tst-gettext2.sh: Likewise.
4804 * intl/tst-gettext4.sh: Do not set environment variables
4806 * intl/tst-gettext6.sh: Likewise.
4807 * intl/tst-translit.sh: Likewise.
4808 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4809 $(test-program-prefix-before-env), $(run-program-env) and
4810 $(test-program-prefix-after-env).
4811 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4812 run_program_env and test_program_prefix_after_env arguments.
4813 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4814 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4815 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4816 explicitly with each use of ${test_wrapper_env}.
4817 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4818 $(test-program-prefix-before-env), $(run-program-env) and
4819 $(test-program-prefix-after-env).
4820 * posix/tst-getconf.sh: Do not set environment variables
4822 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4823 run_program_env and test_program_prefix_after_env arguments.
4824 * stdio-common/tst-printf.sh: Do not set environment variables
4826 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4827 $(test-program-prefix-before-env), $(run-program-env) and
4828 $(test-program-prefix-after-env).
4829 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4830 run_program_env and test_program_prefix_after_env arguments.
4831 Split $test calls into $test_pre and $test.
4832 * timezone/Makefile (build-testdata): Use
4833 $(built-program-cmd-before-env), $(run-program-env) and
4834 $(built-program-cmd-after-env).
4836 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4838 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4839 strlen for non SHARED builds.
4841 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4843 * nptl/allocatestack.c (check_list): Inlined function...
4844 (__reclaim_stacks): ... here.
4846 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4849 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4852 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4854 * Rules (make-test-out): Include
4855 LOCPATH=$(common-objpfx)localedata in default environment.
4856 * debug/Makefile (tst-chk1-ENV): Remove variable.
4857 (tst-chk2-ENV): Likewise.
4858 (tst-chk3-ENV): Likewise.
4859 (tst-chk4-ENV): Likewise.
4860 (tst-chk5-ENV): Likewise.
4861 (tst-chk6-ENV): Likewise.
4862 (tst-lfschk1-ENV): Likewise.
4863 (tst-lfschk2-ENV): Likewise.
4864 (tst-lfschk3-ENV): Likewise.
4865 (tst-lfschk4-ENV): Likewise.
4866 (tst-lfschk5-ENV): Likewise.
4867 (tst-lfschk6-ENV): Likewise.
4868 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4869 (tst-iconv7-ENV): Likewise.
4870 * intl/Makefile (LOCPATH-ENV): Likewise.
4871 (tst-codeset-ENV): Likewise.
4872 (tst-gettext3-ENV): Likewise.
4873 (tst-gettext5-ENV): Likewise.
4874 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4875 (tst-fopenloc-ENV): Likewise.
4876 (tst-fgetws-ENV): Remove variable.
4877 (tst-ungetwc1-ENV): Likewise.
4878 (tst-ungetwc2-ENV): Likewise.
4879 (bug-ungetwc2-ENV): Likewise.
4880 (tst-swscanf-ENV): Likewise.
4881 (bug-ftell-ENV): Likewise.
4882 (tst-fgetwc-ENV): Likewise.
4883 (tst-fseek-ENV): Likewise.
4884 (tst-ftell-partial-wide-ENV): Likewise.
4885 (tst-ftell-active-handler-ENV): Likewise.
4886 (tst-ftell-append-ENV): Likewise.
4887 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4888 (tst-regexloc-ENV): Likewise.
4889 (bug-regex1-ENV): Likewise.
4890 (tst-regex-ENV): Likewise.
4891 (tst-regex2-ENV): Likewise.
4892 (bug-regex5-ENV): Likewise.
4893 (bug-regex6-ENV): Likewise.
4894 (bug-regex17-ENV): Likewise.
4895 (bug-regex18-ENV): Likewise.
4896 (bug-regex19-ENV): Likewise.
4897 (bug-regex20-ENV): Likewise.
4898 (bug-regex22-ENV): Likewise.
4899 (bug-regex23-ENV): Likewise.
4900 (bug-regex25-ENV): Likewise.
4901 (bug-regex26-ENV): Likewise.
4902 (bug-regex30-ENV): Likewise.
4903 (bug-regex32-ENV): Likewise.
4904 (bug-regex33-ENV): Likewise.
4905 (bug-regex34-ENV): Likewise.
4906 (bug-regex35-ENV): Likewise.
4907 (tst-rxspencer-ENV): Likewise.
4908 (tst-rxspencer-no-utf8-ENV): Likewise.
4909 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4910 (tst-sscanf-ENV): Likewise.
4911 (tst-swprintf-ENV): Likewise.
4912 (tst-swscanf-ENV): Likewise.
4913 (test-vfprintf-ENV): Likewise.
4914 (scanf13-ENV): Likewise.
4915 (bug14-ENV): Likewise.
4916 (tst-grouping-ENV): Likewise.
4917 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4918 (tst-strtod3-ENV): Likewise.
4919 (tst-strtod4-ENV): Likewise.
4920 (tst-strtod5-ENV): Likewise.
4921 (testmb2-ENV): Likewise./
4922 * string/Makefile (tst-strxfrm-ENV): Likewise.
4923 (tst-strxfrm2-ENV): Likewise.
4924 (bug-strcoll1-ENV): Likewise.
4925 (test-strcasecmp-ENV): Likewise.
4926 (test-strncasecmp-ENV): Likewise.
4927 * time/Makefile (tst-strptime-ENV): Likewise.
4928 (tst-ftime_l-ENV): Likewise.
4929 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4930 (tst-mbrtowc-ENV): Likewise.
4931 (tst-wcrtomb-ENV): Likewise.
4932 (tst-mbrtowc2-ENV): Likewise.
4933 (tst-c16c32-1-ENV): Likewise.
4934 (tst-mbsnrtowcs-ENV): Likewise.
4936 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4938 * manual/resource.texi (How to get information about the memory
4939 subsystem?): Fix typo.
4940 Reported by Peon de la Parra Ivan <peon@keba.com>
4942 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4945 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4946 (pthread_spin_lock): Branch out of spin loop to proper location.
4947 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4948 (pthread_spin_lock): Likewise.
4950 * nptl/tst-spin4.c: New test.
4951 * nptl/Makefile (tests): Add tst-spin4.
4953 2014-06-03 Andreas Schwab <schwab@suse.de>
4956 * resolv/res_send.c (send_dg): Reload file descriptor after
4959 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4961 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4963 2014-06-03 Richard Henderson <rth@redhat.com>
4965 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4966 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4967 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4968 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4969 in the SAVE_PID block.
4970 (__libc_vfork): New alias.
4971 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4973 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4974 child in registers, not on the stack. Remove RESET_PID conditionals.
4975 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4977 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4979 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4981 2014-06-03 Wilco <wdijkstr@arm.com>
4983 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4984 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4985 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4986 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4987 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4990 2014-06-03 Wilco <wdijkstr@arm.com>
4992 * sysdeps/aarch64/fpu/math_private.h
4993 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4994 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4995 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4996 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4999 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5001 * crypt/crypt-private.h: Include ufc-crypt.h.
5002 (__b64_from_24bit): Declare extern.
5003 * crypt/crypt_util.c(__b64_from_24bit): New function.
5004 (b64t): New static const variable.
5005 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5006 (b64t): Remove variable.
5007 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5008 * crypt/sha256-crypt.c: Include crypt-private.h.
5009 (b64t): Remove variable.
5010 (__sha256_crypt_r): Remove b64_from_24bit and replace
5011 with __b64_from_24bit.
5012 * crypt/sha512-crypt.c: Likewise.
5014 2014-06-02 Roland McGrath <roland@hack.frob.com>
5016 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5017 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5018 Label the code __libc_vfork rather than __vfork.
5019 [!NOT_IN_libc] (vfork): Define as weak alias.
5020 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5021 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5022 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5024 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5026 * malloc/malloc.c (malloc_info): Fix format specifier for
5029 2014-06-02 Wilco <wdijkstr@arm.com>
5031 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5034 2014-06-02 Wilco <wdijkstr@arm.com>
5037 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5038 Rewrite to reduce FPCR/FPSR accesses.
5040 2014-06-01 David S. Miller <davem@davemloft.net>
5042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5044 2014-05-31 David S. Miller <davem@davemloft.net>
5046 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5047 to occur in round to nearest mode when |x| >= 2.0
5049 2014-05-30 Richard Henderson <rth@twiddle.net>
5051 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5052 (PSEUDO_RET_NOERRNO): Remove.
5053 (ret): Don't redefine.
5054 (ret_NOERRNO): Define in terms of ret.
5055 (ret_ERRVAL): Likewise.
5057 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5058 use of PSEUDO_RET; perform the error check directly.
5060 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5062 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5065 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5067 * malloc/malloc (malloc_info): Fix formatting.
5069 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5070 Roland McGrath <roland@hack.frob.com>
5072 * malloc/malloc (malloc_info): Also print mmapped statistics.
5074 2014-05-30 Roland McGrath <roland@hack.frob.com>
5076 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5077 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5079 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5081 * malloc/malloc.c (malloc_info): Inline mi_arena.
5083 2014-05-29 Richard Henderson <rth@twiddle.net>
5085 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5086 Remove comma before expanding ASM_ARGS_##nr.
5087 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5088 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5090 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5091 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5092 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5093 (ASM_ARGS_1): Add leading comma.
5095 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5096 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5097 to __errno_location.
5098 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5099 Remove the expected plt for __errno_location.
5101 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5102 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5105 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5106 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5107 it and break it down.
5108 (DOCARGS_0, DOCARGS_1): Do nothing.
5109 (DOCARGS_2): Update to store into the new stack frame.
5110 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5111 (UNDOCARGS_1): Update to restore from the new stack frame.
5112 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5113 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5115 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5116 (SINGLE_THREAD_P): New parameter for result regno.
5117 (PSEUDO): Update to match; use cbz instead of beq.
5119 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5120 Use ENTRY to define the _nocancel entry point. Share the syscall
5121 and syscall error check paths with the cancel path.
5124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5125 whitespace; tabs before and after asm mnemonics.
5127 2014-05-29 Eric Wong <normalperson@yhbt.net>
5130 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5131 Call fstat64 or stat64 internally, depending on arguments passed.
5132 Replace stat buffer argument with file descriptor argument.
5133 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5134 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5135 Pass fd to __internal_statvfs instead of calling fstat64.
5136 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5137 Pass fd to __internal_statvfs64 instead of calling fstat64.
5138 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5139 Pass -1 to __internal_statvfs instead of calling stat64.
5140 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5141 Pass -1 to __internal_statvfs64 instead of calling stat64.
5143 2014-05-28 Roland McGrath <roland@hack.frob.com>
5145 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5146 that was previously under [RESET_PID].
5147 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5149 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5150 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5152 2014-05-27 Roland McGrath <roland@hack.frob.com>
5154 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5156 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5157 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5159 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5161 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5163 2014-05-27 Andreas Schwab <schwab@suse.de>
5165 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5167 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5168 * elf/rtld.c (init_tls, dl_main): Likewise.
5169 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5170 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5171 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5172 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5173 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5174 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5175 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5176 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5177 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5178 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5179 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5180 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5181 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5182 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5183 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5184 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5185 * sysdeps/generic/tls.h: Update description.
5187 2014-05-27 Will Newton <will.newton@linaro.org>
5190 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5191 and restore r2 rather than just restoring.
5193 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5196 * libio/tst-ftell-append.c: New test case.
5197 * libio/Makefile (tests): Add test case.
5198 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5200 * libio/wfileops.c (do_ftell_wide): Likewise.
5202 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5206 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5210 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5211 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5213 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5214 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5215 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5222 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5223 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5224 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5225 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5226 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5228 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5229 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5231 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5233 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5235 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5236 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5237 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5239 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5240 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5242 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5247 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5265 conditional [RESET_PID].
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5274 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5275 (__libc_vfork): New strong alias.
5276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5283 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5284 (__libc_vfork): New strong alias.
5285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5290 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5292 * malloc/malloc.c (mi_arena): New function.
5293 (malloc_info): Remove nested function mi_arena. Call non-nosted
5296 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5298 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5300 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5301 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5302 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5303 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5304 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5305 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5306 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5308 2014-05-26 Andreas Schwab <schwab@suse.de>
5311 * locale/programs/repertoire.c (repertoire_read): Add slash
5312 between I18NPATH element and file name.
5313 * locale/programs/locfile.c (locfile_read): Likewise.
5315 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5317 * nptl/pthread_mutexattr_settype.c
5318 (__pthread_mutexattr_settype):
5319 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5321 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5323 * nptl/tst-mutex5 (do_test):
5324 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5326 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5328 * benchtests/README: Document 'init' directive.
5329 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5331 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5332 (parse_file): Recognize 'init' directive.
5334 2014-05-26 Kyle McMartin <kyle@redhat.com>
5337 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5338 alignment of struct pthread.
5340 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5343 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5344 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5345 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5346 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5348 2014-05-25 Richard Henderson <rth@twiddle.net>
5350 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5351 (SINGLE_THREAD_P_PIC): Remove.
5352 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5353 (SINGLE_THREAD_P_PIC): Remove.
5355 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5356 branch to syscall error ...
5358 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5359 from __local_syscall_error to .Lsyscall_error.
5360 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5361 (SYSCALL_ERROR): Update label name.
5363 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5364 Do not use DOARGS/UNDOARGS.
5365 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5366 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5367 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5368 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5369 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5374 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5375 define if !NOT_IN_libc.
5376 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5377 define with non-default symbol versions.
5379 2014-05-23 Richard Henderson <rth@twiddle.net>
5381 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5382 (vfork, __vfork): Define via compat_symbol.
5384 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5385 [!HAVE_IFUNC] (vfork_compat): Remove.
5386 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5388 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5391 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5392 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5395 2014-05-23 Richard Henderson <rth@twiddle.net>
5397 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5398 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5399 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5400 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5402 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5403 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5404 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5405 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5406 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5407 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5408 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5409 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5410 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5411 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5412 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5413 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5414 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5415 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5419 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5421 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5422 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5423 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5424 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5425 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5427 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5428 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5429 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5430 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5431 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5432 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5433 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5434 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5435 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5436 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5437 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5438 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5439 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5441 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5442 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5443 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5444 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5445 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5446 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5447 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5448 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5449 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5450 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5451 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5452 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5453 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5455 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5457 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5459 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5460 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5461 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5462 before exiting on error.
5463 (__libc_vfork): New strong alias.
5464 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5465 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5467 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5468 that was previously under [RESET_PID].
5469 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5471 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5473 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5476 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5477 value when x - 1 is zero.
5478 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5479 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5480 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5481 0.0L for an argument of 1.0L.
5482 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5484 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5485 value when x - 1 is zero.
5486 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5487 * sysdeps/i386/fpu/libm-test-ulps: Update.
5488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5490 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5492 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5493 alphasort and versionsort.
5495 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5497 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5499 [copysignf]: Likewise.
5501 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5503 * crypt/md5-crypt.c: Fix formatting.
5505 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5507 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5508 (b64_from_24bit): New function.
5510 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5512 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5513 libc_hidden_builtin_def to ifunc.
5514 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5515 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5517 2014-05-21 Roland McGrath <roland@hack.frob.com>
5519 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5520 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5522 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5524 * nscd/Depend (linuxthreads): Remove.
5526 * resolv/Depend (linuxthreads): Remove.
5527 * rt/Depend (linuxthreads): Remove.
5529 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5530 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5531 $(common-objpfx)elf/.
5532 (link-libc-before-gnulib): Likewise.
5533 (elfobjdir): Remove variable.
5534 * Makefile (install): Use $(elf-objpfx) instead of
5535 $(common-objpfx)elf/.
5536 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5538 (link-libc-deps): Likewise.
5539 ($(common-objpfx)libc.so): Likewise.
5540 ($(common-objpfx)linkobj/libc.so): Likewise.
5541 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5542 instead of $(common-objpfx)elf/.
5543 (symbolic-link-list): Likewise.
5544 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5545 [$(cross-compiling) = no]: Likewise.
5546 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5548 (static-gnulib-arch): Likewise.
5549 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5550 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5551 $(common-objpfx)elf/.
5553 2014-05-21 Richard Henderson <rth@redhat.com>
5555 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5556 (SINGLE_THREAD_P): Use the correct width load. Fold
5557 into the ldr offset.
5559 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5560 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5562 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5564 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5565 (libgcc_s_resume): Use __attribute_used__.
5566 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5569 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5572 optimization when used with float constants.
5574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5576 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5579 * locale/nl_langinfo_l.c: Make direct reference to every
5580 _nl_current_CATEGORY symbol.
5581 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5582 (tests-static): Add tst-langinfo-static.
5583 (tests-special): Add tst-langinfo-static.out.
5584 ($(objpfx)tst-langinfo.out): Redirect output.
5585 ($(objpfx)tst-langinfo-static.out): New.
5586 * localedata/tst-langinfo.sh: Send output to stdout.
5587 * localedata/tst-langinfo-static.c: New file.
5590 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5591 when the shift amount is modulo the limb size.
5593 2014-05-20 Richard Henderson <rth@redhat.com>
5596 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5597 Change type of sa_flags from unsigned int to int.
5600 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5602 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5604 2014-05-20 Will Newton <will.newton@linaro.org>
5606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5607 Test the return value of the system call in the nocancel case.
5609 2014-05-20 Will Newton <will.newton@linaro.org>
5610 Yvan Roux <yvan.roux@linaro.org>
5612 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5613 #include of asm/ptrace.h.
5614 (PTRACE_GET_THREAD_AREA): Remove #undef.
5615 (PTRACE_GETHBPREGS): Likewise.
5616 (PTRACE_SETHBPREGS): Likewise.
5617 (struct user_regs_struct): New structure.
5618 (struct user_fpsimd_struct): New structure.
5619 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5620 #include of asm/ptrace.h and second #include of sys/user.h.
5621 (PTRACE_GET_THREAD_AREA): Remove #undef.
5622 (PTRACE_GETHBPREGS): Likewise.
5623 (PTRACE_SETHBPREGS): Likewise.
5624 (ELF_NGREG): Use new struct user_regs_struct.
5625 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5627 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5632 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5635 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5636 membar to avoid block loads/stores to overlap previous stores.
5638 2014-05-17 Richard Henderson <rth@redhat.com>
5640 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5641 Create the __##syscall_name##_nocancel entry point.
5642 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5643 Remove; let the sysdep-cancel.h code create it.
5645 2014-05-17 David S. Miller <davem@davemloft.net>
5647 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5648 Protect with __USE_GNU.
5649 (TIOCSET_TEMPT): Likewise.
5650 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5651 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5652 these are already provided in bits/ioctl-types.h
5654 2014-05-16 Roland McGrath <roland@hack.frob.com>
5656 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5657 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5659 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5660 Use wait4 regardless of [__NR_waitpid].
5662 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5665 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5666 (_FP_NANSIGN_Q): Set the quiet bit.
5668 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5670 * benchtests/Makefile
5671 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5672 not $(common-objpfx)math/libm.so.
5673 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5674 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5675 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5676 $(common-objpfx)dlfcn/libdl.so.
5677 ($(objpfx)tst-audit8): Depend on $(libm), not
5678 $(common-objpfx)math/libm.so.
5679 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5680 not $(common-objpfx)dlfcn/libdl.so.
5682 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5683 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5684 [$(build-shared) = yes].
5685 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5686 $(common-objpfx)nptl/libpthread.so.
5687 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5688 $(common-objpfx)math/libm.so$(libm.so-version) or
5689 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5690 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5691 $(common-objpfx)dlfcn/libdl.so.
5692 * setjmp/Makefile (link-libm): Remove variable.
5693 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5694 * stdio-common/Makefile (link-libm): Remove variable.
5695 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5696 * stdlib/Makefile (link-libm): Remove variable.
5697 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5698 ($(objpfx)tst-strtod-round): Likewise.
5699 ($(objpfx)tst-tininess): Likewise.
5700 ($(objpfx)tst-strtod-underflow): Likewise.
5701 ($(objpfx)tst-strtod6): Likewise.
5702 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5703 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5704 $(common-objpfx)dlfcn/libdl.so.
5706 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5709 BSD terminal modes definitions.
5711 2014-05-16 Roland McGrath <roland@hack.frob.com>
5713 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5714 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5716 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5717 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5718 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5719 Don't do #include_next.
5720 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5721 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5722 Don't do #include_next.
5723 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5724 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5725 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5726 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5728 2014-05-16 Allan McRae <allan@archlinux.org>
5730 * po/sv.po: Update Swedish translation from translation project.
5732 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5735 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5738 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5739 errno if the TIOCGPTN ioctl fails with an error different than
5741 * login/tst-ptsname.c: New file.
5742 * login/Makefile (tests): Add tst-ptsname.
5745 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5748 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5752 herrno to return EAI_AGAIN.
5754 2014-05-14 Roland McGrath <roland@hack.frob.com>
5756 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5757 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5758 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5759 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5760 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5761 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5762 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5763 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5765 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5766 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5767 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5768 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5769 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5770 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5771 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5772 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5773 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5774 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5775 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5776 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5777 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5778 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5779 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5780 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5781 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5782 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5783 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5784 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5785 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5787 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5789 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5792 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5796 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5800 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5804 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5806 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5808 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5810 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5812 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5814 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5816 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5821 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5825 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5827 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5829 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5831 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5833 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5835 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5837 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5839 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5842 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5846 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5847 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5848 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5849 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5850 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5851 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5852 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5853 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5854 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5855 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5856 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5857 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5858 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5860 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5862 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5863 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5864 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5865 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5866 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5867 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5868 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5870 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5871 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5872 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5873 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5874 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5875 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5876 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5878 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5879 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5881 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5882 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5883 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5884 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5885 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5886 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5888 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5889 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5891 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5892 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5894 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5895 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5897 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5898 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5899 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5900 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5902 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5903 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5904 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5905 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5906 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5907 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5908 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5909 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5911 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5916 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5917 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5918 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5919 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5920 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5922 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5924 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5926 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5928 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5930 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5931 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5934 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5936 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5937 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5939 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5942 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5944 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5945 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5947 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5949 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5950 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5951 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5952 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5953 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5956 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5959 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5961 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5962 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5964 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5967 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5969 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5971 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5972 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5973 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5974 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5975 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5977 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5978 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5979 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5982 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5983 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5985 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5988 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5991 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5993 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5994 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5995 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5998 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5999 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6000 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6001 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6002 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6003 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6004 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6005 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6007 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6010 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6012 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6013 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6015 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6016 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6018 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6022 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6023 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6024 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6025 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6026 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6027 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6028 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6029 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6030 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6031 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6032 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6034 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6035 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6037 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6038 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6040 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6041 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6042 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6043 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6044 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6045 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6046 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6047 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6048 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6049 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6050 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6051 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6052 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6053 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6054 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6055 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6056 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6057 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6059 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6060 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6061 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6062 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6064 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6065 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6066 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6068 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6070 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6076 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6078 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6080 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6082 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6084 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6085 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6086 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6088 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6089 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6090 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6091 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6092 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6094 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6095 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6096 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6097 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6098 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6100 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6101 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6102 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6103 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6104 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6105 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6106 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6107 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6108 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6109 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6114 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6115 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6116 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6117 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6118 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6119 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6120 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6121 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6122 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6123 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6124 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6125 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6126 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6127 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6130 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6148 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6149 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6150 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6151 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6152 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6153 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6154 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6156 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6157 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6158 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6159 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6160 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6161 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6162 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6164 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6165 that was previously under [RESET_PID].
6166 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6167 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6168 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6170 * sysdeps/i386/nptl/Implies: New file.
6171 * sysdeps/x86_64/nptl/Implies: New file.
6172 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6173 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6174 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6175 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6177 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6178 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6179 (__libc_vfork): New strong alias.
6180 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6181 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6183 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6184 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6185 (__libc_vfork): New strong alias.
6186 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6187 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6189 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6190 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6191 (__libc_vfork): New strong alias.
6192 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6193 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6194 * nptl/pt-vfork.c: New file.
6195 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6196 (libpthread: GLIBC_2.20): New version set (empty).
6198 2014-05-14 Will Newton <will.newton@linaro.org>
6200 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6203 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6206 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6207 arguments with exponent 65 or above.
6208 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6209 arguments 0x1p113L or above.
6210 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6211 to arguments 0x1p107L or above.
6212 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6213 positive arguments with exponent 65 or above.
6214 * math/auto-libm-test-in: Add more tests of log1p.
6215 * math/auto-libm-test-out: Regenerated.
6218 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6219 non-finite arguments is +0.
6220 * math/s_cacosf.c (__cacosf): Likewise.
6221 * math/s_cacosl.c (__cacosl): Likewise.
6222 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6227 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6229 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6230 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6231 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6232 for explicit high bit of mantissa when testing for argument equal
6234 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6235 * sysdeps/i386/fpu/libm-test-ulps: Update.
6236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6239 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6240 (__erf): Scale by 16 instead of 8 in potentially underflowing
6241 case. Ensure exception if result actually underflows.
6242 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6243 (__erff): Scale by 16 instead of 8 in potentially underflowing
6244 case. Ensure exception if result actually underflows.
6245 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6246 (efx8): Remove variable.
6247 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6248 case. Ensure exception if result actually underflows.
6249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6250 (efx8): Remove variable.
6251 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6252 case. Ensure exception if result actually underflows.
6253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6254 (efx8): Remove variable.
6255 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6256 case. Ensure exception if result actually underflows.
6257 * math/auto-libm-test-in: Add more tests of erf.
6258 * math/auto-libm-test-out: Regenerated.
6260 2014-05-14 Andreas Schwab <schwab@suse.de>
6262 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6263 Remove code conditionalized on USE___THREAD.
6265 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6266 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6269 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6272 Define unconditionally.
6273 (__ASSUME_O_CLOEXEC): Likewise.
6274 (__ASSUME_SOCK_CLOEXEC): Likewise.
6275 (__ASSUME_IN_NONBLOCK): Likewise.
6276 (__ASSUME_PIPE2): Likewise.
6277 (__ASSUME_EVENTFD2): Likewise.
6278 (__ASSUME_SIGNALFD4): Likewise.
6279 (__ASSUME_DUP3): Likewise.
6280 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6281 (__ASSUME_DUP3): Do not define.
6282 (__ASSUME_EVENTFD2): Likewise.
6283 (__ASSUME_IN_NONBLOCK): Likewise.
6284 (__ASSUME_O_CLOEXEC): Likewise.
6285 (__ASSUME_PIPE2): Likewise.
6286 (__ASSUME_SIGNALFD4): Likewise.
6287 (__ASSUME_SOCK_CLOEXEC): Likewise.
6288 (__ASSUME_UTIMES): Undefine.
6289 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6290 (__ASSUME_UTIMES): Do not define.
6291 (__ASSUME_O_CLOEXEC): Likewise.
6292 (__ASSUME_SOCK_CLOEXEC): Likewise.
6293 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6294 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6296 (__ASSUME_PIPE2): Likewise.
6297 (__ASSUME_EVENTFD2): Likewise.
6298 (__ASSUME_SIGNALFD4): Likewise.
6299 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6300 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6302 (__ASSUME_EVENTFD2): Likewise.
6303 (__ASSUME_SIGNALFD4): Likewise.
6304 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6305 (__ASSUME_32BITUIDS): Likewise.
6306 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6307 (__ASSUME_IPC64): Likewise.
6308 (__ASSUME_ST_INO_64_BIT): Likewise.
6309 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6310 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6311 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6312 (__ASSUME_UTIMES): Do not define.
6313 (__ASSUME_PSELECT): Likewise.
6314 (__ASSUME_PPOLL): Likewise.
6315 (__ASSUME_O_CLOEXEC): Likewise.
6316 (__ASSUME_SOCK_CLOEXEC): Likewise.
6317 (__ASSUME_IN_NONBLOCK): Likewise.
6318 (__ASSUME_PIPE2): Likewise.
6319 (__ASSUME_EVENTFD2): Likewise.
6320 (__ASSUME_SIGNALFD4): Likewise.
6321 (__ASSUME_DUP3): Likewise.
6322 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6323 (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
6342 (__ASSUME_UTIMES): Likewise.
6343 (__ASSUME_EVENTFD2): Likewise.
6344 (__ASSUME_SIGNALFD4): Likewise.
6345 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6346 (__ASSUME_O_CLOEXEC): Likewise.
6347 (__ASSUME_SOCK_CLOEXEC): Likewise.
6348 (__ASSUME_IN_NONBLOCK): Likewise.
6349 (__ASSUME_PIPE2): Likewise.
6350 (__ASSUME_EVENTFD2): Likewise.
6351 (__ASSUME_SIGNALFD4): Likewise.
6352 (__ASSUME_DUP3): Likewise.
6353 (__ASSUME_UTIMES): Undefine.
6355 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6356 feclearexcept. Remove symbol versioning code.
6357 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6358 symbol versioning code.
6359 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6360 symbol versioning code.
6361 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6362 feupdateenv. Remove symbol versioning code.
6363 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6364 fegetexceptflag. Remove symbol versioning code.
6365 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6366 fesetexceptflag. Remove symbol versioning code.
6367 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6368 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6369 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6370 (__posix_fadvise64_l32): Remove prototype.
6371 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6374 2014-05-13 Roland McGrath <roland@hack.frob.com>
6376 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6377 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6378 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6379 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6381 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6383 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6384 current working directory
6386 2014-05-13 Roland McGrath <roland@hack.frob.com>
6388 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6389 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6390 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6391 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6392 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6393 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6394 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6395 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6396 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6397 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6398 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6399 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6400 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6401 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6402 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6403 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6404 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6405 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6406 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6407 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6408 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6409 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6410 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6411 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6412 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6413 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6414 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6415 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6416 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6417 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6418 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6419 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6420 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6421 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6422 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6423 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6424 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6425 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6426 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6427 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6428 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6429 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6431 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6432 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6434 * sysdeps/unix/sysv/linux/arm/Makefile
6435 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6436 Add rt-aeabi_unwind_cpp_pr1.
6437 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6438 Add nptl-aeabi_unwind_cpp_pr1.
6439 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6440 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6441 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6442 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6443 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6444 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6446 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6447 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6448 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6449 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6451 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6452 Deconditionalize the code that was previously under [RESET_PID].
6453 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6455 * sysdeps/generic/exit-thread.h: New file.
6456 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6457 * include/unistd.h (__exit_thread): Remove declaration.
6458 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6459 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6460 * csu/libc-start.c: Include <exit-thread.h>.
6461 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6462 * nptl/pthread_create.c: Include <exit-thread.h>.
6463 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6464 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6465 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6466 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6467 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6468 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6469 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6470 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6471 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6472 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6473 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6474 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6475 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6476 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6477 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6478 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6479 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6481 2014-05-13 Andreas Schwab <schwab@suse.de>
6483 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6485 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6487 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6488 (__ASSUME_UTIMES): Do not condition on kernel version.
6489 (__ASSUME_PSELECT): Define unconditionally.
6490 (__ASSUME_PPOLL): Likewise.
6491 (__ASSUME_ATFCTS): Likewise.
6492 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6493 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6494 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6495 (__ASSUME_UTIMENSAT): Define unconditionally.
6496 (__ASSUME_PRIVATE_FUTEX): Likewise.
6497 (__ASSUME_FALLOCATE): Likewise.
6498 (__ASSUME_O_CLOEXEC): Likewise.
6499 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6500 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6501 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6502 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6503 (__ASSUME_IN_NONBLOCK): Likewise.
6504 (__ASSUME_PIPE2): Likewise.
6505 (__ASSUME_EVENTFD2): Likewise.
6506 (__ASSUME_SIGNALFD4): Likewise.
6507 (__ASSUME_DUP3): Likewise.
6508 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6509 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6510 (__ASSUME_AT_RANDOM): Likewise.
6511 (__ASSUME_PREADV): Likewise.
6512 (__ASSUME_PWRITEV): Likewise.
6513 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6514 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6515 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6516 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6517 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6518 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6519 (__ASSUME_O_CLOEXEC): Define unconditionally.
6520 (__ASSUME_PSELECT): Do not undefine conditionally.
6521 (__ASSUME_PPOLL): Likewise.
6522 (__ASSUME_ATFCTS): Likewise.
6523 (__ASSUME_SET_ROBUST_LIST): Likewise.
6524 (__ASSUME_UTIMENSAT): Likewise.
6525 (__ASSUME_FDATASYNC): Define unconditionally.
6526 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6527 (__ASSUME_SIGFRAME_V2): Likewise.
6528 )__ASSUME_EVENTFD2): Likewise.
6529 (__ASSUME_SIGNALFD4): Likewise.
6530 (__ASSUME_PSELECT): Do not undefine conditionally.
6531 (__ASSUME_PPOLL): Likewise.
6532 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6533 (__ASSUME_PSELECT): Define unconditionally.
6534 (__ASSUME_PPOLL): Likewise.
6535 (__ASSUME_O_CLOEXEC): Likewise.
6536 (__ASSUME_SOCK_CLOEXEC): Likewise.
6537 (__ASSUME_IN_NONBLOCK): Likewise.
6538 (__ASSUME_PIPE2): Likewise.
6539 (__ASSUME_EVENTFD2): Likewise.
6540 (__ASSUME_SIGNALFD4): Likewise.
6541 (__ASSUME_DUP3): Likewise.
6542 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6543 (__ASSUME_O_CLOEXEC): Likewise.
6544 (__ASSUME_SOCK_CLOEXEC): Likewise.
6545 (__ASSUME_IN_NONBLOCK): Likewise.
6546 (__ASSUME_PIPE2): Likewise.
6547 (__ASSUME_EVENTFD2): Likewise.
6548 (__ASSUME_SIGNALFD4): Likewise.
6549 (__ASSUME_DUP3): Likewise.
6550 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6551 (__ASSUME_EVENTFD2): Likewise.
6552 (__ASSUME_SIGNALFD4): Likewise.
6553 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6555 2014-05-12 Andreas Schwab <schwab@suse.de>
6558 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6559 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6560 than maximum RPC packet size.
6561 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6562 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6563 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6564 (_nss_nis_getservbyport_r): Likewise.
6566 2014-05-12 Will Newton <will.newton@linaro.org>
6568 * malloc/Makefile (tests): Add tst-mallopt.
6569 * malloc/tst-mallopt.c: New file.
6571 2014-05-09 Roland McGrath <roland@hack.frob.com>
6573 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6574 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6576 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6578 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6579 (tst-tlsmod6.so): Likewise.
6581 2014-05-09 Roland McGrath <roland@hack.frob.com>
6583 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6585 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6588 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6589 and <dl-procinfo.h>.
6590 (__fegetenv): Save SSE state in envp->__eip if supported.
6591 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6592 envp->__eip if supported.
6593 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6594 and <dl-procinfo.h>.
6595 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6596 __data_offset and __data_selector in environment to 0. Set SSE
6598 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6600 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6602 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6604 2014-05-09 Will Newton <will.newton@linaro.org>
6606 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6607 and libc_relro_required for ARM.
6608 * sysdeps/arm/preconfigure: Regenerate.
6610 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6611 Stefan Liebler <stli@linux.vnet.ibm.com>
6613 * config.make.in (enable-lock-elision): New Makefile variable.
6614 * configure.ac: Likewise.
6615 * configure: Regenerate.
6616 * sysdeps/s390/configure.ac:
6617 Add check for gcc transactions support.
6618 * sysdeps/s390/configure: Regenerate.
6619 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6620 Build elision files if enabled.
6621 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6622 Add lock elision support for s390.
6623 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6624 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6625 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6626 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6627 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6628 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6629 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6631 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6633 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6635 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6637 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6638 (__lll_timedlock_elision, __lll_lock_elision)
6639 (__lll_unlock_elision, __lll_trylock_elision)
6640 (lll_timedlock_elision, lll_lock_elision)
6641 (lll_unlock_elision, lll_trylock_elision): Add.
6642 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6643 (pthread_mutex_t): Add lock elision support for s390.
6645 2014-05-14 Wilco <wdijkstr@arm.com>
6647 * sysdeps/arm/fclrexcpt.c: Cleanup.
6648 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6649 * sysdeps/arm/feenablxcpt.c: Cleanup.
6650 * sysdeps/arm/fegetenv.c: Cleanup.
6651 * sysdeps/arm/fegetexcept.c: Cleanup.
6652 * sysdeps/arm/fegetround.c: Cleanup.
6653 * sysdeps/arm/feholdexcpt.c: Cleanup.
6654 * sysdeps/arm/fesetenv.c: Cleanup.
6655 * sysdeps/arm/fesetround.c: Cleanup.
6656 * sysdeps/arm/feupdateenv.c: Cleanup.
6657 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6658 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6659 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6660 * sysdeps/arm/ftestexcept.c: Cleanup.
6661 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6662 * sysdeps/arm/setfpucw.c: Cleanup.
6664 2014-05-09 Will Newton <will.newton@linaro.org>
6666 * sysdeps/arm/armv7/strcmp.S: New file.
6667 * NEWS: Mention addition of ARMv7 optimized strcmp.
6669 2014-05-08 Roland McGrath <roland@hack.frob.com>
6671 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6672 look for %.ac rather than %.in.
6674 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6675 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6676 * sysdeps/mach/hurd/configure: Regenerated.
6677 * sysdeps/unix/sysv/linux/configure: Regenerated.
6679 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6681 2014-05-07 Steve Ellcey <sellcey@mips.com>
6684 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6688 2014-05-07 Andreas Schwab <schwab@suse.de>
6690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6691 when skipping over non-matching result from nscd.
6693 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6696 * nptl/sockperf.c (client): Check socket return value.
6699 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6700 nscd security class.
6702 2014-05-06 Roland McGrath <roland@hack.frob.com>
6704 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6705 * sysdeps/arm/unwind.h: ... here.
6707 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6710 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6713 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6715 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6716 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6717 multiarch strncpy for PPC64.
6718 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6719 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6721 multiarch optimizations.
6722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6723 (__libc_ifunc_impl_list): Likewise.
6724 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6725 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6726 multiarch stpncpy for PPC64.
6727 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6728 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6730 2014-05-06 Andreas Schwab <schwab@suse.de>
6733 * gmon/mcount.c (_MCOUNT_DECL): Use
6734 atomic_compare_and_exchange_bool_acq instead of
6735 catomic_compare_and_exchange_bool_acq.
6737 2014-05-05 Roland McGrath <roland@hack.frob.com>
6739 * elf/Makefile (others, install-bin): Remove pldd.
6740 (pldd-modules): Variable removed.
6741 ($(objpfx)pldd): Target removed.
6742 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6743 (others, install-bin): Append pldd here.
6744 ($(objpfx)pldd): New target.
6746 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6747 to 0, so the first #if test emitted later doesn't see it undefined.
6748 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6749 * sysdeps/gnu/errlist.c: Regenerated.
6751 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6753 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6754 [libc_hidden_builtin_def]: Define to empty value.
6755 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6756 [libc_hidden_builtin_def]: Likewise.
6757 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6758 [libc_hidden_builtin_def]: Likewise.
6759 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6760 [libc_hidden_builtin_def]: Likewise.
6761 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6762 __redirect_memcpy and define ifunc as default hidden symbol.
6763 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6764 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6766 2014-05-04 Adam Conrad <adconrad@0c3.net>
6768 * locale/iso-4217.def: Reintroduce XDR currency.
6770 2014-05-04 Allan McRae <allan@archlinux.org>
6772 * po/eo.po: Update Esperanto translation from translation project.
6774 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6776 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6777 and FEATURE_INDEX_MAX to 1.
6778 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6780 2014-05-01 Steve Ellcey <sellcey@mips.com>
6782 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6783 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6784 * iconvdata/big5.c (ONE_DIRECTION): Define.
6785 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6786 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6787 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6788 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6789 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6790 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6791 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6792 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6793 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6794 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6795 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6796 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6797 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6798 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6799 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6800 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6801 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6802 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6803 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6804 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6805 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6806 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6807 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6808 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6809 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6810 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6811 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6812 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6813 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6814 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6815 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6816 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6817 * iconvdata/johab.c (ONE_DIRECTION): Define.
6818 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6819 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6820 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6821 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6822 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6823 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6824 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6825 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6826 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6827 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6829 2014-05-01 Roland McGrath <roland@hack.frob.com>
6831 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6832 (_IO_JUMPS_OFFSET): Define to 0.
6834 * nptl/sysdeps/pthread/bits/libc-lock.h
6835 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6836 (__libc_lock_define_initialized_recursive): Always define using
6837 initializer. Modern compilers treat uninitialized (implicit zero) and
6838 explicit zero initializers the same (i.e. put the datum in bss).
6840 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6842 * nscd/nscd-client.h: Include <string.h>.
6844 2014-05-01 David S. Miller <davem@davemloft.net>
6847 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6848 multiple zero bytes exist at the end of a string.
6849 Reported by Aurelien Jarno <aurelien@aurel32.net>
6851 * string/test-strcmp.c (check): Add explicit test for situations where
6852 there are multiple zero bytes after the first.
6854 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6857 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6858 when compiling wprintf.
6859 * stdio-common/tstdiomisc.c (t3): New function.
6862 2014-05-01 Steve Ellcey <sellcey@mips.com>
6864 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6865 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6866 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6867 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6869 2014-05-01 Steve Ellcey <sellcey@mips.com>
6871 * stdlib/longlong.h: Updated from GCC.
6873 2014-05-01 Will Newton <will.newton@linaro.org>
6874 Bernard Ogden <bernie.ogden@linaro.org>
6876 * NEWS: Update fixed bug list.
6879 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6881 2014-04-30 David S. Miller <davem@davemloft.net>
6883 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6884 (libc_feholdexcept_setround_sparc_ctx): New function.
6885 (libc_fesetenv_sparc_ctx): Likewise.
6886 (libc_feupdateenv_sparc_ctx): Likewise.
6887 (libc_feholdsetround_sparc_ctx): Likewise.
6888 (libc_feholdexcept_setround_ctx): Define.
6889 (libc_feholdexcept_setroundf_ctx): Likewise.
6890 (libc_feholdexcept_setroundl_ctx): Likewise.
6891 (libc_fesetenv_ctx): Likewise.
6892 (libc_fesetenvf_ctx): Likewise.
6893 (libc_fesetenvl_ctx): Likewise.
6894 (libc_feupdateenv_ctx): Likewise.
6895 (libc_feupdateenvf_ctx): Likewise.
6896 (libc_feupdateenvl_ctx): Likewise.
6897 (libc_feresetround_ctx): Likewise.
6898 (libc_feresetroundf_ctx): Likewise.
6899 (libc_feresetroundl_ctx): Likewise.
6900 (libc_feholdsetround_ctx): Likewise.
6901 (libc_feholdsetroundf_ctx): Likewise.
6902 (libc_feholdsetroundl_ctx): Likewise.
6904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6905 with __USE_GNU instead of XOPEN cpp guards.
6907 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6911 with XOPEN cpp guards.
6913 2014-04-30 Julian Brown <julian@codesourcery.com>
6916 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6919 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6922 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6924 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6925 * sysdeps/unix/sysv/linux/configure: Regenerated.
6926 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6927 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6928 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6929 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6930 * README: Update reference to required Linux kernel version.
6931 * manual/install.texi (Linux): Update reference to required Linux
6932 kernel headers version.
6933 * INSTALL: Regenerated.
6935 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6937 [POSIX] (limits.h): Likewise.
6938 [POSIX] (math.h): Likewise.
6939 [POSIX] (sys/wait.h): Likewise.
6940 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6942 [POSIX] (stddef.h): Do not allow header inclusion.
6944 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6946 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6948 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6950 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6951 Return immediately after lll_futex_wake.
6953 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6956 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6958 (datahead_init_pos): Call datahead_init_common early.
6959 (datahead_init_neg): Likewise.
6961 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6962 datahead_init_neg): New functions.
6963 * nscd/aicache.c (addhstaiX): Use them.
6964 * nscd/grpcache.c (cache_addgr): Likewise.
6965 * nscd/hstcache.c (cache_addhst): Likewise.
6966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6967 * nscd/netgroupcache.c (do_notfound): Likewise.
6968 (addgetnetgrentX): Likewise.
6969 (addinnetgrX): Likewise.
6970 * nscd/pwdcache.c (cache_addpw): Likewise.
6971 * nscd/servicescache.c (cache_addserv): Likewise.
6973 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6974 Atsushi Onoe <atsushi@onoe.org>
6979 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6980 one response is valid.
6981 * resolv/res_send.c (send_dg): Check for validity of other
6982 response if the current response is a referral.
6984 2014-04-29 Steve Ellcey <sellcey@mips.com>
6986 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6988 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6991 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6992 Always divide by positive zero when computing -Inf result.
6993 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6994 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6996 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6998 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6999 FPSCR if value do not change.
7000 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7001 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7002 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7003 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7004 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7005 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7008 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7010 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7011 * sysdeps/unix/sysv/linux/hppa: Move directory from
7012 ports/systeps/unix/sysv/linux/hppa.
7013 * README: Update listing for hppa-*-linux-gnu.
7015 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7018 * manual/stdio.texi (Hook functions): Fix types of stream hook
7021 * socket/sys/socket.h: Fix typo in comment.
7023 2014-04-28 Wilco <wdijkstr@arm.com>
7025 * sysdeps/arm/fenv_private.h: New file.
7026 * sysdeps/arm/math_private.h: New file.
7027 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7029 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7031 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7033 (La_x86_64_retval): Likewise.
7035 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7037 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7038 fpsr if value didn't change.
7039 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7040 to fpcr if value didn't change.
7041 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7042 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7043 fpsr or fpcr if value didn't change.
7044 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7045 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7046 fpcr if value didn't change.
7047 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7048 to fpsr if value didn't change.
7050 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7052 * nptl/tst-sem3.c: Use test-skeleton.c
7053 (main): Rename to do_test. Use return instead of
7055 * nptl/tst-sem4.c: Use test-skeleton.c
7056 (main): Rename to do_test.
7058 2014-04-22 David S. Miller <davem@davemloft.net>
7060 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7061 (struct sigaction): New struct member __glibc_reserved0, change
7062 type of sa_flags to int.
7064 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7066 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7067 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7069 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7071 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7072 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7074 2014-04-22 Will Newton <will.newton@linaro.org>
7075 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7077 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7078 (__longjmp): Add longjmp and longjmp_target SystemTap
7080 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7081 (__sigsetjmp): Add setjmp SystemTap probe.
7083 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7085 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7088 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7090 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7092 * sysdeps/powerpc/fpu/fenv_private.h
7093 (libc_feholdexcept_setroundl_ctx): Define to
7094 libc_feholdexcept_setround_ppc_ctx.
7095 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7096 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7097 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7098 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7100 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7102 * sysdeps/aarch64/math-tests.h: New file.
7104 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7106 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7109 Check and set bit_AVX2_Usable.
7110 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7112 (bit_AVX2): Likewise.
7113 (index_AVX2_Usable): Likewise.
7114 (CPUID_AVX2): Likewise.
7115 (HAS_AVX2): Likewise.
7117 2014-04-17 Will Newton <will.newton@linaro.org>
7119 * manual/setjmp.texi (System V contexts): Add note that
7120 calling setcontext on a context created by a call to a
7121 signal handler is undefined. Update text to note that
7122 setcontext from a signal handler is possible but not
7126 * stdlib/tst-setcontext.c: Include signal.h.
7127 (main): Check that the signal stack before and
7128 after swapcontext is the same.
7130 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7131 Re-implement to restore registers in user code and avoid
7132 rt_sigreturn system call.
7134 2014-04-17 Wilco <wdijkstr@arm.com>
7136 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7137 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7138 * math/test-fenv.c: Skip exception trap tests on targets which only
7139 support non-stop mode.
7141 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7142 Wilco Dijkstra <wilco.dijkstra@arm.com>
7144 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7145 (libc_feholdsetround_aarch64_ctx)
7146 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7147 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7148 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7149 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7150 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7151 (libc_feresetround_noexl_ctx): Define.
7153 2014-04-16 Richard Henderson <rth@redhat.com>
7155 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7157 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7160 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7161 const from the non-libc, non-ldso copy.
7163 * sysdeps/alpha/libm-test-ulps: Regenerate.
7165 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7166 Wilco Dijkstra <wilco.dijkstra@arm.com>
7168 * sysdeps/aarch64/fpu/math_private.h: New file.
7170 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7172 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7174 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7177 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7178 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7180 Intel MPX bound registers before _dl_profile_fixup.
7181 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7182 registers after _dl_profile_fixup. Save and restore bound
7183 registers bnd0/bnd1 when calling _dl_call_pltexit.
7184 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7185 (LR_BND_OFFSET): Likewise.
7186 (LRV_BND0_OFFSET): Likewise.
7187 (LRV_BND1_OFFSET): Likewise.
7189 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7191 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7193 * sysdeps/mach/hurd/i386/tls.h: ... here.
7194 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7195 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7198 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7200 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7202 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7204 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7206 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7209 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7210 * sysdeps/s390/configure: Regenerate.
7213 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7214 Set round-to-nearest internally to reduce error accumulation.
7216 2014-04-16 Alan Modra <amodra@gmail.com>
7220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7221 * math/libm-test.inc (frexp_test_data): Add tests.
7222 * NEWS: Update fixed bug list.
7224 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7226 * benchtests/Makefile: Depend on libraries in build directory.
7227 (bench-math): Separate out math tests.
7228 (bench-pthread): Separate out pthread tests.
7229 (bench): Include math and pthread tests.
7231 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7234 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7235 _dl_debug_initialize.
7237 * configure.ac: Remove SELinux header check.
7238 * configure: Regenerate.
7239 * nscd/selinux.c (perms): Array of const char* to permission names.
7240 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7241 default policy. Call string_to_security_class and string_to_av_perm to
7242 translate strings. Enforce default policy and call avs_has_perm with
7243 results of translated strings.
7245 2014-04-13 David S. Miller <davem@davemloft.net>
7247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7249 2014-04-12 Allan McRae <allan@archlinux.org>
7252 * manual/string.texi (Collation Functions): Fix qsort argument
7254 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7256 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7258 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7259 Make the test a no-op if there are no exceptions defined.
7261 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7263 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7264 enable-hardcoded-path-in-tests
7266 2014-04-11 Will Newton <will.newton@linaro.org>
7268 * benchtests/Makefile (extra-objs): Add json-lib.o.
7269 (bench-func): Tidy up JSON output.
7270 * benchtests/bench-skeleton.c: Include json-lib.h.
7271 (main): Use JSON library functions to do output of
7273 * benchtests/bench-timing-type.c (main): Output the
7274 timing type simply, leaving formatting to the user.
7275 * benchtests/json-lib.c: New file.
7276 * benchtests/json-lib.h: Likewise.
7278 2014-04-11 Torvald Riegel <triegel@redhat.com>
7281 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7282 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7283 memory barriers. Add comments.
7284 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7285 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7286 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7287 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7288 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7289 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7291 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7293 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7294 * sysdeps/s390/s390-64/configure.ac: ... this ...
7295 * sysdeps/s390/configure.ac: ... to here.
7296 * sysdeps/s390/s390-32/configure: Delete file.
7297 * sysdeps/s390/s390-64/configure: Delete file.
7298 * sysdeps/s390/configure: Regenerate.
7300 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7302 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7304 2014-04-11 Will Newton <will.newton@linaro.org>
7306 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7307 to zero if it is not defined elsewhere. (mtrim): Test
7308 the value of MALLOC_DEBUG with #if rather than #ifdef.
7310 2014-04-10 Torvald Riegel <triegel@redhat.com>
7312 * benchtests/pthread_once-inputs: New file.
7313 * benchtests/pthread_once-source.c: New file.
7314 * benchtests/README: Update documentation.
7316 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7317 H.J. Lu <hongjiu.lu@intel.com>
7320 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7321 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7322 * sysdeps/x86_64/configure: Regenerated.
7323 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7325 (REGISTER_SAVE_RAX): Likewise.
7326 (REGISTER_SAVE_RCX): Likewise.
7327 (REGISTER_SAVE_RDX): Likewise.
7328 (REGISTER_SAVE_RSI): Likewise.
7329 (REGISTER_SAVE_RDI): Likewise.
7330 (REGISTER_SAVE_R8): Likewise.
7331 (REGISTER_SAVE_R9): Likewise.
7332 (REGISTER_SAVE_BND0): Likewise.
7333 (REGISTER_SAVE_BND1): Likewise.
7334 (REGISTER_SAVE_BND2): Likewise.
7335 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7336 bound registers when calling _dl_fixup.
7338 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7340 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7341 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7343 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7344 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7345 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7346 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7347 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7348 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7349 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7351 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7354 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7355 pathconf(_PC_NAME_MAX).
7357 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7361 (__PTHREAD_SPINS): Move definition to ...
7362 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7363 (__PTHREAD_SPINS): ... here.
7364 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7365 (__PTHREAD_SPIN): Likewise.
7366 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7367 (__PTHREAD_SPIN): Likewise.
7368 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7369 (__PTHREAD_SPIN): Likewise.
7370 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7371 (__PTHREAD_SPIN): Likewise.
7372 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7373 (__PTHREAD_SPIN): Likewise.
7374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7375 (__PTHREAD_SPIN): Likewise.
7376 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7377 (__PTHREAD_SPIN): Likewise.
7378 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7379 (__PTHREAD_SPIN): Likewise.
7380 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7381 (__PTHREAD_SPIN): Likewise.
7382 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7383 (__PTHREAD_SPIN): Likewise.
7384 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7385 (__PTHREAD_SPIN): Likewise.
7386 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7387 (__PTHREAD_SPIN): Likewise.
7389 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7390 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7391 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7392 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7394 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7395 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7396 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7397 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7399 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7400 strlen symbol for non multi-arch builds.
7401 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7402 missing hidden_def and weak_alias.
7404 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7406 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7408 2014-04-07 Will Newton <will.newton@linaro.org>
7410 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7411 and contents. [!_LIBC] Remove #ifndef and contents.
7412 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7413 * string/memccpy.c (__memccpy): Use ANSI prototype.
7414 * string/memfrob.c (memfrob): Likewise.
7415 * string/strcoll.c (STRCOLL): Likewise.
7416 * string/strlen.c (strlen): Likewise.
7417 * string/strtok.c (STRTOK): Likewise.
7418 * string/strcat.c: Remove unused #include of memcopy.h.
7419 (strcat): Use ANSI prototype.
7420 * string/strchr.c: Remove unused #include of memcopy.h.
7421 (strchr): Use ANSI prototype.
7422 * string/strcmp.c: Remove unused #include of memcopy.h.
7423 (strcmp): Use ANSI prototype.
7424 * string/strcpy.c: Remove unused #include of memcopy.h.
7425 (strcpy): Use ANSI prototype.
7427 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7429 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7430 * config.make.in (config-extra-cppflags): Set it from
7431 libc_extra_cppflags.
7432 * configure.ac (libc_extra_cflags): Make it accumulate over
7433 configure fragments.
7434 (libc_extra_cppflags): New flag.
7435 * configure. Regenerate.
7436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7437 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7438 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7442 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7443 result for FE_DOWNWARD rounding mode.
7444 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7448 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7450 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7451 in function argument name.
7453 2014-04-03 David Svoboda <svoboda@cert.org>
7456 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7459 2014-04-03 Roland McGrath <roland@hack.frob.com>
7461 * elf/dl-unmap-segments.h: New file.
7462 * sysdeps/generic/ldsodefs.h
7463 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7464 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7465 * elf/dl-fptr.c: Likewise.
7466 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7467 * sysdeps/aarch64/tlsdesc.c: Likewise.
7468 * sysdeps/arm/tlsdesc.c: Likewise.
7469 * sysdeps/i386/tlsdesc.c: Likewise.
7470 * sysdeps/tile/dl-runtime.c: Likewise.
7471 * sysdeps/x86_64/tlsdesc.c: Likewise.
7472 * elf/dl-load.h: New file.
7473 * elf/dl-load.c: Include it.
7474 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7475 Macros moved to dl-load.h.
7476 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7477 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7478 Use _dl_unmap_segments in place of __munmap.
7479 Break out segment-mapping loop into ...
7480 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7482 2014-04-03 Will Newton <will.newton@linaro.org>
7484 * elf/dl-lookup.c (do_lookup_x): Remove comment
7485 referring to nested function and move variable
7486 declarations down to before first use.
7488 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7492 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7494 * math/s_catanf.c (__catanf): Likewise.
7495 * math/s_catanh.c (__catanh): Likewise.
7496 * math/s_catanhf.c (__catanhf): Likewise.
7497 * math/s_catanhl.c (__catanhl): Likewise.
7498 * math/s_catanl.c (__catanl): Likewise.
7499 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7500 by positive zero when computing -Inf result.
7501 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7502 (catanh_test): Likewise.
7503 * sysdeps/i386/fpu/libm-test-ulps: Update.
7504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7507 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7508 instead of using underflowing value in computing result.
7509 * math/s_clog10.c (__clog10): Likewise.
7510 * math/s_clog10f.c (__clog10f): Likewise.
7511 * math/s_clog10l.c (__clog10l): Likewise.
7512 * math/s_clogf.c (__clogf): Likewise.
7513 * math/s_clogl.c (__clogl): Likewise.
7514 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7515 (clog10_test): Likewise.
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7519 2014-04-02 Alan Modra <amodra@gmail.com>
7522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7523 output when value is near a power of two. Use int64_t for lx and
7524 remove casts. Use decimal rather than hex exponent constants.
7525 Don't use long double multiplication when double will suffice.
7526 * math/libm-test.inc (nextafter_test_data): Add tests.
7527 * NEWS: Add 16739 and 16786 to bug list.
7529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7531 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7533 2014-04-01 Will Newton <will.newton@linaro.org>
7535 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7536 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7538 2014-04-01 Florian Weimer <fweimer@redhat.com>
7541 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7542 * nptl/tst-setuid2.c: New file.
7543 * nptl/Makefile (xtests): Add tst-setuid2.
7545 2014-04-01 Alan Modra <amodra@gmail.com>
7548 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7550 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7554 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7555 set errno as appropriate.
7556 * math/w_scalbf.c (__scalbf): Likewise.
7557 * math/w_scalbl.c (__scalbl): Likewise.
7558 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7559 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7560 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7564 * math/w_atan2.c: Include <errno.h>.
7565 (__atan2): Set errno for result underflowing to zero.
7566 * math/w_atan2f.c: Include <errno.h>.
7567 (__atan2f): Set errno for result underflowing to zero.
7568 * math/w_atan2l.c: Include <errno.h>.
7569 (__atan2l): Set errno for result underflowing to zero.
7570 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7572 * math/auto-libm-test-out: Regenerated.
7574 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7576 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7577 Encode instruction correctly in little endian.
7578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7580 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7582 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7584 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7587 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7590 * sysdeps/unix/sysv/linux/kernel-features.h
7591 [__sparc__ && !__arch64__ && !__sparc_v9__]
7592 (__ASSUME_SET_ROBUST_LIST): Do not define.
7593 [__sparc__ && !__arch64__ && !__sparc_v9__]
7594 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7595 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7597 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7598 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7599 (__ASSUME_REQUEUE_PI): Likewise.
7600 (__ASSUME_SET_ROBUST_LIST): Likewise.
7601 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7602 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7605 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7607 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7609 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7611 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7612 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7614 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7615 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7621 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7623 2014-03-31 Will Newton <will.newton@linaro.org>
7625 * benchtests/Makefile (bench): Add ffs and ffsll to list
7627 * benchtests/ffs-inputs: New file.
7628 * benchtests/ffsll-inputs: Likewise.
7630 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7633 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7634 too large before casting to int.
7635 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7636 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7637 * math/libm-test.inc (scalb_test_data): Add more tests.
7639 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7641 * benchtests/Makefile (DETAILED_OPT): New make option.
7642 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7644 * benchtests/bench-skeleton.c: Include stdbool.h.
7645 (main): Store and print timings per input.
7646 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7647 member to each argument value.
7648 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7649 (_print_arg_data): Initialize per-input timing to 0.
7651 * benchtests/Makefile (timing-type): New binary.
7652 (bench-clean): Also remove bench-timing-type.
7653 (bench): New target for timing-type.
7654 (bench-func): Print output in JSON format.
7655 * benchtests/bench-skeleton.c (main): Print output in JSON
7657 * benchtests/bench-timing-type.c: New file.
7658 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7659 (TIMING_PRINT_STATS): Remove.
7660 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7663 * benchtests/bench-modf.c: Remove.
7664 * benchtests/modf-inputs: New inputs file.
7666 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7669 * math/s_clog10.c (M_PI_LOG10E): New macro.
7670 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7671 imaginary parts are 0.
7672 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7673 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7674 imaginary parts are 0.
7675 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7676 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7677 imaginary parts are 0.
7678 * math/libm-test.inc (clog10_test_data): Update expected results
7679 for when real and imaginary parts are 0.
7681 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7683 * elf/dl-load.c: Finish conversion of __builtin_expect into
7686 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7690 1+x for argument with exponent below -67.
7691 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7693 * math/auto-libm-test-in: Add more tests of exp.
7694 * math/auto-libm-test-out: Regenerated.
7696 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7699 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7700 (nscd_getnetgrent): Use it.
7703 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7706 2014-03-27 Andi Kleen <ak@linux.intel.com>
7708 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7709 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7710 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7711 (lll_robust_unlock): Remove out of line section. Use cfi
7713 (LLL_STUB_UNWIND_INFO*): Remove.
7714 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7715 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7716 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7717 (lll_robust_unlock): Remove out of line section. Use cfi
7719 (LLL_STUB_UNWIND_INFO*): Remove.
7721 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7724 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7727 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7729 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7731 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7734 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7736 * math/test-fenv-preserve.c: New file.
7737 * math/Makefile (tests): Add test-fenv-preserve.
7739 2014-03-26 Will Newton <will.newton@linaro.org>
7741 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7743 2014-03-25 Roland McGrath <roland@hack.frob.com>
7745 * scripts/versionlist.awk: Partition the version sets and emit all
7746 GLIBC_* (sorted) before all others (sorted).
7748 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7750 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7751 GLIBC_2.2.5 version.
7753 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7755 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7758 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7763 2014-03-25 Andreas Schwab <schwab@suse.de>
7765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7766 label to be used after in6ailist is initialized.
7768 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7770 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7771 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7773 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7777 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7779 (fp_formats): Update initializers.
7780 (init_fp_formats): Initialize new field.
7781 (output_for_one_input_case): Allow underflow for results up to
7783 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7784 * math/auto-libm-test-in: Don't mark some underflows from asin and
7786 * math/auto-libm-test-out: Regenerated.
7787 * sysdeps/i386/fpu/libm-test-ulps: Update.
7788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7790 2014-03-25 Andreas Schwab <schwab@suse.de>
7792 * libio/Makefile (tst-ftell-partial-wide-ENV)
7793 (tst-ftell-active-handler-ENV): Define.
7795 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7797 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7799 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7801 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7803 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7805 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7806 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7807 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7809 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7812 * elf/dl-load.c (open_verify): Add mode parameter.
7813 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7814 (open_path): Change from boolean 'secure' to complete flag 'mode'
7815 (_dl_map_object): Adjust.
7816 * elf/Makefile (tests): Add tst-dlopen-aout.
7817 * elf/tst-dlopen-aout.c: New test.
7819 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7822 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7823 (struct stat): Rename member pad0 to __glibc_reserved0.
7826 * sysdeps/s390/s390-32/bits/wordsize.h
7827 (__WORDSIZE32_SIZE_ULONG): New define.
7828 * sysdeps/s390/s390-64/bits/wordsize.h
7829 (__WORDSIZE32_SIZE_ULONG): Likewise.
7830 * sysdeps/generic/stdint.h (SIZE_MAX):
7831 Define as UL if __WORDSIZE32_SIZE_ULONG.
7834 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7835 (__glibc_reserved0): New variable.
7836 (sa_flags): Change type to int.
7838 * posix/Makefile (before-compile): Use += before-compile instead
7841 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7842 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7844 2014-03-20 Andreas Schwab <schwab@suse.de>
7847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7848 non-matching result from nscd.
7850 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7852 * scripts/bench.py: Moved to ...
7853 * benchtests/scripts/bench.py: ... here.
7854 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7856 2014-03-24 Andreas Schwab <schwab@suse.de>
7859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7860 alloca_account and account alloca use for struct in6ailist.
7862 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7865 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7866 rounding mode to recompute results that overflow to infinity or
7868 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7870 * math/auto-libm-test-out: Regenerated.
7871 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7872 (ccosh_test): Likewise.
7873 (csin_test_data): Use plus_oflow.
7874 (csin_test): Use ALL_RM_TEST.
7875 (csinh_test_data): Use plus_oflow.
7876 (csinh_test): Use ALL_RM_TEST.
7877 * sysdeps/i386/fpu/libm-test-ulps: Update.
7878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7880 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7882 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7883 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7884 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7887 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7889 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7890 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7891 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7894 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7895 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7897 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7898 * sysdeps/i386/fpu/libm-test-ulps: Update.
7899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7901 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7903 * scripts/bench.pl: Remove file.
7904 * scripts/bench.py: New benchmark script.
7905 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7906 * benchtests/README: Mention python dependency.
7907 * scripts/pylintrc: New file.
7908 * scripts/pylint: New file.
7910 * bits/mathdef.h: Use #ifdef instead of #if.
7911 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7912 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7913 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7914 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7915 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7916 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7918 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7919 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7921 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7923 and strpbrk-ppc64 objects.
7924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7925 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7926 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7927 multiarch strpbrk for POWER7.
7928 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7929 multiarch strpbrk for PPC64.
7930 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7932 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7935 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7937 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7938 (atan_test): Likewise.
7939 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7940 (atanh_test): Use ALL_RM_TEST.
7941 (atan2_test_data): Likewise.
7942 (cabs_test): Likewise.
7943 (cacosh_test): Likewise.
7944 (carg_test): Likewise.
7945 (casin_test): Likewise.
7946 (casinh_test): Likewise.
7947 (cbrt_test): Likewise.
7948 (csqrt_test): Likewise.
7949 (erf_test): Likewise.
7950 (erfc_test): Likewise.
7951 (pow10_test): Likewise.
7952 (exp2_test): Likewise.
7953 (hypot_test): Likewise.
7954 (j0_test): Likewise.
7955 (j1_test): Likewise.
7956 (lgamma_test): Likewise.
7957 (gamma_test): Likewise.
7958 (sincos_test): Likewise.
7959 (tanh_test): Likewise.
7960 (y0_test): Likewise.
7961 (y1_test): Likewise.
7962 * sysdeps/i386/fpu/libm-test-ulps: Update.
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7967 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7969 and strcspn-ppc64 objects.
7970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7971 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7972 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7973 multiarch strcspn for POWER7.
7974 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7975 multiarch strcspn for PPC64.
7976 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7978 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7981 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7983 * math/gen-libm-test.pl (generate_testfile): Expect only function
7984 name as argument to AUTO_TESTS_* and pass results for all rounding
7985 modes to parse_args.
7986 (parse_auto_input): Separate inputs of automatic tests from
7987 outputs before storing in %auto_tests.
7988 * math/libm-test.inc (acos_test_data): Update call to
7990 (acos_test): Use ALL_RM_TEST.
7991 (acos_tonearest_test_data): Remove.
7992 (acos_test_tonearest): Likewise.
7993 (acos_towardzero_test_data): Likewise.
7994 (acos_test_towardzero): Likewise.
7995 (acos_downward_test_data): Likewise.
7996 (acos_test_downward): Likewise.
7997 (acos_upward_test_data): Likewise.
7998 (acos_test_upward): Likewise.
7999 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8000 (asin_test_data): Likewise.
8001 (asin_test): Use ALL_RM_TEST.
8002 (asin_tonearest_test_data): Remove.
8003 (asin_test_tonearest): Likewise.
8004 (asin_towardzero_test_data): Likewise.
8005 (asin_test_towardzero): Likewise.
8006 (asin_downward_test_data): Likewise.
8007 (asin_test_downward): Likewise.
8008 (asin_upward_test_data): Likewise.
8009 (asin_test_upward): Likewise.
8010 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8011 (atan_test_data): Likewise.
8012 (atanh_test_data): Likewise.
8013 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8014 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8015 (carg_test_data): Likewise.
8016 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8017 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8018 (ccosh_test_data): Likewise.
8019 (cexp_test_data): Likewise.
8020 (clog_test_data): Likewise.
8021 (clog10_test_data): Likewise.
8022 (cos_test_data): Update call to AUTO_TESTS_f_f.
8023 (cos_test): Use ALL_RM_TEST.
8024 (cos_tonearest_test_data): Remove.
8025 (cos_test_tonearest): Likewise.
8026 (cos_towardzero_test_data): Likewise.
8027 (cos_test_towardzero): Likewise.
8028 (cos_downward_test_data): Likewise.
8029 (cos_test_downward): Likewise.
8030 (cos_upward_test_data): Likewise.
8031 (cos_test_upward): Likewise.
8032 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8033 (cosh_test): Use ALL_RM_TEST.
8034 (cosh_tonearest_test_data): Remove.
8035 (cosh_test_tonearest): Likewise.
8036 (cosh_towardzero_test_data): Likewise.
8037 (cosh_test_towardzero): Likewise.
8038 (cosh_downward_test_data): Likewise.
8039 (cosh_test_downward): Likewise.
8040 (cosh_upward_test_data): Likewise.
8041 (cosh_test_upward): Likewise.
8042 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8043 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8044 (ctan_test_data): Likewise.
8045 (ctan_test): Use ALL_RM_TEST.
8046 (ctan_tonearest_test_data): Remove.
8047 (ctan_test_tonearest): Likewise.
8048 (ctan_towardzero_test_data): Likewise.
8049 (ctan_test_towardzero): Likewise.
8050 (ctan_downward_test_data): Likewise.
8051 (ctan_test_downward): Likewise.
8052 (ctan_upward_test_data): Likewise.
8053 (ctan_test_upward): Likewise.
8054 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8055 (ctanh_test): Use ALL_RM_TEST.
8056 (ctanh_tonearest_test_data): Remove.
8057 (ctanh_test_tonearest): Likewise.
8058 (ctanh_towardzero_test_data): Likewise.
8059 (ctanh_test_towardzero): Likewise.
8060 (ctanh_downward_test_data): Likewise.
8061 (ctanh_test_downward): Likewise.
8062 (ctanh_upward_test_data): Likewise.
8063 (ctanh_test_upward): Likewise.
8064 (erf_test_data): Update call to AUTO_TESTS_f_f.
8065 (erfc_test_data): Likewise.
8066 (exp_test_data): Likewise.
8067 (exp_test): Use ALL_RM_TEST.
8068 (exp_tonearest_test_data): Remove.
8069 (exp_test_tonearest): Likewise.
8070 (exp_towardzero_test_data): Likewise.
8071 (exp_test_towardzero): Likewise.
8072 (exp_downward_test_data): Likewise.
8073 (exp_test_downward): Likewise.
8074 (exp_upward_test_data): Likewise.
8075 (exp_test_upward): Likewise.
8076 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8077 (exp10_test): Use ALL_RM_TEST.
8078 (exp10_tonearest_test_data): Remove.
8079 (exp10_test_tonearest): Likewise.
8080 (exp10_towardzero_test_data): Likewise.
8081 (exp10_test_towardzero): Likewise.
8082 (exp10_downward_test_data): Likewise.
8083 (exp10_test_downward): Likewise.
8084 (exp10_upward_test_data): Likewise.
8085 (exp10_test_upward): Likewise.
8086 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8087 (expm1_test_data): Likewise.
8088 (expm1_test): Use ALL_RM_TEST.
8089 (expm1_tonearest_test_data): Remove.
8090 (expm1_test_tonearest): Likewise.
8091 (expm1_towardzero_test_data): Likewise.
8092 (expm1_test_towardzero): Likewise.
8093 (expm1_downward_test_data): Likewise.
8094 (expm1_test_downward): Likewise.
8095 (expm1_upward_test_data): Likewise.
8096 (expm1_test_upward): Likewise.
8097 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8098 (fma_test): Use ALL_RM_TEST.
8099 (fma_towardzero_test_data): Remove.
8100 (fma_test_towardzero): Likewise.
8101 (fma_downward_test_data): Likewise.
8102 (fma_test_downward): Likewise.
8103 (fma_upward_test_data): Likewise.
8104 (fma_test_upward): Likewise.
8105 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8106 (j0_test_data): Update call to AUTO_TESTS_f_f.
8107 (j1_test_data): Likewise.
8108 (jn_test_data): Update call to AUTO_TESTS_if_f.
8109 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8110 (log_test_data): Update call to AUTO_TESTS_f_f.
8111 (log10_test_data): Likewise.
8112 (log1p_test_data): Likewise.
8113 (log2_test_data): Likewise.
8114 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8115 (pow_tonearest_test_data): Likewise.
8116 (sin_test_data): Update call to AUTO_TESTS_f_f.
8117 (sin_test): Use ALL_RM_TEST.
8118 (sin_tonearest_test_data): Remove.
8119 (sin_test_tonearest): Likewise.
8120 (sin_towardzero_test_data): Likewise.
8121 (sin_test_towardzero): Likewise.
8122 (sin_downward_test_data): Likewise.
8123 (sin_test_downward): Likewise.
8124 (sin_upward_test_data): Likewise.
8125 (sin_test_upward): Likewise.
8126 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8127 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8128 (sinh_test): Use ALL_RM_TEST.
8129 (sinh_tonearest_test_data): Remove.
8130 (sinh_test_tonearest): Likewise.
8131 (sinh_towardzero_test_data): Likewise.
8132 (sinh_test_towardzero): Likewise.
8133 (sinh_downward_test_data): Likewise.
8134 (sinh_test_downward): Likewise.
8135 (sinh_upward_test_data): Likewise.
8136 (sinh_test_upward): Likewise.
8137 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8138 (sqrt_test): Use ALL_RM_TEST.
8139 (sqrt_tonearest_test_data): Remove.
8140 (sqrt_test_tonearest): Likewise.
8141 (sqrt_towardzero_test_data): Likewise.
8142 (sqrt_test_towardzero): Likewise.
8143 (sqrt_downward_test_data): Likewise.
8144 (sqrt_test_downward): Likewise.
8145 (sqrt_upward_test_data): Likewise.
8146 (sqrt_test_upward): Likewise.
8147 (tan_test_data): Update call to AUTO_TESTS_f_f.
8148 (tan_test): Use ALL_RM_TEST.
8149 (tan_tonearest_test_data): Remove.
8150 (tan_test_tonearest): Likewise.
8151 (tan_towardzero_test_data): Likewise.
8152 (tan_test_towardzero): Likewise.
8153 (tan_downward_test_data): Likewise.
8154 (tan_test_downward): Likewise.
8155 (tan_upward_test_data): Likewise.
8156 (tan_test_upward): Likewise.
8157 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8158 (tgamma_test_data): Likewise.
8159 (y0_test_data): Likewise.
8160 (y1_test_data): Likewise.
8161 (yn_test_data): Update call to AUTO_TESTS_if_f.
8162 (main): Do not call removed functions.
8164 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8166 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8167 (ldexp_test_data): Remove.
8168 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8170 (scalb_test): Use ALL_RM_TEST.
8172 2014-03-19 Andreas Schwab <schwab@suse.de>
8174 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8176 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8179 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8180 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8182 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8183 (__ASSUME_PREADV): Undefine.
8184 (__ASSUME_PWRITEV): Likewise.
8186 2014-03-18 Roland McGrath <roland@hack.frob.com>
8188 * bits/mman-linux.h: Add comment about non-Linux use.
8189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8190 bits/mman-linux.h resting place.
8192 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8193 * bits/mman-linux.h: ... here.
8195 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8197 * conform/conformtest.pl: Add standard definition when calling C
8198 preprocessor on data files.
8199 (checknamespace): Remove unused variable.
8201 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8203 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8204 minus_oflow, plus_uflow and minus_uflow in expected results.
8205 * math/libm-test.inc (scalbn_test_data): Add more tests of
8206 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8208 (scalbn_test): Use ALL_RM_TEST.
8209 (scalbln_test_data): Add more tests of negative arguments. Use
8210 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8211 (scalbln_test): Use ALL_RM_TEST.
8213 2014-03-18 Roland McGrath <roland@hack.frob.com>
8215 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8217 2014-03-18 Will Newton <will.newton@linaro.org>
8219 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8222 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8224 * Makerules [!subdir] (check-abi): Exit with error status if a
8227 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8229 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8230 for rint. Include results for all rounding modes.
8231 (nearbyint_test): Use ALL_RM_TEST.
8232 (rint_test_data): Include all tests used for nearbyint.
8234 2014-03-17 Will Newton <will.newton@linaro.org>
8236 * nptl/sysdeps/pthread/pthread.h: Revert previous
8239 * sysdeps/generic/ldsodefs.h: Revert previous
8242 * libio/genops.c: Revert previous change.
8243 * libio/libioP.h: Likewise.
8244 * stdio-common/vfprintf.c: Likewise.
8246 * sysdeps/generic/math_private.h: Revert previous
8249 * sysdeps/generic/math_private.h: Check whether
8250 HAVE_RM_CTX is defined with #ifdef rather
8253 * argp/argp-fmtstream.h: Check whether
8254 __STRICT_ANSI__ is defined with #ifdef rather
8256 * argp/argp.h: Likewise.
8258 * libio/genops.c: Check whether
8259 _IO_JUMPS_OFFSET is defined with #ifdef rather
8261 * libio/libioP.h: Likewise.
8262 * stdio-common/vfprintf.c: Likewise.
8264 * sysdeps/generic/ldsodefs.h: Check whether
8265 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8268 * nptl/sysdeps/pthread/pthread.h: Check
8269 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8272 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8274 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8276 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8280 * libio/fileops.c (_IO_file_open): Seek to end of file but
8281 don't cache the offset.
8282 (get_file_offset): Remove function.
8283 (do_ftell): Use cached offset when available.
8284 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8285 don't cache the offset.
8286 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8288 (do_one_test): Call it.
8289 (do_ftell_test): Fix up expected old offset for a+ mode.
8290 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8293 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8294 up test status with function return status.
8295 (do_write_test): Likewise.
8296 (do_append_test): Likewise.
8298 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8299 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8302 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8304 * math/gen-libm-test.pl (parse_args): Handle results specified for
8305 each rounding mode separately.
8306 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8307 tests and results from lrint_tonearest_test_data,
8308 lrint_towardzero_test_data, lrint_downward_test_data and
8309 lrint_upward_test_data.
8310 (lrint_test): Use ALL_RM_TEST.
8311 (lrint_tonearest_test_data): Remove.
8312 (lrint_test_tonearest): Likewise.
8313 (lrint_towardzero_test_data): Likewise.
8314 (lrint_test_towardzero): Likewise.
8315 (lrint_downward_test_data): Likewise.
8316 (lrint_test_downward): Likewise.
8317 (lrint_upward_test_data): Likewise.
8318 (lrint_test_upward): Likewise.
8319 (llrint_test_data): Merge in per-rounding-mode tests and results
8320 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8321 llrint_downward_test_data and llrint_upward_test_data.
8322 (llrint_test): Use ALL_RM_TEST.
8323 (llrint_tonearest_test_data): Remove.
8324 (llrint_test_tonearest): Likewise.
8325 (llrint_towardzero_test_data): Likewise.
8326 (llrint_test_towardzero): Likewise.
8327 (llrint_downward_test_data): Likewise.
8328 (llrint_test_downward): Likewise.
8329 (llrint_upward_test_data): Likewise.
8330 (llrint_test_upward): Likewise.
8331 (rint_test_data): Merge in per-rounding-mode tests and results
8332 from rint_tonearest_test_data, rint_towardzero_test_data,
8333 rint_downward_test_data and rint_upward_test_data. Add
8334 per-rounding-mode results for tests not in those arrays.
8335 (rint_test): Use ALL_RM_TEST.
8336 (rint_tonearest_test_data): Remove.
8337 (rint_test_tonearest): Likewise.
8338 (rint_towardzero_test_data): Likewise.
8339 (rint_test_towardzero): Likewise.
8340 (rint_downward_test_data): Likewise.
8341 (rint_test_downward): Likewise.
8342 (rint_upward_test_data): Likewise.
8343 (rint_test_upward): Likewise.
8344 (main): Don't call removed functions.
8346 2014-03-14 Roland McGrath <roland@hack.frob.com>
8348 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8349 "Compiled on ..." crapola. It is anti-useful.
8351 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8353 * scripts/evaluate-test.sh: Handle fourth argument to determine
8354 whether test run should stop on failure.
8355 * Makeconfig (stop-on-test-failure): New variable.
8356 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8357 $(stop-on-test-failure).
8358 * Makefile (tests): Give a summary of results from testing and
8359 exit with failure status if they include an ERROR or FAIL.
8361 * manual/install.texi (Configuring and compiling): Mention
8362 stop-on-test-failure=y.
8363 * INSTALL: Regenerated.
8365 2014-03-14 Roland McGrath <roland@hack.frob.com>
8367 * scripts/versionlist.awk: New file.
8368 * Makerules [$(build-shared) = yes]
8369 (postclean-generated): Add Versions.def, not Versions.def.v and
8371 ($(common-objpfx)Versions.def.v.i): Target removed.
8372 ($(common-objpfx)Versions.def): New target.
8373 ($(common-objpfx)Versions.all): Depend on that rather that
8374 $(common-objpfx)Versions.def.v.
8375 * Versions.def: File removed.
8377 * Makeconfig (+gccwarn): Add -Wundef.
8378 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8379 a dl-sysdep.h breaking its contract.
8380 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8381 * include/stackinfo.h: New file.
8382 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8383 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8384 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8385 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8386 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8387 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8388 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8389 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8390 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8391 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8392 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8393 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8394 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8395 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8396 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8398 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8401 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8403 * math/libm-test.inc (round_test_data): Add more tests.
8406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8408 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8411 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8413 * math/libm-test.inc (ceil_test_data): Add more tests.
8415 * math/libm-test.inc (trunc_test_data): Add more tests related to
8418 2014-03-14 Roland McGrath <roland@hack.frob.com>
8420 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8421 with #if rather than #ifdef.
8422 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8424 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8426 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8427 first. Disable AVX-512 GCC support if assembler doesn't support
8429 * sysdeps/x86_64/configure: Regenerated.
8431 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8433 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8434 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8435 (__old_pthread_attr_setstack): Likewise.
8436 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8437 [!_STACK_GROWS_DOWN]: Likewise.
8439 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8441 * config.make.in (have-bash2): Delete.
8442 * configure.ac (libc_cv_have_bash2): Delete.
8443 * configure: Regenerate.
8444 * elf/Makefile (common-ldd-rewrite): Rename to ...
8445 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8446 (sh-ldd-rewrite): Delete.
8447 (bash-ldd-rewrite): Delete.
8448 (have-bash2): Delete checks.
8449 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8452 * config.make.in (have-ksh): Delete.
8454 * configure.ac (libc_cv_have_ksh): Delete.
8455 * configure: Regenerate.
8457 * elf/Makefile: Delete $(have-ksh) check.
8458 ($(objpfx)sotruss): Change KSH to BASH.
8459 * elf/sotruss.ksh: Rename to ...
8460 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8461 function style to match POSIX. Drop ksh vim mode setting.
8463 * manual/time.texi (Specifying the Time Zone with TZ): Change
8464 Tuesday to Thursday.
8466 * debug/tst-longjmp_chk2.c: Update header comment.
8467 (stackoverflow_handler): Add comment. Call assert on pass value.
8469 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8472 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8473 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8474 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8475 (La_x86_64_vector): Add zmm.
8476 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8477 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8478 ($(objpfx)tst-audit10): New target.
8479 ($(objpfx)tst-audit10.out): Likewise.
8480 (tst-audit10-ENV): New.
8481 (AVX512-CFLAGS): Likewise.
8482 (CFLAGS-tst-audit10.c): Likewise.
8483 (CFLAGS-tst-auditmod10a.c): Likewise.
8484 (CFLAGS-tst-auditmod10b.c): Likewise.
8485 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8486 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8487 * sysdeps/x86_64/configure: Regenerated.
8488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8489 AVX-512 zmm register support.
8490 (_dl_x86_64_save_sse): Likewise.
8491 (_dl_x86_64_restore_sse): Likewise.
8492 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8493 size vector registers.
8494 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8495 (ZMM_SIZE): Likewise.
8496 * sysdeps/x86_64/tst-audit10.c: New file.
8497 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8498 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8500 2014-03-13 Roland McGrath <roland@hack.frob.com>
8502 * configure.ac (HAVE_EHDR_START): New check.
8503 * configure: Regenerated.
8504 * config.h.in (HAVE_EHDR_START): New #undef.
8505 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8506 assuming the lowest-addressed segment maps the start of the file.
8508 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8510 * INSTALL: Regenerated.
8512 2014-03-13 Will Newton <will.newton@linaro.org>
8514 * manual/setjmp.texi (System V contexts): Improve
8515 clarity and grammar of documentation.
8517 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8520 * elf/Makefile (tests): Add tst-pie2.
8521 (tests-pie): Add tst-pie2.
8522 * elf/tst-pie2.c: New file.
8523 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8525 * elf/rtld.c (map_doit): Load executable as lt_executable.
8526 (dl_main): Likewise.
8528 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8531 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8532 (__ASSUME_PSELECT): Undefine.
8534 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8537 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8538 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8540 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8541 selector for static builds.
8543 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8546 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8549 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8551 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8552 IFUNC selector for static builds.
8554 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8556 * sysdeps/mips/math_private.h [__mips_hard_float]
8557 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8558 libc_feresetround_mips_ctx.
8559 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8560 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8561 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8564 * math/s_nextafter.c (__nextafter): Do not return value from
8565 overflowing computation.
8566 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8567 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8568 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8572 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8573 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8575 2014-03-11 Roland McGrath <roland@hack.frob.com>
8577 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8578 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8579 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8580 the new mov targetting sp.
8582 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8585 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8586 Define it for static builds as well.
8587 (NO_BZERO_IMPL): Likewise.
8589 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8591 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8592 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8593 multiarch strspn for PPC64.
8594 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8595 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8597 (__libc_ifunc_impl_list): Likewise.
8598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8599 multiarch optimizations
8600 * string/strspn.c (strspn): Using macro to redefine symbol name.
8602 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8603 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8605 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8606 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8607 multiarch strncat for PPC64.
8608 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8609 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8611 (__libc_ifunc_impl_list): Likewise.
8612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8613 multiarch optimizations
8615 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8618 * nscd/nscd.service: Make service type forking.
8620 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8622 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8623 sign in non default rounding modes.
8624 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8626 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8628 * math/libm-test.inc (ALL_RM_TEST): New macro.
8629 (ceil_test): Use ALL_RM_TEST.
8630 (cimag_test): Likewise.
8631 (conj_test): Likewise.
8632 (copysign_test): Likewise.
8633 (cproj_test): Likewise.
8634 (creal_test): Likewise.
8635 (fabs_test): Likewise.
8636 (floor_test): Likewise.
8637 (fmax_test): Likewise.
8638 (fmin_test): Likewise.
8639 (fmod_test): Likewise.
8640 (fpclassify_test): Likewise.
8641 (frexp_test): Likewise.
8642 (ilogb_test): Likewise.
8643 (isfinite_test): Likewise.
8644 (finite_test): Likewise.
8645 (isgreater_test): Likewise.
8646 (isgreaterequal_test): Likewise.
8647 (isinf_test): Likewise.
8648 (isless_test): Likewise.
8649 (islessequal_test): Likewise.
8650 (islessgreater_test): Likewise.
8651 (isnan_test): Likewise.
8652 (isnormal_test): Likewise.
8653 (issignaling_test): Likewise.
8654 (isunordered_test): Likewise.
8655 (logb_test): Likewise.
8656 (logb_downward_test_data): Remove.
8657 (logb_test_downward): Likewise.
8658 (lround_test): Use ALL_RM_TEST.
8659 (llround_test): Likewise.
8660 (modf_test): Likewise.
8661 (nexttoward_test): Likewise.
8662 (remainder_test): Likewise.
8663 (drem_test): Likewise.
8664 (remainder_tonearest_test_data): Likewise.
8665 (remainder_test_tonearest): Likewise.
8666 (drem_test_tonearest): Likewise.
8667 (remainder_towardzero_test_data): Likewise.
8668 (remainder_test_towardzero): Likewise.
8669 (drem_test_towardzero): Likewise.
8670 (remainder_downward_test_data): Likewise.
8671 (remainder_test_downward): Likewise.
8672 (drem_test_downward): Likewise.
8673 (remainder_upward_test_data): Likewise.
8674 (remainder_test_upward): Likewise.
8675 (drem_test_upward): Likewise.
8676 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8677 (round_test): Use ALL_RM_TEST.
8678 (signbit_test): Likewise.
8679 (trunc_test): Likewise.
8680 (significand_test): Likewise.
8681 (main): Don't call removed functions.
8683 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8686 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8688 (ILL_ILLOPN): Likewise.
8689 (ILL_ILLADR): Likewise.
8690 (ILL_ILLTRP): Likewise.
8691 (ILL_PRVOPC): Likewise.
8692 (ILL_PRVREG): Likewise.
8693 (ILL_COPROC): Likewise.
8694 (ILL_BADSTK): Likewise.
8695 (FPE_INTDIV): Likewise.
8696 (FPE_INTOVF): Likewise.
8697 (FPE_FLTDIV): Likewise.
8698 (FPE_FLTOVF): Likewise.
8699 (FPE_FLTUND): Likewise.
8700 (FPE_FLTRES): Likewise.
8701 (FPE_FLTINV): Likewise.
8702 (FPE_FLTSUB): Likewise.
8703 (SEGV_MAPERR): Likewise.
8704 (SEGV_ACCERR): Likewise.
8705 (BUS_ADRALN): Likewise.
8706 (BUS_ADRERR): Likewise.
8707 (BUS_OBJERR): Likewise.
8708 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8709 (TRAP_TRACE): Likewise.
8710 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8712 (CLD_KILLED): Likewise.
8713 (CLD_DUMPED): Likewise.
8714 (CLD_TRAPPED): Likewise.
8715 (CLD_STOPPED): Likewise.
8716 (CLD_CONTINUED): Likewise.
8717 (POLL_IN): Likewise.
8718 (POLL_OUT): Likewise.
8719 (POLL_MSG): Likewise.
8720 (POLL_ERR): Likewise.
8721 (POLL_PRI): Likewise.
8722 (POLL_HUP): Likewise.
8723 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8725 (ILL_ILLOPN): Likewise.
8726 (ILL_ILLADR): Likewise.
8727 (ILL_ILLTRP): Likewise.
8728 (ILL_PRVOPC): Likewise.
8729 (ILL_PRVREG): Likewise.
8730 (ILL_COPROC): Likewise.
8731 (ILL_BADSTK): Likewise.
8732 (FPE_INTDIV): Likewise.
8733 (FPE_INTOVF): Likewise.
8734 (FPE_FLTDIV): Likewise.
8735 (FPE_FLTOVF): Likewise.
8736 (FPE_FLTUND): Likewise.
8737 (FPE_FLTRES): Likewise.
8738 (FPE_FLTINV): Likewise.
8739 (FPE_FLTSUB): Likewise.
8740 (SEGV_MAPERR): Likewise.
8741 (SEGV_ACCERR): Likewise.
8742 (BUS_ADRALN): Likewise.
8743 (BUS_ADRERR): Likewise.
8744 (BUS_OBJERR): Likewise.
8745 (BUS_MCEERR_AR): Likewise.
8746 (BUS_MCEERR_AO): Likewise.
8747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8748 (TRAP_TRACE): Likewise.
8749 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8751 (CLD_KILLED): Likewise.
8752 (CLD_DUMPED): Likewise.
8753 (CLD_TRAPPED): Likewise.
8754 (CLD_STOPPED): Likewise.
8755 (CLD_CONTINUED): Likewise.
8756 (POLL_IN): Likewise.
8757 (POLL_OUT): Likewise.
8758 (POLL_MSG): Likewise.
8759 (POLL_ERR): Likewise.
8760 (POLL_PRI): Likewise.
8761 (POLL_HUP): Likewise.
8762 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8763 (ILL_ILLOPN): Likewise.
8764 (ILL_ILLADR): Likewise.
8765 (ILL_ILLTRP): Likewise.
8766 (ILL_PRVOPC): Likewise.
8767 (ILL_PRVREG): Likewise.
8768 (ILL_COPROC): Likewise.
8769 (ILL_BADSTK): Likewise.
8770 (FPE_INTDIV): Likewise.
8771 (FPE_INTOVF): Likewise.
8772 (FPE_FLTDIV): Likewise.
8773 (FPE_FLTOVF): Likewise.
8774 (FPE_FLTUND): Likewise.
8775 (FPE_FLTRES): Likewise.
8776 (FPE_FLTINV): Likewise.
8777 (FPE_FLTSUB): Likewise.
8778 (SEGV_MAPERR): Likewise.
8779 (SEGV_ACCERR): Likewise.
8780 (BUS_ADRALN): Likewise.
8781 (BUS_ADRERR): Likewise.
8782 (BUS_OBJERR): Likewise.
8783 (BUS_MCEERR_AR): Likewise.
8784 (BUS_MCEERR_AO): Likewise.
8785 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8786 (TRAP_TRACE): Likewise.
8787 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8789 (CLD_KILLED): Likewise.
8790 (CLD_DUMPED): Likewise.
8791 (CLD_TRAPPED): Likewise.
8792 (CLD_STOPPED): Likewise.
8793 (CLD_CONTINUED): Likewise.
8794 (POLL_IN): Likewise.
8795 (POLL_OUT): Likewise.
8796 (POLL_MSG): Likewise.
8797 (POLL_ERR): Likewise.
8798 (POLL_PRI): Likewise.
8799 (POLL_HUP): Likewise.
8800 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8802 (ILL_ILLOPN): Likewise.
8803 (ILL_ILLADR): Likewise.
8804 (ILL_ILLTRP): Likewise.
8805 (ILL_PRVOPC): Likewise.
8806 (ILL_PRVREG): Likewise.
8807 (ILL_COPROC): Likewise.
8808 (ILL_BADSTK): Likewise.
8809 (ILL_BADIADDR): Likewise.
8810 (ILL_BREAK): Likewise.
8811 (FPE_INTDIV): Likewise.
8812 (FPE_INTOVF): Likewise.
8813 (FPE_FLTDIV): Likewise.
8814 (FPE_FLTOVF): Likewise.
8815 (FPE_FLTUND): Likewise.
8816 (FPE_FLTRES): Likewise.
8817 (FPE_FLTINV): Likewise.
8818 (FPE_FLTSUB): Likewise.
8819 (FPE_DECOVF): Likewise.
8820 (FPE_DECDIV): Likewise.
8821 (FPE_DECERR): Likewise.
8822 (FPE_INVASC): Likewise.
8823 (FPE_INVDEC): Likewise.
8824 (SEGV_MAPERR): Likewise.
8825 (SEGV_ACCERR): Likewise.
8826 (SEGV_PSTKOVF): Likewise.
8827 (BUS_ADRALN): Likewise.
8828 (BUS_ADRERR): Likewise.
8829 (BUS_OBJERR): Likewise.
8830 (BUS_MCEERR_AR): Likewise.
8831 (BUS_MCEERR_AO): Likewise.
8832 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8833 (TRAP_TRACE): Likewise.
8834 (TRAP_BRANCH): Likewise.
8835 (TRAP_HWBKPT): Likewise.
8836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8838 (CLD_KILLED): Likewise.
8839 (CLD_DUMPED): Likewise.
8840 (CLD_TRAPPED): Likewise.
8841 (CLD_STOPPED): Likewise.
8842 (CLD_CONTINUED): Likewise.
8843 (POLL_IN): Likewise.
8844 (POLL_OUT): Likewise.
8845 (POLL_MSG): Likewise.
8846 (POLL_ERR): Likewise.
8847 (POLL_PRI): Likewise.
8848 (POLL_HUP): Likewise.
8849 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8850 (ILL_ILLOPN): Likewise.
8851 (ILL_ILLADR): Likewise.
8852 (ILL_ILLTRP): Likewise.
8853 (ILL_PRVOPC): Likewise.
8854 (ILL_PRVREG): Likewise.
8855 (ILL_COPROC): Likewise.
8856 (ILL_BADSTK): Likewise.
8857 (FPE_INTDIV): Likewise.
8858 (FPE_INTOVF): Likewise.
8859 (FPE_FLTDIV): Likewise.
8860 (FPE_FLTOVF): Likewise.
8861 (FPE_FLTUND): Likewise.
8862 (FPE_FLTRES): Likewise.
8863 (FPE_FLTINV): Likewise.
8864 (FPE_FLTSUB): Likewise.
8865 (SEGV_MAPERR): Likewise.
8866 (SEGV_ACCERR): Likewise.
8867 (BUS_ADRALN): Likewise.
8868 (BUS_ADRERR): Likewise.
8869 (BUS_OBJERR): Likewise.
8870 (BUS_MCEERR_AR): Likewise.
8871 (BUS_MCEERR_AO): Likewise.
8872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8873 (TRAP_TRACE): Likewise.
8874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8876 (CLD_KILLED): Likewise.
8877 (CLD_DUMPED): Likewise.
8878 (CLD_TRAPPED): Likewise.
8879 (CLD_STOPPED): Likewise.
8880 (CLD_CONTINUED): Likewise.
8881 (POLL_IN): Likewise.
8882 (POLL_OUT): Likewise.
8883 (POLL_MSG): Likewise.
8884 (POLL_ERR): Likewise.
8885 (POLL_PRI): Likewise.
8886 (POLL_HUP): Likewise.
8887 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8888 (ILL_ILLOPN): Likewise.
8889 (ILL_ILLADR): Likewise.
8890 (ILL_ILLTRP): Likewise.
8891 (ILL_PRVOPC): Likewise.
8892 (ILL_PRVREG): Likewise.
8893 (ILL_COPROC): Likewise.
8894 (ILL_BADSTK): Likewise.
8895 (FPE_INTDIV): Likewise.
8896 (FPE_INTOVF): Likewise.
8897 (FPE_FLTDIV): Likewise.
8898 (FPE_FLTOVF): Likewise.
8899 (FPE_FLTUND): Likewise.
8900 (FPE_FLTRES): Likewise.
8901 (FPE_FLTINV): Likewise.
8902 (FPE_FLTSUB): Likewise.
8903 (SEGV_MAPERR): Likewise.
8904 (SEGV_ACCERR): Likewise.
8905 (BUS_ADRALN): Likewise.
8906 (BUS_ADRERR): Likewise.
8907 (BUS_OBJERR): Likewise.
8908 (BUS_MCEERR_AR): Likewise.
8909 (BUS_MCEERR_AO): Likewise.
8910 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8911 (TRAP_TRACE): Likewise.
8912 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8914 (CLD_KILLED): Likewise.
8915 (CLD_DUMPED): Likewise.
8916 (CLD_TRAPPED): Likewise.
8917 (CLD_STOPPED): Likewise.
8918 (CLD_CONTINUED): Likewise.
8919 (POLL_IN): Likewise.
8920 (POLL_OUT): Likewise.
8921 (POLL_MSG): Likewise.
8922 (POLL_ERR): Likewise.
8923 (POLL_PRI): Likewise.
8924 (POLL_HUP): Likewise.
8925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8926 (ILL_ILLOPN): Likewise.
8927 (ILL_ILLADR): Likewise.
8928 (ILL_ILLTRP): Likewise.
8929 (ILL_PRVOPC): Likewise.
8930 (ILL_PRVREG): Likewise.
8931 (ILL_COPROC): Likewise.
8932 (ILL_BADSTK): Likewise.
8933 (FPE_INTDIV): Likewise.
8934 (FPE_INTOVF): Likewise.
8935 (FPE_FLTDIV): Likewise.
8936 (FPE_FLTOVF): Likewise.
8937 (FPE_FLTUND): Likewise.
8938 (FPE_FLTRES): Likewise.
8939 (FPE_FLTINV): Likewise.
8940 (FPE_FLTSUB): Likewise.
8941 (SEGV_MAPERR): Likewise.
8942 (SEGV_ACCERR): Likewise.
8943 (BUS_ADRALN): Likewise.
8944 (BUS_ADRERR): Likewise.
8945 (BUS_OBJERR): Likewise.
8946 (BUS_MCEERR_AR): Likewise.
8947 (BUS_MCEERR_AO): Likewise.
8948 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8949 (TRAP_TRACE): Likewise.
8950 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8952 (CLD_KILLED): Likewise.
8953 (CLD_DUMPED): Likewise.
8954 (CLD_TRAPPED): Likewise.
8955 (CLD_STOPPED): Likewise.
8956 (CLD_CONTINUED): Likewise.
8957 (POLL_IN): Likewise.
8958 (POLL_OUT): Likewise.
8959 (POLL_MSG): Likewise.
8960 (POLL_ERR): Likewise.
8961 (POLL_PRI): Likewise.
8962 (POLL_HUP): Likewise.
8963 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8964 (ILL_ILLOPN): Likewise.
8965 (ILL_ILLADR): Likewise.
8966 (ILL_ILLTRP): Likewise.
8967 (ILL_PRVOPC): Likewise.
8968 (ILL_PRVREG): Likewise.
8969 (ILL_COPROC): Likewise.
8970 (ILL_BADSTK): Likewise.
8971 (ILL_DBLFLT): Likewise.
8972 (ILL_HARDWALL): Likewise.
8973 (FPE_INTDIV): Likewise.
8974 (FPE_INTOVF): Likewise.
8975 (FPE_FLTDIV): Likewise.
8976 (FPE_FLTOVF): Likewise.
8977 (FPE_FLTUND): Likewise.
8978 (FPE_FLTRES): Likewise.
8979 (FPE_FLTINV): Likewise.
8980 (FPE_FLTSUB): Likewise.
8981 (SEGV_MAPERR): Likewise.
8982 (SEGV_ACCERR): Likewise.
8983 (BUS_ADRALN): Likewise.
8984 (BUS_ADRERR): Likewise.
8985 (BUS_OBJERR): Likewise.
8986 (BUS_MCEERR_AR): Likewise.
8987 (BUS_MCEERR_AO): Likewise.
8988 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8989 (TRAP_TRACE): Likewise.
8990 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8992 (CLD_KILLED): Likewise.
8993 (CLD_DUMPED): Likewise.
8994 (CLD_TRAPPED): Likewise.
8995 (CLD_STOPPED): Likewise.
8996 (CLD_CONTINUED): Likewise.
8997 (POLL_IN): Likewise.
8998 (POLL_OUT): Likewise.
8999 (POLL_MSG): Likewise.
9000 (POLL_ERR): Likewise.
9001 (POLL_PRI): Likewise.
9002 (POLL_HUP): Likewise.
9003 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9004 (ILL_ILLOPN): Likewise.
9005 (ILL_ILLADR): Likewise.
9006 (ILL_ILLTRP): Likewise.
9007 (ILL_PRVOPC): Likewise.
9008 (ILL_PRVREG): Likewise.
9009 (ILL_COPROC): Likewise.
9010 (ILL_BADSTK): Likewise.
9011 (FPE_INTDIV): Likewise.
9012 (FPE_INTOVF): Likewise.
9013 (FPE_FLTDIV): Likewise.
9014 (FPE_FLTOVF): Likewise.
9015 (FPE_FLTUND): Likewise.
9016 (FPE_FLTRES): Likewise.
9017 (FPE_FLTINV): Likewise.
9018 (FPE_FLTSUB): Likewise.
9019 (SEGV_MAPERR): Likewise.
9020 (SEGV_ACCERR): Likewise.
9021 (BUS_ADRALN): Likewise.
9022 (BUS_ADRERR): Likewise.
9023 (BUS_OBJERR): Likewise.
9024 (BUS_MCEERR_AR): Likewise.
9025 (BUS_MCEERR_AO): Likewise.
9026 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9027 (TRAP_TRACE): Likewise.
9028 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9030 (CLD_KILLED): Likewise.
9031 (CLD_DUMPED): Likewise.
9032 (CLD_TRAPPED): Likewise.
9033 (CLD_STOPPED): Likewise.
9034 (CLD_CONTINUED): Likewise.
9035 (POLL_IN): Likewise.
9036 (POLL_OUT): Likewise.
9037 (POLL_MSG): Likewise.
9038 (POLL_ERR): Likewise.
9039 (POLL_PRI): Likewise.
9040 (POLL_HUP): Likewise.
9041 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9042 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9045 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9046 before #include of <time.h>.
9047 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9048 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9049 (test-xfail-UNIX98/sched.h/conform): Likewise.
9051 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9053 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9054 error absence of trapping exception support.
9055 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9057 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9059 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9060 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9061 * timezone/Makefile (testdata): Move definition above include of
9063 (test-zones): New variable.
9064 (tests-special): Add zone files.
9065 (build-testdata): Use $(evaluate-test).
9067 * elf/Makefile (tests-special): Rename tests to end with .out.
9068 ($(objpfx)noload-mem): Likewise.
9069 ($(objpfx)tst-leaks1-mem): Likewise.
9070 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9071 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9072 $(objpfx)test-iconvconfig.out.
9073 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9074 set -e inside subshell and redirect output to file.
9075 * iconvdata/Makefile (generated): Rename tests to end with .out.
9077 (tests-special): Rename tests to end with .out.
9078 ($(objpfx)mtrace-tst-loading): Likewise.
9079 * intl/Makefile (generated): Likewise.
9080 (tests-special): Likewise.
9081 ($(objpfx)mtrace-tst-gettext): Likewise.
9082 * misc/Makefile (generated): Likewise.
9083 (tests-special): Likewise.
9084 ($(objpfx)tst-error1-mem): Likewise.
9085 * nptl/Makefile (tests-special): Likewise.
9086 ($(objpfx)tst-stack3-mem): Likewise.
9087 (generated): Likewise.
9088 * posix/Makefile (generated): Likewise.
9089 (tests-special): Likewise.
9090 (xtests-special): Likewise.
9091 ($(objpfx)tst-fnmatch-mem): Likewise.
9092 ($(objpfx)bug-regex2-mem): Likewise.
9093 ($(objpfx)bug-regex14-mem): Likewise.
9094 ($(objpfx)bug-regex21-mem): Likewise.
9095 ($(objpfx)bug-regex31-mem): Likewise.
9096 ($(objpfx)tst-vfork3-mem): Likewise.
9097 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9098 ($(objpfx)tst-pcre-mem): Likewise.
9099 ($(objpfx)tst-boost-mem): Likewise.
9100 ($(objpfx)bug-ga2-mem): Likewise.
9101 ($(objpfx)bug-glob2-mem): Likewise.
9102 * resolv/Makefile (generate): Likewise.
9103 (tests-special): Likewise.
9104 (xtests-special): Likewise.
9105 (generated): Likewise.
9106 ($(objpfx)mtrace-tst-leaks): Likewise.
9107 ($(objpfx)mtrace-tst-leaks2): Likewise.
9109 * scripts/merge-test-results.sh: New file.
9110 * Makefile (tests-special-notdir): New variable.
9111 (tests): Run merge-test-results.sh.
9113 * Rules (tests-special-notdir): New variable.
9114 (xtests-special-notdir): Likewise.
9115 (tests): Run merge-test-results.sh
9118 * Makeconfig (test-xfail-name): New variable.
9119 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9120 compute variable name for expected failures.
9121 * conform/Makefile (conformtest-headers-data): New variable.
9122 (conformtest-standards): Likewise.
9123 (conformtest-headers-ISO): Likewise.
9124 (conformtest-headers-ISO99): Likewise.
9125 (conformtest-headers-ISO11): Likewise.
9126 (conformtest-headers-POSIX): Likewise.
9127 (conformtest-headers-XPG3): Likewise.
9128 (conformtest-headers-XPG4): Likewise.
9129 (conformtest-headers-UNIX98): Likewise.
9130 (conformtest-headers-XOPEN2K): Likewise.
9131 (conformtest-headers-POSIX2008): Likewise.
9132 (conformtest-headers-XOPEN2K8): Likewise.
9133 (conformtest-header-list-base): Likewise.
9134 (conformtest-header-list-tests): Likewise.
9135 (conformtest-header-base): Likewise.
9136 (conformtest-header-tests): Likewise.
9137 (tests-special): Add $(conformtest-header-list-tests). If
9138 [$(fast-check) && !$(cross-compiling)], add
9139 $(conformtest-header-tests) instead of
9140 $(objpfx)run-conformtest.out.
9141 (generated): Add $(conformtest-header-list-base). If
9142 [$(fast-check) && !$(cross-compiling)], add
9143 $(conformtest-header-base). Remove previous setting.
9144 ($(conformtest-header-list-tests)): New target.
9145 (test-xfail-run-conformtest): Remove variable.
9146 ($(objpfx)run-conformtest.out): Remove target.
9147 (test-xfail-ISO11/complex.h/conform): New variable.
9148 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9149 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9150 (test-xfail-XPG3/varargs.h/conform): Likewise.
9151 (test-xfail-XPG4/varargs.h/conform): Likewise.
9152 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9153 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9154 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9155 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9156 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9157 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9158 (test-xfail-XPG3/ftw.h/conform): Likewise.
9159 (test-xfail-XPG3/grp.h/conform): Likewise.
9160 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9161 (test-xfail-XPG3/limits.h/conform): Likewise.
9162 (test-xfail-XPG3/pwd.h/conform): Likewise.
9163 (test-xfail-XPG3/search.h/conform): Likewise.
9164 (test-xfail-XPG3/signal.h/conform): Likewise.
9165 (test-xfail-XPG3/stdio.h/conform): Likewise.
9166 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9167 (test-xfail-XPG3/string.h/conform): Likewise.
9168 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9169 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9170 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9171 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9172 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9173 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9174 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9175 (test-xfail-XPG3/termios.h/conform): Likewise.
9176 (test-xfail-XPG3/time.h/conform): Likewise.
9177 (test-xfail-XPG3/unistd.h/conform): Likewise.
9178 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9179 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9180 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9181 (test-xfail-XPG4/netdb.h/conform): Likewise.
9182 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9183 (test-xfail-XPG4/signal.h/conform): Likewise.
9184 (test-xfail-XPG4/stdio.h/conform): Likewise.
9185 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9186 (test-xfail-XPG4/stropts.h/conform): Likewise.
9187 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9188 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9189 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9190 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9191 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9192 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9193 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9194 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9195 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9196 (test-xfail-XPG4/termios.h/conform): Likewise.
9197 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9198 (test-xfail-XPG4/unistd.h/conform): Likewise.
9199 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9200 (test-xfail-POSIX/sched.h/conform): Likewise.
9201 (test-xfail-POSIX/signal.h/conform): Likewise.
9202 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9203 (test-xfail-POSIX/tar.h/conform): Likewise.
9204 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9205 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9206 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9207 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9208 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9209 (test-xfail-UNIX98/sched.h/conform): Likewise.
9210 (test-xfail-UNIX98/signal.h/conform): Likewise.
9211 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9212 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9213 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9214 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9215 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9216 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9217 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9218 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9219 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9220 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9221 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9222 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9223 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9224 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9225 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9226 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9227 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9228 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9229 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9230 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9231 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9232 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9233 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9234 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9235 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9236 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9237 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9238 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9239 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9240 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9241 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9242 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9243 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9244 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9245 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9246 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9247 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9248 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9249 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9250 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9251 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9252 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9253 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9254 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9255 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9256 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9257 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9258 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9259 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9260 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9261 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9262 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9263 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9264 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9265 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9266 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9267 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9268 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9269 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9270 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9271 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9272 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9273 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9274 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9275 (conformtest-cc-flags): Likewise.
9276 ($(conformtest-header-tests): New target.
9277 * conform/check-header-lists.sh: New file.
9278 * conform/run-conformtest.sh: Remove.
9280 * conform/conformtest.pl: Allow ' and \ in values given for
9282 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9284 [POSIX] (sys/types.h): Likewise.
9285 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9287 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9289 * conform/data/signal.h-data (SIGIO): Remove expectation.
9290 [XPG3] (SIGBUS): Do not expect.
9291 [POSIX || XPG3] (SIGPOLL): Likewise.
9292 [POSIX || XPG3] (SIGPROF): Likewise.
9293 [POSIX || XPG3] (SIGSYS): Likewise.
9294 [XPG3] (SIGTRAP): Likewise.
9295 [POSIX || XPG3] (SIGURG): Likewise.
9296 [POSIX || XPG3] (SIGVTALRM): Likewise.
9297 [POSIX || XPG3] (SIGXCPU): Likewise.
9298 [POSIX || XPG3] (SIGXFSZ): Likewise.
9299 [POSIX] (SA_SIGINFO): Expect.
9300 [XPG3] (siginfo_t): Do not expect type or contents.
9301 [POSIX] (si_pid): Do not expect element.
9302 [POSIX] (si_uid): Likewise.
9303 [POSIX] (si_addr): Likewise.
9304 [POSIX] (si_status): Likewise.
9305 [POSIX] (si_band): Likewise.
9306 [XPG4] (si_value): Likewise.
9307 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9308 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9309 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9310 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9311 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9312 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9313 [POSIX || XPG3] (ILL_COPROC): Likewise.
9314 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9315 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9316 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9317 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9318 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9319 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9320 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9321 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9322 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9323 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9324 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9325 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9326 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9327 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9328 [POSIX || XPG3] (CLD_EXITED): Likewise.
9329 [POSIX || XPG3] (CLD_KILLED): Likewise.
9330 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9331 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9332 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9333 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9334 [POSIX || XPG3] (POLL_IN): Likewise.
9335 [POSIX || XPG3] (POLL_OUT): Likewise.
9336 [POSIX || XPG3] (POLL_MSG): Likewise.
9337 [POSIX || XPG3] (POLL_ERR): Likewise.
9338 [POSIX || XPG3] (POLL_PRI): Likewise.
9339 [POSIX || XPG3] (POLL_HUP): Likewise.
9340 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9341 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9342 (SIG*): Do not allow.
9343 [XPG3] (si_*): Likewise.
9344 [XPG3] (SI_*): Likewise.
9345 [XPG3 || XPG4] (sigev_*): Likewise.
9346 [XPG3 || XPG4] (SIGEV_*): Likewise.
9347 [XPG3 || XPG4] (sival_*): Likewise.
9348 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9349 [POSIX || XPG3] (BUS_*): Likewise.
9350 [POSIX || XPG3] (CLD_*): Likewise.
9351 [POSIX || XPG3] (FPE_*): Likewise.
9352 [POSIX || XPG3] (ILL_*): Likewise.
9353 [POSIX || XPG3] (POLL_*): Likewise.
9354 [POSIX || XPG3] (SEGV_*): Likewise.
9355 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9356 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9357 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9358 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9359 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9360 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9361 Specify type and value.
9362 (TVERSLEN): Likewise.
9363 (REGTYPE): Likewise.
9364 (AREGTYPE): Likewise.
9365 (LNKTYPE): Likewise.
9366 (SYMTYPE): Likewise.
9367 (CHRTYPE): Likewise.
9368 (BLKTYPE): Likewise.
9369 (DIRTYPE): Likewise.
9370 (FIFOTYPE): Likewise.
9371 (CONTTYPE): Likewise.
9376 (TUWRITE): Likewise.
9379 (TGWRITE): Likewise.
9382 (TOWRITE): Likewise.
9384 [POSIX] (TSVTX): Expect constant.
9386 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9388 * Makefile (tests): Change dependencies to ....
9389 (tests-special): ... additions to this variable.
9390 (tests): Depend on $(tests-special).
9391 * Makerules (check-abi-list): New variable.
9392 (check-abi): Depend on $(check-abi-list).
9393 [$(subdir) = elf] (tests-special): Add
9394 $(objpfx)check-abi-libc.out.
9395 [$(build-shared) = yes && subdir] (tests-special): Add
9397 [$(build-shared) = yes && subdir] (tests): Do not depend on
9399 * Rules (tests): Depend on $(tests-special).
9400 (xtests): Depend on $(xtests-special).
9401 * catgets/Makefile (tests): Change dependencies to ....
9402 (tests-special): ... additions to this variable.
9403 * conform/Makefile (tests): Change dependencies to ....
9404 (tests-special): ... additions to this variable.
9405 * elf/Makefile (tests): Change dependencies to ....
9406 (tests-special): ... additions to this variable.
9407 * grp/Makefile (tests): Change dependencies to ....
9408 (tests-special): ... additions to this variable.
9409 * iconv/Makefile (xtests): Change dependencies to ....
9410 (xtests-special): ... additions to this variable.
9411 * iconvdata/Makefile (tests): Change dependencies to ....
9412 (tests-special): ... additions to this variable.
9413 * intl/Makefile (tests): Change dependencies to ....
9414 (tests-special): ... additions to this variable. Also add
9415 $(objpfx)tst-gettext.out.
9416 * io/Makefile (tests): Change dependencies to ....
9417 (tests-special): ... additions to this variable.
9418 * libio/Makefile (tests): Change dependencies to ....
9419 (tests-special): ... additions to this variable.
9420 * malloc/Makefile (tests): Change dependencies to ....
9421 (tests-special): ... additions to this variable.
9422 * misc/Makefile (tests): Change dependencies to ....
9423 (tests-special): ... additions to this variable.
9424 * nptl/Makefile (tests): Change dependencies to ....
9425 (tests-special): ... additions to this variable.
9426 * nptl_db/Makefile (tests): Change dependencies to ....
9427 (tests-special): ... additions to this variable.
9428 * posix/Makefile (tests): Change dependencies to ....
9429 (tests-special): ... additions to this variable.
9430 (xtests): Change dependencies to ....
9431 (xtests-special): ... additions to this variable.
9432 * resolv/Makefile (tests): Change dependencies to ....
9433 (tests-special): ... additions to this variable.
9434 (xtests): Change dependencies to ....
9435 (xtests-special): ... additions to this variable.
9436 * stdio-common/Makefile (tests): Change dependencies to ....
9437 (tests-special): ... additions to this variable.
9438 (do-tst-unbputc): Remove target.
9439 (do-tst-printf): Likewise.
9440 * stdlib/Makefile (tests): Change dependencies to ....
9441 (tests-special): ... additions to this variable.
9442 * string/Makefile (tests): Change dependencies to ....
9443 (tests-special): ... additions to this variable.
9444 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9445 (tests-special): ... additions to this variable.
9447 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9449 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9451 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9452 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9454 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9455 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9456 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9457 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9458 * conform/data/libgen.h-data [XPG3]: Likewise.
9459 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9460 * conform/data/ndbm.h-data [XPG3]: Likewise.
9461 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9462 * conform/data/netdb.h-data [XPG3]: Likewise.
9463 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9464 * conform/data/poll.h-data [XPG3]: Likewise.
9465 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9466 * conform/data/strings.h-data [XPG3]: Likewise.
9467 * conform/data/stropts.h-data [XPG3]: Likewise.
9468 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9469 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9470 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9472 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9473 * conform/data/sys/time.h-data [XPG3]: Likewise.
9474 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9475 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9476 * conform/data/sys/un.h-data [XPG3]: Likewise.
9477 * conform/data/syslog.h-data [XPG3]: Likewise.
9478 * conform/data/ucontext.h-data [XPG3]: Likewise.
9479 * conform/data/utmpx.h-data [XPG3]: Likewise.
9480 * conform/data/varargs.h-data [UNIX98]: Enable file.
9482 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9484 * math/libm-test.inc (struct test_f_f_data): Move expected results
9485 into structure for each rounding mode.
9486 (struct test_ff_f_data): Likewise.
9487 (struct test_ff_f_data_nexttoward): Likewise.
9488 (struct test_fi_f_data): Likewise.
9489 (struct test_fl_f_data): Likewise.
9490 (struct test_if_f_data): Likewise.
9491 (struct test_fff_f_data): Likewise.
9492 (struct test_c_f_data): Likewise.
9493 (struct test_f_f1_data): Likewise.
9494 (struct test_fF_f1_data): Likewise.
9495 (struct test_ffI_f1_data): Likewise.
9496 (struct test_c_c_data): Likewise.
9497 (struct test_cc_c_data): Likewise.
9498 (struct test_f_i_data): Likewise.
9499 (struct test_ff_i_data): Likewise.
9500 (struct test_f_l_data): Likewise.
9501 (struct test_f_L_data): Likewise.
9502 (struct test_fFF_11_data): Likewise.
9504 (RM_FE_DOWNWARD): Likewise.
9505 (RM_FE_TONEAREST): Likewise.
9506 (RM_FE_TOWARDZERO): Likewise.
9507 (RM_FE_UPWARD): Likewise.
9508 (RUN_TEST_LOOP_f_f): Update references to expected results.
9509 (RUN_TEST_LOOP_2_f): Likewise.
9510 (RUN_TEST_LOOP_fff_f): Likewise.
9511 (RUN_TEST_LOOP_c_f): Likewise.
9512 (RUN_TEST_LOOP_f_f1): Likewise.
9513 (RUN_TEST_LOOP_fF_f1): Likewise.
9514 (RUN_TEST_LOOP_fI_f1): Likewise.
9515 (RUN_TEST_LOOP_ffI_f1): Likewise.
9516 (RUN_TEST_LOOP_c_c): Likewise.
9517 (RUN_TEST_LOOP_cc_c): Likewise.
9518 (RUN_TEST_LOOP_f_i): Likewise.
9519 (RUN_TEST_LOOP_f_i_tg): Likewise.
9520 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9521 (RUN_TEST_LOOP_f_b): Likewise.
9522 (RUN_TEST_LOOP_f_b_tg): Likewise.
9523 (RUN_TEST_LOOP_f_l): Likewise.
9524 (RUN_TEST_LOOP_f_L): Likewise.
9525 (RUN_TEST_LOOP_fFF_11): Likewise.
9526 * math/gen-libm-test.pl (parse_args): Output four copies of
9527 expected results for each test.
9529 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9530 (__ASSUME_UTIMES): Remove.
9531 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9532 (__ASSUME_UTIMES): Likewise.
9534 * math/gen-auto-libm-tests.c: Update comment on output format.
9535 (output_for_one_input_case): Generate before-rounding and
9536 after-rounding information as conditions on output flags not
9537 floating-point format.
9538 * math/auto-libm-test-out: Regenerated.
9539 * math/gen-libm-test.pl (cond_value): New function.
9540 (or_cond_value): Use cond_value.
9541 (generate_testfile): Handle conditional exceptions.
9543 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9545 * math/libm-test.inc (max_valid_error): New variable.
9546 (init_max_error): Take new argument specifying whether function
9547 results are exactly determined. Set max_valid_error and bound
9548 other variables for errors based on this argument.
9549 (set_max_error): Do not record results above max_valid_error.
9550 (check_float_internal): Only accept errors of up to 0.5ulps if
9551 also at most max_valid_error.
9552 (START): Take new argument EXACT and pass it to init_max_error.
9553 (acos_test): Update call to START.
9554 (acos_test_tonearest): Likewise.
9555 (acos_test_towardzero): Likewise.
9556 (acos_test_downward): Likewise.
9557 (acos_test_upward): Likewise.
9558 (acosh_test): Likewise.
9559 (asin_test): Likewise.
9560 (asin_test_tonearest): Likewise.
9561 (asin_test_towardzero): Likewise.
9562 (asin_test_downward): Likewise.
9563 (asin_test_upward): Likewise.
9564 (asinh_test): Likewise.
9565 (atan_test): Likewise.
9566 (atanh_test): Likewise.
9567 (atan2_test): Likewise.
9568 (cabs_test): Likewise.
9569 (cacos_test): Likewise.
9570 (cacosh_test): Likewise.
9571 (carg_test): Likewise.
9572 (casin_test): Likewise.
9573 (casinh_test): Likewise.
9574 (catan_test): Likewise.
9575 (catanh_test): Likewise.
9576 (cbrt_test): Likewise.
9577 (ccos_test): Likewise.
9578 (ccosh_test): Likewise.
9579 (ceil_test): Likewise.
9580 (cexp_test): Likewise.
9581 (cimag_test): Likewise.
9582 (clog_test): Likewise.
9583 (clog10_test): Likewise.
9584 (conj_test): Likewise.
9585 (copysign_test): Likewise.
9586 (cos_test): Likewise.
9587 (cos_test_tonearest): Likewise.
9588 (cos_test_towardzero): Likewise.
9589 (cos_test_downward): Likewise.
9590 (cos_test_upward): Likewise.
9591 (cosh_test): Likewise.
9592 (cosh_test_tonearest): Likewise.
9593 (cosh_test_towardzero): Likewise.
9594 (cosh_test_downward): Likewise.
9595 (cosh_test_upward): Likewise.
9596 (cpow_test): Likewise.
9597 (cproj_test): Likewise.
9598 (creal_test): Likewise.
9599 (csin_test): Likewise.
9600 (csinh_test): Likewise.
9601 (csqrt_test): Likewise.
9602 (ctan_test): Likewise.
9603 (ctan_test_tonearest): Likewise.
9604 (ctan_test_towardzero): Likewise.
9605 (ctan_test_downward): Likewise.
9606 (ctan_test_upward): Likewise.
9607 (ctanh_test): Likewise.
9608 (ctanh_test_tonearest): Likewise.
9609 (ctanh_test_towardzero): Likewise.
9610 (ctanh_test_downward): Likewise.
9611 (ctanh_test_upward): Likewise.
9612 (erf_test): Likewise.
9613 (erfc_test): Likewise.
9614 (exp_test): Likewise.
9615 (exp_test_tonearest): Likewise.
9616 (exp_test_towardzero): Likewise.
9617 (exp_test_downward): Likewise.
9618 (exp_test_upward): Likewise.
9619 (exp10_test): Likewise.
9620 (exp10_test_tonearest): Likewise.
9621 (exp10_test_towardzero): Likewise.
9622 (exp10_test_downward): Likewise.
9623 (exp10_test_upward): Likewise.
9624 (pow10_test): Likewise.
9625 (exp2_test): Likewise.
9626 (expm1_test): Likewise.
9627 (expm1_test_tonearest): Likewise.
9628 (expm1_test_towardzero): Likewise.
9629 (expm1_test_downward): Likewise.
9630 (expm1_test_upward): Likewise.
9631 (fabs_test): Likewise.
9632 (fdim_test): Likewise.
9633 (floor_test): Likewise.
9634 (fma_test): Likewise.
9635 (fma_test_towardzero): Likewise.
9636 (fma_test_downward): Likewise.
9637 (fma_test_upward): Likewise.
9638 (fmax_test): Likewise.
9639 (fmin_test): Likewise.
9640 (fmod_test): Likewise.
9641 (fpclassify_test): Likewise.
9642 (frexp_test): Likewise.
9643 (hypot_test): Likewise.
9644 (ilogb_test): Likewise.
9645 (isfinite_test): Likewise.
9646 (finite_test): Likewise.
9647 (isgreater_test): Likewise.
9648 (isgreaterequal_test): Likewise.
9649 (isinf_test): Likewise.
9650 (isless_test): Likewise.
9651 (islessequal_test): Likewise.
9652 (islessgreater_test): Likewise.
9653 (isnan_test): Likewise.
9654 (isnormal_test): Likewise.
9655 (issignaling_test): Likewise.
9656 (isunordered_test): Likewise.
9657 (j0_test): Likewise.
9658 (j1_test): Likewise.
9659 (jn_test): Likewise.
9660 (ldexp_test): Likewise.
9661 (lgamma_test): Likewise.
9662 (gamma_test): Likewise.
9663 (lrint_test): Likewise.
9664 (lrint_test_tonearest): Likewise.
9665 (lrint_test_towardzero): Likewise.
9666 (lrint_test_downward): Likewise.
9667 (lrint_test_upward): Likewise.
9668 (llrint_test): Likewise.
9669 (llrint_test_tonearest): Likewise.
9670 (llrint_test_towardzero): Likewise.
9671 (llrint_test_downward): Likewise.
9672 (llrint_test_upward): Likewise.
9673 (log_test): Likewise.
9674 (log10_test): Likewise.
9675 (log1p_test): Likewise.
9676 (log2_test): Likewise.
9677 (logb_test): Likewise.
9678 (logb_test_downward): Likewise.
9679 (lround_test): Likewise.
9680 (llround_test): Likewise.
9681 (modf_test): Likewise.
9682 (nearbyint_test): Likewise.
9683 (nextafter_test): Likewise.
9684 (nexttoward_test): Likewise.
9685 (pow_test): Likewise.
9686 (pow_test_tonearest): Likewise.
9687 (pow_test_towardzero): Likewise.
9688 (pow_test_downward): Likewise.
9689 (pow_test_upward): Likewise.
9690 (remainder_test): Likewise.
9691 (drem_test): Likewise.
9692 (remainder_test_tonearest): Likewise.
9693 (drem_test_tonearest): Likewise.
9694 (remainder_test_towardzero): Likewise.
9695 (drem_test_towardzero): Likewise.
9696 (remainder_test_downward): Likewise.
9697 (drem_test_downward): Likewise.
9698 (remainder_test_upward): Likewise.
9699 (drem_test_upward): Likewise.
9700 (remquo_test): Likewise.
9701 (rint_test): Likewise.
9702 (rint_test_tonearest): Likewise.
9703 (rint_test_towardzero): Likewise.
9704 (rint_test_downward): Likewise.
9705 (rint_test_upward): Likewise.
9706 (round_test): Likewise.
9707 (scalb_test): Likewise.
9708 (scalbn_test): Likewise.
9709 (scalbln_test): Likewise.
9710 (signbit_test): Likewise.
9711 (sin_test): Likewise.
9712 (sin_test_tonearest): Likewise.
9713 (sin_test_towardzero): Likewise.
9714 (sin_test_downward): Likewise.
9715 (sin_test_upward): Likewise.
9716 (sincos_test): Likewise.
9717 (sinh_test): Likewise.
9718 (sinh_test_tonearest): Likewise.
9719 (sinh_test_towardzero): Likewise.
9720 (sinh_test_downward): Likewise.
9721 (sinh_test_upward): Likewise.
9722 (sqrt_test): Likewise.
9723 (sqrt_test_tonearest): Likewise.
9724 (sqrt_test_towardzero): Likewise.
9725 (sqrt_test_downward): Likewise.
9726 (sqrt_test_upward): Likewise.
9727 (tan_test): Likewise.
9728 (tan_test_tonearest): Likewise.
9729 (tan_test_towardzero): Likewise.
9730 (tan_test_downward): Likewise.
9731 (tan_test_upward): Likewise.
9732 (tanh_test): Likewise.
9733 (tgamma_test): Likewise.
9734 (trunc_test): Likewise.
9735 (y0_test): Likewise.
9736 (y1_test): Likewise.
9737 (yn_test): Likewise.
9738 (significand_test): Likewise.
9740 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9741 individual tests in comment.
9742 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9743 (prev_max_error): New variable.
9744 (prev_real_max_error): Likewise.
9745 (prev_imag_max_error): Likewise.
9746 (compare_ulp_data): Don't refer to test names in comment.
9747 (find_test_ulps): Remove function.
9748 (find_function_ulps): Likewise.
9749 (find_complex_function_ulps): Likewise.
9750 (init_max_error): Take function name as argument. Look up ulps
9752 (print_ulps): Remove function.
9753 (print_max_error): Use prev_max_error instead of calling
9755 (print_complex_max_error): Use prev_real_max_error and
9756 prev_imag_max_error instead of calling find_complex_function_ulps.
9757 (check_float_internal): Take max_ulp parameter instead of calling
9758 find_test_ulps. Don't call print_ulps.
9759 (check_float): Update call to check_float_internal.
9760 (check_complex): Update calls to check_float_internal.
9761 (START): Pass argument to init_max_error.
9762 * math/gen-libm-test.pl (%results): Don't include "kind"
9764 (parse_ulps): Don't handle ulps of individual tests.
9765 (print_ulps_file): Likewise.
9766 (output_ulps): Likewise.
9767 * math/README.libm-test: Update.
9768 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9770 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9771 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9772 * sysdeps/arm/libm-test-ulps: Likewise.
9773 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9774 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9775 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9776 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9777 * sysdeps/microblaze/libm-test-ulps: Likewise.
9778 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9779 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9781 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9782 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9783 * sysdeps/sh/libm-test-ulps: Likewise.
9784 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9785 * sysdeps/tile/libm-test-ulps: Likewise.
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9788 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9790 * math/libm-test.inc (print_complex_max_error): Check separately
9791 whether real and imaginary errors are within allowed range and
9792 pass 0 to print_complex_function_ulps instead of value within
9795 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9797 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9799 (get_handles_fopen): Likewise.
9800 (do_write_test): Likewise.
9802 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9804 * libio/fileops.c (do_ftell): Use cached offset when
9806 * libio/iofwide.c (do_ftell_wide): Likewise.
9807 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9809 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9812 * libio/libioP.h (get_file_offset): New function.
9813 * libio/fileops.c (get_file_offset): Likewise.
9814 (do_ftell): Likewise.
9815 (_IO_new_file_seekoff): Split out ftell logic.
9816 * libio/wfileops.c (do_ftell_wide): Likewise.
9817 (_IO_wfile_seekoff): Split out ftell logic.
9818 * libio/tst-ftell-active-handler.c: New test case.
9819 * libio/Makefile (tests): Add it.
9821 2014-03-03 Roland McGrath <roland@hack.frob.com>
9823 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9824 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9826 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9829 * nscd/connections.c (nscd_init): Call do_exit.
9830 (start_threads): Call do_exit and notify_parent.
9831 (begin_drop_privileges): Call do_exit.
9832 (finish_drop_privileges): Likewise.
9833 * nscd/selinux.c (preserve_capabilities): Likewise.
9834 (install_real_capabilities): Likewise.
9835 (nscd_selinux_enabled): Likewise.
9836 (avc_create_thread): Likewise.
9837 (avc_alloc_lock): Likewise.
9838 (nscd_avc_init): Likewise.
9839 * nscd/nscd.c (parent_fd): New static variable.
9840 (main): Create a pipe between parent and child processes.
9841 Skip closing parent_fd.
9842 (monitor_child): New function.
9843 (do_exit): Likewise.
9844 (notify_parent): Likewise.
9845 * nscd/nscd.h (notify_parent): Likewise.
9846 (do_exit): Likewise.
9848 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9850 * malloc/malloc.c (__libc_calloc): Revert last change.
9852 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9856 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9858 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9862 (__libc_ifunc_impl_list): Likewise.
9863 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9864 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9865 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9866 * string/strrchr.c: Define STRRCHR.
9868 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9870 * benchtest/bench-strtok.c (simple_strtok): Delete.
9871 (strtok_string): Use as benchmark.
9872 * string/strtok (STRTOK): New macro.
9874 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9876 * manual/threads.texi: Add header and standard comments to all
9879 * elf/dl-lookup.c (check_match): New function.
9880 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9881 (do_lookup_x): Remove nested function check_match. Use non-nested
9882 function check_match.
9884 2014-02-28 Roland McGrath <roland@hack.frob.com>
9886 * csu/Makefile (generated, before-compile): Use += rather than =.
9887 * catgets/Makefile (generated, generated-dirs): Likewise.
9888 * debug/Makefile (generated): Likewise.
9889 * dlfcn/Makefile (generated): Likewise.
9890 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9891 * iconvdata/Makefile (before-compile, generated): Likewise.
9892 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9893 * libio/Makefile (generated): Likewise.
9894 * malloc/Makefile (generated): Likewise.
9895 * manual/Makefile (generated, generated-dirs): Likewise.
9896 * misc/Makefile (generated): Likewise.
9897 * posix/Makefile (generated): Likewise.
9898 * resolv/Makefile (generated): Likewise.
9899 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9900 * timezone/Makefile (generated, generated-dirs): Likewise.
9902 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9904 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9907 power8 implementation.
9908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9909 file: POWER8 llround ifunc implementation.
9910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9911 (__lllround): Add POWER8 implementation.
9912 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9913 POWER8 llround implementation.
9915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9916 power8 implementation.
9917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9918 file: POWER8 llrint ifunc implementation.
9919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9920 Add POWER8 implementation.
9921 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9922 POWER8 llrint implementation.
9924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9925 power8 implementation.
9926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9927 file: POWER8 finite ifunc implementation.
9928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9929 Add POWER8 implementation.
9930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9932 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9933 POWER8 finite implementation.
9934 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9937 power8 implementation.
9938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9939 file: POWER8 isinf ifunc implementation.
9940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9941 POWER8 implementation.
9942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9944 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9945 isinf implementation.
9946 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9948 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9949 (INIT_ARCH): Add hwcap2 initialization.
9950 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9951 power8 implementation.
9952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9953 file: POWER8 isnan ifunc implementation.
9954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9955 POWER8 implementation.
9956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9958 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9959 isnan implementation.
9960 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9962 2014-02-27 Joey Ye <joey.ye@arm.com>
9964 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9965 (_FP_NANFRAC_Q): Set to zero.
9967 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9970 * math/auto-libm-test-in: New test inputs.
9971 * math/auto-libm-test-out: Regenerate.
9972 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9975 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9977 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9979 * scripts/evaluate-test.sh: Take new argument indicating whether
9980 failure is expected.
9981 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9982 indicating whether failure is expected.
9983 * conform/Makefile (test-xfail-run-conformtest): New variable.
9984 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9986 * posix/Makefile (test-xfail-annexc): New variable.
9987 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9989 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9991 * argp/Makefile: Include Makeconfig immediately after defining
9993 * assert/Makefile: Likewise.
9994 * benchtests/Makefile: Likewise.
9995 * catgets/Makefile: Likewise.
9996 * conform/Makefile: Likewise.
9997 * crypt/Makefile: Likewise.
9998 * csu/Makefile: Likewise.
9999 (all): Remove target.
10000 * ctype/Makefile: Include Makeconfig immediately after defining
10002 * debug/Makefile: Likewise.
10003 * dirent/Makefile: Likewise.
10004 * dlfcn/Makefile: Likewise.
10005 * gmon/Makefile: Likewise.
10006 * gnulib/Makefile: Likewise.
10007 * grp/Makefile: Likewise.
10008 * gshadow/Makefile: Likewise.
10009 * hesiod/Makefile: Likewise.
10010 * hurd/Makefile: Likewise.
10011 (all): Remove target.
10012 * iconvdata/Makefile: Include Makeconfig immediately after
10014 * inet/Makefile: Likewise.
10015 * intl/Makefile: Likewise.
10016 * io/Makefile: Likewise.
10017 * libio/Makefile: Likewise.
10018 (all): Remove target.
10019 * locale/Makefile: Include Makeconfig immediately after defining
10021 * login/Makefile: Likewise.
10022 * mach/Makefile: Likewise.
10023 (all): Remove target.
10024 * malloc/Makefile: Include Makeconfig immediately after defining
10026 (all): Remove target.
10027 * manual/Makefile: Include Makeconfig immediately after defining
10029 * math/Makefile: Likewise.
10030 * misc/Makefile: Likewise.
10031 * nis/Makefile: Likewise.
10032 * nss/Makefile: Likewise.
10033 * po/Makefile: Likewise.
10034 (all): Remove target.
10035 * posix/Makefile: Include Makeconfig immediately after defining
10037 * pwd/Makefile: Likewise.
10038 * resolv/Makefile: Likewise.
10039 * resource/Makefile: Likewise.
10040 * rt/Makefile: Likewise.
10041 * setjmp/Makefile: Likewise.
10042 * shadow/Makefile: Likewise.
10043 * signal/Makefile: Likewise.
10044 * socket/Makefile: Likewise.
10045 * soft-fp/Makefile: Likewise.
10046 * stdio-common/Makefile: Likewise.
10047 * stdlib/Makefile: Likewise.
10048 * streams/Makefile: Likewise.
10049 * string/Makefile: Likewise.
10050 * sunrpc/Makefile: Likewise.
10051 (all): Remove target.
10052 * sysvipc/Makefile: Include Makeconfig immediately after defining
10054 * termios/Makefile: Likewise.
10055 * time/Makefile: Likewise.
10056 * timezone/Makefile: Likewise.
10057 (all): Remove target.
10058 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10060 * wctype/Makefile: Likewise.
10062 2014-02-26 Steve Ellcey <sellcey@mips.com>
10064 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10065 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10066 (libc_feholdexcept_setround_mips): Ditto.
10067 (libc_feholdsetround): New.
10068 (libc_feholdsetroundf): New.
10069 (libc_feholdsetroundl): New.
10070 (libc_feupdateenv_test_mips): New.
10071 (libc_feupdateenv_test): New.
10072 (libc_feupdateenv_testf): New.
10073 (libc_feupdateenv_testl): New.
10074 (libc_feresetround): New.
10075 (libc_feresetroundf): New.
10076 (libc_feresetroundl): New.
10077 (libc_fetestexcept_mips): New.
10078 (libc_fetestexcept): New.
10079 (libc_fetestexceptf): New.
10080 (libc_fetestexceptl): New.
10081 (HAVE_RM_CTX): New.
10082 (libc_feholdexcept_setround_mips_ctx): New.
10083 (libc_feholdexcept_setround_ctx): New.
10084 (libc_feholdexcept_setroundf_ctx): New.
10085 (libc_feholdexcept_setroundl_ctx): New.
10086 (libc_fesetenv_mips_ctx): New.
10087 (libc_fesetenv_ctx): New.
10088 (libc_fesetenv_ctxf): New.
10089 (libc_fesetenv_ctxl): New.
10090 (libc_feupdateenv_mips_ctx): New.
10091 (libc_feupdateenv_ctx): New.
10092 (libc_feupdateenvf_ctx): New.
10093 (libc_feupdateenvl_ctx): New.
10094 (libc_feholdsetround_mips_ctx): New.
10095 (libc_feholdsetround_ctx): New.
10096 (libc_feholdsetroundf_ctx): New.
10097 (libc_feholdsetroundl_ctx): New.
10098 (libc_feresetround_mips_ctx): New.
10099 (libc_feresetround_ctx): New.
10100 (libc_feresetroundf_ctx): New.
10101 (libc_feresetroundl_ctx): New.
10103 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10105 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10107 * manual/ipc.texi: New file.
10108 * manual/Makefile (chapters): Add ipc.
10109 * manual/job.texi: Add "Inter-Process Communication" to next.
10110 * manual/process.texi: Add "Inter-Process Communication" to prev.
10112 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10116 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10118 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10120 * manual/arith.texi: Fix spaces after sentences.
10121 * manual/charset.texi: Likewise.
10122 * manual/errno.texi: Likewise.
10123 * manual/install.texi: Likewise.
10124 * manual/llio.texi: Likewise.
10125 * manual/locale.texi: Likewise.
10126 * manual/maint.texi: Likewise.
10127 * manual/math.texi: Likewise.
10128 * manual/memory.texi: Likewise.
10129 * manual/message.texi: Likewise.
10130 * manual/probes.texi: Likewise.
10131 * manual/resource.texi: Likewise.
10132 * manual/signal.texi: Likewise.
10133 * manual/socket.texi: Likewise.
10134 * manual/stdio.texi: Likewise.
10135 * manual/string.texi: Likewise.
10136 * manual/time.texi: Likewise.
10137 * manual/users.texi: Likewise.
10139 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10142 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10143 _DEFAULT_SOURCE is defined.
10145 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10146 Carlos O'Donell <carlos@redhat.com>
10149 * elf/dl-tls.c (_dl_count_modids): New function.
10150 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10151 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10152 audit library and increment generation counter.
10153 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10154 * elf/tst-audit9.c: New file.
10155 * elf/tst-auditmod9a.c: New file.
10156 * elf/tst-auditmod9b.c: New file.
10157 * elf/Makefile: Add rules to build and run tst-audit9.
10159 2014-02-25 Florian Weimer <fweimer@redhat.com>
10162 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10164 2014-02-25 Will Newton <will.newton@linaro.org>
10166 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10167 (__longjmp): Restore sp and lr before restoring callee
10168 saved registers. Add longjmp and longjmp_target
10169 SystemTap probe point.
10170 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10171 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10172 Define to zero to match jmpbuf layout.
10173 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10174 (__sigsetjmp): Save sp and lr before saving callee
10175 saved registers. Add setjmp SystemTap probe point.
10177 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10179 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10181 2014-02-24 Andreas Schwab <schwab@suse.de>
10184 * elf/pldd.c (wait_for_ptrace_stop): New function.
10185 (main): Call it after attaching.
10187 2014-02-22 Roland McGrath <roland@hack.frob.com>
10189 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10190 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10191 Versions files is now verboten.
10192 * hurd/Versions (libc: GLIBC_2.0):
10193 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10194 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10195 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10196 * mach/Versions: Likewise.
10198 * csu/Versions: Remove unused %include.
10199 * resolv/Versions: Likewise.
10201 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10203 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10204 ($(objpfx)check-local-headers.out): Likewise.
10205 ($(objpfx)begin-end-check.out): Likewise.
10206 * Makerules (check-abi-%.out): Likewise.
10207 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10208 ($(objpfx)test2.cat): Likewise.
10209 ($(objpfx)de/libc.cat): Likewise.
10210 ($(objpfx)test-gencat.out): Likewise.
10211 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10212 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10213 ($(objpfx)noload-mem): Likewise.
10214 ($(objpfx)tst-pathopt.out): Likewise.
10215 ($(objpfx)tst-rtld-load-self.out): Likewise.
10216 ($(objpfx)tst-array1-cmp.out): Likewise.
10217 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10218 ($(objpfx)tst-array2-cmp.out): Likewise.
10219 ($(objpfx)tst-array3-cmp.out): Likewise.
10220 ($(objpfx)tst-array4-cmp.out): Likewise.
10221 ($(objpfx)tst-array5-cmp.out): Likewise.
10222 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10223 ($(objpfx)check-textrel.out): Likewise.
10224 ($(objpfx)check-execstack.out): Likewise.
10225 ($(objpfx)check-localplt.out): Likewise.
10226 ($(objpfx)order2-cmp.out): Likewise.
10227 ($(objpfx)tst-leaks1-mem): Likewise.
10228 ($(objpfx)tst-leaks1-static-mem): Likewise.
10229 ($(objpfx)tst-initorder-cmp.out): Likewise.
10230 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10231 ($(objpfx)tst-unused-dep.out): Likewise.
10232 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10233 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10234 * iconv/Makefile (test-iconvconfig): Likewise.
10235 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10236 ($(objpfx)iconv-test.out): Likewise.
10237 ($(objpfx)tst-tables.out): Likewise.
10238 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10239 ($(objpfx)tst-gettext.out): Likewise.
10240 ($(objpfx)tst-translit.out): Likewise.
10241 ($(objpfx)tst-gettext2.out): Likewise.
10242 ($(objpfx)tst-gettext4.out): Likewise.
10243 ($(objpfx)tst-gettext6.out): Likewise.
10244 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10245 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10246 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10247 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10248 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10249 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10250 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10251 ($(objpfx)wordexp-tst.out): Likewise.
10252 ($(objpfx)annexc.out): Likewise.
10253 ($(objpfx)tst-fnmatch-mem): Likewise.
10254 ($(objpfx)bug-regex2-mem): Likewise.
10255 ($(objpfx)bug-regex14-mem): Likewise.
10256 ($(objpfx)bug-regex21-mem): Likewise.
10257 ($(objpfx)bug-regex31-mem): Likewise.
10258 ($(objpfx)tst-vfork3-mem): Likewise.
10259 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10260 ($(objpfx)tst-pcre-mem): Likewise.
10261 ($(objpfx)tst-boost-mem): Likewise.
10262 ($(objpfx)tst-getconf.out): Likewise.
10263 ($(objpfx)bug-ga2-mem): Likewise.
10264 ($(objpfx)bug-glob2-mem): Likewise.
10265 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10266 ($(objpfx)mtrace-tst-leaks2): Likewise.
10267 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10268 ($(objpfx)tst-printf.out): Likewise.
10269 ($(objpfx)tst-setvbuf1.out): Likewise.
10270 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10271 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10272 ($(objpfx)tst-fmtmsg.out): Likewise.
10273 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10274 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10276 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10277 * bits/sigaction.h [__USE_MISC]: Likewise.
10278 * bits/waitstatus.h: Update #endif comments.
10279 * ctype/ctype.h: Likewise.
10280 * dirent/dirent.h: Likewise.
10281 [__USE_MISC]: Remove redundant conditionals.
10282 * grp/grp.h: Update #endif comments.
10283 [__USE_GNU]: Remove redundant conditionals.
10284 [__USE_MISC]: Likewise.
10285 * inet/netinet/in.h [__USE_GNU]: Likewise.
10286 * io/sys/stat.h [__USE_MISC]: Likewise.
10287 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10288 * libio/bits/stdio.h: Update #endif comments.
10289 [__USE_MISC]: Remove redundant conditionals.
10290 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10291 * libio/stdio.h: Update #endif comments.
10292 [__USE_MISC]: Remove redundant conditionals.
10293 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10294 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10295 * math/math.h: Update #else and #endif comments.
10296 [__USE_MISC]: Remove redundant conditionals.
10297 * misc/sys/uio.h: Update #endif comments.
10298 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10299 * posix/glob.h [__USE_MISC]: Likewise.
10300 * posix/sys/types.h: Update #endif comments.
10301 [__USE_MISC]: Remove redundant conditionals.
10302 * posix/sys/wait.h: Update #endif comments.
10303 [__USE_MISC]: Remove redundant conditionals.
10304 * posix/unistd.h: Update #endif comments.
10305 [__USE_MISC]: Remove redundant conditionals.
10306 * pwd/pwd.h [__USE_GNU]: Likewise.
10307 [__USE_MISC]: Likewise.
10308 * resolv/netdb.h [__USE_GNU]: Likewise.
10309 * signal/signal.h: Update #endif comments.
10310 [__USE_MISC]: Remove redundant conditionals.
10311 * stdlib/stdlib.h: Update #else and #endif comments.
10312 [__USE_MISC]: Remove redundant conditionals.
10313 [__USE_GNU]: Likewise.
10314 * string/bits/string2.h [__USE_MISC]: Likewise.
10315 * string/string.h: Update #endif comments.
10316 [__USE_MISC]: Remove redundant conditionals.
10317 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10319 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10320 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10321 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10323 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10325 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10327 [__USE_MISC]: Remove redundant conditionals.
10328 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10329 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10330 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10331 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10332 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10334 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10335 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10337 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10338 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10340 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10342 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10343 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10345 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10347 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10348 * sysdeps/x86/bits/string.h: Update #endif comments.
10349 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10351 * time/sys/time.h: Update #endif comments.
10352 * time/time.h: Likewise.
10353 [__USE_MISC]: Remove redundant conditionals.
10355 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10358 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10360 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10362 * Versions.def (librt): Add GLIBC_2.17.
10364 2014-02-21 Adam Conrad <adconrad@0c3.net>
10366 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10367 synonym for _SYS_AUXV_H to allow direct inclusion.
10368 * sysdeps/sparc/bits/hwcap.h: Likewise.
10369 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10370 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10371 * sysdeps/sparc/sysdep.h: Likewise.
10373 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10375 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10377 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10379 * benchtests/bench-strrchr.c: Print length instead of position.
10381 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10384 * sysdeps/unix/sysv/linux/kernel-features.h
10385 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10386 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10387 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10388 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10390 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10391 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10392 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10393 (__ASSUME_SENDMMSG): Define instead of using previous
10394 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10395 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10396 (__ASSUME_SENDMMSG_SYSCALL): Define.
10397 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10398 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10401 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10403 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10404 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10406 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10407 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10408 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10409 [__ASSUME_SENDMMSG]: Change conditionals to
10410 [__ASSUME_SENDMMSG_SOCKETCALL].
10411 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10412 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10414 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10415 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10417 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10418 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10419 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10420 [!__ASSUME_SENDMMSG]: Change conditional to
10421 [!__ASSUME_SENDMMSG_SOCKETCALL].
10422 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10423 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10427 * sysdeps/unix/sysv/linux/kernel-features.h
10428 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10429 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10430 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10431 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10432 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10433 [__i386__ || __sparc__]
10434 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10435 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10436 (__ASSUME_RECVMMSG): Define instead of using previous
10437 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10438 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10439 (__ASSUME_RECVMMSG_SYSCALL): Define.
10440 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10441 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10443 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10444 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10446 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10447 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10449 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10450 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10451 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10452 [__ASSUME_RECVMMSG]: Change condition to
10453 [__ASSUME_RECVMMSG_SOCKETCALL].
10454 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10455 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10457 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10458 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10461 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10462 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10463 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10464 [!__ASSUME_RECVMMSG]: Change condition to
10465 [!__ASSUME_RECVMMSG_SOCKETCALL].
10466 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10467 (__ASSUME_RECVMMSG_SYSCALL): Define.
10470 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10471 __powerpc__ || __s390__ || __sh__ || __sparc__]
10472 (__ASSUME_SOCKETCALL): Define.
10473 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10474 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10475 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10476 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10477 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10478 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10479 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10480 (__ASSUME_ACCEPT4): Define instead of using previous
10481 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10482 __powerpc__ || __sparc__ || __s390__)] condition.
10483 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10484 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10485 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10486 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10487 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10488 [!__ASSUME_ACCEPT4]: Change condition to
10489 [!__ASSUME_ACCEPT4_SOCKETCALL].
10490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10491 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10492 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10493 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10494 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10495 __ASSUME_ACCEPT4_SYSCALL.
10496 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10497 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10499 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10500 __ASSUME_ACCEPT4_SYSCALL.
10501 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10502 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10503 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10504 [__ASSUME_ACCEPT4]: Change condition to
10505 [__ASSUME_ACCEPT4_SOCKETCALL].
10506 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10507 (__ASSUME_SOCKETCALL): Define.
10508 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10509 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10510 (__ASSUME_SOCKETCALL): Define.
10511 (__ASSUME_ACCEPT4): Remove.
10512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10514 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10515 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10517 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10518 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10520 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10522 (HWCAP_ARM_LPAE): Likewise.
10523 (HWCAP_ARM_EVTSTRM): Likewise.
10524 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10525 Add vpfd32, lpae and evtstrm.
10526 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10529 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10531 * math/auto-libm-test-in: Add tests of clog10.
10532 * math/auto-libm-test-out: Regenerated.
10533 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10534 * sysdeps/i386/fpu/libm-test-ulps: Update.
10535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10537 2014-02-18 Andreas Schwab <schwab@suse.de>
10540 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10541 Store non-zero if the second buffer was newly allocated.
10542 (send_dg): Likewise.
10543 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10544 to send_vc and send_dg.
10545 (res_nsend): Pass NULL for ansp2_malloced.
10546 * resolv/res_query.c (__libc_res_nquery): Add parameter
10547 answerp2_malloced and pass it down to __libc_res_nsend.
10548 (res_nquery): Pass additional NULL to __libc_res_nquery.
10549 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10550 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10551 second answer buffer if answerp2_malloced was set.
10552 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10553 (__libc_res_nquerydomain): Add parameter
10554 answerp2_malloced and pass it down to __libc_res_nquery.
10555 (res_nquerydomain): Pass additional NULL to
10556 __libc_res_nquerydomain.
10557 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10558 additional NULL to __libc_res_nsend and __libc_res_nquery.
10559 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10560 additional NULL to __libc_res_nsearch.
10561 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10562 parameter of __libc_res_nsearch to check for separately allocated
10564 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10566 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10567 additional NULL to __libc_res_nquery.
10568 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10569 __libc_res_nsearch.
10570 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10571 * include/resolv.h: Update prototypes of __libc_res_nquery,
10572 __libc_res_nsearch, __libc_res_nsend.
10574 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10576 * math/auto-libm-test-in: Add tests of fma.
10577 * math/auto-libm-test-out: Regenerated.
10578 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10579 (fma_towardzero_test_data): Likewise.
10580 (fma_downward_test_data): Likewise.
10581 (fma_upward_test_data): Likewise.
10582 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10584 (rounding_modes): Add values for new field.
10585 (func_calc_method): Add value mpfr_fff_f.
10586 (func_calc_desc): Add mpfr_fff_f union field.
10587 (test_function): Add field exact_args.
10588 (FUNC): Add macro argument EXACT_ARGS.
10589 (FUNC_mpfr_f_f): Update call to FUNC.
10590 (FUNC_mpfr_f_f): Likewise.
10591 (FUNC_mpfr_ff_f): Likewise.
10592 (FUNC_mpfr_if_f): Likewise.
10593 (FUNC_mpc_c_f): Likewise.
10594 (FUNC_mpc_c_c): Likewise.
10595 (test_functions): Add fma. Update calls to FUNC.
10596 (handle_input_arg): Add argument exact_args.
10597 (add_test): Update call to handle_input_arg.
10598 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10599 (output_for_one_input_case): Update call to calc_generic_results.
10600 Recalculate exact zero results in each rounding mode.
10602 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10603 non-negative before setting low bit.
10604 * math/auto-libm-test-in: Mark one asin test possibly having
10605 spurious underflow.
10606 * math/auto-libm-test-out: Regenerated.
10607 * sysdeps/i386/fpu/libm-test-ulps: Update.
10608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10610 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10612 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10613 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10614 ports/sysdeps/unix/sysv/linux/microblaze.
10615 * README: Add missing listing for microblaze*-*-linux-gnu.
10617 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10619 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10622 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10624 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10625 * sysdeps/unix/sysv/linux/ia64: Move directory from
10626 ports/sysdeps/unix/sysv/linux/ia64.
10627 * README: Update listing for ia64-*-linux-gnu.
10629 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10630 Joseph Myers <joseph@codesourcery.com>
10632 * Makeconfig (test-name): New variable.
10633 (evaluate-test): Likewise.
10634 * Makerules (do-test-clean): Remove .test-result files.
10635 (common-mostlyclean): Likewise.
10636 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10637 * scripts/evaluate-test.sh: New file.
10639 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10641 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10642 separate $(objpfx)tst-fopenloc-cmp.out and
10643 $(objpfx)tst-fopenloc-mem.out targets.
10644 (tests): Update dependencies.
10645 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10646 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10647 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10648 (tst-rxspencer-no-utf8-ARGS): New variable.
10649 (tst-rxspencer-no-utf8-ENV): Likewise.
10650 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10651 instead of $(objpfx)tst-rxspencer-mem.
10652 ($(objpfx)tst-rxspencer-mem): Change target to
10653 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10654 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10655 * posix/tst-rxspencer-no-utf8.c: New file.
10657 * elf/Makefile ($(objpfx)order.out): Remove rule.
10658 [$(run-built-tests) = yes] (tests): Depend on
10659 $(objpfx)order-cmp.out.
10660 ($(objpfx)order-cmp.out): New rule.
10661 [$(run-built-tests) = yes] (tests): Depend on
10662 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10663 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10664 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10665 $(objpfx)tst-array5-static-cmp.out.
10666 ($(objpfx)tst-array1.out): Remove rule.
10667 ($(objpfx)tst-array1-cmp.out): New rule.
10668 ($(objpfx)tst-array1-static.out): Remove rule.
10669 ($(objpfx)tst-array1-static-cmp.out): New rule.
10670 ($(objpfx)tst-array2.out): Remove rule.
10671 ($(objpfx)tst-array2-cmp.out): New rule.
10672 ($(objpfx)tst-array3.out): Remove rule.
10673 ($(objpfx)tst-array3-cmp.out): New rule.
10674 ($(objpfx)tst-array4.out): Remove rule.
10675 ($(objpfx)tst-array4-cmp.out): New rule.
10676 ($(objpfx)tst-array5.out): Remove rule.
10677 ($(objpfx)tst-array5-cmp.out): New rule.
10678 ($(objpfx)tst-array5-static.out): Remove rule.
10679 ($(objpfx)tst-array5-static-cmp.out): New rule.
10680 [$(run-built-tests) = yes] (tests): Depend on
10681 $(objpfx)order2-cmp.out.
10682 ($(objpfx)order2.out): Remove rule.
10683 ($(objpfx)order2-cmp.out): New rule.
10684 ($(objpfx)tst-initorder.out): Remove rule.
10685 [$(run-built-tests) = yes] (tests): Depend on
10686 $(objpfx)tst-initorder-cmp.out.
10687 ($(objpfx)tst-initorder-cmp.out): New rule.
10688 ($(objpfx)tst-initorder2.out): Remove rule.
10689 [$(run-built-tests) = yes] (tests): Depend on
10690 $(objpfx)tst-initorder2-cmp.out.
10691 ($(objpfx)tst-initorder2-cmp.out): New rule.
10692 [$(run-built-tests) = yes] (tests): Depend on
10693 $(objpfx)tst-unused-dep-cmp.out.
10694 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10695 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10696 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10697 on $(objpfx)tst-setvbuf1-cmp.out.
10698 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10699 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10700 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10701 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10702 ($(objpfx)tst-svc.out): Remove rule.
10703 ($(objpfx)tst-svc-cmp.out): New rule.
10705 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10707 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10708 * ctype/ctype.h [__USE_MISC]: Likewise.
10709 * dirent/dirent.h [__USE_MISC]: Likewise.
10710 * grp/grp.h [__USE_MISC]: Likewise.
10711 * io/fcntl.h [__USE_MISC]: Likewise.
10712 * io/sys/stat.h [__USE_MISC]: Likewise.
10713 * libio/stdio.h [__USE_MISC]: Likewise.
10714 * posix/unistd.h [__USE_MISC]: Likewise.
10715 * pwd/pwd.h [__USE_MISC]: Likewise.
10716 * stdlib.h [__USE_MISC]: Likewise.
10717 * string/bits/string2.h [__USE_MISC]: Likewise.
10718 * string/string.h [__USE_MISC]: Likewise.
10719 * time/time.h [__USE_MISC]: Likewise.
10721 2014-02-13 Andreas Schwab <schwab@suse.de>
10724 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10725 second answer buffer if it was separately allocated.
10727 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10729 * sysdeps/mips/math-tests.h: Include <features.h>.
10730 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10731 (ROUNDING_TESTS_long_double): Do not define.
10732 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10733 (EXCEPTION_TESTS_long_double): Likewise.
10734 * sysdeps/mips/mips64/libm-test-ulps: Update.
10736 * include/features.h (__USE_BSD): Remove macro definitions.
10737 (__USE_SVID): Likewise.
10738 (_BSD_SOURCE): Likewise.
10739 (_SVID_SOURCE): Likewise.
10740 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10741 from definition of _DEFAULT_SOURCE.
10742 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10744 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10745 * bits/mman.h [__USE_BSD]: Likewise.
10746 * bits/termios.h [__USE_BSD]: Likewise.
10747 * bits/waitstatus.h [__USE_BSD]: Likewise.
10748 * ctype/ctype.h [__USE_SVID]: Likewise.
10749 * dirent/dirent.h [__USE_BSD]: Likewise.
10750 * grp/grp.h [__USE_SVID]: Likewise.
10751 [__USE_BSD]: Likewise.
10752 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10753 * io/fcntl.h [__USE_BSD]: Likewise.
10754 * io/ftw.h [__USE_BSD]: Likewise.
10755 * io/sys/stat.h [__USE_BSD]: Likewise.
10756 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10757 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10758 * libio/stdio.h [__USE_SVID]: Likewise.
10759 [__USE_BSD]: Likewise.
10760 * math/math.h [__USE_SVID]: Likewise.
10761 [__USE_BSD]: Likewise.
10762 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10763 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10764 * misc/search.h [__USE_SVID]: Likewise.
10765 * misc/sys/mman.h [__USE_BSD]: Likewise.
10766 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10767 * misc/sys/uio.h [__USE_BSD]: Likewise.
10768 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10769 * posix/glob.h [__USE_BSD]: Likewise.
10770 * posix/regex.h [__USE_BSD]: Likewise.
10771 * posix/sys/types.h [__USE_BSD]: Likewise.
10772 [__USE_SVID]: Likewise.
10773 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10774 * posix/sys/wait.h [__USE_BSD]: Likewise.
10775 [__USE_SVID]: Likewise.
10776 * posix/unistd.h [__USE_BSD]: Likewise.
10777 [__USE_SVID]: Likewise.
10778 * pwd/pwd.h [__USE_SVID]: Likewise.
10779 * resolv/netdb.h [__USE_BSD]: Likewise.
10780 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10781 * signal/signal.h [__USE_BSD]: Likewise.
10782 [__USE_SVID]: Likewise.
10783 * socket/sys/socket.h [__USE_BSD]: Likewise.
10784 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10785 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10786 [__USE_SVID]: Likewise.
10787 * string/bits/string2.h [__USE_BSD]: Likewise.
10788 [__USE_SVID]: Likewise.
10789 * string/bits/string3.h [__USE_BSD]: Likewise.
10790 * string/endian.h [__USE_BSD]: Likewise.
10791 * string/string.h [__USE_SVID]: Likewise.
10792 [__USE_BSD]: Likewise.
10793 * string/strings.h [__USE_BSD]: Likewise.
10794 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10795 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10796 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10797 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10798 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10799 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10803 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10804 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10806 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10807 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10809 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10811 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10812 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10815 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10817 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10818 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10819 * termios/termios.h [__USE_BSD]: Likewise.
10820 * time/sys/time.h [__USE_BSD]: Likewise.
10821 * time/time.h [__USE_BSD]: Likewise.
10822 [__USE_SVID]: Likewise.
10824 * Makefile (subdir_targets): Remove subdir_lint.out.
10826 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10827 (do-tst-printf): Likewise.
10828 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10829 $(objpfx)tst-printf.out.
10831 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10833 * Makerules (check-abi-%): Change target to
10834 $(objpfx)check-abi-%.out.
10835 (check-abi target): Update dependencies.
10836 (check-abi-pattern variable): Redirect output of diff to $@.
10837 (check-abi variable): Likewise.
10838 * elf/Makefile (check-abi): Update dependencies.
10840 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10842 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10843 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10845 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10846 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10847 value has largest subnormal exponent.
10848 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10849 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10850 * sysdeps/aarch64/soft-fp/sfp-machine.h
10851 (_FP_TININESS_AFTER_ROUNDING): New macro.
10852 * sysdeps/alpha/soft-fp/sfp-machine.h
10853 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10854 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10856 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10857 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10858 * sysdeps/mips/soft-fp/sfp-machine.h
10859 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10860 * sysdeps/powerpc/soft-fp/sfp-machine.h
10861 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10862 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10865 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10867 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10868 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10871 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10874 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10877 2014-02-12 Richard Henderson <rth@redhat.com>
10879 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10880 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10881 * sysdeps/unix/sysv/linux/alpha: Move directory from
10882 ports/sysdeps/unix/sysv/linux/alpha.
10883 * README: Update listing for alpha-*-linux-gnu.
10885 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10887 * include/features.h: Update comment documenting feature test
10889 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10891 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10892 (_SVID_SOURCE): Likewise.
10893 (_DEFAULT_SOURCE): Update description of default features.
10894 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10896 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10897 (S_ISVTX): Likewise.
10898 * manual/math.texi (Mathematical Constants): Likewise.
10899 * manual/signal.texi (Interrupted Primitives): Likewise.
10900 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10901 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10902 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10903 Don't refer to _SVID_SOURCE in warning text.
10905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10907 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10909 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10910 * sysdeps/mips/dl-lookup.c: Remove.
10911 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10913 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10916 * math/auto-libm-test-in: Add testcase for expl.
10917 * math/auto-libm-test-out: Regenerate.
10918 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10919 calculation of unsafe.
10920 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10922 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10924 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10925 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10926 ports/sysdeps/unix/sysv/linux/aarch64.
10927 * README: Update listing for aarch64*-*-linux-gnu.
10929 2014-02-11 Will Newton <will.newton@linaro.org>
10931 * manual/probes.texi (Mathematical Function Probes): Use
10932 "triggered" instead of "hit".
10934 * manual/probes.texi (Internal Probes): Add documentation
10935 of setjmp, longjmp and longjmp_target probes.
10937 * include/stap-probe.h: Add comment about probe argument
10940 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10941 definition. (tr_where, tr_freehook, tr_mallochook,
10942 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10944 2014-02-11 David S. Miller <davem@davemloft.net>
10946 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10947 processing int_tests.
10949 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10951 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10952 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10953 * sysdeps/unix/sysv/linux/mips: Move directory from
10954 ports/sysdeps/unix/sysv/linux/mips.
10955 * README: Update listing for mips-*-linux-gnu and
10956 mips64-*-linux-gnu.
10958 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10960 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10961 * sysdeps/unix/sysv/linux/m68k: Move directory from
10962 ports/sysdeps/unix/sysv/linux/m68k.
10963 * README: Update listing for m68k-*-linux-gnu.
10965 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10967 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10968 * sysdeps/unix/sysv/linux/generic: Move directory from
10969 ports/sysdeps/unix/sysv/linux/generic.
10970 * sysdeps/unix/sysv/linux/tile: Move directory from
10971 ports/sysdeps/unix/sysv/linux/tile.
10972 * README: Update listing for tile*-*-linux-gnu.
10974 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10976 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10978 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10979 * catgets/open_catalog.c (__open_catalog): Likewise.
10980 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10981 * debug/confstr_chk.c: Likewise.
10982 * debug/fread_chk.c (__fread_chk): Likewise.
10983 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10984 * debug/getgroups_chk.c: Likewise.
10985 * debug/mbsnrtowcs_chk.c: Likewise.
10986 * debug/mbsrtowcs_chk.c: Likewise.
10987 * debug/mbstowcs_chk.c: Likewise.
10988 * debug/memcpy_chk.c: Likewise.
10989 * debug/memmove_chk.c: Likewise.
10990 * debug/mempcpy_chk.c: Likewise.
10991 * debug/memset_chk.c: Likewise.
10992 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10993 * debug/strcat_chk.c (__strcat_chk): Likewise.
10994 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10995 * debug/strncat_chk.c (__strncat_chk): Likewise.
10996 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10997 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10998 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10999 * debug/wcpncpy_chk.c: Likewise.
11000 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11001 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11002 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11003 * debug/wcsncpy_chk.c: Likewise.
11004 * debug/wcsnrtombs_chk.c: Likewise.
11005 * debug/wcsrtombs_chk.c: Likewise.
11006 * debug/wcstombs_chk.c: Likewise.
11007 * debug/wmemcpy_chk.c: Likewise.
11008 * debug/wmemmove_chk.c: Likewise.
11009 * debug/wmempcpy_chk.c: Likewise.
11010 * debug/wmemset_chk.c: Likewise.
11011 * dirent/scandirat.c (SCANDIRAT): Likewise.
11012 * dlfcn/dladdr1.c (dladdr1): Likewise.
11013 * dlfcn/dladdr.c (dladdr): Likewise.
11014 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11015 * dlfcn/dlerror.c (__dlerror): Likewise.
11016 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11017 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11018 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11019 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11020 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11021 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11022 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11023 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11025 * elf/dl-conflict.c: Likewise.
11026 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11027 * elf/dl-dst.h: Likewise.
11028 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11029 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11030 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11031 * elf/dl-init.c (call_init, _dl_init): Likewise.
11032 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11033 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11034 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11036 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11038 * elf/dl-minimal.c (__libc_memalign): Likewise.
11039 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11040 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11041 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11042 * elf/dl-sym.c (do_sym): Likewise.
11043 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11044 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11045 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11046 * elf/dl-writev.h (_dl_writev): Likewise.
11047 * elf/ldconfig.c (search_dir): Likewise.
11048 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11049 (dl_main): Likewise.
11050 * elf/setup-vdso.h (setup_vdso): Likewise.
11051 * grp/compat-initgroups.c (compat_call): Likewise.
11052 * grp/fgetgrent.c (fgetgrent): Likewise.
11053 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11054 * grp/putgrent.c (putgrent): Likewise.
11055 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11057 * hurd/hurdinit.c: Likewise.
11058 * iconvdata/8bit-gap.c (struct): Likewise.
11059 * iconvdata/ansi_x3.110.c : Likewise.
11060 * iconvdata/big5.c : Likewise.
11061 * iconvdata/big5hkscs.c : Likewise.
11062 * iconvdata/cp1255.c: Likewise.
11063 * iconvdata/cp1258.c : Likewise.
11064 * iconvdata/cp932.c : Likewise.
11065 * iconvdata/euc-cn.c: Likewise.
11066 * iconvdata/euc-jisx0213.c : Likewise.
11067 * iconvdata/euc-jp.c: Likewise.
11068 * iconvdata/euc-jp-ms.c : Likewise.
11069 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11070 * iconvdata/gb18030.c : Likewise.
11071 * iconvdata/gbbig5.c (const): Likewise.
11072 * iconvdata/gbgbk.c: Likewise.
11073 * iconvdata/gbk.c : Likewise.
11074 * iconvdata/ibm1364.c : Likewise.
11075 * iconvdata/ibm930.c : Likewise.
11076 * iconvdata/ibm932.c: Likewise.
11077 * iconvdata/ibm933.c : Likewise.
11078 * iconvdata/ibm935.c : Likewise.
11079 * iconvdata/ibm937.c : Likewise.
11080 * iconvdata/ibm939.c : Likewise.
11081 * iconvdata/ibm943.c: Likewise.
11082 * iconvdata/iso_11548-1.c: Likewise.
11083 * iconvdata/iso-2022-cn.c : Likewise.
11084 * iconvdata/iso-2022-cn-ext.c : Likewise.
11085 * iconvdata/iso-2022-jp-3.c: Likewise.
11086 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11087 * iconvdata/iso-2022-kr.c : Likewise.
11088 * iconvdata/iso646.c (gconv_end): Likewise.
11089 * iconvdata/iso_6937-2.c : Likewise.
11090 * iconvdata/iso_6937.c : Likewise.
11091 * iconvdata/iso8859-1.c: Likewise.
11092 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11093 * iconvdata/shift_jisx0213.c : Likewise.
11094 * iconvdata/sjis.c : Likewise.
11095 * iconvdata/t.61.c : Likewise.
11096 * iconvdata/tcvn5712-1.c : Likewise.
11097 * iconvdata/tscii.c: Likewise.
11098 * iconvdata/uhc.c : Likewise.
11099 * iconvdata/unicode.c (gconv_end): Likewise.
11100 * iconvdata/utf-16.c (gconv_end): Likewise.
11101 * iconvdata/utf-32.c (gconv_end): Likewise.
11102 * iconvdata/utf-7.c (base64): Likewise.
11103 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11104 * iconv/gconv_close.c (__gconv_close): Likewise.
11105 * iconv/gconv_open.c (__gconv_open): Likewise.
11106 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11107 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11108 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11109 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11110 (ucs4le_internal_loop_single): Likewise.
11111 * iconv/iconv.c (iconv): Likewise.
11112 * iconv/iconv_close.c: Likewise.
11113 * iconv/loop.c (SINGLE): Likewise.
11114 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11115 * include/atomic.h: Likewise.
11116 * inet/inet6_option.c (option_alloc): Likewise.
11117 * intl/bindtextdom.c (set_binding_values): Likewise.
11118 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11119 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11120 * intl/localealias.c (read_alias_file): Likewise.
11121 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11122 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11123 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11124 * libio/fmemopen.c (fmemopen): Likewise.
11125 * libio/iofgets.c (_IO_fgets): Likewise.
11126 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11127 * libio/iofgetws.c (fgetws): Likewise.
11128 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11129 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11130 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11131 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11132 * locale/findlocale.c (_nl_find_locale): Likewise.
11133 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11134 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11136 * locale/setlocale.c (setlocale): Likewise.
11137 * login/programs/pt_chown.c (main): Likewise.
11138 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11139 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11140 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11141 (mmap, mmap64, mremap, munmap): Likewise.
11142 * math/e_exp2l.c: Likewise.
11143 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11144 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11145 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11146 * math/s_catan.c (__catan): Likewise.
11147 * math/s_catanf.c (__catanf): Likewise.
11148 * math/s_catanh.c (__catanh): Likewise.
11149 * math/s_catanhf.c (__catanhf): Likewise.
11150 * math/s_catanhl.c (__catanhl): Likewise.
11151 * math/s_catanl.c (__catanl): Likewise.
11152 * math/s_ccosh.c (__ccosh): Likewise.
11153 * math/s_ccoshf.c (__ccoshf): Likewise.
11154 * math/s_ccoshl.c (__ccoshl): Likewise.
11155 * math/s_cexp.c (__cexp): Likewise.
11156 * math/s_cexpf.c (__cexpf): Likewise.
11157 * math/s_cexpl.c (__cexpl): Likewise.
11158 * math/s_clog10.c (__clog10): Likewise.
11159 * math/s_clog10f.c (__clog10f): Likewise.
11160 * math/s_clog10l.c (__clog10l): Likewise.
11161 * math/s_clog.c (__clog): Likewise.
11162 * math/s_clogf.c (__clogf): Likewise.
11163 * math/s_clogl.c (__clogl): Likewise.
11164 * math/s_csin.c (__csin): Likewise.
11165 * math/s_csinf.c (__csinf): Likewise.
11166 * math/s_csinh.c (__csinh): Likewise.
11167 * math/s_csinhf.c (__csinhf): Likewise.
11168 * math/s_csinhl.c (__csinhl): Likewise.
11169 * math/s_csinl.c (__csinl): Likewise.
11170 * math/s_csqrt.c (__csqrt): Likewise.
11171 * math/s_csqrtf.c (__csqrtf): Likewise.
11172 * math/s_csqrtl.c (__csqrtl): Likewise.
11173 * math/s_ctan.c (__ctan): Likewise.
11174 * math/s_ctanf.c (__ctanf): Likewise.
11175 * math/s_ctanh.c (__ctanh): Likewise.
11176 * math/s_ctanhf.c (__ctanhf): Likewise.
11177 * math/s_ctanhl.c (__ctanhl): Likewise.
11178 * math/s_ctanl.c (__ctanl): Likewise.
11179 * math/w_pow.c: Likewise.
11180 * math/w_powf.c: Likewise.
11181 * math/w_powl.c: Likewise.
11182 * math/w_scalb.c (sysv_scalb): Likewise.
11183 * math/w_scalbf.c (sysv_scalbf): Likewise.
11184 * math/w_scalbl.c (sysv_scalbl): Likewise.
11185 * misc/error.c (error_tail): Likewise.
11186 * misc/pselect.c (__pselect): Likewise.
11187 * nis/nis_callback.c (__nis_create_callback): Likewise.
11188 * nis/nis_call.c (__nisfind_server): Likewise.
11189 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11190 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11191 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11192 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11193 * nis/nis_lookup.c (nis_lookup): Likewise.
11194 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11195 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11196 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11197 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11198 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11199 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11200 * nis/nss_compat/compat-initgroups.c (add_group)
11201 (internal_getgrent_r): Likewise.
11202 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11203 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11204 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11205 (internal_getspnam_r): Likewise.
11206 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11207 (_nss_nis_getaliasbyname_r): Likewise.
11208 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11209 (_nss_nis_getntohost_r): Likewise.
11210 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11211 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11212 (_nss_nis_getgrgid_r): Likewise.
11213 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11214 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11215 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11216 (_nss_nis_gethostbyname4_r): Likewise.
11217 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11218 (initgroups_netid): Likewise.
11219 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11220 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11221 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11222 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11223 (_nss_nis_getprotobynumber_r): Likewise.
11224 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11225 (_nss_nis_getsecretkey): Likewise.
11226 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11227 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11228 (_nss_nis_getpwuid_r): Likewise.
11229 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11230 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11231 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11232 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11233 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11234 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11235 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11237 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11238 (_nss_nisplus_getntohost_r): Likewise.
11239 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11240 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11241 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11242 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11244 * nis/nss_nisplus/nisplus-initgroups.c
11245 (_nss_nisplus_initgroups_dyn): Likewise.
11246 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11247 (_nss_nisplus_getnetbyaddr_r): Likewise.
11248 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11249 (_nss_nisplus_getprotobynumber_r): Likewise.
11250 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11251 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11252 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11254 * nis/nss_nisplus/nisplus-service.c
11255 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11256 (_nss_nisplus_getservbyport_r): Likewise.
11257 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11258 (_nss_nisplus_getspnam_r): Likewise.
11259 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11261 * nscd/aicache.c (addhstaiX): Likewise.
11262 * nscd/cache.c (cache_search, prune_cache): Likewise.
11263 * nscd/connections.c (register_traced_file, send_ro_fd)
11264 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11265 (main_loop_epoll): Likewise.
11266 * nscd/grpcache.c (addgrbyX): Likewise.
11267 * nscd/hstcache.c (addhstbyX): Likewise.
11268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11269 * nscd/mem.c (gc, mempool_alloc): Likewise.
11270 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11271 (addinnetgrX): Likewise.
11272 * nscd/nscd-client.h (__nscd_acquire_maplock)
11273 (__nscd_drop_map_ref): Likewise.
11274 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11275 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11276 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11278 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11279 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11280 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11281 (__nscd_get_map_ref): Likewise.
11282 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11283 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11285 * nscd/pwdcache.c (addpwbyX): Likewise.
11286 * nscd/selinux.c (preserve_capabilities): Likewise.
11287 * nscd/servicescache.c (addservbyX): Likewise.
11288 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11289 * posix/fnmatch.c (fnmatch): Likewise.
11290 * posix/getopt.c (_getopt_internal_r): Likewise.
11291 * posix/glob.c (glob, glob_in_dir): Likewise.
11292 * posix/wordexp.c (exec_comm_child): Likewise.
11293 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11294 (getanswer_r, gaih_getanswer_slice): Likewise.
11295 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11296 * resolv/res_init.c: Likewise.
11297 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11298 * resolv/res_query.c (__libc_res_nquery): Likewise.
11299 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11301 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11302 * stdio-common/perror.c (perror): Likewise.
11303 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11304 * stdio-common/tmpnam.c (tmpnam): Likewise.
11305 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11306 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11307 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11309 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11310 * stdlib/putenv.c (putenv): Likewise.
11311 * stdlib/setenv.c (__add_to_environ): Likewise.
11312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11313 * stdlib/strtol_l.c (INTERNAL): Likewise.
11314 * string/memmem.c (memmem): Likewise.
11315 * string/strerror.c (strerror): Likewise.
11316 * string/strnlen.c (__strnlen): Likewise.
11317 * string/test-memmem.c (simple_memmem): Likewise.
11318 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11319 * sunrpc/pm_getport.c (__get_socket): Likewise.
11320 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11321 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11322 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11323 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11325 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11326 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11327 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11328 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11329 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11330 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11332 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11334 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11335 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11336 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11337 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11338 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11340 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11341 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11342 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11343 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11344 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11345 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11349 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11351 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11352 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11353 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11355 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11356 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11357 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11366 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11368 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11370 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11372 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11374 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11376 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11378 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11379 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11380 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11381 * sysdeps/posix/sleep.c: Likewise.
11382 * sysdeps/posix/tempname.c: Likewise.
11383 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11384 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11386 * sysdeps/powerpc/powerpc32/dl-machine.h
11387 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11388 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11390 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11391 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11393 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11394 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11395 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11396 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11397 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11398 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11399 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11400 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11401 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11402 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11404 (elf_machine_lazy_rel): Likewise.
11405 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11406 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11407 (elf_machine_lazy_rel): Likewise.
11408 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11409 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11410 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11411 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11412 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11413 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11414 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11417 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11418 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11419 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11420 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11421 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11422 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11423 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11424 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11425 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11426 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11427 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11429 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11430 (__posix_fallocate64_l64): Likewise.
11431 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11432 (posix_fallocate): Likewise.
11433 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11435 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11436 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11437 (getifaddrs_internal): Likewise.
11438 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11439 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11440 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11441 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11442 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11443 (__posix_fallocate64_l64): Likewise.
11444 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11446 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11448 (__get_clockfreq): Likewise.
11449 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11450 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11451 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11453 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11454 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11455 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11456 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11458 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11459 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11460 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11461 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11462 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11463 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11464 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11466 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11467 (posix_fallocate): Likewise.
11468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11469 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11470 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11471 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11472 (elf_machine_rela, elf_machine_rela_relative)
11473 (elf_machine_lazy_rel): Likewise.
11474 * time/asctime.c (asctime_internal): Likewise.
11475 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11476 * time/tzset.c (__tzset_parse_tz): Likewise.
11477 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11478 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11479 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11480 * wcsmbs/wcsmbsload.h: Likewise.
11483 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11485 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11486 (arena_get2): Remove THREAD_STATS conditionals.
11487 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11488 (__malloc_stats, int): Likewise.
11490 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11492 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11493 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11495 * manual/setjmp.texi: Fix typos/grammar errors.
11497 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11498 Only return early when n is <= 0. Delete unused return statement.
11500 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11501 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11502 * debug/tst-longjmp_chk3.c: New file.
11504 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11505 (test_main): Replace code with set_fortify_handler call.
11506 * debug/test-strcpy_chk.c: Likewise.
11507 * debug/tst-chk1.c: Likewise.
11508 * debug/tst-longjmp_chk.c: Likewise.
11509 * test-skeleton.c: Include fcntl.h & paths.h
11510 (set_fortify_handler): Define.
11512 * debug/tst-longjmp_chk.c: Add header comment and include
11513 ../test-skeleton.c.
11514 (do_test): Mark static.
11515 (TEST_FUNCTION): Define.
11517 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11518 (IP_PMTUDISC_INTERFACE): Likewise.
11519 (IP_MULTICAST_IF): Likewise.
11520 (IP_MULTICAST_TTL): Likewise.
11521 (IP_MULTICAST_LOOP): Likewise.
11522 (IP_ADD_MEMBERSHIP): Likewise.
11523 (IP_DROP_MEMBERSHIP): Likewise.
11524 (IP_UNBLOCK_SOURCE): Likewise.
11525 (IP_BLOCK_SOURCE): Likewise.
11526 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11527 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11528 (IP_MSFILTER): Likewise.
11529 (MCAST_JOIN_GROUP): Likewise.
11530 (MCAST_BLOCK_SOURCE): Likewise.
11531 (MCAST_UNBLOCK_SOURCE): Likewise.
11532 (MCAST_LEAVE_GROUP): Likewise.
11533 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11534 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11535 (MCAST_MSFILTER): Likewise.
11536 (IP_MULTICAST_ALL): Likewise.
11537 (IP_UNICAST_IF): Likewise.
11539 * timezone/Makefile: Delete $(have-ksh) check.
11540 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11541 * timezone/tzselect.ksh: Add +x mode bits.
11543 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11544 (ANON_INODE_FS_MAGIC): Likewise.
11545 (BDEVFS_MAGIC): Likewise.
11546 (BINFMTFS_MAGIC): Likewise.
11547 (BTRFS_TEST_MAGIC): Likewise.
11548 (CRAMFS_MAGIC_WEND): Likewise.
11549 (DEBUGFS_MAGIC): Likewise.
11550 (ECRYPTFS_SUPER_MAGIC): Likewise.
11551 (EXT3_SUPER_MAGIC): Likewise.
11552 (EXT4_SUPER_MAGIC): Likewise.
11553 (FUTEXFS_SUPER_MAGIC): Likewise.
11554 (HOSTFS_SUPER_MAGIC): Likewise.
11555 (HUGETLBFS_MAGIC): Likewise.
11556 (MINIX3_SUPER_MAGIC): Likewise.
11557 (MTD_INODE_FS_MAGIC): Likewise.
11558 (NILFS_SUPER_MAGIC): Likewise.
11559 (OPENPROM_SUPER_MAGIC): Likewise.
11560 (PIPEFS_MAGIC): Likewise.
11561 (PSTOREFS_MAGIC): Likewise.
11562 (QNX6_SUPER_MAGIC): Likewise.
11563 (RAMFS_MAGIC): Likewise.
11564 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11565 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11566 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11567 (SECURITYFS_MAGIC): Likewise.
11568 (SELINUX_MAGIC): Likewise.
11569 (SMACK_MAGIC): Likewise.
11570 (SOCKFS_MAGIC): Likewise.
11571 (SQUASHFS_MAGIC): Likewise.
11572 (STACK_END_MAGIC): Likewise.
11573 (TMPFS_MAGIC): Likewise.
11574 (USBDEVICE_SUPER_MAGIC): Likewise.
11575 (V9FS_MAGIC): Likewise.
11576 (XENFS_SUPER_MAGIC): Likewise.
11577 (CRAMFS_MAGIC): Fix typo in comment.
11578 (EXT2_SUPER_MAGIC): Update comment.
11579 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11581 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11583 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11584 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11585 * sysdeps/unix/sysv/linux/arm: Move directory from
11586 ports/sysdeps/unix/sysv/linux/arm.
11587 * README: Update listing for arm-*-linux-gnueabi.
11589 * README: Remove mention of am33.
11591 2014-02-07 Roland McGrath <roland@hack.frob.com>
11593 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11594 than the comma operator, to avoid "rhs of comma has no effect"
11596 (__sigfillset, __sigandset, __sigorset): Likewise.
11597 * include/signal.h (__sigemptyset): Likewise.
11598 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11600 2014-02-07 Allan McRae <allan@archlinux.org>
11602 * version.h (RELEASE): Set to "development".
11603 (VERSION): Set to "2.19.90"
11604 * NEWS: Add 2.20 section.
11606 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11609 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11611 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11613 * manual/contrib.texi: Update entry for Carlos O'Donell,
11614 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11616 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11618 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11620 * sysdeps/unix/sysv/linux/kernel-features.h
11621 [__LINUX_KERNEL_VERSION >= 0x020621]
11622 (__ASSUME_PROC_PID_TASK_COMM): Define.
11624 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11627 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11628 conversion when destination buffer does not have enough space.
11629 * libio/tst-ftell-partial-wide.c: New test case.
11630 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11632 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11633 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11634 Leonard and Allan McRae.
11636 2014-02-04 David S. Miller <davem@davemloft.net>
11638 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11641 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11670 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11672 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11673 * shlib-versions: Likewise.
11675 2014-02-04 Roland McGrath <roland@hack.frob.com>
11676 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11678 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11679 (abilist-pattern): New variable, set to %-le.abilist.
11681 * Makerules (abilist-pattern): New variable.
11682 (vpath): Use $(abilist-pattern) in place of %.abilist.
11683 (check-abi-% pattern rule): Likewise.
11684 (check-abi, update-abi): Likewise.
11686 2014-02-04 Eric Wong <normalperson@yhbt.net>
11688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11690 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11692 * manual/startup.texi: Add next, previous, and top entries for
11693 the `Program Arguments' and `Environment Variables' nodes.
11695 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11697 * manual/macros.texi: Add comments before MTASC-safety macros.
11699 * manual/users.texi: Document MTASC-safety properties.
11701 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11702 (pthread_getspecific, pthread_setspecific): Format with
11703 @deftypefun, and add @safety note.
11704 * manual/signal.texi: Move comments that analyze the above
11705 functions to their home place.
11707 2014-02-03 Allan McRae <allan@archlinux.org>
11709 * po/sl.po: Update Slovenian translation from translation project.
11711 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11713 * manual/time.texi (timegm): Add missing blank after @c.
11714 Reported by Joseph Myers <joseph@codesourcery.com>.
11716 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11718 * manual/check-safety.sh: New.
11719 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11721 * manual/terminal.texi: Document MTASC-safety properties.
11723 * manual/filesys.texi: Document MTASC-safety properties.
11725 * manual/errno.texi: Document MTASC-safety properties.
11727 * manual/intro.texi: Document safety identifiers and
11730 * manual/string.texi (wcstok): Fix prototype.
11731 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11733 * manual/time.texi: Document MTASC-safety properties.
11735 * manual/string.texi: Document MTASC-safety properties.
11737 * manual/threads.texi: Document MTASC-safety properties.
11739 * manual/stdio.texi: Document MTASC-safety properties.
11741 * manual/syslog.texi: Document MTASC-safety properties.
11743 * manual/sysinfo.texi: Document MTASC-safety properties.
11745 * manual/startup.texi: Document MTASC-safety properties.
11747 * manual/socket.texi: Document MTASC-safety properties.
11749 * manual/signal.texi: Document MTASC-safety properties.
11751 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11753 * manual/setjmp.texi: Document MTASC-safety properties.
11755 * manual/search.texi: Document MTASC-safety properties.
11757 * manual/resource.texi: Document MTASC-safety properties.
11759 * manual/process.texi: Document MTASC-safety properties.
11761 * manual/platform.texi: Document MTASC-safety properties.
11763 * manual/pipe.texi: Document MTASC-safety properties.
11765 * manual/pattern.texi: Document MTASC-safety properties.
11767 * manual/message.texi: Document MTASC-safety properties.
11770 * manual/memory.texi: Document MTASC-safety properties.
11772 * manual/math.texi: Document MTASC-safety properties.
11774 * manual/locale.texi: Document MTASC-safety properties.
11776 * manual/llio.texi: Document MTASC-safety properties.
11778 * manual/libdl.texi: New.
11780 * manual/lang.texi: Document MTASC-safety properties.
11782 * manual/job.texi: Document MTASC-safety properties.
11784 * manual/getopt.texi: Document MTASC-safety properties.
11786 * manual/ctype.texi: Document MTASC-safety properties.
11788 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11791 * csu/libc-tls.c (static_map): Remove variable.
11792 (__libc_setup_tls): Use main executable's link map for TLS data.
11793 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11794 casing for LM_ID_BASE and GL(dl_nns).
11795 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11796 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11797 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11798 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11799 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11801 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11804 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11806 * manual/debug.texi: Document MTASC-safety properties.
11808 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11811 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11812 of __x86_64__ when disabling x87 inline functions.
11814 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11816 * manual/charset.texi: Document MTASC-safety properties.
11818 * manual/crypt.texi: Document MTASC-safety properties.
11820 * manual/conf.texi: Document MTASC-safety properties.
11822 * manual/arith.texi: Document MTASC-safety properties.
11824 * manual/argp.texi: Document MTASC-safety properties.
11826 * manual/macros.texi: Introduce macros to document multi
11827 thread, asynchronous signal and asynchronous cancellation
11829 * manual/intro.texi: Introduce the properties themselves.
11831 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11833 * sysdeps/sh/sh4/Makefile: New file.
11835 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11837 * math/gen-libm-test.pl ($srcdir): New variable.
11838 ($auto_input): Use it.
11840 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11843 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11844 access beyond array bounds when parsing netgroups file.
11846 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11847 the old buffer before realloc.
11849 2014-01-27 Allan McRae <allan@archlinux.org>
11851 * po/fr.po: Update French translation from translation project.
11853 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11855 * sysdeps/sh/libm-test-ulps: Regenerate.
11857 2014-01-24 David S. Miller <davem@davemloft.net>
11859 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11861 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11863 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11864 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11866 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11869 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11870 string pointers after reallocation.
11872 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11874 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11875 __SH4A__ instead of __SH_FPU_ANY__.
11877 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11879 * sysdeps/sh/fpu_control.h: New file.
11880 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11881 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11882 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11883 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11884 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11885 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11886 * sysdeps/sh/sys/ucontext.h: Remove.
11887 * sysdeps/sh/sys: Remove directory.
11889 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11891 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11892 s390/sys/ucontext.h.
11893 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11894 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11896 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11899 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11901 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11904 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11905 Adjust the vDSO correctly for internal calls.
11906 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11908 2014-01-20 Allan McRae <allan@archlinux.org>
11910 * po/ca.po: Update Catalan translation from translation project.
11912 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11914 * sysdeps/s390/sotruss-lib.c: New file.
11916 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11920 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11921 local calls issues by not having a PLT stub required for IFUNC calls.
11922 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11924 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11926 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11927 * math/test-fpucw-static.c: Likewise.
11929 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11932 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11934 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11936 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11937 implementation for powerpc.
11939 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11942 * sysdeps/posix/system.c (__libc_system): Do not enable
11943 asynchronous cancellation.
11945 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11948 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11949 handling only for numbers special also in the IEEE case.
11951 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11953 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11955 2014-01-11 Allan McRae <allan@archlinux.org>
11957 * po/bg.po: Update Bulgarian translation from translation project.
11959 * po/de.po: Update German translation from translation project.
11961 2014-01-10 Roland McGrath <roland@hack.frob.com>
11963 * sysdeps/generic/gcc-compat.h: New file.
11965 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11967 * benchtests/asin-inputs: Correct slow inputs.
11968 * benchtests/acos-inputs: Likewise.
11970 2014-01-10 Allan McRae <allan@archlinux.org>
11972 * po:sv.po: Update Swedish translation from translation project.
11974 * po/vi.po: Update Vietnamese translation from translation project.
11976 * po/eo.po: Update Esperanto translation from translation project.
11978 * po/cs.po: Update Czech translation from translation project.
11980 * po/nl.po: Update Dutch translation from translation project.
11982 * po/pl.po: Update Polish translation from translation project.
11984 * po/ru.po: Update Russian translation from translation project.
11986 * po/uk.po: Update Ukrainian translation from translation project.
11988 2014-01-08 Brooks Moses <bmoses@google.com>
11990 * elf/dl-load.c: Fix comment typo.
11992 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11994 * po/header.pot: Rename to...
11995 * po/pot.header: ... this.
11996 * po/Makefile: Use pot.header.
11998 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11999 Maxim Kuvyrkov <maxim@kugelworks.com>
12002 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12003 SRC and DEST against LEN.
12005 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12008 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12010 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12012 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12016 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12019 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12020 for large positive arguments.
12022 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12024 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12026 * math/auto-libm-test-in: Mark various tests with
12027 xfail-rounding:ldbl-128ibm.
12028 * math/auto-libm-test-out: Regenerated.
12031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12032 Increase overflow threshold.
12034 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12037 * stdio-common/vfprintf.c: Check for integer overflow.
12039 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12041 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12042 the first argument and return value of __tls_get_addr_internal.
12044 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12046 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12047 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12049 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12051 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12052 * sysdeps/s390/rtld-global-offsets.sym: New file.
12053 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12055 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12056 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12057 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12059 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12060 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12066 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12067 halfs of GPRs for high_gprs contexts.
12068 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12069 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12071 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12073 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12075 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12076 for high GPRs (uc_high_gprs) and for future extensions
12078 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12079 for future extensions (__reserved).
12080 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12082 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12083 SC_HIGHGPRS offset definition.
12084 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12085 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12087 * Versions.def: Add GLIBC_2.19 for libpthread.
12088 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12089 siglongjmp for libpthread with GLIBC_2.19 symver.
12090 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12091 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12092 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12093 * sysdeps/s390/__longjmp.c: New file.
12094 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12095 * sysdeps/s390/longjmp.c: New file.
12096 * sysdeps/s390/setjmp.S: New file.
12097 * sysdeps/s390/sigjmp.S: New file.
12098 * sysdeps/s390/v1-longjmp.c: New file.
12099 * sysdeps/s390/v1-setjmp.h: New file.
12100 * sysdeps/s390/v1-sigjmp.c: New file.
12101 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12102 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12103 GLIBC_2.19 version.
12104 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12105 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12106 versioned symbols for ____longjmp_chk.
12107 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12117 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12118 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12119 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12120 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12121 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12122 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12123 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12124 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12125 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12126 * sysdeps/s390/rtld-__longjmp.c: New file.
12127 * sysdeps/s390/rtld-setjmp.S: New file.
12129 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12132 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12133 Return -__logl (x) for small positive arguments without evaluating
12136 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12138 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12140 (__ptrace_peeksiginfo_args): ... this.
12141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12145 2014-01-06 Allan McRae <allan@archlinux.org>
12147 * inet/netinet/in.h: Fix typo in comment.
12149 2014-01-05 Andreas Jaeger <aj@suse.de>
12151 * sysdeps/i386/fpu/libm-test-ulps: Update.
12153 2014-01-05 Allan McRae <allan@archlinux.org>
12155 * po/libc.pot: Regenerated.
12157 * malloc/memusagestat.c: Fix gettext call formatting.
12159 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12161 * nscd/nscd.c: Improve usage() output.
12163 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12165 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12166 * sysdeps/unix/sysv/linux/configure: Regenerated.
12167 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12168 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12170 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12173 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12174 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12176 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12178 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12179 extra tokens at end of #undef directive.
12180 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12181 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12184 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12186 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12188 * math/auto-libm-test-in: Mark various tests with
12189 xfail-rounding:ldbl-128ibm.
12190 * math/auto-libm-test-out: Regenerated.
12192 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12195 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12196 numbers with subnormal high part when calculating exponent.
12199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12205 (__ieee754_acoshl): Use __log1pl not __log1p.
12207 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12209 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12210 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12211 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12212 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12213 (reused_arena, arena_get2): Convert to GNU style.
12214 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12215 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12216 (memalign_check, __malloc_set_state): Likewise.
12217 * malloc/mallocbug.c (main): Likewise.
12218 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12219 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12220 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12221 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12222 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12223 (__posix_memalign, malloc_info): Likewise.
12224 * malloc/malloc.h: Likewise.
12225 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12226 (mallochook, memalignhook, reallochook, mabort): Likewise.
12227 * malloc/mcheck.h: Likewise.
12228 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12229 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12230 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12231 * malloc/morecore.c (__default_morecore): Likewise.
12232 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12233 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12234 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12235 (print_and_abort): Likewise.
12236 * malloc/obstack.h: Likewise.
12237 * malloc/set-freeres.c (__libc_freeres): Likewise.
12238 * malloc/tst-mallocstate.c (main): Likewise.
12239 * malloc/tst-mtrace.c (main): Likewise.
12240 * malloc/tst-realloc.c (do_test): Likewise.
12242 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12245 * nscd/netgroupcache.c (do_notfound): New function.
12246 (addgetnetgrentX): Use it.
12249 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12250 NSS_STATUS_NOTFOUND.
12252 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12254 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12257 2014-01-01 Allan McRae <allan@archlinux.org>
12259 * scripts/update-copyrights: Update configure input file suffix.
12261 * NEWS: Update copyright year.
12262 * catgets/gencat.c: Likewise.
12263 * csu/version.c: Likewise.
12264 * debug/catchsegv.sh: Likewise.
12265 * debug/pcprofiledump.c: Likewise.
12266 * debug/xtrace.sh: Likewise.
12267 * elf/ldconfig.c: Likewise.
12268 * elf/ldd.bash.in: Likewise.
12269 * elf/pldd.c: Likewise.
12270 * elf/sotruss.ksh: Likewise.
12271 * elf/sprof.c: Likewise.
12272 * iconv/iconv_prog.c: Likewise.
12273 * iconv/iconvconfig.c: Likewise.
12274 * locale/programs/locale.c: Likewise.
12275 * locale/programs/localedef.c: Likewise.
12276 * login/programs/pt_chown.c: Likewise.
12277 * malloc/memusage.sh: Likewise.
12278 * malloc/memusagestat.c: Likewise.
12279 * malloc/mtrace.pl: Likewise.
12280 * manual/libc.texinfo: Likewise.
12281 * nscd/nscd.c: Likewise.
12282 * nss/getent.c: Likewise.
12283 * nss/makedb.c: Likewise.
12284 * posix/getconf.c: Likewise.
12285 * scripts/test-installation.pl: Likewise.
12287 * All files with FSF copyright notices: Update copyright dates
12288 using scripts/update-copyrights.
12289 * intl/plural.c: Regenerated.
12290 * locale/programs/charmap-kw.h: Likewise.
12291 * locale/programs/locfile-kw.h: Likewise.
12293 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12295 * sysdeps/unix/sysv/linux/configure: Regenerated.
12296 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12297 the linux/fanotify.h header.
12298 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12299 HAVE_LINUX_FANOTIFY_H is defined.
12301 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12303 * benchtests/cos-inputs: New inputs.
12304 * benchtests/sin-inputs: Likewise.
12306 * benchtests/atan-inputs: New inputs. Fix name of multiple
12307 precision fallback inputs.
12309 * benchtests/atanh-inputs: New inputs.
12310 * benchtests/tanh-inputs: Likewise.
12312 * benchtests/acosh-inputs: New inputs.
12313 * benchtests/asinh-inputs: Likewise.
12315 * benchtests/cosh-inputs: New inputs.
12316 * benchtests/sinh-inputs: Likewise.
12318 * benchtests/acos-inputs: Add more inputs.
12319 * benchtests/asin-inputs: Likewise.
12321 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12324 * manual/arith.texi: Fix spelling.
12325 * manual/charset.texi: Likewise.
12326 * manual/errno.texi: Likewise.
12327 * manual/filesys.texi: Likewise.
12328 * manual/lang.texi: Likewise.
12329 * manual/llio.texi: Likewise.
12330 * manual/locale.texi: Likewise.
12331 * manual/message.texi: Likewise.
12332 * manual/resource.texi: Likewise.
12333 * manual/search.texi: Likewise.
12334 * manual/setjmp.texi: Likewise.
12335 * manual/stdio.texi: Likewise.
12336 * manual/string.texi: Likewise.
12337 * manual/sysinfo.texi: Likewise.
12338 * manual/time.texi: Likewise.
12340 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12342 * po/sl.po: New file.
12344 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12346 * .gitignore: Add core/.gdbinit/.gdb_history.
12348 2013-12-27 Allan McRae <allan@archlinux.org>
12351 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12352 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12354 2013-12-24 Brooks Moses <bmoses@google.com>
12356 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12357 all compilers that claim C++98 compliance, not just GCC.
12358 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12361 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12363 * NEWS: Restore accidentally deleted bug-fix entries.
12365 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12366 Ondřej Bílka <neleai@seznam.cz>
12369 * malloc/malloc.c (_int_free): Perform sanity check only if we
12372 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12375 * manual/stdio.texi (String Input Conversions): Clarify that character
12376 classes are not supported.
12378 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12382 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12385 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12386 Calculate results for small negative arguments directly rather
12387 than using reflection formula with special underflow handling.
12389 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12390 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12391 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12392 (fchflags): Likewise.
12393 (revoke): Likewise.
12394 (setlogin): Likewise.
12395 (sigaltstack): Likewise.
12397 (sigblock): Remove.
12398 (sigsetmask): Likewise.
12400 (waitpid): Likewise.
12401 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12402 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12404 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12405 * sysdeps/unix/bsd/Makefile: ... here.
12406 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12407 * sysdeps/unix/bsd/Versions: ... here.
12408 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12409 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12410 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12411 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12412 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12413 * sysdeps/unix/bsd/sigblock.c: ... here.
12414 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12415 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12416 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12417 * sysdeps/unix/bsd/sigvec.c: ... here.
12418 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12419 * sysdeps/unix/bsd/tcdrain.c: ... here.
12420 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12421 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12422 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12423 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12424 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12425 * sysdeps/unix/bsd/wait.c: ... here.
12426 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12427 * sysdeps/unix/bsd/wait3.c: ... here.
12428 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12429 * sysdeps/unix/bsd/waitpid.c: ... here.
12431 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12434 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12435 round-to-nearest for [!USE_AS_EXPM1L].
12436 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12437 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12438 more tests of exp and exp10. Expect some exp10 tests to miss
12439 exceptions or fail in directed rounding modes.
12440 * math/auto-libm-test-out: Regenerated.
12441 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12442 (exp10_test_tonearest): New function.
12443 (exp10_towardzero_test_data): New array.
12444 (exp10_test_towardzero): New function.
12445 (exp10_downward_test_data): New array.
12446 (exp10_test_downward): New function.
12447 (exp10_upward_test_data): New array.
12448 (exp10_test_upward): New function.
12449 (main): Call the new functions.
12450 * sysdeps/i386/fpu/libm-test-ulps: Update.
12451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12453 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12455 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12456 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12457 * math/auto-libm-test-out: Regenerated.
12458 * math/libm-test.inc (acosh_test_data): Add more tests.
12459 (atanh_test_data): Likewise.
12460 (ceil_test_data): Likewise.
12461 (copysign_test_data): Likewise.
12462 * sysdeps/i386/fpu/libm-test-ulps: Update.
12463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12465 * timezone/checktab.awk: Update from tzcode 2013i.
12466 * timezone/private.h: Likewise.
12467 * timezone/scheck.c: Likewise.
12468 * timezone/tzfile.h: Likewise.
12469 * timezone/tzselect.ksh: Likewise.
12470 * timezone/zdump.c: Likewise.
12471 * timezone/zic.c: Likewise.
12473 * math/auto-libm-test-in: Add tests of cpow.
12474 * math/auto-libm-test-out: Regenerated.
12475 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12476 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12478 (func_calc_desc): Add mpc_cc_c union field.
12479 (test_functions): Add cpow.
12480 (special_fill_2pi): New function.
12481 (special_real_inputs): Add 2pi.
12482 (calc_generic_results): Handle mpc_cc_c.
12483 * sysdeps/i386/fpu/libm-test-ulps: Update.
12484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12486 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12487 csqrt, ctan and ctanh.
12488 * math/auto-libm-test-out: Regenerated.
12489 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12490 (TEST_COND_x86): Likewise.
12491 (ccos_test_data): Use AUTO_TESTS_c_c.
12492 (ccosh_test_data): Likewise.
12493 (cexp_test_data): Likewise.
12494 (clog_test_data): Likewise.
12495 (csqrt_test_data): Likewise.
12496 (ctan_test_data): Likewise.
12497 (ctan_tonearest_test_data): Likewise.
12498 (ctan_towardzero_test_data): Likewise.
12499 (ctan_downward_test_data): Likewise.
12500 (ctan_upward_test_data): Likewise.
12501 (ctanh_test_data): Likewise.
12502 (ctanh_tonearest_test_data): Likewise.
12503 (ctanh_towardzero_test_data): Likewise.
12504 (ctanh_downward_test_data): Likewise.
12505 (ctanh_upward_test_data): Likewise.
12506 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12508 (func_calc_desc): Add mpc_c_c union field.
12509 (FUNC_mpc_c_c): New macro.
12510 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12511 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12513 (special_fill_min_subnorm_p120): New function.
12514 (special_real_inputs): Add min_subnorm_p120.
12515 (calc_generic_results): Handle mpc_c_c.
12516 * sysdeps/i386/fpu/libm-test-ulps: Update.
12517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12519 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12521 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12522 (do_sin_slow): New functions.
12523 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12524 (cslow2, csloww1, csloww2): Use the new functions.
12526 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12527 Use M to change sign of result instead of X. Assume X is
12529 (csloww1): Likewise.
12533 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12534 arguments A and DA.
12538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12540 (sloww1): Don't adjust sign of DX.
12541 (csloww1): Likewise.
12542 (sloww2): Use X directly and don't adjust sign of DX.
12543 (csloww2): Likewise.
12545 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12547 * math/auto-libm-test-in: Add tests of cabs and carg.
12548 * math/auto-libm-test-out: Regenerated.
12549 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12550 (carg_test_data): Likewise.
12551 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12553 (func_calc_desc): Add mpc_c_f union field.
12554 (test_functions): Add cabs and carg.
12555 (calc_generic_results): Handle mpc_c_f.
12557 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12558 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12559 as a macro and a compat symbol.
12560 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12561 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12562 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12563 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12564 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12565 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12567 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12569 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12571 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12573 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12575 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12577 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12578 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12581 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12585 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12587 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12588 trailing whitespace removed.
12589 * scripts/config.guess: Update to version 2013-11-29.
12590 * scripts/config.sub: Update to version 2013-10-01.
12592 * math/auto-libm-test-in: Add tests of sincos.
12593 * math/auto-libm-test-out: Regenerated.
12594 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12597 (func_calc_desc): Add mpfr_f_11 union field.
12598 (test_functions): Add sincos.
12599 (calc_generic_results): Handle mpfr_f_11.
12600 * sysdeps/i386/fpu/libm-test-ulps: Update.
12601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12603 2013-12-19 Andreas Schwab <schwab@suse.de>
12605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12608 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12609 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12611 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12613 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12614 * sysdeps/i386/fpu/libm-test-ulps: Update.
12615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12618 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12619 round-to-nearest mode when using frndint.
12620 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12621 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12624 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12626 * math/auto-libm-test-out: Regenerated.
12627 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12628 (TEST_COND_x86): Likewise.
12629 (expm1_tonearest_test_data): New array.
12630 (expm1_test_tonearest): New function.
12631 (expm1_towardzero_test_data): New array.
12632 (expm1_test_towardzero): New function.
12633 (expm1_downward_test_data): New array.
12634 (expm1_test_downward): New function.
12635 (expm1_upward_test_data): New array.
12636 (expm1_test_upward): New function.
12637 (main): Run the new test functions.
12638 * sysdeps/i386/fpu/libm-test-ulps: Update.
12639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12641 * include/features.h: Update comment documenting feature test
12642 macros. Mention _DEFAULT_SOURCE in comment.
12643 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12644 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12645 _BSD_SOURCE and _SVID_SOURCE.
12646 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12647 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12648 !_SVID_SOURCE]: Likewise.
12649 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12650 (__USE_POSIX_IMPLICITLY): Define.
12651 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12652 (_POSIX_SOURCE): Undefine and redefine.
12653 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12654 (_POSIX_C_SOURCE): Likewise.
12655 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12656 (Feature Test Macros): Update documentation of default features.
12658 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12660 * benchtests/Makefile: Add bench-strtok.
12661 * benchtests/bench-strtok.c: New file: strtok benchtest.
12663 2013-12-19 Allan McRae <allan@archlinux.org>
12665 * manual/install.texi: Suppress menu for plain text output.
12666 * INSTALL: Regenerated.
12668 2013-12-18 Brooks Moses <bmoses@google.com>
12671 * misc/getauxval.c: Include errno.h.
12672 (__getauxval): Set errno to ENOENT if the requested type is not
12674 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12675 don't declare with __attribute_const__.
12676 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12677 * manual/startup.texi: Document that getauxval sets errno.
12679 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12681 * math/auto-libm-test-in: Add tests of jn and yn.
12682 * math/auto-libm-test-out: Regenerated.
12683 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12684 (yn_test_data): Likewise.
12685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12687 (func_calc_desc): Add mpfr_if_f union field.
12688 (FUNC_mpfr_if_f): New macro.
12689 (test_functions): Add jn and yn.
12690 (calc_generic_results): Assert type of second input for
12691 mpfr_ff_f. Handle mpfr_if_f.
12692 (output_for_one_input_case): Disable all checking for arguments
12693 fitting floating-point types in case of an integer argument.
12694 * sysdeps/i386/fpu/libm-test-ulps: Update.
12695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12698 Don't expect fegetround reference in libm.so.
12700 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12702 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12703 $(config-cflags-nofma).
12705 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12707 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12708 * math/auto-libm-test-out: Regenerated.
12711 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12712 to determine exponent and adjust argument to have exponent of -1.
12713 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12715 * math/auto-libm-test-out: Regenerated.
12716 * sysdeps/i386/fpu/libm-test-ulps: Update.
12717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12719 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12721 * manual/probes.texi: Remove cases when per-thread arenas are
12724 2013-12-18 Andreas Schwab <schwab@suse.de>
12726 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12727 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12728 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12729 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12730 * sysdeps/i386/i686/multiarch/Makefile: Update.
12731 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12733 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12735 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12736 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12738 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12741 Support TZ transition times < 00:00:00.
12742 This is needed for version-3 tz-format files; it supports time
12743 stamps past 2037 for America/Godthab (the only entry in the tz
12744 database for which this change is relevant).
12745 * manual/time.texi (TZ Variable): Document transition times
12746 from -167:59:59 through -00:00:01.
12747 * time/tzset.c (tz_rule): Time of day is now signed.
12748 (__tzset_parse_tz): Parse negative time of day.
12750 Document TZ transition times >= 25:00:00.
12751 * manual/time.texi (TZ Variable): Document transition times from
12752 25:00:00 through 167:59:59. These are already supported, and this
12753 support will help with version-3 tz-format files.
12755 * manual/time.texi (TZ Variable): Modernize North America example
12756 to reflect current (i.e., 2007-and-later) daylight saving rules.
12758 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12760 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12762 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12763 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12766 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12767 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12768 * sysdeps/unix/bsd/clock.c: Likewise.
12769 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12770 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12771 * sysdeps/unix/bsd/init-posix.c: Likewise.
12772 * sysdeps/unix/bsd/poll.c: Likewise.
12773 * sysdeps/unix/bsd/ptsname.c: Likewise.
12774 * sysdeps/unix/bsd/seekdir.c: Likewise.
12775 * sysdeps/unix/bsd/setegid.c: Likewise.
12776 * sysdeps/unix/bsd/seteuid.c: Likewise.
12777 * sysdeps/unix/bsd/setgid.c: Likewise.
12778 * sysdeps/unix/bsd/setrgid.c: Likewise.
12779 * sysdeps/unix/bsd/setruid.c: Likewise.
12780 * sysdeps/unix/bsd/setsid.c: Likewise.
12781 * sysdeps/unix/bsd/setuid.c: Likewise.
12782 * sysdeps/unix/bsd/sigaction.c: Likewise.
12783 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12784 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12785 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12786 * sysdeps/unix/bsd/telldir.c: Likewise.
12787 * sysdeps/unix/bsd/times.c: Likewise.
12788 * sysdeps/unix/bsd/usleep.c: Likewise.
12790 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12791 ($(objpfx)libbsd-compat.a): Remove rule.
12793 * include/features.h (__FAVOR_BSD): Do not define.
12794 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12795 features conflicting with POSIX.
12796 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12797 (_BSD_SOURCE): Remove description of not being a subset of other
12798 feature test macros.
12799 * manual/job.texi (getpgrp): Do not document BSD version.
12800 (getpgid): Do not document by reference to BSD getpgrp.
12801 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12802 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12803 * signal/signal.h [__FAVOR_BSD]: Likewise.
12804 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12805 instead of making contents conditional on [__FAVOR_BSD].
12806 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12808 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12812 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12815 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12816 values below 2**-450, not 2**-500.
12817 * math/auto-libm-test-in: Don't allow spurious underflow from
12819 * math/auto-libm-test-out: Regenerated.
12823 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12824 values of ha and hb and sort them after adjusting subnormal
12826 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12828 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12829 values of ea and eb and sort them after adjusting subnormal
12831 * math/auto-libm-test-in: Do not expect some hypot tests of
12832 subnormals to fail. Add more hypot tests.
12833 * math/auto-libm-test-out: Regenerated.
12835 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12838 * sysdeps/sh/s_fma.c: New file.
12839 * sysdeps/sh/s_fmaf.c: New file.
12840 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12842 * sysdeps/sh/Implies: Add sh/soft-fp.
12844 2013-12-16 Roland McGrath <roland@hack.frob.com>
12846 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12847 level of indirection to members `objname', `errstring', `malloced'.
12848 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12849 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12850 it as the __longjmp argument (just pass 1 instead).
12851 (_dl_catch_error): Initialize C with argument pointers and address of
12852 volatile local ERRCODE rather than copying values out of C at return.
12854 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12856 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12857 * math/auto-libm-test-out: Regenerated.
12858 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12859 (hypot_test_data): Likewise.
12860 (pow_test_data): Likewise.
12861 (pow_tonearest_test_data): Likewise.
12862 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12864 (func_calc_desc): Add mpfr_ff_f union field.
12865 (FUNC_mpfr_ff_f): New macro.
12866 (test_functions): Add atan2, hypot and pow.
12867 (special_fill_min): New function.
12868 (special_fill_minus_min): Likewise.
12869 (special_fill_min_subnorm): Likewise.
12870 (special_fill_minus_min_subnorm): Likewise.
12871 (special_real_inputs): Add min, -min, min_subnorm and
12873 (calc_generic_results): Handle mpfr_ff_f.
12874 * sysdeps/i386/fpu/libm-test-ulps: Update.
12875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12877 2013-12-16 Will Newton <will.newton@linaro.org>
12879 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12880 (Aligned Memory Blocks): Add documentation for aligned_alloc
12881 and suggest it as an alternative to posix_memalign.
12882 (Hooks for Malloc): Document __memalign_hook is also called
12883 for aligned_alloc. (Summary of Malloc): Add summary for
12884 aligned alloc. Document __memalign_hook is also called
12887 2013-12-16 Will Newton <will.newton@linaro.org>
12889 * manual/memory.texi (Malloc Examples): Clarify default
12890 alignment documentation. Suggest posix_memalign rather
12891 than memalign or valloc.
12892 (Aligned Memory Blocks): Remove suggestion to use memalign
12893 or valloc. Remove obsolete comment about BSD.
12894 Document memalign errno values and mark the function obsolete.
12895 Document posix_memalign returned error codes. Mark valloc
12896 as obsolete. (Hooks for Malloc): __memalign_hook is also
12897 called for posix_memalign and valloc.
12898 (Summary of Malloc): Add posix_memalign to function summary.
12899 __memalign_hook is also called for posix_memalign and valloc.
12901 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12903 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12907 (sloww): Use mynumber union. Expand ternary operator into
12908 if-else statements.
12909 (cslow): use mynumber union.
12911 2013-12-16 Allan McRae <allan@archlinux.org>
12913 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12914 * configure: Regenerated.
12916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12919 * configure.ac: Added --enable-maintainer-mode. Check for
12920 autoconf when enabled.
12921 * configure: Regenerated.
12923 * nscd/nscd.service: New file.
12924 * nscd/nscd.tmpfiles: New file.
12926 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12929 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12930 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12931 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12932 (strstr): Add __strstr_sse2_unaligned ifunc.
12933 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12934 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12935 (strcasestr): Remove __strcasestr_sse42 ifunc.
12936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12940 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12942 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12943 * sysdeps/sh/bits/fenv.h: ... here.
12944 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12946 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12948 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12950 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12951 hypotf multiarch implementations.
12952 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12953 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12954 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12955 multiarch hypot for PPC64.
12956 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12957 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12958 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12959 multiarch hypotf for PPC64.
12961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12962 modff multiarch implementations.
12963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12966 multiarch modf for PPC64.
12967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12970 multiarch modff for PPC64.
12972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12973 and logl multiarch implementations.
12974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12977 multiarch logb for PPC64.
12978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12981 multiarch logb for PPC64.
12982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12985 multiarch logb for PPC64.
12987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12988 isinff multiarch implementation.
12989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12993 multiarch isinf for PPC64.
12994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12997 multiarch isinff for PPC64.
12999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13000 finitef multiarch implementation.
13001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13005 multiarch finite for PPC64.
13006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13009 multiarch finitef for PPC64.
13011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13012 lrint multiarch implementation.
13013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13017 multiarch llrint for PPC64.
13018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13019 multiarch lrint for PPC64.
13021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13022 copysignf multiarch implementation.
13023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13028 multiarch copysign for PPC64.
13029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13030 multiarch copysignf for PPC64.
13032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13033 multiarch implementation.
13034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13042 multiarch llround for PPC64.
13043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13044 multiarch trunc for PPC64.
13045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13046 multiarch truncf for PPC64.
13048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13049 multiarch implementation.
13050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13058 multiarch llround for PPC64.
13059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13060 multiarch round for PPC64.
13061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13062 multiarch roundf for PPC64.
13064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13065 multiarch implementation.
13066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13074 multiarch llround for PPC64.
13075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13076 multiarch floor for PPC64.
13077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13078 multiarch floorf for PPC64.
13080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13081 multiarch implementation.
13082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13090 multiarch llround for PPC64.
13091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13092 multiarch ceil for PPC64.
13093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13094 multiarch ceilf for PPC64.
13096 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13097 multiarch implementation.
13098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13105 multiarch llround for PPC64.
13106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13107 multiarch lround for PPC64.
13109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13110 multiarch implementation.
13111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13118 multiarch isnan for PPC64.
13119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13120 multiarch isnanf for PPC64.
13122 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13123 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13124 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13125 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13126 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13129 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13130 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13135 multiarch implementations.
13136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13137 (__libc_ifunc_impl_list): Likewise.
13138 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13139 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13140 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13141 multiarch stpcpy for PPC64.
13143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13144 multiarch implementations.
13145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13146 (__libc_ifunc_impl_list): Likewise.
13147 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13148 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13149 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13150 multiarch strcpy for PPC64.
13152 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13153 redefine function name.
13154 (_wordcopy_fwd_dest_aligned): Likewise.
13155 (_wordcopy_bwd_aligned): Likewise.
13156 (_wordcopy_bwd_dest_aligned): Likewise.
13157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13158 multiarch implementations.
13159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13160 (__libc_ifunc_impl_list): Likewise.
13161 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13162 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13163 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13164 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13165 multiarch wcscpy for PPC64.
13167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13168 multiarch implementations.
13169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13170 (__libc_ifunc_impl_list): Likewise.
13171 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13172 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13173 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13174 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13175 multiarch wcscpy for PPC64.
13177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13178 multiarch implementations.
13179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13180 (__libc_ifunc_impl_list): Likewise.
13181 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13182 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13183 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13184 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13185 multiarch wcsrchr for PPC64.
13187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13188 multiarch implementations.
13189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13190 (__libc_ifunc_impl_list): Likewise.
13191 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13192 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13193 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13194 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13195 multiarch wcschr for PPC64.
13197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13198 multiarch implementations.
13199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13200 (__libc_ifunc_impl_list): Likewise.
13201 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13202 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13203 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13204 multiarch strchrnul for PPC64.
13206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13209 (__libc_ifunc_impl_list): Likewise.
13210 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13211 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13212 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13213 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13219 (__libc_ifunc_impl_list): Likewise.
13220 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13221 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13222 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13223 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13227 multiarch implementations.
13228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13229 (__libc_ifunc_impl_list): Likewise.
13230 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13231 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13232 strncasecmp for PPC64.
13233 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13234 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13235 multiarch strncasecmp_l for PPC64.
13237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13238 multiarch implementations.
13239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13240 (__libc_ifunc_impl_list): Likewise.
13241 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13242 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13243 multiarch strcasecmp for PPC64.
13244 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13246 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13247 multiarch strcasecmp_l for PPC64.
13249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13252 (__libc_ifunc_impl_list): Likewise.
13253 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13254 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13255 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13261 (__libc_ifunc_impl_list): Likewise.
13262 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13263 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13264 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13270 (__libc_ifunc_impl_list): Likewise.
13271 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13272 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13273 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13274 rawmemrchr for PPC64.
13276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13279 (__libc_ifunc_impl_list): Likewise.
13280 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13281 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13282 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13288 (__libc_ifunc_impl_list): Likewise.
13289 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13290 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13291 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13297 (__libc_ifunc_impl_list): Likewise.
13298 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13299 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13300 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13303 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13304 avoid cretion of __bzero symbol.
13305 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13307 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13309 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13312 multiarch implementations.
13313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13314 (__libc_ifunc_impl_list): Likewise.
13315 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13316 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13317 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13318 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13320 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13321 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13322 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13323 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13324 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13326 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13328 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13332 (__libc_ifunc_impl_list): Likewise.
13333 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13334 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13335 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13336 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13340 multiarch for POWER/PPC64.
13341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13342 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13343 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13344 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13345 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13346 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13347 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13348 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13349 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13352 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13353 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13354 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13355 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13356 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13357 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13358 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13359 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13360 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13361 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13362 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13363 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13364 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13365 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13366 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13375 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13377 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13379 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13381 * benchtests/Makefile (bench): Add exp2 and log2.
13382 (LDLIBS-bench-exp2): Add -lm.
13383 (LDLIBS-bench-log2): Likewise.
13384 * benchtests/exp2-inputs: New inputs file.
13385 * benchtests/log2-inputs: New inputs file.
13386 * benchtests/log-inputs: Add new inputs.
13387 * benchtests/tan-inputs: Likewise.
13389 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13391 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13393 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13394 (csloww2): ... from here.
13396 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13397 instead of structures.
13398 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13399 (POLYNOMIAL): Likewise.
13400 (TAYLOR_SLOW): Likewise.
13406 (sloww1); Likewise.
13407 (sloww2): Likewise.
13408 (bsloww1): Likewise.
13409 (bsloww2): Likewise.
13410 (cslow2): Likewise.
13411 (csloww): Likewise.
13412 (csloww1): Likewise.
13413 (csloww2): Likewise.
13415 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13417 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13418 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13419 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13420 * malloc/hooks.c (realloc_check): Likewise.
13422 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13423 * malloc/arena.c: Remove PER_THREAD conditional.
13424 [!PER_THREAD]: Remove code.
13425 (ptmalloc_unlock_all2): Likewise.
13426 (ptmalloc_init): Likewise.
13427 (_int_new_arena): Likewise.
13428 (arena_get2): Likewise.
13429 * malloc/hooks.c (__malloc_get_state): Likewise.
13430 (__malloc_set_state): Likewise.
13431 * malloc/malloc.c: Likewise.
13432 (struct malloc_state): Likewise.
13433 (struct malloc_par): Likewise.
13434 (__libc_realloc): Likewise.
13435 (__libc_mallopt): Likewise.
13437 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13439 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13441 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13443 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13444 macro to a function. Check for zero perturb_byte.
13445 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13447 * malloc/malloc.c: (force_reg): Remove.
13448 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13449 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13450 force_reg by atomic_forced_read.
13451 * malloc/arena.c (ptmalloc_init): Likewise.
13452 * malloc/hooks.c (top_check): Likewise.
13454 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13458 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13462 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13464 * math/auto-libm-test-in: Add tests of lgamma.
13465 * math/auto-libm-test-out: Regenerated.
13466 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13467 (M_LOG_2_SQRT_PIl): Likewise.
13468 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13469 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13471 (func_calc_desc): Add mpfr_f_f1 union field.
13472 (ARGS1): New macro.
13480 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13481 (test_functions): Add lgamma.
13482 (calc_generic_results): Handle mpfr_f_f1.
13483 * sysdeps/i386/fpu/libm-test-ulps: Update.
13484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13486 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13488 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13489 __mpn_add_n for PowerPC64/POWER7.
13490 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13491 __mpn_sub_n for PowerPC64/POWER7.
13493 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13494 __mpn_addmul_1 for PowerPC64.
13495 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13496 __mpn_submul_1 for PowerPC64.
13497 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13499 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13502 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13505 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13507 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13509 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13511 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13512 add multiarch folders.
13513 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13514 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13515 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13516 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13517 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13518 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13519 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13520 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13521 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13522 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13523 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13532 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13538 multiarch __ieee754_hypot for PowerPC32.
13539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13544 multiarch __ieee754_hypotf for PowerPC32.
13546 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13547 long_double_symbol only if __logbl is defined.
13548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13549 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13550 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13551 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13553 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13554 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13555 path for implementation.
13556 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13557 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13559 logb, and logbl multiarch implementations for PowerPC32.
13560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13565 multiarch logb for PowerPC32.
13566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13571 multiarch logbf for PowerPC32.
13572 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13576 multiarch logbl implementation for PowerPC32.
13578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13579 and modff multiarch implementations.
13580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13585 multiarch modf for PowerPC32.
13586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13591 multiarch modff for PowerPC32.
13593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13594 and lrintf multiarch implementations.
13595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13600 multiarch lrint for PowerPC32.
13601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13602 file: multiarch lrintf for PowerPC32.
13604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13605 and lroundf multiarch implementations.
13606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13613 multiarch lround for PowerPC32.
13614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13615 file: multiarch lroundf for PowerPC32.
13617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13618 copysign and copysignf multiarch implementations.
13619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13624 file: multiarch copysign for PowerPC32.
13625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13626 file: multiarch copysignf for PowerPC32.
13628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13629 and truncf multiarch implementations.
13630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13635 multiarch trunc for PowerPC32.
13636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13641 multiarch truncf for PowerPC32.
13643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13644 and roundf multiarch implementations.
13645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13650 multiarch round for PowerPC32.
13651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13656 multiarch roundf for PowerPC32.
13658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13659 and floorf multiarch implementations.
13660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13665 multiarch floor for PowerPC32.
13666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13671 multiarch floorf for PowerPC32.
13673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13674 and ceilf multiarch implementations.
13675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13680 multiarch ceil for PowerPC32.
13681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13686 multiarch ceilf for PowerPC32.
13688 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13690 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13691 FINITEF is defined.
13692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13693 and finitef multiarch implementations.
13694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13699 multiarch finite for PowerPC32.
13700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13703 file: multiarch finitef for PowerPC32.
13705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13706 and isinff multiarch implementations.
13707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13712 multiarch isinf for PowerPC32.
13713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13716 multiarch isinff for PowerPC32.
13718 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13719 alias when __isnan is defined.
13720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13721 and isnanf multiarch implementations.
13722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13731 multiarch isnan for PowerPC32.
13732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13737 multiarch isnanf for PowerPC32.
13739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13740 and sqrtf multiarch implementations.
13741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13746 multiarch sqrt for PowerPC32.
13747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13752 multiarch sqrtf for PowerPC32.
13754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13755 and llroundf multiarch implementations.
13756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13763 file: multiarch llround for PowerPC32.
13764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13765 file: multiarch llroundf for PowerPC32.
13767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13768 multiarch PowerPC32 fpu implementations.
13769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13774 multiarch llrint for PowerPC32.
13775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13784 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13786 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13788 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13790 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13791 multiarch wordcopy for PPC32.
13792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13795 (__libc_ifunc_impl_list): Likewise.
13796 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13797 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13798 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13799 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13800 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13801 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13803 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13811 multiarch wcscpy for PPC32.
13812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13815 (__libc_ifunc_impl_list): Likewise.
13816 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13817 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13818 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13819 sysdeps/powerpc/power6/wcscpy.c.
13821 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13829 multiarch wcsrchr for PPC32.
13830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13833 (__libc_ifunc_impl_list): Likewise.
13834 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13835 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13836 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13837 sysdeps/powerpc/power6/wcsrchr.c.
13839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13845 multiarch wcschr for PPc32.
13846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13849 (__libc_ifunc_impl_list): Likewise.
13850 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13851 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13852 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13853 sysdeps/powerpc/power6/wcschr.c.
13855 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13856 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13858 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13859 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13860 file: multiarch strchr for PPC32.
13861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13864 (__libc_ifunc_impl_list): Likewise.
13866 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13868 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13870 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13873 multiarch strchrnul for PPC32.
13874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13877 (__libc_ifunc_impl_list): Likewise.
13879 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13881 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13882 multiarch strncasecmp for PPC32.
13883 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13885 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13886 multiarch strncasecmp_l for PPC32.
13887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13888 strncasecmp multiarch objects.
13889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13890 (__libc_ifunc_impl_list): Likewise.
13892 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13894 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13895 multiarch strncasecmp for PPC32.
13896 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13898 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13899 multiarch strcasecmp_l for PPC32.
13900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13903 (__libc_ifunc_impl_list): Likewise.
13905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13910 multiarch strncmp for PPC32.
13911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13914 (__libc_ifunc_impl_list): Likewise.
13916 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13917 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13919 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13920 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13924 (__libc_ifunc_impl_list): Likewise.
13926 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13928 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13930 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13934 (__libc_ifunc_impl_list): Likewise.
13936 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13938 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13940 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13941 multiarch rawmemchr for PPC32.
13942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13945 (__libc_ifunc_impl_list): Likewise.
13947 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13949 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13951 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13952 file: memrchr multiarch for PPC32.
13953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13956 (__libc_ifunc_impl_list): Likewise.
13958 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13959 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13961 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13962 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13963 multiarch memchr for PPC32.
13964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13967 (__libc_ifunc_impl_list): Likewise.
13969 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13970 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13972 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13974 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13975 file: multiarch mempcpy for PPC32.
13976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13979 (__libc_ifunc_impl_list): Likewise.
13981 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13982 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13983 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13984 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13985 multiarch bzero for PPC32.
13986 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13988 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13990 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13991 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13992 file: multiarch memset for PPC32.
13993 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13995 memset multiarch objects.
13996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13997 (__libc_ifunc_impl_list): Likewise.
13999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14001 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14004 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14008 (__libc_ifunc_impl_list): Likewise.
14010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14019 multiarch memcpy for PPC32.
14020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14023 (__libc_ifunc_impl_list): Likewise.
14025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14026 support multiarch for POWER/PPC32.
14027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14029 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14031 Implies file to make multiarch folder appers before the fpu and
14032 default folder for power4 configuration.
14034 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14036 * scripts/bench.pl: Append volatile keyword to type.
14038 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14040 * sysdeps/sh/sotruss-lib.c: New file.
14041 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14043 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14047 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14050 * math/w_tgamma.c: Include <errno.h>.
14051 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14052 * math/w_tgammaf.c: Include <errno.h>.
14053 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14054 * math/w_tgammal.c: Include <errno.h>.
14055 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14056 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14057 underflow. Add more tgamma tests.
14058 * math/auto-libm-test-out: Regenerated.
14059 * sysdeps/i386/fpu/libm-test-ulps: Update.
14060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14062 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14063 sin, sinh, tan, tanh, tgamma, y0 and y1.
14064 * math/auto-libm-test-out: Regenerated.
14065 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14066 (TEST_COND_x86): Likewise.
14067 (M_E2l): Remove macro.
14069 (M_2_SQRT_PIl): Likewise.
14070 (M_SQRT_PIl): Likewise.
14071 (M_1_DIV_El): Likewise.
14072 (log_test_data): Use AUTO_TESTS_f_f.
14073 (log10_test_data): Likewise.
14074 (log1p_test_data): Likewise.
14075 (log2_test_data): Likewise.
14076 (sin_test_data): Likewise.
14077 (sin_tonearest_test_data): Likewise.
14078 (sin_towardzero_test_data): Likewise.
14079 (sin_downward_test_data): Likewise.
14080 (sin_upward_test_data): Likewise.
14081 (sinh_test_data): Likewise.
14082 (sinh_tonearest_test_data): Likewise.
14083 (sinh_towardzero_test_data): Likewise.
14084 (sinh_downward_test_data): Likewise.
14085 (sinh_upward_test_data): Likewise.
14086 (tan_test_data): Likewise.
14087 (tan_tonearest_test_data): Likewise.
14088 (tan_towardzero_test_data): Likewise.
14089 (tan_downward_test_data): Likewise.
14090 (tan_upward_test_data): Likewise.
14091 (tanh_test_data): Likewise.
14092 (tgamma_test_data): Likewise.
14093 (y0_test_data): Likewise.
14094 (y1_test_data): Likewise.
14095 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14096 (special_real_inputs): Add pi/4.
14097 * sysdeps/i386/fpu/libm-test-ulps: Update.
14098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14100 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14102 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14103 "longjmp_target" static probes.
14104 (__longjmp): Rename to __longjmp_symbol.
14105 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14106 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14107 on which longjmp to generate.
14108 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14109 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14111 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14112 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14113 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14114 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14115 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14116 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14118 __longjmp_symbol based on which __longjmp to generate.
14119 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14121 (setjmp): Rename to setjmp_symbol.
14122 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14123 (_setjmp): Rename to _setjmp_symbol.
14124 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14125 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14126 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14127 which setjmp to generate.
14128 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14129 "longjmp_target" static probes.
14131 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14133 * benchtests/README: Add note about output arguments.
14134 * benchtests/bench-sincos.c: Remove file.
14135 * benchtests/sincos-inputs: New file.
14136 * scripts/bench.pl: Identify output arguments and define
14137 static variables for them.
14139 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14142 * Makefile (INSTALL): Add install-plain.texi as the primary
14144 * manual/install-plain.texi: New file.
14145 * manual/install.texi: Include node directive only for
14146 non-plaintext output.
14148 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14150 * stdlib/longlong.h: Update from GCC.
14154 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14155 * math/w_j0f.c (y0f): Likewise.
14156 * math/w_j0l.c (__y0l): Likewise.
14157 * math/w_j1.c (y1): Likewise.
14158 * math/w_j1f.c (y1f): Likewise.
14159 * math/w_j1l.c (__y1l): Likewise
14160 * math/w_jn.c (yn): Likewise.
14161 * math/w_jnf.c (ynf): Likewise.
14162 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14163 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14164 value for Bessel function domain errors outside _SVID_ mode.
14165 Adjust sign of return value for yn (negative integer, 0).
14166 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14167 by zero in return for negative x and set sign appropriately for
14169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14170 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14171 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14172 expectations in error cases.
14173 (y1_test_data): Likewise.
14174 (yn_test_data): Likewise.
14175 * sysdeps/i386/fpu/libm-test-ulps: Update.
14176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14178 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14180 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14181 "64" to "64-v1". Add "64-v2".
14182 (abi-64-options): Rename to ...
14183 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14184 (abi-64-condition): Rename to ...
14185 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14186 (abi-64-ld-soname): Rename to ...
14187 (abi-64-v1-ld-soname): ... this.
14188 (abi-64-v2-options): Define.
14189 (abi-64-v2-condition): Likewise.
14190 (abi-64-v2-ld-soname): Likewise.
14191 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14192 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14197 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14198 Alan Modra <amodra@gmail.com>
14200 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14201 New versions for use with the ELFv2 ABI.
14202 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14203 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14205 (struct La_ppc64v2_retval): Likewise.
14206 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14207 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14208 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14209 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14210 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14211 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14212 Do not save or restore CR.
14213 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14214 (_dl_profile_resolve): Do no save or restore CR. Support extended
14215 return values for ELFv2 ABI. Fix location of FPR return registers.
14216 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14217 updated values for _CALL_ELF == 2.
14218 (La_regs, La_retval, int_retval): Likewise.
14220 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14222 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14223 (FRAME_MIN_SIZE_PARM): Likewise.
14224 (FRAME_BACKCHAIN): Likewise.
14225 (FRAME_CR_SAVE): Likewise.
14226 (FRAME_LR_SAVE): Likewise.
14227 (FRAME_TOC_SAVE): Likewise.
14228 (FRAME_PARM_SAVE): Likewise.
14229 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14230 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14231 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14232 (call_mcount_parm_offset): New macro.
14233 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14234 (PROF): Use symbolic stack frame offsets.
14235 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14236 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14237 Redefine in terms of FRAME_MIN_SIZE.
14238 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14239 (_dl_profile_resolve): Likewise. Update comment.
14240 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14241 symbols stack frame offsets.
14242 (__sigsetjmp): Likewise.
14243 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14244 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14245 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14246 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14249 (FRAME_BACKCHAIN): Remove.
14250 (FRAME_CR_SAVE): Likewise.
14251 (FRAME_LR_SAVE): Likewise.
14252 (FRAME_COMPILER_DW): Likewise.
14253 (FRAME_LINKER_DW): Likewise.
14254 (FRAME_TOC_SAVE): Likewise.
14255 (FRAME_PARM_SAVE): Likewise.
14256 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14257 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14258 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14260 (CHECK_SP): Use symbolic stack frame offsets.
14261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14262 zone" instead of caller's parameter save area for temp storage.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14264 Likewise. Also, use symbolic stack frame offsets.
14265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14266 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14267 our own stack frame instead of the caller's.
14268 (__socket): Use symbolic stack frame offsets.
14270 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14271 Alan Modra <amodra@gmail.com>
14273 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14275 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14276 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14277 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14279 (elf_machine_fixup_plt): Call it.
14280 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14282 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14283 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14284 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14285 r2 before calling target.
14287 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14288 Alan Modra <amodra@gmail.com>
14290 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14291 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14292 versions of macros to support ELFv2 ABI.
14293 (LOCALENTRY): New macro.
14294 (ENTRY, EALIGN): Use it.
14295 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14296 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14297 fall through into ENTRY entry point.
14298 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14299 Only define if _CALL_ELF != 2.
14301 (elf_machine_matches_host): Verify ABI version matches.
14302 (RTLD_START): Use LOCALENTRY.
14303 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14304 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14305 (PLT_ENTRY_WORDS): New macro.
14306 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14307 (elf_machine_runtime_setup): Support ELFv2 ABI.
14308 (elf_machine_fixup_plt): Likewise.
14309 (elf_machine_plt_conflict): Likewise.
14310 (resolve_ifunc): Likewise.
14311 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14312 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14315 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14317 (makecontext): Support ELFv2 ABI.
14318 * elf/elf.h (EF_PPC64_ABI): Define.
14320 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14322 * sysdeps/powerpc/powerpc64/sysdep.h
14323 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14324 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14325 (ENTRY) [ASSEMBLER]: ... but instead here ...
14326 (EALIGN) [ASSEMBLER]: ... and here.
14327 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14328 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14329 (ENTRY_2) [!ASSEMBLER]: Use it.
14330 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14331 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14333 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14334 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14336 Use PPC64_LOAD_FUNCPTR.
14338 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14340 2013-12-04 Alan Modra <amodra@gmail.com>
14342 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14343 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14344 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14345 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14347 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14348 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14349 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14350 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14351 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14352 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14354 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14357 (__makecontext): Fix incorrect CFI when backtracing out of
14358 context created via makecontext.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14360 (__setcontext): Fix incorrect CFI during switch to new context.
14361 (__novec_setcontext): Likewise.
14363 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14366 * time/strptime_l.c (__strptime_internal): Allow modifiers
14368 * time/tst-strptime.c (day_tests): Add testcase.
14370 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14372 * scripts/bench.pl: Skip over blank lines.
14374 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14377 * manual/time.texi (Calendar Time): Clarify what timezone functions
14380 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14384 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14386 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14388 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14389 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14390 * debug/memset_chk.c (__memset_chk): Likewise.
14391 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14392 * debug/strncpy_chk.c: Likewise.
14394 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14398 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14399 (__ieee754_exp): For possibly underflowing results, check size of
14400 result and force underflow exception if required.
14401 * math/auto-libm-test-in: Add more tests of exp.
14402 * math/auto-libm-test-out: Regenerated.
14403 * sysdeps/i386/fpu/libm-test-ulps: Update.
14404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14408 * math/w_exp2f.c (__exp2f): Likewise.
14409 * math/w_exp2l.c (__exp2l): Likewise.
14410 * math/auto-libm-test-in: Do not allow missing errno on exp2
14412 * math/auto-libm-test-out: Regenerated.
14414 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14417 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14418 handle filename validation.
14419 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14422 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14425 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14426 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14427 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14429 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14430 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14431 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14433 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14434 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14435 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14436 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14437 Add more erfc tests.
14438 * math/auto-libm-test-out: Regenerated.
14439 * sysdeps/i386/fpu/libm-test-ulps: Update.
14440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14443 exp2, expm1, j0 and j1.
14444 * math/auto-libm-test-out: Regenerated.
14445 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14446 (erfc_test_data): Likewise.
14447 (exp_test_data): Likewise.
14448 (exp_tonearest_test_data): Likewise.
14449 (exp_towardzero_test_data): Likewise.
14450 (exp_downward_test_data): Likewise.
14451 (exp_upward_test_data): Likewise.
14452 (exp10_test_data): Likewise.
14453 (exp2_test_data): Likewise.
14454 (expm1_test_data): Likewise.
14455 (j0_test_data): Likewise.
14456 (j1_test_data): Likewise.
14457 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14458 (input_flag_type): Add flag_xfail_rounding.
14459 (input_flags): Add xfail-rounding.
14460 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14461 (output_for_one_input_case): Handle flag_xfail_rounding.
14462 * sysdeps/i386/fpu/libm-test-ulps: Update.
14463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14465 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14468 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14471 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14474 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14475 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14476 (STAP_PROBE0): New macro.
14477 (STAP_PROBE1): Likewise.
14478 (STAP_PROBE2): Likewise.
14479 (STAP_PROBE3): Likewise.
14480 (STAP_PROBE4): Likewise.
14482 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14484 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14486 2013-12-02 Steve Ellcey <sellcey@mips.com>
14488 * benchtests/Makefile (bench): Add sqrt.
14489 (LDLIBS-bench-sqrt): New.
14490 * benchtests/sqrt-input: New.
14492 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14494 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14495 (GAIH_EAI): Likewise.
14496 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14497 (gaih_inet): Likewise.
14498 (getaddrinfo): Don't use GAIH_EAI.
14500 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14501 (struct gaih): Remove definition.
14503 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14505 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14506 Use HERRNOP directly.
14508 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14512 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14514 * math/gen-auto-libm-tests.c (test_functions): Add more
14515 single-argument functions.
14516 (special_fill_pi_2): New function.
14517 (special_fill_minus_pi_2): Likewise.
14518 (special_fill_pi_6): Likewise.
14519 (special_fill_minus_pi_6): Likewise.
14520 (special_fill_pi_3): Likewise.
14521 (special_fill_2pi_3): Likewise.
14522 (special_fill_e): Likewise.
14523 (special_fill_1_e): Likewise.
14524 (special_fill_e_minus_1): Likewise.
14525 (special_real_inputs): Add more special inputs.
14526 (output_for_one_input_case): Do not require ERANGE on underflow to
14527 zero if round-to-nearest result does not underflow to zero, unless
14528 exact results required.
14529 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14530 atan, atanh, cbrt, cos and cosh.
14531 * math/auto-libm-test-out: Regenerated.
14532 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14533 (acos_tonearest_test_data): Likewise.
14534 (acos_towardzero_test_data): Likewise.
14535 (acos_downward_test_data): Likewise.
14536 (acos_upward_test_data): Likewise.
14537 (acosh_test_data): Likewise.
14538 (asin_test_data): Likewise.
14539 (asin_tonearest_test_data): Likewise.
14540 (asin_towardzero_test_data): Likewise.
14541 (asin_upward_test_data): Likewise.
14542 (asinh_test_data): Likewise.
14543 (atan_test_data): Likewise.
14544 (atanh_test_data): Likewise.
14545 (cbrt_test_data): Likewise.
14546 (cos_test_data): Likewise.
14547 (cos_tonearest_test_data): Likewise.
14548 (cos_towardzero_test_data): Likewise.
14549 (cos_downward_test_data): Likewise.
14550 (cos_upward_test_data): Likewise.
14551 (cosh_test_data): Likewise.
14552 (cosh_tonearest_test_data): Likewise.
14553 (cosh_towardzero_test_data): Likewise.
14554 (cosh_downward_test_data): Likewise.
14555 (cosh_upward_test_data): Likewise.
14556 * sysdeps/i386/fpu/libm-test-ulps: Update.
14557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14559 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14562 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14563 * math/w_exp10f.c (__exp10f): Likewise.
14564 * math/w_exp10l.c (__exp10l): Likewise.
14565 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14566 errno settings in existing tests.
14569 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14570 precision control set to double precision.
14571 * sysdeps/i386/fpu/w_sqrt.c: New file.
14572 * math/auto-libm-test-in: Add more tests.
14573 * math/auto-libm-test-out: Update.
14575 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14576 (sqrt_test_tonearest): New function.
14577 (sqrt_towardzero_test_data): New variable.
14578 (sqrt_test_towardzero): New function.
14579 (sqrt_downward_test_data): New variable.
14580 (sqrt_test_downward): New function.
14581 (sqrt_upward_test_data): New variable.
14582 (sqrt_test_upward): New function.
14583 (main): Call the new functions.
14585 * math/gen-auto-libm-tests.c: New file.
14586 * math/auto-libm-test-in: Likewise.
14587 * math/auto-libm-test-out: New generated file.
14588 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14590 (%beautify): Add generated representations of zero.
14591 (top level): Set $auto_input and call parse_auto_input.
14592 (beautify): Remove trailing "f" from hex float constants.
14593 (parse_args): Handle XFAIL_TEST.
14594 (convert_condition): New function.
14595 (or_value): Likewise.
14596 (or_cond_value): Likewise.
14597 (generate_testfile): Handle AUTO_TESTS_* lines.
14598 (parse_auto_input): New function.
14599 * math/libm-test.inc (XFAIL_TEST): New macro.
14600 (ERRNO_UNCHANGED): Update value.
14601 (ERRNO_EDOM): Likewise.
14602 (ERRNO_ERANGE): Likewise.
14603 (IGNORE_RESULT): Likewise.
14604 (TEST_COND_flt_32): New macro.
14605 (TEST_COND_dbl_64): Likewise.
14606 (TEST_COND_ldbl_96_intel): Likewise.
14607 (TEST_COND_ldbl_96_m68k): Likewise.
14608 (TEST_COND_ldbl_128): Likewise.
14609 (TEST_COND_ldbl_128ibm): Likewise.
14610 (TEST_COND_long32): Likewise.
14611 (TEST_COND_long64): Likewise.
14612 (TEST_COND_before_rounding): Likewise.
14613 (TEST_COND_after_rounding): Likewise.
14614 (enable_test): Handle XFAIL_TEST flag.
14615 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14616 with finite results.
14617 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14618 auto-libm-test-out.
14620 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14621 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14624 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14625 __tls_get_addr_internal instead of __tls_get_offset in order to
14626 avoid GOT pointer dependency. Make rtld export
14627 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14628 __tls_get_addr since we are a __tls_get_offset platform.
14629 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14630 GOT pointer being set up before.
14631 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14633 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14635 * manual/math.texi (Errors in Math Functions): Document accuracy
14639 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14640 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14643 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14645 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14656 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14657 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14658 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14659 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14660 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14662 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14664 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14666 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14667 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14668 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14669 atomic-feupdateenv and flt-rounds.
14670 * sysdeps/powerpc/nofpu/Versions (libc): Add
14671 __atomic_feholdexcept, __atomic_feclearexcept,
14672 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14673 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14674 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14675 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14676 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14681 * manual/arith.texi (FP Exceptions): Document that exceptions may
14682 not be raised when matherr is used.
14683 (Math Error Reporting): Document overflow in directed rounding
14684 modes. Document that errno may not be set when finite values are
14685 returned on overflow. Document intent to set errno on underflow
14686 only for underflow to zero.
14689 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14690 round-to-nearest then adjust result for other rounding modes.
14691 * include/fenv.h (fegetround): Use libm_hidden_proto.
14692 * math/fegetround.c (fegetround): Use libm_hidden_def.
14693 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14694 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14695 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14696 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14698 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14699 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14700 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14701 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14703 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14706 * nss/Versions (libnss_files): Add
14707 _nss_files_gethostbyname3_r.
14708 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14710 (HOST_DB_LOOKUP): Remove macro.
14711 (_nss_files_gethostbyname_r): Implement function without the
14712 HOST_DB_LOOKUP macro.
14713 (_nss_files_gethostbyname2_r): Likewise.
14715 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14717 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14719 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14721 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14722 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14725 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14727 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14728 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14729 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14730 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14731 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14732 __fe_nomask_env_priv and attribute_hidden.
14733 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14734 (libc_feupdateenv_test_ppc): Likewise.
14735 (libc_feresetround_ppc): Likewise.
14736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14737 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14738 compat_symbol macro.
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14740 (__fe_nomask_env): Likewise.
14741 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14743 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14745 * string/Makefile: Remove ifunc tests.
14746 * string/test-string.h: Define TEST_IFUNC.
14747 * string/test-bcopy-ifunc.c: Remove.
14748 * string/test-bzero-ifunc.c: Likewise.
14749 * string/test-memccpy-ifunc.c: Likewise.
14750 * string/test-memchr-ifunc.c: Likewise.
14751 * string/test-memcmp-ifunc.c: Likewise.
14752 * string/test-memcpy-ifunc.c: Likewise.
14753 * string/test-memmem-ifunc.c: Likewise.
14754 * string/test-memmove-ifunc.c: Likewise.
14755 * string/test-mempcpy-ifunc.c: Likewise.
14756 * string/test-memrchr-ifunc.c: Likewise.
14757 * string/test-memset-ifunc.c: Likewise.
14758 * string/test-rawmemchr-ifunc.c: Likewise.
14759 * string/test-stpcpy-ifunc.c: Likewise.
14760 * string/test-stpncpy-ifunc.c: Likewise.
14761 * string/test-strcasecmp-ifunc.c: Likewise.
14762 * string/test-strcasestr-ifunc.c: Likewise.
14763 * string/test-strcat-ifunc.c: Likewise.
14764 * string/test-strchr-ifunc.c: Likewise.
14765 * string/test-strchrnul-ifunc.c: Likewise.
14766 * string/test-strcmp-ifunc.c: Likewise.
14767 * string/test-strcpy-ifunc.c: Likewise.
14768 * string/test-strcspn-ifunc.c: Likewise.
14769 * string/test-strlen-ifunc.c: Likewise.
14770 * string/test-strncasecmp-ifunc.c: Likewise.
14771 * string/test-strncat-ifunc.c: Likewise.
14772 * string/test-strncmp-ifunc.c: Likewise.
14773 * string/test-strncpy-ifunc.c: Likewise.
14774 * string/test-strnlen-ifunc.c: Likewise.
14775 * string/test-strpbrk-ifunc.c: Likewise.
14776 * string/test-strrchr-ifunc.c: Likewise.
14777 * string/test-strspn-ifunc.c: Likewise.
14778 * string/test-strstr-ifunc.c: Likewise.
14780 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14782 * benchtests/Makefile: Remove ifunc tests.
14783 * benchtests/bench-string.h: Define TEST_IFUNC.
14784 * benchtests/bench-bcopy-ifunc.c: Remove.
14785 * benchtests/bench-bzero-ifunc.c: Likewise.
14786 * benchtests/bench-memccpy-ifunc.c: Likewise.
14787 * benchtests/bench-memchr-ifunc.c: Likewise.
14788 * benchtests/bench-memcmp-ifunc.c: Likewise.
14789 * benchtests/bench-memcpy-ifunc.c: Likewise.
14790 * benchtests/bench-memmem-ifunc.c: Likewise.
14791 * benchtests/bench-memmove-ifunc.c: Likewise.
14792 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14793 * benchtests/bench-memrchr-ifunc.c: Likewise.
14794 * benchtests/bench-memset-ifunc.c: Likewise.
14795 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14796 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14797 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14798 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14799 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14800 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14801 * benchtests/bench-strcat-ifunc.c: Likewise.
14802 * benchtests/bench-strchr-ifunc.c: Likewise.
14803 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14804 * benchtests/bench-strcmp-ifunc.c: Likewise.
14805 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14806 * benchtests/bench-strcpy-ifunc.c: Likewise.
14807 * benchtests/bench-strcspn-ifunc.c: Likewise.
14808 * benchtests/bench-strlen-ifunc.c: Likewise.
14809 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14810 * benchtests/bench-strncat-ifunc.c: Likewise.
14811 * benchtests/bench-strncmp-ifunc.c: Likewise.
14812 * benchtests/bench-strncpy-ifunc.c: Likewise.
14813 * benchtests/bench-strnlen-ifunc.c: Likewise.
14814 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14815 * benchtests/bench-strrchr-ifunc.c: Likewise.
14816 * benchtests/bench-strsep-ifunc.c: Likewise.
14817 * benchtests/bench-strspn-ifunc.c: Likewise.
14818 * benchtests/bench-strstr-ifunc.c: Likewise.
14820 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14822 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14824 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14826 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14827 * rt/aio.h: Likewise.
14828 * sysdeps/gnu/bits/utmp.h: Likewise.
14829 * sysdeps/gnu/bits/utmpx.h: Likewise.
14830 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14831 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14832 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14833 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14834 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14835 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14836 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14837 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14838 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14839 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14840 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14841 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14842 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14844 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14845 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14846 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14847 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14848 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14849 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14850 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14851 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14852 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14853 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14854 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14856 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14857 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14858 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14859 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14860 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14861 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14862 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14863 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14864 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14866 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14867 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14868 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14869 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14870 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14871 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14873 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14876 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14877 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14879 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14881 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14882 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14885 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14888 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14889 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14890 (__fesetround): Remove define.
14891 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14892 rounding and exceptions handling.
14893 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14894 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14895 (__fe_nomask_env): Likewise.
14896 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14897 __fegetround instead of fegetround.
14898 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14899 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14901 2013-11-21 Roland McGrath <roland@hack.frob.com>
14903 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14906 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14908 2013-11-21 Meador Inge <meadori@codesourcery.com>
14911 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14912 (encrypt_r): Likewise.
14913 * malloc/obstack.h (obstack_free): Likewise.
14914 * posix/unistd.h (encrypt): Likewise.
14916 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14918 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14919 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14920 DL_CALL_DT_FINI() that call the functions directly.
14921 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14922 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14923 * elf/dl-fini.c: Likewise.
14925 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14927 * malloc/hooks.c (memalign_check): Add alignment rounding.
14928 * malloc/malloc.c (_mid_memalign): New function.
14929 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14930 Implement by calling _mid_memalign.
14931 * manual/probes.texi (Memory Allocation Probes): Remove
14932 memory_valloc_retry and memory_pvalloc_retry.
14934 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14936 * locale/programs/locarchive.c (open_archive): Add const
14937 qualifier to ARCHIVEFNAME and copy default fname to
14941 * libio/tst-widetext.input: Rename Oriya to Odia.
14942 * locale/iso-639.def: Likewise.
14944 * manual/probes.texi (Mathematical Function Probes): Add
14945 documentation for sin, cos, asin and acos probes.
14946 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14947 (__sin32): Add slowasin probe.
14948 (__cos32): Add slowacos probe.
14949 (__mpsin): Add slowsin probe.
14950 (__mpcos): Add slowcos probe.
14952 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14955 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14956 thread-local __sim_exceptions_thread and global
14957 __sim_exceptions_global.
14958 (__sim_disabled_exceptions): Change to thread-local
14959 __sim_disabled_exceptions_thread and global
14960 __sim_disabled_exceptions_global.
14961 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14962 and global __sim_round_mode_global.
14963 (__simulate_exceptions): Use thread-local floating-point state and
14964 set global state from it as needed.
14965 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14966 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14967 __sim_round_mode_thread.
14968 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14969 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14970 and global __sim_exceptions_global.
14971 (__sim_disabled_exceptions): Change to thread-local
14972 __sim_disabled_exceptions_thread and global
14973 __sim_disabled_exceptions_global.
14974 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14975 and global __sim_round_mode_global.
14976 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14977 (SIM_SET_GLOBAL): Likewise.
14978 * sysdeps/powerpc/soft-fp/sfp-machine.h
14979 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14980 __sim_round_mode_thread.
14981 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14982 __sim_disabled_exceptions_thread.
14983 (__sim_exceptions): Change to __sim_exceptions_thread.
14984 (__sim_disabled_exceptions): Change to
14985 __sim_disabled_exceptions_thread.
14986 (__sim_round_mode): Change to __sim_round_mode_thread.
14987 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14988 thread-local floating-point state and set global state from it as
14990 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14991 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14992 (__sim_disabled_exceptions): Remove extern declaration.
14993 (feenableexcept): Use thread-local floating-point state and set
14994 global state from it as needed.
14995 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14996 extern declaration.
14997 (__sim_disabled_exceptions): Likewise.
14998 (__sim_round_mode): Likewise.
14999 (__fegetenv): Use thread-local floating-point state.
15000 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15001 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15002 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15003 floating-point state and set global state from it as needed.
15004 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15005 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15006 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15008 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15009 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15011 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15012 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15013 Use __sim_round_mode_thread.
15014 * math/test-fenv-tls.c: New file.
15015 * math/Makefile (tests): Add test-fenv-tls.
15016 ($(objpfx)test-fenv-tls): Depend on
15017 $(common-objpfx)nptl/libpthread.so.
15019 2013-11-19 Andreas Schwab <schwab@suse.de>
15021 * locale/programs/locale.c (show_info): Decode wordarray elements.
15022 * locale/categories.def (LC_MONETARY): Add element for
15023 _NL_MONETARY_CRNCYSTR.
15024 * locale/C-monetary.c (conversion_rate): New variable.
15025 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15028 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15030 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15031 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15033 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15035 * elf/Makefile (tst-auxv): New test.
15036 * elf/tst-auxv.c: New
15037 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15039 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15041 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15042 (hidden_proto): Caller changed.
15043 (hidden_tls_proto): New macro.
15044 (libc_hidden_tls_proto): Likewise.
15045 (rtld_hidden_tls_proto): Likewise.
15046 (libm_hidden_tls_proto): Likewise.
15047 (libresolv_hidden_tls_proto): Likewise.
15048 (librt_hidden_tls_proto): Likewise.
15049 (libdl_hidden_tls_proto): Likewise.
15050 (libnss_files_hidden_tls_proto): Likewise.
15051 (libnsl_hidden_tls_proto): Likewise.
15052 (libnss_nisplus_hidden_tls_proto): Likewise.
15053 (libutil_hidden_tls_proto): Likewise.
15055 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15058 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15059 (decompose_rpath): Defer expansion to fillin_rpath.
15060 (_dl_init_paths): Pass linkmap to fillin_rpath.
15062 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15064 * benchtests/Makefile: Add strsep.
15065 * benchtests/bench-strsep.c: New file: strsep benchtest.
15066 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15068 2013-11-18 Andreas Schwab <schwab@suse.de>
15070 * locale/programs/locale.c (show_info) [case byte]: Check for
15071 '\377' instead of '\177'.
15072 * locale/C-monetary.c (not_available): Always use "\377".
15073 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15074 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15075 detect unavailable sign_posn locale elements.
15076 * locale/localeconv.c (__localeconv): For grouping and
15077 mon_grouping handle "\177" and "\377" like no grouping.
15078 (INT_ELEM): New macro. Use it to set all numeric members.
15079 * locale/programs/ld-monetary.c (monetary_read)
15080 <tok_mon_grouping>: Normalize single -1 to the empty string.
15081 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15084 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15088 when we match (nil).
15089 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15091 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15093 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15094 (NO_TEST_INLINE): Update value.
15095 (ERRNO_UNCHANGED): Likewise.
15096 (ERRNO_EDOM): Likewise.
15097 (ERRNO_ERANGE): Likewise.
15098 (IGNORE_RESULT): Likewise.
15099 (check_float_internal): Check signs of NaN results if
15100 TEST_NAN_SIGN used.
15101 (check_complex): Pass TEST_NAN_SIGN flag through to second
15102 check_float_internal call.
15103 (copysign_test_data): Add tests with quiet NaNs as second
15104 argument. Use TEST_NAN_SIGN.
15105 (fabs_test_data): Add test of negative quiet NaN argument. Use
15107 (signbit_test_data): Add tests of quiet NaN argument.
15108 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15110 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15112 (parse_args): Handle function results specified as IGNORE.
15113 * math/libm-test.inc (IGNORE_RESULT): New macro.
15114 (check_float_internal): Do not check numerical result if flag
15116 (check_complex): Pass through IGNORE_RESULT to second
15117 check_float_internal call.
15118 (check_int): Do not check numerical result if flag IGNORE_RESULT
15120 (check_long): Likewise.
15121 (check_bool): Likewise.
15122 (check_longlong): Likewise.
15123 (lrint_test_data): Add tests of infinite and NaN arguments.
15124 (lrint_tonearest_test_data): Likewise.
15125 (lrint_towardzero_test_data): Likewise.
15126 (lrint_downward_test_data): Likewise.
15127 (lrint_upward_test_data): Likewise.
15128 (llrint_test_data): Likewise.
15129 (llrint_tonearest_test_data): Likewise.
15130 (llrint_towardzero_test_data): Likewise.
15131 (llrint_downward_test_data): Likewise.
15132 (llrint_upward_test_data): Likewise.
15133 (lround_test_data): Likewise.
15134 (llround_test_data): Likewise.
15136 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15137 (ERRNO_UNCHANGED): Update value.
15138 (ERRNO_EDOM): Likewise.
15139 (ERRNO_ERANGE): Likewise.
15140 (NO_TEST_INLINE_FLOAT): New macro.
15141 (NO_TEST_INLINE_DOUBLE): Likewise.
15142 (enable_test): New function.
15143 (RUN_TEST_f_f): Check enable_test before running test.
15144 (RUN_TEST_2_f): Likewise.
15145 (RUN_TEST_fff_f): Likewise.
15146 (RUN_TEST_c_f): Likewise.
15147 (RUN_TEST_f_f1): Likewise.
15148 (RUN_TEST_fF_f1): Likewise.
15149 (RUN_TEST_fI_f1): Likewise.
15150 (RUN_TEST_ffI_f1): Likewise.
15151 (RUN_TEST_c_c): Likewise.
15152 (RUN_TEST_cc_c): Likewise.
15153 (RUN_TEST_f_i): Likewise.
15154 (RUN_TEST_f_i_tg): Likewise.
15155 (RUN_TEST_ff_i_tg): Likewise.
15156 (RUN_TEST_f_b): Likewise.
15157 (RUN_TEST_f_b_tg): Likewise.
15158 (RUN_TEST_f_l): Likewise.
15159 (RUN_TEST_f_L): Likewise.
15160 (RUN_TEST_fFF_11): Likewise.
15161 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15163 (cosh_test_data): Likewise.
15164 (exp_test_data): Likewise.
15165 (expm1_test_data): Likewise.
15166 (hypot_test_data): Likewise.
15167 (pow_test_data): Likewise.
15168 (sinh_test_data): Likewise.
15169 (tanh_test_data): Likewise.
15170 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15173 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15174 tests with quiet NaN input and output.
15175 (acosh_test_data): Likewise.
15176 (asin_test_data): Likewise.
15177 (asinh_test_data): Likewise.
15178 (atan_test_data): Likewise.
15179 (atanh_test_data): Likewise.
15180 (atan2_test_data): Likewise.
15181 (cbrt_test_data): Likewise.
15182 (cos_test_data): Likewise.
15183 (cosh_test_data): Likewise.
15184 (erf_test_data): Likewise.
15185 (erfc_test_data): Likewise.
15186 (exp_test_data): Likewise.
15187 (exp10_test_data): Likewise.
15188 (exp2_test_data): Likewise.
15189 (expm1_test_data): Likewise.
15190 (hypot_test_data): Likewise.
15191 (j0_test_data): Likewise.
15192 (j1_test_data): Likewise.
15193 (jn_test_data): Likewise.
15194 (lgamma_test_data): Likewise.
15195 (log_test_data): Likewise.
15196 (log10_test_data): Likewise.
15197 (log1p_test_data): Likewise.
15198 (log2_test_data): Likewise.
15199 (pow_test_data): Likewise.
15200 (scalb_test_data): Likewise.
15201 (sin_test_data): Likewise.
15202 (sincos_test_data): Likewise.
15203 (sinh_test_data): Likewise.
15204 (tan_test_data): Likewise.
15205 (tanh_test_data): Likewise.
15206 (tgamma_test_data): Likewise.
15207 (y0_test_data): Likewise.
15208 (y1_test_data): Likewise.
15209 (yn_test_data): Likewise.
15212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15213 argument being NaN and avoid computations with second argument in
15215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15217 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15219 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15221 * locale/iso-639.def: Add Chitwani Tharu (the).
15223 2013-11-14 Andreas Schwab <schwab@suse.de>
15225 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15226 word instead of empty string.
15228 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15231 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15233 (__fe_nomask_env): Likewise.
15235 2013-11-13 Steve Ellcey <sellcey@mips.com>
15237 * benchtests/bench-timing.h: Include time.h.
15239 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15242 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15244 * sysdeps/unix/sysv/linux/configure: Regenerated.
15246 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15249 * stdlib/strtod_l.c (round_and_return): Do not consider
15250 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15251 exponent one less than half the least subnormal exponent.
15252 * stdlib/test-strtod-round-data: Add more tests.
15253 * stdlib/tst-strtod-round.c (tests): Regenerated.
15255 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15258 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15259 (__fe_mask_env): Likewise.
15260 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15261 libm_hidden_proto and add function prototype.
15262 (__fe_mask_env): Add function prototype.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15264 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15266 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15268 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15270 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15272 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15273 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15275 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15277 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15278 of htab_find_slot().
15280 2013-11-11 David S. Miller <davem@davemloft.net>
15283 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15284 symbol in the non-vis3 case in static builds.
15285 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15286 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15287 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15288 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15290 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15293 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15296 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15298 * benchtests/Makefile: Add bench-strtod.
15299 * benchtests/bench-strtod.c: New file: strtod benchtest
15301 2013-11-11 Andreas Schwab <schwab@suse.de>
15304 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15305 terminating NUL in key length.
15307 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15309 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15310 Add artificial ODP entry for vDSO symbol for PPC64.
15311 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15312 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15314 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15317 * nss/getent.c (services_keys): Recognize services starting with digit.
15319 2013-11-06 David S. Miller <davem@davemloft.net>
15322 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15323 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15325 2013-11-06 Will Newton <will.newton@linaro.org>
15327 * manual/memory.texi (Malloc Examples): Remove register
15328 keyword from examples.
15330 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15332 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15334 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15337 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15338 depending on [__GCC_IEC_559 > 0].
15339 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15340 depending on [__GCC_IEC_559_COMPLEX > 0].
15342 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15344 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15347 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15349 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15351 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15354 * malloc/malloc (malloc_info): Do not handle first bin as
15357 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15359 * locale/iso-639.def: Add Central Nahuatl (nhn).
15361 2013-11-01 Bruno Haible <bruno@clisp.org>
15364 * manual/math.texi (BSD Random): Specify range upper bound as
15367 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15369 * locale/iso-639.def: Add Meadow Mari (mhr).
15371 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15373 [BZ #14752], [BZ #15763]
15374 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15376 * rt/tst_shm.c: Add test for escaping directory.
15378 2013-10-31 Andreas Schwab <schwab@suse.de>
15381 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15382 followed by 'x' as part of digit sequence.
15383 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15385 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15388 * configure.ac: allow GNU Make 4.0 and greater.
15389 * configure: Regenerated.
15391 2013-10-30 Will Newton <will.newton@linaro.org>
15394 * malloc/hooks.c (memalign_check): Limit alignment to the
15395 maximum representable power of two.
15396 * malloc/malloc.c (__libc_memalign): Likewise.
15397 * malloc/tst-memalign.c (do_test): Add test for very
15398 large alignment values.
15399 * malloc/tst-posix_memalign.c (do_test): Likewise.
15401 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15404 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15405 (munmap_chunk): Likewise.
15406 (mremap_chunk): Likewise.
15408 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15411 * stdlib/div.c (div): Remove obsolete code.
15412 * stdlib/ldiv.c (ldiv): Likewise.
15413 * stdlib/lldiv.c (lldiv): Likewise.
15415 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15418 * nss/nss_files/files-XXX.c (get_contents_ret): New
15420 (get_contents): New function.
15421 (internal_getent): Use it. Expand size of LINEBUFLEN.
15423 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15425 * configure.in: Moved to ...
15426 * configure.ac: ... here. Change reference to configure.in
15428 * sysdeps/arm/preconfigure.ac: ... here.
15429 configure.in to configure.ac.
15430 * sysdeps/gnu/configure.in: Moved to ...
15431 * sysdeps/gnu/configure.ac: ... here.
15432 * sysdeps/i386/configure.in: Moved to ...
15433 * sysdeps/i386/configure.ac: ... here.
15434 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15435 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15436 * sysdeps/mach/configure.in: Moved to ...
15437 * sysdeps/mach/configure.ac: ... here.
15438 * sysdeps/mach/hurd/configure.in: Moved to ...
15439 * sysdeps/mach/hurd/configure.ac: ... here.
15440 * sysdeps/powerpc/configure.in: Moved to ...
15441 * sysdeps/powerpc/configure.ac: ... here.
15442 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15443 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15444 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15445 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15446 * sysdeps/s390/s390-32/configure.in: Moved to ...
15447 * sysdeps/s390/s390-32/configure.ac: ... here.
15448 * sysdeps/s390/s390-64/configure.in: Moved to ...
15449 * sysdeps/s390/s390-64/configure.ac: ... here.
15450 * sysdeps/sh/configure.in: Moved to ...
15451 * sysdeps/sh/configure.ac: ... here.
15452 * sysdeps/sparc/configure.in: Moved to ...
15453 * sysdeps/sparc/configure.ac: ... here.
15454 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15455 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15456 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15457 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15458 * sysdeps/x86_64/configure.in: Moved to ...
15459 * sysdeps/x86_64/configure.ac: ... here.
15460 * sysdeps/x86_64/preconfigure.in: Moved to ...
15461 * sysdeps/x86_64/preconfigure.ac: ... here.
15462 * aclocal.m4: Change reference to configure.in to configure.ac.
15463 * config.h.in: Likewise.
15464 * manual/install.texi: Likewise.
15465 * manual/maint.texi: Likewise.
15466 * Makefile: Likewise.
15467 * malloc/Makefile: Likewise.
15468 * nscd/Makefile: Likewise.
15469 * Makeconfig: Change reference to configure.in and
15470 preconfigure.in to configure.ac and preconfigure.ac
15472 * INSTALL: Regenerated.
15473 * configure: Likewise.
15474 * sysdeps/gnu/configure: Likewise.
15475 * sysdeps/i386/configure: Likewise.
15476 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15477 * sysdeps/mach/configure: Likewise.
15478 * sysdeps/mach/hurd/configure: Likewise.
15479 * sysdeps/powerpc/configure: Likewise.
15480 * sysdeps/powerpc/powerpc32/configure: Likewise.
15481 * sysdeps/powerpc/powerpc64/configure: Likewise.
15482 * sysdeps/s390/s390-32/configure: Likewise.
15483 * sysdeps/s390/s390-64/configure: Likewise.
15484 * sysdeps/sh/configure: Likewise.
15485 * sysdeps/sparc/configure: Likewise.
15486 * sysdeps/unix/sysv/linux/configure: Likewise.
15487 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15488 * sysdeps/x86_64/configure: Likewise.
15489 * sysdeps/x86_64/preconfigure: Likewise.
15491 2013-10-29 Andreas Schwab <schwab@suse.de>
15493 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15495 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15497 * benchtests/pow-inputs: Add new inputs.
15499 * benchtests/exp-inputs: Add new inputs.
15501 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15502 conditional check for return value.
15503 (__cos32): Likewise.
15505 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15507 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15508 to provide a boost for large inputs with word alignment.
15509 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15510 implementation based on optimized PPC64 strcpy.
15511 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15512 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15513 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15514 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15516 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15519 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15521 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15524 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15525 * time/tst-strptime.c (day_tests): Add testcase.
15527 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15530 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15532 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15535 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15536 MAP_FAILED on error.
15538 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15541 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15542 heap for large requests.
15544 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15547 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15548 result if the result has no associated interface.
15549 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15550 interface for all 127.X.Y.Z addresses.
15552 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15554 * locale/iso-639.def: Add Ligurian (lij)
15556 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15559 * sunrpc/rpc_main.c: Document rpcgen -5.
15561 2013-10-19 Michael Stahl <mstahl@redhat.com>
15563 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15565 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15568 * posix/glob.c: Match only directories when trailing slash is present.
15569 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15570 (main): Add testcase.
15572 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15575 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15577 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15579 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15580 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15581 AUTH_DES and cindex for FIPS 140-2.
15582 (DES Encryption): Add cindex FIPS 46-3.
15584 * locale/locarchive.h (struct locarhandle): Add fname.
15585 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15586 if an optional argument was specified to --list-archive,
15588 * locale/programs/locarchive.c (show_archive_content): Take new
15589 argument fname and pass it via ah.fname to open_archive.
15590 * locale/programs/localedef.h: Update decl.
15591 (open_archive): If AH->fname is non-null, open that file
15592 rather than the default file name, and don't ignore ENOENT.
15593 (create_archive): Set AH.fname to NULL.
15594 (delete_locales_from_archive): Likewise.
15595 (add_locales_to_archive): Likewise.
15596 * locale/programs/locfile.c (write_all_categories): Likewise.
15598 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15599 Aldy Hernandez <aldyh@redhat.com>
15601 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15602 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15603 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15604 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15605 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15606 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15607 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15608 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15609 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15610 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15611 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15612 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15613 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15614 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15615 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15617 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15619 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15621 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15623 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15624 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15626 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15627 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15628 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15629 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15631 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15632 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15633 * sysdeps/powerpc/preconfigure: Likewise.
15634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15636 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15637 Replace contents of file by #include of <fenv_libc.h>.
15638 * sysdeps/powerpc/soft-fp/sfp-machine.h
15639 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15641 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15644 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15645 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15646 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15648 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15654 Allow copysignl PLT reference to be missing.
15656 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15657 Joseph Myers <joseph@codesourcery.com
15660 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15662 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15664 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15666 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15667 * elf/tst-tls1.c: Likewise.
15668 * elf/tst-tls10.h: Likewise.
15669 * elf/tst-tls14.c: Likewise.
15670 * elf/tst-tls2.c: Likewise.
15671 * elf/tst-tls3.c: Likewise.
15672 * elf/tst-tls4.c: Likewise.
15673 * elf/tst-tls5.c: Likewise.
15674 * elf/tst-tls6.c: Likewise.
15675 * elf/tst-tls7.c: Likewise.
15676 * elf/tst-tls8.c: Likewise.
15677 * elf/tst-tls9.c: Likewise.
15678 * elf/tst-tlsmod1.c: Likewise.
15679 * elf/tst-tlsmod13.c: Likewise.
15680 * elf/tst-tlsmod13a.c: Likewise.
15681 * elf/tst-tlsmod14a.c: Likewise.
15682 * elf/tst-tlsmod16a.c: Likewise.
15683 * elf/tst-tlsmod16b.c: Likewise.
15684 * elf/tst-tlsmod2.c: Likewise.
15685 * elf/tst-tlsmod3.c: Likewise.
15686 * elf/tst-tlsmod4.c: Likewise.
15687 * elf/tst-tlsmod5.c: Likewise.
15688 * elf/tst-tlsmod6.c: Likewise.
15690 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15693 * malloc/malloc.c: remove checks for statistics.
15695 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15698 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15699 * inet/tst-network.c: Add testcase.
15701 2013-10-17 Andreas Schwab <schwab@suse.de>
15704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15705 to determine canonical name.
15707 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15709 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15710 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15719 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15720 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15721 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15726 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15728 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15729 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15731 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15732 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15733 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15734 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15735 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15736 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15737 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15738 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15739 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15741 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15742 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15743 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15744 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15745 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15746 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15747 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15749 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15750 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15751 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15752 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15753 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15754 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15755 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15756 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15757 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15758 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15759 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15760 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15761 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15762 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15764 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15766 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15768 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15771 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15772 make result into a quiet NaN.
15774 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15776 * soft-fp/adddf3.c: Fix horizontal whitespace.
15777 * soft-fp/addsf3.c: Likewise.
15778 * soft-fp/addtf3.c: Likewise.
15779 * soft-fp/divdf3.c: Likewise.
15780 * soft-fp/divsf3.c: Likewise.
15781 * soft-fp/divtf3.c: Likewise.
15782 * soft-fp/double.h: Likewise.
15783 * soft-fp/eqdf2.c: Likewise.
15784 * soft-fp/eqsf2.c: Likewise.
15785 * soft-fp/eqtf2.c: Likewise.
15786 * soft-fp/extenddftf2.c: Likewise.
15787 * soft-fp/extended.h: Likewise.
15788 * soft-fp/extendsfdf2.c: Likewise.
15789 * soft-fp/extendsftf2.c: Likewise.
15790 * soft-fp/extendxftf2.c: Likewise.
15791 * soft-fp/fixdfdi.c: Likewise.
15792 * soft-fp/fixdfsi.c: Likewise.
15793 * soft-fp/fixdfti.c: Likewise.
15794 * soft-fp/fixsfdi.c: Likewise.
15795 * soft-fp/fixsfsi.c: Likewise.
15796 * soft-fp/fixsfti.c: Likewise.
15797 * soft-fp/fixtfdi.c: Likewise.
15798 * soft-fp/fixtfsi.c: Likewise.
15799 * soft-fp/fixtfti.c: Likewise.
15800 * soft-fp/fixunsdfdi.c: Likewise.
15801 * soft-fp/fixunsdfsi.c: Likewise.
15802 * soft-fp/fixunsdfti.c: Likewise.
15803 * soft-fp/fixunssfdi.c: Likewise.
15804 * soft-fp/fixunssfsi.c: Likewise.
15805 * soft-fp/fixunssfti.c: Likewise.
15806 * soft-fp/fixunstfdi.c: Likewise.
15807 * soft-fp/fixunstfsi.c: Likewise.
15808 * soft-fp/fixunstfti.c: Likewise.
15809 * soft-fp/floatdidf.c: Likewise.
15810 * soft-fp/floatdisf.c: Likewise.
15811 * soft-fp/floatditf.c: Likewise.
15812 * soft-fp/floatsidf.c: Likewise.
15813 * soft-fp/floatsisf.c: Likewise.
15814 * soft-fp/floatsitf.c: Likewise.
15815 * soft-fp/floattidf.c: Likewise.
15816 * soft-fp/floattisf.c: Likewise.
15817 * soft-fp/floattitf.c: Likewise.
15818 * soft-fp/floatundidf.c: Likewise.
15819 * soft-fp/floatundisf.c: Likewise.
15820 * soft-fp/floatunditf.c: Likewise.
15821 * soft-fp/floatunsidf.c: Likewise.
15822 * soft-fp/floatunsisf.c: Likewise.
15823 * soft-fp/floatunsitf.c: Likewise.
15824 * soft-fp/floatuntidf.c: Likewise.
15825 * soft-fp/floatuntisf.c: Likewise.
15826 * soft-fp/floatuntitf.c: Likewise.
15827 * soft-fp/fmadf4.c: Likewise.
15828 * soft-fp/fmasf4.c: Likewise.
15829 * soft-fp/fmatf4.c: Likewise.
15830 * soft-fp/gedf2.c: Likewise.
15831 * soft-fp/gesf2.c: Likewise.
15832 * soft-fp/getf2.c: Likewise.
15833 * soft-fp/ledf2.c: Likewise.
15834 * soft-fp/lesf2.c: Likewise.
15835 * soft-fp/letf2.c: Likewise.
15836 * soft-fp/muldf3.c: Likewise.
15837 * soft-fp/mulsf3.c: Likewise.
15838 * soft-fp/multf3.c: Likewise.
15839 * soft-fp/negdf2.c: Likewise.
15840 * soft-fp/negsf2.c: Likewise.
15841 * soft-fp/negtf2.c: Likewise.
15842 * soft-fp/op-1.h: Likewise.
15843 * soft-fp/op-2.h: Likewise.
15844 * soft-fp/op-4.h: Likewise.
15845 * soft-fp/op-8.h: Likewise.
15846 * soft-fp/op-common.h: Likewise.
15847 * soft-fp/quad.h: Likewise.
15848 * soft-fp/single.h: Likewise.
15849 * soft-fp/soft-fp.h: Likewise.
15850 * soft-fp/sqrtdf2.c: Likewise.
15851 * soft-fp/sqrtsf2.c: Likewise.
15852 * soft-fp/sqrttf2.c: Likewise.
15853 * soft-fp/subdf3.c: Likewise.
15854 * soft-fp/subsf3.c: Likewise.
15855 * soft-fp/subtf3.c: Likewise.
15856 * soft-fp/truncdfsf2.c: Likewise.
15857 * soft-fp/trunctfdf2.c: Likewise.
15858 * soft-fp/trunctfsf2.c: Likewise.
15859 * soft-fp/trunctfxf2.c: Likewise.
15860 * soft-fp/unorddf2.c: Likewise.
15861 * soft-fp/unordsf2.c: Likewise.
15862 * soft-fp/unordtf2.c: Likewise.
15864 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15866 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15867 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15869 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15871 * elf/dl-libc.c: Clear initfini list after freeing.
15873 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15875 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15876 * soft-fp/addsf3.c: Likewise.
15877 * soft-fp/addtf3.c: Likewise.
15878 * soft-fp/divdf3.c: Likewise.
15879 * soft-fp/divsf3.c: Likewise.
15880 * soft-fp/divtf3.c: Likewise.
15881 * soft-fp/double.h: Likewise.
15882 * soft-fp/eqdf2.c: Likewise.
15883 * soft-fp/eqsf2.c: Likewise.
15884 * soft-fp/eqtf2.c: Likewise.
15885 * soft-fp/extenddftf2.c: Likewise.
15886 * soft-fp/extended.h: Likewise.
15887 * soft-fp/extendsfdf2.c: Likewise.
15888 * soft-fp/extendsftf2.c: Likewise.
15889 * soft-fp/extendxftf2.c: Likewise.
15890 * soft-fp/fixdfdi.c: Likewise.
15891 * soft-fp/fixdfsi.c: Likewise.
15892 * soft-fp/fixdfti.c: Likewise.
15893 * soft-fp/fixsfdi.c: Likewise.
15894 * soft-fp/fixsfsi.c: Likewise.
15895 * soft-fp/fixsfti.c: Likewise.
15896 * soft-fp/fixtfdi.c: Likewise.
15897 * soft-fp/fixtfsi.c: Likewise.
15898 * soft-fp/fixtfti.c: Likewise.
15899 * soft-fp/fixunsdfdi.c: Likewise.
15900 * soft-fp/fixunsdfsi.c: Likewise.
15901 * soft-fp/fixunsdfti.c: Likewise.
15902 * soft-fp/fixunssfdi.c: Likewise.
15903 * soft-fp/fixunssfsi.c: Likewise.
15904 * soft-fp/fixunssfti.c: Likewise.
15905 * soft-fp/fixunstfdi.c: Likewise.
15906 * soft-fp/fixunstfsi.c: Likewise.
15907 * soft-fp/fixunstfti.c: Likewise.
15908 * soft-fp/floatdidf.c: Likewise.
15909 * soft-fp/floatdisf.c: Likewise.
15910 * soft-fp/floatditf.c: Likewise.
15911 * soft-fp/floatsidf.c: Likewise.
15912 * soft-fp/floatsisf.c: Likewise.
15913 * soft-fp/floatsitf.c: Likewise.
15914 * soft-fp/floattidf.c: Likewise.
15915 * soft-fp/floattisf.c: Likewise.
15916 * soft-fp/floattitf.c: Likewise.
15917 * soft-fp/floatundidf.c: Likewise.
15918 * soft-fp/floatundisf.c: Likewise.
15919 * soft-fp/floatunsidf.c: Likewise.
15920 * soft-fp/floatunsisf.c: Likewise.
15921 * soft-fp/floatuntidf.c: Likewise.
15922 * soft-fp/floatuntisf.c: Likewise.
15923 * soft-fp/floatuntitf.c: Likewise.
15924 * soft-fp/fmadf4.c: Likewise.
15925 * soft-fp/fmasf4.c: Likewise.
15926 * soft-fp/fmatf4.c: Likewise.
15927 * soft-fp/gedf2.c: Likewise.
15928 * soft-fp/gesf2.c: Likewise.
15929 * soft-fp/getf2.c: Likewise.
15930 * soft-fp/ledf2.c: Likewise.
15931 * soft-fp/lesf2.c: Likewise.
15932 * soft-fp/letf2.c: Likewise.
15933 * soft-fp/muldf3.c: Likewise.
15934 * soft-fp/mulsf3.c: Likewise.
15935 * soft-fp/multf3.c: Likewise.
15936 * soft-fp/negdf2.c: Likewise.
15937 * soft-fp/negsf2.c: Likewise.
15938 * soft-fp/negtf2.c: Likewise.
15939 * soft-fp/op-1.h: Likewise.
15940 * soft-fp/op-2.h: Likewise.
15941 * soft-fp/op-4.h: Likewise.
15942 * soft-fp/op-8.h: Likewise.
15943 * soft-fp/op-common.h: Likewise.
15944 * soft-fp/quad.h: Likewise.
15945 * soft-fp/single.h: Likewise.
15946 * soft-fp/soft-fp.h: Likewise.
15947 * soft-fp/sqrtdf2.c: Likewise.
15948 * soft-fp/sqrtsf2.c: Likewise.
15949 * soft-fp/sqrttf2.c: Likewise.
15950 * soft-fp/subdf3.c: Likewise.
15951 * soft-fp/subsf3.c: Likewise.
15952 * soft-fp/subtf3.c: Likewise.
15953 * soft-fp/truncdfsf2.c: Likewise.
15954 * soft-fp/trunctfdf2.c: Likewise.
15955 * soft-fp/trunctfsf2.c: Likewise.
15956 * soft-fp/trunctfxf2.c: Likewise.
15957 * soft-fp/unorddf2.c: Likewise.
15958 * soft-fp/unordsf2.c: Likewise.
15959 * soft-fp/unordtf2.c: Likewise.
15961 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15964 * misc/error.c (error_tail): Fix possible buffer overflow.
15966 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15969 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15972 2013-10-14 P. J. McDermott <pj@pehjota.net>
15975 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15976 testing pipefail option.
15978 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15980 * soft-fp/double.h: Indent preprocessor directives inside #if.
15981 * soft-fp/extended.h: Likewise.
15982 * soft-fp/op-2.h: Likewise.
15983 * soft-fp/op-4.h: Likewise.
15984 * soft-fp/op-common.h: Likewise.
15985 * soft-fp/quad.h: Likewise.
15986 * soft-fp/single.h: Likewise.
15987 * soft-fp/soft-fp.h: Likewise.
15989 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15991 * iconv/iconv_prog.c: Fix typos.
15992 * stdio-common/psiginfo-data.h: Likewise.
15994 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15997 * locale/setlocale.c: Fix typo.
15999 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16002 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16003 signaling NaN arguments.
16004 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16005 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16008 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16009 unordered operands.
16010 * soft-fp/gesf2.c (__gesf2): Likewise.
16011 * soft-fp/getf2.c (__getf2): Likewise.
16012 * soft-fp/ledf2.c (__ledf2): Likewise.
16013 * soft-fp/lesf2.c (__lesf2): Likewise.
16014 * soft-fp/letf2.c (__letf2): Likewise.
16016 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16017 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16018 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16019 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16020 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16021 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16022 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16023 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16024 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16025 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16026 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16027 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16028 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16029 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16030 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16031 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16032 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16033 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16034 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16035 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16036 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16037 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16038 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16039 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16040 * soft-fp/floattidf.c (__floattidf): Likewise.
16041 * soft-fp/floattisf.c (__floattisf): Likewise.
16042 * soft-fp/floattitf.c (__floattitf): Likewise.
16043 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16044 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16045 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16046 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16047 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16048 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16049 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16050 * soft-fp/gesf2.c (__gesf2): Likewise.
16051 * soft-fp/getf2.c (__getf2): Likewise.
16052 * soft-fp/ledf2.c (__ledf2): Likewise.
16053 * soft-fp/lesf2.c (__lesf2): Likewise.
16054 * soft-fp/letf2.c (__letf2): Likewise.
16056 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16057 Undefine and redefine.
16058 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16059 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16060 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16061 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16062 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16063 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16064 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16065 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16066 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16067 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16068 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16069 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16070 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16071 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16072 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16075 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16076 without decrementing exponent if mantissa >= that for the
16077 denominator, not >.
16078 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16079 denominator, not >. Decrement exponent in < case instead of
16080 incrementing in >= case.
16081 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16082 without decrementing exponent if mantissa >= that for the
16083 denominator, not >.
16085 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16086 computing saturated result for unsigned overflow.
16088 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16089 Jeff Law <law@redhat.com>
16091 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16092 (atan2Mp): Add systemtap probe marker.
16093 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16094 (__ieee754_log): Add systemtap probe marker.
16095 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16096 (atanMp): Add systemtap probe marker.
16097 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16098 (tanMp): Add systemtap probe marker.
16099 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16100 (__slowexp): Add systemtap probe marker.
16101 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16102 (__slowpow): Add systemtap probe marker.
16103 * manual/probes.texi: Document probes.
16105 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16108 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16110 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16112 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16113 written to buffer but not flushed.
16114 * libio/iofwrite_u.c: Likewise.
16115 * libio/iopadn.c: Return bytes returned even if EOF was
16117 * libio/iowpadn.c: Likewise.
16118 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16119 if _IO_padn does not write the whole buffer.
16120 [!COMPILE_WPRINTF] (PAD): Likewise.
16122 2013-10-10 David S. Miller <davem@davemloft.net>
16124 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16127 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16129 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16130 instead of FSF address.
16131 * soft-fp/fixdfti.c: Likewise.
16132 * soft-fp/fixsfti.c: Likewise.
16133 * soft-fp/fixtfti.c: Likewise.
16134 * soft-fp/fixunsdfti.c: Likewise.
16135 * soft-fp/fixunssfti.c: Likewise.
16136 * soft-fp/fixunstfti.c: Likewise.
16137 * soft-fp/floattidf.c: Likewise.
16138 * soft-fp/floattisf.c: Likewise.
16139 * soft-fp/floattitf.c: Likewise.
16140 * soft-fp/floatuntidf.c: Likewise.
16141 * soft-fp/floatuntisf.c: Likewise.
16142 * soft-fp/floatuntitf.c: Likewise.
16143 * soft-fp/trunctfxf2.c: Likewise.
16145 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16146 * soft-fp/fixdfti.c: Likewise.
16147 * soft-fp/fixsfti.c: Likewise.
16148 * soft-fp/fixtfti.c: Likewise.
16149 * soft-fp/fixunsdfti.c: Likewise.
16150 * soft-fp/fixunssfti.c: Likewise.
16151 * soft-fp/fixunstfti.c: Likewise.
16152 * soft-fp/floattidf.c: Likewise.
16153 * soft-fp/floattisf.c: Likewise.
16154 * soft-fp/floattitf.c: Likewise.
16155 * soft-fp/floatuntidf.c: Likewise.
16156 * soft-fp/floatuntisf.c: Likewise.
16157 * soft-fp/floatuntitf.c: Likewise.
16158 * soft-fp/trunctfxf2.c: Likewise.
16160 2013-10-10 David S. Miller <davem@davemloft.net>
16162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16164 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16166 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16167 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16168 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16169 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16170 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16171 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16172 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16175 for NaNs before doing comparisons on argument.
16176 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16179 2013-10-10 Will Newton <will.newton@linaro.org>
16181 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16182 passed to _int_memalign does not overflow.
16184 2013-10-10 Torvald Riegel <triegel@redhat.com>
16186 * scripts/bench.pl: Add include-sources directive.
16187 * benchtests/README: Update documentation.
16189 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16191 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16192 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16193 instead of FP_INIT_ROUNDMODE.
16194 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16195 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16198 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16199 copy class of input value.
16200 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16201 not handle exceptions.
16202 * soft-fp/negsf2.c (__negsf2): Likewise.
16203 * soft-fp/negtf2.c (__negtf2): Likewise.
16204 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16206 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16208 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16209 semicolon. From Linux kernel.
16211 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16213 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16215 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16218 * manual/socket.texi: Added statement about buffer
16219 for gethostbyname2_r.
16221 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16223 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16224 Use .p2align directive instead, throughout.
16225 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16226 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16227 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16228 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16229 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16230 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16231 * sysdeps/x86_64/strchr.S: Likewise.
16232 * sysdeps/x86_64/strrchr.S: Likewise.
16234 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16236 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16238 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16240 * sysdeps/generic/math_private.h (__mpsin1): Remove
16242 (__mpcos1): Likewise.
16243 (__mpsin): New argument __range_reduce.
16244 (__mpcos): Likewise.
16245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16246 (slow): Use __mpsin and __mpcos.
16250 (sloww1): Likewise.
16251 (sloww2): Likewise.
16252 (bsloww): Likewise.
16253 (bsloww1): Likewise.
16254 (bsloww2): Likewise.
16255 (cslow2): Likewise.
16256 (csloww): Likewise.
16257 (csloww1): Likewise.
16258 (csloww2): Likewise.
16259 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16260 range_reduce. Merge in __mpsin1.
16261 (__mpcos): Likewise.
16262 (__mpsin1): Remove.
16263 (__mpcos1): Likewise.
16265 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16267 * locale/loadlocale.c (_nl_intern_locale_data): Use
16269 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16270 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16271 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16272 obstack data is appropriately aligned.
16273 (obstack_int32_grow_fast): Likewise.
16274 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16275 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16276 (add_locale_uint32_array): Likewise.
16278 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16280 * benchtests/Makefile: Remove ARGLIST and RET variables.
16281 ($(objpfx)bench-%.c): Pass only function name to the script.
16282 * benchtests/README: Update documentation.
16283 * benchtests/acos-inputs: Add new directives.
16284 * benchtests/acosh-inputs: Likewise.
16285 * benchtests/asin-inputs: Likewise.
16286 * benchtests/asinh-inputs: Likewise.
16287 * benchtests/atan-inputs: Likewise.
16288 * benchtests/atanh-inputs: Likewise.
16289 * benchtests/cos-inputs: Likewise.
16290 * benchtests/cosh-inputs: Likewise.
16291 * benchtests/exp-inputs: Likewise.
16292 * benchtests/log-inputs: Likewise.
16293 * benchtests/pow-inputs: Likewise.
16294 * benchtests/rint-inputs: Likewise.
16295 * benchtests/sin-inputs: Likewise.
16296 * benchtests/sinh-inputs: Likewise.
16297 * benchtests/tan-inputs: Likewise.
16298 * benchtests/tanh-inputs: Likewise.
16299 * scripts/bench.pl: Add support for new directives.
16301 2013-10-07 Alan Modra <amodra@gmail.com>
16303 * README: Fix careless merge.
16305 2013-10-05 Alan Modra <amodra@gmail.com>
16307 * NEWS: Mention powerpc64le support and bugs fixed.
16308 * README: Both big-endian and little-endian powerpc64 supported.
16310 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16312 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16313 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16314 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16315 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16317 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16319 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16322 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16324 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16325 Move -mhard-float appending from
16326 ports/sysdeps/powerpc/powerpc32/Makefile.
16327 [$(with-fp) = yes] (ASFLAGS): Likewise.
16328 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16329 * sysdeps/powerpc/nofpu: Move directory from
16330 ports/sysdeps/powerpc/nofpu.
16331 * sysdeps/powerpc/soft-fp: Move directory from
16332 ports/sysdeps/powerpc/soft-fp.
16333 * sysdeps/powerpc/powerpc32/405: Move directory from
16334 ports/sysdeps/powerpc/powerpc32/405.
16335 * sysdeps/powerpc/powerpc32/440: Move directory from
16336 ports/sysdeps/powerpc/powerpc32/440.
16337 * sysdeps/powerpc/powerpc32/464: Move directory from
16338 ports/sysdeps/powerpc/powerpc32/464.
16339 * sysdeps/powerpc/powerpc32/476: Move directory from
16340 ports/sysdeps/powerpc/powerpc32/476.
16341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16342 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16344 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16346 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16348 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16350 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16351 * README: Update for powerpc-*-linux-gnu software floating point
16354 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16355 case to powerpc/powerpc32*.
16356 * sysdeps/unix/sysv/linux/configure: Regenerated.
16358 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16359 (_FPU_MASK_OM): Define as 0x04.
16360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16368 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16371 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16374 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16375 and setcontext_e500.
16377 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16379 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16381 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16383 * manual/threads.texi (Default Thread Attributes): Fix typo.
16385 2013-10-04 Will Newton <will.newton@linaro.org>
16387 * malloc/Makefile: Add tst-memalign.
16388 * malloc/tst-memalign.c: New file.
16390 * malloc/tst-posix_memalign.c: Add comments.
16391 (do_test): Add comments and call free on all potentially
16392 allocated pointers. Add space after cast.
16394 * malloc/tst-pvalloc.c: Add comments.
16395 (do_test): Add comments and call free on all potentially
16396 allocated pointers. Remove duplicate check for NULL pointer.
16397 Add space after cast.
16399 * malloc/tst-valloc.c: Add comments.
16400 (do_test): Add comments and call free on all potentially
16401 allocated pointers. Remove duplicate check for NULL pointer.
16402 Add space after cast.
16404 2013-10-04 Alan Modra <amodra@gmail.com>
16406 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16407 Use stdint types in rather than __attribute__((mode())).
16408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16410 2013-10-04 Alan Modra <amodra@gmail.com>
16412 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16413 Correct handling of unaligned relocs for little-endian.
16414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16416 2013-10-04 Alan Modra <amodra@gmail.com>
16418 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16419 * configure: Regenerate.
16420 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16421 * shlib-versions: Likewise.
16423 2013-10-04 Alan Modra <amodra@gmail.com>
16425 * string/tester.c (test_memrchr): Increment reported test cycle.
16427 2013-10-04 Alan Modra <amodra@gmail.com>
16429 * string/test-memcpy.c (do_one_test): When reporting errors, print
16430 string address and don't overrun end of string.
16432 2013-10-04 Alan Modra <amodra@gmail.com>
16434 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16435 insrdi. Make better use of reg selection to speed exit slightly.
16436 Schedule entry path a little better. Remove useless "are we done"
16437 checks on entry to main loop. Handle wrapping around zero address.
16438 Correct main loop count. Handle single left-over word from main
16439 loop inline rather than by using loop_small. Remove extra word
16440 case in loop_small caused by wrong loop count. Add little-endian
16442 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16446 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16447 support. Avoid rlwimi.
16448 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16450 2013-10-04 Alan Modra <amodra@gmail.com>
16452 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16453 insrdi. Formatting.
16454 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16456 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16457 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16458 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16459 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16461 2013-10-04 Alan Modra <amodra@gmail.com>
16463 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16464 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16465 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16466 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16467 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16468 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16469 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16471 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16472 use of regs. Use power7 mtocrf. Tidy function tails.
16474 2013-10-04 Alan Modra <amodra@gmail.com>
16476 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16477 Formatting. Consistently use rXXX register defines or rN defines.
16478 Use early exit labels that avoid restoring unused non-volatile regs.
16479 Make cr field use more consistent with rWORDn compares. Rename
16480 regs used as shift registers for unaligned loop, using rN defines
16481 for short lifetime/multiple use regs.
16482 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16484 addi 1,1,64 to pop stack frame. Simplify return value code.
16485 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16487 2013-10-04 Alan Modra <amodra@gmail.com>
16489 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16490 support. Correct typos, formatting. Optimize tail. Use insrdi
16491 rather than rlwimi.
16492 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16493 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16494 little-endian support. Correct typos.
16495 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16496 rather than rlwimi.
16497 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16498 in loop and entry code to keep "and." results.
16499 (strchr): Add little-endian support. Comment. Move cntlzd
16501 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16503 2013-10-04 Alan Modra <amodra@gmail.com>
16505 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16506 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16507 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16508 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16510 2013-10-04 Alan Modra <amodra@gmail.com>
16512 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16513 (rTMP): Define as r11.
16514 (strcmp): Add little-endian support. Optimise tail.
16515 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16516 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16517 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16518 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16519 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16520 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16523 2013-10-04 Alan Modra <amodra@gmail.com>
16525 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16526 little-endian support. Remove unnecessary "are we done" tests.
16527 Handle "s" wrapping around zero and extremely large "size".
16528 Correct main loop count. Handle single left-over word from main
16529 loop inline rather than by using small_loop. Correct comments.
16530 Delete "zero" tail, use "end_max" instead.
16531 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16533 2013-10-04 Alan Modra <amodra@gmail.com>
16535 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16536 support. Don't branch over align.
16537 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16538 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16539 support. Rearrange tmp reg use to suit. Comment.
16540 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16542 2013-10-04 Alan Modra <amodra@gmail.com>
16544 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16546 2013-10-04 Alan Modra <amodra@gmail.com>
16548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16549 conditional form of branch and link when obtaining pc.
16550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16552 2013-10-04 Alan Modra <amodra@gmail.com>
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16559 2013-10-04 Alan Modra <amodra@gmail.com>
16561 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16562 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16563 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16564 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16565 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16566 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16567 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16568 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16569 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16570 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16572 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16573 Alistair Popple <alistair@ozlabs.au.ibm.com>
16574 Alan Modra <amodra@gmail.com>
16577 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16578 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16579 _dl_hwcap access for little-endian.
16580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16581 destroy vmx regs when saving unaligned.
16582 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16583 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16584 destroy vmx regs when saving unaligned.
16586 2013-10-04 Alan Modra <amodra@gmail.com>
16588 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16589 Don't use a union to pack hi/low value.
16591 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16593 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16595 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16597 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16598 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16599 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16601 2013-10-04 Alan Modra <amodra@gmail.com>
16603 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16604 constants to usual value for .cst8 section, and remove redundant
16606 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16607 constant for 0x1p52. Load little-endian words of double from
16608 correct stack offsets.
16610 2013-10-04 Alan Modra <amodra@gmail.com>
16612 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16613 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16614 words of double from correct stack offsets.
16615 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16616 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16617 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16618 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16619 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16620 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16621 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16622 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16623 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16624 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16625 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16626 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16627 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16628 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16629 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16630 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16631 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16633 2013-10-04 Alan Modra <amodra@gmail.com>
16635 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16636 64-bit int/double union.
16637 (_FPU_SETCW): Likewise.
16638 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16639 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16641 2013-10-04 Alan Modra <amodra@gmail.com>
16643 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16644 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16646 2013-10-04 Alan Modra <amodra@gmail.com>
16648 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16649 use vector int constants.
16650 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16652 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16654 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16655 array with long long.
16656 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16657 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16658 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16659 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16660 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16661 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16662 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16663 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16664 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16665 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16666 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16667 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16668 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16670 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16672 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16673 (__signbit): Likewise. Correct for little-endian.
16674 (__signbitl): Call __signbit.
16675 (lrint): Correct for little-endian.
16676 (lrintf): Call lrint.
16678 2013-10-04 Alan Modra <amodra@gmail.com>
16680 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16681 union 32-bit int array member with 64-bit int array.
16682 (t515, tm256): Double rather than long double.
16683 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16685 2013-10-04 Alan Modra <amodra@gmail.com>
16687 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16689 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16691 version of math_ldbl.h.
16693 2013-10-04 Alan Modra <amodra@gmail.com>
16695 [BZ #15734], [BZ #15735]
16696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16697 all uses of ieee875 long double macros and unions. Simplify test
16698 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16699 ldbl_extract_mantissa value for ix,iy exponents. Properly
16700 normalize after ldbl_extract_mantissa, and don't add hidden bit
16701 already handled. Don't treat low word of ieee854 mantissa like
16702 low word of IBM long double and mask off bit when testing for
16704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16705 all uses of ieee875 long double macros and unions. Simplify tests
16706 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16707 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16708 two1022, instead use their values. Recognise that tests for large
16709 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16710 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16711 Rewrite all uses of ieee875 long double macros and unions. Simplify
16712 test for 0.0L and nan. Correct negation.
16713 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16714 ieee875 long double macros and unions. Correct output for large
16715 magnitude x. Correct absolute value calculation.
16716 (__erfcl): Likewise.
16717 * math/libm-test.inc: Add tests for errors discovered in IBM long
16718 double versions of fmodl, remainderl, erfl and erfcl.
16720 2013-10-04 Alan Modra <amodra@gmail.com>
16722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16723 all uses of ieee854 long double macros and unions. Simplify tests
16724 for long doubles that are fully specified by the high double.
16725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16727 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16728 Remove dead code too.
16729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16730 (__ieee754_ynl): Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16734 Remove dead code too.
16735 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16745 Comment on variable precision.
16746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16749 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16750 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16751 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16755 2013-10-04 Alan Modra <amodra@gmail.com>
16757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16758 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16759 all uses of ieee854 long double macros and unions.
16760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16762 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16765 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16768 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16769 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16773 Simplify sign and nan test too.
16774 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16779 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16789 2013-10-04 Alan Modra <amodra@gmail.com>
16791 * stdio-common/printf_size.c (__printf_size): Don't use
16792 union ieee854_long_double in fpnum union.
16793 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16794 signbit macro to retrieve sign from long double.
16795 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16796 retrieve sign from long double.
16797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16798 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16799 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16800 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16801 * math/test-misc.c (main): Don't use union ieee854_long_double.
16803 2013-10-04 Alan Modra <amodra@gmail.com>
16806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16807 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16808 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16809 calculation. Remove unnecessary test for denormal exponent.
16810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16811 Correct handling of denormals. Avoid undefined shift behaviour.
16812 Correct normalisation of low mantissa when low double is denormal.
16813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16814 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16815 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16816 Correct normalisation of low mantissa. Test for overflow of high
16817 mantissa and normalise.
16818 (ldbl_nearbyint): Use more readable constant for two52.
16819 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16820 (__mpn_construct_long_double): Fix test for overflow of high
16821 mantissa and correct normalisation. Avoid undefined shift.
16823 2013-10-04 Alan Modra <amodra@gmail.com>
16825 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16826 (union ibm_extended_long_double): Define as an array of ieee754_double.
16827 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16828 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16829 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16830 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16834 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16839 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16841 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16842 page size instead of calling getpagesize.
16844 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16845 (LOCFILE_ALIGN_MASK): Likewise.
16846 (LOCFILE_ALIGN_UP): Likewise.
16847 (LOCFILE_ALIGNED_P): Likewise.
16848 * locale/programs/ld-collate.c (collate_output): Use the new
16849 macros instead of __alignof__ (int32_t).
16850 * locale/weight.h (findidx): Likewise.
16852 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16855 * manual/string.texi: Fix strncat and wcsncat.
16857 2013-10-03 Brooks Moses <bmoses@google.com>
16860 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16861 * Makerules: ...here, and adjust associated comments.
16863 2013-10-02 Will Newton <will.newton@linaro.org>
16865 * malloc/Makefile: Add tst-pvalloc.
16866 * malloc/tst-pvalloc.c: New file.
16868 2013-10-02 Will Newton <will.newton@linaro.org>
16870 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16871 improve test coverage.
16873 2013-10-02 Will Newton <will.newton@linaro.org>
16875 * malloc/Makefile: Add tst-posix_memalign.
16876 * malloc/tst-posix_memalign.c: New file.
16878 2013-10-01 Eric Blake <eblake@redhat.com>
16880 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16881 Use __THROWNL rather than __THROW on static functions.
16883 2013-09-30 Petr Machata <pmachata@redhat.com>
16885 * elf/elf.h (R_AARCH64_ABS16): New macro.
16886 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16887 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16888 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16889 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16890 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16891 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16892 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16893 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16894 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16895 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16896 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16897 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16898 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16899 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16900 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16901 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16902 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16903 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16904 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16905 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16906 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16907 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16908 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16909 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16910 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16911 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16912 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16913 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16914 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16915 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16916 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16917 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16918 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16919 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16920 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16921 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16922 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16923 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16924 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16925 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16926 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16927 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16928 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16929 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16930 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16931 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16932 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16933 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16934 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16935 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16936 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16937 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16938 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16939 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16940 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16941 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16942 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16943 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16944 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16945 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16946 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16947 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16948 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16949 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16950 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16951 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16952 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16953 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16954 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16955 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16956 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16957 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16958 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16959 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16960 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16961 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16962 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16963 (R_AARCH64_TLSDESC_LDR): Likewise.
16964 (R_AARCH64_TLSDESC_ADD): Likewise.
16965 (R_AARCH64_TLSDESC_CALL): Likewise.
16967 2013-09-30 Andreas Schwab <schwab@suse.de>
16970 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16971 the nss database lookup.
16972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16975 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16977 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16979 2013-09-28 P. J. McDermott <pj@pehjota.net>
16981 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16982 ${Bash-specific parameter/pattern/string} parameter expansion.
16983 * sysdeps/unix/make-syscalls.sh: Likewise.
16985 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16987 * sysdeps/sh/stackguard-macros.h: New file.
16989 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16993 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16994 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16995 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16996 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16998 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17000 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17001 Fix thread ID register.
17003 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17005 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17006 [POSIX || UNIX98]: Require rather than permitting all symbols from
17008 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17009 element of struct sched_param.
17010 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17011 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17012 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17013 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17016 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17018 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17019 argument calculation.
17021 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17023 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17025 [POSIX] (pthread_attr_t): Do not require type.
17026 [POSIX] (pthread_cond_t): Likewise.
17027 [POSIX] (pthread_condattr_t): Likewise.
17028 [POSIX] (pthread_key_t): Likewise.
17029 [POSIX] (pthread_mutex_t): Likewise.
17030 [POSIX] (pthread_mutexattr_t): Likewise.
17031 [POSIX] (pthread_once_t): Likewise.
17032 [POSIX] (pthread_t): Likewise.
17033 [POSIX-based standards] (pthread_atfork): Expect function.
17035 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17036 Richard Sandiford <richard@codesourcery.com>
17038 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17039 (swap_endianness_p): New extern variable.
17040 (set_big_endian): New inline function.
17041 (maybe_swap_uint32): Likewise.
17042 (maybe_swap_uint32_array): Likewise.
17043 (maybe_swap_uint32_obstack): Likewise.
17044 * locale/programs/locfile.c: Include <stdbool.h>.
17045 (swap_endianness_p): New variable.
17046 (add_locale_uint32): Call maybe_swap_uint32.
17047 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17048 (write_locale_data): Call maybe_swap_uint32_array.
17049 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17051 (obstack_int32_grow_fast): Likewise.
17052 (output_weightwc): Call maybe_swap_uint32_obstack.
17053 (collate_output): Likewise.
17054 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17055 (OPT_LITTLE_ENDIAN): Likewise.
17056 (options): Add --little-endian and --big-endian options.
17057 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17058 * locale/programs/locarchive.c: Include "locfile.h".
17062 (create_archive): Use the new macros to access fields of
17063 structures directly mapped from or written to locale archives.
17064 (oldlocrecentcmp): Likewise.
17065 (enlarge_archive): Likewise.
17066 (insert_name): Likewise.
17067 (add_alias): Likewise.
17068 (add_locale): Likewise.
17069 (delete_locales_from_archive): Likewise.
17070 (show_archive_content): Likewise.
17071 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17074 2013-09-24 Roland McGrath <roland@hack.frob.com>
17076 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17077 http://www.gnu.org/doc/freemanuals.texi.
17078 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17080 2013-09-24 Will Newton <will.newton@linaro.org>
17082 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17085 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17087 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17090 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17092 * manual/threads.texi (POSIX Threads): Fix a typo.
17094 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17097 * string/tst-strcoll-overflow.c: New test case.
17098 * string/Makefile (xtests): Add tst-strcoll-overflow.
17099 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17100 cache if string sizes may cause integer overflow.
17103 * string/strcoll_l.c (coll_seq): New members rule, idx,
17104 save_idx and back_us.
17105 (get_next_seq_nocache): New function.
17106 (do_compare_nocache): New function.
17107 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17110 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17113 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17114 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17115 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17118 * elf/Makefile (tests): Add tst-ptrguard1.
17119 (tests-static): Add tst-ptrguard1-static.
17120 (tst-ptrguard1-ARGS): Define.
17121 (tst-ptrguard1-static-ARGS): Define.
17122 * elf/tst-ptrguard1.c: New file.
17123 * elf/tst-ptrguard1-static.c: New file.
17124 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17125 * sysdeps/i386/stackguard-macros.h: Likewise.
17126 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17127 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17128 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17129 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17130 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17131 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17133 2013-09-23 Hector Marco <hecmargi@upv.es>
17134 Ismael Ripoll <iripoll@disca.upv.es>
17135 Carlos O'Donell <carlos@redhat.com>
17138 * sysdeps/generic/stackguard-macros.h: Define
17139 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17140 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17141 Define __pointer_chk_guard_local.
17142 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17143 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17145 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17148 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17150 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17152 * include/string.h (__ffs): Declare as hidden.
17153 * string/ffs.c (__ffs): Define as hidden.
17154 * sysdeps/i386/ffs.c (__ffs): Likewise.
17155 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17156 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17157 * sysdeps/s390/ffs.c (__ffs): Likewise.
17158 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17160 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17162 * NEWS: Mention malloc probes.
17164 * malloc/arena.c (new_heap): New memory_heap_new probe.
17165 (grow_heap): New memory_heap_more probe.
17166 (shrink_heap): New memory_heap_less probe.
17167 (heap_trim): New memory_heap_free probe.
17168 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17169 (systrim): New memory_sbrk_less probe.
17170 * manual/probes.texi: Document them.
17172 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17173 * manual/probes.texi: Document it.
17175 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17176 (__libc_realloc): Add memory_realloc_retry probe.
17177 (__libc_memalign): Add memory_memalign_retry probe.
17178 (__libc_valloc): Add memory_valloc_retry probe.
17179 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17180 (__libc_calloc): Add memory_calloc_retry probe.
17181 * manual/probes.texi: Document them.
17183 * malloc/arena.c (get_free_list): Add probe
17184 memory_arena_reuse_free_list.
17185 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17186 and memory_arena_reuse.
17187 (arena_get2) [!PER_THREAD]: Likewise.
17188 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17189 memory_arena_reuse_realloc.
17190 * manual/probes.texi: Document them.
17192 * malloc/malloc.c (__libc_free): Add
17193 memory_mallopt_free_dyn_thresholds probe.
17194 (__libc_mallopt): Add multiple memory_mallopt probes.
17195 * manual/probes.texi: Document them.
17197 * malloc/malloc.c: Include stap-probe.h.
17198 (__libc_mallopt): Add memory_mallopt probe.
17199 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17200 * manual/probes.texi: New.
17201 * manual/Makefile (chapters): Add probes.
17202 * manual/threads.texi: Set next node.
17204 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17206 [BZ #15963, #13985]
17207 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17208 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17209 Add `Chinese' to `nan' entry name.
17211 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17213 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17214 (POLYNOMIAL): Likewise.
17215 (TAYLOR_SINCOS): Likewise.
17216 (TAYLOR_SLOW): Likewise.
17217 (__sin): Use TAYLOR_SINCOS.
17219 (slow): Use TAYLOR_SLOW.
17221 (bsloww): Likewise.
17222 (csloww): Likewise.
17224 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17226 * stdlib/strtod_l.c: Fix buffer overrun.
17228 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17230 * benchtests/Makefile (bench): Add sincos.
17231 * benchtests/bench-sincos.c: New file.
17233 * math/libm-test.inc (cos_test_data): New test inputs.
17234 (sin_test_data): Likewise.
17236 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17242 (sloww1): Likewise.
17243 (sloww2): Likewise.
17244 (bsloww1): Likewise.
17245 (bsloww2): Likewise.
17246 (cslow2): Likewise.
17247 (csloww1): Likewise.
17248 (csloww2): Likewise.
17250 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17255 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17259 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17261 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17262 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17263 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17264 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17265 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17266 * elf/cache.c (print_entry): Handle the new cache flags.
17268 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17269 Aldy Hernandez <aldyh@redhat.com>
17271 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17272 Change condition to [_SOFT_FLOAT].
17273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17285 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17288 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17291 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17293 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17294 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17295 (__longjmp): Use LOAD_GP to load saved GPRs.
17296 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17297 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17298 (__sigsetjmp): Use SAVE_GP to save GPRs.
17300 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17301 Do not append -msoft-float.
17302 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17304 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17306 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17308 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17311 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17312 (_FPU_GETCW): Use initial "__" on variable and field names but not
17313 on macro parameter name.
17314 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17315 parentheses around reference to macro parameter.
17317 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17319 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17321 (ctype_startup): Use uint32_t in cast and sizeof for
17324 2013-09-11 Jia Liu <proljc@gmail.com>
17326 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17328 [__FreeBSD__]: Likewise.
17330 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17333 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17334 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17335 (strchr): Remove __strchr_sse42 ifunc selection.
17336 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17337 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17339 2013-09-11 Will Newton <will.newton@linaro.org>
17341 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17342 parameter to RES. Remove hardcoded 1000 value.
17343 * benchtests/bench-skeleton.c (main): Pass RES parameter
17344 to TIMING_INIT and multiply result by 1000.
17346 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17350 2013-09-11 Andreas Schwab <schwab@suse.de>
17352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17354 (O_TMPFILE) [__USE_GNU]: Define.
17355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17358 2013-09-11 Will Newton <will.newton@linaro.org>
17361 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17364 2013-09-11 Will Newton <will.newton@linaro.org>
17367 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17370 2013-09-11 Will Newton <will.newton@linaro.org>
17373 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17376 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17378 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17379 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17384 2013-09-10 Allan McRae <allan@archlinux.org>
17387 * manual/arith.texi (Parsing of Floats): Clarify
17391 * manual/install.texi (Running make install): Mention
17393 * INSTALL: Regenerated.
17395 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17397 * csu/init-first.c (_init): Remove the !SHARED condition around
17398 FPU control word initialization.
17399 * elf/dl-support.c (_dl_fpu_control): New variable.
17400 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17401 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17402 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17403 * math/test-fpucw-static.c: New file.
17404 * math/test-fpucw-ieee.c: New file.
17405 * math/test-fpucw-ieee-static.c: New file.
17406 * math/Makefile (tests): Add `test-fpucw-ieee' and
17408 (tests-static): New variable.
17409 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17411 [($(build-shared),yes)]
17412 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17414 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17417 2013-09-09 Allan McRae <allan@archlinux.org>
17420 * manual/string.texi (Collation Functions): Fix typo in
17422 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17425 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17428 * libio/memstream.c (open_memstream): Fix memory leak.
17429 * libio/wmemstream.c (open_wmemstream): Likewise.
17432 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17434 2013-09-09 Will Newton <will.newton@linaro.org>
17436 * malloc/Makefile: Add tst-realloc to tests.
17437 * malloc/tst-realloc.c: New file.
17439 2013-09-09 Allan McRae <allan@archlinux.org>
17442 * COPYING: Update from GNU website to fix FSF address.
17443 * COPYING.LIB: Likewise.
17445 2013-09-06 David S. Miller <davem@davemloft.net>
17447 * po/zh_TW.po: Update Chinese (traditional) translation from
17448 translation project.
17450 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17451 Joseph Myers <joseph@codesourcery.com>
17453 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17455 (obstack_chunk_alloc): New macro.
17456 (obstack_chunk_free): Likewise.
17457 (record_offset): New function.
17458 (init_locale_data): Likewise.
17459 (align_locale_data): Likewise.
17460 (add_locale_empty): Likewise.
17461 (add_locale_raw_data): Likewise.
17462 (add_locale_raw_obstack): Likewise.
17463 (add_locale_string): Likewise.
17464 (add_locale_wstring): Likewise.
17465 (add_locale_uint32): Likewise.
17466 (add_locale_uint32_array): Likewise.
17467 (add_locale_char): Likewise.
17468 (start_locale_structure): Likewise.
17469 (end_locale_structure): Likewise.
17470 (start_locale_prelude): Likewise.
17471 (end_locale_prelude): Likewise.
17472 (write_locale_data): Take locale_file structure rather than an
17474 * locale/programs/locfile.h: Include "obstack.h".
17475 (struct locale_file): Change to store locale file contents instead
17477 (init_locale_data): New prototype.
17478 (align_locale_data): Likewise.
17479 (add_locale_empty): Likewise.
17480 (add_locale_raw_data): Likewise.
17481 (add_locale_raw_obstack): Likewise.
17482 (add_locale_string): Likewise.
17483 (add_locale_wstring): Likewise.
17484 (add_locale_uint32): Likewise.
17485 (add_locale_uint32_array): Likewise.
17486 (add_locale_char): Likewise.
17487 (start_locale_structure): Likewise.
17488 (end_locale_structure): Likewise.
17489 (start_locale_prelude): Likewise.
17490 (end_locale_prelude): Likewise.
17491 (write_locale_data): Update prototype.
17492 * locale/programs/3level.h (struct TABLE): Remove result field.
17493 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17494 Use new locale_file interface.
17495 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17496 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17497 * locale/programs/ld-address.c (address_output): Use new
17498 locale_file interface.
17499 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17501 (collate_finish): Don't call collseq_table_finalize.
17502 (collate_output): Use new locale_file interface.
17503 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17505 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17506 (TABLE): Move defines earlier in file.
17507 (ELEMENT): Likewise.
17508 (DEFAULT): Likewise.
17509 (wctrans_table_add): Move macro and inline function earlier in
17511 (struct wctype_table): Move type earlier in file.
17512 (add_locale_wctype_table): New static prototype.
17513 (struct locale_ctype_t): Use logical types instead of struct iovec
17514 pointers for members.
17515 (ctype_output): Use new locale_file interface.
17516 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17517 new locale_file interface.
17518 (allocate_arrays): Update for use of new locale_file interface.
17519 * locale/programs/ld-identification.c (identification_output): Use
17520 new locale_file interface.
17521 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17522 * locale/programs/ld-messages.c (messages_output): Likewise.
17523 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17524 * locale/programs/ld-name.c (name_output): Likewise.
17525 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17526 * locale/programs/ld-paper.c (paper_output): Likewise.
17527 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17528 * locale/programs/ld-time.c (time_output): Likewise.
17530 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17532 * benchtests/Makefile: Add memrchr benchmark.
17533 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17534 benchmark as memrchr.
17535 * benchtests/bench-memrchr-ifunc.c: New file.
17536 * benchtests/bench-memrchr.c: New file.
17538 2013-09-06 Will Newton <will.newton@linaro.org>
17540 * benchtests/Makefile (string-bench): Add memcpy.
17542 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17543 Cong Wang <amwang@redhat.com>
17546 * sysdeps/unix/sysv/linux/bits/in.h
17547 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17548 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17549 before __USE_KERNEL_IPV6_DEFS uses.
17550 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17552 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17553 sockaddr_in6, or ipv6_mreq.
17555 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17557 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17558 memory access for final bytes in some large inputs.
17559 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17561 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17563 * string/test-memrchr.c: New file.
17564 * string/test-memrchr-ifunc.c: New file.
17565 * string/Makefile: Add new memrchr testcase.
17567 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17569 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17570 fanotify_init returns EPERM.
17572 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17574 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17576 (top level): Treat second token from macro or constant entries for
17577 allowed headers as allowed.
17578 * include/complex.h: Condition internal declarations on
17580 * include/fenv.h: Condition include of <stdbool.h> and internal
17581 declarations on [!_ISOMAC].
17583 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17586 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17588 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17590 * configure.in (--enable-versioning): Remove configure option.
17591 (libc_cv_asm_symver_directive): Remove configure test.
17592 (libc_cv_ld_version_script_option): Likewise.
17593 (VERSIONING): Remove variable and AC_SUBST.
17594 (DO_VERSIONING): Remove AC_DEFINE.
17595 * configure: Regenerated.
17596 * config.h.in (DO_VERSIONING): Remove macro.
17597 * Makerules [$(versioning) = yes]: Change conditionals to
17598 [$(build-shared) = yes].
17599 * config.make.in (versioning): Remove variable.
17600 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17601 [$(build-shared) = yes].
17602 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17603 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17604 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17605 [$(build-shared) = yes].
17606 * extra-lib.mk [$(versioning) = yes]: Likewise.
17607 * hurd/Makefile [$(versioning) = yes]: Likewise.
17608 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17610 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17612 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17613 [SHARED && !NO_HIDDEN].
17614 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17616 [SHARED && DO_VERSIONING]: Likewise..
17617 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17618 [$(build-shared) = yes].
17619 * manual/install.texi (--disable-versioning): Remove
17621 * INSTALL: Regenerated.
17622 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17624 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17625 [$(build-shared) = yes].
17626 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17627 * sysdeps/i386/i686/multiarch/strstr-c.c
17628 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17629 [SHARED && !NO_HIDDEN].
17630 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17631 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17632 * sysdeps/powerpc/powerpc32/dl-machine.c
17633 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17634 * sysdeps/powerpc/powerpc32/sysdep.h
17635 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17636 to [SHARED && PIC && !NO_HIDDEN].
17637 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17638 conditional to [SHARED].
17640 2013-09-04 Will Newton <will.newton@linaro.org>
17642 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17643 * benchtests/bench-string.h: Include bench-timing.h instead
17644 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17645 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17646 call to HP_TIMING_DIFF_INIT.
17647 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17648 instead of hp-timing.h macros.
17649 * benchtests/bench-memchr.c: Likewise.
17650 * benchtests/bench-memcmp.c: Likewise.
17651 * benchtests/bench-memcpy.c: Likewise.
17652 * benchtests/bench-memmem.c: Likewise.
17653 * benchtests/bench-memmove.c: Likewise.
17654 * benchtests/bench-memset.c: Likewise.
17655 * benchtests/bench-rawmemchr.c: Likewise.
17656 * benchtests/bench-strcasecmp.c: Likewise.
17657 * benchtests/bench-strcasestr.c: Likewise.
17658 * benchtests/bench-strcat.c: Likewise.
17659 * benchtests/bench-strchr.c: Likewise.
17660 * benchtests/bench-strcmp.c: Likewise.
17661 * benchtests/bench-strcpy.c: Likewise.
17662 * benchtests/bench-strcpy_chk.c: Likewise.
17663 * benchtests/bench-strlen.c: Likewise.
17664 * benchtests/bench-strncasecmp.c: Likewise.
17665 * benchtests/bench-strncat.c: Likewise.
17666 * benchtests/bench-strncmp.c: Likewise.
17667 * benchtests/bench-strncpy.c: Likewise.
17668 * benchtests/bench-strnlen.c: Likewise.
17669 * benchtests/bench-strpbrk.c: Likewise.
17670 * benchtests/bench-strrchr.c: Likewise.
17671 * benchtests/bench-strspn.c: Likewise.
17672 * benchtests/bench-strstr.c: Likewise.
17674 2013-09-04 Will Newton <will.newton@linaro.org>
17676 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17678 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17682 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17683 * math/libm-test.inc (lgamma_test_data): Add more tests.
17684 * sysdeps/i386/fpu/libm-test-ulps: Update.
17685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17687 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17689 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17693 Add strcmp-sse2-unaligned
17694 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17696 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17698 * Versions.def (libc): Add GLIBC_2.19.
17700 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17702 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17703 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17705 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17708 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17709 intermediate calculations in recurrence.
17710 (__ieee754_ynf): Likewise.
17711 * math/libm-test.inc (jn_test_data): Do not allow spurious
17712 underflow exception. Add more tests.
17713 (yn_test_data): Add more tests.
17714 * sysdeps/i386/fpu/libm-test-ulps: Update.
17715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17717 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17719 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17721 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17723 * csu/init-first.c: Fix then/than typos.
17724 * locale/programs/ld-collate.c: Likewise.
17725 * locale/programs/linereader.h: Likewise.
17726 * manual/charset.texi: Likewise.
17727 * manual/filesys.texi: Likewise.
17728 * manual/stdio.texi: Likewise.
17729 * manual/string.texi: Likewise.
17730 * stdlib/fmtmsg.c: Likewise.
17731 * sysdeps/i386/stpncpy.S: Likewise.
17732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17733 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17734 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17735 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17737 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17739 * elf/dl-open.c: Fix typos.
17740 * iconvdata/gbbig5.c: Likewise.
17741 * iconvdata/iso-2022-jp.c: Likewise.
17742 * iconv/gconv_int.h: Likewise.
17743 * iconv/loop.c: Likewise.
17744 * nis/rpcsvc/nis.h: Likewise.
17745 * resolv/ns_name.c: Likewise.
17746 * stdio-common/vfscanf.c: Likewise.
17747 * streams/stropts.h: Likewise.
17748 * sunrpc/rpc_thread.c: Likewise.
17749 * sysdeps/i386/strpbrk.S: Likewise.
17750 * sysdeps/ieee754/k_standard.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17753 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17754 * sysdeps/mach/hurd/profil.c: Likewise.
17755 * sysdeps/s390/dl-procinfo.h: Likewise.
17756 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17757 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17758 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17759 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17760 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17762 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17764 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17767 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17769 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17770 aix specific files.
17771 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17772 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17773 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17774 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17775 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17776 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17777 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17778 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17780 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17781 Roland McGrath <roland@hack.frob.com>
17783 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17784 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17786 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17788 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17789 __executable_start symbol instead of _start.
17791 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17793 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17794 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17796 * sysdeps/gnu/ldsodefs.h: ... this new file.
17798 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17799 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17800 instead of ELFOSABI_LINUX.
17802 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17803 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17804 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17805 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17807 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17808 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17809 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17811 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17812 (ibm_extended_long_double): Add ieee_nan member.
17813 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17814 (do_test): New function.
17816 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17818 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17819 functions, renamed from truncdfsf_test, trunctfsf_test,
17821 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17823 (do_test): Run all these.
17825 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17827 * argp/argp-help.c: Fix typos.
17828 * argp/argp-parse.c: Likewise.
17829 * debug/backtracesyms.c: Likewise.
17830 * elf/elf.h: Likewise.
17831 * malloc/malloc.c: Likewise.
17832 * nis/nis_print.c: Likewise.
17833 * resolv/res_comp.c: Likewise.
17834 * stdlib/stdlib.h: Likewise.
17835 * sunrpc/clnt_tcp.c: Likewise.
17836 * sunrpc/clnt_udp.c: Likewise.
17837 * sunrpc/clnt_unix.c: Likewise.
17838 * sysdeps/unix/bsd/ptsname.c: Likewise.
17839 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17840 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17847 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17849 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17851 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17854 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17857 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17858 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17859 ($(objpfx)bug-dl-leaf): New rule.
17860 ($(objpfx)bug-dl-leaf.so): Likewise.
17861 ($(objpfx)bug-dl-leaf.out): Likewise.
17862 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17863 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17864 * dlfcn/bug-dl-leaf.c: New test.
17865 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17866 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17867 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17868 (dlclose): Likewise.
17869 (dlmopen): Likewise.
17871 2013-08-27 Roland McGrath <roland@hack.frob.com>
17873 * include/netdb.h [!_ISOMAC]:
17874 Don't include <tls.h>.
17875 (h_errno, __libc_h_errno): Move declaration and macros out of
17878 * include/resolv.h [_RESOLV_H_]:
17879 Don't include <tls.h>.
17880 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17881 * resolv/res_libc.c: Don't include <tls.h>.
17882 (_res): Use __attribute__ ((nocommon)) in place of
17883 __attribute__ ((section (".bss"))).
17885 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17886 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17888 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17890 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17891 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17893 * resolv/res_mkquery.c: Include <sys/time.h>.
17895 * inet/ifreq.c: Moved to ...
17896 * sysdeps/unix/ifreq.c: ... here.
17897 * inet/ifreq.c: New file, true stub version.
17899 * socket/sa_len.c: New file.
17900 * socket/Makefile (aux): Add it.
17901 * sysdeps/unix/sysv/linux/Makefile
17902 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17903 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17904 and #include <socket/sa_len.c>.
17905 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17906 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17908 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17909 * bits/socket.h: ... here.
17911 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17912 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17913 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17915 2013-08-27 Andreas Schwab <schwab@suse.de>
17918 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17919 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17920 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17921 * string/test-strcasecmp.c (test_main): Run tests in several
17923 * string/test-strncasecmp.c (test_main): Likewise.
17925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17926 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17927 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17929 (__strncasecmp_ssse3) [PIC]: Likewise.
17931 2013-08-26 Roland McGrath <roland@hack.frob.com>
17933 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17935 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17936 instead of explicitly declaring xdecrypt.
17937 * nis/nss_nis/nis-publickey.c: Likewise.
17939 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17942 * nscd/aicache.c: Include res_hconf.h.
17943 (addhstaiX): Initialize res_hconf.
17945 2013-08-26 Andreas Schwab <schwab@suse.de>
17947 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17948 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17950 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17952 * nscd/aicache.c (addhstaiX): Fix indentation.
17954 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17956 * configure.ac: Quote $build_pt_chown test.
17957 * configure: Regenerated.
17959 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17962 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17963 * math/s_cexpf.c (__cexpf): Likewise.
17964 * math/s_cexpl.c (__cexpl): Likewise.
17965 * math/libm-test.inc (cexp_test_data): Correct expected return
17966 value for NaN + i0. Add another test.
17968 2013-08-22 David S. Miller <davem@davemloft.net>
17970 * po/ca.po: Update Catalan translation from translation project.
17971 * po/uk.po: Add Ukrainian translations from translation project.
17973 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17976 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17977 is infinite, not alongside NaN test.
17978 * math/s_fdimf.c (__fdimf): Likewise.
17979 * math/s_fdiml.c (__fdiml): Likewise.
17980 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17981 errno is unchanged.
17983 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17985 * argp/argp-help.c: Fix typos.
17986 * crypt/speeds.c: Likewise.
17987 * csu/check_fds.c: Likewise.
17988 * elf/dl-load.c: Likewise.
17989 * elf/dl-open.c: Likewise.
17990 * elf/reldep3.c: Likewise.
17991 * elf/reldep.c: Likewise.
17992 * elf/sprof.c: Likewise.
17993 * iconv/iconv_charmap.c: Likewise.
17994 * iconv/skeleton.c: Likewise.
17995 * iconv/strtab.c: Likewise.
17996 * io/lockf64.c: Likewise.
17997 * libio/libioP.h: Likewise.
17998 * resolv/gai_notify.c: Likewise.
17999 * resolv/ns_name.c: Likewise.
18000 * resolv/ns_samedomain.c: Likewise.
18001 * resolv/res_send.c: Likewise.
18002 * stdlib/random.c: Likewise.
18003 * sunrpc/rpc/xdr.h: Likewise.
18004 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18006 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18007 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18008 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18012 * sysdeps/mach/hurd/check_fds.c: Likewise.
18013 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18014 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18015 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18016 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18017 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18018 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18019 * sysdeps/pthread/aio_notify.c: Likewise.
18020 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18021 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18022 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18023 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18024 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18026 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18028 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18029 version if bit_Slow_SSE4_2 is set.
18030 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18033 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18036 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18037 trampoline stack frame information.
18038 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18039 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18040 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18041 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18042 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18043 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18044 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18045 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18047 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18048 interrupting a syscall and set with option SA_SIGINFO.
18050 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18053 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18054 argument is infinite.
18055 * math/s_cprojf.c (__cprojf): Likewise.
18056 * math/s_cprojl.c (__cprojl): Likewise.
18057 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18058 * math/libm-test.inc (cproj_test_data): Add more tests.
18060 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18062 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18063 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18064 size. Use __ffs to determine corresponding shift.
18066 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18067 Roland McGrath <roland@hack.frob.com>
18069 * Makefile (INSTALL): Remove trailing blank lines from output of
18072 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18074 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18075 Align 32 bit compat elf_greg to 8 bytes.
18077 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18079 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18081 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18083 * string/strcoll_l.c (coll_seq): New structure.
18084 (get_next_seq_cached): New function.
18085 (get_next_seq): New function.
18086 (do_compare): New function.
18087 (STRCOLL): Use GNU style definition. Simplify implementation
18088 by using get_next_seq, get_next_seq_cached and do_compare.
18090 2013-08-16 Florian Weimer <fweimer@redhat.com>
18094 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18096 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18098 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18099 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18100 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18102 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18103 GETDENTS_64BIT_ALIGNED.
18104 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18105 * manual/filesys.texi (Reading/Closing Directory): Document
18106 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18108 * manual/conf.texi (Limits for Files): Add portability note to
18109 NAME_MAX, PATH_MAX.
18110 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18112 2013-08-13 Andreas Schwab <schwab@suse.de>
18115 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18117 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18118 LDBL_MAX_EXP >= 16384]: Add tests for it.
18120 2013-08-12 David S. Miller <davem@davemloft.net>
18122 * version.h (RELEASE): Set to "development".
18123 (VERSION): Set to "2.18.90".
18124 * NEWS: Add 2.19 section.
18126 2013-08-03 David S. Miller <davem@davemloft.net>
18128 * po/ko.po: Update Korean translation from translation project.
18130 2013-08-01 David S. Miller <davem@davemloft.net>
18132 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18133 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18136 2013-07-30 David S. Miller <davem@davemloft.net>
18138 * po/fr.po: Update French translation from translation project.
18140 2013-07-28 David S. Miller <davem@davemloft.net>
18142 * po/cs.po: Update Czech translation from translation project.
18144 * po/sv.po: Update Swedish translation from translation project.
18146 2013-07-27 David S. Miller <davem@davemloft.net>
18148 * po/eo.po: Update Esperanto translation from translation project.
18150 * po/vi.po: Update Vietnamese translation from translation project.
18152 * po/de.po: Update German translation from translation project.
18154 2013-07-26 David S. Miller <davem@davemloft.net>
18156 * po/bg.po: Update Bulgarian translation from translation project.
18158 * po/nl.po: Update Dutch translation from translation project.
18159 * po/pl.po: Update Polish translation from translation project.
18160 * po/ru.po: Update Russian translation from translation project.
18162 2013-07-24 David S. Miller <davem@davemloft.net>
18164 * po/libc.pot: Update.
18166 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18168 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18169 variable page size.
18170 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18171 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18172 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18174 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18176 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18178 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18179 Andreas Schwab <schwab@suse.de>
18180 Roland McGrath <roland@hack.frob.com>
18181 Joseph Myers <joseph@codesourcery.com>
18182 Carlos O'Donell <carlos@redhat.com>
18185 * config.h.in: Define HAVE_PT_CHOWN.
18186 * config.make.in (build-pt-chown): New variable.
18187 * configure.in (--enable-pt_chown): New configure option.
18188 * configure: Regenerate.
18189 * login/Makefile: Include Makeconfig. Build pt_chown only if
18190 build-pt-chown is enabled.
18191 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18192 pt_chown to fix pty ownership.
18193 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18195 * manual/install.texi (Configuring and compiling): Mention
18196 --enable-pt_chown. Add @findex for grantpt.
18197 * INSTALL: Regenerate.
18199 2013-07-20 David S. Miller <davem@davemloft.net>
18201 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18202 difference between 32-bit and 64-bit.
18204 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18207 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18208 Avoid system header dependency with -ffreestanding.
18209 ($(objpfx)bits/syscall%d): Likewise.
18211 2013-07-13 David S. Miller <davem@davemloft.net>
18213 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18214 underflows from atanl/atan2l due to bug 15319.
18215 (casinh_test_data): Likewise.
18217 2013-07-07 David S. Miller <davem@davemloft.net>
18219 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18221 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18223 * sysdeps/i386/fpu/libm-test-ulps: Update.
18224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18226 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18228 * configure.in (--enable-lock-elision): Fix message text.
18229 * INSTALL: Regenerate.
18230 * configure: Regenerate.
18232 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18236 2013-07-03 Andreas Jaeger <aj@suse.de>
18238 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18240 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18241 (ptrace_peeksiginfo_args): Add.
18242 (__ptrace_peeksiginfo_flags): Add.
18243 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18244 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18245 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18247 2013-07-03 Allan McRae <allan@archlinux.org>
18249 * sysdeps/i386/fpu/libm-test-ulps: Update.
18251 2013-07-02 David S. Miller <davem@davemloft.net>
18253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18255 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18259 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18261 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18264 2013-07-02 Andi Kleen <ak@linux.intel.com>
18266 * config.h.in (ENABLE_LOCK_ELISION): Add.
18267 * configure.in (--enable-lock-elision): Add option.
18268 * manual/install.texi: Document --enable lock elision.
18269 * configure: Regenerate
18270 * INSTALL: Regenerate.
18272 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18274 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18275 SSE4.2 strcasecmp for libc.a.
18276 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18278 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18281 * soft-fp/op-common.h (_FP_FMA): New macro.
18282 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18283 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18284 (_FP_MUL_MEAT_1_imm): ... here.
18285 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18286 (_FP_MUL_MEAT_1_wide): ... here.
18287 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18288 (_FP_MUL_MEAT_1_hard): ... here.
18289 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18290 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18291 (_FP_MUL_MEAT_2_wide): ... here.
18292 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18293 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18294 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18295 (_FP_MUL_MEAT_2_gmp): ... here.
18296 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18297 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18298 (_FP_MUL_MEAT_4_wide): ... here.
18299 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18300 (_FP_MUL_MEAT_4_gmp): ... here.
18301 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18302 (_FP_WFRACBITS_DW_S): Likewise.
18303 (_FP_WFRACXBITS_DW_S): Likewise.
18304 (_FP_HIGHBIT_DW_S): Likewise.
18305 (FP_FMA_S): Likewise.
18306 (_FP_FRAC_HIGH_DW_S): Likewise.
18307 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18308 (_FP_WFRACBITS_DW_D): Likewise.
18309 (_FP_WFRACXBITS_DW_D): Likewise.
18310 (_FP_HIGHBIT_DW_D): Likewise.
18311 (FP_FMA_D): Likewise.
18312 (_FP_FRAC_HIGH_DW_D): Likewise.
18313 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18314 (_FP_WFRACBITS_DW_E): Likewise.
18315 (_FP_WFRACXBITS_DW_E): Likewise.
18316 (_FP_HIGHBIT_DW_E): Likewise.
18317 (FP_FMA_E): Likewise.
18318 (_FP_FRAC_HIGH_DW_E): Likewise.
18319 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18320 (_FP_WFRACBITS_DW_Q): Likewise.
18321 (_FP_WFRACXBITS_DW_Q): Likewise.
18322 (_FP_HIGHBIT_DW_Q): Likewise.
18323 (FP_FMA_Q): Likewise.
18324 (_FP_FRAC_HIGH_DW_Q): Likewise.
18325 * soft-fp/fmasf4.c: New file.
18326 * soft-fp/fmadf4.c: Likewise.
18327 * soft-fp/fmatf4.c: Likewise.
18329 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18332 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18334 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18336 (index_Slow_SSE4_2): Likewise.
18337 (index_Prefer_PMINUB_for_stringop): Likewise.
18338 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18339 bit_Slow_SSE4_2 is set.
18340 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18341 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18343 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18345 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18346 rtld_global._dl_hwcap2.
18347 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18349 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18350 POWER8 feature descriptions defined in _dl_hwcap2.
18351 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18352 string handling for POWER8 feature bits.
18353 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18354 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18355 _dl_powerpc_cap_flags.
18356 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18357 * sysdeps/powerpc/rtld-global-offsets.sym
18358 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18359 _dl_hwcap2 in the rtld_global_ro structure.
18361 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18363 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18364 hardware capabilities in support of AT_HWCAP2.
18365 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18366 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18368 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18369 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18370 explicitly the unknown a_type display mechanism is used.
18371 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18372 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18374 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18375 to macro prototype for AT_HWCAP2 support.
18376 * sysdeps/i386/dl-procinfo.h: Likewise.
18377 * sysdeps/s390/dl-procinfo.h: Likewise.
18378 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18379 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18380 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18381 return -1 for unknown a_type display fallback.
18382 * sysdeps/sparc/dl-procinfo.h: Likewise.
18383 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18384 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18386 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18388 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18389 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18391 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18394 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18395 mprotect making __stack_prot writable.
18397 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18398 Joseph Myers <joseph@codesourcery.com>
18400 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18401 as being properly aligned.
18403 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18405 * dlfcn/modstatic5.c: New file.
18406 * dlfcn/tststatic5.c: New file.
18407 * dlfcn/Makefile (tests): Add tststatic5.
18408 (tests-static): Likewise.
18409 (modules-names): Add modstatic5.
18410 (tststatic5-ENV): New variable.
18411 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18414 * elf/dl-support.c (_dl_main_map): New variable.
18415 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18416 (_dl_nns, _dl_load_adds): Set to 1.
18417 (_dl_initial_searchlist): Refer to _dl_main_map.
18418 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18419 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18420 call to _dl_get_origin.
18421 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18423 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18424 * dlfcn/modstatic3.c: New file.
18425 * dlfcn/tststatic3.c: New file.
18426 * dlfcn/tststatic4.c: New file.
18427 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18428 (tests-static): Likewise.
18429 (modules-names): Add modstatic3.
18430 (tststatic3-ENV, tststatic4-ENV): New variables.
18431 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18432 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18434 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18436 * configure.in (CC): Require GCC version 4.4 or later.
18437 * configure: Regenerated.
18438 * manual/install.texi (Tools for Compilation): Update GCC version
18440 * INSTALL: Regenerated.
18442 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18445 * string/test-memcmp.c (check2): New.
18446 (main): Call check2.
18448 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18450 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18453 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18455 (dl_open_worker) [!SHARED]: ... here.
18457 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18459 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18461 2013-06-25 Richard Henderson <rth@redhat.com>
18463 * locale/programs/locarchive.c: Include <libc-internal.h>
18465 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18467 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18468 trailing whitespace removed.
18470 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18473 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18474 * locale/programs/locarchive.c: Include libc-mmap.h.
18475 (prepare_address_space): Take two new outputs (the mmap base and len).
18476 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18478 (create_archive): Declare new mmap base and len values for
18479 prepare_address_space, and store the result in ah.
18480 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18481 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18482 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18483 Declare new mmap base and len values for
18484 prepare_address_space, and store the result in new_ah.
18485 (open_archive): Declare new mmap base and len values for
18486 prepare_address_space, and store the result in ah.
18487 (close_archive): If ah->mmap_base is not NULL, use that and
18488 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18489 * sysdeps/generic/libc-mmap.h: New file.
18491 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18493 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18494 (ALIGN_UP): Likewise.
18495 (PTR_ALIGN_DOWN): Likewise.
18496 (PTR_ALIGN_UP): Likewise.
18498 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18500 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18501 entry mapped to PPC_PLATFORM_POWER8.
18502 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18504 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18505 (_dl_string_platform): Add case for exporting platform position for
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18508 search path to sysdeps/powerpc/powerpc32/power8 directory.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18510 search path to sysdeps/powerpc/powerpc64/power8 directory.
18511 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18512 power7 directories.
18513 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18514 power7 directories.
18516 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18518 * INSTALL: Regenerate.
18520 * nscd/connections.c (nscd_init): Fix comment.
18522 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18524 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18527 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18528 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18530 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18532 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18534 (DL_DST_REQ_STATIC): Remove macro.
18536 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18539 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18540 with a shift of 0 bits.
18542 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18544 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18547 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18550 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18552 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18554 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18555 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18556 accepts -fno-tree-loop-distribute-patterns.
18557 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18558 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18560 * string/memset.c (memset): Likewise.
18561 * string/test-memmove.c (simple_memmove): Disable loop transformation
18563 * string/test-memset.c (simple_memset): Likewise.
18564 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18565 * benchtests/bench-memset.c (simple_memset): Likewise.
18566 * configure: Regenerated.
18568 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18570 * math/test-misc.c (main): Ignore fesetround failure when failures
18571 of subsequent rounding tests would be ignored.
18574 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18575 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18576 * math/fegetenv.c (__fegetenv): Return 0.
18577 * math/fegetexcept.c (fegetexcept): Return 0.
18578 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18580 * math/feholdexcpt.c (feholdexcept): Return 0.
18581 * math/fesetenv.c (__fesetenv): Return 0.
18582 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18583 argument FE_TONEAREST.
18584 * math/feupdateenv.c (__feupdateenv): Return 0.
18585 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18587 2013-06-18 Roland McGrath <roland@hack.frob.com>
18589 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18590 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18591 ($(objpfx)rtld-%.os rules): Use them.
18593 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18595 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18598 2013-06-17 Roland McGrath <roland@hack.frob.com>
18600 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18601 length of target pattern, then descending length of dependency pattern.
18602 * configure.in (AWK): Require gawk 3.1.2 or newer.
18603 * manual/install.texi (Tools for Compilation): Say that we do.
18604 * configure: Regenerated.
18606 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18607 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18608 * scripts/sysd-rules.awk: ... this new script.
18609 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18610 than a glob-style pattern.
18612 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18614 * math/test-misc.c (main): Do not treat incorrectly rounded
18615 conversions as failure unless ROUNDING_TESTS passes.
18617 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18620 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18621 restore exception state around main square root computation, then
18622 check for inexactness explicitly.
18624 * math/libm-test.inc (fma_test_data): Add another test.
18626 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18628 * manual/threads.texi (Non-POSIX Extensions): New document
18629 node. Document pthread_getattr_default_np and
18630 pthread_setattr_default_np.
18632 * Versions.def (libpthread): Add GLIBC_2.18.
18633 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18642 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18653 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18656 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18658 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18659 H.J. Lu <hjl.tools@gmail.com>
18662 * sysdeps/x86_64/rtld-memset.c: Remove file.
18663 * sysdeps/x86_64/rtld-memset.S: New file.
18665 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18667 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18668 (test_in_one_mode): Take arguments for whether the rounding mode
18669 is supported for each floating-point type.
18670 (do_test): Pass new arguments to test_in_one_mode using
18673 2013-06-13 Roland McGrath <roland@hack.frob.com>
18675 * posix/tst-waitid.c (do_test): Distinguish different instances of
18676 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18677 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18678 before entering the kernel for waitpid.
18680 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18682 * NEWS: Fix note on clock function precision. Text by Roland
18685 2013-06-13 Roland McGrath <roland@hack.frob.com>
18687 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18688 it into place only when and if the sanity check passes.
18690 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18692 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18693 output for whether conversion result is exact. Take argument
18694 indicating whether type is IBM long double.
18695 (round_for_all): Change need_exact field to ibm_ld.
18696 * stdlib/tst-strtod-round.c (struct exactness): New type.
18697 (struct test): Change bool ld_ok field to struct exactness exact.
18698 (TEST): Update all definitions for change to field.
18699 (tests): Regenerate array contents.
18700 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18701 field value. Check for IBM long double here.
18702 (do_test): Update calls to test_in_one_mode.
18704 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18707 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18708 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18710 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18713 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18714 generated by the compiler on loop optimizations.
18715 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18716 general definitions.
18718 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18720 * math/bug-nextafter.c: Include <math-tests.h>.
18721 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18723 * math/bug-nexttoward.c: Include <math-tests.h>.
18724 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18726 * math/test-misc.c: Include <math-tests.h>.
18727 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18730 2013-06-12 Andreas Jaeger <aj@suse.de>
18732 * po/ia.po: Update Interlingua translation from translation
18735 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18737 * include/fenv.h: Include stdbool.h.
18738 (struct rm_ctx): New structure.
18739 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18741 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18742 (SET_RESTORE_ROUNDF): Likewise.
18743 (SET_RESTORE_ROUNDL): Likewise.
18744 (SET_RESTORE_ROUND_NOEX): Likewise.
18745 (SET_RESTORE_ROUND_NOEXF): Likewise.
18746 (SET_RESTORE_ROUND_NOEXL): Likewise.
18747 (SET_RESTORE_ROUND_53BIT): Likewise.
18748 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18749 (libc_feresetround_noexf_ctx): Likewise.
18750 (libc_feresetround_noexl_ctx): Likewise.
18751 (libc_feholdsetround_53bit_ctx): Likewise.
18752 (libc_feresetround_53bit_ctx): Likewise.
18753 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18754 (libc_feholdexcept_setround_sse_ctx): New function.
18755 (libc_fesetenv_sse_ctx): Likewise.
18756 (libc_feupdateenv_sse_ctx): Likewise.
18757 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18758 (libc_feholdexcept_setround_387_ctx): Likewise.
18759 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18760 (libc_feholdsetround_387_prec_ctx): Likewise.
18761 (libc_feholdsetround_387_ctx): Likewise.
18762 (libc_feholdsetround_387_53bit_ctx): Likewise.
18763 (libc_feholdsetround_sse_ctx): Likewise.
18764 (libc_feresetround_sse_ctx): Likewise.
18765 (libc_feresetround_387_ctx): Likewise.
18766 (libc_feupdateenv_387_ctx): Likewise.
18767 (libc_feholdexcept_setroundf_ctx): Define macro.
18768 (libc_fesetenvf_ctx): Likewise.
18769 (libc_feupdateenvf_ctx): Likewise.
18770 (libc_feholdsetroundf_ctx): Likewise.
18771 (libc_feresetroundf_ctx): Likewise.
18772 (libc_feholdexcept_setround_ctx): Likewise.
18773 (libc_fesetenv_ctx): Likewise.
18774 (libc_feupdateenv_ctx): Likewise.
18775 (libc_feholdsetround_ctx): Likewise.
18776 (libc_feresetround_ctx): Likewise.
18777 (libc_feholdexcept_setroundl_ctx): Likewise.
18778 (libc_feupdateenvl_ctx): Likewise.
18779 (libc_feholdsetroundl_ctx): Likewise.
18780 (libc_feresetroundl_ctx): Likewise.
18781 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18782 (libc_feresetround_53bit_ctx): Likewise.
18784 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18786 * locale/iso-639.def: Convert to UTF-8.
18788 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18790 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18791 (EXCEPTION_TESTS_double): Likewise.
18792 (EXCEPTION_TESTS_long_double): Likewise.
18793 (EXCEPTION_TESTS): Likewise.
18794 * math/libm-test.inc (test_exceptions): Only test exceptions if
18795 EXCEPTION_TESTS (FLOAT).
18797 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18799 * benchtests/Makefile (string-bench): Add strcpy_chk and
18801 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18802 * benchtests/bench-stpcpy_chk.c: New file.
18803 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18804 * benchtests/bench-strcpy_chk.c: New file.
18805 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18807 (do_test): Likewise.
18809 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18811 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18812 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18813 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18814 with tabs where appropriate.
18815 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18817 [PPC_PLATFORM_PPC440]: Likewise.
18818 [PPC_PLATFORM_PPC464]: Likewise.
18819 [PPC_PLATFORM_PPC476]: Likewise.
18820 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18821 ppc464, and ppc476 platform strings merging from ports/
18824 2013-06-11 Andreas Schwab <schwab@suse.de>
18827 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18828 (from_ucs4_idx): Regenerate.
18829 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18830 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18831 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18832 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18833 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18834 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18835 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18836 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18837 from FROM_LOOP and TO_LOOP specific macros.
18838 (BODY): Handle combining characters.
18839 * iconvdata/BIG5HKSCS.irreversible: Update.
18840 * iconvdata/BIG5HKSCS.precomposed: New file.
18841 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18843 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18845 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18847 * include/sys/time.h: Fix indentation and add copyright header.
18849 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18850 (do_test): Likewise.
18851 * string/test-memchr.c (do_one_test): Likewise.
18852 (do_test): Likewise.
18853 * string/test-memcmp.c (do_one_test): Likewise.
18854 (do_test): Likewise.
18855 * string/test-memcpy.c (do_one_test): Likewise.
18856 (do_test): Likewise.
18857 * string/test-memmem.c (do_one_test): Likewise.
18858 (do_test): Likewise.
18859 (do_random_tests): Likewise.
18860 * string/test-memmove.c (do_one_test): Likewise.
18861 (do_test): Likewise.
18862 * string/test-memset.c (do_one_test): Likewise.
18863 (do_test): Likewise.
18864 * string/test-rawmemchr.c (do_one_test): Likewise.
18865 (do_test): Likewise.
18866 * string/test-strcasecmp.c (do_one_test): Likewise.
18867 (do_test): Likewise.
18868 * string/test-strcasestr.c (do_one_test): Likewise.
18869 (do_test): Likewise.
18870 * string/test-strcat.c (do_one_test): Likewise.
18871 (do_test): Likewise.
18872 * string/test-strchr.c (do_one_test): Likewise.
18873 (do_test): Likewise.
18874 * string/test-strcmp.c (do_one_test): Likewise.
18875 (do_test): Likewise.
18876 * string/test-strcpy.c (do_one_test): Likewise.
18877 (do_test): Likewise.
18878 * string/test-string.h: Likewise.
18879 (test_init): Likewise.
18880 * string/test-strlen.c (do_one_test): Likewise.
18881 (do_test): Likewise.
18882 * string/test-strncasecmp.c (do_one_test): Likewise.
18883 (do_test): Likewise.
18884 * string/test-strncat.c (do_one_test): Likewise.
18885 (do_test): Likewise.
18886 * string/test-strncmp.c (do_one_test): Likewise.
18887 (do_test_limit): Likewise.
18888 (do_test): Likewise.
18889 * string/test-strncpy.c (do_one_test): Likewise.
18890 (do_test): Likewise.
18891 * string/test-strnlen.c (do_one_test): Likewise.
18892 (do_test): Likewise.
18893 * string/test-strpbrk.c (do_one_test): Likewise.
18894 (do_test): Likewise.
18895 * string/test-strrchr.c (do_one_test): Likewise.
18896 (do_test): Likewise.
18897 * string/test-strspn.c (do_one_test): Likewise.
18898 (do_test): Likewise.
18899 * string/test-strstr.c (do_one_test): Likewise.
18900 (do_test): Likewise.
18902 * benchtests/Makefile (string-bench): Add string benchmarks.
18903 * benchtests/bench-bcopy-ifunc.c: New file.
18904 * benchtests/bench-bcopy.c: New file.
18905 * benchtests/bench-bzero-ifunc.c: New file.
18906 * benchtests/bench-bzero.c: New file.
18907 * benchtests/bench-memccpy-ifunc.c: New file.
18908 * benchtests/bench-memccpy.c: New file.
18909 * benchtests/bench-memchr-ifunc.c: New file.
18910 * benchtests/bench-memchr.c: New file.
18911 * benchtests/bench-memcmp-ifunc.c: New file.
18912 * benchtests/bench-memcmp.c: New file.
18913 * benchtests/bench-memmem-ifunc.c: New file.
18914 * benchtests/bench-memmem.c: New file.
18915 * benchtests/bench-memmove-ifunc.c: New file.
18916 * benchtests/bench-memmove.c: New file.
18917 * benchtests/bench-mempcpy-ifunc.c: New file.
18918 * benchtests/bench-mempcpy.c: New file.
18919 * benchtests/bench-memset-ifunc.c: New file.
18920 * benchtests/bench-memset.c: New file.
18921 * benchtests/bench-rawmemchr-ifunc.c: New file.
18922 * benchtests/bench-rawmemchr.c: New file.
18923 * benchtests/bench-stpcpy-ifunc.c: New file.
18924 * benchtests/bench-stpcpy.c: New file.
18925 * benchtests/bench-stpncpy-ifunc.c: New file.
18926 * benchtests/bench-stpncpy.c: New file.
18927 * benchtests/bench-strcasecmp-ifunc.c: New file.
18928 * benchtests/bench-strcasecmp.c: New file.
18929 * benchtests/bench-strcasestr-ifunc.c: New file.
18930 * benchtests/bench-strcasestr.c: New file.
18931 * benchtests/bench-strcat-ifunc.c: New file.
18932 * benchtests/bench-strcat.c: New file.
18933 * benchtests/bench-strchr-ifunc.c: New file.
18934 * benchtests/bench-strchr.c: New file.
18935 * benchtests/bench-strchrnul-ifunc.c: New file.
18936 * benchtests/bench-strchrnul.c: New file.
18937 * benchtests/bench-strcmp-ifunc.c: New file.
18938 * benchtests/bench-strcmp.c: New file.
18939 * benchtests/bench-strcpy-ifunc.c: New file.
18940 * benchtests/bench-strcpy.c: New file.
18941 * benchtests/bench-strcspn-ifunc.c: New file.
18942 * benchtests/bench-strcspn.c: New file.
18943 * benchtests/bench-strlen-ifunc.c: New file.
18944 * benchtests/bench-strlen.c: New file.
18945 * benchtests/bench-strncasecmp-ifunc.c: New file.
18946 * benchtests/bench-strncasecmp.c: New file.
18947 * benchtests/bench-strncat-ifunc.c: New file.
18948 * benchtests/bench-strncat.c: New file.
18949 * benchtests/bench-strncmp-ifunc.c: New file.
18950 * benchtests/bench-strncmp.c: New file.
18951 * benchtests/bench-strncpy-ifunc.c: New file.
18952 * benchtests/bench-strncpy.c: New file.
18953 * benchtests/bench-strnlen-ifunc.c: New file.
18954 * benchtests/bench-strnlen.c: New file.
18955 * benchtests/bench-strpbrk-ifunc.c: New file.
18956 * benchtests/bench-strpbrk.c: New file.
18957 * benchtests/bench-strrchr-ifunc.c: New file.
18958 * benchtests/bench-strrchr.c: New file.
18959 * benchtests/bench-strspn-ifunc.c: New file.
18960 * benchtests/bench-strspn.c: New file.
18961 * benchtests/bench-strstr-ifunc.c: New file.
18962 * benchtests/bench-strstr.c: New file.
18964 * benchtests/Makefile: Disable parallel execution of targets.
18965 (string-bench): Add memcpy.
18966 (benchset): New variable to store a list of benchmark sets.
18967 (bench-func): Renamed from bench.
18968 (bench-set): New target.
18969 (bench): Depend on bench-func and bench-set.
18970 * benchtests/README: Add section on benchmark sets.
18971 * benchtests/bench-memcpy-ifunc.c: New file.
18972 * benchtests/bench-memcpy.c: New file.
18973 * benchtests/bench-string.h: New file.
18975 2013-06-11 Andreas Schwab <schwab@suse.de>
18978 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18979 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18980 values in the triple.
18981 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18982 terminator in the group key.
18984 2013-06-11 Andreas Jaeger <aj@suse.de>
18986 * po/zh_TW.po: Update Chinese (traditional) translation from
18987 translation project.
18989 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18991 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18992 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18993 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18994 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18995 (clock_getcpuclockid): Likewise.
18996 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18997 Add weak_alias and libc_hidden_def.
18998 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18999 * rt/clock_gettime.c (clock_gettime): Rename to
19000 __clock_gettime. Add weak_alias and libc_hidden_def.
19001 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19002 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19003 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19004 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19005 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19007 * rt/clock_settime.c (clock_settime): Rename to
19008 __clock_settime. Add weak_alias and libc_hidden_def.
19009 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19011 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19013 * mach/err_boot.sub: Remove trailing whitespace.
19014 * mach/err_ipc.sub: Likewise.
19015 * mach/err_mach.sub: Likewise.
19017 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19018 (ROUNDING_TESTS_double): Likewise.
19019 (ROUNDING_TESTS_long_double): Likewise.
19020 (ROUNDING_TESTS): Likewise.
19021 * math/libm-test.inc: Include <math-tests.h>.
19022 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19023 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19024 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19025 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19027 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19029 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19032 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19034 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19035 otherwise empty TRANS lines.
19036 * sysdeps/gnu/errlist.c: Regenerated.
19038 * catgets/gencat.c (error_print): Use (void) in function
19040 * crypt/crypt_util.c (__init_des): Likewise.
19041 * crypt/speeds.c (Stop): Likewise.
19043 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19044 * inet/ruserpass.c (token): Likewise.
19045 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19046 * intl/localealias.c (extend_alias_table): Likewise.
19047 * intl/plural-exp.c (init_germanic_plural): Likewise.
19048 * libio/fcloseall.c (__fcloseall): Likewise.
19049 * libio/genops.c (_IO_flush_all): Likewise.
19050 (_IO_flush_all_linebuffered): Likewise.
19051 (_IO_cleanup): Likewise.
19052 (_IO_iter_begin): Likewise.
19053 (_IO_iter_end): Likewise.
19054 (_IO_list_lock): Likewise.
19055 (_IO_list_unlock): Likewise.
19056 (_IO_list_resetlock): Likewise.
19057 * libio/getchar.c (getchar): Likewise.
19058 * libio/getchar_u.c (getchar_unlocked): Likewise.
19059 * libio/getwchar.c (getwchar): Likewise.
19060 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19061 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19062 * login/getpt.c (__getpt): Likewise.
19063 * login/tst-utmp.c (main): Likewise.
19064 * malloc/hooks.c (__malloc_check_init): Likewise.
19065 * malloc/malloc.c (__malloc_stats): Likewise.
19066 * malloc/mtrace.c (tr_break): Likewise.
19067 (mtrace): Likewise.
19068 (muntrace): Likewise.
19069 * misc/fstab.c (endfsent): Likewise.
19070 * misc/getclktck.c (__getclktck): Likewise.
19071 * misc/getdtsz.c (__getdtablesize): Likewise.
19072 * misc/gethostid.c (gethostid): Likewise.
19073 * misc/getpagesize.c (__getpagesize): Likewise.
19074 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19075 (__get_nprocs): Likewise.
19076 (__get_phys_pages): Likewise.
19077 (__get_avphys_pages): Likewise.
19078 * misc/getttyent.c (getttyent): Likewise.
19079 (setttyent): Likewise.
19080 (endttyent): Likewise.
19081 * misc/getusershell.c (getusershell): Likewise.
19082 (endusershell): Likewise.
19083 (setusershell): Likewise.
19084 (initshells): Likewise.
19085 * misc/hsearch.c (__hdestroy): Likewise.
19086 * misc/sync.c (sync): Likewise.
19087 * misc/syslog.c (closelog_internal): Likewise.
19088 (closelog): Likewise.
19089 * misc/ttyslot.c (ttyslot): Likewise.
19090 * misc/vhangup.c (vhangup): Likewise.
19091 * posix/fork.c (__fork): Likewise.
19092 * posix/getegid.c (__getegid): Likewise.
19093 * posix/geteuid.c (__geteuid): Likewise.
19094 * posix/getgid.c (__getgid): Likewise.
19095 * posix/getpid.c (__getpid): Likewise.
19096 * posix/getppid.c (__getppid): Likewise.
19097 * posix/getuid.c (__getuid): Likewise.
19098 * posix/pause.c (pause): Likewise.
19099 * posix/setpgrp.c (setpgrp): Likewise.
19100 * posix/setsid.c (__setsid): Likewise.
19101 * posix/test-vfork.c (noop): Likewise.
19102 * resolv/gethnamaddr.c (_endhtent): Likewise.
19103 (_gethtent): Likewise.
19104 (ht_endhostent): Likewise.
19105 (gethostent): Likewise.
19106 (dns_service): Likewise.
19107 * stdlib/drand48.c (drand48): Likewise.
19108 * stdlib/lrand48.c (lrand48): Likewise.
19109 * stdlib/mrand48.c (mrand48): Likewise.
19110 * stdlib/rand.c (rand): Likewise.
19111 * stdlib/random.c (__random): Likewise.
19112 * stdlib/setenv.c (clearenv): Likewise.
19113 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19114 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19115 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19116 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19117 (__get_nprocs): Likewise.
19118 (__get_phys_pages): Likewise.
19119 (__get_avphys_pages): Likewise.
19120 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19121 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19122 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19123 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19124 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19125 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19126 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19127 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19128 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19129 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19130 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19131 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19132 * sysdeps/posix/clock.c (clock): Likewise.
19133 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19134 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19135 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19136 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19137 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19139 (__get_nprocs_conf): Likewise.
19140 (__get_phys_pages): Likewise.
19141 (__get_avphys_pages): Likewise.
19142 * time/clock.c (clock): Likewise.
19143 * time/tzset.c (__tzname_max): Likewise.
19145 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19147 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19148 (__bswap_32): Do not use "register".
19149 * crypt/crypt.c (_ufc_doit_r): Likewise.
19150 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19151 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19152 * gmon/gmon.c (__monstartup): Likewise.
19153 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19154 * hurd/hurdmalloc.c (more_memory): Likewise.
19155 (malloc): Likewise.
19157 (realloc): Likewise.
19158 (malloc_fork_prepare): Likewise.
19159 (malloc_fork_parent): Likewise.
19160 (malloc_fork_child): Likewise.
19161 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19162 (_svcauth_des): Likewise.
19163 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19164 * inet/inet_net.c (inet_network): Likewise.
19165 * inet/inet_netof.c (inet_netof): Likewise.
19166 * inet/rcmd.c (__validuser2_sa): Likewise.
19167 * io/fts.c (fts_open): Likewise.
19168 (fts_load): Likewise.
19169 (fts_close): Likewise.
19170 (fts_read): Likewise.
19171 (fts_children): Likewise.
19172 (fts_build): Likewise.
19173 (fts_stat): Likewise.
19174 (fts_sort): Likewise.
19175 (fts_alloc): Likewise.
19176 (fts_lfree): Likewise.
19177 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19178 (_IO_file_xsgetn): Likewise.
19179 (_IO_file_xsgetn_mmap): Likewise.
19180 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19181 (_IO_cookie_write): Likewise.
19182 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19183 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19184 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19185 * malloc/obstack.c (_obstack_begin): Likewise.
19186 (_obstack_begin_1): Likewise.
19187 (_obstack_newchunk): Likewise.
19188 (_obstack_allocated_p): Likewise.
19189 (obstack_free): Likewise.
19190 (_obstack_memory_used): Likewise.
19191 * misc/getttyent.c (getttynam): Likewise.
19192 (getttyent): Likewise.
19195 * misc/getusershell.c (initshells): Likewise.
19196 * misc/syslog.c (__vsyslog_chk): Likewise.
19197 * misc/ttyslot.c (ttyslot): Likewise.
19198 * nis/nis_hash.c (__nis_hash): Likewise.
19199 * posix/fnmatch_loop.c (FCT): Likewise.
19200 * posix/getconf.c (print_all): Likewise.
19202 * posix/getopt.c (exchange): Likewise.
19203 * posix/glob.c (globfree): Likewise.
19204 (prefix_array): Likewise.
19205 (__glob_pattern_type): Likewise.
19206 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19207 (NS_GET32): Likewise.
19208 (NS_PUT16): Likewise.
19209 (NS_PUT32): Likewise.
19210 * resolv/gethnamaddr.c (getanswer): Likewise.
19211 (gethostbyname2): Likewise.
19212 (gethostbyaddr): Likewise.
19213 (_gethtent): Likewise.
19214 (_gethtbyname2): Likewise.
19215 (_gethtbyaddr): Likewise.
19216 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19217 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19218 * resolv/res_init.c (__res_vinit): Likewise.
19219 (net_mask): Likewise.
19220 * resolv/res_mkquery.c (outchar): Likewise.
19222 * stdio-common/printf_fp.c (outchar): Likewise.
19224 * stdio-common/printf_fphex.c (outchar): Likewise.
19226 * stdio-common/printf_size.c (outchar): Likewise.
19228 * stdio-common/test_rdwr.c (main): Likewise.
19229 * stdio-common/tfformat.c (matches): Likewise.
19230 * stdio-common/vfprintf.c (outchar): Likewise.
19231 (printf_unknown): Likewise.
19232 (buffered_vfprintf): Likewise.
19233 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19234 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19235 (ReadFile): Likewise.
19236 * stdlib/qsort.c (SWAP): Likewise.
19237 (_quicksort): Likewise.
19238 * stdlib/setenv.c (__add_to_environ): Likewise.
19239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19240 * stdlib/strtol_l.c (__strtol_l): Likewise.
19241 * stdlib/tst-strtod.c (main): Likewise.
19242 * stdlib/tst-strtol.c (main): Likewise.
19243 * stdlib/tst-strtoll.c (main): Likewise.
19244 * string/bits/string2.h (__strcmp_cc): Likewise.
19245 (__strcmp_cg): Likewise.
19246 (__strcspn_c1): Likewise.
19247 (__strcspn_c2): Likewise.
19248 (__strcspn_c3): Likewise.
19249 (__strspn_c1): Likewise.
19250 (__strspn_c2): Likewise.
19251 (__strspn_c3): Likewise.
19252 (__strsep_1c): Likewise.
19253 (__strsep_2c): Likewise.
19254 (__strsep_3c): Likewise.
19255 * string/memccpy.c (__memccpy): Likewise.
19256 * string/stpcpy.c (__stpcpy): Likewise.
19257 * string/strcmp.c (strcmp): Likewise.
19258 * string/strrchr.c (strrchr): Likewise.
19259 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19261 * sysdeps/mach/hurd/getcwd.c
19262 (_hurd_canonicalize_directory_name_internal): Likewise.
19263 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19264 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19265 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19266 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19267 Likewise, in both definitions.
19268 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19270 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19271 64] (__bswap_64): Likewise.
19272 * time/test_time.c (main): Likewise.
19273 * time/tzfile.c (__tzfile_read): Likewise.
19274 (__tzfile_compute): Likewise.
19275 * time/tzset.c (__tzset_parse_tz): Likewise.
19276 (tzset_internal): Likewise.
19277 (compute_change): Likewise.
19278 * wcsmbs/wcscat.c (__wcscat): Likewise.
19279 * wcsmbs/wcschr.c (wcschr): Likewise.
19280 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19281 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19282 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19283 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19284 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19285 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19286 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19287 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19288 * wcsmbs/wmemset.c (wmemset): Likewise.
19290 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19292 * scripts/config.guess: Update to version 2013-05-16.
19293 * scripts/config.sub: Update to version 2013-04-24.
19294 * scripts/install-sh: Update to version 2011-11-20.07.
19295 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19296 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19298 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19300 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19301 * elf/sln.c: Likewise.
19302 * hurd/hurd/ioctl.h: Likewise.
19303 * hurd/hurdmalloc.c: Likewise.
19304 * hurd/xattr.c: Likewise.
19305 * include/shlib-compat.h: Likewise.
19306 * inet/ruserpass.c: Likewise.
19307 * libio/iofgets_u.c: Likewise.
19308 * libio/iofgetws_u.c: Likewise.
19309 * locale/programs/ld-identification.c: Likewise.
19310 * locale/programs/ld-time.c: Likewise.
19311 * mach/msg-destroy.c: Likewise.
19312 * nss/nss_files/files-netgrp.c: Likewise.
19313 * resolv/res_data.c: Likewise.
19314 * soft-fp/op-1.h: Likewise.
19315 * soft-fp/op-2.h: Likewise.
19316 * soft-fp/op-4.h: Likewise.
19317 * soft-fp/op-common.h: Likewise.
19318 * stdio-common/printf_fphex.c: Likewise.
19319 * stdlib/strtod_l.c: Likewise.
19320 * sunrpc/rpc/clnt.h: Likewise.
19321 * sysdeps/generic/framestate.c: Likewise.
19322 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19323 * sysdeps/i386/bsd-setjmp.S: Likewise.
19324 * sysdeps/i386/__longjmp.S: Likewise.
19325 * sysdeps/i386/setjmp.S: Likewise.
19326 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19327 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19343 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19344 * sysdeps/ieee754/support.c: Likewise.
19345 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19346 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19347 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19348 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19349 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19350 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19351 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19352 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19353 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19354 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19355 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19356 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19357 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19358 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19359 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19360 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19361 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19364 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19366 * posix/transbug.c: Remove executable mode.
19368 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19370 * crypt/speeds.c: Remove trailing whitespace.
19371 * dlfcn/default.c: Likewise.
19372 * elf/ifuncdep2.c: Likewise.
19373 * elf/ifuncmain1.c: Likewise.
19374 * elf/ifuncmain1vis.c: Likewise.
19375 * elf/testobj.h: Likewise.
19376 * elf/tst-stackguard1.c: Likewise.
19377 * gmon/sys/gmon.h: Likewise.
19378 * hurd/hurdmsg.c: Likewise.
19379 * hurd/new-fd.c: Likewise.
19380 * hurd/ports-get.c: Likewise.
19381 * iconvdata/ibm1008_420.c: Likewise.
19382 * inet/tst-getni1.c: Likewise.
19383 * inet/tst-getni2.c: Likewise.
19384 * libio/ioungetc.c: Likewise.
19385 * libio/wfiledoalloc.c: Likewise.
19386 * manual/libm-err-tab.pl: Likewise.
19387 * math/w_dremf.c: Likewise.
19388 * misc/ftruncate.c: Likewise.
19389 * posix/bug-glob2.c: Likewise.
19390 * posix/tst-pcre.c: Likewise.
19391 * posix/wait4.c: Likewise.
19392 * resolv/README: Likewise.
19393 * resolv/res_debug.h: Likewise.
19394 * resolv/tst-inet_ntop.c: Likewise.
19395 * setjmp/bug269-setjmp.c: Likewise.
19396 * soft-fp/extended.h: Likewise.
19397 * soft-fp/op-1.h: Likewise.
19398 * soft-fp/op-2.h: Likewise.
19399 * soft-fp/op-4.h: Likewise.
19400 * soft-fp/op-8.h: Likewise.
19401 * soft-fp/testit.c: Likewise.
19402 * stdio-common/bug16.c: Likewise.
19403 * stdlib/random.c: Likewise.
19404 * sunrpc/rpcsvc/rquota.x: Likewise.
19405 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19406 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19407 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19408 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19409 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19410 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19411 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19412 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19413 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19415 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19416 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19417 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19420 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19421 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19422 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19423 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19429 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19430 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19434 * sysdeps/ieee754/s_lib_version.c: Likewise.
19435 * sysdeps/mach/hurd/check_fds.c: Likewise.
19436 * sysdeps/mach/hurd/getsockname.c: Likewise.
19437 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19438 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19439 * sysdeps/powerpc/bits/link.h: Likewise.
19440 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19441 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19442 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19443 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19444 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19445 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19446 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19447 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19448 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19449 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19450 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19451 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19452 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19453 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19454 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19455 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19456 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19457 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19458 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19459 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19460 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19461 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19462 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19463 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19464 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19465 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19466 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19467 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19470 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19471 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19473 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19474 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19475 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19476 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19477 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19478 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19479 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19480 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19481 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19482 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19483 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19484 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19485 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19486 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19487 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19488 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19489 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19492 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19493 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19495 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19496 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19498 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19499 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19500 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19501 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19502 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19503 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19504 * sysdeps/powerpc/sysdep.h: Likewise.
19505 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19506 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19507 * sysdeps/sh/dl-trampoline.S: Likewise.
19508 * sysdeps/sh/memset.S: Likewise.
19509 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19510 * sysdeps/sh/strlen.S: Likewise.
19511 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19512 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19513 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19514 * sysdeps/sparc/sparc32/rem.S: Likewise.
19515 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19516 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19517 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19518 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19519 * sysdeps/sparc/sparc32/urem.S: Likewise.
19520 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19521 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19522 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19523 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19524 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19525 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19526 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19527 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19528 * sysdeps/unix/bsd/times.c: Likewise.
19529 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19530 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19534 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19535 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19536 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19537 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19538 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19539 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19540 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19541 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19542 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19543 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19544 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19545 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19546 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19547 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19548 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19549 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19550 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19551 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19552 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19553 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19554 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19555 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19556 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19557 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19558 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19559 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19560 * sysdeps/x86_64/strcspn.S: Likewise.
19562 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19564 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19565 generated file. Regenerate properly from gen-translit.pl.
19566 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19567 locale/C-translit.h.
19569 2013-06-05 Andreas Schwab <schwab@suse.de>
19572 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19573 week as 6 instead of -1.
19574 * time/tst-strptime.c (day_tests): Add test case.
19576 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19578 * sysdeps/generic/math_private.h
19579 (libc_feholdexcept_setround_53bit): Replace with
19580 libc_feholdsetround_53bit.
19581 (libc_feupdateenv_53bit): Replace with
19582 libc_feresetround_53bit.
19583 (SET_RESTORE_ROUND_53BIT): Adjust.
19585 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19587 * string/test-strchrnul.c: Add copyright header.
19589 * posix/tst-getaddrinfo4.c: Increase test timeout.
19591 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19594 * math/libm-test.inc (MAX_EXP): Remove
19596 (ulp): Use MIN_EXP - MANT_DIG.
19597 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19599 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19601 * po/be.po: Revert last change.
19602 * po/zh_CN.po: Likewise.
19603 * po/header.pot: Likewise.
19605 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19607 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19608 link-libc-deps to empty as target-specific variable.
19609 * Makerules (link-libc-args): New variable.
19610 (libc-for-link): Likewise.
19611 (link-libc-deps): Likewise.
19612 (lib%.so): Depend on $(link-libc-deps). Link with
19614 (build-module): Link with $(link-libc-args).
19615 (build-module-asneeded): Likewise.
19616 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19618 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19619 target-specific variable.
19620 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19621 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19622 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19624 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19626 ($(objpfx)libpcprofile.so): Likewise.
19627 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19629 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19630 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19631 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19633 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19634 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19635 * login/Makefile ($(objpfx)libutil.so): Likewise.
19636 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19637 * math/Makefile ($(objpfx)libm.so): Likewise.
19638 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19639 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19640 variable instead of depending directly on libc.
19641 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19642 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19644 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19646 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19647 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19648 ($(objpfx)libanl.so): Likewise.
19649 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19651 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19653 * sysdeps/i386/fpu/Makefile: Remove file.
19654 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19655 ($(objpfx)libm.so): Remove dependency on ld.so.
19657 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19660 * nis/yp_xdr.c (XDRMAXNAME): Define.
19661 (XDRMAXRECORD): Define.
19662 (xdr_domainname): Use XDRMAXNAME.
19663 (xdr_mapname): Likewise.
19664 (xdr_peername): Likewise.
19665 (xdr_keydat): Use XDRMAXRECORD.
19666 (xdr_valdat): Likewise.
19668 2013-05-30 Jeff Law <law@redhat.com>
19671 * manual/errno.texi (ESTALE): Update to account for more than
19672 just NFS file systems.
19673 * sysdeps/gnu/errlist.c: Regenerated.
19675 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19678 * elf/Makefile (tests): Add tst-null-argv.
19679 (modules-names): Add tst-null-argv-lib.
19680 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19681 (tst-null-argv-ENV): Set environment for tst-null-argv.
19682 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19683 (RTLD_PROGNAME): New macro.
19684 * elf/tst-null-argv.c: New test case.
19685 * elf/tst-null-argv-lib.c: Library for test case.
19686 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19687 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19688 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19689 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19690 * elf/dl-init.c (call_init): Likewise.
19691 (_dl_init): Likewise.
19692 * elf/dl-load.c (print_search_path): Likewise.
19693 (_dl_map_object): Likewise.
19694 * elf/dl-lookup.c (do_lookup_x): Likewise.
19695 (add_dependency): Likewise.
19696 (_dl_lookup_symbol_x): Likewise.
19697 (_dl_debug_bindings): Likewise.
19698 * elf/dl-open.c (_dl_show_scope): Likewise.
19699 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19700 * elf/dl-version.c (match_symbol): Likewise.
19701 (_dl_check_map_versions): Likewise.
19702 * elf/rtld.c (dl_main): Likewise.
19703 (print_unresolved): Use RTLD_PROGNAME.
19704 (print_missing_version): Likewise.
19705 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19706 (elf_machine_rela): Likewise.
19707 * sysdeps/powerpc/powerpc32/dl-machine.c
19708 (__process_machine_rela): Likewise.
19709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19711 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19713 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19715 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19716 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19718 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19722 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19724 * po/be.po: Add descriptive title.
19725 * po/zh_CN.po: Likewise.
19726 * po/header.pot: Likewise.
19728 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19730 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19732 (enlarge_archive): Likewise.
19734 2013-05-28 Ben North <ben@redfrontdoor.org>
19736 * manual/arith.texi (frexp): It is the magnitude of the return
19737 value which lies in [0.5, 1), not the return value itself.
19739 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19743 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19745 * stdio-common/bug26.c (main): Correct fscanf template.
19747 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19748 declare _dl_skip_args.
19750 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19753 * manual/platform.texi: Add missing @end deftypefun.
19755 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19758 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19759 bit of mantissa of 2^16382.
19760 * math/libm-test.inc (hypot_test_data): Add more tests.
19762 * math/libm-test.inc: Add drem and pow10 to list of tested
19764 (pow10_test): New function.
19765 (drem_test): Likewise.
19766 (drem_test_tonearest): Likewise.
19767 (drem_test_towardzero): Likewise.
19768 (drem_test_downward): Likewise.
19769 (drem_test_upward): Likewise.
19770 (main): Call the new functions.
19772 * math/libm-test.inc (finite_test_data): Remove.
19773 (finite_test): Run tests from isfinite_test_data.
19774 (gamma_test_data): Remove.
19775 (gamma_test): Run tests from lgamma_test_data.
19776 * sysdeps/i386/fpu/libm-test-ulps: Update.
19777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19779 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19781 * manual/platform.texi: Add PowerPC PPR function set documentation.
19782 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19785 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19787 * math/libm-test.inc (MAX_EXP): Define.
19789 (ulp): New function.
19790 (check_float_internal): Use ULPDIFF.
19791 (cpow_test): Disable failing test.
19792 (check_ulp): Test ulp() implemetnation.
19793 (main): Call check_ulp before starting tests.
19795 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19797 * math/gen-libm-test.pl (generate_testfile): Do not handle
19798 START_DATA and END_DATA.
19799 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19801 (acos_tonearest_test_data): Likewise.
19802 (acos_towardzero_test_data): Likewise.
19803 (acos_downward_test_data): Likewise.
19804 (acos_upward_test_data): Likewise.
19805 (acosh_test_data): Likewise.
19806 (asin_test_data): Likewise.
19807 (asin_tonearest_test_data): Likewise.
19808 (asin_towardzero_test_data): Likewise.
19809 (asin_downward_test_data): Likewise.
19810 (asin_upward_test_data): Likewise.
19811 (asinh_test_data): Likewise.
19812 (atan_test_data): Likewise.
19813 (atanh_test_data): Likewise.
19814 (atan2_test_data): Likewise.
19815 (cabs_test_data): Likewise.
19816 (cacos_test_data): Likewise.
19817 (cacosh_test_data): Likewise.
19818 (carg_test_data): Likewise.
19819 (casin_test_data): Likewise.
19820 (casinh_test_data): Likewise.
19821 (catan_test_data): Likewise.
19822 (catanh_test_data): Likewise.
19823 (cbrt_test_data): Likewise.
19824 (ccos_test_data): Likewise.
19825 (ccosh_test_data): Likewise.
19826 (ceil_test_data): Likewise.
19827 (cexp_test_data): Likewise.
19828 (cimag_test_data): Likewise.
19829 (clog_test_data): Likewise.
19830 (clog10_test_data): Likewise.
19831 (conj_test_data): Likewise.
19832 (copysign_test_data): Likewise.
19833 (cos_test_data): Likewise.
19834 (cos_tonearest_test_data): Likewise.
19835 (cos_towardzero_test_data): Likewise.
19836 (cos_downward_test_data): Likewise.
19837 (cos_upward_test_data): Likewise.
19838 (cosh_test_data): Likewise.
19839 (cosh_tonearest_test_data): Likewise.
19840 (cosh_towardzero_test_data): Likewise.
19841 (cosh_downward_test_data): Likewise.
19842 (cosh_upward_test_data): Likewise.
19843 (cpow_test_data): Likewise.
19844 (cproj_test_data): Likewise.
19845 (creal_test_data): Likewise.
19846 (csin_test_data): Likewise.
19847 (csinh_test_data): Likewise.
19848 (csqrt_test_data): Likewise.
19849 (ctan_test_data): Likewise.
19850 (ctan_tonearest_test_data): Likewise.
19851 (ctan_towardzero_test_data): Likewise.
19852 (ctan_downward_test_data): Likewise.
19853 (ctan_upward_test_data): Likewise.
19854 (ctanh_test_data): Likewise.
19855 (ctanh_tonearest_test_data): Likewise.
19856 (ctanh_towardzero_test_data): Likewise.
19857 (ctanh_downward_test_data): Likewise.
19858 (ctanh_upward_test_data): Likewise.
19859 (erf_test_data): Likewise.
19860 (erfc_test_data): Likewise.
19861 (exp_test_data): Likewise.
19862 (exp_tonearest_test_data): Likewise.
19863 (exp_towardzero_test_data): Likewise.
19864 (exp_downward_test_data): Likewise.
19865 (exp_upward_test_data): Likewise.
19866 (exp10_test_data): Likewise.
19867 (exp2_test_data): Likewise.
19868 (expm1_test_data): Likewise.
19869 (fabs_test_data): Likewise.
19870 (fdim_test_data): Likewise.
19871 (finite_test_data): Likewise.
19872 (floor_test_data): Likewise.
19873 (fma_test_data): Likewise.
19874 (fma_towardzero_test_data): Likewise.
19875 (fma_downward_test_data): Likewise.
19876 (fma_upward_test_data): Likewise.
19877 (fmax_test_data): Likewise.
19878 (fmin_test_data): Likewise.
19879 (fmod_test_data): Likewise.
19880 (fpclassify_test_data): Likewise.
19881 (frexp_test_data): Likewise.
19882 (gamma_test_data): Likewise.
19883 (hypot_test_data): Likewise.
19884 (ilogb_test_data): Likewise.
19885 (isfinite_test_data): Likewise.
19886 (isgreater_test_data): Likewise.
19887 (isgreaterequal_test_data): Likewise.
19888 (isinf_test_data): Likewise.
19889 (isless_test_data): Likewise.
19890 (islessequal_test_data): Likewise.
19891 (islessgreater_test_data): Likewise.
19892 (isnan_test_data): Likewise.
19893 (isnormal_test_data): Likewise.
19894 (issignaling_test_data): Likewise.
19895 (isunordered_test_data): Likewise.
19896 (j0_test_data): Likewise.
19897 (j1_test_data): Likewise.
19898 (jn_test_data): Likewise.
19899 (ldexp_test_data): Likewise.
19900 (lgamma_test_data): Likewise.
19901 (lrint_test_data): Likewise.
19902 (lrint_tonearest_test_data): Likewise.
19903 (lrint_towardzero_test_data): Likewise.
19904 (lrint_downward_test_data): Likewise.
19905 (lrint_upward_test_data): Likewise.
19906 (llrint_test_data): Likewise.
19907 (llrint_tonearest_test_data): Likewise.
19908 (llrint_towardzero_test_data): Likewise.
19909 (llrint_downward_test_data): Likewise.
19910 (llrint_upward_test_data): Likewise.
19911 (log_test_data): Likewise.
19912 (log10_test_data): Likewise.
19913 (log1p_test_data): Likewise.
19914 (log2_test_data): Likewise.
19915 (logb_test_data): Likewise.
19916 (logb_downward_test_data): Likewise.
19917 (lround_test_data): Likewise.
19918 (llround_test_data): Likewise.
19919 (modf_test_data): Likewise.
19920 (nearbyint_test_data): Likewise.
19921 (nextafter_test_data): Likewise.
19922 (nexttoward_test_data): Likewise.
19923 (pow_test_data): Likewise.
19924 (pow_tonearest_test_data): Likewise.
19925 (pow_towardzero_test_data): Likewise.
19926 (pow_downward_test_data): Likewise.
19927 (pow_upward_test_data): Likewise.
19928 (remainder_test_data): Likewise.
19929 (remainder_tonearest_test_data): Likewise.
19930 (remainder_towardzero_test_data): Likewise.
19931 (remainder_downward_test_data): Likewise.
19932 (remainder_upward_test_data): Likewise.
19933 (remquo_test_data): Likewise.
19934 (rint_test_data): Likewise.
19935 (rint_tonearest_test_data): Likewise.
19936 (rint_towardzero_test_data): Likewise.
19937 (rint_downward_test_data): Likewise.
19938 (rint_upward_test_data): Likewise.
19939 (round_test_data): Likewise.
19940 (scalb_test_data): Likewise.
19941 (scalbn_test_data): Likewise.
19942 (scalbln_test_data): Likewise.
19943 (signbit_test_data): Likewise.
19944 (sin_test_data): Likewise.
19945 (sin_tonearest_test_data): Likewise.
19946 (sin_towardzero_test_data): Likewise.
19947 (sin_downward_test_data): Likewise.
19948 (sin_upward_test_data): Likewise.
19949 (sincos_test_data): Likewise.
19950 (sinh_test_data): Likewise.
19951 (sinh_tonearest_test_data): Likewise.
19952 (sinh_towardzero_test_data): Likewise.
19953 (sinh_downward_test_data): Likewise.
19954 (sinh_upward_test_data): Likewise.
19955 (sqrt_test_data): Likewise.
19956 (tan_test_data): Likewise.
19957 (tan_tonearest_test_data): Likewise.
19958 (tan_towardzero_test_data): Likewise.
19959 (tan_downward_test_data): Likewise.
19960 (tan_upward_test_data): Likewise.
19961 (tanh_test_data): Likewise.
19962 (tgamma_test_data): Likewise.
19963 (trunc_test_data): Likewise.
19964 (y0_test_data): Likewise.
19965 (y1_test_data): Likewise.
19966 (yn_test_data): Likewise.
19967 (significand_test_data): Likewise.
19969 * math/gen-libm-test.pl (@functions): Remove variable.
19970 (generate_testfile): Don't handle START and END lines.
19971 * math/libm-test.inc (START): New macro.
19973 (END_COMPLEX): Likewise.
19974 (acos_test): Use END macro without arguments.
19975 (acos_test_tonearest): Likewise.
19976 (acos_test_towardzero): Likewise.
19977 (acos_test_downward): Likewise.
19978 (acos_test_upward): Likewise.
19979 (acosh_test): Likewise.
19980 (asin_test): Likewise.
19981 (asin_test_tonearest): Likewise.
19982 (asin_test_towardzero): Likewise.
19983 (asin_test_downward): Likewise.
19984 (asin_test_upward): Likewise.
19985 (asinh_test): Likewise.
19986 (atan_test): Likewise.
19987 (atanh_test): Likewise.
19988 (atan2_test): Likewise.
19989 (cabs_test): Likewise.
19990 (cacos_test): Use END_COMPLEX macro without arguments.
19991 (cacosh_test): Likewise.
19992 (carg_test): Use END macro without arguments.
19993 (casin_test): Use END_COMPLEX macro without arguments.
19994 (casinh_test): Likewise.
19995 (catan_test): Likewise.
19996 (catanh_test): Likewise.
19997 (cbrt_test): Use END macro without arguments.
19998 (ccos_test): Use END_COMPLEX macro without arguments.
19999 (ccosh_test): Likewise.
20000 (ceil_test): Use END macro without arguments.
20001 (cexp_test): Use END_COMPLEX macro without arguments.
20002 (cimag_test): Use END macro without arguments.
20003 (clog_test): Use END_COMPLEX macro without arguments.
20004 (clog10_test): Likewise.
20005 (conj_test): Likewise.
20006 (copysign_test): Use END macro without arguments.
20007 (cos_test): Likewise.
20008 (cos_test_tonearest): Likewise.
20009 (cos_test_towardzero): Likewise.
20010 (cos_test_downward): Likewise.
20011 (cos_test_upward): Likewise.
20012 (cosh_test): Likewise.
20013 (cosh_test_tonearest): Likewise.
20014 (cosh_test_towardzero): Likewise.
20015 (cosh_test_downward): Likewise.
20016 (cosh_test_upward): Likewise.
20017 (cpow_test): Use END_COMPLEX macro without arguments.
20018 (cproj_test): Likewise.
20019 (creal_test): Use END macro without arguments.
20020 (csin_test): Use END_COMPLEX macro without arguments.
20021 (csinh_test): Likewise.
20022 (csqrt_test): Likewise.
20023 (ctan_test): Likewise.
20024 (ctan_test_tonearest): Likewise.
20025 (ctan_test_towardzero): Likewise.
20026 (ctan_test_downward): Likewise.
20027 (ctan_test_upward): Likewise.
20028 (ctanh_test): Likewise.
20029 (ctanh_test_tonearest): Likewise.
20030 (ctanh_test_towardzero): Likewise.
20031 (ctanh_test_downward): Likewise.
20032 (ctanh_test_upward): Likewise.
20033 (erf_test): Use END macro without arguments.
20034 (erfc_test): Likewise.
20035 (exp_test): Likewise.
20036 (exp_test_tonearest): Likewise.
20037 (exp_test_towardzero): Likewise.
20038 (exp_test_downward): Likewise.
20039 (exp_test_upward): Likewise.
20040 (exp10_test): Likewise.
20041 (exp2_test): Likewise.
20042 (expm1_test): Likewise.
20043 (fabs_test): Likewise.
20044 (fdim_test): Likewise.
20045 (finite_test): Likewise.
20046 (floor_test): Likewise.
20047 (fma_test): Likewise.
20048 (fma_test_towardzero): Likewise.
20049 (fma_test_downward): Likewise.
20050 (fma_test_upward): Likewise.
20051 (fmax_test): Likewise.
20052 (fmin_test): Likewise.
20053 (fmod_test): Likewise.
20054 (fpclassify_test): Likewise.
20055 (frexp_test): Likewise.
20056 (gamma_test): Likewise.
20057 (hypot_test): Likewise.
20058 (ilogb_test): Likewise.
20059 (isfinite_test): Likewise.
20060 (isgreater_test): Likewise.
20061 (isgreaterequal_test): Likewise.
20062 (isinf_test): Likewise.
20063 (isless_test): Likewise.
20064 (islessequal_test): Likewise.
20065 (islessgreater_test): Likewise.
20066 (isnan_test): Likewise.
20067 (isnormal_test): Likewise.
20068 (issignaling_test): Likewise.
20069 (isunordered_test): Likewise.
20070 (j0_test): Likewise.
20071 (j1_test): Likewise.
20072 (jn_test): Likewise.
20073 (ldexp_test): Likewise.
20074 (lgamma_test): Likewise.
20075 (lrint_test): Likewise.
20076 (lrint_test_tonearest): Likewise.
20077 (lrint_test_towardzero): Likewise.
20078 (lrint_test_downward): Likewise.
20079 (lrint_test_upward): Likewise.
20080 (llrint_test): Likewise.
20081 (llrint_test_tonearest): Likewise.
20082 (llrint_test_towardzero): Likewise.
20083 (llrint_test_downward): Likewise.
20084 (llrint_test_upward): Likewise.
20085 (log_test): Likewise.
20086 (log10_test): Likewise.
20087 (log1p_test): Likewise.
20088 (log2_test): Likewise.
20089 (logb_test): Likewise.
20090 (logb_test_downward): Likewise.
20091 (lround_test): Likewise.
20092 (llround_test): Likewise.
20093 (modf_test): Likewise.
20094 (nearbyint_test): Likewise.
20095 (nextafter_test): Likewise.
20096 (nexttoward_test): Likewise.
20097 (pow_test): Likewise.
20098 (pow_test_tonearest): Likewise.
20099 (pow_test_towardzero): Likewise.
20100 (pow_test_downward): Likewise.
20101 (pow_test_upward): Likewise.
20102 (remainder_test): Likewise.
20103 (remainder_test_tonearest): Likewise.
20104 (remainder_test_towardzero): Likewise.
20105 (remainder_test_downward): Likewise.
20106 (remainder_test_upward): Likewise.
20107 (remquo_test): Likewise.
20108 (rint_test): Likewise.
20109 (rint_test_tonearest): Likewise.
20110 (rint_test_towardzero): Likewise.
20111 (rint_test_downward): Likewise.
20112 (rint_test_upward): Likewise.
20113 (round_test): Likewise.
20114 (scalb_test): Likewise.
20115 (scalbn_test): Likewise.
20116 (scalbln_test): Likewise.
20117 (signbit_test): Likewise.
20118 (sin_test): Likewise.
20119 (sin_test_tonearest): Likewise.
20120 (sin_test_towardzero): Likewise.
20121 (sin_test_downward): Likewise.
20122 (sin_test_upward): Likewise.
20123 (sincos_test): Likewise.
20124 (sinh_test): Likewise.
20125 (sinh_test_tonearest): Likewise.
20126 (sinh_test_towardzero): Likewise.
20127 (sinh_test_downward): Likewise.
20128 (sinh_test_upward): Likewise.
20129 (sqrt_test): Likewise.
20130 (tan_test): Likewise.
20131 (tan_test_tonearest): Likewise.
20132 (tan_test_towardzero): Likewise.
20133 (tan_test_downward): Likewise.
20134 (tan_test_upward): Likewise.
20135 (tanh_test): Likewise.
20136 (tgamma_test): Likewise.
20137 (trunc_test): Likewise.
20138 (y0_test): Likewise.
20139 (y1_test): Likewise.
20140 (yn_test): Likewise.
20141 (significand_test): Likewise.
20143 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20146 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20148 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20151 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20152 __ppc_mdoio and __ppc_mdoom.
20153 * manual/platform.texi: Document new functions __ppc_yield,
20154 __ppc_mdoio and __ppc_mdoom.
20156 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20158 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20159 (main): Mention "tls" pseudo-hwcap is legacy.
20160 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20162 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20164 * math/gen-libm-test.pl (parse_args): Output only string of
20165 arguments as text for test name, not full call or descriptions of
20166 tests for extra outputs.
20167 (generate_testfile): Do not pass function name to parse_args.
20168 Generate this_func variable from START.
20169 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20171 (struct test_ff_f_data): Likewise.
20172 (test_ff_f_data_nexttoward): Likewise.
20173 (struct test_fi_f_data): Likewise.
20174 (struct test_fl_f_data): Likewise.
20175 (struct test_if_f_data): Likewise.
20176 (struct test_fff_f_data): Likewise.
20177 (struct test_c_f_data): Likewise.
20178 (struct test_f_f1_data): Likewise. Remove field extra_name.
20179 (struct test_fF_f1_data): Likewise.
20180 (struct test_ffI_f1_data): Likewise.
20181 (struct test_c_c_data): Rename test_name field to arg_str.
20182 (struct test_cc_c_data): Likewise.
20183 (struct test_f_i_data): Likewise.
20184 (struct test_ff_i_data): Likewise.
20185 (struct test_f_l_data): Likewise.
20186 (struct test_f_L_data): Likewise.
20187 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20189 (COMMON_TEST_SETUP): New macro.
20190 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20191 (COMMON_TEST_CLEANUP): Likewise.
20192 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20193 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20195 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20196 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20198 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20199 (RUN_TEST_fff_f): Take argument string. Call new setup and
20201 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20202 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20204 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20205 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20207 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20208 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20210 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20211 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20213 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20214 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20216 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20217 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20219 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20220 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20222 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20223 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20225 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20226 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20228 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20229 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20231 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20232 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20234 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20235 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20237 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20238 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20240 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20241 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20243 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20244 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20246 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20248 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20250 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20251 to _sifields.sigfault.
20252 (si_addr_lsb): Define new macro.
20253 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20257 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20260 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20262 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20264 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20265 loading the domain.
20267 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20269 * math/gen-libm-test.pl (parse_args): Do not include expected
20270 result in test name.
20271 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20273 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20274 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20275 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20278 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20280 * benchtests/Makefile: Sort function entries.
20282 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20283 tanh, asinh, acosh, atanh.
20284 * benchtests/acos-inputs: New file.
20285 * benchtests/acosh-inputs: New file.
20286 * benchtests/asin-inputs: New file.
20287 * benchtests/asinh-inputs: New file.
20288 * benchtests/atanh-inputs: New file.
20289 * benchtests/cosh-inputs: New file.
20290 * benchtests/log-inputs: New file.
20291 * benchtests/sinh-inputs: New file.
20292 * benchtests/tanh-inputs: New file.
20294 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20297 * posix/tst-getaddrinfo4.c: New test.
20298 * posix/Makefile (tests): Add it.
20300 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20303 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20304 when no services were used.
20305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20306 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20308 2013-05-21 Andreas Schwab <schwab@suse.de>
20311 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20312 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20314 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20315 redundant variable declarations and reallocation of buffer when
20316 parsing as IPv6 address. Always set NSS status when called from
20317 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20318 buffer too small. Correct computation of needed size.
20319 * nss/Makefile (tests): Add test-digits-dots.
20320 * nss/test-digits-dots.c: New test.
20322 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20324 * benchtests/Makefile: Remove instructions for adding
20326 * benchtests/README: New file to explain how to execute and
20327 enhance the benchmark tests.
20329 2013-05-21 Andreas Schwab <schwab@suse.de>
20332 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20333 * setjmp/tst-sigsetjmp.c: New test.
20335 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20337 * sysdeps/x86_64/memset.S (memset): New implementation.
20338 (__bzero): Likewise.
20339 (__memset_tail): New function.
20341 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20343 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20344 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20345 __memcpy_sse2_unaligned ifunc selection.
20346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20347 Add memcpy-sse2-unaligned.S.
20348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20349 Add: __memcpy_sse2_unaligned.
20351 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20354 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20355 math_force_eval before restoring floating-point envrionment.
20356 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20359 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20361 (__nearbyintl): Use math_force_eval before restoring
20362 floating-point environment.
20363 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20365 * math/gen-libm-test.pl (special_functions): Remove.
20366 (parse_args): Don't handle TEST_extra. Handle functions with no
20368 * math/libm-test.inc (struct test_sincos_data): Replace with
20369 struct test_fFF_11_data.
20370 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20371 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20372 (sincos_test_data): Change element type to struct
20373 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20374 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20375 RUN_TEST_LOOP_sincos.
20376 * math/README.libm-test: Don't mention special handling of
20377 individual functions.
20378 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20379 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20380 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20381 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20382 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20385 * math/gen-libm-test.pl (get_variable): Remove function.
20386 (parse_args): Don't show pointer parameters to call in test
20387 names. Use "extra output N" in test names for extra outputs
20388 rather than naming variables.
20390 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20393 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20394 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20395 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20397 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20399 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20402 * math/gen-libm-test.pl (@tests): Remove variable.
20403 ($count): Likewise.
20404 (new_test): Remove function.
20405 (show_exceptions): New function.
20406 (special_functions): Use show_exceptions instead of new_test.
20407 (parse_args): Likewise.
20408 (generate_testfile): Pass only function name in generated call to
20409 print_max_error or print_complex_max_error.
20410 (get_ulps): Do not handle complex tests specially.
20411 (output_test): Rename to ...
20412 (get_all_ulps_for_test): ... this. Return a string rather than
20413 printing to a file. Require ulps to be present.
20414 (output_ulps): Generate arrays rather than #defines.
20415 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20416 (struct ulp_data): New type.
20417 (BUILD_COMPLEX_ULP): Remove macro.
20418 (compare_ulp_data): New function.
20419 (find_ulps): Likewise.
20420 (find_test_ulps): Likewise.
20421 (find_function_ulps): Likewise.
20422 (find_complex_function_ulps): Likewise.
20423 (print_max_error): Determine allowed ulps using
20424 find_function_ulps.
20425 (print_complex_max_error): Determine allowed ulps using
20426 find_complex_function_ulps.
20427 (check_float_internal): Determine max ulps using find_test_ulps.
20428 (check_float): Do not take max_ulp parameter. Update call to
20429 check_float_internal.
20430 (check_complex): Likewise.
20431 (check_int): Do not take max_ulp parameter.
20432 (check_long): Likewise.
20433 (check_bool): Likewise.
20434 (check_longlong): Likewise.
20435 (struct test_f_f_data): Remove max_ulp field.
20436 (struct test_ff_f_data): Likewise.
20437 (struct test_ff_f_data_nexttoward): Likewise.
20438 (struct test_fi_f_data): Likewise.
20439 (struct test_fl_f_data): Likewise.
20440 (struct test_if_f_data): Likewise.
20441 (struct test_fff_f_data): Likewise.
20442 (struct test_c_f_data): Likewise.
20443 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20444 (struct test_fF_f1_data): Likewise.
20445 (struct test_ffI_f1_data): Likewise.
20446 (struct test_c_c_data): Remove max_ulp field.
20447 (struct test_cc_c_data): Likewise.
20448 (struct test_f_i_data): Likewise.
20449 (struct test_ff_i_data): Likewise.
20450 (struct test_f_l_data): Likewise.
20451 (struct test_f_L_data): Likewise.
20452 (struct test_sincos_data): Likewise.
20453 (RUN_TEST_f_f): Do not handle ulps.
20454 (RUN_TEST_LOOP_f_f): Likewise.
20455 (RUN_TEST_2_f): Likewise.
20456 (RUN_TEST_LOOP_2_f): Likewise.
20457 (RUN_TEST_fff_f): Likewise.
20458 (RUN_TEST_LOOP_fff_f): Likewise.
20459 (RUN_TEST_c_f): Likewise.
20460 (RUN_TEST_LOOP_c_f): Likewise.
20461 (RUN_TEST_f_f1): Likewise.
20462 (RUN_TEST_LOOP_f_f1): Likewise.
20463 (RUN_TEST_fF_f1): Likewise.
20464 (RUN_TEST_LOOP_fF_f1): Likewise.
20465 (RUN_TEST_fI_f1): Likewise.
20466 (RUN_TEST_LOOP_fI_f1): Likewise.
20467 (RUN_TEST_ffI_f1): Likewise.
20468 (RUN_TEST_LOOP_ffI_f1): Likewise.
20469 (RUN_TEST_c_c): Likewise.
20470 (RUN_TEST_LOOP_c_c): Likewise.
20471 (RUN_TEST_cc_c): Likewise.
20472 (RUN_TEST_LOOP_cc_c): Likewise.
20473 (RUN_TEST_f_i): Likewise.
20474 (RUN_TEST_LOOP_f_i): Likewise.
20475 (RUN_TEST_f_i_tg): Likewise.
20476 (RUN_TEST_LOOP_f_i_tg): Likewise.
20477 (RUN_TEST_ff_i_tg): Likewise.
20478 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20479 (RUN_TEST_f_b): Likewise.
20480 (RUN_TEST_LOOP_f_b): Likewise.
20481 (RUN_TEST_f_b_tg): Likewise.
20482 (RUN_TEST_LOOP_f_b_tg): Likewise.
20483 (RUN_TEST_f_l): Likewise.
20484 (RUN_TEST_LOOP_f_l): Likewise.
20485 (RUN_TEST_f_L): Likewise.
20486 (RUN_TEST_LOOP_f_L): Likewise.
20487 (RUN_TEST_sincos): Likewise.
20488 (RUN_TEST_LOOP_sincos): Likewise.
20490 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20494 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20495 main case of finite arguments, set rounding mode to FE_TONEAREST
20496 and discard exceptions.
20497 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20499 (remainder_tonearest_test_data): New variable.
20500 (remainder_test_tonearest): New function.
20501 (remainder_towardzero_test_data): New variable.
20502 (remainder_test_towardzero): New function.
20503 (remainder_downward_test_data): New variable.
20504 (remainder_test_downward): New function.
20505 (remainder_upward_test_data): New variable.
20506 (remainder_test_upward): New function.
20507 (main): Call the new test functions.
20509 * math/libm-test.inc (struct test_f_f1_data): Remove field
20511 (struct test_fF_f1_data): Likewise.
20512 (struct test_ffI_f1_data): Likewise.
20513 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20514 based on value of EXTRA_EXPECTED.
20515 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20516 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20517 EXTRA_VAR based on value of EXTRA_EXPECTED.
20518 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20519 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20520 EXTRA_VAR based on value of EXTRA_EXPECTED.
20521 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20522 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20523 EXTRA_VAR based on value of EXTRA_EXPECTED.
20524 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20525 * math/gen-libm-test.pl (parse_args): Don't output initializers
20526 for extra output values.
20528 * math/libm-test.inc (check_int): Expect result to be exactly
20529 equal to expected value and do not handle ulps.
20530 (check_long): Likewise.
20531 (check_longlong): Likewise.
20533 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20535 (cimag_test_data): Likewise.
20536 (conj_test_data): Likewise.
20537 (copysign_test_data): Likewise.
20538 (cproj_test_data): Likewise.
20539 (creal_test_data): Likewise.
20540 (fabs_test_data): Likewise.
20541 (fdim_test_data): Likewise.
20542 (finite_test_data): Likewise.
20543 (floor_test_data): Likewise.
20544 (fmax_test_data): Likewise.
20545 (fmin_test_data): Likewise.
20546 (fmod_test_data): Likewise.
20547 (fpclassify_test_data): Likewise.
20548 (frexp_test_data): Likewise.
20549 (ilogb_test_data): Likewise.
20550 (isfinite_test_data): Likewise.
20551 (isgreater_test_data): Likewise.
20552 (isgreaterequal_test_data): Likewise.
20553 (isinf_test_data): Likewise.
20554 (isless_test_data): Likewise.
20555 (islessequal_test_data): Likewise.
20556 (islessgreater_test_data): Likewise.
20557 (isnan_test_data): Likewise.
20558 (isnormal_test_data): Likewise.
20559 (issignaling_test_data): Likewise.
20560 (isunordered_test_data): Likewise.
20561 (ldexp_test_data): Likewise.
20562 (lrint_test_data): Likewise.
20563 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20564 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20565 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20566 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20567 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20568 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20570 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20571 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20572 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20573 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20575 (lrint_downward_test_data): Test for "inexact" exceptions.
20576 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20577 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20578 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20580 (lrint_upward_test_data): Test for "inexact" exceptions.
20581 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20583 (llrint_test_data): Test for "inexact" exceptions.
20584 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20585 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20586 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20587 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20588 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20589 (llrint_downward_test_data): Test for "inexact" exceptions.
20590 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20591 (llrint_upward_test_data): Test for "inexact" exceptions.
20592 (logb_test_data): Likewise.
20593 (logb_downward_test_data): Likewise.
20594 (nextafter_test_data): Likewise.
20595 (nexttoward_test_data): Likewise.
20596 (remainder_test_data): Likewise.
20597 (remquo_test_data): Likewise.
20598 (scalbn_test_data): Likewise.
20599 (scalbln_test_data): Likewise.
20600 (signbit_test_data): Likewise.
20601 (sqrt_test_data): Likewise.
20602 (significand_test_data): Likewise.
20604 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20607 * benchtests/bench-modf.c (struct args): Mark arg0 as
20609 * scripts/bench.pl: Mark members of struct args as volatile.
20611 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20614 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20615 negative infinity on POWER6 or lower.
20616 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20618 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20621 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20622 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20623 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20624 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20625 (_FP_SETQNAN): New macro.
20626 (_FP_SETQNAN_SEMIRAW): Likewise.
20627 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20628 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20629 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20630 (FP_EXTEND): Use _FP_FRAC_SNANP.
20631 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20632 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20634 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20636 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20639 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20641 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20642 with DIVIDE_BY_ZERO_EXCEPTION.
20643 (gamma_test_data): Likewise.
20644 (lgamma_test_data): Likewise.
20645 (log_test_data): Likewise.
20646 (log10_test_data): Likewise.
20647 (log2_test_data): Likewise.
20648 (tgamma_test_data): Likewise.
20650 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20651 (acos_test_tonearest): Likewise.
20652 (acos_test_towardzero): Likewise.
20653 (acos_test_downward): Likewise.
20654 (acos_test_upward): Likewise.
20655 (acosh_test): Likewise.
20656 (asin_test): Likewise.
20657 (asin_test_tonearest): Likewise.
20658 (asin_test_towardzero): Likewise.
20659 (asin_test_downward): Likewise.
20660 (asin_test_upward): Likewise.
20661 (asinh_test): Likewise.
20662 (atan_test): Likewise.
20663 (atanh_test): Likewise.
20664 (atan2_test): Likewise.
20665 (cabs_test): Likewise.
20666 (cacos_test): Likewise.
20667 (cacosh_test): Likewise.
20668 (casin_test): Likewise.
20669 (casinh_test): Likewise.
20670 (catan_test): Likewise.
20671 (catanh_test): Likewise.
20672 (cbrt_test): Likewise.
20673 (ccos_test): Likewise.
20674 (ccosh_test): Likewise.
20675 (cexp_test): Likewise.
20676 (clog_test): Likewise.
20677 (clog10_test): Likewise.
20678 (cos_test): Likewise.
20679 (cos_test_tonearest): Likewise.
20680 (cos_test_towardzero): Likewise.
20681 (cos_test_downward): Likewise.
20682 (cos_test_upward): Likewise.
20683 (cosh_test): Likewise.
20684 (cosh_test_tonearest): Likewise.
20685 (cosh_test_towardzero): Likewise.
20686 (cosh_test_downward): Likewise.
20687 (cosh_test_upward): Likewise.
20688 (cpow_test): Likewise.
20689 (csin_test): Likewise.
20690 (csinh_test): Likewise.
20691 (csqrt_test): Likewise.
20692 (ctan_test): Likewise.
20693 (ctan_test_tonearest): Likewise.
20694 (ctan_test_towardzero): Likewise.
20695 (ctan_test_downward): Likewise.
20696 (ctan_test_upward): Likewise.
20697 (ctanh_test): Likewise.
20698 (ctanh_test_tonearest): Likewise.
20699 (ctanh_test_towardzero): Likewise.
20700 (ctanh_test_downward): Likewise.
20701 (ctanh_test_upward): Likewise.
20702 (erf_test): Likewise.
20703 (erfc_test): Likewise.
20704 (exp_test): Likewise.
20705 (exp_test_tonearest): Likewise.
20706 (exp_test_towardzero): Likewise.
20707 (exp_test_downward): Likewise.
20708 (exp_test_upward): Likewise.
20709 (exp10_test): Likewise.
20710 (exp2_test): Likewise.
20711 (expm1_test): Likewise.
20712 (fmod_test): Likewise.
20713 (gamma_test): Likewise.
20714 (hypot_test): Likewise.
20715 (j0_test): Likewise.
20716 (j1_test): Likewise.
20717 (jn_test): Likewise.
20718 (lgamma_test): Likewise.
20719 (log_test): Likewise.
20720 (log10_test): Likewise.
20721 (log1p_test): Likewise.
20722 (log2_test): Likewise.
20723 (logb_test_downward): Likewise.
20724 (pow_test): Likewise.
20725 (pow_test_tonearest): Likewise.
20726 (pow_test_towardzero): Likewise.
20727 (pow_test_downward): Likewise.
20728 (pow_test_upward): Likewise.
20729 (remainder_test): Likewise.
20730 (remquo_test): Likewise.
20731 (sin_test): Likewise.
20732 (sin_test_tonearest): Likewise.
20733 (sin_test_towardzero): Likewise.
20734 (sin_test_downward): Likewise.
20735 (sin_test_upward): Likewise.
20736 (sincos_test): Likewise.
20737 (sinh_test): Likewise.
20738 (sinh_test_tonearest): Likewise.
20739 (sinh_test_towardzero): Likewise.
20740 (sinh_test_downward): Likewise.
20741 (sinh_test_upward): Likewise.
20742 (sqrt_test): Likewise.
20743 (tan_test): Likewise.
20744 (tan_test_tonearest): Likewise.
20745 (tan_test_towardzero): Likewise.
20746 (tan_test_downward): Likewise.
20747 (tan_test_upward): Likewise.
20748 (tanh_test): Likewise.
20749 (tgamma_test): Likewise.
20750 (y0_test): Likewise.
20751 (y1_test): Likewise.
20752 (yn_test): Likewise.
20754 * math/gen-libm-test.pl (adjust_arg): Remove function.
20755 (special_function): Remove argument $in_func. Only handle
20756 generating output for tables of tests, not inside functions.
20757 (parse_args): Likewise.
20758 (generate_testfile): Remove variable $in_func. Update call to
20760 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20761 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20762 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20763 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20764 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20765 (MAX_VALUE_INIT): Rename macro to max_value.
20766 (MIN_VALUE_INIT): Rename macro to min_value.
20767 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20768 (plus_zero): Remove variable.
20769 (minus_zero): Likewise.
20770 (plus_infty): Likewise.
20771 (minus_infty): Likewise.
20772 (qnan_value): Likewise.
20773 (max_value): Likewise.
20774 (min_value): Likewise.
20775 (min_subnorm_value): Likewise.
20777 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20779 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20780 uint64_t or uint32_t usage.
20781 * crypt/sha256-block.c: Likewise.
20782 * crypt/sha256-crypt.c: Likewise.
20783 * crypt/sha256.c: Likewise.
20784 * crypt/sha512-block.c: Likewise.
20785 * crypt/sha512-crypt.c: Likewise.
20786 * crypt/sha512.c: Likewise.
20787 * debug/backtrace-tst.c: Likewise.
20788 * debug/pcprofiledump.c: Likewise.
20789 * elf/cache.c: Likewise.
20790 * elf/dl-cache.c: Likewise.
20791 * elf/dl-misc.c: Likewise.
20792 * elf/dl-profile.c: Likewise.
20793 * elf/dl-support.c: Likewise.
20794 * elf/ldconfig.c: Likewise.
20795 * elf/sprof.c: Likewise.
20796 * iconv/dummy-repertoire.c: Likewise.
20797 * iconv/iconv_charmap.c: Likewise.
20798 * iconv/skeleton.c: Likewise.
20799 * iconvdata/8bit-generic.c: Likewise.
20800 * iconvdata/cp737.h: Likewise.
20801 * iconvdata/cp775.h: Likewise.
20802 * iconvdata/ibm1008.h: Likewise.
20803 * iconvdata/ibm1025.h: Likewise.
20804 * iconvdata/ibm1046.h: Likewise.
20805 * iconvdata/ibm1097.h: Likewise.
20806 * iconvdata/ibm1112.h: Likewise.
20807 * iconvdata/ibm1122.h: Likewise.
20808 * iconvdata/ibm1123.h: Likewise.
20809 * iconvdata/ibm1124.h: Likewise.
20810 * iconvdata/ibm1129.h: Likewise.
20811 * iconvdata/ibm1130.h: Likewise.
20812 * iconvdata/ibm1132.h: Likewise.
20813 * iconvdata/ibm1133.h: Likewise.
20814 * iconvdata/ibm1137.h: Likewise.
20815 * iconvdata/ibm1140.h: Likewise.
20816 * iconvdata/ibm1141.h: Likewise.
20817 * iconvdata/ibm1142.h: Likewise.
20818 * iconvdata/ibm1143.h: Likewise.
20819 * iconvdata/ibm1144.h: Likewise.
20820 * iconvdata/ibm1145.h: Likewise.
20821 * iconvdata/ibm1146.h: Likewise.
20822 * iconvdata/ibm1147.h: Likewise.
20823 * iconvdata/ibm1148.h: Likewise.
20824 * iconvdata/ibm1149.h: Likewise.
20825 * iconvdata/ibm1153.h: Likewise.
20826 * iconvdata/ibm1154.h: Likewise.
20827 * iconvdata/ibm1155.h: Likewise.
20828 * iconvdata/ibm1156.h: Likewise.
20829 * iconvdata/ibm1157.h: Likewise.
20830 * iconvdata/ibm1158.h: Likewise.
20831 * iconvdata/ibm1160.h: Likewise.
20832 * iconvdata/ibm1161.h: Likewise.
20833 * iconvdata/ibm1162.h: Likewise.
20834 * iconvdata/ibm1163.h: Likewise.
20835 * iconvdata/ibm1164.h: Likewise.
20836 * iconvdata/ibm1166.h: Likewise.
20837 * iconvdata/ibm1167.h: Likewise.
20838 * iconvdata/ibm12712.h: Likewise.
20839 * iconvdata/ibm1390.h: Likewise.
20840 * iconvdata/ibm1399.h: Likewise.
20841 * iconvdata/ibm16804.h: Likewise.
20842 * iconvdata/ibm4517.h: Likewise.
20843 * iconvdata/ibm4899.h: Likewise.
20844 * iconvdata/ibm4909.h: Likewise.
20845 * iconvdata/ibm4971.h: Likewise.
20846 * iconvdata/ibm5347.h: Likewise.
20847 * iconvdata/ibm803.h: Likewise.
20848 * iconvdata/ibm856.h: Likewise.
20849 * iconvdata/ibm901.h: Likewise.
20850 * iconvdata/ibm902.h: Likewise.
20851 * iconvdata/ibm9030.h: Likewise.
20852 * iconvdata/ibm9066.h: Likewise.
20853 * iconvdata/ibm921.h: Likewise.
20854 * iconvdata/ibm922.h: Likewise.
20855 * iconvdata/ibm9448.h: Likewise.
20856 * iconvdata/isiri-3342.h: Likewise.
20857 * iconvdata/jis0201.h: Likewise.
20858 * include/link.h: Likewise.
20859 * include/netdb.h: Likewise.
20860 * inet/check_native.c: Likewise.
20861 * inet/check_pf.c: Likewise.
20862 * inet/getipv4sourcefilter.c: Likewise.
20863 * inet/getnameinfo.c: Likewise.
20864 * inet/getsourcefilter.c: Likewise.
20865 * inet/htonl.c: Likewise.
20866 * inet/setipv4sourcefilter.c: Likewise.
20867 * inet/setsourcefilter.c: Likewise.
20868 * inet/test-inet6_opt.c: Likewise.
20869 * inet/tst-network.c: Likewise.
20870 * locale/C-collate.c: Likewise.
20871 * locale/C-ctype.c: Likewise.
20872 * locale/C-time.c: Likewise.
20873 * locale/C-translit.h: Likewise.
20874 * locale/loadarchive.c: Likewise.
20875 * locale/programs/3level.h: Likewise.
20876 * locale/programs/charmap.c: Likewise.
20877 * locale/programs/charmap.h: Likewise.
20878 * locale/programs/ld-address.c: Likewise.
20879 * locale/programs/ld-collate.c: Likewise.
20880 * locale/programs/ld-ctype.c: Likewise.
20881 * locale/programs/ld-identification.c: Likewise.
20882 * locale/programs/ld-measurement.c: Likewise.
20883 * locale/programs/ld-messages.c: Likewise.
20884 * locale/programs/ld-monetary.c: Likewise.
20885 * locale/programs/ld-name.c: Likewise.
20886 * locale/programs/ld-numeric.c: Likewise.
20887 * locale/programs/ld-paper.c: Likewise.
20888 * locale/programs/ld-telephone.c: Likewise.
20889 * locale/programs/ld-time.c: Likewise.
20890 * locale/programs/linereader.c: Likewise.
20891 * locale/programs/locale.c: Likewise.
20892 * locale/programs/locarchive.c: Likewise.
20893 * locale/programs/locfile.h: Likewise.
20894 * locale/programs/repertoire.c: Likewise.
20895 * locale/programs/simple-hash.c: Likewise.
20896 * locale/programs/simple-hash.h: Likewise.
20897 * malloc/memusage.c: Likewise.
20898 * malloc/memusagestat.c: Likewise.
20899 * nis/nis_defaults.c: Likewise.
20900 * nis/nis_hash.c: Likewise.
20901 * nis/nis_print.c: Likewise.
20902 * nis/nis_xdr.c: Likewise.
20903 * nscd/connections.c: Likewise.
20904 * nscd/hstcache.c: Likewise.
20905 * nscd/nscd_gethst_r.c: Likewise.
20906 * nscd/nscd_getserv_r.c: Likewise.
20907 * nscd/nscd_helper.c: Likewise.
20908 * nscd/servicescache.c: Likewise.
20909 * nss/makedb.c: Likewise.
20910 * nss/nss_db/db-XXX.c: Likewise.
20911 * nss/nss_db/db-initgroups.c: Likewise.
20912 * nss/nss_db/db-netgrp.c: Likewise.
20913 * nss/nss_files/files-network.c: Likewise.
20914 * nss/nss_files/files-parse.c: Likewise.
20915 * posix/bug-regex5.c: Likewise.
20916 * posix/fnmatch_loop.c: Likewise.
20917 * posix/regcomp.c: Likewise.
20918 * posix/regexec.c: Likewise.
20919 * posix/tst-rfc3484-2.c: Likewise.
20920 * posix/tst-rfc3484-3.c: Likewise.
20921 * posix/tst-rfc3484.c: Likewise.
20922 * resolv/nss_dns/dns-canon.c: Likewise.
20923 * resolv/nss_dns/dns-network.c: Likewise.
20924 * resolv/res_init.c: Likewise.
20925 * resolv/res_mkquery.c: Likewise.
20926 * resolv/tst-aton.c: Likewise.
20927 * stdlib/cxa_atexit.c: Likewise.
20928 * stdlib/cxa_finalize.c: Likewise.
20929 * stdlib/gen-fpioconst.c: Likewise.
20930 * stdlib/strtol_l.c: Likewise.
20931 * string/tst-endian.c: Likewise.
20932 * sunrpc/auth_des.c: Likewise.
20933 * sunrpc/clnt_udp.c: Likewise.
20934 * sunrpc/rtime.c: Likewise.
20935 * sunrpc/svcauth_des.c: Likewise.
20936 * sunrpc/xdr.c: Likewise.
20937 * sunrpc/xdr_intXX_t.c: Likewise.
20938 * sunrpc/xdr_rec.c: Likewise.
20939 * sysdeps/generic/ldconfig.h: Likewise.
20940 * sysdeps/generic/ldsodefs.h: Likewise.
20941 * sysdeps/generic/memusage.h: Likewise.
20942 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20945 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20952 * sysdeps/posix/getaddrinfo.c: Likewise.
20953 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20954 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20955 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20956 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20957 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20958 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20959 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20960 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20961 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20962 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20963 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20964 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20965 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20966 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20967 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20968 * sysdeps/x86_64/dl-tls.h: Likewise.
20969 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20970 * time/alt_digit.c: Likewise.
20971 * time/era.c: Likewise.
20972 * wcsmbs/tst-c16c32-1.c: Likewise.
20974 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20976 * math/libm-test.inc (struct test_sincos_data): New type.
20977 (RUN_TEST_LOOP_sincos): New macro.
20978 (sincos_test_data): New variable.
20979 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20981 2013-05-16 Richard Henderson <rth@redhat.com>
20983 * math/atest-exp2.c (LIMB64): New macro.
20984 (CONSTSZ): New macro.
20985 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20987 (print_mpn_fp): ... to function scope.
20988 (read_mpn_hex): Remove.
20989 (get_log2): Remove.
20990 (exp2_mpn): Use mp_log2.
20991 (main): Use mp_exp1.
20993 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20995 * math/libm-test.inc: Remove comment about not testing "inexact"
20997 (INEXACT_EXCEPTION): New macro.
20998 (NO_INEXACT_EXCEPTION): Likewise.
20999 (INVALID_EXCEPTION_OK): Update value.
21000 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21001 (OVERFLOW_EXCEPTION_OK): Likewise.
21002 (UNDERFLOW_EXCEPTION_OK): Likewise.
21003 (IGNORE_ZERO_INF_SIGN): Likewise.
21004 (ERRNO_UNCHANGED): Likewise.
21005 (ERRNO_EDOM): Likewise.
21006 (ERRNO_ERANGE): Likewise.
21007 (test_exceptions): Handle testing "inexact" exceptions.
21008 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21009 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21010 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21011 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21013 (rint_towardzero_test_data): Likewise.
21014 (rint_downward_test_data): Likewise.
21015 (rint_upward_test_data): Likewise.
21017 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21018 with OVERFLOW_EXCEPTION.
21019 (exp10_test_data): Likewise.
21020 (exp2_test_data): Likewise.
21021 (expm1_test_data): Likewise.
21022 (lgamma_test_data): Likewise.
21023 (pow_test_data): Likewise.
21024 (tgamma_test_data): Likewise.
21025 (yn_test_data): Remove duplicate test of overflow.
21027 * math/libm-test.inc (struct test_cc_c_data): New type.
21028 (RUN_TEST_LOOP_cc_c): New macro.
21029 (cpow_test_data): New variable.
21030 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21032 * math/libm-test.inc (struct test_f_L_data): New type.
21033 (RUN_TEST_LOOP_f_L): New macro.
21034 (llrint_test_data): New variable.
21035 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21036 (llrint_tonearest_test_data): New variable.
21037 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21038 (llrint_towardzero_test_data): New variable.
21039 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21040 (llrint_downward_test_data): New variable.
21041 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21042 (llrint_upward_test_data): New variable.
21043 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21044 (llround_test_data): New variable.
21045 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21047 2013-05-13 Peter Collingbourne <pcc@google.com>
21049 * math/atest-exp2.c (get_log2): Remove const attribute.
21051 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21053 * math/libm-test.inc (struct test_f_l_data): New type.
21054 (RUN_TEST_LOOP_f_l): New macro.
21055 (lrint_test_data): New variable.
21056 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21057 (lrint_tonearest_test_data): New variable.
21058 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21059 (lrint_towardzero_test_data): New variable.
21060 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21061 (lrint_downward_test_data): New variable.
21062 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21063 (lrint_upward_test_data): New variable.
21064 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21065 (lround_test_data): New variable.
21066 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21068 2013-05-15 Peter Collingbourne <pcc@google.com>
21070 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21071 (EXTRACT_WORDS64) Use where appropriate.
21072 (INSERT_WORDS64) Likewise.
21074 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21075 constraints with x constraints.
21076 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21078 * malloc/obstack.c (_obstack_compat): Add initializer.
21080 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21082 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21083 si_trapno and add si_addr_lsb to _sifields.sigfault.
21084 (si_trapno): Remove macro.
21085 (si_addr_lsb): Define new macro.
21086 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21088 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21090 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21091 instead of TEST_f_l.
21092 (llrint_test_tonearest): Likewise.
21093 (llrint_test_towardzero): Likewise.
21094 (llrint_test_downward): Likewise.
21095 (llrint_test_upward): Likewise.
21096 (llround_test): Likewise.
21098 * math/libm-test.inc (struct test_f_i_data): Add comment.
21099 (RUN_TEST_LOOP_f_b): New macro.
21100 (RUN_TEST_LOOP_f_b_tg): Likewise.
21101 (finite_test_data): New variable.
21102 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21103 (isfinite_test_data): New variable.
21104 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21105 (isinf_test_data): New variable.
21106 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21107 (isnan_test_data): New variable.
21108 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21109 (isnormal_test_data): New variable.
21110 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21111 (issignaling_test_data): New variable.
21112 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21113 (signbit_test_data): New variable.
21114 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21116 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21117 with INVALID_EXCEPTION.
21118 (acosh_test_data): Likewise.
21119 (asin_test_data): Likewise.
21120 (atanh_test_data): Likewise.
21121 (fmod_test_data): Likewise.
21122 (log_test_data): Likewise.
21123 (log10_test_data): Likewise.
21124 (log2_test_data): Likewise.
21125 (pow_test_data): Likewise.
21126 (sqrt_test_data): Likewise.
21127 (y0_test_data): Likewise.
21128 (y1_test_data): Likewise.
21129 (yn_test_data): Likewise.
21131 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21134 * math/libm-test.inc (struct test_ff_i_data): New type.
21135 (RUN_TEST_LOOP_ff_i_tg): New macro.
21136 (isgreater_test_data): New variable.
21137 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21138 (isgreaterequal_test_data): New variable.
21139 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21140 (isless_test_data): New variable.
21141 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21142 (islessequal_test_data): New variable.
21143 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21144 (islessgreater_test_data): New variable.
21145 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21146 (isunordered_test_data): New variable.
21147 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21149 2013-05-14 David S. Miller <davem@davemloft.net>
21151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21153 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21155 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21157 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21159 (struct test_f_i_data): Change type of max_ulp to int.
21161 * math/libm-test.inc (test_ffI_f1_data): New type.
21162 (RUN_TEST_LOOP_ffI_f1): New macro.
21163 (remquo_test_data): New variable.
21164 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21166 * setjmp/tst-setjmp-fp.c: New file.
21167 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21168 (link-libm): New variable.
21169 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21171 * math/libm-test.inc (struct test_f_i_data): New type.
21172 (RUN_TEST_LOOP_f_i): New macro.
21173 (RUN_TEST_LOOP_f_i_tg): Likewise.
21174 (fpclassify_test_data): New variable.
21175 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21176 (ilogb_test_data): New variable.
21177 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21179 * math/libm-test.inc (scalbln_test): Correct function name in END
21182 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21183 (RUN_TEST_LOOP_fI_f1): New macro.
21184 (frexp_test_data): New variable.
21185 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21187 * math/libm-test.inc (struct test_fF_f1_data): New type.
21188 (RUN_TEST_LOOP_fF_f1): New macro.
21189 (modf_test_data): New variable.
21190 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21192 * math/libm-test.inc (struct test_f_f1_data): New type.
21193 (RUN_TEST_LOOP_f_f1): New macro.
21194 (gamma_test_data): New variable.
21195 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21196 (lgamma_test_data): New variable.
21197 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21199 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21201 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21202 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21203 (main): Comment "tls" pseudo-hwcap.
21205 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21207 * math/libm-test.inc (struct test_fl_f_data): New type.
21208 (RUN_TEST_LOOP_fl_f): New variable.
21209 (scalbln_test_data): New variable.
21210 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21212 * math/libm-test.inc (struct test_fi_f_data): New type.
21213 (RUN_TEST_LOOP_fi_f): New macro.
21214 (ldexp_test_data): New variable.
21215 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21216 (scalbn_test_data): New variable.
21217 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21219 * math/libm-test.inc (struct test_c_f_data): New type.
21220 (RUN_TEST_LOOP_c_f): New macro.
21221 (cabs_test_data): New variable.
21222 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21223 (carg_test_data): New variable.
21224 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21225 (cimag_test_data): New variable.
21226 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21227 (creal_test_data): New variable.
21228 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21230 * math/libm-test.inc (struct test_if_f_data): New type.
21231 (RUN_TEST_LOOP_if_f): New macro.
21232 (jn_test_data): New variable.
21233 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21234 (yn_test_data): New variable.
21235 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21237 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21239 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21241 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21242 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21244 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21246 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21247 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21248 (bench-deps): Add bench-timing.h.
21249 * benchtests-bench-skeleton.c: Include bench-timing.h.
21250 (main): Use TIMING_* macros instead of clock_gettime.
21251 * benchtests/bench-timing.h: New file.
21254 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21255 Renamed from _LIB_VERSION.
21256 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21258 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21260 * math/libm-test.inc (struct test_fff_f_data): New type.
21261 (RUN_TEST_LOOP_fff_f): New macro.
21262 (fma_test_data): New variable.
21263 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21264 (fma_towardzero_test_data): New variable.
21265 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21266 (fma_downward_test_data): New variable.
21267 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21268 (fma_upward_test_data): New variable.
21269 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21271 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21272 (struct test_c_c_data): New type.
21273 (RUN_TEST_LOOP_c_c): New macro.
21274 (cacos_test_data): New variable.
21275 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21276 (cacosh_test_data): New variable.
21277 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21278 (casin_test_data): New variable.
21279 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21280 (casinh_test_data): New variable.
21281 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21282 (catan_test_data): New variable.
21283 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21284 (catanh_test_data): New variable.
21285 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21286 (ccos_test_data): New variable.
21287 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21288 (ccosh_test_data): New variable.
21289 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21290 (cexp_test_data): New variable.
21291 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21292 (clog_test_data): New variable.
21293 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21294 (clog10_test_data): New variable.
21295 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21296 (conj_test_data): New variable.
21297 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21298 (cproj_test_data): New variable.
21299 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21300 (csin_test_data): New variable.
21301 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21302 (csinh_test_data): New variable.
21303 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21304 (csqrt_test_data): New variable.
21305 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21306 (ctan_test_data): New variable.
21307 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21308 (ctan_tonearest_test_data): New variable.
21309 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21310 (ctan_towardzero_test_data): New variable.
21311 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21312 (ctan_downward_test_data): New variable.
21313 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21314 (ctan_upward_test_data): New variable.
21315 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21316 (ctanh_test_data): New variable.
21317 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21318 (ctanh_tonearest_test_data): New variable.
21319 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21320 (ctanh_towardzero_test_data): New variable.
21321 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21322 (ctanh_downward_test_data): New variable.
21323 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21324 (ctanh_upward_test_data): New variable.
21325 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21326 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21329 * math/libm-test.inc (struct test_ff_f_data): New type.
21330 (struct test_ff_f_data_nexttoward): Likewise.
21331 (RUN_TEST_LOOP_2_f): New macro.
21332 (RUN_TEST_LOOP_ff_f): Likewise.
21333 (atan2_test_data): New variable.
21334 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21335 (copysign_test_data): New variable.
21336 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21337 (fdim_test_data): New variable.
21338 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21339 (fmax_test_data): New variable.
21340 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21341 (fmin_test_data): New variable.
21342 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21343 (fmod_test_data): New variable.
21344 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21345 (hypot_test_data): New variable.
21346 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21347 (nextafter_test_data): New variable.
21348 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21349 (nexttoward_test_data): New variable.
21350 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21351 (pow_test_data): New variable.
21352 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21353 (pow_tonearest_test_data): New variable.
21354 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21355 (pow_towardzero_test_data): New variable.
21356 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21357 (pow_downward_test_data): New variable.
21358 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21359 (pow_upward_test_data): New variable.
21360 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21361 (remainder_test_data): New variable.
21362 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21363 (scalb_test_data): New variable.
21364 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21365 * sysdeps/i386/fpu/libm-test-ulps: Update.
21367 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21369 * math/libm-test.inc (fma_test): Use max_value instead of local
21371 (nextafter_test): Likewise.
21373 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21374 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21375 (acos_downward_test_data): New variable.
21376 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21377 (acos_upward_test_data): New variable.
21378 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21379 (acosh_test_data): New variable.
21380 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21381 (asin_test_data): New variable.
21382 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21383 (asin_tonearest_test_data): New variable.
21384 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21385 (asin_towardzero_test_data): New variable.
21386 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21387 (asin_downward_test_data): New variable.
21388 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21389 (asin_upward_test_data): New variable.
21390 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21391 (asinh_test_data): New variable.
21392 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21393 (atan_test_data): New variable.
21394 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21395 (atanh_test_data): New variable.
21396 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21397 (cbrt_test_data): New variable.
21398 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21399 (ceil_test_data): New variable.
21400 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21401 (cos_test_data): New variable.
21402 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21403 (cos_tonearest_test_data): New variable.
21404 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21405 (cos_towardzero_test_data): New variable.
21406 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21407 (cos_downward_test_data): New variable.
21408 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21409 (cos_upward_test_data): New variable.
21410 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21411 (cosh_test_data): New variable.
21412 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21413 (cosh_tonearest_test_data): New variable.
21414 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21415 (cosh_towardzero_test_data): New variable.
21416 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21417 (cosh_downward_test_data): New variable.
21418 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21419 (cosh_upward_test_data): New variable.
21420 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21421 (erf_test_data): New variable.
21422 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21423 (erfc_test_data): New variable.
21424 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21425 (exp_test_data): New variable.
21426 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21427 (exp_tonearest_test_data): New variable.
21428 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21429 (exp_towardzero_test_data): New variable.
21430 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21431 (exp_downward_test_data): New variable.
21432 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21433 (exp_upward_test_data): New variable.
21434 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21435 (exp10_test_data): New variable.
21436 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21437 (exp2_test_data): New variable.
21438 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21439 (expm1_test_data): New variable.
21440 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21441 (fabs_test_data): New variable.
21442 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21443 (floor_test_data): New variable.
21444 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21445 (j0_test_data): New variable.
21446 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21447 (j1_test_data): New variable.
21448 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21449 (log_test_data): New variable.
21450 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21451 (log10_test_data): New variable.
21452 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21453 (log1p_test_data): New variable.
21454 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21455 (log2_test_data): New variable.
21456 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21457 (logb_test_data): New variable.
21458 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21459 (logb_downward_test_data): New variable.
21460 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21461 (nearbyint_test_data): New variable.
21462 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21463 (rint_test_data): New variable.
21464 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21465 (rint_tonearest_test_data): New variable.
21466 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21467 (rint_towardzero_test_data): New variable.
21468 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21469 (rint_downward_test_data): New variable.
21470 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21471 (rint_upward_test_data): New variable.
21472 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21473 (round_test_data): New variable.
21474 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21475 (sin_test_data): New variable.
21476 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21477 (sin_tonearest_test_data): New variable.
21478 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21479 (sin_towardzero_test_data): New variable.
21480 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21481 (sin_downward_test_data): New variable.
21482 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21483 (sin_upward_test_data): New variable.
21484 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21485 (sinh_test_data): New variable.
21486 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21487 (sinh_tonearest_test_data): New variable.
21488 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21489 (sinh_towardzero_test_data): New variable.
21490 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21491 (sinh_downward_test_data): New variable.
21492 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21493 (sinh_upward_test_data): New variable.
21494 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21495 (sqrt_test_data): New variable.
21496 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21497 (tan_test_data): New variable.
21498 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21499 (tan_tonearest_test_data): New variable.
21500 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21501 (tan_towardzero_test_data): New variable.
21502 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21503 (tan_downward_test_data): New variable.
21504 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21505 (tan_upward_test_data): New variable.
21506 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21507 (tanh_test_data): New variable.
21508 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21509 (tgamma_test_data): New variable.
21510 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21511 (trunc_test_data): New variable.
21512 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21513 (y0_test_data): New variable.
21514 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21515 (y1_test_data): New variable.
21516 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21517 (significand_test_data): New variable.
21518 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21520 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21523 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21525 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21527 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21529 2013-05-10 Andreas Jaeger <aj@suse.de>
21532 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21533 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21535 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21537 * math/gen-libm-test.pl (adjust_arg): New function.
21538 (special_functions): Handle generating output in both functions
21540 (parse_args): Likewise.
21541 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21542 $in_func argument to parse_args.
21543 * math/libm-test.inc (struct test_f_f_data): New type.
21544 (IF_ROUND_INIT_): New macro.
21545 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21546 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21547 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21548 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21549 (ROUND_RESTORE_): Likewise.
21550 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21551 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21552 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21553 (ROUND_RESTORE_FE_UPWARD): Likewise.
21554 (RUN_TEST_LOOP_f_f): New macro.
21555 (acos_test_data): New variable.
21556 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21557 (acos_tonearest_test_data): New variable.
21558 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21560 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21562 * benchtests/bench-skeleton.c (startup): Fix coding style.
21564 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21567 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21568 negative infinity argument.
21569 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21570 negative infinity argument.
21571 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21572 negative infinity argument.
21573 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21576 2013-05-10 Florian Weimer <fweimer@redhat.com>
21578 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21579 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21580 * iconv/iconv_prog.c (main): Likewise.
21581 * locale/programs/charmap-dir.c (charmap_readdir)
21582 (fopen_uncompressed): Likewise.
21583 * locale/programs/locfile.c (siblings_uncached)
21584 (write_locale_data): Use lstat64 instead of lstat.
21585 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21588 2013-05-10 Andreas Jaeger <aj@suse.de>
21591 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21593 Include <locale.h>.
21595 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21597 * elf/dl-close.c (_dl_close_worker): Add comments.
21599 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21602 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21604 (__ieee754_rem_pio2l): Update comments.
21607 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21609 (__ieee754_rem_pio2l): Update comments.
21611 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21612 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21614 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21617 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21618 (M_PI_34_LOG10El): Likewise.
21619 (M_PI2_LOG10El): Likewise.
21620 (M_PI4_LOG10El): Likewise.
21621 (M_PI_LOG10El): Likewise.
21623 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21627 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21629 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21630 (MINUS_ZERO_INIT): Likewise.
21631 (PLUS_INFTY_INIT): Likewise.
21632 (MINUS_INFTY_INIT): Likewise.
21633 (QNAN_VALUE_INIT): Likewise.
21634 (MAX_VALUE_INIT): Likewise.
21635 (MIN_VALUE_INIT): Likewise.
21636 (MIN_SUBNORM_VALUE_INIT): Likewise.
21637 (plus_zero): Initialize with PLUS_ZERO_INIT.
21638 (minus_zero): Initialize with MINUS_ZERO_INIT.
21639 (plus_infty): Initialize with PLUS_INFTY_INIT.
21640 (minus_infty): Initialize with MINUS_INFTY_INIT.
21641 (qnan_value): Initialize with QNAN_VALUE_INIT.
21642 (max_value): Initialize with MAX_VALUE_INIT.
21643 (min_value): Initialize with MIN_VALUE_INIT.
21644 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21646 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21647 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21648 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21649 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21651 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21652 (RUN_TEST_2_f): Likewise.
21653 (RUN_TEST_ff_f): Likewise.
21654 (RUN_TEST_fi_f): Likewise.
21655 (RUN_TEST_fl_f): Likewise.
21656 (RUN_TEST_fff_f): Likewise.
21657 (RUN_TEST_c_f): Likewise.
21658 (RUN_TEST_f_f1): Likewise.
21659 (RUN_TEST_fF_f1): Likewise.
21660 (RUN_TEST_fI_f1): Likewise.
21661 (RUN_TEST_ffI_f1): Likewise.
21662 (RUN_TEST_c_c): Likewise.
21663 (RUN_TEST_cc_c): Likewise.
21664 (RUN_TEST_f_i): Likewise.
21665 (RUN_TEST_f_i_tg): Likewise.
21666 (RUN_TEST_ff_i_tg): Likewise.
21667 (RUN_TEST_f_b): Likewise.
21668 (RUN_TEST_f_b_tg): Likewise.
21669 (RUN_TEST_f_l): Likewise.
21670 (RUN_TEST_f_L): Likewise.
21671 (RUN_TEST_sincos): Likewise.
21672 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21673 whether to show exceptions. Do not include ");\n" in return
21675 (special_functions): Output call to RUN_TEST_sincos instead of
21676 check_float calls. Update calls to new_test.
21677 (parse_args): Output call to single RUN_TEST_* macro instead of
21678 check_* calls and other assignments. Update calls to new_test.
21684 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21685 input to result for tgamma overflow.
21686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21687 (gamma_coeff): New variable.
21688 (NCOEFF): New macro.
21689 (gamma_positive): New function.
21690 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21691 underflow here. Use gamma_positive instead of exp (lgamma) for
21693 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21694 (gamma_coeff): New variable.
21695 (NCOEFF): New macro.
21696 (gammaf_positive): New function.
21697 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21698 underflow here. Use gamma_positive instead of exp (lgamma) for
21700 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21701 (gamma_coeff): New variable.
21702 (NCOEFF): New macro.
21703 (gammal_positive): New function.
21704 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21705 underflow here. Use gamma_positive instead of exp (lgamma) for
21707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21708 (gamma_coeff): New variable.
21709 (NCOEFF): New macro.
21710 (gammal_positive): New function.
21711 (__ieee754_gammal_r): Handle positive infinity, overflow and
21712 underflow here. Handle NaN the same as positive infinity. Remove
21713 check x < 0xffffffff for negative integers. Use gamma_positive
21714 instead of exp (lgamma) for other arguments.
21715 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21716 (gamma_coeff): New variable.
21717 (NCOEFF): New macro.
21718 (gammal_positive): New function.
21719 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21720 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21724 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21725 * sysdeps/generic/math_private.h (__gamma_productf): New
21727 (__gamma_product): Likewise.
21728 (__gamma_productl): Likewise.
21729 * math/Makefile (libm-calls): Add gamma_product.
21730 * math/libm-test.inc (tgamma_test): Add more tests.
21731 * sysdeps/i386/fpu/libm-test-ulps: Update.
21732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21734 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21736 * benchtests/bench-skeleton.c (main): Preheat CPU.
21738 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21740 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21742 2013-05-07 Roland McGrath <roland@hack.frob.com>
21744 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21745 and _dl_skip_args_internal.
21747 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21749 * manual/message.texi (Message Translation): Talk about users.
21750 Message to key mapping impacts design.
21752 2013-05-06 Roland McGrath <roland@hack.frob.com>
21754 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21756 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21758 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21759 * sysdeps/wordsize-64/glob64.c: ... here.
21761 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21762 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21765 * debug/getlogin_r_chk.c: Moved to ...
21766 * login/getlogin_r_chk.c: ... here.
21767 * debug/Makefile (routines): Move getlogin_r_chk to ...
21768 * login/Makefile (routines): ... here.
21769 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21770 * login/Versions (libc: GLIBC_2.4): ... here.
21772 * io/poll.c (__poll): Renamed from poll.
21773 Add libc_hidden_def.
21774 (poll): Define as weak alias.
21776 * debug/ptsname_r_chk.c: Moved to ...
21777 * login/ptsname_r_chk.c: ... here.
21778 * debug/Makefile (routines): Move ptsname_r_chk to ...
21779 * login/Makefile (routines): ... here.
21780 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21781 * login/Versions (libc: GLIBC_2.4): ... here.
21783 * posix/getlogin.c: Moved to ...
21784 * login/getlogin.c: ... here.
21785 * posix/getlogin_r.c: Moved to ...
21786 * login/getlogin_r.c: ... here.
21787 * posix/getlogin_r.c: Moved to ...
21788 * login/getlogin_r.c: ... here.
21789 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21790 * login/Makefile (routines): ... here.
21791 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21792 * login/Versions (libc: GLIBC_2.0): ... here.
21794 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21795 (setrlimit): Define as weak alias.
21797 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21798 Call __ names for open, ftruncate, and close.
21799 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21800 (truncate): Define as weak alias.
21802 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21804 * math/gen-libm-test.pl (parse_args): Initialize x before each
21805 test of frexp, modf and remquo.
21807 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21808 test signgam value.
21810 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21814 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21816 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21818 2013-05-06 Roland McGrath <roland@hack.frob.com>
21820 * elf/dl-writev.h: New file.
21821 * elf/dl-misc.c: Include it.
21822 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21823 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21825 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21827 * math/libm-test.inc (noXFails): Remove variable.
21828 (noXPasses): Likewise.
21829 (BUILD_COMPLEX_INT): Remove macro.
21830 (print_screen): Remove xfail argument.
21831 (print_screen_max_error): Likewise.
21832 (update_stats): Likewise.
21833 (print_max_error): Likewise. Update calls to other affected
21835 (print_complex_max_error): Likewise.
21836 (test_single_exception): Update calls to print_screen.
21837 (test_single_errno): Likewise.
21838 (check_float_internal): Remove xfail argument. Update calls to
21839 other affected functions.
21840 (check_float): Likewise.
21841 (check_complex): Likewise.
21842 (check_int): Likewise.
21843 (check_long): Likewise.
21844 (check_bool): Likewise.
21845 (check_longlong): Likewise.
21846 (main): Don't print noXFails and noXPasses.
21847 * math/gen-libm-test.pl (top level): Don't mention expected
21848 failure handling in comment.
21849 (new_test): Don't handle expected failures.
21850 (parse_args): Don't mention expected failure handling in comment.
21851 (generate_testfile): Don't handle expected failures.
21852 (parse_ulps): Likewise.
21853 (print_ulps_file): Likewise.
21854 (get_failure): Remove function.
21855 (output_test): Don't handle expected failures.
21856 * make/README.libm-test: Don't mention expected failure handling.
21858 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21859 (minus_zero): Likewise.
21860 (plus_infty): Likewise.
21861 (minus_infty): Likewise.
21862 (qnan_value): Likewise.
21863 (max_value): Likewise.
21864 (min_value): Likewise.
21865 (min_subnorm_value): Likewise.
21866 (initialize): Do not initialize those variables dynamically.
21868 2013-05-03 Roland McGrath <roland@hack.frob.com>
21870 * io/open.c (__open_2): Moved to ...
21871 * io/open_2.c: ... this new file.
21872 * io/open64.c (__open64_2): Moved to ...
21873 * io/open64_2.c: ... this new file.
21874 * io/openat.c (__openat_2): Moved to ...
21875 * io/openat_2.c: ... this new file.
21876 * io/openat64.c (__openat64_2): Moved to ...
21877 * io/openat64_2.c: ... this new file.
21878 * io/Makefile (routines): Add them.
21879 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21880 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21881 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21882 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21883 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21884 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21885 (__openat64): Add hidden_ver.
21886 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21887 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21889 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21890 Separately conditionalize setting of GLRO(dl_sysinfo) so
21891 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21892 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21894 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21896 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21897 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21899 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21900 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21901 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21902 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21903 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21905 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21907 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21908 test signgam value.
21910 * math/libm-test.inc (hypot_test): Do not use
21911 IGNORE_ZERO_INF_SIGN.
21913 2013-05-03 Andreas Jaeger <aj@suse.de>
21915 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21917 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21918 (PF_MAX): Adjust for VSOCK change.
21920 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21924 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21927 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21928 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21929 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21931 2013-05-02 David S. Miller <davem@davemloft.net>
21933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21935 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21937 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21939 2013-05-01 Roland McGrath <roland@hack.frob.com>
21941 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21943 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21946 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21947 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21948 Use __attribute__ ((__gnu_inline__)).
21949 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21950 Don't use __attribute__ ((__gnu_inline__)).
21952 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21955 * math/s_catan.c (__catan): Handle small real or imaginary part of
21956 input specially to avoid spurious underflow.
21957 * math/s_catanf.c (__catanf): Likewise.
21958 * math/s_catanh.c (__catanh): Likewise.
21959 * math/s_catanhf.c (__catanhf): Likewise.
21960 * math/s_catanhl.c (__catanhl): Likewise.
21961 * math/s_catanl.c (__catanl): Likewise.
21962 * math/libm-test.inc (catan_test): Add more tests.
21963 (catanh_test): Likewise.
21964 * sysdeps/i386/fpu/libm-test-ulps: Update.
21965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21967 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21971 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21974 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21975 accurately for denominator in atan2.
21976 * math/s_catanf.c (__catanf): Likewise.
21977 * math/s_catanh.c (__catanh): Likewise.
21978 * math/s_catanhf.c (__catanhf): Likewise.
21979 * math/s_catanhl.c (__catanhl): Likewise.
21980 * math/s_catanl.c (__catanl): Likewise.
21981 * math/libm-test.inc (catan_test): Add more tests.
21982 (catanh_test): Likewise.
21983 * sysdeps/i386/fpu/libm-test-ulps: Update.
21984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21986 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21988 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21990 * benchtests/Makefile (bench): Remove slow benchmarks.
21991 * benchtests/atan-inputs: Add slow benchmark inputs.
21992 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21993 (BENCH_FUNC): Accept variant offset.
21995 * benchtests/bench-skeleton.c (main): Run benchmark for each
21997 * benchtests/cos-inputs: Add slow benchmark inputs.
21998 * benchtests/exp-inputs: Likewise.
21999 * benchtests/pow-inputs: Likewise.
22000 * benchtests/sin-inputs: Likewise.
22001 * benchtests/slowatan-inputs: Remove.
22002 * benchtests/slowatan.c: Remove.
22003 * benchtests/slowcos-inputs: Remove.
22004 * benchtests/slowcos.c: Remove.
22005 * benchtests/slowexp-inputs: Remove.
22006 * benchtests/slowexp.c: Remove.
22007 * benchtests/slowpow-inputs: Remove.
22008 * benchtests/slowpow.c: Remove.
22009 * benchtests/slowsin-inputs: Remove.
22010 * benchtests/slowsin.c: Remove.
22011 * benchtests/slowtan-inputs: Remove.
22012 * benchtests/slowtan.c: Remove.
22013 * benchtests/tan-inputs: Add slow benchmark inputs.
22014 * scripts/bench.pl: Parse comments and directives.
22016 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22018 ($(objpfx)bench-%.c): Remove *-ITER.
22019 * benchtests/bench-modf.c: Remove definition of ITER.
22020 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22021 (main): Loop for DURATION seconds instead of fixed number of
22023 * scripts/bench.pl: Don't expect iterations in parameters.
22025 2013-04-29 Roland McGrath <roland@hack.frob.com>
22027 * io/fchdir.c (__fchdir): Renamed from fchdir.
22028 (fchdir): Define as weak alias.
22030 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22032 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22033 (ERRNO_EDOM): Likewise.
22034 (ERRNO_ERANGE): Likewise.
22035 (noErrnoTests): New variable.
22036 (init_max_error): Set errno to 0.
22037 (test_single_errno): New function.
22038 (test_errno): Likewise.
22039 (check_float_internal): Call test_errno. Set errno to 0.
22040 (check_complex): Refer to errno tests in comment.
22041 (check_int): Call test_errno. Set errno to 0.
22042 (check_long): Likewise.
22043 (check_bool): Likewise.
22044 (check_longlong): Likewise.
22045 (cos_test): Use ERRNO_* flags for errno tests instead of
22047 (expm1_test): Likewise.
22048 (fmod_test): Likewise.
22049 (ilogb_test): Likewise.
22050 (lgamma_test): Likewise.
22051 (pow_test): Likewise.
22052 (remainder_test): Likewise.
22053 (sin_test): Likewise.
22054 (tan_test): Likewise.
22055 (yn_test): Likewise.
22056 (initialize): Set errno to 0.
22057 (main): Print number of errno tests.
22058 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22060 2013-04-29 Andreas Jaeger <aj@suse.de>
22063 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22067 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22068 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22072 * stdlib/random.c (__initstate): Return NULL if
22076 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22077 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22080 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22084 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22086 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22087 of individual tests.
22088 (casin_test): Likewise.
22089 (casinh_test): Likewise.
22091 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22094 * math/s_catan.c (__catan): Handle arguments with large real or
22095 imaginary part separately without squaring.
22096 * math/s_catanf.c (__catanf): Likewise.
22097 * math/s_catanh.c (__catanh): Likewise.
22098 * math/s_catanhf.c (__catanhf): Likewise.
22099 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22101 (__catanhl): Handle arguments with large real or imaginary part
22102 separately without squaring.
22103 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22105 (__catanl): Handle arguments with large real or imaginary part
22106 separately without squaring.
22107 * math/libm-test.inc (catan_test): Add more tests.
22108 (catanh_test): Likewise.
22109 * sysdeps/i386/fpu/libm-test-ulps: Update.
22110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22112 2013-04-27 Andreas Jaeger <aj@suse.de>
22115 * stdlib/stdlib.h: Update guards for qecvt.
22116 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22119 2013-04-27 Allan McRae <allan@archlinux.org>
22121 * sysdeps/i386/fpu/libm-test-ulps: Update.
22123 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22126 * math/s_catan.c: Include <float.h>.
22127 (__catan): Ensure underflow exception occurs for underflowed
22129 * math/s_catanf.c: Include <float.h>.
22130 (__catanf): Ensure underflow exception occurs for underflowed
22132 * math/s_catanh.c: Include <float.h>.
22133 (__catanh): Ensure underflow exception occurs for underflowed
22135 * math/s_catanhf.c: Include <float.h>.
22136 (__catanhf): Ensure underflow exception occurs for underflowed
22138 * math/s_catanhl.c: Include <float.h>.
22139 (__catanhl): Ensure underflow exception occurs for underflowed
22141 * math/s_catanl.c: Include <float.h>.
22142 (__catanl): Ensure underflow exception occurs for underflowed
22144 * math/libm-test.inc (catan_test): Add more tests.
22145 (catanh_test): Likewise.
22148 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22149 underflowed result.
22150 * math/s_ccoshf.c (__ccoshf): Likewise.
22151 * math/s_ccoshl.c (__ccoshl): Likewise.
22152 * math/s_csin.c (__csin): Likewise.
22153 * math/s_csinf.c (__csinf): Likewise.
22154 * math/s_csinh.c (__csinh): Likewise.
22155 * math/s_csinhf.c (__csinhf): Likewise.
22156 * math/s_csinhl.c (__csinhl): Likewise.
22157 * math/s_csinl.c (__csinl): Likewise.
22158 * math/libm-test.inc (ccos_test): Add more tests.
22159 (ccosh_test): Likewise.
22160 (csin_test): Likewise.
22161 (csinh_test): Likewise.
22163 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22165 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22166 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22167 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22168 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22169 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22170 powerpc/power5+/fpu folders.
22171 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22174 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22178 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22180 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22181 additions to variable.
22182 [$(config-machine) = x86_64] (modules-names): Likewise.
22183 ($(objpfx)tst-audit3): Remove dependency.
22184 ($(objpfx)tst-audit3.out): Likewise.
22185 ($(objpfx)tst-audit4): Likewise.
22186 ($(objpfx)tst-audit4.out): Likewise.
22187 ($(objpfx)tst-audit5): Likewise.
22188 ($(objpfx)tst-audit5.out): Likewise.
22189 ($(objpfx)tst-audit6): Likewise.
22190 ($(objpfx)tst-audit6.out): Likewise.
22191 ($(objpfx)tst-audit7): Likewise.
22192 ($(objpfx)tst-audit7.out): Likewise.
22193 (tst-audit3-ENV): Remove variable.
22194 (tst-audit4-ENV): Likewise.
22195 (tst-audit5-ENV): Likewise.
22196 (tst-audit6-ENV): Likewise.
22197 (tst-audit7-ENV): Likewise.
22198 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22199 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22200 addition to variable.
22201 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22202 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22203 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22204 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22205 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22206 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22207 tst-audit3, tst-audit4 and tst-audit5.
22208 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22209 tst-audit6 and tst-audit7.
22210 [$(subdir) = elf] (modules-names): Add audit modules for those
22212 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22213 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22214 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22215 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22216 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22217 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22218 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22219 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22220 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22221 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22222 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22223 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22224 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22225 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22226 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22227 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22229 [$(subdir) = elf && $(config-cflags-avx) = yes]
22230 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22231 [$(subdir) = elf && $(config-cflags-avx) = yes]
22232 (CFLAGS-tst-auditmod4a.c): Likewise.
22233 [$(subdir) = elf && $(config-cflags-avx) = yes]
22234 (CFLAGS-tst-auditmod4b.c): Likewise.
22235 [$(subdir) = elf && $(config-cflags-avx) = yes]
22236 (CFLAGS-tst-auditmod6b.c): Likewise.
22237 [$(subdir) = elf && $(config-cflags-avx) = yes]
22238 (CFLAGS-tst-auditmod6c.c): Likewise.
22239 [$(subdir) = elf && $(config-cflags-avx) = yes]
22240 (CFLAGS-tst-auditmod7b.c): Likewise.
22241 * elf/tst-audit3.c: Move to ...
22242 * sysdeps/x86_64/tst-audit3.c: ... here.
22243 * elf/tst-audit4.c: Move to ...
22244 * sysdeps/x86_64/tst-audit4.c: ... here.
22245 * elf/tst-audit5.c: Move to ...
22246 * sysdeps/x86_64/tst-audit5.c: ... here.
22247 * elf/tst-audit6.c: Move to ...
22248 * sysdeps/x86_64/tst-audit6.c: ... here.
22249 * elf/tst-audit7.c: Move to ...
22250 * sysdeps/x86_64/tst-audit7.c: ... here.
22251 * elf/tst-auditmod3a.c: Move to ...
22252 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22253 * elf/tst-auditmod3b.c: Move to ...
22254 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22255 * elf/tst-auditmod4a.c: Move to ...
22256 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22257 * elf/tst-auditmod4b.c: Move to ...
22258 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22259 * elf/tst-auditmod5a.c: Move to ...
22260 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22261 * elf/tst-auditmod5b.c: Move to ...
22262 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22263 * elf/tst-auditmod6a.c: Move to ...
22264 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22265 * elf/tst-auditmod6b.c: Move to ...
22266 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22267 * elf/tst-auditmod6c.c: Move to ...
22268 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22269 * elf/tst-auditmod7a.c: Move to ...
22270 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22271 * elf/tst-auditmod7b.c: Move to ...
22272 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22274 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22277 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22278 define unconditionally.
22279 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22280 define unconditionally.
22281 (INT8_C, INT16_C, etc.): Likewise.
22283 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22285 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22286 __ehdr_start with hidden visibility.
22288 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22290 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22292 * math/libm-test.inc (cos_test): Use accurate hex constants.
22293 (sincost_test): Likewise.
22295 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22297 * math/libm-test.inc (catan_test): Add more tests.
22298 (catanh_test): Likewise.
22300 * math/s_catanf.c (__catanf): Use suffixed floating-point
22302 * math/s_catanhf.c (__catanhf): Likewise.
22303 * math/s_catanhl.c (__catanhl): Likewise.
22304 * math/s_catanl.c (__catanl): Likewise.
22307 * math/s_catan.c (__catan): Calculate imaginary part of result
22308 with log1p not log unless computing log of number close to 0.
22309 * math/s_catanf.c (__catanf): Likewise.
22310 * math/s_catanl.c (__catanl): Likewise.
22311 * math/s_catanh.c (__catanh): Calculate real part of result with
22312 log1p not log unless computing log of number close to 0.
22313 * math/s_catanhf.c (__catanhf): Likewise.
22314 * math/s_catanhl.c (__catanhl): Likewise.
22315 * math/libm-test.inc (catan_test): Add more tests.
22316 (catanh_test): Likewise.
22317 * sysdeps/i386/fpu/libm-test-ulps: Update.
22318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22320 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22322 * benchtests/Makefile: Mention files in which fast and slow
22323 paths of math functions are implemented.
22325 2013-04-23 Roland McGrath <roland@hack.frob.com>
22327 * sysdeps/posix/timespec_get.c: New file.
22329 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22331 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22333 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22335 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22336 powerpc/power5/fpu folders.
22337 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22338 * benchtests/Makefile: Add modf testcase.
22339 * benchtests/bench-modf.c: New file: Benchmark test for mo
22341 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22344 * time/Makefile (tests): Add tst-strptime-whitespace.
22345 * time/strptime_l.c (get_number): Use ISSPACE.
22346 (__strptime_internal): Likewise.
22347 * time/tst-strptime-whitespace.c: New test case.
22349 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22351 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22353 (_nss_files_init): Set it here.
22355 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22357 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22358 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22361 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22363 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22365 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22367 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22370 2013-04-21 David S. Miller <davem@davemloft.net>
22372 * po/ru.po: Update Russion translation from translation project.
22374 2013-04-17 Adam Conrad <adconrad@0c3.net>
22376 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22379 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22381 * configure.in: Remove i386 configure warning. Remove i386 case.
22382 * configure: Regenerate.
22383 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22384 Add example to error message.
22385 * sysdeps/i386/configure: Regenerate.
22387 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22389 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22391 * benchtests/cos-inputs: New file.
22392 * benchtests/slowcos-inputs: New file.
22393 * benchtests/slowcos.c: New file.
22394 * benchtests/slowtan-inputs: New file.
22395 * benchtests/slowtan.c: New file.
22396 * benchtests/tan-inputs: New file.
22398 2013-04-16 Roland McGrath <roland@hack.frob.com>
22400 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22403 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22405 * benchtests/Makefile: Include cppflags-iterator.mk to add
22406 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22408 * Makefile.in (bench-clean): New target.
22409 * benchtests/Makefile (bench-clean): Likewise.
22411 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22413 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22415 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22417 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22419 2013-04-15 Andreas Schwab <schwab@suse.de>
22421 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22423 * nscd/pwdcache.c (cache_addpw): Likewise.
22424 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22427 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22429 * benchtests/Makefile (bench): Write all output to
22430 bench-out.tmp together.
22432 2013-04-15 Andreas Schwab <schwab@suse.de>
22434 * nscd/nscd.c (main): Don't fork again after closing files.
22436 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22438 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22440 * benchtests/Rules (bench-deps): Collect dependencies into a
22441 single variable. Add Makefile to dependencies.
22442 ($(objpfx)bench-%.c): Depend on bench-deps.
22444 2013-04-12 Roland McGrath <roland@hack.frob.com>
22445 Xavier Roche <roche+kml2@exalead.com>
22448 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22449 just that it's a file descriptor.
22450 * manual/llio.texi (Synchronizing AIO Operations): Update description
22451 for EBADF error from aio_fsync.
22453 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22455 * Rules (bench): Move target definition...
22456 * benchtests/Makefile: ... here.
22458 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22460 * math/libm-test.inc (cos_test): Fix PI/2 test.
22461 (sincos_test): Likewise.
22462 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22463 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22465 2013-04-11 Andreas Schwab <schwab@suse.de>
22468 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22469 accept exponent character only when digits were seen.
22470 * stdio-common/Makefile (tests): Add bug26.
22471 * stdio-common/bug26.c: New file.
22474 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22477 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22479 * Makeconfig (rtld-prefix): Define built linker prefix.
22480 * Rules (run-bench): Use it.
22481 * math/Makefile (run-regen-ulps): Likewise.
22483 * Rules (bench): Remove eval.
22485 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22486 Roland McGrath <roland@hack.frob.com>
22487 Ondrej Bilka <neleai@seznam.cz>
22490 * time/getdate.c: Include ctype.h and alloca.h.
22491 (__getdate_r): Trim leading and trailing spaces of input.
22492 * time/tst-getdate.c (tests): Add tests with leading and
22495 2013-04-08 Roland McGrath <roland@hack.frob.com>
22498 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22499 when computing value.
22501 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22503 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22504 Use testrun.sh to run libm tests.
22507 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22509 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22512 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22514 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22516 * Makefile.in (regen-ulps): New target.
22517 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22518 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22519 [ifneq (no,$(PERL)] (regen-ulps): New target.
22520 [ifeq (no,$(PERL)] (regen-ulps): New target.
22521 * math/libm-test.inc (ulps_file_name): Define.
22522 (output_dir): New variable.
22523 (options): Add "output-dir" option.
22524 (parse_opt): Handle 'o' case.
22525 (main): If output_dir is non-NULL use it as a prefix
22527 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22529 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22531 [BZ #10060, #10062]
22532 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22533 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22534 fail configure if __sync_val_compare_and_swap is not inlined.
22535 * sysdeps/i386/configure: Regenerate.
22536 * configure.in: Build for i686 when configured for i386.
22537 * configure: Regenerate.
22538 * README: Remove i386 reference.
22540 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22542 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22545 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22547 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22548 (lmsnanval): New variables.
22549 (F): Add conversion tests.
22550 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22551 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22553 * stdio-common/tstdiomisc.c (F): Properly collect individual
22556 [BZ #14686, #15336]
22557 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22558 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22559 Instead, use input NaN values or generate a qNaN by arithmetic
22560 operation. Also fix bugs to comply with the standard.
22561 * math/libm-test.inc (remainder_test): Add more tests.
22563 [BZ #15335, #15342]
22564 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22566 input NaN values or generate a qNaN by arithmetic operation.
22568 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22571 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22574 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22577 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22578 underflowed result.
22579 * math/s_cexpf.c (__cexpf): Likewise.
22580 * math/s_cexpl.c (__cexpl): Likewise.
22581 * math/libm-test.inc (cexp_test): Add more tests.
22583 2013-04-03 Andreas Schwab <schwab@suse.de>
22586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22587 order arrays from heap if bigger than alloca cutoff.
22589 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22591 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22592 (SNAN_TESTS_double): Refer to GCC PR56831.
22593 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22596 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22598 * Rules (bench): Move bench.out after the run is complete.
22600 * Rules (bench): Echo currently running benchmark.
22602 * benchtests/Makefile (bench): Add atan and slowatan.
22603 * benchtests/atan-inputs: New file.
22604 * benchtests/slowatan-inputs: New file.
22605 * benchtests/slowatan.c: New file.
22607 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22608 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22612 * sysdeps/unix/sysv/linux/kernel-features.h
22613 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22614 __ASSUME_XFS_RESTRICTED_CHOWN.
22615 * sysdeps/unix/sysv/linux/pathconf.c
22616 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22617 Save and restore errno.
22619 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22622 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22623 arguments using __kernel_casinh.
22624 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22625 arguments using __kernel_casinhf.
22626 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22627 arguments using __kernel_casinhl.
22628 * math/libm-test.inc (cacosh_test): Add more tests.
22629 * sysdeps/i386/fpu/libm-test-ulps: Update.
22630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22632 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22634 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22637 * bench/Makefile (bench): Add sin and slowsin.
22638 * benchtests/sin-inputs: New file.
22639 * benchtests/slowsin-inputs: New file.
22640 * benchtests/slowsin.c: New file.
22642 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22643 (bench): Add slowexp and slowpow.
22644 (exp-ITER): Increase iterations.
22645 (pow-ITER): Likewise.
22646 * benchtests/exp-inputs: Change input.
22647 * benchtests/pow-inputs: Likewise.
22648 * benchtests/slowexp-inputs: New file.
22649 * benchtests/slowexp.c: New file.
22650 * benchtests/slowpow-inputs: New file.
22651 * benchtests/slowpow.c: New file.
22653 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22655 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22657 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22658 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22659 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22660 * benchtests/Makefile: Add rint benchtest.
22661 * benchtests/rint-inputs: Input for rint benchtest.
22663 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22665 * Versions.def (libm): Add GLIBC_2.18.
22666 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22667 hidden libm prototypes.
22668 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22669 * math/Makefile (libm-calls): Add s_issignaling.
22670 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22671 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22672 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22674 * math/math.h [__USE_GNU] (issignaling): New macro.
22675 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22676 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22678 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22681 * manual/arith.texi (issignaling): New section.
22682 * manual/libm-err-tab.pl (@all_functions): Update comment.
22683 * math/gen-libm-test.pl (parse_args): Apply special handling for
22685 * math/libm-test.inc (print_float, issignaling_test): New
22687 (check_float_internal): Add issignaling checks.
22688 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22689 default definition.
22690 * sysdeps/powerpc/math-tests.h: New file.
22691 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22693 * math/test-snan.c (TEST_FUNC): Likewise.
22695 2013-03-30 David S. Miller <davem@davemloft.net>
22697 * po/de.po: Update from translation team.
22699 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22702 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22703 imaginary part less than 1.0 and real part less than 0.5
22705 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22706 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22707 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22708 (cacos_test): Add more tests.
22709 (casin_test): Likewise.
22710 (casinh_test): Likewise.
22711 * sysdeps/i386/fpu/libm-test-ulps: Update.
22712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22714 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22716 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22717 ONE with its value.
22719 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22720 (__pow_mp): Replace ONE and MONE with their values.
22721 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22722 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22723 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22724 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22725 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22728 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22730 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22731 (__pow_mp): Replace ZERO and MZERO with their values.
22732 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22736 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22737 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22740 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22742 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22744 2013-03-28 Roland McGrath <roland@hack.frob.com>
22746 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22747 Declare with __attribute__ ((weak)).
22748 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22749 Call __call_tls_dtors only if it's not NULL.
22751 2013-03-28 Roland McGrath <roland@hack.frob.com>
22753 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22754 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22755 magic __ehdr_start linker symbol if it's defined.
22756 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22757 them up here if it was already done.
22759 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22760 (_dl_aux_init): Use const in cast when setting it.
22761 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22762 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22763 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22765 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22767 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22768 * csu/libc-tls.c: Nor here.
22769 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22771 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22772 (__libc_message): Never call vsyslog.
22774 2013-03-28 Alan Modra <amodra@gmail.com>
22776 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22778 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22781 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22784 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22788 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22791 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22792 Don't add gid passed as argument.
22794 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22796 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22799 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22800 imaginary part between 1.0 and 1.5 and real part less than 0.5
22802 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22803 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22804 * math/libm-test.inc (cacos_test): Add more tests.
22805 (casin_test): Likewise.
22806 (casinh_test): Likewise.
22807 * sysdeps/i386/fpu/libm-test-ulps: Update.
22808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22810 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22812 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22815 (denorm): Likewise.
22816 (__dbl_mp): Likewise.
22817 (add_magnitudes): Likewise.
22818 (sub_magnitudes): Likewise.
22826 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22828 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22829 (__dubcos): Likewise.
22830 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22831 (__ieee754_acos): Likewise.
22832 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22833 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22834 (__exp1): Likewise.
22835 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22838 (my_log2): Likewise.
22839 (checkint): Likewise.
22840 * sysdeps/ieee754/dbl-64/e_remainder.c
22841 (__ieee754_remainder): Likewise.
22842 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22844 (bsloww): Likewise.
22845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22847 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22848 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22849 MANTISSA_STORE_T to store computations on mantissa. Use
22850 macros for rounding and division.
22851 (denorm): Likewise.
22852 (__dbl_mp): Likewise.
22853 (add_magnitudes): Likewise.
22854 (sub_magnitudes): Likewise.
22857 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22858 powers of two in terms of TWOPOW macro.
22859 (mp_no): Make type of mantissa as MANTISSA_T.
22860 [!RADIXI]: Define RADIXI.
22861 [!TWO52]: Define TWO52.
22862 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22864 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22866 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22867 llroundl symbol when building for PPC32.
22869 2013-03-24 Mark H Weaver <mhw@netris.org>
22871 * manual/arith.texi (Normalization Functions): Fix prototypes for
22872 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22874 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22877 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22878 high value to check if expl overflow.
22879 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22880 to check for underflow and overflow.
22881 * math/libm-test.inc: Add exp test.
22883 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22886 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22889 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22891 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22894 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22896 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22897 wrap blocks consisting of several statements.
22899 * sysdeps/generic/math-tests.h: New file.
22900 * sysdeps/i386/fpu/math-tests.h: Likewise.
22901 * math/test-snan.c: Include it.
22902 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22904 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22907 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22908 (__ieee754_j0l): Do not improve calculations using cos of twice
22909 input for inputs above LDBL_MAX / 2.0L.
22910 (__ieee754_y0l): Likewise.
22911 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22912 (__ieee754_j1l): Do not improve calculations using cos of twice
22913 input for inputs above LDBL_MAX / 2.0L.
22914 (__ieee754_y1l): Likewise.
22915 * math/libm-test.inc (j0_test): Add another test.
22916 (j1_test): Likewise.
22917 (y0_test): Likewise.
22918 (y1_test): Likewise.
22919 * sysdeps/i386/fpu/libm-test-ulps: Update.
22921 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22923 * Rules ($(objpfx)bench-%.c): Include code from a C source
22926 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22929 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22930 imaginary part 1.0 and real part less than 0.5 specially.
22931 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22932 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22933 * math/libm-test.inc (cacos_test): Add more tests.
22934 (casin_test): Likewise.
22935 (casinh_test): Likewise.
22936 * sysdeps/i386/fpu/libm-test-ulps: Update.
22937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22939 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22941 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22942 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22944 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22946 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22947 * config.make.in (config-cflags-sse4): Remove variable.
22948 (config-cflags-avx): Likewise.
22949 (config-cflags-sse2avx): Likewise.
22950 (config-cflags-novzeroupper): Likewise.
22951 (config-asflags-i686): Likewise.
22952 (have-mfma4): Likewise.
22953 (have-as-vis3): Likewise.
22955 * configure.in (MIG): Do not AC_SUBST.
22956 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22957 (libc_cv_cc_sse4): Do not AC_SUBST.
22958 (libc_cv_cc_avx): Likewise.
22959 (libc_cv_cc_sse2avx): Likewise.
22960 (libc_cv_cc_novzeroupper): Likewise.
22961 (libc_cv_cc_fma4): Likewise.
22962 (libc_cv_as_i686): Likewise.
22963 (libc_cv_sparc_as_vis3): Likewise.
22964 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22966 (config-asflags-i686): Likewise.
22967 (config-cflags-avx): Likewise.
22968 (config-cflags-sse2avx): Likewise.
22969 (have-mfma4): Likewise.
22970 (config-cflags-novzeroupper): Likewise.
22971 * sysdeps/mach/configure.in (MIG): Likewise.
22972 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22973 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22975 (config-cflags-avx): Likewise.
22976 (config-cflags-sse2avx): Likewise.
22977 (have-mfma4): Likewise.
22978 (config-cflags-novzeroupper): Likewise.
22979 * configure: Regenerated.
22980 * sysdeps/i386/configure: Likewise.
22981 * sysdeps/mach/configure: Likewise.
22982 * sysdeps/sparc/configure: Likewise.
22983 * sysdeps/x86_64/configure: Likewise.
22985 2013-03-20 Roland McGrath <roland@hack.frob.com>
22988 * locale/programs/localedef.c (options): Put N_ translation marker
22989 on argument names, not just descriptions.
22991 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22993 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22995 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22998 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23000 2013-03-19 Roland McGrath <roland@hack.frob.com>
23002 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23003 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23004 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23005 [!BEFORE_ABORT] (before_abort): New function.
23006 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23007 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23008 (writev_for_fatal): New function.
23009 (WRITEV_FOR_FATAL): New macro; call that.
23010 (backtrace_and_maps): New function.
23011 (BEFORE_ABORT): New macro; call that.
23012 (struct str_list): Type removed.
23013 (__libc_message, __libc_fatal): Functions removed.
23014 Include <sysdeps/posix/libc_fatal.c> instead.
23016 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23018 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23020 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23023 2013-03-19 Andreas Schwab <schwab@suse.de>
23025 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23026 * sysdeps/gnu/configure: Regenerate.
23028 * configure.in: Substitute libc_cv_rtlddir.
23029 * configure: Regenerate.
23030 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23031 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23032 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23033 * elf/Makefile (install-others, CFLAGS-interp.c)
23034 (ldso_install, common-ldd-rewrite): Likewise.
23035 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23036 $(inst_slibdir)/$(rtld-installed-name).
23037 * scripts/rellns-sh: Add -p option.
23038 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23041 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23043 * manual/nptl.texi: Renamed to ...
23044 * manual/threads.texi: ... this.
23045 * manual/Makefile (chapters): Update.
23047 2013-03-18 Roland McGrath <roland@hack.frob.com>
23050 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23051 on argument names, not just descriptions.
23052 * malloc/memusagestat.c (options): Likewise.
23053 * nss/getent.c (options): Likewise.
23055 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23058 * iconv/iconv_prog.c (options): Put N_ translation marker
23059 on argument names, not just descriptions.
23060 * iconv/iconvconfig.c (options): Likewise.
23062 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23064 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23065 implementation which is faster on all x86_64 architectures.
23066 Tested on AMD, Intel Nehalem, SNB, IVB.
23067 * sysdeps/x86_64/strnlen.S: Likewise.
23069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23070 Remove all multiarch strlen and strnlen versions.
23071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23072 Remove strlen and strnlen related parts.
23074 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23075 Inline strlen part.
23076 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23078 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23079 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23080 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23081 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23082 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23083 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23085 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23087 * manual/memory.texi (Malloc Tunable Parameters):
23088 Sort parameters alphabetically. Add comments for missing entries.
23090 2013-03-17 David S. Miller <davem@davemloft.net>
23092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23094 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23097 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23098 for arguments at most half maximum finite value.
23099 * math/libm-test.inc (j0_test): Add more tests.
23100 (j1_test): Likewise.
23101 (y0_test): Likewise.
23102 (y1_test): Likewise.
23103 * sysdeps/i386/fpu/libm-test-ulps: Update.
23104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23107 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23108 1 / x and functions P and Q for arguments above 0x1p256L.
23109 (__ieee754_y0l): Likewise.
23110 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23111 (__ieee754_y1l): Likewise.
23112 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23113 (j1_test): Likewise.
23114 (y0_test): Likewise.
23115 (y1_test): Likewise.
23117 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23119 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23122 2013-03-15 Roland McGrath <roland@hack.frob.com>
23124 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23125 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23126 zero since it's initialized to EXEC_PAGESIZE.
23128 * sysdeps/unix/sysv/linux/ldsodefs.h
23129 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23130 * sysdeps/generic/ldsodefs.h: ... here.
23132 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23134 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23136 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23138 * math/test-snan.c: Renamed from
23139 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23140 * math/Makefile (tests): Add test-snan.
23141 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23144 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23145 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23147 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23148 __builtin_nan family of functions.
23149 * math/libm-test.inc (initialize): Initialize qnan_value with
23150 __builtin_nan family of functions.
23151 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23153 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23155 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23156 storage class. Initialize qNaN_var and sNaN_var with
23157 __builtin_nan and __builtin_nans families of functions,
23160 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23161 (sqrt_test): Remove duplicate test with qNaN input.
23162 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23163 (round_test, signbit_test, significand_test): Note missing +/-Inf
23164 as well as qNaN tests.
23166 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23167 qNaN_var. Fix a few strings, too.
23168 * math/libm-test.inc (nan_value): Rename to qnan_value.
23169 * math/gen-libm-test.pl (%beautify): Adjust to that.
23170 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23171 * math/test-misc.c (main): Likewise.
23172 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23173 to __qnan_bytes, and __qnan_union, respectively.
23174 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23176 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23177 and lqnanval, respectively.
23178 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23179 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23180 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23181 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23183 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23184 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23187 * math/test-misc.c (main): Fix copy'n'pastos.
23188 * misc/tst-efgcvt.c (special): Likewise.
23190 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23191 Remove declarations.
23193 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23195 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23196 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23197 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23198 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23200 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23202 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23203 macro to return vdso values correctly in IFUNC implementations.
23204 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23205 Optimization by using IFUNC.
23207 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23208 Richard Henderson <rth@redhat.com>
23209 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23211 * Makefile.in (bench): New target.
23212 * NEWS: Mention the benchmark framework.
23213 * Rules (bench): Likewise.
23214 (binaries-bench): Generate binaries for functions to
23216 * benchtests/Makefile: New makefile for benchmark tests.
23217 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23219 * benchtests/exp-inputs: New input file for EXP function.
23220 * benchtests/pow-inputs: New input file for POW function.
23221 * scripts/bench.pl: New script to generate source files for
23222 benchmark programs.
23224 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23226 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23227 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23228 computations on mantissa. Use macros for rounding and
23230 (denorm): Likewise.
23231 (__dbl_mp): Likewise.
23232 (add_magnitudes): Likewise.
23233 (sub_magnitudes): Likewise.
23236 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23237 powers of two in terms of TWOPOW macro.
23238 (mp_no): Make type of mantissa as MANTISSA_T.
23239 [!RADIXI]: Define RADIXI.
23240 [!TWO52]: Define TWO52.
23241 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23243 * manual/nptl.texi (cindex): Modify threads to pthreads.
23245 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23247 * sysdeps/x86_64/preconfigure: Regenerated.
23249 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23252 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23254 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23255 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23257 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23258 * math/libm-test.inc (j0_test): Do not allow one spurious
23259 underflow exception.
23260 (y1_test): Likewise.
23262 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23264 * manual/Makefile (chapters): Add nptl.
23265 * manual/debug.texi (Debugging Support): Add link to Threads
23267 * manual/nptl.texi: New file.
23269 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23271 2013-03-14 Petr Baudis <pasky@ucw.cz>
23273 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23274 for non-NULL pointer before the memory validity test. Pointed
23275 out by Holger Brunck <holger.brunck@keymile.com>.
23277 2013-03-13 Andreas Schwab <schwab@suse.de>
23279 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23282 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23284 * timezone/zic.c: Update from tzcode 2013b.
23286 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23288 * manual/install.texi (Configuring and compiling):
23289 Mention i686 and i586.
23290 * INSTALL: Regenerate.
23292 2013-03-12 Roland McGrath <roland@hack.frob.com>
23294 * sysdeps/init_array/elf-init.c: New file.
23296 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23297 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23299 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23300 __gmon_start__ as global, but as static with a .preinit_array pointer.
23301 * sysdeps/init_array/gmon-start.c: New file. Use that.
23302 * sysdeps/init_array/crti.S: New file, empty except for comments.
23303 * sysdeps/init_array/crtn.S: Likewise.
23305 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23307 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23310 Remove Prefer_SSE_for_memop.
23311 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23312 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23313 HAS_PREFER_SSE_FOR_MEMOP.
23314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23317 Remove bzero, memset ifunc support.
23318 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23319 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23320 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23321 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23323 2013-03-11 Andreas Schwab <schwab@suse.de>
23326 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23329 (GLIBC_2.16): Remove pthread_atfork.
23331 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23333 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23334 (ptestcases.h): Likewise.
23336 2013-03-08 Roland McGrath <roland@hack.frob.com>
23338 * Makeconfig ($(common-objpfx)config.status): Depend on
23339 sysdeps/*/preconfigure{,.in} too.
23341 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23343 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23344 (__free_hook): Use void * instead of __malloc_ptr_t.
23345 (__malloc_hook): Likewise.
23346 (__realloc_hook): Likewise.
23347 (__memalign_hook): Likewise.
23348 (__after_morecore_hook): Likewise.
23349 * malloc/arena.c (save_malloc_hook): Likewise.
23350 (save_free_hook): Likewise.
23351 * malloc/hooks.c (malloc_hook_ini): Likewise.
23352 (realloc_hook_ini): Likewise.
23353 (memalign_hook_ini): Likewise.
23354 * malloc/malloc.c (malloc_hook_ini): Likewise.
23355 (realloc_hook_ini): Likewise.
23356 (memalign_hook_ini): Likewise.
23357 (__free_hook): Likewise.
23358 (__malloc_hook): Likewise.
23359 (__realloc_hook): Likewise.
23360 (__memalign_hook): Likewise.
23361 (__libc_malloc): Likewise.
23362 (__libc_free): Likewise.
23363 (__libc_realloc): Likewise.
23364 (__libc_memalign): Likewise.
23365 (__libc_valloc): Likewise.
23366 (__libc_pvalloc): Likewise.
23367 (__libc_calloc): Likewise.
23368 (__posix_memalign): Likewise.
23369 * malloc/morecore.c (__sbrk): Likewise.
23370 (__default_morecore): Likewise.
23372 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23374 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23375 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23376 __malloc_ptrdiff_t.
23378 * malloc/malloc.h (__malloc_size_t): Remove macro.
23379 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23381 (old_memalign_hook): Likewise.
23382 (old_realloc_hook): Likewise.
23383 (struct hdr): Likewise.
23385 (mallochook): Likewise.
23386 (memalignhook): Likewise.
23387 (reallochook): Likewise.
23388 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23389 (tr_old_realloc_hook): Likewise.
23390 (tr_old_memalign_hook): Likewise.
23391 (tr_mallochook): Likewise.
23392 (tr_reallochook): Likewise.
23393 (tr_memalignhook): Likewise.
23395 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23398 default_ldbl_pack and using as default implementation.
23399 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23401 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23402 redundant definition.
23403 (ldbl_insert_mantissa): Likewise.
23404 (ldbl_canonicalize): Likewise.
23405 (ldbl_nearbyint): Likewise.
23406 (ldbl_pack): Rename to ldbl_pack_ppc.
23407 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23408 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23409 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23411 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23414 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23415 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23416 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23418 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23419 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23420 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23422 2013-03-07 Andreas Jaeger <aj@suse.de>
23424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23427 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23429 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23430 Include mpa.h and declare __MPEXP.
23431 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23432 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23433 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23434 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23436 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23437 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23439 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23440 (__slowpow): Use long double EXPL and LOGL functions to
23442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23443 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23444 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23445 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23446 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23450 intermediate variable to calculate exponent.
23452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23456 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23457 [!NO__SQR]: Define __sqr.
23458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23459 and NO__SQR. Remove all code except __mul and __sqr. Include
23460 sysdeps/ieee754/dbl-64/mpa.c.
23461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23464 * posix/Makefile (tests): Add tst-pathconf.
23465 * posix/tst-pathconf.c: New test case.
23466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23468 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23470 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23472 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23474 2013-03-06 Andreas Jaeger <aj@suse.de>
23476 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23477 definition via __MAP_ANONYMOUS.
23479 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23480 it's not part of Linux headers.
23482 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23483 (MAP_HUGE_MASK): Define.
23485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23487 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23490 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23491 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23493 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23494 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23496 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23498 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23499 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23500 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23501 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23502 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23503 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23509 Handle f2fs and efivarfs.
23511 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23514 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23515 (EFIVARFS_MAGIC): Add.
23516 (F2FS_LINK_MAX): Add.
23518 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23520 * stdio-common/vfprintf.c: Replace __builtin_expect with
23523 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23526 * sysdeps/generic/bp-sym.h: Remove file.
23527 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23528 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23529 <bp-sym.h> and <bp-asm.h>.
23530 (__longjmp): Don't use BP_SYM.
23531 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23533 (memcpy): Don't use BP_SYM.
23534 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23535 <bp-sym.h> and <bp-asm.h>.
23536 (memcpy): Don't use BP_SYM.
23537 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23539 (memcpy): Don't use BP_SYM.
23540 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23542 (memset): Don't use BP_SYM.
23543 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23544 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23545 (__bzero): Don't use BP_SYM.
23546 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23547 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23548 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23549 <bp-sym.h> and <bp-asm.h>.
23550 (memcmp): Don't use BP_SYM. Remove comment about bounded
23552 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23553 <bp-sym.h> and <bp-asm.h>.
23554 (memcpy): Don't use BP_SYM.
23555 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23556 <bp-sym.h> and <bp-asm.h>.
23557 (memset): Don't use BP_SYM.
23558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23560 (__bzero): Don't use BP_SYM.
23561 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23562 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23563 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23564 <bp-sym.h> and <bp-asm.h>.
23565 (strncmp): Don't use BP_SYM. Remove comment about bounded
23567 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23568 <bp-sym.h> and <bp-asm.h>.
23569 (memcpy): Don't use BP_SYM.
23570 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23571 <bp-sym.h> and <bp-asm.h>.
23572 (memset): Don't use BP_SYM.
23573 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23574 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23575 (__bzero): Don't use BP_SYM.
23576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23579 <bp-sym.h> and <bp-asm.h>.
23580 (__memchr): Don't use BP_SYM.
23581 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23582 <bp-sym.h> and <bp-asm.h>.
23583 (memcmp): Don't use BP_SYM. Remove comment about bounded
23585 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23586 <bp-sym.h> and <bp-asm.h>.
23587 (memcpy): Don't use BP_SYM.
23588 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23589 <bp-sym.h> and <bp-asm.h>.
23590 (__mempcpy): Don't use BP_SYM.
23591 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23592 <bp-sym.h> and <bp-asm.h>.
23593 (__memrchr): Don't use BP_SYM.
23594 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23595 <bp-sym.h> and <bp-asm.h>.
23596 (memset): Don't use BP_SYM.
23597 (__bzero): Likewise.
23598 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23599 <bp-sym.h> and <bp-asm.h>.
23600 (__rawmemchr): Don't use BP_SYM.
23601 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23602 <bp-sym.h> and <bp-asm.h>.
23603 (__STRCMP): Don't use BP_SYM.
23604 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23605 <bp-sym.h> and <bp-asm.h>.
23606 (strchr): Don't use BP_SYM.
23607 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23608 <bp-sym.h> and <bp-asm.h>.
23609 (__strchrnul): Don't use BP_SYM.
23610 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23611 <bp-sym.h> and <bp-asm.h>.
23612 (strlen): Don't use BP_SYM.
23613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23614 <bp-sym.h> and <bp-asm.h>.
23615 (strncmp): Don't use BP_SYM. Remove comment about bounded
23617 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23618 <bp-sym.h> and <bp-asm.h>.
23619 (__strnlen): Don't use BP_SYM.
23620 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23621 <bp-sym.h> and <bp-asm.h>.
23622 (__GI__setjmp): Don't use BP_SYM.
23623 (_setjmp): Likewise.
23624 (__sigsetjmp): Likewise.
23625 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23626 (L(start_addresses)): Don't use BP_SYM.
23627 (_start): Likewise.
23628 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23630 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23631 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23632 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23633 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23634 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23636 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23637 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23638 about bounded pointers.
23639 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23640 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23641 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23643 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23644 about bounded pointers. Remove GKM FIXME comments.
23645 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23646 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23648 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23649 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23650 Remove GKM FIXME comments.
23651 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23652 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23653 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23655 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23656 about bounded pointers. Remove GKM FIXME comment.
23657 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23659 (strncmp): Don't use BP_SYM. Remove comment about bounded
23661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23662 <bp-sym.h> and <bp-asm.h>.
23663 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23665 <bp-sym.h> and <bp-asm.h>.
23666 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23669 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23671 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23674 2013-03-05 David S. Miller <davem@davemloft.net>
23676 * po/es.po: Update from translation team.
23678 2013-03-05 Andreas Jaeger <aj@suse.de>
23680 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23681 <bits/mman-linux.h>.
23682 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23685 <bits/mman-linux.h> to end of file.
23686 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23688 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23689 <bits/mman-linux.h> to end of file.
23690 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23692 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23693 <bits/mman-linux.h> to end of file.
23695 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23696 (MCL_CURRENT, MCL_FUTURE): Define here.
23698 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23705 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23707 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23708 fourth parameter needed for rt_sigprocmask syscall.
23709 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23710 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23711 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23712 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23713 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23714 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23716 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23719 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23720 comment about bounded pointers.
23721 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23722 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23724 2013-03-04 Andreas Jaeger <aj@suse.de>
23726 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23727 common definitions.
23729 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23730 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23731 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23732 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23733 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23736 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23739 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23740 __ieee754_sqrl instead of __sqrl.
23742 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23744 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23745 * sysdeps/powerpc/fpu_control.h: ... here.
23746 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23747 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23748 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23749 * sysdeps/powerpc/bits/mathinline.h: ... here.
23751 2013-03-01 Roland McGrath <roland@hack.frob.com>
23753 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23754 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23755 to just [NEED_DL_SYSINFO_DSO].
23756 * elf/dl-support.c: Likewise.
23757 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23758 * elf/rtld.c (dl_main): Likewise.
23759 * elf/setup-vdso.h (setup_vdso): Likewise.
23760 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23761 * sysdeps/unix/sysv/linux/dl-sysdep.c
23762 (_dl_discover_osversion): Likewise.
23764 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23766 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23767 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23769 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23771 * NEWS: Mention libm performance improvements and non-x86 PI
23774 * csu/libc-start.c (__pthread_initialize_minimal): Change
23775 function arguments.
23776 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23778 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23781 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23782 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23783 <bp-sym.h> and <bp-asm.h>.
23784 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23785 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23787 (memcpy): Don't use BP_SYM.
23788 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23790 (__mpn_add_n): Don't use BP_SYM.
23791 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23792 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23794 (__mpn_addmul_1): Don't use BP_SYM.
23795 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23796 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23798 (_setjmp): Don't use BP_SYM.
23799 (__novmx_setjmp): Likewise.
23800 (__GI__setjmp): Likewise.
23801 (__vmx_setjmp): Likewise.
23802 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23804 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23805 (__bzero): Don't use BP_SYM.
23806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23808 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23809 <bp-sym.h> and <bp-asm.h>.
23810 (memcpy): Don't use BP_SYM.
23811 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23812 <bp-sym.h> and <bp-asm.h>.
23813 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23814 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23815 <bp-sym.h> and <bp-asm.h>.
23816 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23817 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23819 (__mpn_lshift): Don't use BP_SYM.
23820 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23821 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23823 (memset): Don't use BP_SYM.
23824 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23825 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23826 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23828 (__mpn_mul_1): Don't use BP_SYM.
23829 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23830 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23831 <bp-sym.h> and <bp-asm.h>.
23832 (memcmp): Don't use BP_SYM.
23833 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23834 <bp-sym.h> and <bp-asm.h>.
23835 (memcpy): Don't use BP_SYM.
23836 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23837 <bp-sym.h> and <bp-asm.h>.
23838 (memset): Don't use BP_SYM.
23839 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23840 <bp-sym.h> and <bp-asm.h>.
23841 (strncmp): Don't use BP_SYM.
23842 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23843 <bp-sym.h> and <bp-asm.h>.
23844 (memcpy): Don't use BP_SYM.
23845 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23846 <bp-sym.h> and <bp-asm.h>.
23847 (memset): Don't use BP_SYM.
23848 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23849 <bp-sym.h> and <bp-asm.h>.
23850 (__memchr): Don't use BP_SYM.
23851 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23852 <bp-sym.h> and <bp-asm.h>.
23853 (memcmp): Don't use BP_SYM.
23854 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23855 <bp-sym.h> and <bp-asm.h>.
23856 (memcpy): Don't use BP_SYM.
23857 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23858 <bp-sym.h> and <bp-asm.h>.
23859 (__mempcpy): Don't use BP_SYM.
23860 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23861 <bp-sym.h> and <bp-asm.h>.
23862 (__memrchr): Don't use BP_SYM.
23863 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23864 <bp-sym.h> and <bp-asm.h>.
23865 (memset): Don't use BP_SYM.
23866 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23867 <bp-sym.h> and <bp-asm.h>.
23868 (__rawmemchr): Don't use BP_SYM.
23869 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23870 <bp-sym.h> and <bp-asm.h>.
23871 (__STRCMP): Don't use BP_SYM.
23872 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23873 <bp-sym.h> and <bp-asm.h>.
23874 (strchr): Don't use BP_SYM.
23875 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23876 <bp-sym.h> and <bp-asm.h>.
23877 (__strchrnul): Don't use BP_SYM.
23878 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23879 <bp-sym.h> and <bp-asm.h>.
23880 (strlen): Don't use BP_SYM.
23881 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23882 <bp-sym.h> and <bp-asm.h>.
23883 (strncmp): Don't use BP_SYM.
23884 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23885 <bp-sym.h> and <bp-asm.h>.
23886 (__strnlen): Don't use BP_SYM.
23887 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23889 (__mpn_rshift): Don't use BP_SYM.
23890 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23891 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23892 <bp-sym.h> and <bp-asm.h>.
23893 (__sigsetjmp): Don't use BP_SYM.
23894 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23895 (L(start_addresses)): Don't use BP_SYM.
23896 (_start): Likewise.
23897 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23899 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23900 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23901 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23902 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23904 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23905 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23906 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23907 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23909 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23911 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23912 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23914 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23916 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23917 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23918 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23920 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23922 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23924 (strncmp): Don't use BP_SYM,
23925 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23927 (__mpn_sub_n): Don't use BP_SYM.
23928 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23929 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23931 (__mpn_submul_1): Don't use BP_SYM.
23932 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23934 <bp-sym.h> and <bp-asm.h>.
23935 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23937 <bp-sym.h> and <bp-asm.h>.
23938 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23941 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23944 Use ZK to minimize writes to Z.
23945 (sub_magnitudes): Simplify code a bit.
23946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23947 Use ZK to minimize writes to Z.
23948 (sub_magnitudes): Simplify code a bit.
23950 2013-02-27 Roland McGrath <roland@hack.frob.com>
23952 * csu/gmon-start.c: Add special exception to license text.
23954 2013-02-27 Richard Henderson <rth@redhat.com>
23956 * scripts/config.guess: Update from config.git.
23957 * scripts/config.sub: Likewise.
23959 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23961 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23963 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23965 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23967 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23969 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23971 2013-02-26 Roland McGrath <roland@hack.frob.com>
23973 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23974 [$(build-shared = yes].
23976 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23978 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23979 (__mul): Reduce iterations for calculating mantissa.
23981 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23983 (__mpranred): Likewise.
23986 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23987 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23989 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23991 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23992 Define __attribute__.
23994 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23996 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23998 * posix/regex_internal.h (__attribute): Remove.
23999 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24000 (re_string_context_at): Likewise.
24001 (bitset_not): Use __attribute__ and mark function as possibly
24003 (bitset_merge): Likewise.
24004 (bitset_mask): Likewise.
24005 (re_string_char_size_at): Likewise.
24006 (re_string_wchar_at): Likewise.
24007 (re_string_elem_size_at): Likewise.
24009 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24011 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24015 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24019 (denorm): Likewise.
24020 (__dbl_mp): Likewise.
24021 (add_magnitudes): Likewise.
24022 (sub_magnitudes): Likewise.
24026 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24029 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24032 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24036 up changes with default code.
24037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24040 2013-02-24 Allan McRae <allan@archlinux.org>
24042 * manual/socket.texi (The Internet Namespace): Order menu items
24043 to match that in the file.
24045 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24046 node listing of the info page menu.
24048 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24051 * sysdeps/i386/bp-asm.h: Remove file.
24052 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24053 (PARMS): Do not use macros from bp-asm.h.
24057 (__mpn_add_n): Do not use BP_SYM
24058 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24060 (PARMS): Do not use macros from bp-asm.h.
24063 (__mpn_addmul_1): Do not use BP_SYM
24064 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24066 (PARMS): Do not use macros from bp-asm.h.
24067 (SIGMSK): Likewise.
24068 (_setjmp): Likewise. Do not use BP_SYM.
24069 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24071 (PARMS): Do not use macros from bp-asm.h.
24072 (SIGMSK): Likewise.
24073 (setjmp): Likewise. Do not use BP_SYM.
24074 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24076 (PARMS): Do not use macros from bp-asm.h.
24077 (__frexp): Do not use BP_SYM.
24079 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24081 (PARMS): Do not use macros from bp-asm.h.
24082 (__frexpf): Do not use BP_SYM.
24083 (frexpf): Likewise.
24084 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24086 (PARMS): Do not use macros from bp-asm.h.
24087 (__frexpl): Do not use BP_SYM.
24088 (frexpl): Likewise.
24089 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24091 (PARMS): Do not use macros from bp-asm.h.
24092 (__remquo): Do not use BP_SYM.
24093 (remquo): Likewise.
24094 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24096 (PARMS): Do not use macros from bp-asm.h.
24097 (__remquof): Do not use BP_SYM.
24098 (remquof): Likewise.
24099 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24101 (PARMS): Do not use macros from bp-asm.h.
24102 (__remquol): Do not use BP_SYM.
24103 (remquol): Likewise.
24104 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24106 (PARMS): Do not use macros from bp-asm.h.
24109 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24110 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24112 (PARMS): Do not use macros from bp-asm.h.
24113 (strlen): Do not use BP_SYM.
24114 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24116 (PARMS): Do not use macros from bp-asm.h.
24120 (__mpn_add_n): Do not use BP_SYM.
24121 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24123 (PARMS): Do not use macros from bp-asm.h.
24126 (__mpn_addmul_1): Do not use BP_SYM.
24127 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24130 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24132 (PARMS): Do not use macros from bp-asm.h.
24135 (__mpn_lshift): Do not use BP_SYM.
24136 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24138 (PARMS): Do not use macros from bp-asm.h.
24142 (memcpy): Likewise. Do not use BP_SYM.
24143 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24144 libc_hidden_def and weak_alias.
24145 (mempcpy): Do not use BP_SYM in weak_alias.
24146 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24148 (PARMS): Do not use macros from bp-asm.h.
24151 [!BZERO_P] (CHR): Likewise.
24152 (memset): Likewise. Do not use BP_SYM.
24153 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24155 (PARMS): Do not use macros from bp-asm.h.
24158 (__mpn_mul_1): Do not use BP_SYM.
24159 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24161 (PARMS): Do not use macros from bp-asm.h.
24164 (__mpn_rshift): Do not use BP_SYM.
24165 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24167 (PARMS): Do not use macros from bp-asm.h.
24170 (strchr): Likewise. Do not use BP_SYM.
24171 (index): Do not use BP_SYM in weak_alias.
24172 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24174 (PARMS): Do not use macros from bp-asm.h.
24177 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24178 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24180 (PARMS): Do not use macros from bp-asm.h.
24181 (strlen): Do not use BP_SYM.
24182 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24184 (PARMS): Do not use macros from bp-asm.h.
24188 (__mpn_sub_n): Do not use BP_SYM.
24189 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24191 (PARMS): Do not use macros from bp-asm.h.
24194 (__mpn_submul_1): Do not use BP_SYM.
24195 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24197 (PARMS): Do not use macros from bp-asm.h.
24201 (__mpn_add_n): Do not use BP_SYM.
24202 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24205 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24207 (PARMS): Do not use macros from bp-asm.h.
24210 (memcmp): Do not use BP_SYM.
24211 (bcmp): Do not use BP_SYM in weak_alias.
24212 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24214 (PARMS): Do not use macros from bp-asm.h.
24218 (memcpy): Likewise. Do not use BP_SYM.
24219 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24221 (PARMS): Do not use macros from bp-asm.h.
24225 (memmove): Likewise. Do not use BP_SYM.
24226 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24228 (PARMS): Do not use macros from bp-asm.h.
24232 (__mempcpy): Likewise. Do not use BP_SYM.
24233 (mempcpy): Do not use BP_SYM in weak_alias.
24234 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24236 (PARMS): Do not use macros from bp-asm.h.
24239 [!BZERO_P] (CHR): Likewise.
24240 (memset): Likewise. Do not use BP_SYM.
24241 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24243 (PARMS): Do not use macros from bp-asm.h.
24245 (strcmp): Do not use BP_SYM.
24246 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24248 (PARMS): Do not use macros from bp-asm.h.
24251 [USE_AS_STRTOK_R] (SAVE): Likewise.
24252 (FUNCTION): Likewise. Do not use BP_SYM.
24253 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24255 (strtok_r): Likewise.
24256 (__GI___strtok_r): Likewise.
24257 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24258 (PARMS): Do not use macros from bp-asm.h.
24261 (__mpn_lshift): Do not use BP_SYM.
24262 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24263 (PARMS): Do not use macros from bp-asm.h.
24266 (__memchr): Do not use BP_SYM.
24267 (memchr): Do not use BP_SYM in weak_alias.
24268 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24269 (PARMS): Do not use macros from bp-asm.h.
24272 (memcmp): Do not use BP_SYM.
24273 (bcmp): Do not use BP_SYM in weak_alias.
24274 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24275 (PARMS): Do not use macros from bp-asm.h.
24278 (__mpn_mul_1): Do not use BP_SYM.
24279 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24281 (PARMS): Do not use macros from bp-asm.h.
24284 (__rawmemchr): Do not use BP_SYM.
24285 (rawmemchr): Do not use BP_SYM in weak_alias.
24286 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24287 (PARMS): Do not use macros from bp-asm.h.
24290 (__mpn_rshift): Do not use BP_SYM.
24291 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24292 (PARMS): Do not use macros from bp-asm.h.
24293 (SIGMSK): Likewise.
24294 (__sigsetjmp): Likewise. Do not use BP_SYM.
24295 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24296 (_start): Do not use BP_SYM.
24297 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24298 (PARMS): Do not use macros from bp-asm.h.
24301 (__stpcpy): Likewise. Do not use BP_SYM.
24302 (stpcpy): Do not use BP_SYM in weak_alias.
24303 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24305 (PARMS): Do not use macros from bp-asm.h.
24309 (__stpncpy): Likewise. Do not use BP_SYM.
24310 (stpncpy): Do not use BP_SYM in weak_alias.
24311 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24312 (PARMS): Do not use macros from bp-asm.h.
24315 (strchr): Likewise. Do not use BP_SYM.
24316 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24318 (PARMS): Do not use macros from bp-asm.h.
24321 (__strchrnul): Likewise. Do not use BP_SYM.
24322 (strchrnul): Do not use BP_SYM in weak_alias.
24323 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24325 (PARMS): Do not use macros from bp-asm.h.
24327 (strcspn): Do not use BP_SYM.
24328 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24330 (PARMS): Do not use macros from bp-asm.h.
24333 (strpbrk): Likewise. Do not use BP_SYM.
24334 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24336 (PARMS): Do not use macros from bp-asm.h.
24339 (strrchr): Likewise. Do not use BP_SYM.
24340 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24341 (PARMS): Do not use macros from bp-asm.h.
24343 (strspn): Do not use BP_SYM.
24344 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24345 (PARMS): Do not use macros from bp-asm.h.
24349 (FUNCTION): Likewise. Do not use BP_SYM.
24350 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24352 (strtok_r): Likewise.
24353 (__GI___strtok_r): Likewise.
24354 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24355 (PARMS): Do not use macros from bp-asm.h.
24359 (__mpn_sub_n): Do not use BP_SYM.
24360 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24362 (PARMS): Do not use macros from bp-asm.h.
24365 (__mpn_submul_1): Do not use BP_SYM.
24366 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24368 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24370 (PARMS): Do not use macros from bp-asm.h.
24375 (__clone): Do not use BP_SYM.
24376 (clone): Do not use BP_SYM in weak_alias.
24377 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24379 (PARMS): Do not use macros from bp-asm.h.
24381 (__mmap64): Do not use BP_SYM.
24382 (mmap64): Do not use BP_SYM in weak_alias.
24383 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24384 <bp-sym.h> and <bp-asm.h>.
24385 (PARMS): Do not use macros from bp-asm.h.
24386 (__posix_fadvise64_l64): Do not use BP_SYM.
24387 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24388 (PARMS): Do not use macros from bp-asm.h.
24390 (semtimedop): Do not use BP_SYM.
24391 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24394 2013-02-21 Allan McRae <allan@archlinux.org>
24396 * manual/message.texi (Charset conversion in gettext):
24397 Move @end statement to beginning of line.
24399 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24406 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24407 (denorm): Likewise.
24408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24411 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24413 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24414 tail-call to the resolved function if pltexit isn't needed.
24416 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24419 or Y being zero as being unlikely.
24420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24423 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24425 * manual/nss.texi (System Databases and Name Service Switch):
24426 Remove frobnicate @pxref.
24428 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24430 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24431 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24433 2013-02-20 Petr Machata <pmachata@redhat.com>
24435 * elf/elf.h (R_ARM_TARGET1): New macro.
24436 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24437 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24438 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24439 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24440 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24441 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24442 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24443 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24444 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24445 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24446 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24447 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24448 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24449 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24450 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24451 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24452 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24453 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24454 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24455 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24456 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24457 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24458 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24459 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24460 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24461 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24462 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24463 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24464 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24465 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24466 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24467 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24468 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24469 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24470 (R_ARM_THM_GOT_BREL12): Likewise.
24471 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24472 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24473 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24474 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24475 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24476 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24477 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24478 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24479 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24481 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24483 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24484 __attribute_used__ to __attribute__ ((unused)).
24486 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24488 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24491 comment formatting.
24492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24494 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24497 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24499 (ENTER): Remove both macro definitions.
24501 (CHECK_BOUNDS_LOW): Likewise.
24502 (CHECK_BOUNDS_HIGH): Likewise.
24503 (CHECK_BOUNDS_BOTH): Likewise.
24504 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24505 (RETURN_BOUNDED_POINTER): Likewise.
24506 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24507 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24508 (POP_ERRNO_LOCATION_RETURN): Likewise.
24509 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24510 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24511 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24513 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24514 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24515 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24516 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24517 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24518 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24519 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24520 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24521 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24522 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24523 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24524 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24525 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24526 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24528 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24529 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24531 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24532 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24533 * sysdeps/i386/i586/memset.S (memset): Likewise.
24534 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24535 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24536 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24538 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24539 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24540 Change uses of L(2) to L(out).
24541 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24542 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24543 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24544 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24545 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24547 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24548 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24550 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24551 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24552 (RETURN): Do not use macro LEAVE.
24553 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24554 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24555 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24556 * sysdeps/i386/i686/memset.S (memset): Likewise.
24557 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24558 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24559 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24560 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24562 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24563 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24564 L(1_2) and L(1_3) into L(1).
24565 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24566 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24567 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24568 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24569 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24570 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24571 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24572 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24573 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24575 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24576 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24577 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24578 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24579 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24580 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24581 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24582 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24583 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24584 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24585 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24586 * sysdeps/i386/strspn.S (strspn): Likewise.
24587 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24589 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24590 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24591 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24592 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24593 L(1_3) into L(1_1).
24594 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24595 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24596 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24598 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24600 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24602 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24605 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24607 * math/atest-exp.c (exp_mpn): Remove ROUND.
24608 * math/atest-exp2.c (exp_mpn): Likewise.
24609 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24611 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24612 * stdlib/tst-tls-atexit-lib.c: Likewise.
24613 * stdlib/tst-tls-atexit.c: Likewise.
24615 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24617 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24618 and __attribute_alloc_size__.
24620 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24622 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24623 __attribute_alloc_size__.
24624 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24625 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24627 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24629 * include/programs/xmalloc.h: New file.
24630 * catgets/gencat.c: Include it.
24631 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24632 * elf/pldd.c: Likewise.
24633 * iconv/iconv_charmap.c: Likewise.
24634 * iconv/iconvconfig.c: Likewise.
24635 * iconv/strtab.c: Likewise.
24636 * locale/programs/locale.c: Likewise.
24637 * locale/programs/localedef.h: Likewise.
24638 * locale/programs/simple-hash.c: Likewise.
24639 * nscd/nscd.h: Likewise.
24640 * nss/makedb.c: Likewise.
24641 * sysdeps/generic/ldconfig.h: Likewise.
24643 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24645 * Versions.def: Add GLIBC_2.18.
24646 * include/link.h (struct link_map): New member l_tls_dtor_count.
24647 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24648 (__call_tls_dtors): Likewise.
24649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24650 __cxa_thread_atexit_impl.
24651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24659 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24667 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24668 (tests): Add test case tst-tls-atexit.
24669 (modules-names): Add shared library for tst-tls-atexit.
24670 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24671 (GLIBC_PRIVATE): Add __call_tls_dtors.
24672 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24674 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24675 * stdlib/tst-tls-atexit.c: New test case.
24676 * stdlib/tst-tls-atexit-lib.c: New test case.
24678 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24680 * elf/Versions (ld): Add _dl_find_dso_for_object.
24681 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24682 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24683 (dl_open_worker): Use _dl_find_dso_for_object.
24684 * elf/dl-sym.c (do_sym): Likewise.
24685 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24687 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24689 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24690 Syntactic changes only.
24691 (_dl_runtime_profile): Do a tail-call to the resolved function.
24693 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24696 * sysdeps/x86_64/bp-asm.h: Remove file.
24697 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24698 <bp-sym.h> and <bp-asm.h>.
24699 (__clone): Do not use BP_SYM.
24700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24701 <bp-sym.h> and <bp-asm.h>.
24702 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24703 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24705 (_setjmp): Do not use BP_SYM.
24706 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24708 (setjmp): Do not use BP_SYM.
24709 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24711 (mempcpy): Do not use BP_SYM in weak_alias.
24712 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24714 (strchr): Do not use BP_SYM.
24715 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24717 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24718 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24719 (_start): Do not use BP_SYM.
24720 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24722 (strcat): Do not use BP_SYM.
24723 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24725 (STRCMP): Do not use BP_SYM.
24726 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24728 (STRCPY): Do not use BP_SYM.
24729 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24731 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24733 (FUNCTION): Do not use BP_SYM.
24734 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24736 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24738 2013-02-17 Andreas Jaeger <aj@suse.de>
24740 * time/Versions: Sort entries.
24741 * string/Versions: Likewise.
24742 * resolv/Versions: Likewise.
24743 * posix/Versions: Likewise.
24744 * iconv/Versions: Likewise.
24745 * elf/Versions: Likewise.
24746 * wcsmbs/Versions: Likewise.
24748 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24750 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24751 loop termination condition.
24753 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24754 variable to calculate EZ.
24757 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24758 the lower precision input.
24760 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24763 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24764 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24765 (run-via-rtld-prefix): Do not handle %-bp tests.
24766 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24767 (all-object-suffixes): Remove .ob.
24768 (bppfx): Remove variable.
24769 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24770 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24771 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24772 [$(build-bounded) = yes] (libtype.ob): Likewise.
24773 * Makerules (elide-routines.ob): Remove variable.
24774 (do-tests-clean): Do not handle *-bp.out.
24775 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24776 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24777 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24778 (tests): Do not include $(tests-bp.out).
24779 (xtests): Do not include $(xtests-bp.out).
24780 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24781 [$(build-bounded) = yes] ($(addprefix
24782 $(objpfx),$(binaries-bounded))): Remove rule.
24783 ($(objpfx)%-bp.out): Remove rule.
24784 * config.make.in (build-bounded): Remove variable.
24785 * crypt/Makefile [$(build-bounded) = yes]
24786 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24787 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24788 append to variable.
24789 [$(build-bounded) = yes] (install-lib): Likewise.
24790 [$(build-bounded) = yes] (generated): Likewise.
24791 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24793 * intl/Makefile [$(build-bounded) = yes]
24794 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24795 * math/Makefile [$(build-bounded) = yes]
24796 ($(tests:%=$(objpfx)%-bp): Likewise.
24797 * misc/Makefile [$(build-bounded) = yes]
24798 ($(objpfx)tst-tsearch-bp): Likewise.
24799 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24800 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24802 * string/Makefile (o-objects.ob): Remove variable.
24803 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24804 (CFLAGS-.ob): Remove variable.
24805 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24806 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24807 both definitions of variable.
24808 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24809 (ASFLAGS-.ob): Remove variable.
24811 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24814 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24815 Remove __BOUNDED_POINTERS__ from condition.
24816 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24817 * string/bits/string2.h [!__NO_STRING_INLINES &&
24818 !__BOUNDED_POINTERS__]: Likewise.
24819 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24821 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24822 Remove conditional code.
24823 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24824 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24825 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24829 * csu/libc-start.c: Do not include <bp-sym.h>.
24830 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24831 * elf/dl-open.c: Do not include <bp-sym.h>.
24832 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24833 * math/fegetenv.c: Do not include <bp-sym.h>.
24834 (fegetenv): Do not use BP_SYM in versioned symbols.
24835 * nptl/sysdeps/pthread/bits/libc-lockP.h
24836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24839 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24841 (__pthread_mutex_destroy): Likewise.
24842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24843 (__pthread_mutex_lock): Likewise.
24844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24845 (__pthread_mutex_trylock): Likewise.
24846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24847 (__pthread_mutex_unlock): Likewise.
24848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24849 (__pthread_mutexattr_init): Likewise.
24850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24851 (__pthread_mutexattr_destroy): Likewise.
24852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24853 (__pthread_mutexattr_settype): Likewise.
24854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24855 (__pthread_rwlock_init): Likewise.
24856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24857 (__pthread_rwlock_destroy): Likewise.
24858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24859 (__pthread_rwlock_rdlock): Likewise.
24860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24861 (__pthread_rwlock_tryrdlock): Likewise.
24862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24863 (__pthread_rwlock_wrlock): Likewise.
24864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24865 (__pthread_rwlock_trywrlock): Likewise.
24866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24867 (__pthread_rwlock_unlock): Likewise.
24868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24869 (__pthread_key_create): Likewise.
24870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24871 (__pthread_setspecific): Likewise.
24872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24873 (__pthread_getspecific): Likewise.
24874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24877 (_pthread_cleanup_push_defer): Likewise.
24878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24879 (_pthread_cleanup_pop_restore): Likewise.
24880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24881 (pthread_setcancelstate): Likewise.
24882 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24884 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24885 (memchr): Do not use BP_SYM in weak_alias.
24886 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24887 (fegetenv): Do not use BP_SYM in versioned symbols.
24888 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24889 (fesetenv): Do not use BP_SYM in versioned symbols.
24890 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24891 (feupdateenv): Do not use BP_SYM in versioned symbols.
24892 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24893 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24894 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24895 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24896 (open64): Do not use BP_SYM in weak_alias.
24897 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24898 (fegetenv): Do not use BP_SYM in versioned symbols.
24899 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24900 (fesetenv): Do not use BP_SYM in versioned symbols.
24901 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24902 (feupdateenv): Do not use BP_SYM in versioned symbols.
24903 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24904 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24905 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24906 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24907 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24908 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24909 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24911 (__libc_start_main): Do not use BP_SYM.
24913 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24916 redundant return line.
24918 (denorm): Likewise.
24919 (dbl_mp): Likewise.
24920 (sub_magnitudes): Likewise.
24926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24928 (denorm): Likewise.
24929 (dbl_mp): Likewise.
24930 (sub_magnitudes): Likewise.
24937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24939 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24940 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24943 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24944 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24946 of __mul for squares.
24947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24951 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24952 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24954 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24957 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24959 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24960 prototype or function definition. Rename ubp_* variables and
24961 parameters. Remove argv definitions conditional on
24962 [__BOUNDED_POINTERS__].
24963 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24964 * elf/dl-runtime.c (_dl_fixup): Likewise.
24965 * include/set-hooks.h (RUN_HOOK): Likewise.
24966 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24968 * string/strcpy.c (strcpy): Do not use __unbounded.
24969 * sysdeps/generic/frame.h (struct layout): Likewise.
24970 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24971 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24972 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24973 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24974 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24975 (__backtrace): Likewise.
24976 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24978 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24979 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24980 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24982 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24983 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24984 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24985 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24986 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24987 Do not use __unbounded.
24988 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24989 Rename __unboundedrlimits parameter to rlimits in prototype.
24990 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24991 Do not use __unbounded.
24992 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24993 not use __ptrvalue.
24994 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24995 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24996 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24997 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24998 __ptrvalue or __unbounded.
24999 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25000 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25002 (__new_msgctl): Do not use __ptrvalue.
25003 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25005 (__libc_msgrcv): Do not use __ptrvalue.
25006 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25007 startup_info): Do not use __unbounded.
25008 (__libc_start_main): Likewise. Rename ubp_* variables and
25009 parameters. Remove argv definitions conditional on
25010 [__BOUNDED_POINTERS__].
25011 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25013 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25015 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25017 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25019 (__new_shmctl): Do not use __ptrvalue.
25020 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25021 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25023 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25025 (__libc_sigaction): Likewise.
25026 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25027 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25029 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25031 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25033 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25035 * string/mempcpy.c: Implement by calling memcpy.
25037 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25041 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25044 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25045 values in the mantissa.
25047 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25048 minimize writes to Z.
25049 (sub_magnitudes): Simplify code a bit.
25051 2013-02-12 Roland McGrath <roland@hack.frob.com>
25053 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25054 from the message. The linker prefixes all warnings with that already.
25056 2013-02-12 Andreas Schwab <schwab@suse.de>
25059 * posix/regexec.c (extend_buffers): Add parameter min_len.
25060 (check_matching): Pass minimum needed length.
25061 (clean_state_log_if_needed): Likewise.
25062 (get_subexp): Likewise.
25063 * posix/Makefile (tests): Add bug-regex34.
25064 (bug-regex34-ENV): Define.
25065 * posix/bug-regex34.c: New file.
25068 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25069 elements compare against the byte sequence of it, not its name.
25070 * posix/Makefile (tests): Add bug-regex35.
25071 (bug-regex35-ENV): Define.
25072 * posix/bug-regex35.c: New file.
25074 2013-02-11 Tom de Vries <tom@codesourcery.com>
25076 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25078 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25079 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25080 (CHECK_EOL): Add undef.
25082 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25084 * bits/stdlib-bsearch.h: New file.
25085 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25086 * stdlib/stdlib.h: Likewise.
25088 2013-02-11 Roland McGrath <roland@hack.frob.com>
25090 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25091 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25093 * manual/search.texi (Array Search Function): Add missing const in
25095 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25096 declaration to use rlim_t.
25097 (Basic Scheduling Functions): Remove erroneous const from
25098 sched_getparam prototype. Remove erroneous * from
25099 sched_get_priority_max and sched_get_priority_min prototypes.
25100 (Resource Usage): Fix summary @comment on vtimes to refer to
25101 sys/vtimes.h rather than vtimes.h.
25102 Add missing *s in vtimes prototype.
25103 (Limits on Resources): Fix ulimit prototype to return long int.
25104 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25105 prototypes to use long int rather than double.
25106 (BSD Random): Fix initstate and setstate to use char *, not void *.
25107 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25108 prototype to make second argument 'struct aiocb64 *const[]'.
25109 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25110 (Status of AIO Operations): Remove erroneous const in aio_return and
25111 aio_return64 prototypes.
25112 (Synchronizing I/O): Fix sync prototype to return void.
25113 * manual/startup.texi (Suboptions): Remove an erroneous const in
25114 getsubopt prototype.
25115 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25116 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25117 use size_t rather than int.
25118 (Scanning All Users): Likewise for getpwent_r.
25119 (Setting Groups): Add missing const to setgroups prototype.
25120 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25121 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25122 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25123 'const void *' rather than 'const char *'.
25124 (Host Address Functions): Likewise for inet_ntop.
25125 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25126 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25127 ssize_t for return value.
25128 (Sending Data): Likewise for send, sendto, sendmsg.
25129 (Socket Option Functions): Add a missing const in setsockopt prototype.
25130 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25131 use wchar_t for the argument.
25132 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25133 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25135 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25136 double/float/long double for second argument.
25137 Fix return types of significand, significandf, significandl.
25138 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25139 argument in fchmod prototype.
25140 (File Owner): Use uid_t and gid_t in fchown prototype.
25141 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25142 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25143 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25144 use 'const struct dirent **' as argument types to CMP function pointer
25146 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25147 (File Times): Fix summary magic @comment for struct utimbuf and utime
25148 to refer to utime.h, not time.h.
25149 * manual/string.texi (Argz Functions): Add missing const in
25150 argz_extract and argz_next prototypes.
25151 (Finding Tokens in a String): Likewise for basename.
25152 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25153 (Copying and Concatenation): Fix typo in wmemmove prototype.
25154 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25155 (Signal Stack): Remove erroneous const in sigstack prototype.
25156 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25158 (Simple Calendar Time): Likewise for stime.
25159 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25161 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25162 say sys/sysctl.h instead.
25163 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25164 and vsyslog prototypes.
25166 2013-02-11 Tom de Vries <tom@codesourcery.com>
25168 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25171 2013-02-11 Roland McGrath <roland@hack.frob.com>
25173 * misc/sys/mman.h: Fix typo in mremap comment.
25175 2013-02-08 Roland McGrath <roland@hack.frob.com>
25177 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25178 the '\0' terminator.
25180 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25183 * debug/segfault.c: Don't include <bp-checks.h>.
25184 * sysdeps/generic/bp-checks.h: Remove file.
25185 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25186 (__GETDENTS): Don't use CHECK_N.
25187 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25188 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25189 (__getgroups): Don't use CHECK_N.
25190 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25191 (setgroups): Don't use CHECK_N.
25192 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25193 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25194 (__libc_msgrcv): Don't use CHECK_N.
25195 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25196 (__libc_msgsnd): Don't use CHECK_N.
25197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25199 (__libc_pread): Don't use CHECK_N.
25200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25201 include <bp-checks.h>.
25202 (__libc_pread64): Don't use CHECK_N.
25203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25204 include <bp-checks.h>.
25205 (__libc_pwrite): Don't use CHECK_N.
25206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25207 include <bp-checks.h>.
25208 (__libc_pwrite64): Don't use CHECK_N.
25209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25211 (__libc_pread): Don't use CHECK_N.
25212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25213 include <bp-checks.h>.
25214 (__libc_pread64): Don't use CHECK_N.
25215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25216 include <bp-checks.h>.
25217 (__libc_pwrite): Don't use CHECK_N.
25218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25219 include <bp-checks.h>.
25220 (__libc_pwrite64): Don't use CHECK_N.
25221 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25222 (do_pread): Don't use CHECK_N.
25223 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25224 (do_pread64): Don't use CHECK_N.
25225 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25226 (do_pwrite): Don't use CHECK_N.
25227 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25228 (do_pwrite64): Don't use CHECK_N.
25229 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25230 (__libc_readv): Don't use CHECK_N.
25231 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25232 (semop): Don't use CHECK_N.
25233 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25235 (semtimedop): Don't use CHECK_N.
25236 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25237 (__libc_pread): Don't use CHECK_N.
25238 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25240 (__libc_pread64): Don't use CHECK_N.
25241 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25243 (__libc_pwrite): Don't use CHECK_N.
25244 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25246 (__libc_pwrite64): Don't use CHECK_N.
25247 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25249 (__libc_msgrcv): Don't use CHECK_N.
25250 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25251 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25252 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25253 (__libc_writev): Don't use CHECK_N.
25255 2013-02-08 Roland McGrath <roland@hack.frob.com>
25257 * string/strcpy.c: Removed unused variable.
25259 * Makeconfig (+sysdep-includes): Define with := rather than =.
25260 Use an existing include/ subdir of each sysdeps dir before it.
25262 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25264 * nscd/connection.c (register_traced_file): Comment function.
25265 [HAVE_INOTIFY] (union __inev): Define.
25266 [HAVE_INOTIFY] (inotify_check_files): New function.
25267 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25268 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25270 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25272 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25274 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25275 loaded if not already and that a failure is permanent.
25277 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25280 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25281 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25283 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25286 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25287 (CHECK_1_NULL_OK): Likewise.
25288 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25289 (__fxstat): Do not use CHECK_1.
25290 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25292 (___fxstat64): Do not use CHECK_1.
25293 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25295 (__fxstatat): Do not use CHECK_1.
25296 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25298 (__fxstatat64): Do not use CHECK_1.
25299 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25301 (__fxstat): Do not use CHECK_1.
25302 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25304 (__fxstatat): Do not use CHECK_1.
25305 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25307 (__getresgid): Do not use CHECK_1.
25308 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25310 (__getresuid): Do not use CHECK_1.
25311 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25313 (__lxstat): Do not use CHECK_1.
25314 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25316 (__old_msgctl): Do not use CHECK_1.
25317 (__new_msgctl): Likewise.
25318 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25320 (__new_setrlimit): Do not use CHECK_1.
25321 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25323 (__old_shmctl): Do not use CHECK_1.
25324 (__new_shmctl): Likewise.
25325 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25327 (__xstat): Do not use CHECK_1.
25328 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25329 (__lxstat): Do not use CHECK_1.
25330 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25332 (___lxstat64): Do not use CHECK_1.
25333 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25334 (__old_msgctl): Do not use CHECK_1.
25335 (__new_msgctl): Likewise.
25336 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25338 (__gettimeofday): Do not use CHECK_1.
25339 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25340 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25341 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25343 (__gettimeofday): Do not use CHECK_1.
25344 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25345 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25346 (__new_shmctl): Do not use CHECK_1.
25347 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25349 (do_sigtimedwait): Do not use CHECK_1.
25350 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25352 (do_sigwaitinfo): Do not use CHECK_1.
25353 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25355 (msgctl): Do not use CHECK_1.
25356 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25358 (shmctl): Do not use CHECK_1.
25359 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25360 (ustat): Do not use CHECK_1.
25361 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25363 (__fxstat): Do not use CHECK_1.
25364 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25366 (__fxstatat): Do not use CHECK_1.
25367 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25369 (__lxstat): Do not use CHECK_1.
25370 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25372 (__xstat): Do not use CHECK_1.
25373 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25374 (__xstat): Do not use CHECK_1.
25375 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25376 (___xstat64): Do not use CHECK_1.
25379 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25381 (CHECK_BOUNDS_HIGH): Likewise.
25382 * string/strcpy.c: Do not include <bp-checks.h>.
25383 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25385 2013-02-07 Roland McGrath <roland@hack.frob.com>
25387 * nscd/nscd-client.h (__nscd_drop_map_ref):
25388 Add __attribute__ ((unused)).
25389 * nis/nss-nisplus.h (niserr2nss): Likewise.
25391 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25392 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25394 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25395 Remove inline keyword.
25396 * include/rounding-mode.h (round_away): Likewise.
25397 * libio/wfileops.c (adjust_wide_data): Likewise.
25398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25399 (__m128i_strloadu_tolower): Likewise.
25400 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25401 (__m128i_strloadu_tolower): Likewise.
25402 * time/mktime.c (ydhms_diff): Likewise.
25403 * locale/elem-hash.h (elem_hash): Likewise.
25404 * locale/setlocale.c (setdata): Likewise.
25405 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25406 (re_string_wchar_at): Likewise.
25407 (bitset_not, bitset_merge, bitset_mask): Likewise.
25408 [!(__GNUC__ > 3)] (inline): Remove macro.
25409 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25410 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25411 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25412 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25413 * string/memcmp.c (memcmp_bytes): Likewise.
25414 * locale/programs/locarchive.c (compute_hashval): Likewise.
25415 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25416 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25417 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25418 * nss/getent.c (print_rpc, print_protocols): Likewise.
25419 (print_passwd, print_group, print_aliases): Likewise.
25420 * nis/nss-nisplus.h (niserr2nss): Likewise.
25421 * nscd/connections.c (restart_p): Likewise.
25422 Change return type to bool.
25424 2013-02-05 Roland McGrath <roland@hack.frob.com>
25426 * Makeconfig (all-Depend-files): Add existing
25427 $(sorted-subdirs:=/Depend) files.
25428 (all-subdirs): Remove nss.
25429 * sysdeps/unix/inet/Subdirs: Add it here instead.
25430 * hesiod/Depend: New file.
25432 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25433 instead of calling alloca.
25435 * io/lseek.c (__lseek): Rename to __libc_lseek.
25436 Define __lseek as an alias.
25438 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25440 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25442 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25443 else clause and remove check for non-standard endianness.
25445 2013-02-04 David S. Miller <davem@davemloft.net>
25447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25449 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25452 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25453 (__ubp_memchr): Remove prototype.
25454 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25455 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25456 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25457 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25458 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25460 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25461 (__ubp_memchr): Likewise.
25462 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25463 (__ubp_memchr): Likewise.
25464 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25465 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25466 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25467 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25469 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25470 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25471 (__getcwd): Do not use CHECK_STRING.
25472 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25474 (__real_chown): Do not use CHECK_STRING.
25475 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25477 (fchownat): Do not use CHECK_STRING.
25478 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25480 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25482 (__lchown): Do not use CHECK_STRING.
25483 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25484 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25485 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25486 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25488 include <bp-checks.h>.
25489 (truncate64): Do not use CHECK_STRING.
25490 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25492 (__real_chown): Do not use CHECK_STRING.
25493 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25495 (__lchown): Do not use CHECK_STRING.
25496 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25498 (__chown): Do not use CHECK_STRING.
25499 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25501 (truncate64): Do not use CHECK_STRING.
25502 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25504 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25505 (__xmknod): Do not use CHECK_STRING.
25506 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25508 (__xmknodat): Do not use CHECK_STRING.
25509 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25510 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25512 2013-02-04 Andreas Schwab <schwab@suse.de>
25515 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25516 * include/netdb.h: Likewise for h_errno.
25517 * elf/tst-stackguard1.c: Include <tls.h>.
25519 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25521 * elf/link.h (struct link_map): Extend the l_addr comment.
25522 * include/link.h (struct link_map): Likewise.
25524 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25527 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25528 (BOUNDED_1): Remove macro.
25529 * debug/backtrace.c: Don't include <bp-checks.h>.
25530 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25531 (__backtrace): Likewise.
25532 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25534 (__backtrace): Don't use BOUNDED_1.
25535 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25537 (__backtrace): Don't use BOUNDED_1.
25538 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25539 (__backtrace): Don't use BOUNDED_1.
25540 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25541 (shmat): Don't use BOUNDED_N.
25543 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25546 * sysdeps/generic/bp-start.h: Remove file.
25547 * csu/libc-start.c: Don't include <bp-start.h>.
25548 (LIBC_START_MAIN): Set up __environ directly instead of using
25549 INIT_ARGV_and_ENVIRON.
25550 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25554 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25556 (CHECK_FCNTL): Likewise.
25557 (CHECK_N_PAGES): Likewise.
25560 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25562 (CHECK_SIGSET_NULL_OK): Likewise.
25563 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25565 (sigpending): Don't use CHECK_SIGSET.
25566 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25568 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25569 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25571 (do_sigsuspend): Don't use CHECK_SIGSET.
25572 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25574 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25575 (do_sigwait): Don't use CHECK_SIGSET.
25576 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25578 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25579 include <bp-checks.h>.
25580 (sigpending): Don't use CHECK_SIGSET.
25581 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25582 include <bp-checks.h>.
25583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25584 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25586 (sigpending): Don't use CHECK_SIGSET.
25587 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25589 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25592 * sysdeps/generic/bp-semctl.h: Remove file.
25593 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25594 <bp-checks.h> and <bp-semctl.h>.
25595 (__old_semctl): Don't use CHECK_SEMCTL.
25596 (__new_semctl): Likewise.
25597 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25599 (__old_semctl): Don't use CHECK_SEMCTL.
25600 (__new_semctl): Likewise.
25601 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25602 <bp-checks.h> and <bp-semctl.h>.
25603 (__old_semctl): Don't use CHECK_SEMCTL.
25604 (__new_semctl): Likewise.
25605 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25606 <bp-checks.h> and <bp-semctl.h>.
25607 (semctl): Don't use CHECK_SEMCTL.
25610 * Makerules (elide-bp-thunks): Remove variable.
25611 (elide-routines.oS): Don't use $(elide-bp-thunks).
25612 (elide-routines.os): Likewise.
25613 (elide-routines.o): Likewise.
25614 (elide-routines.op): Likewise.
25615 (elide-routines.og): Likewise.
25616 (objects): Don't use $(bp-thunks).
25617 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25619 (common-generated): Do not add s-proto-bp.d.
25620 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25623 Do not generate makefile rules for bounded-pointer thunks.
25624 * sysdeps/generic/bp-thunks.h: Remove file.
25625 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25626 * sysdeps/unix/s-proto-bp.S: Likewise.
25629 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25630 parts of result separately when argument is not close to line from
25631 -i to i and one part of argument is small.
25632 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25633 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25634 * math/libm-test.inc (cacos_test): Add more tests.
25635 (casin_test): Likewise.
25636 (casinh_test): Likewise.
25637 * sysdeps/i386/fpu/libm-test-ulps: Update.
25638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25640 2013-01-31 David S. Miller <davem@davemloft.net>
25642 * po/de.po: Update from translation team.
25644 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25646 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25648 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25650 * configure.in (_AC_PROG_CC_C89): New definition.
25651 * configure: Regenerate.
25653 * configure.in (AC_PROG_CPP): New definition.
25654 * configure: Regenerate.
25656 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25658 * debug/tst-backtrace.h: New file.
25659 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25660 (ret): Remove variable.
25662 (FAIL): Remove macro.
25663 (NO_INLINE): Likewise.
25664 (fn1): Use match function instead of strstr.
25665 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25666 (ret): Remove variable.
25668 (FAIL): Remove macro.
25669 (NO_INLINE): Likewise.
25670 (fn): Use match function instead of strstr.
25671 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25672 (ret): Remove variable.
25674 (FAIL): Remove macro.
25675 (NO_INLINE): Likewise.
25676 (handle_signal): Use match function instead of strstr.
25677 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25678 (ret): Remove variable.
25680 (FAIL): Remove macro.
25681 (NO_INLINE): Likewise.
25682 (handle_signal): Use match function instead of strstr.
25684 2013-01-23 Roland McGrath <roland@hack.frob.com>
25686 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25688 2013-01-23 David S. Miller <davem@davemloft.net>
25690 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25691 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25692 argument of CAS if possible.
25693 * sysdeps/sparc/sparc64/bits/atomic.h
25694 (__arch_compare_and_exchange_val_32_acq): Likewise.
25695 (__arch_compare_and_exchange_val_64_acq): Likewise.
25697 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25699 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25700 * sysdeps/posix/ulimit.c: ... this.
25701 Include <limits.h>.
25702 * sysdeps/unix/bsd/ulimit.c: Remove file.
25704 2013-01-23 Adam Conrad <adconrad@0c3.net>
25706 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25707 (LDFLAGS-tst-array5): Likewise.
25709 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25712 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25713 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25714 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25715 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25717 2013-01-21 David S. Miller <davem@davemloft.net>
25719 * sysdeps/sparc/backtrace.c: New file.
25720 * sysdeps/sparc/sparc32/backtrace.h: New file.
25721 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25722 * sysdeps/sparc/sparc64/backtrace.h: New file.
25723 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25724 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25727 2013-01-21 Andreas Schwab <schwab@suse.de>
25730 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25733 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25739 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25740 Mark Mitchell <mark@codesourcery.com>
25741 Tom de Vries <tom@codesourcery.com>
25742 Paul Pluzhnikov <ppluzhnikov@google.com>
25744 * debug/tst-backtrace2.c: New file.
25745 * debug/tst-backtrace3.c: Likewise.
25746 * debug/tst-backtrace4.c: Likewise.
25747 * debug/tst-backtrace5.c: Likewise.
25748 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25749 (CFLAGS-tst-backtrace3.c): Likewise.
25750 (CFLAGS-tst-backtrace4.c): Likewise.
25751 (CFLAGS-tst-backtrace5.c): Likewise.
25752 (LDFLAGS-tst-backtrace2): Likewise.
25753 (LDFLAGS-tst-backtrace3): Likewise.
25754 (LDFLAGS-tst-backtrace4): Likewise.
25755 (LDFLAGS-tst-backtrace5): Likewise.
25756 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25757 tst-backtrace4 and tst-backtrace5.
25759 2013-01-18 Anton Blanchard <anton@samba.org>
25760 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25762 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25763 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25764 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25765 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25767 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25768 "+r" and remove output regs list as redundant. Add explicit inline
25769 asm to specify register of return val to work around compiler codegen
25770 bug. Remove (int) cast on return value. Add return type parameter to
25771 use in macro so that this macro does not truncate return value for
25773 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25774 pass to INTERNAL_VSYSCALL_NCS.
25775 (INLINE_VSYSCALL): Add 'long int' as return type to
25776 INTERNAL_VSYSCALL_NCS macro invocation.
25777 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25778 INTERNAL_VSYSCALL_NCS macro invocation.
25779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25781 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25784 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25785 Fix application of SIMD FP exception mask.
25787 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25788 mp_no from a power of two.
25789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25790 __mpexp_twomm1. Use __pow_mp.
25792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25795 2013-01-17 David S. Miller <davem@davemloft.net>
25797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25799 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25802 * include/complex.h: Condition contents on [!_COMPLEX_H].
25803 (__kernel_casinhf): New prototype.
25804 (__kernel_casinh): Likewise.
25805 (__kernel_casinhl): Likewise.
25806 * math/Makefile (libm_calls): Add k_casinh.
25807 * math/k_casinh.c: New file.
25808 * math/k_casinhf.c: Likewise.
25809 * math/k_casinhl.c: Likewise.
25810 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25811 finite nonzero arguments.
25812 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25813 finite nonzero arguments.
25814 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25815 finite nonzero arguments.
25816 * math/s_casinh.c: Do not include <float.h>.
25817 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25818 * math/s_casinhf.c: Do not include <float.h>.
25819 (__casinhf): Move code for finite nonzero arguments to
25821 * math/s_casinhl.c: Do not include <float.h>.
25822 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25824 (__casinhl): Move code for finite nonzero arguments to
25826 * math/libm-test.inc (cacos_test): Add more tests.
25827 * sysdeps/i386/fpu/libm-test-ulps: Update.
25828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25830 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25832 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25833 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25834 [!HAVE_MREMAP]: Remove [defined linux] case.
25835 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25837 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25839 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25841 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25843 * elf/elf.h (R_386_SIZE32): New relocation.
25844 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25846 (elf_machine_rela): Likewise.
25847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25848 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25850 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25852 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25853 (FP_FAST_FMA): Do not define.
25854 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25855 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25856 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25857 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25858 !_SOFT_FLOAT]: Likewise.
25859 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25860 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25862 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25863 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25864 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25865 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25866 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25867 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25870 2013-01-16 Andreas Schwab <schwab@suse.de>
25873 * include/stdlib.h (__mktemp): Add declaration.
25874 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25875 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25877 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25879 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25881 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25882 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25883 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25885 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25886 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25888 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25890 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25891 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25892 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25894 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25895 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25897 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25899 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25901 2013-01-15 David S. Miller <davem@davemloft.net>
25903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25904 trunc{,f} to libm-sysdep_routes.
25905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25915 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25916 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25917 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25918 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25919 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25920 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25923 nearbyint{,f} to libm-sysdep_routes.
25924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25935 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25937 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25938 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25940 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25941 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25942 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25944 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25945 libc_feholdexcept and libc_fesetenv.
25947 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25949 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25951 2013-01-14 David S. Miller <davem@davemloft.net>
25953 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25954 (SPARC_ASM_VIS2_IFUNC): Likewise.
25955 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25957 use of 'siam' instruction.
25958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25991 routines to libm-sysdep_routines.
25992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25995 fdim/fdimf to libm-sysdep_routines.
25996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26004 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26005 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26006 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26007 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26009 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26011 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26012 to optimize copies.
26014 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26019 local variable MPTWO.
26020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26023 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26025 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26028 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26030 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26032 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26034 * manual/pattern.texi (glob_t): Document gl_flags.
26035 (glob64_t): Likewise.
26037 2013-01-11 David S. Miller <davem@davemloft.net>
26039 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26040 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26041 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26042 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26043 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26044 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26045 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26046 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26047 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26048 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26049 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26050 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26051 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26053 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26054 sparc V9 rather than using V8 code.
26055 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26056 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26058 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26060 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26063 2013-01-11 Roland McGrath <roland@hack.frob.com>
26065 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26066 not in the main loop.
26067 * configure: Regenerated.
26069 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26071 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26072 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26074 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26075 [!__GLIBC_HAVE_LONG_LONG] case.
26076 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26077 condition to just #else.
26078 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26079 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26080 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26081 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26083 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26084 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26085 #elif condition to just #else.
26086 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26087 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26088 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26089 #elif condition to just #else.
26091 2013-01-11 Steve Ellcey <sellcey@mips.com>
26093 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26094 (EF_MIPS_ARCH_64): Fix value.
26095 (EF_MIPS_ARCH_32R2): New.
26096 (EF_MIPS_ARCH_64R2): New.
26098 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26100 * Makeconfig (+link-pie-before-libc): New.
26101 (+link-pie-after-libc): Likewise.
26102 (+link-pie-tests): Likewise.
26103 (+link-pie): Rewritten.
26104 (link-before-libc): Remove $(config-LDFLAGS).
26105 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26106 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26107 (config-LDFLAGS): Renamed to ...
26108 (rtld-LDFLAGS): This.
26109 (rtld-tests-LDFLAGS): New macro.
26110 (link-libc-rpath-link): Likewise.
26111 (link-libc-tests-rpath-link): Likewise.
26112 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26113 (link-libc): Prepand $(link-libc-rpath-link).
26114 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26115 (test-program-prefix): New macro.
26116 (test-via-rtld-prefix): Likewise.
26117 (test-program-cmd): Likewise.
26118 (host-test-program-cmd): Likewise.
26119 * Makefile ($(common-objpfx)testrun.sh): Replace
26120 $(run-program-prefix) with $(test-program-prefix).
26121 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26123 ($(common-objpfx)shlib.lds): Likewise.
26124 (build-module-helper): Likewise.
26125 ($(common-objpfx)format.lds): Likewise.
26126 * Rules (binaries-pie-tests): New.
26127 (binaries-pie-notests): Likewise.
26128 (binaries-pie): Rewritten.
26129 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26130 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26131 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26132 (make-test-out): Replace $(host-built-program-cmd) with
26133 $(host-test-program-cmd).
26134 * config.make.in (build-hardcoded-path-in-tests): New variable.
26135 * configure.in (--enable-hardcoded-path-in-tests): New configure
26137 (hardcoded_path_in_tests): New AC_SUBST.
26138 * configure: Regenerated.
26139 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26140 $(built-program-cmd) with $(test-program-cmd).
26141 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26142 (test_program_cmd): This.
26143 * elf/Makefile ($(objpfx)order.out): Run test with
26144 $(test-program-prefix).
26145 ($(objpfx)order2.out): Likewise.
26146 ($(objpfx)tst-initorder.out): Likewise.
26147 ($(objpfx)tst-initorder2.out): Likewise.
26148 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26149 $(test-program-cmd).
26150 ($(objpfx)tst-array1-static.out): Likewise.
26151 ($(objpfx)tst-array2.out): Likewise.
26152 ($(objpfx)tst-array3.out): Likewise.
26153 ($(objpfx)tst-array4.out): Likewise.
26154 ($(objpfx)tst-array5.out): Likewise.
26155 ($(objpfx)tst-array5-static.out): Likewise.
26156 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26157 $(test-program-cmd).
26158 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26159 $(run-program-prefix) with $(test-program-prefix).
26160 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26161 (test_program_prefix): This.
26162 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26163 $(run-program-prefix) with $(test-program-prefix).
26164 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26165 (test_program_prefix): This.
26166 * iconvdata/tst-tables.sh: Likewise.
26167 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26168 $(run-program-prefix) with $(test-program-prefix).
26169 ($(objpfx)tst-translit.out): Likewise.
26170 ($(objpfx)tst-gettext2.out): Likewise.
26171 ($(objpfx)tst-gettext4.out): Likewise.
26172 ($(objpfx)tst-gettext6.out): Likewise.
26173 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26174 (test_program_prefix): This.
26175 * intl/tst-gettext2.sh: Likewise.
26176 * intl/tst-gettext4.sh Likewise.
26177 * intl/tst-gettext6.sh: Likewise.
26178 * intl/tst-translit.sh: Likewise.
26179 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26180 with $(test-program-cmd).
26181 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26182 $(run-program-prefix) with $(test-program-prefix).
26183 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26184 (test_program_prefix): This.
26185 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26186 $(run-program-prefix) with $(test-program-prefix).
26187 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26188 (test_program_prefix): This.
26189 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26190 * posix/Makefile ($(objpfx)globtest.out): Replace
26191 $(run-via-rtld-prefix) and $(test-wrapper) with
26192 $(test-program-prefix) and $(test-via-rtld-prefix).
26193 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26194 $(test-program-prefix).
26195 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26196 $(host-test-program-cmd).
26197 (tst-spawn-ARGS): Likewise.
26198 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26199 $(test-program-prefix).
26200 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26201 (test_via_rtld_prefix): This.
26202 (test_wrapper): Renamed to ...
26203 (test_program_prefix): This.
26204 (run_program_prefix): Replaced by test_program_prefix.
26205 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26206 (test_program_prefix): This.
26207 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26208 with $(host-test-program-cmd).
26209 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26210 $(run-program-prefix) with $(test-program-prefix).
26211 ($(objpfx)tst-printf.out): Likewise.
26212 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26213 $(test-program-cmd).
26214 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26215 (test_program_prefix): This.
26216 * stdio-common/tst-unbputc.sh: Likewise.
26217 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26218 $(run-program-prefix) with $(test-program-prefix).
26219 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26220 (test_program_prefix): This.
26221 * string/Makefile ($(objpfx)tst-svc.out): Replace
26222 $(built-program-cmd) with $(test-program-cmd).
26224 2013-01-11 Andreas Jaeger <aj@suse.de>
26227 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26228 value. Sync with Linux 3.7.
26230 2013-01-10 David S. Miller <davem@davemloft.net>
26232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26233 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26234 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26236 2013-01-10 Roland McGrath <roland@hack.frob.com>
26238 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26240 * configure: Regenerated.
26242 2013-01-10 David S. Miller <davem@davemloft.net>
26244 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26245 sparc V9 rather than using V8 code.
26246 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26247 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26249 2013-01-10 Roland McGrath <roland@hack.frob.com>
26251 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26252 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26253 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26254 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26255 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26256 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26257 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26258 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26259 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26260 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26261 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26262 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26263 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26264 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26265 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26266 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26267 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26268 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26269 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26270 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26271 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26272 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26273 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26274 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26275 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26276 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26277 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26279 2013-01-10 David S. Miller <davem@davemloft.net>
26281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26283 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26285 * posix/Makefile (tests-static): New variable.
26286 (tests): Add $(tests-static).
26287 (tst-exec-static-ARGS): New variable.
26288 (tst-spawn-static-ARGS): Likewise.
26289 * posix/tst-exec-static.c: New file.
26290 * posix/tst-spawn-static.c: Likewise.
26291 * posix/tst-exec.c: Support run directly.
26292 * posix/tst-spawn.c: Likewise.
26294 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26296 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26298 * math/bits/mathcalls.h (llrint): Likewise.
26299 (llround): Likewise.
26300 * stdlib/stdlib.h (struct drand48_data): Likewise.
26301 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26302 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26303 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26305 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26307 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26308 (elf_greg_t): Likewise.
26309 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26310 (__jmp_buf): Likewise.
26311 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26313 (llrint): Likewise, for all definitions.
26314 (llrintl): Likewise.
26316 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26317 Remove [__GNUC__] condition.
26318 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26319 condition to just [__USE_ISOC99].
26320 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26322 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26325 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26326 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26328 (_POSIX_V6_ILP32_OFF32): Likewise.
26329 (_XBS5_ILP32_OFF32): Likewise.
26330 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26331 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26333 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26335 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26338 doubles __mpexp_twomm1. Adjust usage.
26339 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26342 2013-01-10 Andreas Schwab <schwab@suse.de>
26345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26346 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26348 2013-01-09 David S. Miller <davem@davemloft.net>
26351 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26352 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26353 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26354 (TCP_FASTOPEN): Define.
26355 (tcp_repair_opt): New structure.
26356 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26358 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26359 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26360 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26361 (tcp_cookie_transactions): New structure.
26363 2013-01-09 Anton Blanchard <anton@samba.org>
26365 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26366 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26367 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26368 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26370 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26372 * include/features.h (__USE_ANSI): Remove.
26374 2013-01-09 Roland McGrath <roland@hack.frob.com>
26376 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26378 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26380 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26382 * sysdeps/s390/fpu/libm-test-ulps: Update.
26384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26386 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26390 (denorm): Likewise.
26391 (__mp_dbl): Likewise.
26392 (__dbl_mp): Likewise.
26393 (add_magnitudes): Likewise.
26394 (sub_magnitudes): Likewise.
26400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26404 (denorm): Likewise.
26405 (__mp_dbl): Likewise.
26406 (__dbl_mp): Likewise.
26407 (add_magnitudes): Likewise.
26408 (sub_magnitudes): Likewise.
26414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26418 (denorm): Likewise.
26419 (__mp_dbl): Likewise.
26420 (__dbl_mp): Likewise.
26421 (add_magnitudes): Likewise.
26422 (sub_magnitudes): Likewise.
26429 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26431 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26432 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26433 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26434 2 && __USE_EXTERN_INLINES]: Likewise.
26436 2013-01-08 Andreas Jaeger <aj@suse.de>
26439 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26441 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26442 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26444 2013-01-07 Anton Blanchard <anton@samba.org>
26446 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26447 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26448 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26449 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26450 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26451 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26452 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26453 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26455 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26456 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26457 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26458 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26459 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26460 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26461 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26462 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26464 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26465 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26466 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26467 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26469 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26470 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26471 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26472 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26473 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26475 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26476 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26478 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26479 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26480 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26481 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26482 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26483 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26484 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26485 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26486 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26487 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26488 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26490 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26492 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26493 (__MALLOC_PMT): Likewise.
26494 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26495 [__GNUC__], only on [_LIBC].
26496 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26497 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26498 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26499 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26500 forward declaration.
26501 (realloc_hook_ini): Likewise.
26502 (memalign_hook_ini): Likewise.
26503 (__libc_memalign): Do not use __MALLOC_PMT in variable
26505 (__libc_valloc): Likewise.
26506 (__libc_pvalloc): Likewise.
26507 (__libc_calloc): Likewise.
26508 (__posix_memalign): Likewise.
26511 * math/s_casinh.c: Include <float.h>.
26512 (__casinh): Do not do computation with squaring and square root
26513 for large arguments.
26514 * math/s_casinhf.c: Include <float.h>.
26515 (__casinhf): Do not do computation with squaring and square root
26516 for large arguments.
26517 * math/s_casinhl.c: Include <float.h>.
26518 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26519 (__casinhl): Do not do computation with squaring and square root
26520 for large arguments.
26521 * math/libm-test.inc (casin_test): Add more tests.
26522 (casinh_test): Likewise.
26523 * sysdeps/i386/fpu/libm-test-ulps: Update.
26524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26526 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26528 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26529 (__x86_64_raw_data_cache_size): Likewise.
26530 (__x86_64_data_cache_size_half): Likewise.
26531 (__x86_64_raw_data_cache_size_half): Likewise.
26532 (__x86_64_shared_cache_size): Likewise.
26533 (__x86_64_raw_shared_cache_size): Likewise.
26534 (__x86_64_shared_cache_size_half): Likewise.
26535 (__x86_64_raw_shared_cache_size_half): Likewise.
26536 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26538 (__x86_data_cache_size): This.
26539 (__x86_64_raw_data_cache_size): Renamed to ...
26540 (__x86_raw_data_cache_size): This.
26541 (__x86_64_data_cache_size_half): Renamed to ...
26542 (__x86_data_cache_size_half): This.
26543 (__x86_64_raw_data_cache_size_half): Renamed to ...
26544 (__x86_raw_data_cache_size_half): This.
26545 (__x86_64_shared_cache_size): Renamed to ...
26546 (__x86_shared_cache_size): This.
26547 (__x86_64_raw_shared_cache_size): Renamed to ...
26548 (__x86_raw_shared_cache_size): This.
26549 (__x86_64_shared_cache_size_half): Renamed to ...
26550 (__x86_shared_cache_size_half): This.
26551 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26552 (__x86_raw_shared_cache_size_half): This.
26553 * sysdeps/x86_64/memcpy.S: Updated.
26554 * sysdeps/x86_64/memset.S: Likewise.
26555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26556 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26557 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26559 2013-01-04 David S. Miller <davem@davemloft.net>
26561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26563 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26565 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26566 1 to avoid redefinition warning.
26567 (__USE_GNU): Don't define.
26568 (init_signaling_nan): Protoize.
26570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26572 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26574 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26576 (__cpymn): Likewise.
26577 (norm): Remove commented code.
26578 (denorm): Likewise.
26579 (__mp_dbl): Likewise.
26581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26582 (__cpymn): Likewise.
26583 (norm): Remove commented code.
26584 (denorm): Likewise.
26585 (__mp_dbl): Likewise.
26588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26589 mp_no value for 1.0 and 2.0.
26590 (norm): Use RADIXI instead of radixi.d.
26591 (denorm): Likewise.
26592 (__mul): Use 0.0 instead of zero.d.
26593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26594 mp_no value for 1.0 and 2.0.
26595 (norm): Use RADIXI instead of radixi.d.
26596 (denorm): Likewise.
26597 (__mul): Use 0.0 instead of zero.d.
26599 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26602 * math/s_casinh.c (__casinh): Reduce finite argument to first
26603 quadrant then set signs of results at the end.
26604 * math/s_casinhf.c (__casinhf): Likewise.
26605 * math/s_casinhl.c (__casinhl): Likewise.
26606 * math/libm-test.inc (casin_test): Add more tests.
26607 (casinh_test): Likewise.
26608 * sysdeps/i386/fpu/libm-test-ulps: Update.
26609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26611 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26613 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26615 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26617 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26619 (denorm): Likewise.
26620 (__mp_dbl): Likewise.
26623 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26624 and adjust the header comment.
26626 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26627 variable name from declaration.
26629 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26632 Initialize COMMON_CPUID_INDEX_7 element.
26633 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26634 (CPUID_RTM): Likewise.
26635 (HAS_RTM): Likewise.
26636 (COMMON_CPUID_INDEX_7): New enum.
26638 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26641 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26642 size is zero, record memory as freed.
26644 2013-01-03 Andreas Jaeger <aj@suse.de>
26646 * po/ia.po: Add new Interlingua translation.
26648 2012-01-03 Allan McRae <allan@archlinux.org>
26650 * locale/programs/localedef.c: Fix description of '--posix' flag.
26652 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26654 * NEWS: Update dates in second copyright notice.
26655 * README: Update copyright dates in example.
26656 * manual/libc.texinfo: Update copyright dates.
26657 * scripts/test-installation.pl: Update copyright date in --version
26660 * hurd/ctty-input.c: Fix copyright notice formatting.
26661 * hurd/ctty-output.c: Likewise.
26662 * hurd/dtable.c: Likewise.
26663 * hurd/hurd-raise.c: Likewise.
26664 * hurd/hurdprio.c: Likewise.
26665 * hurd/msgportdemux.c: Likewise.
26666 * misc/sys/file.h: Likewise.
26667 * misc/sys/ioctl.h: Likewise.
26668 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26669 * sysdeps/mach/hurd/chdir.c: Likewise.
26670 * sysdeps/mach/hurd/fchdir.c: Likewise.
26671 * sysdeps/mach/hurd/rename.c: Likewise.
26672 * sysdeps/mach/hurd/rmdir.c: Likewise.
26673 * sysdeps/mach/hurd/seekdir.c: Likewise.
26674 * sysdeps/mach/hurd/setsid.c: Likewise.
26675 * sysdeps/posix/wait3.c: Likewise.
26677 * All files with FSF copyright notices: Update copyright dates
26678 using scripts/update-copyrights.
26679 * intl/plural.c: Regenerated.
26680 * locale/programs/charmap-kw.h: Likewise.
26681 * locale/programs/locfile-kw.h: Likewise.
26683 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26685 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26688 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26689 calculation loop and add branch prediction.
26691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26692 check access beyond bounds of m1np.
26694 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26696 (__inv): Remove local variable MPTWO to use the global
26698 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26699 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26701 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26702 MP3HALFS static const.
26704 2013-01-01 David S. Miller <davem@davemloft.net>
26706 * po/ca.po: Update from translation team.
26708 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26710 * scripts/update-copyrights: New file.
26711 * Makeconfig: Reformat copyright notice.
26712 * ctype/ctype.h: Likewise.
26713 * debug/swprintf_chk.c: Likewise.
26714 * elf/dl-cache.c: Likewise.
26715 * elf/dl-debug.c: Likewise.
26716 * elf/dl-object.c: Likewise.
26717 * grp/initgroups.c: Likewise.
26718 * hurd/Makefile: Likewise.
26719 * hurd/hurd/signal.h: Likewise.
26720 * hurd/hurdfault.c: Likewise.
26721 * hurd/hurdioctl.c: Likewise.
26722 * hurd/hurdlookup.c: Likewise.
26723 * hurd/intr-msg.c: Likewise.
26724 * iconv/gconv_open.c: Likewise.
26725 * libio/swprintf.c: Likewise.
26726 * locale/lc-ctype.c: Likewise.
26727 * locale/nl_langinfo.c: Likewise.
26728 * mach/Machrules: Likewise.
26729 * mach/Makefile: Likewise.
26730 * malloc/obstack.h: Likewise.
26731 * manual/Makefile: Likewise.
26732 * manual/tsort.awk: Likewise.
26733 * misc/bits/stab.def: Likewise.
26734 * nis/nis_print_group_entry.c: Likewise.
26735 * nis/nis_table.c: Likewise.
26736 * nis/nss_compat/compat-pwd.c: Likewise.
26737 * nis/nss_compat/compat-spwd.c: Likewise.
26738 * po/Makefile: Likewise.
26739 * posix/fnmatch.c: Likewise.
26740 * posix/regex.h: Likewise.
26741 * resolv/Makefile: Likewise.
26742 * resolv/nss_dns/dns-network.c: Likewise.
26743 * resolv/res_hconf.c: Likewise.
26744 * scripts/gen-sorted.awk: Likewise.
26745 * soft-fp/soft-fp.h: Likewise.
26746 * stdio-common/printf.h: Likewise.
26747 * stdlib/monetary.h: Likewise.
26748 * stdlib/random.c: Likewise.
26749 * stdlib/random_r.c: Likewise.
26750 * sysdeps/generic/Makefile: Likewise.
26751 * sysdeps/gnu/Makefile: Likewise.
26752 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26754 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26756 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26757 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26760 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26762 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26772 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26774 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26780 * sysdeps/mach/hurd/errnos.awk: Likewise.
26781 * sysdeps/mach/hurd/fork.c: Likewise.
26782 * sysdeps/mach/hurd/getcwd.c: Likewise.
26783 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26784 * sysdeps/mach/hurd/mmap.c: Likewise.
26785 * sysdeps/mach/hurd/utimes.c: Likewise.
26786 * sysdeps/mach/hurd/xmknod.c: Likewise.
26787 * sysdeps/posix/profil.c: Likewise.
26788 * sysdeps/posix/readdir_r.c: Likewise.
26789 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26790 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26791 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26792 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26794 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26795 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26796 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26798 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26799 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26800 * sysdeps/pthread/lio_listio.c: Likewise.
26801 * sysdeps/sparc/dl-procinfo.h: Likewise.
26802 * sysdeps/unix/i386/sysdep.S: Likewise.
26803 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26804 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26805 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26806 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26808 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26809 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26810 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26811 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26812 * sysdeps/wordsize-32/divdi3.c: Likewise.
26813 * time/sys/time.h: Likewise.
26814 * wcsmbs/Makefile: Likewise.
26816 2013-01-01 David S. Miller <davem@davemloft.net>
26818 * po/fr.po: Update from translation team.
26820 * catgets/gencat.c: Update copyright year.
26821 * csu/version.c: Likewise.
26822 * debug/catchsegv.sh: Likewise.
26823 * debug/pcprofiledump.c: Likewise.
26824 * debug/xtrace.sh: Likewise.
26825 * elf/ldconfig.c: Likewise.
26826 * elf/ldd.bash.in: Likewise.
26827 * elf/pldd.c: Likewise.
26828 * elf/sotruss.ksh: Likewise.
26829 * elf/sprof.c: Likewise.
26830 * iconv/iconv_prog.c: Likewise.
26831 * iconv/iconvconfig.c: Likewise.
26832 * locale/programs/locale.c: Likewise.
26833 * locale/programs/localedef.c: Likewise.
26834 * login/programs/pt_chown.c: Likewise.
26835 * malloc/memusage.sh: Likewise.
26836 * malloc/memusagestat.c: Likewise.
26837 * malloc/mtrace.pl: Likewise.
26838 * nscd/nscd.c: Likewise.
26839 * nss/getent.c: Likewise.
26840 * nss/makedb.c: Likewise.
26841 * posix/getconf.c: Likewise.
26843 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26845 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26848 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26850 * math/bits/mathcalls.h (modf): Use __nonnull.
26852 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26854 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26855 (split): Use macro CN instead of the bare value.
26856 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26859 instead of the bare value.
26860 (power1): Likewise.
26862 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26864 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26868 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26870 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26871 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26872 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26873 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26875 2012-12-28 Andreas Jaeger <aj@suse.de>
26877 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26878 values are from Linux 3.7.
26880 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26881 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26883 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26885 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26888 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26890 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26891 variables with preprocessor constants.
26892 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26893 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26894 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26896 2012-12-27 Bruno Haible <bruno@clisp.org>
26899 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26902 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26905 and use variable directly.
26906 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26908 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26910 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26913 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26915 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26916 include directive. Remove local variable MPONE.
26917 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26918 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26919 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26921 2012-12-25 David S. Miller <davem@davemloft.net>
26923 * version.h (RELEASE): Set to "development".
26924 (VERSION): Set to "2.17.90".
26925 * NEWS: Add 2.18 section.
26927 2012-12-21 David S. Miller <davem@davemloft.net>
26929 * po/hr.po: Update from translation team.
26931 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26933 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26935 2012-12-19 Steve Ellcey <sellcey@mips.com>
26937 * NEWS: Mention new memcpy for MIPS.
26939 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26941 * manual/contrib.texi (Contributors): Spelling correction.
26943 2012-12-15 David S. Miller <davem@davemloft.net>
26945 * po/ru.po: Update from translation team.
26947 2012-12-13 David S. Miller <davem@davemloft.net>
26949 * NEWS: Mention IFUNC testsuite enhancements.
26951 * po/pl.po: Update from translation team.
26952 * po/bg.po: Likewise.
26954 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26955 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26957 2012-12-11 David S. Miller <davem@davemloft.net>
26959 * po/sv.po: Update from translation team.
26961 * po/vi.po: Update from translation team.
26963 * po/cs.po: Update from translation team.
26965 * po/de.po: Update from translation team.
26966 * po/eo.po: Likewise.
26967 * po/nl.po: Likewise.
26969 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26972 * manual/argp.texi (Argp Helper Functions): Move node to follow
26973 Argp Parsing State.
26976 * manual/conf.texi (Limits on File System Capacity): Mention if
26977 terminating null is included in the max size.
26979 2012-12-10 Andreas Jaeger <aj@suse.de>
26981 * po/cs.po: Update from translation team.
26983 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26985 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26986 void pointer and cast to uintptr_t.
26987 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26989 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26990 * sysdeps/s390/s390-64/memset.S: Likewise.
26992 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26995 * menual/message.texi (Message Translation): Fix typos.
26996 (Helper programs for gettext): Likewise.
26998 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27001 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27004 2012-12-07 David S. Miller <davem@davemloft.net>
27006 * po/libc.pot: Update.
27008 2012-12-07 Richard Henderson <rth@redhat.com>
27011 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27012 normal/normal case to before the switch.
27013 (_FP_DIV): Likewise.
27015 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27016 Mike Frysinger <vapier@gentoo.org>
27018 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27019 check for __NR_fadvise64_64.
27021 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27023 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27024 0, not just to plain "0" as a statement.
27025 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27028 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27030 * NEWS: Use sourceware.org in Bugzilla URL.
27032 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27035 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27037 * stdio-common/tst-put-error.c (do_test): Add newline to the
27038 padded test to ensure flush.
27040 2012-12-05 Jeff Law <law@redhat.com>
27042 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27044 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27046 * README: Don't refer to ports add-on as distributed separately.
27047 Mention AArch64 in list of systems supported in the ports add-on.
27049 * LICENSES: Add more non-FSF copyright and license notices.
27051 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27054 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27056 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27057 10000 as width of padded output.
27059 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27061 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27063 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27064 variable LX with __attribute__ ((unused)).
27065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27067 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27068 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27069 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27070 with __attribute__ ((unused)).
27072 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27074 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27076 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27078 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27079 (CFLAGS-nldbl-acos.c): New variable.
27080 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27081 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27082 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27083 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27084 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27085 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27086 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27087 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27088 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27089 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27090 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27091 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27092 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27093 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27094 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27095 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27096 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27097 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27098 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27099 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27100 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27101 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27102 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27103 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27104 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27105 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27106 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27107 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27108 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27109 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27110 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27111 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27112 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27113 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27114 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27115 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27116 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27117 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27118 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27119 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27120 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27121 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27122 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27123 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27124 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27125 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27126 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27127 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27128 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27129 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27130 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27131 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27132 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27133 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27134 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27135 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27136 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27137 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27138 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27139 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27140 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27141 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27142 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27143 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27144 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27145 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27146 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27147 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27148 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27149 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27150 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27151 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27152 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27153 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27154 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27155 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27156 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27157 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27158 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27159 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27160 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27161 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27162 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27163 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27164 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27165 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27166 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27167 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27168 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27169 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27170 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27171 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27172 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27173 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27174 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27175 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27176 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27179 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27183 whole low double instead of just low 47 bits when splitting values
27186 2012-12-03 Allan McRae <allan@archlinux.org>
27188 * manual/stdio.texi (Predefined Printf Handlers): Remove
27189 @hsep and @vsep usage.
27191 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27193 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27194 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27196 2012-12-03 Jeff Law <law@redhat.com>
27198 * time/sys/time.h (settimeofday): Do not mark TV argument
27201 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27203 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27204 when currently writing and seek to current position when not.
27205 * libio/Makefile (tests): Remove bug-fclose1.
27206 * libio/bug-fclose1.c: Delete.
27208 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27210 * manual/arith.texi (feenableexcept): Fix typo.
27211 (fedisableexcept): Likewise.
27213 2012-11-30 Roland McGrath <roland@hack.frob.com>
27215 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27216 second, differently-typed declaration, rather than a cast.
27218 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27220 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27221 * include/rpc/svc.h: ... here.
27223 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27226 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27227 depending n and resplen2 to catch cases where answer
27230 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27232 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27233 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27235 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27237 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27239 2012-11-29 Roland McGrath <roland@hack.frob.com>
27241 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27243 2012-11-28 Jeff Law <law@redhat.com>
27246 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27247 dataset_temporary. Track alloca usage into alloca_used.
27248 If dataset is large allocate and release it via malloc/free.
27250 2012-06-04 Florian Weimer <fweimer@redhat.com>
27253 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27255 2012-11-28 David S. Miller <davem@davemloft.net>
27257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27259 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27262 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27263 of pi/2 rounded to nearest to 64 bits.
27264 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27265 nearest to 64 bits.
27266 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27269 2012-11-28 Jeff Law <law@redhat.com>
27270 Martin Osvald <mosvald@redhat.com>
27273 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27274 * sunrpc/svc.c: Include time.h.
27275 (__svc_accept_failed): New function.
27276 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27277 any reason other than EINTR, call __svc_accept_failed.
27278 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27279 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27281 2012-11-28 Andreas Schwab <schwab@suse.de>
27283 * scripts/abilist.awk: Also handle indirect functions in .opd
27286 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27289 * sysdeps/x86/fpu/powl_helper.c: New file.
27290 * sysdeps/x86/fpu/Makefile: Likewise.
27291 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27293 (__ieee754_powl): Use __powl_helper for finite arguments except
27294 integer exponents below 8.
27295 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27297 (__ieee754_powl): Use __powl_helper for finite arguments except
27298 integer exponents below 8.
27299 * math/libm-test.inc (pow_test): Add more tests and enable some
27300 previously disabled tests.
27301 * sysdeps/i386/fpu/libm-test-ulps: Update.
27302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27304 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27305 Carlos O'Donell <carlos_odonell@mentor.com>
27307 * nss/makedb.c (is_prime): Assert that input is odd and greater
27308 than 4. Note that fact in a comment too.
27309 (next_prime): Add 4 to input.
27311 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27314 * libio/Makefile (tests): Add test case tst-fwrite-error.
27315 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27316 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27317 * libio/tst-fwrite-error.c: New test case.
27319 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27321 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27322 before casting to void *.
27323 * include/libc-internal.h (__pointer_type): New macro.
27324 (__integer_if_pointer_type_sub): Likewise.
27325 (__integer_if_pointer_type): Likewise.
27326 (cast_to_integer): Likewise.
27327 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27328 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27329 before casting to atomic64_t.
27330 (atomic_exchange_acq): Likewise.
27331 (__arch_exchange_and_add_body): Likewise.
27332 (__arch_add_body): Likewise.
27333 (atomic_add_negative): Likewise.
27334 (atomic_add_zero): Likewise.
27336 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27338 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27339 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27340 (add_fdes): Likewise.
27341 (linear_search_fdes): Likewise.
27342 (binary_search_unencoded_fdes): Likewise.
27344 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27346 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27348 2012-11-24 Adam Conrad <adconrad@0c3.net>
27350 * configure.in: Autodetect C++ header directories.
27351 * configure: Regenerated.
27353 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27355 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27357 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27361 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27363 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27364 LDBL_MANT_DIG == 106]: Disable some tests.
27365 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27367 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27371 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27372 input for small inputs. Return +/- pi/2 for large inputs.
27373 * math/libm-test.inc (atan_test): Add more tests.
27375 * sysdeps/generic/unwind-dw2-fde-glibc.c
27376 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27377 __attribute__ ((unused)).
27380 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27381 x * y if x and y are nonzero and z is zero.
27384 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27385 nonzero exponents with absolute value below 0x1p-117 to +/-
27389 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27390 up arguments below 2**-450, not just those below 2**-500.
27391 * math/libm-test.inc (hypot_test): Add another test.
27394 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27395 Return a+b for ratio over 2**120, not 2**60.
27396 * math/libm-test.inc (hypot_test): Add another test.
27398 * math/libm-test.inc (clog_test): Use
27399 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27400 (clog10_test): Likewise.
27403 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27405 2012-11-22 Andreas Schwab <schwab@suse.de>
27407 * sysdeps/i386/fpu/libm-test-ulps: Update.
27409 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27411 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27412 printf output with newline.
27414 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27417 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27418 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27419 -z nodlopen, -z initfirst and -z execstack support.
27420 * configure: Regenerated.
27422 * elf/elf.h (DF_1_NODIRECT): New macro.
27423 (DF_1_IGNMULDEF): Likewise.
27424 (DF_1_NOKSYMS): Likewise.
27425 (DF_1_NOHDR): Likewise.
27426 (DF_1_EDITED): Likewise.
27427 (DF_1_NORELOC): Likewise.
27428 (DF_1_SYMINTPOSE): Likewise.
27429 (DF_1_GLOBAUDIT): Likewise.
27430 (DF_1_SINGLETON): Likewise.
27431 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27432 DT_1_SUPPORTED_MASK bits.
27433 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27435 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27437 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27439 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27441 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27444 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27445 (sendmmsg): Move declarations...
27446 * socket/sys/socket.h: ... here.
27447 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27448 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27450 * socket/recvmmsg.c: ... this new file.
27451 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27452 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27453 definition of __sendmmsg hidden.
27454 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27455 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27456 Move ENOSYS stub into and include it from...
27457 * socket/sendmmsg.c: ... this new file.
27458 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27459 (sysdep_routines): Move recvmmsg and sendmmsg...
27460 * socket/Makefile (routines): ... here.
27461 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27462 (GLIBC_PRIVATE): Add __sendmmsg.
27463 * include/sys/socket.h (__sendmmsg): Add declarations.
27464 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27467 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27470 variable I1 with __attribute__ ((unused)).
27471 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27473 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27475 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27476 DUMMY variables with __attribute__ ((unused)).
27478 * bits/byteswap.h: Include <bits/types.h>.
27479 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27481 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27483 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27484 string_t. Do not manually set errno.
27485 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27486 length with __strnlen. Make sure to both set errno and return it on
27489 2012-11-19 David S. Miller <davem@davemloft.net>
27491 With help from Joseph Myers.
27492 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27493 very large arguments properly.
27494 * math/libm-test.inc (atan_test): New tests.
27495 (atan2_test): New tests.
27496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27499 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27502 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27505 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27506 [POSIX] (EADDRNOTAVAIL): Likewise.
27507 [POSIX] (EAFNOSUPPORT): Likewise.
27508 [POSIX] (EALREADY): Likewise.
27509 [POSIX] (ECONNABORTED): Likewise.
27510 [POSIX] (ECONNREFUSED): Likewise.
27511 [POSIX] (ECONNRESET): Likewise.
27512 [POSIX] (EDESTADDRREQ): Likewise.
27513 [POSIX] (EDQUOT): Likewise.
27514 [POSIX] (EHOSTUNREACH): Likewise.
27515 [POSIX] (EIDRM): Likewise.
27516 [POSIX] (EISCONN): Likewise.
27517 [POSIX] (ELOOP): Likewise.
27518 [POSIX] (EMULTIHOP): Likewise.
27519 [POSIX] (ENETDOWN): Likewise.
27520 [POSIX] (ENETUNREACH): Likewise.
27521 [POSIX] (ENOBUFS): Likewise.
27522 [POSIX] (ENODATA): Likewise.
27523 [POSIX] (ENOLINK): Likewise.
27524 [POSIX] (ENOMSG): Likewise.
27525 [POSIX] (ENOPROTOOPT): Likewise.
27526 [POSIX] (ENOSR): Likewise.
27527 [POSIX] (ENOSTR): Likewise.
27528 [POSIX] (ENOTCONN): Likewise.
27529 [POSIX] (ENOTSOCK): Likewise.
27530 [POSIX] (EOPNOTSUPP): Likewise.
27531 [POSIX] (EOVERFLOW): Likewise.
27532 [POSIX] (EPROTO): Likewise.
27533 [POSIX] (EPROTONOSUPPORT): Likewise.
27534 [POSIX] (EPROTOTYPE): Likewise.
27535 [POSIX] (ESTALE): Likewise.
27536 [POSIX] (ETIME): Likewise.
27537 [POSIX] (ETXTBSY): Likewise.
27538 [POSIX] (EWOULDBLOCK): Likewise.
27539 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27540 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27541 [POSIX] (SEEK_CUR): Likewise.
27542 [POSIX] (SEEK_END): Likewise.
27543 [POSIX || UNIX98] (mode_t): Do not require.
27544 [POSIX] (off_t): Likewise.
27545 [POSIX] (pid_t): Likewise.
27546 [POSIX] (sys/stat.h): Do not allow header.
27547 [POSIX] (unistd.h): Likewise.
27548 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27549 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27550 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27551 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27553 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27554 sigevent): Specify elements.
27555 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27557 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27558 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27560 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27561 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27562 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27563 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27564 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27565 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27566 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27567 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27568 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27569 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27570 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27571 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27572 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27575 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27577 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27579 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27581 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27582 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27583 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27584 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27585 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27586 Specify lower bound on value.
27587 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27588 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27589 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27590 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27591 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27592 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27593 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27594 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27596 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27598 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27599 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27600 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27601 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27602 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27603 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27604 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27605 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27606 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27607 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27608 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27609 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27610 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27611 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27612 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27613 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27615 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27617 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27618 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27619 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27620 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27621 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27622 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27624 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27625 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27626 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27627 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27628 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27629 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27630 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27632 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27633 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27634 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27635 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27636 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27637 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27638 specify as optional.
27639 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27640 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27641 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27642 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27643 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27644 [XPG3] (NL_LANGMAX): Likewise.
27645 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27646 [POSIX || XPG3] (NL_NMAX): Likewise.
27647 [POSIX || XPG3] (NL_SETMAX): Likewise.
27648 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27649 [XPG3] (NZERO): Likewise.
27650 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27651 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27652 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27653 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27654 (REG_ERANGE): Expect.
27655 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27657 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27658 Use (void) in prototype.
27659 [POSIX] (*_t): Allow.
27660 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27661 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27662 (WRDE_BADVAL): Expect.
27664 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27666 [XPG3 || XPG4] (O_RSYNC): Likewise.
27667 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27669 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27670 [XPG3 || XPG4] (sigqueue): Likewise.
27671 [XPG3 || XPG4] (sigtimedwait): Likewise.
27672 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27673 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27674 [XPG3 || XPG4] (vsnprintf): Likewise.
27675 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27677 [XPG3 || XPG4] (blksize_t): Likewise.
27678 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27680 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27681 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27682 [XPG3 || XPG4] (struct itimerspec): Likewise.
27683 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27684 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27685 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27686 [XPG3 || XPG4] (clockid_t): Likewise.
27687 [XPG3 || XPG4] (timer_t): Likewise.
27688 [XPG3 || XPG4] (clock_getres): Likewise.
27689 [XPG3 || XPG4] (clock_gettime): Likewise.
27690 [XPG3 || XPG4] (clock_settime): Likewise.
27691 [XPG3 || XPG4] (nanosleep): Likewise.
27692 [XPG3 || XPG4] (timer_create): Likewise.
27693 [XPG3 || XPG4] (timer_delete): Likewise.
27694 [XPG3 || XPG4] (timer_gettime): Likewise.
27695 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27696 [XPG3 || XPG4] (timer_settime): Likewise.
27697 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27698 [XPG3 || XPG4] (getlogin_r): Likewise.
27699 [XPG3 || XPG4] (pread): Likewise.
27700 [XPG3 || XPG4] (pthread_atfork): Likewise.
27701 [XPG3 || XPG4] (pwrite): Likewise.
27704 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27707 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27709 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27710 finalizing MALLSTREAM.
27712 * sysdeps/mach/hurd/syncfs.c: New file.
27714 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27717 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27718 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27719 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27720 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27721 (_nss_dns_gethostbyname4_r): Likewise.
27722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27723 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27725 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27728 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27730 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27732 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27733 * elf/cache.c (print_entry): Print ",AArch64" for
27736 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27737 * elf/cache.c (print_entry): Print ",hard-float" for
27740 2012-11-18 David S. Miller <davem@davemloft.net>
27742 With help from Joseph Myers.
27743 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27745 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27747 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27748 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27750 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27751 * math/libm-test.inc (y0_test): New tests.
27752 (y1_test): New tests.
27753 * sysdeps/i386/fpu/libm-test-ulps: Update.
27754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27757 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27759 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27761 * configure: Regenerated.
27763 2012-11-17 David S. Miller <davem@davemloft.net>
27766 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27767 nonzero exponents with absolute value below 0x1p-128 to +/-
27770 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27772 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27774 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27776 * posix/getconf-speclist.c: New file.
27777 * posix/posix-envs.def: Likewise.
27778 * posix/confstr.c (START_ENV_GROUP): New macro.
27779 (END_ENV_GROUP): Likewise.
27780 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27781 (KNOWN_PRESENT_ENV_STRING): Likewise.
27782 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27783 (UNKNOWN_ENVIRONMENT): Likewise.
27784 (confstr): Include posix-envs.def instead of handling
27785 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27786 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27787 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27788 (END_ENV_GROUP): Likewise.
27789 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27790 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27791 (UNKNOWN_ENVIRONMENT): Likewise.
27792 (__sysconf): Include posix-envs.def instead of handling associated
27793 cases directly here.
27794 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27795 preprocessing getconf-speclist.c rather than running getconf or
27796 generating empty file.
27798 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27800 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27802 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27805 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27807 2012-11-16 David S. Miller <davem@davemloft.net>
27809 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27810 smaller than LDBL_EPSILON/2.0L, just return xm1.
27812 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27814 * elf/tst-array1.c (init): Set constructor priority to 1000.
27815 (fini): Set destructor priority to 1000.
27816 * elf/tst-array2dep.c: Likewise.
27818 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27821 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27822 (_IO_new_file_xsputn): Also return EOF if none of the input
27823 data was written when overflow failed.
27824 * libio/iopadn.c (_IO_padn): Likewise.
27825 * libio/iowpadn.c (_IO_wpadn): Likewise.
27826 * stdio-common/tst-put-error.c: Add copyright notice.
27827 (do_test): Add case for printing padded string.
27828 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27829 _IO_padn returned error.
27830 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27831 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27834 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27836 * libio/libioP.h: Add comment note that the references to C++
27837 bits are now obsolete.
27839 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27841 * math/libm-test.inc (check_complex): Use asprintf.
27843 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27845 * debug/pcprofiledump.c (print_version): Update copyright year.
27846 * malloc/memusagestat.c (print_version): Likewise.
27848 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27851 * elf/Makefile (tests): Add tst-audit8.
27852 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27853 ($(objpfx)tst-audit8.out): New target.
27854 (tst-audit8-ENV): New variable.
27855 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27856 audit if l_reloc_result is NULL.
27857 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27858 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27859 * elf/tst-audit8.c: New file.
27861 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27863 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27864 * misc/Makefile (CFLAGS-select.c): Define.
27865 * posix/Makefile (CFLAGS-pause.c): Define.
27867 2012-11-13 David S. Miller <davem@davemloft.net>
27869 * crypt/Makefile: Move test targets after toplevel Rules
27870 inclusion. Grab any necessary sysdep routines when linking.
27871 * crypt/md5.c (md5_process_block): Remove define, we will always
27872 name it __md5_process_block.
27873 (md5_finish_ctx): Update md5_process_block call.
27874 (md5_stream): Likewise.
27875 (md5_process_bytes): Likewise.
27876 (md5_process_block): Rename to __md5_process_block and move to ...
27877 * crypt/md5-block.c: ... here.
27878 * crypt/sha256.c (sha256_process_block): Move to ...
27879 * crypt/sha256-block.c: ... here.
27880 * crypt/sha512.c (sha512_process_block): Move to ...
27881 * crypt/sha512-block.c: ... here.
27882 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27884 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27885 * sysdeps/sparc/sparc64/multiarch/Makefile
27886 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27888 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27889 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27891 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27892 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27893 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27894 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27895 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27896 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27897 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27898 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27899 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27901 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27902 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27904 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27906 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27908 * timezone/tzselect.ksh: Update from tzcode git revision
27909 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27910 * timezone/zdump.c: Likewise.
27911 * timezone/zic.c: Likewise.
27912 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27913 in TZVERSION setting, not $(PKGVERSION).
27914 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27915 REPORT_BUGS_TO settings.
27918 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27921 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27923 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27924 detection to immediately after _FP_ROUND().
27925 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27928 2012-11-11 David S. Miller <davem@davemloft.net>
27930 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27932 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27933 __close rather than their public counterparts.
27935 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27937 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27939 [UNIX98] (sem_timedwait): Do not expect.
27940 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27941 [XPG4 || UNIX98] (sockatmark): Do not expect.
27942 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27943 (clock_getcpuclockid): Do not expect.
27944 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27945 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27947 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27948 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27949 [UNIX98] (vwscanf): Likewise.
27950 [UNIX98] (vswscanf): Likewise.
27952 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27954 * timezone/version.h: Remove file.
27955 * timezone/README: Do not refer to version.h.
27956 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27957 $(objpfx)version.h.
27958 ($(objpfx)zdump.o): Likewise.
27959 ($(objpfx)version.h): New target.
27961 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27963 * timezone/README: Don't mention modification to tzselect.ksh.
27964 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27965 work on unmodified tzselect.ksh. Substitute version numbers in
27968 * Makefile (format-me): Remove.
27969 (INSTALL): Adjust indentation. Use commands directly instead of
27970 using $(format-me).
27972 * aclocal.m4 (ACX_PKGVERSION): New macro.
27973 (ACX_BUGURL): Likewise.
27974 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27975 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27976 (REPORT_BUGS_TO): Likewise.
27977 * configure: Regenerated.
27978 * config.h.in (PKGVERSION): New macro.
27979 (REPORT_BUGS_TO): Likewise.
27980 * config.make.in (PKGVERSION): New variable.
27981 (PKGVERSION_TEXI): Likewise.
27982 (REPORT_BUGS_TO): Likewise.
27983 (REPORT_BUGS_TEXI): Likewise.
27984 * Makefile (format-me): Use -I$(common-objpfx)manual.
27985 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27986 ($(common-objpfx)manual/%): New target.
27987 (manual/%): Remove target.
27988 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27989 (print_version): Use PKGVERSION.
27990 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27991 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27992 and REPORT_BUGS_TO.
27993 ($(objpfx)xtrace): Likewise.
27994 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27995 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27996 (print_version): Use PKGVERSION.
27997 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27998 (do_version): Use PKGVERSION.
27999 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28001 (common-ldd-rewrite): Likewise.
28002 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28003 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28004 (print_version): Use PKGVERSION.
28005 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28006 * elf/pldd.c (argp_program_bug_address): Remove variable.
28007 (more_help): New function.
28008 (argp): Use more_help.
28009 (print_version): Use PKGVERSION.
28010 * elf/sln.c (main): Use PKGVERSION.
28011 (usage): Use REPORT_BUGS_TO.
28012 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28013 (top level): Use PKGVERSION.
28014 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28015 (print_version): Use PKGVERSION.
28016 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28017 (print_version): Use PKGVERSION.
28018 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28019 (print_version): Use PKGVERSION.
28020 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28021 (print_version): Use PKGVERSION.
28022 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28023 (print_version): Use PKGVERSION.
28024 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28025 (print_version): Use PKGVERSION.
28026 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28028 ($(objpfx)memusage): Likewise.
28029 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28030 (do_version): Use PKGVERSION.
28031 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28032 (print_version): Use PKGVERSION.
28033 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28034 ($PKGVERSION): New variable.
28035 ($REPORT_BUGS_TO): Likewise.
28036 (usage): Use $REPORT_BUGS_TO.
28037 (top level): Use $PKGVERSION.
28038 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28039 ($(objpfx)pkgvers.texi): New rule.
28040 ($(objpfx)stamp-pkgvers): Likewise.
28041 * manual/install.texi: Include pkgvers.texi.
28042 (--with-pkgversion): Document new configure option.
28043 (--with-bugurl): Likewise.
28044 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28045 than necessarily for this particular distribution. Use
28046 REPORT_BUGS_TO for where to report bugs.
28047 * INSTALL: Regenerated.
28048 * manual/libc.texinfo: Include pkgvers.texi.
28049 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28050 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28051 (print_version): Use PKGVERSION.
28052 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28053 (print_version): Use PKGVERSION.
28054 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28055 (print_version): Use PKGVERSION.
28056 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28057 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28059 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28060 (print_version): Use PKGVERSION.
28061 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28062 (print_version): Use PKGVERSION.
28063 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28066 * timezone/checktab.awk: Update from tzcode 2012i.
28067 * timezone/ialloc.c: Likewise.
28068 * timezone/private.h: Likewise.
28069 * timezone/scheck.c: Likewise.
28070 * timezone/tzfile.h: Likewise.
28071 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28072 (TZVERSION): Hardcode tzcode version number.
28073 * timezone/zdump.c: Update from tzcode 2012i.
28074 * timezone/zic.c: Likewise.
28075 * timezone/version.h: New file.
28076 * timezone/README: Describe version.h. Update upstream location.
28079 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28080 (mktemp): Enable declaration.
28081 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28083 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28098 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28099 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28100 for copies of such integer values.
28101 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28102 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28104 2012-11-09 Andreas Jaeger <aj@suse.de>
28106 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28107 definitions and declarations that are provided by
28108 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28110 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28113 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28114 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28117 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28119 * elf/elf.h: Update comment before AArch64 relocations.
28121 2012-11-07 David S. Miller <davem@davemloft.net>
28123 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28124 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28125 (__start_context): Declare.
28126 (__makecontext_ret): Delete.
28127 (__makecontext): Hook up __start_context instead of
28129 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28130 (sysdep_routines): Add __start_context when in stdlib.
28132 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28134 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28135 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28136 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28138 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28139 (READELF): New variable. Use it instead of hardcoded "readelf".
28141 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28143 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28144 * sysdeps/x86/Makefile: Here.
28145 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28146 * sysdeps/x86/tst-xmmymm.sh: This.
28148 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28150 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28152 [UNIX98] (pthread_barrier_t): Do not expect.
28153 [UNIX98] (pthread_barrierattr_t): Likewise.
28154 [UNIX98] (pthread_spinlock_t): Likewise.
28155 [UNIX98] (pthread_barrier_destroy): Likewise.
28156 [UNIX98] (pthread_barrier_init): Likewise.
28157 [UNIX98] (pthread_barrier_wait): Likewise.
28158 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28159 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28160 [UNIX98] (pthread_barrierattr_init): Likewise.
28161 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28162 [UNIX98] (pthread_getcpuclockid): Likewise.
28163 [UNIX98] (pthread_mutex_timedlock): Likewise.
28164 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28165 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28166 [UNIX98] (pthread_sigmask): Likewise.
28167 [UNIX98] (pthread_spin_destroy): Likewise.
28168 [UNIX98] (pthread_spin_init): Likewise.
28169 [UNIX98] (pthread_spin_lock): Likewise.
28170 [UNIX98] (pthread_spin_trylock): Likewise.
28171 [UNIX98] (pthread_spin_unlock): Likewise.
28172 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28174 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28175 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28176 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28177 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28178 [XPG3 || XPG4] (pthread_key_t): Likewise.
28179 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28180 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28181 [XPG3 || XPG4] (pthread_once_t): Likewise.
28182 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28183 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28184 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28185 [XPG3 || XPG4] (pthread_t): Likewise.
28187 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28189 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28191 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28192 Change function return type to int.
28194 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28195 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28196 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28197 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28198 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28199 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28200 [!POSIX] (posix_madvise): Likewise.
28201 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28203 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28204 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28205 (mode_t): Likewise.
28206 (posix_mem_offset): Likewise.
28207 (posix_typed_mem_get_info): Likewise.
28208 (posix_typed_mem_open): Likewise.
28210 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28211 Change condition to [XOPEN2K8].
28213 * conform/conformtest.pl: Preprocess allow-header data with -x c
28214 instead of from stdin.
28215 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28216 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28217 [C99-based standards] (cerfc): Likewise.
28218 [C99-based standards] (cexp2): Likewise.
28219 [C99-based standards] (cexpm1): Likewise.
28220 [C99-based standards] (clog10): Likewise.
28221 [C99-based standards] (clog1p): Likewise.
28222 [C99-based standards] (clog2): Likewise.
28223 [C99-based standards] (clgamma): Likewise.
28224 [C99-based standards] (ctgamma): Likewise.
28225 [C99-based standards] (cerff): Likewise.
28226 [C99-based standards] (cerfcf): Likewise.
28227 [C99-based standards] (cexp2f): Likewise.
28228 [C99-based standards] (cexpm1f): Likewise.
28229 [C99-based standards] (clog10f): Likewise.
28230 [C99-based standards] (clog1pf): Likewise.
28231 [C99-based standards] (clog2f): Likewise.
28232 [C99-based standards] (clgammaf): Likewise.
28233 [C99-based standards] (ctgammaf): Likewise.
28234 [C99-based standards] (cerfl): Likewise.
28235 [C99-based standards] (cerfcl): Likewise.
28236 [C99-based standards] (cexp2l): Likewise.
28237 [C99-based standards] (cexpm1l): Likewise.
28238 [C99-based standards] (clog10l): Likewise.
28239 [C99-based standards] (clog1pl): Likewise.
28240 [C99-based standards] (clog2l): Likewise.
28241 [C99-based standards] (clgammal): Likewise.
28242 [C99-based standards] (ctgammal): Likewise.
28243 * conform/data/inttypes.h-data [C99-based standards]: Include
28244 stdint.h-data. Remove all expectations for stdint.h contents.
28245 [C99-based standards] (PRI*): Do not allow.
28246 [C99-based standards] (SCN*): Likewise.
28247 [C99-based standards] (*_t): Likewise.
28248 [C99-based-standards] (PRId8): Expect macro.
28249 [C99-based-standards] (PRIi8): Likewise.
28250 [C99-based-standards] (PRIo8): Likewise.
28251 [C99-based-standards] (PRIu8): Likewise.
28252 [C99-based-standards] (PRIx8): Likewise.
28253 [C99-based-standards] (PRIX8): Likewise.
28254 [C99-based-standards] (SCNd8): Likewise.
28255 [C99-based-standards] (SCNi8): Likewise.
28256 [C99-based-standards] (SCNo8): Likewise.
28257 [C99-based-standards] (SCNu8): Likewise.
28258 [C99-based-standards] (SCNx8): Likewise.
28259 [C99-based-standards] (PRIdLEAST8): Likewise.
28260 [C99-based-standards] (PRIiLEAST8): Likewise.
28261 [C99-based-standards] (PRIoLEAST8): Likewise.
28262 [C99-based-standards] (PRIuLEAST8): Likewise.
28263 [C99-based-standards] (PRIxLEAST8): Likewise.
28264 [C99-based-standards] (PRIXLEAST8): Likewise.
28265 [C99-based-standards] (SCNdLEAST8): Likewise.
28266 [C99-based-standards] (SCNiLEAST8): Likewise.
28267 [C99-based-standards] (SCNoLEAST8): Likewise.
28268 [C99-based-standards] (SCNuLEAST8): Likewise.
28269 [C99-based-standards] (SCNxLEAST8): Likewise.
28270 [C99-based-standards] (PRIdFAST8): Likewise.
28271 [C99-based-standards] (PRIiFAST8): Likewise.
28272 [C99-based-standards] (PRIoFAST8): Likewise.
28273 [C99-based-standards] (PRIuFAST8): Likewise.
28274 [C99-based-standards] (PRIxFAST8): Likewise.
28275 [C99-based-standards] (PRIXFAST8): Likewise.
28276 [C99-based-standards] (SCNdFAST8): Likewise.
28277 [C99-based-standards] (SCNiFAST8): Likewise.
28278 [C99-based-standards] (SCNoFAST8): Likewise.
28279 [C99-based-standards] (SCNuFAST8): Likewise.
28280 [C99-based-standards] (SCNxFAST8): Likewise.
28281 [C99-based-standards] (PRId16): Likewise.
28282 [C99-based-standards] (PRIi16): Likewise.
28283 [C99-based-standards] (PRIo16): Likewise.
28284 [C99-based-standards] (PRIu16): Likewise.
28285 [C99-based-standards] (PRIx16): Likewise.
28286 [C99-based-standards] (PRIX16): Likewise.
28287 [C99-based-standards] (SCNd16): Likewise.
28288 [C99-based-standards] (SCNi16): Likewise.
28289 [C99-based-standards] (SCNo16): Likewise.
28290 [C99-based-standards] (SCNu16): Likewise.
28291 [C99-based-standards] (SCNx16): Likewise.
28292 [C99-based-standards] (PRIdLEAST16): Likewise.
28293 [C99-based-standards] (PRIiLEAST16): Likewise.
28294 [C99-based-standards] (PRIoLEAST16): Likewise.
28295 [C99-based-standards] (PRIuLEAST16): Likewise.
28296 [C99-based-standards] (PRIxLEAST16): Likewise.
28297 [C99-based-standards] (PRIXLEAST16): Likewise.
28298 [C99-based-standards] (SCNdLEAST16): Likewise.
28299 [C99-based-standards] (SCNiLEAST16): Likewise.
28300 [C99-based-standards] (SCNoLEAST16): Likewise.
28301 [C99-based-standards] (SCNuLEAST16): Likewise.
28302 [C99-based-standards] (SCNxLEAST16): Likewise.
28303 [C99-based-standards] (PRIdFAST16): Likewise.
28304 [C99-based-standards] (PRIiFAST16): Likewise.
28305 [C99-based-standards] (PRIoFAST16): Likewise.
28306 [C99-based-standards] (PRIuFAST16): Likewise.
28307 [C99-based-standards] (PRIxFAST16): Likewise.
28308 [C99-based-standards] (PRIXFAST16): Likewise.
28309 [C99-based-standards] (SCNdFAST16): Likewise.
28310 [C99-based-standards] (SCNiFAST16): Likewise.
28311 [C99-based-standards] (SCNoFAST16): Likewise.
28312 [C99-based-standards] (SCNuFAST16): Likewise.
28313 [C99-based-standards] (SCNxFAST16): Likewise.
28314 [C99-based-standards] (PRId32): Likewise.
28315 [C99-based-standards] (PRIi32): Likewise.
28316 [C99-based-standards] (PRIo32): Likewise.
28317 [C99-based-standards] (PRIu32): Likewise.
28318 [C99-based-standards] (PRIx32): Likewise.
28319 [C99-based-standards] (PRIX32): Likewise.
28320 [C99-based-standards] (SCNd32): Likewise.
28321 [C99-based-standards] (SCNi32): Likewise.
28322 [C99-based-standards] (SCNo32): Likewise.
28323 [C99-based-standards] (SCNu32): Likewise.
28324 [C99-based-standards] (SCNx32): Likewise.
28325 [C99-based-standards] (PRIdLEAST32): Likewise.
28326 [C99-based-standards] (PRIiLEAST32): Likewise.
28327 [C99-based-standards] (PRIoLEAST32): Likewise.
28328 [C99-based-standards] (PRIuLEAST32): Likewise.
28329 [C99-based-standards] (PRIxLEAST32): Likewise.
28330 [C99-based-standards] (PRIXLEAST32): Likewise.
28331 [C99-based-standards] (SCNdLEAST32): Likewise.
28332 [C99-based-standards] (SCNiLEAST32): Likewise.
28333 [C99-based-standards] (SCNoLEAST32): Likewise.
28334 [C99-based-standards] (SCNuLEAST32): Likewise.
28335 [C99-based-standards] (SCNxLEAST32): Likewise.
28336 [C99-based-standards] (PRIdFAST32): Likewise.
28337 [C99-based-standards] (PRIiFAST32): Likewise.
28338 [C99-based-standards] (PRIoFAST32): Likewise.
28339 [C99-based-standards] (PRIuFAST32): Likewise.
28340 [C99-based-standards] (PRIxFAST32): Likewise.
28341 [C99-based-standards] (PRIXFAST32): Likewise.
28342 [C99-based-standards] (SCNdFAST32): Likewise.
28343 [C99-based-standards] (SCNiFAST32): Likewise.
28344 [C99-based-standards] (SCNoFAST32): Likewise.
28345 [C99-based-standards] (SCNuFAST32): Likewise.
28346 [C99-based-standards] (SCNxFAST32): Likewise.
28347 [C99-based-standards] (PRId64): Likewise.
28348 [C99-based-standards] (PRIi64): Likewise.
28349 [C99-based-standards] (PRIo64): Likewise.
28350 [C99-based-standards] (PRIu64): Likewise.
28351 [C99-based-standards] (PRIx64): Likewise.
28352 [C99-based-standards] (PRIX64): Likewise.
28353 [C99-based-standards] (SCNd64): Likewise.
28354 [C99-based-standards] (SCNi64): Likewise.
28355 [C99-based-standards] (SCNo64): Likewise.
28356 [C99-based-standards] (SCNu64): Likewise.
28357 [C99-based-standards] (SCNx64): Likewise.
28358 [C99-based-standards] (PRIdLEAST64): Likewise.
28359 [C99-based-standards] (PRIiLEAST64): Likewise.
28360 [C99-based-standards] (PRIoLEAST64): Likewise.
28361 [C99-based-standards] (PRIuLEAST64): Likewise.
28362 [C99-based-standards] (PRIxLEAST64): Likewise.
28363 [C99-based-standards] (PRIXLEAST64): Likewise.
28364 [C99-based-standards] (SCNdLEAST64): Likewise.
28365 [C99-based-standards] (SCNiLEAST64): Likewise.
28366 [C99-based-standards] (SCNoLEAST64): Likewise.
28367 [C99-based-standards] (SCNuLEAST64): Likewise.
28368 [C99-based-standards] (SCNxLEAST64): Likewise.
28369 [C99-based-standards] (PRIdFAST64): Likewise.
28370 [C99-based-standards] (PRIiFAST64): Likewise.
28371 [C99-based-standards] (PRIoFAST64): Likewise.
28372 [C99-based-standards] (PRIuFAST64): Likewise.
28373 [C99-based-standards] (PRIxFAST64): Likewise.
28374 [C99-based-standards] (PRIXFAST64): Likewise.
28375 [C99-based-standards] (SCNdFAST64): Likewise.
28376 [C99-based-standards] (SCNiFAST64): Likewise.
28377 [C99-based-standards] (SCNoFAST64): Likewise.
28378 [C99-based-standards] (SCNuFAST64): Likewise.
28379 [C99-based-standards] (SCNxFAST64): Likewise.
28380 [C99-based-standards] (PRIdMAX): Likewise.
28381 [C99-based-standards] (PRIiMAX): Likewise.
28382 [C99-based-standards] (PRIoMAX): Likewise.
28383 [C99-based-standards] (PRIuMAX): Likewise.
28384 [C99-based-standards] (PRIxMAX): Likewise.
28385 [C99-based-standards] (PRIXMAX): Likewise.
28386 [C99-based-standards] (SCNdMAX): Likewise.
28387 [C99-based-standards] (SCNiMAX): Likewise.
28388 [C99-based-standards] (SCNoMAX): Likewise.
28389 [C99-based-standards] (SCNuMAX): Likewise.
28390 [C99-based-standards] (SCNxMAX): Likewise.
28391 [C99-based-standards] (PRIdPTR): Likewise.
28392 [C99-based-standards] (PRIiPTR): Likewise.
28393 [C99-based-standards] (PRIoPTR): Likewise.
28394 [C99-based-standards] (PRIuPTR): Likewise.
28395 [C99-based-standards] (PRIxPTR): Likewise.
28396 [C99-based-standards] (PRIXPTR): Likewise.
28397 [C99-based-standards] (SCNdPTR): Likewise.
28398 [C99-based-standards] (SCNiPTR): Likewise.
28399 [C99-based-standards] (SCNoPTR): Likewise.
28400 [C99-based-standards] (SCNuPTR): Likewise.
28401 [C99-based-standards] (SCNxPTR): Likewise.
28402 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28404 * conform/data/stdint.h-data: Update comments to clarify
28406 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28408 [C99-based standards] (INT8_MAX): Likewise.
28409 [C99-based standards] (INT16_MIN): Likewise.
28410 [C99-based standards] (INT16_MAX): Likewise.
28411 [C99-based standards] (INT32_MIN): Likewise.
28412 [C99-based standards] (INT32_MAX): Likewise.
28413 [C99-based standards] (INT64_MIN): Likewise.
28414 [C99-based standards] (INT64_MAX): Likewise.
28415 [C99-based standards] (UINT8_MAX): Likewise.
28416 [C99-based standards] (UINT16_MAX): Likewise.
28417 [C99-based standards] (UINT32_MAX): Likewise.
28418 [C99-based standards] (UINT64_MAX): Likewise.
28419 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28420 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28421 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28422 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28423 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28424 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28425 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28426 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28427 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28428 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28429 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28430 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28431 [C99-based standards] (INT_FAST8_MIN): Likewise.
28432 [C99-based standards] (INT_FAST8_MAX): Likewise.
28433 [C99-based standards] (INT_FAST16_MIN): Likewise.
28434 [C99-based standards] (INT_FAST16_MAX): Likewise.
28435 [C99-based standards] (INT_FAST32_MIN): Likewise.
28436 [C99-based standards] (INT_FAST32_MAX): Likewise.
28437 [C99-based standards] (INT_FAST64_MIN): Likewise.
28438 [C99-based standards] (INT_FAST64_MAX): Likewise.
28439 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28440 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28441 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28442 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28443 [C99-based standards] (INTPTR_MIN): Likewise.
28444 [C99-based standards] (INTPTR_MAX): Likewise.
28445 [C99-based standards] (UINTPTR_MAX): Likewise.
28446 [C99-based standards] (INTMAX_MIN): Likewise.
28447 [C99-based standards] (INTMAX_MAX): Likewise.
28448 [C99-based standards] (UINTMAX_MAX): Likewise.
28449 [C99-based standards] (PTRDIFF_MIN): Likewise.
28450 [C99-based standards] (PTRDIFF_MAX): Likewise.
28451 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28452 [C99-based standards] (SIZE_MAX): Likewise.
28453 [C99-based standards] (WCHAR_MAX): Likewise.
28454 [C99-based standards] (WINT_MAX): Likewise.
28455 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28456 constraint on value.
28457 [C99-based standards] (WCHAR_MIN): Likewise.
28458 [C99-based standards] (WINT_MIN): Likewise.
28459 [C99-based standards] (*_t): Allow.
28460 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28461 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28462 Include math.h-data and complex.h-data. Remove all expectations
28463 of math.h and complex.h contents.
28464 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28466 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28467 (struct tm): Expect tag.
28468 [C99-based-standards] (wcstof): Expect function.
28469 [C99-based-standards] (wcstold): Likewise.
28470 [C99-based-standards] (wcstoll): Likewise.
28471 [C99-based-standards] (wcstoull): Likewise.
28472 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28473 macro-int-constant. Specify type.
28474 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28475 constraint on value.
28476 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28478 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28480 [ISO C standards]: Do not allow headers.
28481 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28482 wcs[abcdefghijklmnopqrstuvwxyz]*.
28483 [ISO C standards] (*_t): Do not allow.
28484 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28486 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28487 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28489 [ISO C standards]: Do not allow headers.
28490 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28491 is[abcdefghijklmnopqrstuvwxyz]*.
28492 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28493 to[abcdefghijklmnopqrstuvwxyz]*.
28494 [ISO C standards] (*_t): Do not allow.
28495 * conform/data/stdalign.h-data: New file.
28496 * conform/data/stdbool.h-data: Likewise.
28497 * conform/data/stdnoreturn.h-data: Likewise.
28499 2012-11-07 Roland McGrath <roland@hack.frob.com>
28502 * manual/filesys.texi (Directory Entries): Typo fix.
28503 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28505 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28507 * elf/elf.h (EM_AARCH64): New macro.
28508 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28509 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28510 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28511 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28512 (R_AARCH64_TLSDESC): Likewise.
28513 (NT_ARM_TLS): Likewise.
28514 (NT_ARM_HW_BREAK): Likewise.
28515 (NT_ARM_HW_WATCH): Likewise.
28517 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28520 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28521 (__ieee754_powl): Saturate nonzero exponents with absolute value
28522 below 0x1p-79 to +/- 0x1p-79.
28523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28524 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28525 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28526 nonzero exponents with absolute value below 0x1p-32 to +/-
28528 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28529 (__ieee754_powl): Saturate nonzero exponents with absolute value
28530 below 0x1p-79 to +/- 0x1p-79.
28531 * math/libm-test.inc (pow_test): Add more tests.
28533 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28535 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28536 _dl_s390_cap_flags with kernel. Increase string length.
28537 (_dl_s390_platforms): Add z196 and zEC12.
28539 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28541 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28542 Change XOPEN21K to XOPEN2K.
28544 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28546 * string/memmove.c: Use memcpy when possible.
28548 2012-11-06 Andreas Jaeger <aj@suse.de>
28550 * po/eo.po: Update from translation team.
28552 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28556 exponent and small x and y exponents, scale x or y up. Increase
28557 by 2 the exponent used in scaling up.
28558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28560 * math/libm-test.inc (fma_test): Add more tests.
28561 (fma_test_towardzero): Likewise.
28562 (fma_test_downward): Likewise.
28563 (fma_test_upward): Likewise.
28565 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28568 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28572 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28573 namespace for names of struct fields.
28574 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28576 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28577 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28579 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28582 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28584 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28586 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28590 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28593 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28597 definitely overflow as x * y not x * y + z.
28598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28600 * math/libm-test.inc (fma_test): Add more tests.
28601 (fma_test_towardzero): Likewise.
28602 (fma_test_downward): Likewise.
28603 (fma_test_upward): Likewise.
28605 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28609 * include/stub-tag.h: Remove file.
28610 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28612 * manual/maint.texi (Porting): Don't reference it.
28613 * Makerules ($(objpfx)stubs): Likewise.
28614 * dirent/closedir.c: Don't include <stub-tag.h>.
28615 * dirent/dirfd.c: Likewise.
28616 * dirent/fdopendir.c: Likewise.
28617 * dirent/getdents.c: Likewise.
28618 * dirent/getdents64.c: Likewise.
28619 * dirent/opendir.c: Likewise.
28620 * dirent/readdir.c: Likewise.
28621 * dirent/readdir64.c: Likewise.
28622 * dirent/readdir64_r.c: Likewise.
28623 * dirent/readdir_r.c: Likewise.
28624 * dirent/rewinddir.c: Likewise.
28625 * dirent/seekdir.c: Likewise.
28626 * dirent/telldir.c: Likewise.
28627 * gmon/profil.c: Likewise.
28628 * grp/setgroups.c: Likewise.
28629 * inet/if_index.c: Likewise.
28630 * io/access.c: Likewise.
28631 * io/chdir.c: Likewise.
28632 * io/chmod.c: Likewise.
28633 * io/chown.c: Likewise.
28634 * io/close.c: Likewise.
28635 * io/dup.c: Likewise.
28636 * io/dup2.c: Likewise.
28637 * io/dup3.c: Likewise.
28638 * io/euidaccess.c: Likewise.
28639 * io/faccessat.c: Likewise.
28640 * io/fchdir.c: Likewise.
28641 * io/fchmod.c: Likewise.
28642 * io/fchmodat.c: Likewise.
28643 * io/fchown.c: Likewise.
28644 * io/fchownat.c: Likewise.
28645 * io/fcntl.c: Likewise.
28646 * io/flock.c: Likewise.
28647 * io/fstatfs.c: Likewise.
28648 * io/fstatfs64.c: Likewise.
28649 * io/fstatvfs.c: Likewise.
28650 * io/fstatvfs64.c: Likewise.
28651 * io/futimens.c: Likewise.
28652 * io/fxstat.c: Likewise.
28653 * io/fxstat64.c: Likewise.
28654 * io/fxstatat.c: Likewise.
28655 * io/fxstatat64.c: Likewise.
28656 * io/getcwd.c: Likewise.
28657 * io/isatty.c: Likewise.
28658 * io/lchmod.c: Likewise.
28659 * io/lchown.c: Likewise.
28660 * io/link.c: Likewise.
28661 * io/linkat.c: Likewise.
28662 * io/lseek.c: Likewise.
28663 * io/lseek64.c: Likewise.
28664 * io/lxstat64.c: Likewise.
28665 * io/mkdir.c: Likewise.
28666 * io/mkdirat.c: Likewise.
28667 * io/mkfifo.c: Likewise.
28668 * io/mkfifoat.c: Likewise.
28669 * io/open.c: Likewise.
28670 * io/open64.c: Likewise.
28671 * io/openat.c: Likewise.
28672 * io/openat64.c: Likewise.
28673 * io/pipe.c: Likewise.
28674 * io/pipe2.c: Likewise.
28675 * io/poll.c: Likewise.
28676 * io/posix_fadvise.c: Likewise.
28677 * io/posix_fadvise64.c: Likewise.
28678 * io/posix_fallocate.c: Likewise.
28679 * io/posix_fallocate64.c: Likewise.
28680 * io/read.c: Likewise.
28681 * io/readlink.c: Likewise.
28682 * io/readlinkat.c: Likewise.
28683 * io/rmdir.c: Likewise.
28684 * io/sendfile.c: Likewise.
28685 * io/sendfile64.c: Likewise.
28686 * io/statfs.c: Likewise.
28687 * io/statfs64.c: Likewise.
28688 * io/statvfs.c: Likewise.
28689 * io/statvfs64.c: Likewise.
28690 * io/symlink.c: Likewise.
28691 * io/symlinkat.c: Likewise.
28692 * io/ttyname.c: Likewise.
28693 * io/ttyname_r.c: Likewise.
28694 * io/umask.c: Likewise.
28695 * io/unlink.c: Likewise.
28696 * io/unlinkat.c: Likewise.
28697 * io/utime.c: Likewise.
28698 * io/utimensat.c: Likewise.
28699 * io/write.c: Likewise.
28700 * io/xmknod.c: Likewise.
28701 * io/xmknodat.c: Likewise.
28702 * io/xstat.c: Likewise.
28703 * io/xstat64.c: Likewise.
28704 * login/getpt.c: Likewise.
28705 * login/grantpt.c: Likewise.
28706 * login/unlockpt.c: Likewise.
28707 * math/e_acoshl.c: Likewise.
28708 * math/e_acosl.c: Likewise.
28709 * math/e_asinl.c: Likewise.
28710 * math/e_atan2l.c: Likewise.
28711 * math/e_atanhl.c: Likewise.
28712 * math/e_coshl.c: Likewise.
28713 * math/e_expl.c: Likewise.
28714 * math/e_fmodl.c: Likewise.
28715 * math/e_gammal_r.c: Likewise.
28716 * math/e_hypotl.c: Likewise.
28717 * math/e_j0l.c: Likewise.
28718 * math/e_j1l.c: Likewise.
28719 * math/e_jnl.c: Likewise.
28720 * math/e_lgammal_r.c: Likewise.
28721 * math/e_log10l.c: Likewise.
28722 * math/e_log2l.c: Likewise.
28723 * math/e_logl.c: Likewise.
28724 * math/e_powl.c: Likewise.
28725 * math/e_rem_pio2l.c: Likewise.
28726 * math/e_sinhl.c: Likewise.
28727 * math/e_sqrtl.c: Likewise.
28728 * math/fclrexcpt.c: Likewise.
28729 * math/fedisblxcpt.c: Likewise.
28730 * math/feenablxcpt.c: Likewise.
28731 * math/fegetenv.c: Likewise.
28732 * math/fegetexcept.c: Likewise.
28733 * math/fegetround.c: Likewise.
28734 * math/feholdexcpt.c: Likewise.
28735 * math/fesetenv.c: Likewise.
28736 * math/fesetround.c: Likewise.
28737 * math/feupdateenv.c: Likewise.
28738 * math/fgetexcptflg.c: Likewise.
28739 * math/fraiseexcpt.c: Likewise.
28740 * math/fsetexcptflg.c: Likewise.
28741 * math/ftestexcept.c: Likewise.
28742 * math/k_cosl.c: Likewise.
28743 * math/k_rem_pio2l.c: Likewise.
28744 * math/k_sinl.c: Likewise.
28745 * math/k_tanl.c: Likewise.
28746 * math/s_asinhl.c: Likewise.
28747 * math/s_atanl.c: Likewise.
28748 * math/s_cbrtl.c: Likewise.
28749 * math/s_erfl.c: Likewise.
28750 * math/s_expm1l.c: Likewise.
28751 * math/s_log1pl.c: Likewise.
28752 * math/s_tanhl.c: Likewise.
28753 * misc/acct.c: Likewise.
28754 * misc/brk.c: Likewise.
28755 * misc/chflags.c: Likewise.
28756 * misc/chroot.c: Likewise.
28757 * misc/fchflags.c: Likewise.
28758 * misc/fgetxattr.c: Likewise.
28759 * misc/flistxattr.c: Likewise.
28760 * misc/fremovexattr.c: Likewise.
28761 * misc/fsetxattr.c: Likewise.
28762 * misc/fsync.c: Likewise.
28763 * misc/ftruncate.c: Likewise.
28764 * misc/futimes.c: Likewise.
28765 * misc/futimesat.c: Likewise.
28766 * misc/getdomain.c: Likewise.
28767 * misc/getdtsz.c: Likewise.
28768 * misc/gethostid.c: Likewise.
28769 * misc/gethostname.c: Likewise.
28770 * misc/getloadavg.c: Likewise.
28771 * misc/getpagesize.c: Likewise.
28772 * misc/getsysstats.c: Likewise.
28773 * misc/getxattr.c: Likewise.
28774 * misc/gtty.c: Likewise.
28775 * misc/ioctl.c: Likewise.
28776 * misc/lgetxattr.c: Likewise.
28777 * misc/listxattr.c: Likewise.
28778 * misc/llistxattr.c: Likewise.
28779 * misc/lremovexattr.c: Likewise.
28780 * misc/lsetxattr.c: Likewise.
28781 * misc/lutimes.c: Likewise.
28782 * misc/madvise.c: Likewise.
28783 * misc/mincore.c: Likewise.
28784 * misc/mlock.c: Likewise.
28785 * misc/mlockall.c: Likewise.
28786 * misc/mmap.c: Likewise.
28787 * misc/mprotect.c: Likewise.
28788 * misc/msync.c: Likewise.
28789 * misc/munlock.c: Likewise.
28790 * misc/munlockall.c: Likewise.
28791 * misc/munmap.c: Likewise.
28792 * misc/preadv.c: Likewise.
28793 * misc/preadv64.c: Likewise.
28794 * misc/ptrace.c: Likewise.
28795 * misc/pwritev.c: Likewise.
28796 * misc/pwritev64.c: Likewise.
28797 * misc/readv.c: Likewise.
28798 * misc/reboot.c: Likewise.
28799 * misc/remap_file_pages.c: Likewise.
28800 * misc/removexattr.c: Likewise.
28801 * misc/revoke.c: Likewise.
28802 * misc/select.c: Likewise.
28803 * misc/setdomain.c: Likewise.
28804 * misc/setegid.c: Likewise.
28805 * misc/seteuid.c: Likewise.
28806 * misc/sethostid.c: Likewise.
28807 * misc/sethostname.c: Likewise.
28808 * misc/setregid.c: Likewise.
28809 * misc/setreuid.c: Likewise.
28810 * misc/setxattr.c: Likewise.
28811 * misc/sstk.c: Likewise.
28812 * misc/stty.c: Likewise.
28813 * misc/swapoff.c: Likewise.
28814 * misc/swapon.c: Likewise.
28815 * misc/sync.c: Likewise.
28816 * misc/syncfs.c: Likewise.
28817 * misc/syscall.c: Likewise.
28818 * misc/truncate.c: Likewise.
28819 * misc/ualarm.c: Likewise.
28820 * misc/usleep.c: Likewise.
28821 * misc/ustat.c: Likewise.
28822 * misc/utimes.c: Likewise.
28823 * misc/vhangup.c: Likewise.
28824 * misc/writev.c: Likewise.
28825 * posix/_exit.c: Likewise.
28826 * posix/alarm.c: Likewise.
28827 * posix/execve.c: Likewise.
28828 * posix/fexecve.c: Likewise.
28829 * posix/fork.c: Likewise.
28830 * posix/fpathconf.c: Likewise.
28831 * posix/getaddrinfo.c: Likewise.
28832 * posix/getegid.c: Likewise.
28833 * posix/geteuid.c: Likewise.
28834 * posix/getgid.c: Likewise.
28835 * posix/getgroups.c: Likewise.
28836 * posix/getlogin.c: Likewise.
28837 * posix/getlogin_r.c: Likewise.
28838 * posix/getpgid.c: Likewise.
28839 * posix/getpid.c: Likewise.
28840 * posix/getppid.c: Likewise.
28841 * posix/getresgid.c: Likewise.
28842 * posix/getresuid.c: Likewise.
28843 * posix/getsid.c: Likewise.
28844 * posix/getuid.c: Likewise.
28845 * posix/glob64.c: Likewise.
28846 * posix/nanosleep.c: Likewise.
28847 * posix/pathconf.c: Likewise.
28848 * posix/pause.c: Likewise.
28849 * posix/posix_madvise.c: Likewise.
28850 * posix/pread.c: Likewise.
28851 * posix/pread64.c: Likewise.
28852 * posix/pwrite.c: Likewise.
28853 * posix/pwrite64.c: Likewise.
28854 * posix/sched_getaffinity.c: Likewise.
28855 * posix/sched_getp.c: Likewise.
28856 * posix/sched_gets.c: Likewise.
28857 * posix/sched_primax.c: Likewise.
28858 * posix/sched_primin.c: Likewise.
28859 * posix/sched_rr_gi.c: Likewise.
28860 * posix/sched_setaffinity.c: Likewise.
28861 * posix/sched_setp.c: Likewise.
28862 * posix/sched_sets.c: Likewise.
28863 * posix/sched_yield.c: Likewise.
28864 * posix/setgid.c: Likewise.
28865 * posix/setlogin.c: Likewise.
28866 * posix/setpgid.c: Likewise.
28867 * posix/setresgid.c: Likewise.
28868 * posix/setresuid.c: Likewise.
28869 * posix/setsid.c: Likewise.
28870 * posix/setuid.c: Likewise.
28871 * posix/sleep.c: Likewise.
28872 * posix/spawni.c: Likewise.
28873 * posix/sysconf.c: Likewise.
28874 * posix/times.c: Likewise.
28875 * posix/wait.c: Likewise.
28876 * posix/wait3.c: Likewise.
28877 * posix/wait4.c: Likewise.
28878 * posix/waitpid.c: Likewise.
28879 * resolv/gai_sigqueue.c: Likewise.
28880 * resource/getpriority.c: Likewise.
28881 * resource/getrlimit.c: Likewise.
28882 * resource/getrusage.c: Likewise.
28883 * resource/nice.c: Likewise.
28884 * resource/setpriority.c: Likewise.
28885 * resource/setrlimit.c: Likewise.
28886 * resource/ulimit.c: Likewise.
28887 * rt/aio_cancel.c: Likewise.
28888 * rt/aio_fsync.c: Likewise.
28889 * rt/aio_read.c: Likewise.
28890 * rt/aio_sigqueue.c: Likewise.
28891 * rt/aio_suspend.c: Likewise.
28892 * rt/aio_write.c: Likewise.
28893 * rt/clock_getres.c: Likewise.
28894 * rt/clock_gettime.c: Likewise.
28895 * rt/clock_nanosleep.c: Likewise.
28896 * rt/clock_settime.c: Likewise.
28897 * rt/lio_listio.c: Likewise.
28898 * rt/mq_close.c: Likewise.
28899 * rt/mq_getattr.c: Likewise.
28900 * rt/mq_notify.c: Likewise.
28901 * rt/mq_open.c: Likewise.
28902 * rt/mq_receive.c: Likewise.
28903 * rt/mq_send.c: Likewise.
28904 * rt/mq_setattr.c: Likewise.
28905 * rt/mq_timedreceive.c: Likewise.
28906 * rt/mq_timedsend.c: Likewise.
28907 * rt/mq_unlink.c: Likewise.
28908 * rt/shm_open.c: Likewise.
28909 * rt/shm_unlink.c: Likewise.
28910 * rt/timer_create.c: Likewise.
28911 * rt/timer_delete.c: Likewise.
28912 * rt/timer_getoverr.c: Likewise.
28913 * rt/timer_gettime.c: Likewise.
28914 * rt/timer_settime.c: Likewise.
28915 * setjmp/__longjmp.c: Likewise.
28916 * setjmp/setjmp.c: Likewise.
28917 * signal/kill.c: Likewise.
28918 * signal/killpg.c: Likewise.
28919 * signal/raise.c: Likewise.
28920 * signal/sigaction.c: Likewise.
28921 * signal/sigaltstack.c: Likewise.
28922 * signal/sigblock.c: Likewise.
28923 * signal/sigignore.c: Likewise.
28924 * signal/sigintr.c: Likewise.
28925 * signal/signal.c: Likewise.
28926 * signal/sigpause.c: Likewise.
28927 * signal/sigpending.c: Likewise.
28928 * signal/sigqueue.c: Likewise.
28929 * signal/sigreturn.c: Likewise.
28930 * signal/sigset.c: Likewise.
28931 * signal/sigsetmask.c: Likewise.
28932 * signal/sigstack.c: Likewise.
28933 * signal/sigsuspend.c: Likewise.
28934 * signal/sigtimedwait.c: Likewise.
28935 * signal/sigvec.c: Likewise.
28936 * signal/sigwait.c: Likewise.
28937 * signal/sigwaitinfo.c: Likewise.
28938 * signal/sysv_signal.c: Likewise.
28939 * socket/accept.c: Likewise.
28940 * socket/accept4.c: Likewise.
28941 * socket/bind.c: Likewise.
28942 * socket/connect.c: Likewise.
28943 * socket/getpeername.c: Likewise.
28944 * socket/getsockname.c: Likewise.
28945 * socket/getsockopt.c: Likewise.
28946 * socket/isfdtype.c: Likewise.
28947 * socket/listen.c: Likewise.
28948 * socket/recv.c: Likewise.
28949 * socket/recvfrom.c: Likewise.
28950 * socket/recvmsg.c: Likewise.
28951 * socket/send.c: Likewise.
28952 * socket/sendmsg.c: Likewise.
28953 * socket/sendto.c: Likewise.
28954 * socket/setsockopt.c: Likewise.
28955 * socket/shutdown.c: Likewise.
28956 * socket/sockatmark.c: Likewise.
28957 * socket/socket.c: Likewise.
28958 * socket/socketpair.c: Likewise.
28959 * stdio-common/ctermid.c: Likewise.
28960 * stdio-common/cuserid.c: Likewise.
28961 * stdio-common/remove.c: Likewise.
28962 * stdio-common/rename.c: Likewise.
28963 * stdio-common/renameat.c: Likewise.
28964 * stdio-common/tempname.c: Likewise.
28965 * stdlib/getcontext.c: Likewise.
28966 * stdlib/makecontext.c: Likewise.
28967 * stdlib/setcontext.c: Likewise.
28968 * stdlib/swapcontext.c: Likewise.
28969 * stdlib/system.c: Likewise.
28970 * streams/fattach.c: Likewise.
28971 * streams/fdetach.c: Likewise.
28972 * streams/getmsg.c: Likewise.
28973 * streams/getpmsg.c: Likewise.
28974 * streams/putmsg.c: Likewise.
28975 * streams/putpmsg.c: Likewise.
28976 * sysdeps/unix/bsd/getpt.c: Likewise.
28977 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28978 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28979 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28982 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28983 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28984 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28985 * sysvipc/msgctl.c: Likewise.
28986 * sysvipc/msgget.c: Likewise.
28987 * sysvipc/msgrcv.c: Likewise.
28988 * sysvipc/msgsnd.c: Likewise.
28989 * sysvipc/semctl.c: Likewise.
28990 * sysvipc/semget.c: Likewise.
28991 * sysvipc/semop.c: Likewise.
28992 * sysvipc/semtimedop.c: Likewise.
28993 * sysvipc/shmat.c: Likewise.
28994 * sysvipc/shmctl.c: Likewise.
28995 * sysvipc/shmdt.c: Likewise.
28996 * sysvipc/shmget.c: Likewise.
28997 * termios/tcdrain.c: Likewise.
28998 * termios/tcflow.c: Likewise.
28999 * termios/tcflush.c: Likewise.
29000 * termios/tcgetattr.c: Likewise.
29001 * termios/tcgetpgrp.c: Likewise.
29002 * termios/tcsendbrk.c: Likewise.
29003 * termios/tcsetattr.c: Likewise.
29004 * termios/tcsetpgrp.c: Likewise.
29005 * time/adjtime.c: Likewise.
29006 * time/clock.c: Likewise.
29007 * time/getitimer.c: Likewise.
29008 * time/gettimeofday.c: Likewise.
29009 * time/setitimer.c: Likewise.
29010 * time/settimeofday.c: Likewise.
29011 * time/stime.c: Likewise.
29012 * time/time.c: Likewise.
29014 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29016 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29019 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29021 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29023 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29027 FE_TONEAREST before applying Dekker multiplication and Knuth
29028 addition. Clear inexact exceptions and check for exact zero
29029 results afterwards.
29030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29031 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29032 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29033 * math/libm-test.inc (fma_test): Add more tests.
29034 (fma_test_towardzero): Likewise.
29035 (fma_test_downward): Likewise.
29036 (fma_test_upward): Likewise.
29037 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29039 (libc_fesetround): New macro.
29040 (libc_fesetroundf): Likewise.
29041 (libc_fesetroundl): Likewise.
29042 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29044 (libc_fesetround_387): Likewise.
29045 (libc_fesetroundf): New macro.
29046 (libc_fesetround): Likewise.
29047 (libc_fesetroundl): Likewise.
29048 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29050 (libc_fesetroundf): New macro.
29051 (libc_fesetround): Likewise.
29052 (libc_fesetroundl): Likewise.
29053 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29054 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29055 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29057 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29058 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29060 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29061 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29063 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29067 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29068 integer constant usable in #if and use that to give value to enum
29070 (FE_DIVBYZERO): Likewise.
29071 (FE_UNDERFLOW): Likewise.
29072 (FE_OVERFLOW): Likewise.
29073 (FE_INVALID): Likewise.
29074 (FE_INVALID_SNAN): Likewise.
29075 (FE_INVALID_ISI): Likewise.
29076 (FE_INVALID_IDI): Likewise.
29077 (FE_INVALID_ZDZ): Likewise.
29078 (FE_INVALID_IMZ): Likewise.
29079 (FE_INVALID_COMPARE): Likewise.
29080 (FE_INVALID_SOFTWARE): Likewise.
29081 (FE_INVALID_SQRT): Likewise.
29082 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29083 (FE_TONEAREST): Likewise.
29084 (FE_TOWARDZERO): Likewise.
29085 (FE_UPWARD): Likewise.
29086 (FE_DOWNWARD): Likewise.
29087 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29088 (FE_DIVBYZERO): Likewise.
29089 (FE_OVERFLOW): Likewise.
29090 (FE_UNDERFLOW): Likewise.
29091 (FE_INEXACT): Likewise.
29092 (FE_TONEAREST): Likewise.
29093 (FE_DOWNWARD): Likewise.
29094 (FE_UPWARD): Likewise.
29095 (FE_TOWARDZERO): Likewise.
29096 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29097 (FE_UNDERFLOW): Likewise.
29098 (FE_OVERFLOW): Likewise.
29099 (FE_DIVBYZERO): Likewise.
29100 (FE_INVALID): Likewise.
29101 (FE_TONEAREST): Likewise.
29102 (FE_TOWARDZERO): Likewise.
29103 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29104 (FE_OVERFLOW): Likewise.
29105 (FE_UNDERFLOW): Likewise.
29106 (FE_DIVBYZERO): Likewise.
29107 (FE_INEXACT): Likewise.
29108 (FE_TONEAREST): Likewise.
29109 (FE_TOWARDZERO): Likewise.
29110 (FE_UPWARD): Likewise.
29111 (FE_DOWNWARD): Likewise.
29112 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29113 (FE_DIVBYZERO): Likewise.
29114 (FE_OVERFLOW): Likewise.
29115 (FE_UNDERFLOW): Likewise.
29116 (FE_INEXACT): Likewise.
29117 (FE_TONEAREST): Likewise.
29118 (FE_DOWNWARD): Likewise.
29119 (FE_UPWARD): Likewise.
29120 (FE_TOWARDZERO): Likewise.
29122 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29124 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29126 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29128 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29129 commands. Quote $PWD.
29130 (blacklist_exports): Don't use remove_newlines. Replace "declare
29132 (remove_newlines): Remove.
29134 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29136 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29137 * stdlib/stdlib.h (atof): Moved to ...
29138 * include/bits/stdlib-float.h: Here. New file.
29139 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29140 * stdlib/bits/stdlib-float.h: New file.
29141 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29143 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29146 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29148 * conform/conformtest.pl (@headers): Add fenv.h.
29149 * conform/data/fenv.h-data: New file.
29150 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29151 include of <math/fenv.h>.
29153 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29154 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29155 && !UNIX98]. Enables tests for XOPEN2K8.
29156 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29157 POSIX2008]: Likewise.
29159 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29160 (struct rusage): Do not expect type or its members.
29163 * math/math.h (FP_NAN): Define macro to integer constant usable in
29164 #if and use that to give value to enum constant.
29165 (FP_INFINITE): Likewise.
29166 (FP_ZERO): Likewise.
29167 (FP_SUBNORMAL): Likewise.
29168 (FP_NORMAL): Likewise.
29170 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29172 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29173 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29176 2012-11-02 Roland McGrath <roland@hack.frob.com>
29178 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29179 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29180 autoconf-time if not.
29181 * configure.in: Remove AC_PREREQ.
29183 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29185 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29186 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29187 of the internal implementation.
29189 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29191 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29192 except include of <misc/sys/syslog.h>.
29194 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29197 function returns with a NULL context exit with zero.
29199 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29201 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29203 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29205 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29206 (run_program_cmd): This.
29207 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29208 (tst_langinfo): New variable. Use it.
29210 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29212 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29213 floating point opcodes.
29215 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29217 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29220 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29222 * sysdeps/mach/hurd/powerpc: Remove directory.
29223 * sysdeps/mach/powerpc: Likewise.
29225 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29227 * scripts/check-local-headers.sh: Ignore c++ headers.
29229 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29231 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29232 __libc_cleanup_region_start argument.
29234 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29239 x * y using scaling, not as x * y + z.
29240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29242 * math/libm-test.inc (fma_test): Add more tests.
29243 (fma_test_towardzero): Likewise.
29244 (fma_test_downward): Likewise.
29245 (fma_test_upward): Likewise.
29247 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29249 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29251 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29253 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29256 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29258 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29260 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29267 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29270 Fix the order of the list for glibc 2.17.
29271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29274 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29278 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29281 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29282 for low part of x being zero before using __atanl (y).
29283 * math/libm-test.inc (atan2_test): Add another test.
29285 * manual/install.texi (Configuring and compiling): Document
29286 general use of test-wrapper and test-wrapper-env.
29287 * INSTALL: Regenerated.
29289 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29290 (__fma): Do not extract and scale down low bits on after-rounding
29291 systems when result rounded to normal precision would have normal
29293 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29294 (__fmal): Do not extract and scale down low bits on after-rounding
29295 systems when result rounded to normal precision would have normal
29297 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29298 (__fmal): Do not extract and scale down low bits on after-rounding
29299 systems when result rounded to normal precision would have normal
29301 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29303 (fma_test): Add more tests.
29304 (fma_test_towardzero): Likewise.
29305 (fma_test_downward): Likewise.
29306 (fma_test_upward): Likewise.
29308 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29310 * sysdeps/i386/tininess.h: Renamed to ...
29311 * sysdeps/x86/tininess.h: This.
29312 * sysdeps/x86_64/tininess.h: Removed.
29314 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29316 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29317 input. Use $(build-program-cmd).
29318 ($(objpfx)tst-array1-static.out): Likewise.
29319 ($(objpfx)tst-array2.out): Likewise.
29320 ($(objpfx)tst-array3.out): Likewise.
29321 ($(objpfx)tst-array4.out): Likewise.
29322 ($(objpfx)tst-array5.out): Likewise.
29323 ($(objpfx)tst-array5-static.out): Likewise.
29325 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29327 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29330 * nss/nsswitch.h (nss_interface_function): Provide new
29331 macro for use with NSS functions.
29332 * grp/initgroups.c: Use new macro.
29333 * nss/getXXbyYY.c: Likewise.
29334 * nss/getXXbyYY_r.c: Likewise.
29335 * nss/getXXent.c: Likewise.
29336 * nss/getXXent_r.c: Likewise.
29337 * sysdeps/posix/getaddrinfo.c: Likewise.
29339 2012-10-30 Andreas Jaeger <aj@suse.de>
29341 * po/ru.po: Update Russion translation from translation project.
29343 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29347 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29348 result and shift together with sticky bit instead of replicating
29349 round-to-nearest rounding.
29350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29352 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29353 missing underflow exceptions.
29354 (fma_test_towardzero): Add more tests.
29355 (fma_test_downward): Likewise.
29356 (fma_test_upward): Likewise.
29359 * sysdeps/generic/tininess.h: New file.
29360 * sysdeps/i386/tininess.h: Likewise.
29361 * sysdeps/sh/tininess.h: Likewise.
29362 * sysdeps/x86_64/tininess.h: Likewise.
29363 * stdlib/tst-strtod-underflow.c: Likewise.
29364 * stdlib/tst-tininess.c: Likewise.
29365 * stdlib/strtod_l.c: Include <tininess.h>.
29366 (round_and_return): Do not set errno for exact underflow cases.
29367 Force an underflow exception when setting errno for underflow.
29368 Determine underflow based on rounding to normal precision if
29369 TININESS_AFTER_ROUNDING.
29370 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29371 ERANGE for exact underflow cases.
29372 * stdlib/Makefile (tests): Add tst-tininess and
29373 tst-strtod-underflow.
29374 ($(objpfx)tst-tininess): Use $(link-libm).
29375 ($(objpfx)tst-strtod-underflow): Likewise.
29377 2012-10-30 Andreas Jaeger <aj@suse.de>
29380 * elf/Makefile (tests): Remove conditional for have-initfini-array
29381 since this is now always required and the variable does not exist
29383 (tests-static): Likewise.
29384 (modules-names): Likewise.
29386 * po/eo.po: Add Esperanto translation from translation project.
29388 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29389 merged with constructor/destructor.
29390 (init_array): Likewise.
29391 * elf/tst-array2dep.c (fini_array): Likewise.
29392 (init_array): Likewise.
29394 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29396 * manual/message.texi: Delete @cartouche tags.
29398 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29400 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29402 * sysdeps/mach/hurd/fsync.c: Likewise.
29404 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29405 [_POSIX_REALTIME_SIGNALS]: Change condition to
29406 [_POSIX_REALTIME_SIGNALS > 0].
29408 2012-10-27 Andreas Jaeger <aj@suse.de>
29410 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29411 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29413 [__WORDSIZE != 64]: Likewise.
29415 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29417 * iconvdata/tst-table.sh: Remove ${SHELL}.
29418 * iconvdata/tst-tables.sh: Likewise.
29420 2012-10-25 David S. Miller <davem@davemloft.net>
29422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29423 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29428 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29429 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29430 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29433 2012-10-25 Roland McGrath <roland@hack.frob.com>
29435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29436 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29439 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29440 Jim Blandy <jimb@codesourcery.com>
29442 * scripts/cross-test-ssh.sh: New file.
29443 * manual/install.texi (Configuring and compiling): Document use of
29445 * INSTALL: Regenerated.
29447 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29449 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29452 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29454 * Makeconfig (run-program-prefix): Fix comment.
29456 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29457 Jim Blandy <jimb@codesourcery.com>
29459 * Makeconfig (test-wrapper): New variable,
29460 (test-wrapper-env): Likewise.
29461 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29462 (run-built-tests): Define to yes.
29463 (run-program-prefix): Use $(test-wrapper).
29464 (built-program-cmd): Likewise.
29465 * Rules (make-test-out): Use $(test-wrapper-env) and
29466 $(host-built-program-cmd).
29467 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29468 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29470 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29471 $(test-wrapper-env) to tst-rtld-load-self.sh.
29472 ($(objpfx)order2.out): Use $(test-wrapper).
29473 ($(objpfx)tst-initorder.out): Likewise.
29474 ($(objpfx)tst-initorder2.out): Likewise.
29475 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29476 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29477 (test_wrapper_env): New variable. Use it to run ld.so.
29478 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29479 Use it to run ld.so.
29480 (test_wrapper_env): Likewise.
29481 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29482 $(test-wrapper) to run-iconv-test.sh.
29483 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29484 (ICONV): Use $test_wrapper.
29485 * posix/Makefile ($(objpfx)globtest.out): Pass
29486 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29487 globtest.sh, not $(run-program-prefix).
29488 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29489 (test_wrapper): Likewise.
29490 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29491 set together with run_via_rtld_prefix.
29492 (run_program_prefix): Define in terms of test_wrapper and
29493 run_via_rtld_prefix.
29495 2012-10-24 Roland McGrath <roland@hack.frob.com>
29497 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29498 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29502 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29503 Declare __clock_getres, __clock_gettime, __clock_settime,
29504 __clock_nanosleep, and __clock_getcpuclockid.
29505 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29506 Remove librt_hidden_def (clock_gettime).
29507 * sysdeps/unix/clock_gettime.c: Likewise.
29508 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29509 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29510 * rt/clock_getres.c: Define __clock_getres as an alias.
29511 * sysdeps/posix/clock_getres.c: Likewise.
29512 * rt/clock_settime.c: Define __clock_settime as an alias.
29513 * sysdeps/unix/clock_settime.c: Likewise.
29514 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29515 * sysdeps/unix/clock_nanosleep.c: Likewise.
29516 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29517 * rt/clock-compat.c: New file.
29518 * rt/Makefile (librt-routines): Add clock-compat and move
29519 $(clock-routines) to ...
29520 (routines): ... here, new variable.
29521 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29522 Don't add get_clockfreq here.
29523 * rt/Versions (libc: GLIBC_2.17): New version set.
29524 Add clock_* symbols here.
29525 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29526 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29527 (GLIBC_2.17): Add clock_* symbols.
29528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29539 * NEWS: Mention the move.
29541 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29542 Use __open, __read, __close rather than their public counterparts.
29543 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29544 (__get_clockfreq_via_cpuinfo): Likewise.
29545 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29546 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29548 * config.h.in (HAVE_IFUNC): New #undef.
29549 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29551 * configure: Regenerated.
29553 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29555 * configure.in: Move READELF check to start of file.
29556 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29557 libc_cv_asm_gnu_indirect_function in the process.
29558 * configure: Regenerated.
29560 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29562 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29563 send the output to /dev/null.
29564 (libc_cv_cc_with_libunwind): Likewise.
29565 (libc_cv_as_noexecstack): Likewise.
29566 * configure: Regenerate.
29568 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29570 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29572 * posix/globtest.sh (TMPDIR): Do not set.
29573 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29574 (testout): Likewise.
29576 2012-10-24 Andreas Jaeger <aj@suse.de>
29578 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29579 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29580 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29581 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29582 posix_fadvise64, posix_fallocate64.
29584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29585 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29586 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29588 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29590 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29593 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29594 <bits/fcntl-linux.h>.
29595 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29598 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29599 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29600 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29601 [__WORDSIZE != 64]: Likewise.
29603 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29605 * Makeconfig (run-built-tests): New variable.
29606 * Rules [$(cross-compiling) = yes]: Change condition to
29607 [$(run-built-tests) = no].
29608 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29609 to [$(run-built-tests) = yes].
29610 * elf/Makefile [$(cross-compiling) = no]: Likewise
29611 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29612 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29613 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29614 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29615 * io/Makefile [$(cross-compiling) = no]: Likewise.
29616 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29617 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29618 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29619 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29620 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29621 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29622 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29623 * string/Makefile [$(cross-compiling) = no]: Likewise.
29625 * posix/Makefile ($(objpfx)globtest.out): Pass
29626 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29627 $(rtld-installed-name).
29628 * posix/globtest.sh (elf_objpfx): Remove variable.
29629 (rtld_installed_name): Likewise.
29630 (library_path): Likewise.
29631 (run_program_prefix): New variable. Use for running globtest
29634 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29635 Joseph Myers <joseph@codesourcery.com>
29637 * Makeconfig (host-built-program-cmd): New variable.
29638 * elf/Makefile (tst-stackguard1-ARGS): Use
29639 $(host-built-program-cmd).
29640 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29641 (tst-spawn-ARGS): Likewise.
29642 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29644 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29645 Jim Blandy <jimb@codesourcery.com>
29647 * Makeconfig (run-via-rtld-prefix): New variable.
29648 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29649 (built-program-cmd): Likewise.
29651 2012-10-22 Andreas Jaeger <aj@suse.de>
29653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29654 __O_RSYNC if it exists, otherwise to O_SYNC.
29656 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29657 Joseph Myers <joseph@codesourcery.com>
29659 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29661 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29663 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29666 2012-10-22 Andreas Jaeger <aj@suse.de>
29668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29673 bits/fcntl-linux.h.
29675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29676 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29683 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29684 Joseph Myers <joseph@codesourcery.com>
29686 * config.make.in (NM): New variable.
29688 2012-10-21 Andreas Jaeger <aj@suse.de>
29690 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29691 definitions and declarations that are provided by
29692 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29694 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29697 * elf/Makefile (tests-static): Add tst-leaks1-static.
29698 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29699 ($(objpfx)tst-leaks1-static): New rule.
29700 ($(objpfx)tst-leaks1-static-mem): Likewise.
29701 (tst-leaks1-static-ENV): New macro.
29702 * elf/dl-open.c (dl_open_worker): Check the main application
29703 only if SHARED is defined.
29704 * elf/tst-leaks1-static.c: New file.
29706 2012-10-20 Andreas Jaeger <aj@suse.de>
29708 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29709 generic values for Linux.
29710 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29711 and declarations that are provided by <bits/fcntl-linux.h> and
29712 include <bits/fcntl-linux.h>.
29713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29716 2012-10-20 Roland McGrath <roland@hack.frob.com>
29718 * io/fcntl.h: Move include of <bits/types.h> to the top and
29719 include it unconditionally.
29721 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29723 * wcsmbs/Makefile (tests-ifunc): New variable.
29724 (tests): Add $(tests-ifunc).
29725 * wcsmbs/test-wcschr-ifunc.c: New file.
29726 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29727 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29728 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29729 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29730 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29732 * string/Makefile (tests-ifunc): New variable.
29733 (tests): Add $(tests-ifunc).
29734 * string/test-memccpy.c (TEST_NAME): New macro.
29735 * string/test-memchr.c (TEST_NAME): Likewise.
29736 * string/test-memcmp.c (TEST_NAME): Likewise.
29737 * string/test-memcpy.c (TEST_NAME): Likewise.
29738 * string/test-memmem.c (TEST_NAME): Likewise.
29739 * string/test-memmove.c (TEST_NAME): Likewise.
29740 * string/test-memset.c (TEST_NAME): Likewise.
29741 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29742 * string/test-stpcpy.c (TEST_NAME): Likewise.
29743 * string/test-stpncpy.c (TEST_NAME): Likewise.
29744 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29745 * string/test-strcasestr.c (TEST_NAME): Likewise.
29746 * string/test-strcat.c (TEST_NAME): Likewise.
29747 * string/test-strchr.c (TEST_NAME): Likewise.
29748 * string/test-strcmp.c(TEST_NAME): Likewise.
29749 * string/test-strcpy.c (TEST_NAME): Likewise.
29750 * string/test-strcspn.c (TEST_NAME): Likewise.
29751 * string/test-strlen.c (TEST_NAME): Likewise.
29752 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29753 * string/test-strncmp.c (TEST_NAME): Likewise.
29754 * string/test-strncpy.c (TEST_NAME): Likewise.
29755 * string/test-strnlen.c (TEST_NAME): Likewise.
29756 * string/test-strpbrk.c (TEST_NAME): Likewise.
29757 * string/test-strrchr.c (TEST_NAME): Likewise.
29758 * string/test-strspn.c (TEST_NAME): Likewise.
29759 * string/test-strstr.c (TEST_NAME): Likewise.
29760 * string/test-bcopy-ifunc.c: New file.
29761 * string/test-bzero-ifunc.c: Likewise.
29762 * string/test-memccpy-ifunc.c: Likewise.
29763 * string/test-memchr-ifunc.c: Likewise.
29764 * string/test-memcmp-ifunc.c: Likewise.
29765 * string/test-memcpy-ifunc.c: Likewise.
29766 * string/test-memmem-ifunc.c: Likewise.
29767 * string/test-memmove-ifunc.c: Likewise.
29768 * string/test-mempcpy-ifunc.c: Likewise.
29769 * string/test-memset-ifunc.c: Likewise.
29770 * string/test-rawmemchr-ifunc.c: Likewise.
29771 * string/test-stpcpy-ifunc.c: Likewise.
29772 * string/test-stpncpy-ifunc.c: Likewise.
29773 * string/test-strcasecmp-ifunc.c: Likewise.
29774 * string/test-strcasestr-ifunc.c: Likewise.
29775 * string/test-strcat-ifunc.c: Likewise.
29776 * string/test-strchr-ifunc.c: Likewise.
29777 * string/test-strchrnul-ifunc.c: Likewise.
29778 * string/test-strcmp-ifunc.c: Likewise.
29779 * string/test-strcpy-ifunc.c: Likewise.
29780 * string/test-strcspn-ifunc.c: Likewise.
29781 * string/test-strlen-ifunc.c: Likewise.
29782 * string/test-strncasecmp-ifunc.c: Likewise.
29783 * string/test-strncat-ifunc.c: Likewise.
29784 * string/test-strncmp-ifunc.c: Likewise.
29785 * string/test-strncpy-ifunc.c: Likewise.
29786 * string/test-strnlen-ifunc.c: Likewise.
29787 * string/test-strpbrk-ifunc.c: Likewise.
29788 * string/test-strrchr-ifunc.c: Likewise.
29789 * string/test-strspn-ifunc.c: Likewise.
29790 * string/test-strstr-ifunc.c: Likewise.
29792 * debug/Makefile (tests-ifunc): New variable.
29793 (tests): Add $(tests-ifunc).
29794 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29795 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29796 * debug/test-stpcpy_chk-ifunc.c: New file.
29797 * debug/test-strcpy_chk-ifunc.c: Likewise.
29799 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29802 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29803 header is not read in.
29805 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29807 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29808 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29809 directly. Pass built executable to script as
29810 $(built-program-cmd).
29811 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29812 $testprogram without using LD_LIBRARY_PATH and $ldso.
29814 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29815 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29816 $(rtld-installed-name).
29817 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29818 (rtld_installed_name): Likewise.
29819 (library_path): Likewise.
29820 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29821 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29822 $(run-program-prefix) to tst-tables.sh.
29823 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29824 it to run tst-table-from and tst-table-to.
29825 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29826 Pass it to tst-table.sh.
29827 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29828 $(run-program-prefix) to tst-gettext.sh.
29829 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29831 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29833 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29834 to run tst-gettext.
29835 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29836 to run tst-gettext2.
29837 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29838 to run tst-translit.
29839 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29840 $(run-program-prefix) to tst-mtrace.sh.
29841 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29843 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29844 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29845 $(rtld-installed-name).
29846 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29847 (rtld_installed_name): Likewise.
29848 (run_program_prefix): New variable. Use it to run wordexp-test.
29850 * Makeconfig (ARCH): Remove all definitions.
29851 (machine): Likewise.
29852 [ARCH]: Remove conditional code.
29853 [!objdir]: Give error.
29854 [!objdir] (objpfx): Remove.
29855 [!objdir] (common-objpfx): Likewise.
29856 [!objdir] (common-objdir): Likewise.
29857 * configure.in (config_makefile): Remove. Hardcode Makefile in
29858 AC_CONFIG_FILES call.
29859 * configure: Regenerated.
29862 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29864 (testout): Likewise.
29866 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29867 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29868 $(rtld-installed-name).
29869 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29870 (rtld_installed_name): Likwise.
29871 (runit): Remove function.
29872 (run_getconf): New variable, Use it for running getconf binary.
29874 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29877 * string/test-memmem.c (check_result): New function.
29878 (do_one_test): Use it.
29879 (check1): New function.
29880 (test_main): Use it.
29882 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29884 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29886 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29888 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29889 (_G_LSEEK64): Likewise.
29890 (_G_MMAP64): Likewise.
29891 (_G_FSTAT64): Likewise.
29892 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29893 (_G_LSEEK64): Likewise.
29894 (_G_MMAP64): Likewise.
29895 (_G_FSTAT64): Likewise.
29896 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29897 unconditional. Call __mmap64 directly.
29898 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29899 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29900 __lseek64 directly.
29901 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29902 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29904 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29905 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29906 __lseek64 directly.
29907 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29908 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29909 __lseek64 directly.
29910 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29911 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29912 __lseek64 directly.
29913 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29914 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29915 __fxstat64 directly.
29916 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29917 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29919 (freopen64) [!_G_OPEN64]: Remove conditional code.
29920 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29922 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29923 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29925 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29926 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29928 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29929 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29931 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29932 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29934 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29935 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29937 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29938 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29940 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29942 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29945 * manual/memory.texi (Malloc Tunable Parameters): Add note
29946 about free list pointers overwriting some perturb bytes.
29947 Wording suggested by Roland McGrath.
29949 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29951 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29952 (lgamma_test): Likewise.
29953 (tgamma_test): Likewise.
29955 2012-10-16 Florian Weimer <fweimer@redhat.com>
29958 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29959 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29961 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29963 * NEWS: Mention BZ #14716.
29964 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29965 when removing AVAILABLE1_USES_J macro.
29967 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29969 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29970 (__bswap_64): __uint64_t for unsigned 64-bit int.
29972 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29974 * include/string.h (memmem): Declare libc hidden alias.
29975 * string/memmem.c (memmem): Define libc hidden alias.
29976 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29977 __read, __close instead of open, read, close.
29979 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29982 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29984 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29985 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29986 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29988 (__rawmemchr_sse2): Likewise.
29989 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29990 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29991 (__strchr_sse2): Likewise.
29992 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29993 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29994 (__strcasecmp_sse2): Likewise.
29995 (__strncasecmp_sse2): Likewise.
29996 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29997 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29998 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29999 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30000 (__strrchr_sse2): Likewise.
30001 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30003 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30004 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30005 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30006 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30007 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30008 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30009 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30010 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30011 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30012 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30013 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30014 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30015 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30016 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30017 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30018 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30019 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30020 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30021 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30022 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30023 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30024 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30025 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30026 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30027 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30028 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30029 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30030 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30031 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30032 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30034 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30036 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30037 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30038 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30039 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30041 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30043 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30044 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30045 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30046 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30048 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30049 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30050 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30051 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30052 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30053 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30054 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30055 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30056 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30057 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30058 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30059 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30060 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30061 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30062 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30063 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30064 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30065 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30066 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30067 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30068 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30069 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30070 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30071 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30072 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30073 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30074 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30075 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30076 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30077 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30078 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30079 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30080 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30081 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30082 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30083 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30084 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30085 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30086 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30087 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30088 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30090 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30091 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30092 * include/ifunc-impl-list.h: New file.
30093 * misc/ifunc-impl-list.c: Likewise.
30094 * misc/Makefile (routines): Add ifunc-impl-list.
30095 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30096 * string/test-string.h: Include <ifunc-impl-list.h>.
30097 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30098 TEST_NAME]: New variables.
30099 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30101 (test_init): Call __libc_ifunc_impl_list to initialize
30102 func_list if TEST_IFUNC and TEST_NAME are defined.
30104 * string/Makefile (strop-tests): Add bcopy and bzero.
30105 * string/test-bcopy.c: New file.
30106 * string/test-bzero.c: Likewise.
30107 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30109 * string/test-memset.c: Support bzero test if TEST_BZERO is
30111 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30113 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30115 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30118 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30120 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30121 * configure: Regenerated.
30123 * Makeconfig (+link-static-before-libc): Don't include
30124 $(link-static-libc).
30126 * libio/libio.h (_IO_pos_t): Remove.
30128 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30130 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30133 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30135 * crypt/crypt-entry.c: Include fips-private.h.
30136 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30137 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30138 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30139 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30141 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30143 * crypt/crypt-private.h: Include stdbool.h.
30144 (_ufc_setup_salt_r): Return bool.
30145 * crypt/crypt-entry.c: Include errno.h.
30146 (__crypt_r): Return NULL with EINVAL for bad salt.
30147 * crypt/crypt_util.c (bad_for_salt): New.
30148 (_ufc_setup_salt_r): Check that salt is long enough and within
30149 the specified alphabet.
30150 * crypt/badsalttest.c: New file.
30151 * crypt/Makefile (tests): Add it.
30152 ($(objpfx)badsalttest): New.
30154 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30156 * NEWS: Add entry for BZ #14602.
30158 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30160 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30162 * math/libm-test.inc: Update comment listing what functions and
30164 (isgreater_test): New function.
30165 (isgreaterequal_test): Likewise.
30166 (isless_test): Likewise.
30167 (islessequal_test): Likewise.
30168 (islessgreater_test): Likewise.
30169 (isunordered_test): Likewise.
30170 (main): Call the new functions.
30172 2012-10-09 Roland McGrath <roland@hack.frob.com>
30174 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30175 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30176 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30177 * sysdeps/i386/configure: Regenerated.
30178 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30179 * sysdeps/mach/configure: Regenerated.
30180 * sysdeps/mach/hurd/configure: Regenerated.
30181 * sysdeps/powerpc/configure: Regenerated.
30182 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30183 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30184 * sysdeps/s390/s390-32/configure: Regenerated.
30185 * sysdeps/s390/s390-64/configure: Regenerated.
30186 * sysdeps/sh/configure: Regenerated.
30187 * sysdeps/sparc/configure: Regenerated.
30188 * sysdeps/unix/sysv/linux/configure: Regenerated.
30189 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30190 * sysdeps/x86_64/configure: Regenerated.
30192 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30193 defined. Don't check if MAP is NULL.
30195 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30197 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30198 (_G_stat64): Likewise.
30199 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30200 (_G_stat64): Likewise.
30201 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30202 instead of struct _G_stat64.
30203 * libio/fileops.c (mmap_remap_check): Likewise.
30204 (decide_maybe_mmap): Likewise.
30205 (_IO_new_file_seekoff): Likewise.
30206 (_IO_file_stat): Likewise.
30207 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30209 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30210 instead of struct _G_stat64.
30211 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30213 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30216 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30218 (CHECK_EOL): New macro.
30219 (two_way_short_needle): Check beginning of haystack for EOL. Use
30221 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30222 Replace with CHECK_EOL.
30223 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30224 Replace with CHECK_EOL.
30226 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30228 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30230 * math/libm-test.inc: Update comment listing what functions and
30232 (finite_test): New function.
30233 (isinf_test): Likewise.
30234 (isnan_test): Likewise.
30235 (fpclassify_test): Test subnormal input.
30236 (isfinite_test): Likewise.
30237 (isnormal_test): Likewise.
30238 (main): Call the new functions.
30240 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30243 * Makerules (%.dynsym): Force C locale when running
30244 $(OBJDUMP) --dynamic-syms.
30246 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30248 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30251 2012-10-06 David S. Miller <davem@davemloft.net>
30253 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30254 upper 32-bits of the length value in %o2 since we use branch-on-register
30255 tests which consider the entire 64-bit register.
30257 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30259 * string/test-strstr.c (check2): Add a test for page boundary.
30261 2012-10-05 David S. Miller <davem@davemloft.net>
30263 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30264 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30266 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30268 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30269 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30270 and bzero when HWCAP_SPARC_CRYPTO is present.
30272 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30275 * string/test-strstr.c (check2): New function.
30276 (test_main): Call check2.
30278 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30280 * string/bug-strcasestr1.c (do_test): Moved to ...
30281 * string/test-strcasestr.c (check1): Here. New function.
30282 (do_one_test): Break out result checking code into ...
30283 (check_result): This. New function.
30284 (do_one_test): Call check_result.
30285 (test_main): Call check1.
30286 * string/bug-strchr1.c (do_test): Moved to ...
30287 * string/test-strchr.c (check1): Here. New function.
30288 (do_one_test): Break out result checking code into ...
30289 (check_result): This. New function.
30290 (do_one_test): Call check_result.
30291 (test_main): Call check1.
30292 * string/bug-strstr1.c (main): Moved to ...
30293 * string/test-strstr.c (check1): Here. New function.
30294 (do_one_test): Break out result checking code into ...
30295 (check_result): This. New function.
30296 (do_one_test): Call check_result.
30297 (test_main): Call check1.
30298 * string/bug-strcasestr1.c: Removed.
30299 * string/bug-strchr1.c: Likewise.
30300 * string/bug-strstr1.c: Likewise.
30302 * elf/Makefile (dl-routines): Add hwcaps.
30303 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30304 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30305 (_dl_important_hwcaps): Moved to ...
30306 * elf/dl-hwcaps.c: Here. New file.
30307 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30310 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30311 if IS_IN_rtld isn't defined.
30313 * elf/dl-support.c (_dl_sysinfo_map): New.
30314 Include "get-dynamic-info.h" and "setup-vdso.h".
30315 (_dl_non_dynamic_init): Call setup_vdso.
30316 * elf/dynamic-link.h: Don't include <assert.h>.
30317 (elf_get_dynamic_info): Moved to ...
30318 * elf/get-dynamic-info.h: Here. New file.
30319 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30320 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30321 * elf/setup-vdso.h: Here. New file.
30322 * elf/rtld.c: Include "setup-vdso.h".
30323 (dl_main): Call setup_vdso.
30325 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30327 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30328 creal in comment listing functions tested. List finite, isinf,
30329 isnan, isless, islessequal, isgreater, isgreaterequal,
30330 islessgreater, isunordered, lgamma_r and pow10 as functions and
30331 macros not tested. Mention which functions not tested are aliases
30332 for other functions. Fix typo. Note that signs of NaNs are not
30335 * scripts/config.guess: Update from config.git.
30336 * scripts/config.sub: Likewise.
30338 2012-10-04 Roland McGrath <roland@hack.frob.com>
30340 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30341 * misc/madvise.c (madvise): Renamed to __madvise.
30342 Make madvise a weak alias.
30343 * include/sys/mman.h: Declare __madvise.
30344 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30345 * sysdeps/unix/syscalls.list
30346 (madvise): Make __madvise the strong name, and madvise a weak alias.
30347 * sysdeps/unix/sysv/linux/syscalls.list
30348 (madvise, mmap): Remove redundant entries.
30349 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30350 * malloc/malloc.c (mtrim): Likewise.
30351 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30353 2012-10-03 Roland McGrath <roland@hack.frob.com>
30355 * sysdeps/mach/hurd/dl-cache.c: File removed.
30356 * config.h.in (USE_LDCONFIG): New #undef.
30357 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30358 * configure: Regenerated.
30359 * elf/Makefile (dl-routines): Add dl-cache only under
30360 [$(use-ldconfig) = yes].
30361 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30362 cache on [USE_LDCONFIG].
30363 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30365 * elf/rtld.c (dl_main): Likewise.
30367 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30369 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30370 _SC_LEVEL4_CACHE_LINESIZE.
30372 2012-10-03 Roland McGrath <roland@hack.frob.com>
30374 * sysdeps/unix/bsd/confstr.h: File removed.
30376 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30378 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30381 2012-10-02 Roland McGrath <roland@hack.frob.com>
30383 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30384 Make 'mapoff' field ElfW(Off) rather than off_t.
30386 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30388 * nscd/Makefile: Remove nscd-cflags and all its users.
30389 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30390 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30393 * malloc.c (malloc_printerr): Clarify error message.
30395 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30399 Set bit_FMA_Usable if FMA is supported.
30400 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30402 (bit_FMA4_Usable): Updated.
30403 (index_FMA_Usable): New macro.
30404 (CPUID_FMA): Likewise
30405 (HAS_FMA): Defined with bit_FMA_Usable.
30407 2012-10-01 Roland McGrath <roland@hack.frob.com>
30409 * bits/types.h (__swblk_t): Type removed.
30410 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30411 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30413 (__SWBLK_T_TYPE): Likewise.
30414 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30415 (__SWBLK_T_TYPE): Likewise.
30416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30417 (__SWBLK_T_TYPE): Likewise.
30418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30419 (__SWBLK_T_TYPE): Likewise.
30421 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30422 Honza Horak <hhorak@redhat.com>
30424 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30425 (xdr_mapname): Use YPMAXMAP as maxsize.
30426 (xdr_peername): Use YPMAXPEER as maxsize.
30427 (xdr_keydat): Use YPAXRECORD as maxsize.
30428 (xdr_valdat): Use YPMAXRECORD as maxsize.
30430 2012-10-01 Roland McGrath <roland@hack.frob.com>
30432 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30434 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30435 * csu/init-first.c: ... here.
30436 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30437 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30438 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30440 * sysdeps/i386/init-first.c: File removed.
30441 * sysdeps/sh/init-first.c: File removed.
30443 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30447 if x * y might underflow to zero and z is zero.
30448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30450 * math/libm-test.inc (min_subnorm_value): New variable.
30451 (fma_test): Add more tests.
30452 (fma_test_towardzero): Likewise.
30453 (fma_test_downward): Likewise
30454 (fma_test_upward): Likewise.
30455 (initialize): Set min_subnorm_value.
30457 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30462 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30463 mode for addition resulting in exact zero.
30464 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30467 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30469 * math/libm-test.inc (fma_test): Add more tests.
30470 (fma_test_towardzero): New function.
30471 (fma_test_downward): Likewise.
30472 (fma_test_upward): Likewise.
30473 (main): Call the new functions.
30475 2012-09-28 David S. Miller <davem@davemloft.net>
30477 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30479 2012-09-28 Roland McGrath <roland@hack.frob.com>
30481 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30482 instead of SIGALRM.
30484 * sysdeps/gnu/_G_config.h: Moved to ...
30485 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30486 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30487 * sysdeps/generic/_G_config.h: ... here.
30489 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30491 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30493 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30494 Conditionalize target on [libnss_test1.so-version].
30496 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30498 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30499 (elfobjdir): Move out of conditionals.
30501 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30502 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30503 (__nss_lookup_function): Conditionalize label remove_from_tree on
30504 [!DO_STATIC_NSS || SHARED], matching its only use.
30506 2012-09-28 David S. Miller <davem@davemloft.net>
30508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30509 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30511 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30515 when HWCAP_SPARC_CRYPTO is present.
30517 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30519 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30521 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30524 * stdio-common/vfprintf.c (process_string_arg): Revert
30527 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30529 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30531 * stdio-common/tst-sprintf.c: Include <locale.h>
30532 (main): Test sprintf's handling of incomplete multibyte
30535 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30537 * elf/dl-runtime.c (VERSYMIDX): Removed.
30538 * elf/dl-version.c (VERSYMIDX): Likewise.
30539 * elf/do-rel.h (VERSYMIDX): Likewise.
30540 (VALIDX): Likewise.
30541 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30542 * elf/rtld.c (VALIDX): Likewise.
30543 (ADDRIDX): Likewise.
30544 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30545 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30546 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30547 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30548 (VALIDX): Likewise.
30549 (ADDRIDX): Likewise.
30551 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30553 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30555 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30558 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30560 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30561 addresses are in the same scope as 192.0.2/24.
30562 * posix/gai.conf: Document new scope table defaults.
30564 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30567 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30568 for ftell. Compute offsets from write pointers instead.
30569 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30571 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30574 * libio/Makefile (tests): New test case tst-fseek.
30575 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30576 combination works in wide mode.
30577 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30578 state when the external buffer state changes.
30580 2012-09-27 David S. Miller <davem@davemloft.net>
30583 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30584 pass reloc->r_addend in as the 'high' argument to
30585 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30589 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30591 * rt/tst-aio2.c: Include <pthread.h>.
30592 * rt/tst-aio3.c: Likewise.
30594 2012-09-27 Steve Ellcey <sellcey@mips.com>
30596 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30598 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30600 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30601 contents on [SHARED].
30603 2012-09-26 Marek Polacek <polacek@redhat.com>
30607 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30608 for C++ and GCC <4.3 as well as for non GCC compilers.
30610 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30614 2012-09-25 Roland McGrath <roland@hack.frob.com>
30616 * Makefile.in (all, install): Declare with .PHONY.
30617 Reported by Michael Hope <michael.hope@linaro.org>.
30619 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30621 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30622 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30624 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30626 (sydep_routines): Add the new and the internal functions.
30627 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30628 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30630 (GLIBC_2.17): Add the new function.
30631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30632 (GLIBC_2.17): Likewise.
30633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30634 (GLIBC_2.17): Likewise.
30635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30636 (GLIBC_2.17): Likewise.
30637 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30639 2012-09-25 Alan Modra <amodra@gmail.com>
30641 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30642 Add release barrier before setting once_control to say
30643 initialisation is done. Add hints on lwarx. Use macro in
30645 (clear_once_control): Add release barrier.
30647 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30650 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30652 * math/s_clog10.c (__clog10): Likewise.
30653 * math/s_clog10f.c (__clog10f): Likewise.
30654 * math/s_clog10l.c (__clog10l): Likewise.
30655 * math/s_clogf.c (__clogf): Likewise.
30656 * math/s_clogl.c (__clogl): Likewise.
30657 * math/Makefile (libm-calls): Add x2y2m1.
30658 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30659 (__x2y2m1): Likewise.
30660 (__x2y2m1l): Likewise.
30661 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30662 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30665 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30666 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30667 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30668 * sysdeps/i386/fpu/libm-test-ulps: Update.
30669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30672 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30673 int as type of variable DEPTH.
30674 (glob): Use size_t instead of int as type of variables NEWCOUNT
30677 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30679 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30680 Add s_sincosf-sse2.
30681 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30682 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30683 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30684 macros for using routine as __sincosf_ia32.
30685 Use macro for function declaration and weak_alias.
30686 * sysdeps/i386/fpu/libm-test-ulps: Update.
30688 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30691 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30692 subnormal argument.
30693 * math/s_cexpf.c (__cexpf): Likewise.
30694 * math/s_csinf.c (__csinf): Likewise.
30695 * math/s_csinhf.c (__csinhf): Likewise.
30696 * math/s_ctanf.c (__ctanf): Likewise.
30697 * math/s_ctanhf.c (__ctanhf): Likewise.
30698 * math/s_ccosh.c (__ccoshf): Likewise.
30699 * math/s_cexp.c (__cexpl): Likewise.
30700 * math/s_csin.c (__csin): Likewise.
30701 * math/s_csinh.c (__csinh): Likewise.
30702 * math/s_ctan.c (__ctan): Likewise.
30703 * math/s_ctanh.c (ctanh): Likewise.
30704 * math/s_ccoshl.c (__ccoshl): Likewise.
30705 * math/s_cexpl.c (__cexpl): Likewise.
30706 * math/s_csinl.c (__csinl): Likewise.
30707 * math/s_csinhl.c (__csinhl): Likewise.
30708 * math/s_ctanl.c (__ctanl): Likewise.
30709 * math/s_ctanhl.c (__ctanhl): Likewise.
30711 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30713 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30714 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30715 (_IO_off_t): Define to __off_t, not _G_off_t.
30716 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30717 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30718 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30719 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30720 type of __dummy and __dummy2 fields.
30721 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30722 (_G_ssize_t): Likewise.
30723 (_G_off_t): Likewise.
30724 (_G_pid_t): Likewise.
30725 (_G_uid_t): Likewise.
30726 (_G_wchar_t): Likewise.
30727 (_G_wint_t): Likewise.
30728 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30729 (_G_ssize_t): Likewise.
30730 (_G_off_t): Likewise.
30731 (_G_pid_t): Likewise.
30732 (_G_uid_t): Likewise.
30733 (_G_wchar_t): Likewise.
30734 (_G_wint_t): Likewise.
30735 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30736 (_G_ssize_t): Likewise.
30737 (_G_off_t): Likewise.
30738 (_G_pid_t): Likewise.
30739 (_G_uid_t): Likewise.
30740 (_G_wchar_t): Likewise.
30741 (_G_wint_t): Likewise.
30743 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30745 * malloc/arena.c: Include malloc-sysdep.h.
30746 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30747 is sufficient to shrink the heap or an unmap is needed.
30748 * sysdeps/generic/malloc-sysdep.h: New file. Define
30749 new function check_may_shrink_heap.
30750 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30751 new function check_may_shrink_heap.
30753 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30755 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30758 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30760 * catgets/test-gencat.sh: Add "set -e".
30761 * elf/tst-pathopt.sh: Likewise.
30762 * grp/tst_fgetgrent.sh: Likewise.
30763 * iconvdata/run-iconv-test.sh: Likewise.
30764 * intl/tst-gettext.sh: Likewise.
30765 * intl/tst-gettext2.sh: Likewise.
30766 * intl/tst-gettext4.sh: Likewise.
30767 * intl/tst-gettext6.sh: Likewise.
30768 * intl/tst-translit.sh: Likewise.
30769 * io/ftwtest-sh: Likewise.
30770 * libio/test-freopen.sh: Likewise.
30771 * malloc/tst-mtrace.sh: Likewise.
30772 * posix/globtest.sh: Likewise.
30773 * posix/tst-getconf.sh: Likewise.
30774 * posix/wordexp-tst.sh: Likewise.
30775 * stdio-common/tst-printf.sh: Likewise.
30776 * stdio-common/tst-unbputc.sh: Likewise.
30777 * stdlib/tst-fmtmsg.sh: Likewise.
30778 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30779 * catgets/Makefile: Do not specify -e option when running
30780 testsuite shell scripts.
30781 * elf/Makefile: Likewise.
30782 * grp/Makefile: Likewise.
30783 * iconvdata/Makefile: Likewise.
30784 * intl/Makefile: Likewise.
30785 * io/Makefile: Likewise.
30786 * libio/Makefile: Likewise.
30787 * malloc/Makefile: Likewise.
30788 * posix/Makefile: Likewise.
30789 * stdio-common/Makefile: Likewise.
30790 * stdlib/Makefile: Likewise.
30791 * sysdeps/x86_64/Makefile: Likewise.
30793 * io/ftwtest-sh: Add copyright header.
30794 * posix/globtest.sh: Likewise.
30795 * posix/tst-getconf.sh: Likewise.
30796 * posix/wordexp-tst.sh: Likewise.
30797 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30799 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30802 * Makeconfig (+link): Defined as $(+link-static) if
30803 $(build-shared) isn't yes.
30804 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30806 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30808 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30811 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30812 new chunk size with MALLOC_ALIGN_MASK.
30814 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30817 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30819 (__printf_fphex): Determine rounding using get_rounding_mode and
30821 * stdio-common/tst-printf-round.c (struct hex_test): New
30823 (hex_tests): New variable.
30824 (test_hex_in_one_mode): New function.
30825 (do_test): Also run tests for hex float output.
30827 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30829 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30830 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30831 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30832 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30833 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30834 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30835 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30836 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30838 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30840 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30841 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30842 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30843 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30845 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30848 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30850 * elf/tst-rtld-load-self.sh: New test.
30851 * elf/Makefile: Run it.
30853 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30855 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30856 (tst-writev-ENV): Remove.
30857 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30859 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30861 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30863 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30865 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30867 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30869 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30870 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30871 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30874 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30877 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30878 * config.make.in (have-cpp-asm-debuginfo): Removed.
30879 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30880 * configure: Regenerated.
30882 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30885 * stdio-common/printf_fp.c: Include <stdbool.h> and
30887 (___printf_fp): Determine rounding using get_rounding_mode and
30889 * stdio-common/tst-printf-round.c: New file.
30890 * stdio-common/Makefile (tests): Add tst-printf-round.
30891 (link-libm): New variable.
30892 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30894 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30897 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30898 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30900 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30903 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30905 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30906 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30907 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30908 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30910 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30913 * include/rounding-mode.h: New file.
30914 * sysdeps/generic/get-rounding-mode.h: Likewise.
30915 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30916 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30917 (MAX_VALUE): New macro.
30918 (MIN_VALUE): Likewise.
30919 (overflow_value): New function.
30920 (underflow_value): Likewise.
30921 (round_and_return): Use overflow_value and underflow_value to
30922 determine return values in overflow and underflow cases. Use
30923 round_away to determine rounding depending on rounding mode.
30924 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30925 determine return values in overflow and underflow cases.
30926 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30927 (struct test_results): New structure.
30928 (struct test): Use struct test_results to store expected results
30929 for all rounding modes.
30930 (TEST): Include expected results for all rounding modes.
30931 (test_in_one_mode): New function.
30932 (do_test): Use test_in_one_mode to compute and check results.
30933 Check results for all rounding modes.
30934 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30937 2012-12-09 Allan McRae <allan@archlinux.org>
30939 * sysdeps/i386/fpu/libm-test-ulps: Update
30941 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30943 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30944 (_G_int32_t): Likewise.
30945 (_G_uint16_t): Likewise.
30946 (_G_uint32_t): Likewise.
30947 (_G_HAVE_BOOL): Likewise.
30948 (_G_HAVE_ATEXIT): Likewise.
30949 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30950 (_G_HAVE_IO_FILE_OPEN): Likewise.
30951 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30952 (_G_int32_t): Likewise.
30953 (_G_uint16_t): Likewise.
30954 (_G_uint32_t): Likewise.
30955 (_G_HAVE_BOOL): Likewise.
30956 (_G_HAVE_ATEXIT): Likewise.
30957 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30958 (_G_HAVE_IO_FILE_OPEN): Likewise.
30959 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30960 (_G_int32_t): Likewise.
30961 (_G_uint16_t): Likewise.
30962 (_G_uint32_t): Likewise.
30963 (_G_HAVE_BOOL): Likewise.
30964 (_G_HAVE_ATEXIT): Likewise.
30965 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30966 (_G_HAVE_IO_FILE_OPEN): Likewise.
30968 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30970 * csu/libc-tls.c: Update copyright years.
30972 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30974 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30975 [!_G_USING_THUNKS]: Remove conditional code.
30976 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30977 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30979 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30980 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30981 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30982 (_G_VTABLE_LABEL_PREFIX): Likewise.
30983 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30984 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30985 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30986 (_G_VTABLE_LABEL_PREFIX): Likewise.
30987 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30988 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30989 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30990 (_G_VTABLE_LABEL_PREFIX): Likewise.
30991 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30993 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30995 * libio/Makefile: Include ../Makeconfig before tests.
30996 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30997 only if $(build-shared) is yes.
30999 * iconv/gconv_db.c: Update copyright years.
31001 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31003 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31004 unwind info if defined PIC. Fix special cases description.
31005 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31007 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31009 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31011 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31013 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31015 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31018 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31019 (LDLIBS-tst-chk4): This.
31020 (LDFLAGS-tst-chk5): Renamed to ...
31021 (LDLIBS-tst-chk5): This.
31022 (LDFLAGS-tst-chk6): Renamed to ...
31023 (LDLIBS-tst-chk6): This.
31024 (LDFLAGS-tst-lfschk4): Renamed to ...
31025 (LDLIBS-tst-lfschk4): This.
31026 (LDFLAGS-tst-lfschk5): Renamed to ...
31027 (LDLIBS-tst-lfschk5): This.
31028 (LDFLAGS-tst-lfschk6): Renamed to ...
31029 (LDLIBS-tst-lfschk6): This.
31031 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31032 on $(common-objpfx)soversions.mk.
31034 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31037 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31040 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31042 * malloc/arena.c (arena_get_retry): New function that gets
31043 another arena for the caller to try its request on.
31044 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31045 current arena cannot fulfill the request.
31046 (__libc_memalign): Likewise.
31047 (__libc_memalign): Likewise.
31048 (__libc_pvalloc): Likewise.
31049 (__libc_calloc): Likewise.
31051 2012-09-05 John Tobey <john.tobey@gmail.com>
31054 * manual/arith.texi (Operations on Complex): Fix description
31055 of carg branch cut.
31057 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31060 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31064 * manual/memory.texi (Memory): Make order of menu items match
31067 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31069 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31070 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31071 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31073 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31075 * csu/libc-tls.c (static_dtv): Renamed to ...
31076 (_dl_static_dtv): This. Make it global.
31077 (_dl_initial_dtv): Removed.
31078 (__libc_setup_tls): Updated.
31079 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31080 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31083 2012-09-06 Petr Machata <pmachata@redhat.com>
31085 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31086 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31087 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31088 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31090 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31093 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31094 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31097 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31100 * Makeconfig (link-static-before-libc): Replace $(+prector)
31102 (link-static-after-libc): Replace $(+postctor) with
31104 (link-bounded): Replace $(+prector)/$(+postctor) with
31105 $(+prectorT)/$(+postctorT).
31106 (+prectorT): New macro.
31107 (+postctorT): Likewise.
31109 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31111 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31112 (round_str): Handle values above the maximum for IBM long double
31114 * stdlib/tst-strtod-round.c (tests): Regenerated.
31116 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31118 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31120 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31121 zarch_nohighgprs around the zarch optimized routines.
31122 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31123 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31124 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31127 2012-09-05 David S. Miller <davem@davemloft.net>
31129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31131 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31132 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31133 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31134 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31137 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31139 * malloc/arena.c: Fold copyright years.
31140 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31142 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31144 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31146 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31148 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31150 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31152 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31153 change internal state upon failure.
31155 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31157 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31158 * malloc/memusage.c (mmap): Likewise.
31159 (mmap64, mremap): Likewise. Adjust name in comment.
31161 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31163 * libio/fileops.c: Fix typos in comments.
31164 * libio/oldfileops.c: Likewise.
31165 * libio/wfileops.c: Likewise.
31167 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31170 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31171 (tst-malloc-usable-ENV): Set environment for test case.
31172 * malloc/hooks.c (malloc_check_get_size): New function to get
31174 * malloc/malloc.c (musable): Use malloc_check_get_size.
31175 * malloc/tst-malloc-usable.c: New test case.
31177 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31179 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31181 2012-09-05 Allan McRae <allan@archlinux.org>
31184 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31185 determine header location.
31186 * configure: Regenerated.
31188 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31190 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31192 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31193 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31195 (test): Regenerate.
31197 2012-09-04 David S. Miller <davem@davemloft.net>
31199 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31200 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31201 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31203 2012-09-04 Florian Weimer <fweimer@redhat.com>
31205 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31208 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31210 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31213 * libio/iogetdelim.c: Include <limits.h>.
31214 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31215 + len + 1 would overflow.
31217 2012-09-03 Andreas Jaeger <aj@suse.de>
31219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31220 * sysdeps/i386/fpu/libm-test-ulps: Update.
31222 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31224 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31225 Add s_sinf-sse2, s_conf-sse2.
31227 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31228 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31229 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31230 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31232 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31233 for using routine as __sinf_ia32.
31234 Use macro for function declaration and weak_alias.
31235 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31236 for using routine as __cosf_ia32.
31237 Use macro for function declaration and weak_alias.
31239 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31240 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31242 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31243 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31246 * math/libm-test.inc (cos_test): Add more test cases.
31247 (sin_test): Likewise.
31248 (sincos_test): Likewise.
31250 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31252 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31253 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31255 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31257 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31260 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31261 first element of the GOT.
31262 (elf_machine_load_address): Return the difference between
31263 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31265 2012-09-01 Allan McRae <allan@archlinux.org>
31268 * configure.in (AWK): Require gawk version 3.0 or later.
31269 * configure: Regenerated.
31271 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31273 * sysdeps/unix/sysv/linux/kernel-features.h
31274 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31275 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31276 [__NR_clock_getres]: Make code unconditional.
31277 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31278 (clock_getcpuclockid): Remove code left unreachable by removal of
31280 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31281 code unconditional.
31282 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31283 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31284 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31285 Make code unconditional.
31286 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31287 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31288 * sysdeps/unix/sysv/linux/clock_settime.c
31289 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31291 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31292 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31294 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31297 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31298 scripts/test-installation.pl.
31300 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31301 and $ld_so_version if it is set.
31303 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31306 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31307 failure if reading from procfs failed.
31308 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31310 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31312 * sysdeps/unix/sysv/linux/kernel-features.h
31313 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31314 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31315 Remove conditional code.
31316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31317 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31318 Remove conditional code.
31319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31320 * sysdeps/unix/sysv/linux/i386/fxstat.c
31321 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31323 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31324 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31326 * sysdeps/unix/sysv/linux/i386/lxstat.c
31327 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31329 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31330 Remove conditional code.
31331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31332 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31333 Remove conditional code.
31334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31335 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31336 <kernel-features.h>.
31337 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31339 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31340 Remove conditional code.
31341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31342 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31343 Remove conditional.
31345 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31348 * NEWS: Add fixed bug number.
31350 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31353 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31354 underflowing exponent in case of negative sign.
31355 * stdlib/tst-strtod-round-data: Add more tests.
31356 * stdlib/tst-strtod-round.c (tests): Regenerated.
31359 * stdlib/strtod_l.c (NDIG): Remove.
31360 (HEXNDIG): Likewise.
31361 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31362 smallest representable value.
31363 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31364 lie within an exact representation of 1/2 ulp of the result.
31365 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31367 (TENS_P9_IDX): Define unconditionally.
31368 (TENS_P9_SIZE): Likewise.
31369 (TENS_P10_IDX): Likewise.
31370 (TENS_P10_SIZE): Likewise.
31371 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31372 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31373 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31374 entries for 10^2^13 and 10^2^14.
31375 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31376 (TENS_P13_IDX): Define.
31377 (TENS_P13_SIZE): Likewise.
31378 (TENS_P14_IDX): Likewise.
31379 (TENS_P14_SIZE): Likewise.
31380 (_fpioconst_pow10): Change array size to
31381 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31383 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31384 1024]: Add entries for 10^2^13 and 10^2^14.
31385 [LAST_POW10 > _LAST_POW10]: Remove #error.
31386 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31387 (_fpioconst_pow10): Change array size to
31388 FPIOCONST_POW10_ARRAY_SIZE.
31389 * stdlib/gen-fpioconst.c: New file.
31390 * stdlib/gen-tst-strtod-round.c: Likewise.
31391 * stdlib/tst-strtod-round-data: Likewise.
31392 * stdlib/tst-strtod-round.c: Likewise.
31393 * stdlib/Makefile (tests): Add tst-strtod-round.
31396 * stdlib/strtod_l.c: Include <stdint.h>.
31397 (NDEBUG): Do not define.
31398 (round_and_return): Change EXPONENT parameter to type intmax_t.
31399 Rearrange calculations to avoid internal overflow possibilities.
31400 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31401 Rearrange calculations to avoid internal overflow possibilities.
31402 Assert that number fits inside MPNSIZE limbs.
31403 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31404 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31405 calculations and add assertions to avoid internal overflow
31406 possibilities. Add casts to avoid signed/unsigned operations.
31407 * stdlib/tst-strtod-overflow.c: New file.
31408 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31410 2012-08-25 Marek Polacek <polacek@redhat.com>
31412 * time/time.h: Fix some typos in comments.
31414 2012-08-23 Roland McGrath <roland@hack.frob.com>
31416 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31417 * posix/tst-rfc3484-2.c: Likewise.
31418 * posix/tst-rfc3484-3.c: Likewise.
31420 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31422 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31423 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31425 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31427 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31428 #include of fxstatat64.c.
31430 2012-08-22 Roland McGrath <roland@hack.frob.com>
31432 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31433 * shadow/getspent_r.c: Likewise.
31434 * shadow/getspnam.c: Likewise.
31435 * shadow/getspnam_r.c: Likewise.
31436 * gshadow/getsgent.c: Likewise.
31437 * gshadow/getsgent_r.c: Likewise.
31438 * gshadow/getsgnam.c: Likewise.
31439 * gshadow/getsgnam_r.c: Likewise.
31440 * inet/getnetbyad.c: Likewise.
31441 * inet/getnetbyad_r.c: Likewise.
31442 * inet/getnetbynm.c: Likewise.
31443 * inet/getnetbynm_r.c: Likewise.
31444 * inet/getnetent.c: Likewise.
31445 * inet/getnetent_r.c: Likewise.
31446 * inet/getproto.c: Likewise.
31447 * inet/getproto_r.c: Likewise.
31448 * inet/getprtent.c: Likewise.
31449 * inet/getprtent_r.c: Likewise.
31450 * inet/getprtname.c: Likewise.
31451 * inet/getprtname_r.c: Likewise.
31452 * inet/getrpcbyname.c: Likewise.
31453 * inet/getrpcbyname_r.c: Likewise.
31454 * inet/getrpcbynumber.c: Likewise.
31455 * inet/getrpcbynumber_r.c: Likewise.
31456 * inet/getrpcent.c: Likewise.
31457 * inet/getrpcent_r.c: Likewise.
31458 * inet/getaliasent.c: Likewise.
31459 * inet/getaliasent_r.c: Likewise.
31460 * inet/getaliasname.c: Likewise.
31461 * inet/getaliasname_r.c: Likewise.
31462 * nscd/getgrgid_r.c: Likewise.
31463 * nscd/getgrnam_r.c: Likewise.
31464 * nscd/gethstbyad_r.c: Likewise.
31465 * nscd/gethstbynm3_r.c: Likewise.
31466 * nscd/getpwnam_r.c: Likewise.
31467 * nscd/getpwuid_r.c: Likewise.
31468 * nscd/getsrvbynm_r.c: Likewise.
31469 * nscd/getsrvbypt_r.c: Likewise.
31470 * nscd/gai.c: Likewise.
31472 * configure.in (build_nscd): New substituted variable, set
31473 by --disable-build-nscd and defaults to $use_nscd.
31474 * configure: Regenerated.
31475 * config.make.in (build-nscd): New substituted variable.
31476 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31477 Change conditional to require [$(build-nscd) = yes] as well.
31478 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31481 * configure.in (use_nscd): New substituted variable, set by
31482 --disable-nscd. If enabled, define USE_NSCD.
31483 * configure: Regenerated.
31484 * config.h.in: Add USE_NSCD.
31485 * config.make.in (use-nscd): New substituted variable.
31486 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31487 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31488 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31489 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31490 (CFLAGS-getgrnam_r.c): Likewise.
31491 (CFLAGS-initgroups.c): Likewise.
31492 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31493 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31495 * inet/getnetgrent_r.c
31496 (nscd_setnetgrent): New function, broken out of ...
31497 (setnetgrent): ... here. Call it.
31498 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31499 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31500 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31501 * nscd/Makefile (routines, aux): Move definitions after include of
31502 Makeconfig. Conditionalize on [$(use-nscd) != no].
31503 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31504 Conditionalize on [USE_NSCD].
31505 (is_nscd, nscd_init_cb): Likewise.
31506 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31507 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31508 * nss/nss_db/db-init.c: Likewise.
31509 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31511 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31512 (make_request): Use it.
31513 (cache_valid_p): New function.
31514 (__check_pf): Use it.
31515 * NEWS: Add item for --disable-nscd.
31517 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31519 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31520 to support sed >= 4.2.1-20-ga9bf076.
31521 * configure: Regenerated.
31523 2012-08-22 Roland McGrath <roland@hack.frob.com>
31525 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31526 Conditionalize whole body on [IREL].
31528 2012-08-22 Jeff Law <law@redhat.com>
31531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31532 if the family is PF_UNSPEC.
31534 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31536 * Makerules (lib-version): Rename from V.
31537 (install-lib-nosubdir): Change V to lib-version.
31539 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31542 * powerpc32/power6/wcschr.c: New file.
31543 * powerpc32/power6/wcscpy.c: New file.
31544 * powerpc32/power6/wcsrchr.c: New file.
31545 * powerpc64/power6/wcschr.c: New file.
31546 * powerpc64/power6/wcscpy.c: New file.
31547 * powerpc64/power6/wcsrchr.c: New file.
31549 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31551 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31552 (two_way_short_needle): Use it.
31553 * string/strstr.c (AVAILABLE1_USES_J): Define.
31554 * string/strcasestr.c: Likewise.
31556 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31558 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31561 * NEWS: Add an entry.
31562 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31563 define their defaults.
31564 (two_way_short_needle): Detect end-of-string on-the-fly.
31565 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31566 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31567 * string/bug-strcasestr1.c: New test.
31568 * string/Makefile: Run it.
31570 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31573 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31574 the first character.
31576 2012-08-21 Roland McGrath <roland@hack.frob.com>
31578 * csu/elf-init.c (__libc_csu_irel): Function removed.
31579 * csu/libc-start.c (apply_irel): New function.
31580 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31582 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31584 * sysdeps/unix/sysv/linux/kernel-features.h
31585 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31586 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31587 <kernel-features.h>.
31588 [__NR_fadvise64_64]: Make code unconditional.
31589 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31590 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31591 !__NR_fadvise64_64)]: Likewise.
31592 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31593 !__NR_fadvise64_64))]: Likewise.
31594 [__NR_fadvise64]: Make code unconditional.
31595 [!__NR_fadvise64]: Remove conditional code.
31596 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31597 <kernel-features.h>.
31598 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31600 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31603 not include <kernel-features.h>.
31604 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31606 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31608 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31609 include <kernel-features.h>.
31610 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31612 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31615 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31617 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31618 slight instruction rearrangements per scrollpipe analysis.
31619 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31621 2012-08-20 Roland McGrath <roland@hack.frob.com>
31623 * manual/syslog.texi (syslog; vsyslog, closelog):
31624 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31625 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31627 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31628 DSOCAPS to match condition on defining it.
31630 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31632 * sysdeps/unix/sysv/linux/kernel-features.h
31633 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31635 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31636 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31638 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31639 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31641 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31642 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31644 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31645 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31647 * sysdeps/unix/sysv/linux/kernel-features.h
31648 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31649 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31651 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31652 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31653 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31654 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31655 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31656 Make code unconditional.
31657 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31658 (__mmap64) [!__NR_mmap2]: Likewise.
31659 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31660 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31661 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31662 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31663 [__NR_mmap2]: Make code unconditional.
31664 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31665 (__mmap64) [!__NR_mmap2]: Likewise.
31667 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31669 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31671 2012-08-18 Andreas Jaeger <aj@suse.de>
31673 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31675 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31677 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31678 * include/unistd.h (__have_sock_cloexec): Likewise.
31679 (__have_pipe2): Likewise.
31680 (__have_dup3): Likewise.
31682 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31685 * include/unistd.h (__have_pipe2): Change define into an extern int.
31686 (__have_dup3): Likewise.
31687 * socket/have_sock_cloexec.c: Include fcntl.h.
31688 (__have_pipe2): New variable.
31689 (__have_dup3): Likewise.
31691 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31693 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31695 2012-08-17 Marek Polacek <polacek@redhat.com>
31697 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31698 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31700 2012-08-17 Roland McGrath <roland@hack.frob.com>
31702 * configure.in: Add AC_SUBST for sysheaders.
31703 * configure: Regenerated.
31704 * config.make.in (sysheaders): New substituted variable.
31706 * sysdeps/unix/mkfifo.c: Moved ...
31707 * sysdeps/posix/mkfifo.c: ... here.
31708 * sysdeps/unix/mkfifoat.c: Moved ...
31709 * sysdeps/posix/mkfifoat.c: ... here.
31711 * sysdeps/unix/utime.c: Moved ...
31712 * sysdeps/posix/utime.c: ... here.
31714 * sysdeps/unix/time.c: Moved ...
31715 * sysdeps/posix/time.c: ... here.
31716 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31717 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31719 * sysdeps/unix/nice.c: Moved ...
31720 * sysdeps/posix/nice.c: ... here.
31722 * sysdeps/unix/alarm.c: Moved ...
31723 * sysdeps/posix/alarm.c: ... here.
31725 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31727 2012-08-17 Jeff Law <law@redhat.com>
31729 * intl/Makefile (codeset_mo): New variable.
31730 ($(codeset_mo)): New target.
31731 (tst-codeset.out): Depend on that. Remove explicit rule.
31732 (tst-gettext3.out, tst-gettext5.out): Likewise.
31733 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31734 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31735 * intl/tst-codeset.sh: Remove.
31736 * intl/tst-gettext3.sh: Likewise.
31737 * intl/tst-gettext5.sh: Likewise.
31739 2012-08-17 Roland McGrath <roland@hack.frob.com>
31741 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31742 * sysdeps/unix/syscalls.list: ... here.
31744 * sysdeps/posix/getaddrinfo.c
31745 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31746 (gaiconf_init, gaiconf_reload): Use them.
31747 [!_STATBUF_ST_NSEC]
31748 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31749 Define using time_t rather than struct timespec.
31751 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31752 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31754 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31756 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31757 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31760 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31761 __libc_cleanup_push argument.
31763 * bits/param.h: New file.
31764 * misc/sys/param.h: New file.
31765 * include/sys/param.h: New file.
31766 * misc/Makefile (headers): Add bits/param.h.
31767 * sysdeps/generic/sys/param.h: File removed.
31768 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31769 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31770 * sysdeps/mach/hurd/bits/param.h: New file.
31771 * sysdeps/mach/hurd/sys/param.h: File removed.
31773 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31776 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31778 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31779 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31782 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31783 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31784 rather than -D_IO_MTSAFE_IO conditionally.
31785 * stdio-common/Makefile (CPPFLAGS): Likewise.
31786 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31787 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31788 Use $(libio-mtsafe).
31789 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31790 of -D_IO_MTSAFE_IO.
31791 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31792 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31793 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31794 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31795 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31796 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31797 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31798 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31799 (CFLAGS-fread_u_chk.c): Likewise.
31800 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31801 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31802 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31803 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31804 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31805 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31806 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31807 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31808 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31810 * libio/Makefile: Test [$(libc-reentrant) = yes]
31811 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31814 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31815 * sysdeps/pthread/configure: File removed.
31816 * sysdeps/pthread/Makeconfig: New file.
31817 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31818 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31820 2012-08-16 Gary Benson <gbenson@redhat.com>
31822 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31823 unmapping the first object in a namespace.
31825 2012-08-16 Roland McGrath <roland@hack.frob.com>
31827 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31828 (__internal_setnetgrent): ... this. Add internal_function to
31829 definition. Add libc_hidden_def.
31830 (setnetgrent): Update caller.
31831 (internal_endnetgrent): Renamed to ...
31832 (__internal_endnetgrent): ... this. Add internal_function to
31833 definition. Add libc_hidden_def.
31834 (endnetgrent): Update caller.
31835 (internal_getnetgrent_r): Renamed to ...
31836 (__internal_getnetgrent_r): ... this. Add internal_function to
31837 definition. Add libc_hidden_def.
31838 (__getnetgrent_r): Update caller.
31839 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31841 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31843 * stdlib/longlong.h: Update from GCC.
31845 2012-08-16 Roland McGrath <roland@hack.frob.com>
31847 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31848 on _QL, which is set by umul_ppmm but never used.
31849 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31850 variables, which are set by GMP macros but never used.
31851 * stdio-common/_itowa.c (_itowa): Likewise.
31852 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31853 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31855 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31857 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31858 struct La_sh_regs is not constant.
31859 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31860 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31861 and struct La_sparc64_regs are not constant.
31863 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31865 * sysdeps/unix/sysv/linux/kernel-features.h
31866 (__ASSUME_POSIX_TIMERS): Remove.
31867 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31869 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31870 Make code unconditional.
31871 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31872 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31873 Make code unconditional.
31874 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31875 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31876 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31877 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31878 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31879 Make code unconditional.
31880 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31881 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31882 (__libc_missing_posix_timers): Remove.
31884 2012-08-15 Roland McGrath <roland@hack.frob.com>
31886 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31887 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31889 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31891 * elf/dl-sym.c: Include <stdlib.h>.
31893 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31894 constants, which avoids warnings in 32-bit builds.
31896 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31897 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31899 * misc/lseek.c: File moved to ...
31900 * io/lseek.c: ... here.
31902 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31904 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31905 shifting LEN more than 31 bits at once.
31907 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31910 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31911 segmentation fault for a case of two empty input strings.
31912 * string/test-strncasecmp.c (check1): Renamed to...
31913 (bz12205): ...this.
31914 (bz14195): Add new testcase for two empty input strings and N > 0.
31915 (test_main): Call new testcase, adapt for renamed function.
31917 2012-08-15 Andreas Jaeger <aj@suse.de>
31920 * crypt/md5test2.c: New test, based on test supplied by Serge
31921 Belyshev <belyshev@depni.sinp.msu.ru>.
31922 * crypt/Makefile (xtests): Add md5test-giant..
31923 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31925 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31928 * crypt/md5.c (md5_process_block): Don't assume the buffer
31929 length is less than 2**32.
31930 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31931 length is less than 2**64.
31933 2012-08-15 Roland McGrath <roland@hack.frob.com>
31935 * string/str-two-way.h: Include <sys/param.h>.
31936 (MAX): Macro removed.
31938 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31939 Move #define and #undef of memmove to just before and after
31940 including <string.h>.
31942 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31943 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31944 and after including <string.h>. Move declarations of
31945 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31946 to before #include "string/memmove.c".
31948 * include/dirent.h: Declare __getdirentries.
31950 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31951 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31953 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31955 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31956 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31957 * sysdeps/i386/configure: Regenerated.
31958 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31959 STABS_CURRENT_FILE, and STABS_FUN.
31960 (END): Remove call to STABS_FUN_END.
31961 (STABS_CURRENT_FILE1): Delete.
31962 (STABS_CURRENT_FILE): Likewise.
31963 (STABS_FUN): Likewise.
31964 (STABS_FUN_END): Likewise.
31965 (STABS_FUN2): Likewise.
31966 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31967 * sysdeps/x86_64/configure: Regenerated.
31969 2012-08-14 Roland McGrath <roland@hack.frob.com>
31971 * elf/dl-open.c: Include <atomic.h>.
31972 * elf/dl-lookup.c: Likewise.
31974 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31976 * sysdeps/unix/sysv/linux/kernel-features.h
31977 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31978 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31980 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31982 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31983 condition on __ASSUME_CLONE_THREAD_FLAGS.
31985 2012-08-14 Andreas Jaeger <aj@suse.de>
31987 * sysdeps/i386/fpu/libm-test-ulps: Update.
31989 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31991 * include/atomic.h (atomic_exchange_and_add): Split into ...
31992 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31995 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31999 2012-08-13 Jeff Law <law@redhat.com>
32001 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32002 null byte in the output string.
32004 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32006 * sysdeps/unix/sysv/linux/kernel-features.h
32007 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32008 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32009 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32010 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32011 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32012 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32013 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32015 2012-08-09 Jeff Law <law@redhat.com>
32018 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32019 When avoid_arena is set, don't retry in the that arena. Pick the
32020 next one, whatever it might be.
32021 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32022 (arena_lock): Pass in new parameter to arena_get2.
32023 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32025 (__libc_malloc): Unify retrying after main arena failure with
32026 __libc_memalign version.
32027 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32029 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32032 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32033 to __redirect_strstr.
32034 (__strstr_sse42): Use typeof __redirect_strstr.
32035 (__strstr_ia32): Likewise.
32036 (__libc_strstr): New prototype.
32037 (strstr): Renamed to ...
32038 (__libc_strstr): This.
32039 (strstr): New strong alias of __libc_strstr.
32040 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32041 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32044 (__libc_time): New prototype.
32045 (time_ifunc): Replace time with __libc_time.
32046 (time): New strong alias and hidden definition of __libc_time.
32047 (__GI_time): Remove strong alias.
32048 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32049 Include <stddef.h>.
32050 (memmove): Redefined to __redirect_memmove.
32051 (__memmove_sse2): Use typeof __redirect_memmove.
32052 (__memmove_ssse3): Likewise.
32053 (__memmove_ssse3_back): Likewise.
32054 (__libc_memmove): New prototype.
32055 (memmove): Renamed to ...
32056 (__libc_memmove): This.
32057 (memmove): New strong alias of __libc_memmove.
32059 2012-08-08 Mark Salter <msalter@redhat.com>
32062 (R_MN10300_TLS_GD): Define.
32063 (R_MN10300_TLS_LD): Likewise.
32064 (R_MN10300_TLS_LDO): Likewise.
32065 (R_MN10300_TLS_GOTIE): Likewise.
32066 (R_MN10300_TLS_IE): Likewise.
32067 (R_MN10300_TLS_LE): Likewise.
32068 (R_MN10300_TLS_DTPMOD): Likewise.
32069 (R_MN10300_TLS_DTPOFF): Likewise.
32070 (R_MN10300_TLS_TPOFF): Likewise.
32071 (R_MN10300_SYM_DIFF): Likewise.
32072 (R_MN10300_ALIGN): Likewise.
32073 (R_MN10300_NUM): Update.
32075 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32080 2012-08-08 Roland McGrath <roland@hack.frob.com>
32082 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32084 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32085 sysdeps/unix -> sysdeps/posix move.
32086 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32088 2012-08-07 Allan McRae <allan@archlinux.org>
32091 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32092 (SUNOS_CPP): Likewise.
32093 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32095 (open_input): Call CPP using execvp.
32097 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32099 * sysdeps/unix/sysv/linux/kernel-features.h
32100 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32101 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32102 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32103 (__ASSUME_WAITID_SYSCALL): Likewise.
32104 * sysdeps/unix/sysv/linux/dl-execstack.c
32105 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32106 code unconditional.
32107 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32109 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32110 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32111 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32113 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32115 [__ASSUME_WAITID_SYSCALL]: Likewise.
32116 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32118 2012-08-07 Roland McGrath <roland@hack.frob.com>
32120 * sysdeps/unix/closedir.c: Renamed to ...
32121 * sysdeps/posix/closedir.c: ... here.
32122 * sysdeps/unix/dirfd.c: Renamed to ...
32123 * sysdeps/posix/dirfd.c: ... here.
32124 * sysdeps/unix/dirstream.h: Renamed to ...
32125 * sysdeps/posix/dirstream.h: ... here.
32126 * sysdeps/unix/fdopendir.c: Renamed to ...
32127 * sysdeps/posix/fdopendir.c: ... here.
32128 * sysdeps/unix/opendir.c: Renamed to ...
32129 * sysdeps/posix/opendir.c: ... here.
32130 * sysdeps/unix/readdir.c: Renamed to ...
32131 * sysdeps/posix/readdir.c: ... here.
32132 * sysdeps/unix/readdir_r.c: Renamed to ...
32133 * sysdeps/posix/readdir_r.c: ... here.
32134 * sysdeps/unix/rewinddir.c: Renamed to ...
32135 * sysdeps/posix/rewinddir.c: ... here.
32136 * sysdeps/unix/seekdir.c: Renamed to ...
32137 * sysdeps/posix/seekdir.c: ... here.
32138 * sysdeps/unix/telldir.c: Renamed to ...
32139 * sysdeps/posix/telldir.c: ... here.
32140 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32141 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32142 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32143 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32145 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32146 * bits/fcntl.h: ... here.
32148 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32150 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32151 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32152 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32153 (struct flock): Move l_start, l_len to the beginning.
32154 Use __pid_t for l_pid.
32155 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32156 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32157 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32158 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32159 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32160 [__USE_LARGEFILE64] (struct flock64): New type.
32161 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32163 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32164 * bits/dirent.h: ... here.
32166 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32167 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32169 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32172 Change from 2.6.0 to 2.6.16.
32173 * sysdeps/unix/sysv/linux/configure: Regenerated.
32174 * sysdeps/unix/sysv/linux/kernel-features.h
32175 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32176 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32178 (__ASSUME_UTIMES): Likewise.
32179 (__ASSUME_CLONE_STOPPED): Remove.
32180 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32181 architectures, not kernel version.
32182 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32183 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32184 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32185 (__ASSUME_WAITID_SYSCALL): Likewise.
32186 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32187 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32188 * README: State 2.6.16 as minimum Linux kernel version. Do not
32189 refer to older versions.
32191 2012-08-06 Roland McGrath <roland@hack.frob.com>
32193 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32194 Define alphasort64 as an alias.
32195 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32196 Define versionsort64 as an alias.
32197 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32198 Define scandir64 as an alias.
32199 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32200 Define scandirat64 as an alias.
32201 * dirent/alphasort64.c (alphasort64):
32202 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32203 * dirent/versionsort64.c: Likewise.
32204 * dirent/scandir64.c: Likewise.
32205 * dirent/scandirat64.c: Likewise.
32206 * sysdeps/wordsize-64/alphasort.c: File removed.
32207 * sysdeps/wordsize-64/alphasort64.c: File removed.
32208 * sysdeps/wordsize-64/scandir.c: File removed.
32209 * sysdeps/wordsize-64/scandir64.c: File removed.
32210 * sysdeps/wordsize-64/scandirat.c: File removed.
32211 * sysdeps/wordsize-64/scandirat64.c: File removed.
32212 * sysdeps/wordsize-64/versionsort.c: File removed.
32213 * sysdeps/wordsize-64/versionsort64.c: File removed.
32214 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32215 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32216 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32217 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32218 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32219 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32220 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32221 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32223 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32225 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32227 [defined __arch64__ || defined __sparcv9]
32228 (__INO_T_MATCHES_INO64_T): New macro.
32229 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32230 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32231 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32232 * sysdeps/unix/sysv/linux/bits/dirent.h
32233 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32234 (_DIRENT_MATCHES_DIRENT64): New macro.
32236 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32237 Define lockf64 as an alias.
32238 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32239 Define fseeko64 as an alias.
32240 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32241 Define ftello64 as an alias.
32242 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32243 Define _IO_fgetpos64 and fgetpos64 as aliases.
32244 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32245 Define _IO_fsetpos64 and fsetpos64 as aliases.
32246 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32247 Conditionalize body on this.
32248 * libio/fseeko64.c: Likewise.
32249 * libio/ftello64.c: Likewise.
32250 * libio/iofgetpos64.c: Likewise.
32251 * libio/iofsetpos64.c: Likewise.
32252 * sysdeps/wordsize-64/lockf.c: File removed.
32253 * sysdeps/wordsize-64/lockf64.c: File removed.
32254 * sysdeps/wordsize-64/fseeko.c: File removed.
32255 * sysdeps/wordsize-64/fseeko64.c: File removed.
32256 * sysdeps/wordsize-64/ftello.c: File removed.
32257 * sysdeps/wordsize-64/ftello64.c: File removed.
32258 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32259 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32260 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32261 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32262 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32263 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32264 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32265 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32266 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32267 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32268 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32269 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32270 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32271 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32273 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32275 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32277 [defined __arch64__ || defined __sparcv9]
32278 (__OFF_T_MATCHES_OFF64_T): New macro.
32279 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32280 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32282 (__OFF_T_MATCHES_OFF64_T): New macro.
32284 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32286 * stdlib/secure-getenv.c (__secure_getenv): Replace
32287 GLIBC_2_16 with GLIBC_2_17.
32289 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32291 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32292 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32294 2012-08-03 David S. Miller <davem@davemloft.net>
32296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32298 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32302 (__ASSUME_CORRECT_SI_PID): Likewise.
32303 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32304 (__ASSUME_TMPFS_NAME): Likewise.
32305 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32306 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32307 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32308 (HAVE_AUX_SECURE): Make definition unconditional.
32309 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32310 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32312 2012-08-03 Roland McGrath <roland@hack.frob.com>
32314 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32315 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32316 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32317 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32318 __eloop_threshold instead of SYMLOOP_MAX.
32320 * sysdeps/generic/eloop-threshold.h: New file.
32321 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32323 * elf/chroot_canon.c (chroot_canon): Likewise.
32325 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32328 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32329 Change to 2.6.0 everywhere.
32330 * sysdeps/unix/sysv/linux/configure: Regenerated.
32331 * sysdeps/unix/sysv/linux/kernel-features.h
32332 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32333 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32335 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32336 (__ASSUME_FUTEX_REQUEUE): Remove.
32337 (__ASSUME_STATFS64): Define unconditionally.
32338 (__ASSUME_AT_SECURE): Likewise.
32339 (__ASSUME_CORRECT_SI_PID): Likewise.
32340 (__ASSUME_TGKILL): Define without depending on kernel version for
32342 (__ASSUME_UTIMES): Likewise.
32343 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32345 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32346 (__ASSUME_TMPFS_NAME): Likewise.
32347 * README: Update reference to Linux kernel versions.
32349 2012-08-02 Marek Polacek <polacek@redhat.com>
32352 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32353 libc_cv_asm_type_prefix with %.
32354 * configure: Regenerated.
32355 * include/libc-symbols.h: Remove comment about
32356 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32357 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32358 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32359 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32360 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32361 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32362 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32363 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32364 * elf/tst-unique2mod1.c: Likewise.
32365 * elf/tst-unique1mod2.c: Likewise.
32366 * elf/tst-unique1mod1.c: Likewise.
32367 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32368 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32369 Replace ASM_TYPE_DIRECTIVE with .type.
32370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32371 * sysdeps/i386/sysdep.h: Likewise.
32372 * sysdeps/x86_64/sysdep.h: Likewise.
32373 * sysdeps/sh/sysdep.h: Likewise.
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32375 Do not define ASM_TYPE_DIRECTIVE.
32376 * sysdeps/powerpc/sysdep.h: Likewise.
32377 * sysdeps/powerpc/powerpc32/sysdep.h:
32378 Replace ASM_TYPE_DIRECTIVE with .type.
32379 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32380 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32381 * sysdeps/i386/fpu/e_powf.S: Likewise.
32382 * sysdeps/i386/fpu/e_expl.S: Likewise.
32383 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32384 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32385 * sysdeps/i386/fpu/e_pow.S: Likewise.
32386 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32387 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32388 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32389 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32390 * sysdeps/i386/fpu/e_log2.S: Likewise.
32391 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32392 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32393 * sysdeps/i386/fpu/e_powl.S: Likewise.
32394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32395 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32396 * sysdeps/i386/fpu/e_logl.S: Likewise.
32397 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32398 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32399 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32400 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32401 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32402 * sysdeps/i386/fpu/e_log.S: Likewise.
32403 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32404 * sysdeps/i386/fpu/e_logf.S: Likewise.
32405 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32406 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32407 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32408 * sysdeps/i386/fpu/e_log10.S: Likewise.
32409 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32410 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32411 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32412 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32413 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32414 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32415 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32416 * sysdeps/i386/i686/strtok.S: Likewise.
32417 * sysdeps/i386/i386-mcount.S: Likewise.
32418 * sysdeps/i386/strtok.S: Likewise.
32419 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32420 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32421 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32422 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32423 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32424 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32425 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32426 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32427 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32428 * sysdeps/x86_64/_mcount.S: Likewise.
32429 * sysdeps/x86_64/strtok.S: Likewise.
32430 * sysdeps/sh/_mcount.S: Likewise.
32432 2012-08-01 Roland McGrath <roland@hack.frob.com>
32434 * libio/iofopen.c: Include <fcntl.h>.
32435 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32436 (_IO_fopen64, fopen64): Define as aliases.
32437 * libio/iofopen64.c: Include <fcntl.h>.
32438 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32439 Conditionalize body on this.
32440 * sysdeps/wordsize-64/iofopen.c: File removed.
32441 * sysdeps/wordsize-64/iofopen64.c: File removed.
32443 2012-08-01 Marek Polacek <polacek@redhat.com>
32445 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32446 Use dlfcn directly instead of a variable.
32447 (binfmt-subdir): Do not define.
32450 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32452 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32453 Remove all definitions.
32454 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32455 <kernel-features.h>.
32456 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32457 (miss_F_GETOWN_EX): Remove all definitions.
32458 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32460 [!__ASSUME_FCNTL64]: Remove conditional code.
32461 [__ASSUME_FCNTL64]: Make code unconditional.
32462 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32463 <kernel-features.h>.
32464 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32465 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32466 (lockf64) [__NR_fcntl64]: Make code unconditional.
32467 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32469 * sysdeps/unix/sysv/linux/kernel-features.h
32470 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32471 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32472 Make code unconditional.
32473 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32474 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32476 [__NR_vfork]: Make code unconditional.
32477 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32478 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32480 [__NR_vfork]: Make code unconditional.
32481 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32482 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32484 2012-08-01 Roland McGrath <roland@hack.frob.com>
32486 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32487 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32489 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32490 Define mkstemp64 as an alias.
32491 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32492 Define mkstemps64 as an alias.
32493 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32494 Define mkostemp64 as an alias.
32495 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32496 Define mkostemps64 as an alias.
32497 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32498 Conditionalize body on this.
32499 * misc/mkostemp64.c: Likewise.
32500 * misc/mkostemps64.c: Likewise.
32501 * misc/mkstemps64.c: Likewise.
32502 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32503 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32504 * sysdeps/wordsize-64/mkostemp.c: File removed.
32505 * sysdeps/wordsize-64/mkstemp.c: File removed.
32506 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32507 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32508 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32509 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32512 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32513 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32514 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32515 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32517 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32518 compat_symbol macros from <shlib-compat.h> rather than the underlying
32519 default_symbol_version and symbol_version macros, so that DEFAULT
32520 lines in shlib-versions are respected.
32521 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32523 2012-08-01 Florian Weimer <fweimer@redhat.com>
32525 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32526 Declare with warn_unused_result.
32527 (setgid, setregid, setegid, setresgid): Likewise.
32528 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32530 * WUR-REPORT: Remove set*id functions.
32532 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32534 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32536 2012-07-31 Roland McGrath <roland@hack.frob.com>
32539 * include/sys/socket.h (__libc_accept, __libc_accept4):
32540 Add attribute_hidden.
32541 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32543 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32545 * inet/getnetgrent_r.c (setup): Likewise.
32547 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32549 2012-07-31 David S. Miller <davem@davemloft.net>
32551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32553 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32556 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32557 value between 1.0 and 2.0 and smaller part has absolute value less
32559 * math/s_clog10.c (__clog10): Likewise.
32560 * math/s_clog10f.c (__clog10f): Likewise.
32561 * math/s_clog10l.c (__clog10l): Likewise.
32562 * math/s_clogf.c (__clogf): Likewise.
32563 * math/s_clogl.c (__clogl): Likewise.
32564 * math/libm-test.inc (clog_test): Add more tests.
32565 (clog10_test): Likewise.
32566 * sysdeps/i386/fpu/libm-test-ulps: Update.
32567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32569 2012-07-31 Florian Weimer <fweimer@redhat.com>
32571 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32572 Exit with zero in case no suitable GID is found, and write a
32573 message to standard error.
32575 2012-07-30 Roland McGrath <roland@hack.frob.com>
32577 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32579 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32580 (MAXPATHLEN): Removed.
32581 (NOGROUP, NODEV): New macros.
32582 (setbit, clrbit, isset, isclr): New macros.
32583 (howmany, roundup, powerof2): New macros.
32584 (DEV_BSIZE): New macro.
32586 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32587 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32589 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32590 definition on [!__NO_LONG_DOUBLE_MATH].
32592 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32593 PTR_MANGLE and PTR_DEMANGLE.
32595 * socket/accept4.c (accept4): Rename to __libc_accept4.
32596 Define accept4 as a weak alias.
32598 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32599 on [_DIRENT_HAVE_D_TYPE].
32600 * io/ftw.c (ftw_dir): Likewise.
32602 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32604 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32606 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32607 Use the BSD numbers rather than the arbitrary ones we had.
32608 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32609 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32610 (SIGXCPU, SIGXFSZ): New macros.
32613 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32614 initializer on [_LIBC_REENTRANT].
32616 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32617 definitions inside [_POSIX_MAPPED_FILES].
32619 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32621 * dirent/opendir.c: Include <fcntl.h>.
32623 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32624 (__libc_getspecific): Likewise.
32625 (__libc_key_create): Likewise.
32627 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32628 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32629 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32630 (tmpfile64): Define as alias.
32631 * sysdeps/wordsize-64/tmpfile.c: File removed.
32632 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32633 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32634 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32636 * stdio-common/vfscanf.c: Include <stdbool.h>.
32637 * nss/makedb.c: Likewise.
32638 * stdio-common/_i18n_number.h: Likewise.
32639 * argp/argp-help.c: Likewise.
32640 * posix/wordexp.c: Likewise.
32641 * sysdeps/posix/spawni.c: Likewise.
32642 * nss/nss_files/files-initgroups.c: Likewise.
32643 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32644 * nss/nss_files/files-initgroups.c: Likewise.
32645 * nss/nss_db/db-netgrp.c: Likewise.
32646 * nss/nss_db/db-initgroups.c: Likewise.
32647 * io/fchmodat.c: Include <sys/stat.h>.
32649 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32650 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32652 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32655 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32656 Add multiple inclusion protection.
32658 2012-07-27 David S. Miller <davem@davemloft.net>
32660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32662 2012-07-27 Gary Benson <gbenson@redhat.com>
32665 * elf/rtld.c: Include <stap-probe.h>.
32666 (dl_main): Added static probes "init_start" and "init_complete".
32667 * elf/dl-load.c: Include <stap-probe.h>.
32668 (lose): Take new parameter "nsid".
32669 Added static probe "map_failed".
32670 (_dl_map_object_from_fd): Pass namespace id to lose.
32671 Added static probe "map_start".
32672 (open_verify): Pass namespace id to lose.
32673 * elf/dl-open.c: Include <stap-probe.h>.
32674 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32675 and "reloc_complete".
32676 * elf/dl-close.c: Include <stap-probe.h>.
32677 (_dl_close_worker): Added static probes "unmap_start" and
32679 * elf/rtld-debugger-interface.txt: New file documenting the above.
32681 2012-07-26 Roland McGrath <roland@hack.frob.com>
32683 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32684 rather than a string variable.
32685 * sunrpc/rpc_main.c (h_output): Likewise.
32686 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32688 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32690 * inet/check_native.c: New file.
32692 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32695 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32696 if larger part has absolute value 1.0.
32697 * math/s_clog10.c (__clog10): Likewise.
32698 * math/s_clog10f.c (__clog10f): Likewise.
32699 * math/s_clog10l.c (__clog10l): Likewise.
32700 * math/s_clogf.c (__clogf): Likewise.
32701 * math/s_clogl.c (__clogl): Likewise.
32702 * math/libm-test.inc (clog_test): Add more tests.
32703 (clog10_test): Likewise.
32704 * sysdeps/i386/fpu/libm-test-ulps: Update.
32705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32707 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32708 (pltexit): Likewise.
32709 (La_regs): Likewise.
32710 (La_retval): Likewise.
32711 (int_retval): Likewise.
32712 Update #error for removed macros to refer only to definitions in
32714 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32716 (pltexit): Likewise.
32717 (La_regs): Likewise.
32718 (La_retval): Likewise.
32719 (int_retval): Likewise.
32720 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32722 (pltexit): Likewise.
32723 (La_regs): Likewise.
32724 (La_retval): Likewise.
32725 (int_retval): Likewise.
32726 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32728 (pltexit): Likewise.
32729 (La_regs): Likewise.
32730 (La_retval): Likewise.
32731 (int_retval): Likewise.
32732 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32734 (pltexit): Likewise.
32735 (La_regs): Likewise.
32736 (La_retval): Likewise.
32737 (int_retval): Likewise.
32738 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32740 (pltexit): Likewise.
32741 (La_regs): Likewise.
32742 (La_retval): Likewise.
32743 (int_retval): Likewise.
32744 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32746 (pltexit): Likewise.
32747 (La_regs): Likewise.
32748 (La_retval): Likewise.
32749 (int_retval): Likewise.
32750 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32751 macro definitions in tst-audit.h.
32752 * sysdeps/i386/tst-audit.h: New file.
32753 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32754 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32755 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32756 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32757 * sysdeps/sh/tst-audit.h: Likewise.
32758 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32759 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32760 * sysdeps/x86_64/tst-audit.h: Likewise.
32762 2012-07-26 Andreas Jaeger <aj@suse.de>
32764 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32767 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32768 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32769 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32771 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32772 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32773 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32775 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32778 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32780 (si_call_addr, si_syscall, si_arch): Define new macro.
32781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32783 (si_call_addr, si_syscall, si_arch): Define new marcro.
32784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32786 (si_call_addr, si_syscall, si_arch): Define new macro.
32787 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32789 (si_call_addr, si_syscall, si_arch): Define new macro.
32791 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32794 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32795 Change to 2.4.21 where previously 2.4.1.
32796 * sysdeps/unix/sysv/linux/configure: Regenerated.
32797 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32798 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32799 Linux kernel version.
32800 (__ASSUME_STD_AUXV): Remove.
32801 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32803 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32804 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32805 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32806 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32807 (__ASSUME_NETLINK_SUPPORT): Likewise.
32808 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32809 (__no_netlink_support): Remove conditional definition.
32810 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32812 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32813 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32814 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32815 (if_nameindex_ioctl): Remove.
32816 (if_nameindex_netlink): Do not handle __no_netlink_support.
32817 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32819 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32820 Remove conditional code.
32821 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32823 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32825 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32826 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32827 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32829 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32830 [!__ASSUME_STD_AUXV]: Remove conditional code.
32831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32832 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32833 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32835 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32836 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32838 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32840 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32841 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32843 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32845 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32848 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32851 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32852 code unconditional.
32853 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32855 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32857 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32860 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32862 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32865 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32866 code unconditional.
32867 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32869 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32871 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32874 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32875 code unconditional.
32876 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32878 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32880 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32883 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32885 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32886 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32887 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32888 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32889 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32890 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32891 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32892 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32893 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32894 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32895 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32896 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32897 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32898 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32899 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32900 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32901 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32902 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32903 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32905 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32906 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32907 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32909 2012-07-25 Florian Weimer <fweimer@redhat.com>
32911 * Versions.def: Add GLIBC_2.17.
32912 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32913 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32914 Introduce __libc_secure_getenv.
32915 * stdlib/Versions (2.17): Add secure_getenv
32916 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32917 * stdlib/secure-getenv.c: Rename __secure_getenv to
32918 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32919 symbol __secure_getenv for GLIBC_2.0.
32920 * stdlib/tst-secure-getenv.c: New.
32921 * stdlib/Makefile (tests): Add testcase.
32922 * manual/startup.texi (Environment Access): Document
32924 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32925 __libc_secure_getenv.
32926 * inet/ruserpass.c (ruserpass): Likewise.
32927 * malloc/mtrace.c (mtrace): Likewise.
32928 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32929 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32930 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32931 * sysdeps/posix/tempname.c: Likewise. Evaluate
32932 HAVE_SECURE_GETENV.
32933 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32934 __secure_getenv to __libc_secure_getenv.
32935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32942 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32948 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32950 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32951 (struct La_i86_retval): Likewise.
32952 (struct La_x86_64_regs): Likewise.
32953 (struct La_x86_64_retval): Likewise.
32954 (struct La_x32_regs): Likewise.
32955 (struct La_x32_retval): Likewise.
32956 (struct La_ppc32_regs): Likewise.
32957 (struct La_ppc32_retval): Likewise.
32958 (struct La_ppc64_regs): Likewise.
32959 (struct La_ppc64_retval): Likewise.
32960 (struct La_sh_regs): Likewise.
32961 (struct La_sh_retval): Likewise.
32962 (struct La_s390_32_regs): Likewise.
32963 (struct La_s390_32_retval): Likewise.
32964 (struct La_s390_64_regs): Likewise.
32965 (struct La_s390_64_retval): Likewise.
32966 (struct La_sparc32_regs): Likewise.
32967 (struct La_sparc32_retval): Likewise.
32968 (struct La_sparc64_regs): Likewise.
32969 (struct La_sparc64_retval): Likewise.
32970 (struct audit_ifaces): Remove architecture-specific pltenter and
32972 * sysdeps/i386/ldsodefs.h: New file.
32973 * sysdeps/powerpc/ldsodefs.h: Likewise.
32974 * sysdeps/s390/ldsodefs.h: Likewise.
32975 * sysdeps/sh/ldsodefs.h: Likewise.
32976 * sysdeps/sparc/ldsodefs.h: Likewise.
32977 * sysdeps/x86_64/ldsodefs.h: Likewise.
32979 2012-07-25 Marek Polacek <polacek@redhat.com>
32982 * math/libm-test.inc (yn_test): Add another test.
32983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32984 to ERANGE when the result is +-Inf.
32985 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32986 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32987 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32988 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32990 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32992 * conform/data/time.h-data (NULL): Use macro-constant. Require
32994 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32996 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32998 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33000 * configure.in <sysdeps resolving>: Correct printing
33002 * configure: Regenerate.
33004 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33006 * math/w_ilogb.c: Include <limits.h>.
33007 * math/w_ilogbl.c: Likewise.
33009 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33011 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33012 va_copy. Document allowing for unavailable va_copy only as
33013 pre-C99 compatibility.
33014 * manual/string.texi (Copying and Concatenation): Use va_copy
33015 instead of __va_copy in concat example.
33017 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33019 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33020 (__sendto): Use create_address_port. Initialize APORT and deallocate
33023 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33024 with O_NOLINK passed to __file_name_lookup.
33026 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33027 with O_NOLINK passed to __file_name_lookup.
33029 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33030 negative N or less than NGIDS.
33032 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33033 type to string_t. Set ERANGE as errno and return it if NAME is not big
33034 enough. Use memcpy instead of strncpy.
33036 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33038 * elf/Makefile (check-data): Remove.
33039 (localplt.data): New vpath directive.
33040 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33041 instead of $(check-data).
33042 * scripts/data/localplt-generic.data: Move to ...
33043 * sysdeps/generic/localplt.data: ... here.
33044 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33045 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33046 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33049 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33052 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33055 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33058 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33061 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33065 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33067 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33068 PPC32 and PPC64 files.
33069 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33070 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33072 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33074 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33075 __makecontext_ret to ...
33076 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33077 ... here and call exit if uc_link is NULL. New file.
33078 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33079 __makecontext_ret.S.
33080 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33081 __makecontext_ret to ...
33082 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33083 ... here and call exit if uc_link is NULL. New file.
33084 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33085 __makecontext_ret.S.
33087 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33089 * elf/elf.h (R_390_IRELATIVE): New definition.
33090 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33091 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33092 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33093 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33094 (elf_machine_lazy_rel): Likewise.
33095 * sysdeps/s390/dl-irel.h: New file.
33096 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33097 * sysdeps/s390/s390-64/memset.S: New asm code.
33098 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33099 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33100 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33101 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33102 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33103 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33104 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33105 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33106 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33107 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33108 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33109 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33110 * sysdeps/s390/s390-32/memset.S: New asm code.
33111 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33113 2012-07-17 Marek Polacek <polacek@redhat.com>
33116 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33117 * sysdeps/s390/s390-64/configure.in: Likewise.
33118 * sysdeps/sparc/configure.in: Likewise.
33119 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33120 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33121 * sysdeps/i386/configure.in: Likewise.
33122 * sysdeps/x86_64/configure.in: Likewise.
33123 * sysdeps/sh/configure.in: Likewise.
33124 * sysdeps/s390/s390-32/configure: Regenerated.
33125 * sysdeps/s390/s390-64/configure: Likewise.
33126 * sysdeps/x86_64/configure: Likewise.
33127 * sysdeps/sh/configure: Likewise.
33128 * sysdeps/powerpc/powerpc64/configure: Likewise.
33129 * sysdeps/powerpc/powerpc32/configure: Likewise.
33130 * sysdeps/sparc/configure: Likwise.
33131 * sysdeps/i386/configure: Likewise.
33133 * elf/dl-open.c: Comment fixes.
33135 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33137 * Makefile [CXX] (check-data): Remove.
33138 [CXX] (c++-types.data): New vpath directive.
33139 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33140 vpath. Do not allow for C++ type data being missing.
33141 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33142 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33143 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33144 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33145 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33146 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33147 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33150 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33153 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33156 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33159 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33162 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33165 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33168 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33171 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33172 definitions to architecture-specific files.
33173 (TLS_IE): Likewise.
33174 (TLS_LD): Likewise.
33175 (TLS_GD): Likewise.
33176 * sysdeps/i386/tls-macros.h: New file.
33177 * sysdeps/powerpc/tls-macros.h: Likewise.
33178 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33179 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33180 * sysdeps/sh/tls-macros.h: Likewise.
33181 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33182 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33183 * sysdeps/x86_64/tls-macros.h: Likewise.
33185 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33187 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33188 zero value for regular exit case.
33190 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33191 (__start_context): Preserve zero value for regular exit case.
33193 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33194 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33196 * manual/setjmp.texi (setcontext): Clarify normal process
33197 termination when uc_link is the null pointer.
33198 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33201 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33203 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33204 preprocessor. Test for each exception mask separately.
33206 2012-07-16 Andreas Jaeger <aj@suse.de>
33208 * po/ru.po: Update from translation team.
33210 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33212 * conform/data/string.h-data (NULL): Use macro-constant. Require
33214 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33215 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33216 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33217 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33218 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33220 2012-07-13 Andreas Jaeger <aj@suse.de>
33222 * po/fr.po: Update from translation team.
33224 2012-07-12 Marek Polacek <polacek@redhat.com>
33227 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33228 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33231 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33235 Change to 2.4.1 where previously 2.4.0.
33236 * sysdeps/unix/sysv/linux/configure: Regenerated.
33237 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33238 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33240 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33241 (__ASSUME_AT_CLKTCK): Remove.
33242 (__ASSUME_AT_PAGESIZE): Likewise.
33243 (__ASSUME_AT_XID): Likewise.
33244 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33245 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33246 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33248 (HAVE_AUX_PAGESIZE): Likewise.
33249 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33250 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33251 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33253 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33257 the temporary buffer used to invoke __gethostbyname2_r,
33258 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33259 host_data / struct gaih_addrtuple.
33260 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33261 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33262 header file nss/nsswitch.h.
33263 * nss/nsswitch.h (global scope): Add definition of implementation
33264 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33265 resolv/nss_dns/dns-host.c).
33267 2012-07-11 Andreas Jaeger <aj@suse.de>
33269 * po/fr.po: Update from translation team.
33271 * po/sv.po: Update from translation team
33272 * po/fr.po: Another update from translation team.
33274 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33276 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33277 for subnormals or multiply small sinh result by itself.
33278 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33281 2012-07-11 David S. Miller <davem@davemloft.net>
33283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33285 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33288 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33289 (INTERNAL_MARK): Shift it here.
33291 2012-07-10 Marek Polacek <polacek@redhat.com>
33294 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33295 libc_cv_asm_global_directive with .globl.
33296 * configure: Regenerated.
33297 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33299 * sysdeps/i386/configure: Regenerated.
33300 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33302 * sysdeps/x86_64/configure: Regenerated.
33303 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33304 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33305 * elf/tst-unique2mod2.c: Likewise.
33306 * elf/tst-unique2mod1.c: Likewise.
33307 * elf/tst-unique1mod2.c: Likewise.
33308 * elf/tst-unique1mod1.c: Likewise.
33309 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33310 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33311 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33312 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33313 * sysdeps/mach/sysdep.h: Likewise.
33314 * sysdeps/i386/sysdep.h: Likewise.
33315 * sysdeps/i386/i386-mcount.S: Likewise.
33316 * sysdeps/x86_64/_mcount.S: Likewise.
33317 * sysdeps/x86_64/sysdep.h: Likewise.
33318 * sysdeps/sh/_mcount.S: Likewise.
33319 * sysdeps/sh/sysdep.h: Likewise.
33320 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33321 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33322 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33323 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33324 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33325 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33326 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33327 * locale/localeinfo.h: Likewise.
33328 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33329 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33331 2012-07-09 Roland McGrath <roland@hack.frob.com>
33334 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33336 * manual/message.texi (The Uniforum approach): Likewise.
33337 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33338 (glibc iconv Implementation): Likewise.
33340 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33343 * math/s_clog.c (__clog): Avoid scaling a value down where that
33344 could result in underflow.
33345 * math/s_clog10.c (__clog10): Likewise.
33346 * math/s_clog10f.c (__clog10f): Likewise.
33347 * math/s_clog10l.c (__clog10l): Likewise.
33348 * math/s_clogf.c (__clogf): Likewise.
33349 * math/s_clogl.c (__clogl): Likewise.
33350 * math/libm-test.inc (clog_test): Add more tests.
33351 (clog10_test): Likewise.
33352 * sysdeps/i386/fpu/libm-test-ulps: Update.
33353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33355 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33358 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33359 by 7 not 8 to examine high bit of fractional part.
33362 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33363 for call to __mcount_internal.
33364 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33365 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33366 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33368 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33371 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33372 approximation for values within 0x1p-13f of an odd multiple of
33374 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33375 exception. Add more tests.
33376 * sysdeps/i386/fpu/libm-test-ulps: Update.
33379 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33380 inputs and return -1 for them. Do not check for +Inf in case not
33381 reachable for +Inf.
33382 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33383 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33384 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33385 and return -1 for them. Do not check for +Inf in case not
33386 reachable for +Inf.
33387 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33389 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33390 and return -1 for them. Do not check for +Inf in case not
33391 reachable for +Inf.
33392 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33393 spurious underflow.
33394 * sysdeps/i386/fpu/libm-test-ulps: Update.
33395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33397 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33399 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33401 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33405 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33406 could result in spurious underflow. Scale down values above
33407 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33408 * math/s_csqrtf.c (__csqrtf): Likewise.
33409 * math/s_csqrtl.c (__csqrtl): Likewise.
33410 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33411 spurious underflow.
33412 * sysdeps/i386/fpu/libm-test-ulps: Update.
33413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33415 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33417 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33419 * catgets/xopen-msg.awk: New file.
33420 * catgets/xopen-msg.sed: Removed.
33422 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33424 * intl/po2test.awk: New file.
33425 * intl/po2test.sed: Removed.
33427 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33430 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33431 or multiply small sinh result by itself.
33432 * math/s_ctanf.c (__ctanf): Likewise.
33433 * math/s_ctanh.c (__ctanh): Likewise.
33434 * math/s_ctanhf.c (__ctanhf): Likewise.
33435 * math/s_ctanhl.c (__ctanhl): Likewise.
33436 * math/s_ctanl.c (__ctanl): Likewise.
33437 * math/libm-test.inc (ctan_test_tonearest): New function.
33438 (ctan_test_towardzero): Likewise.
33439 (ctan_test_downward): Likewise.
33440 (ctan_test_upward): Likewise.
33441 (ctanh_test_tonearest): Likewise.
33442 (ctanh_test_towardzero): Likewise.
33443 (ctanh_test_downward): Likewise.
33444 (ctanh_test_upward): Likewise.
33445 (main): Call these new functions.
33446 * sysdeps/i386/fpu/libm-test-ulps: Update.
33447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33449 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33451 * .gitignore: Delete /ports entry.
33453 2012-07-03 Andreas Jaeger <aj@suse.de>
33455 * po/bg.po: Update from translation team.
33456 * po/cs.po: Likewise.
33457 * po/de.po: Likewise.
33458 * po/hr.po: Likewise.
33459 * po/nl.pl: Likewise.
33460 * po/pl.po: Likewise.
33461 * po/vi.po: Likewise.
33463 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33465 * Makeconfig [!+link] (+link-before-libc): New variable.
33466 [!+link] (+link-after-libc): Likewise.
33467 [!+link] (+link-tests): Likewise.
33468 [!+link] (+link): Define in terms of $(+link-before-libc) and
33469 $(+link-after-libc).
33470 [!+link-static] (+link-static-before-libc): New variable.
33471 [!+link-static] (+link-static-after-libc): Likewise.
33472 [!+link-static] (+link-static-tests): Likewise.
33473 [!+link-static] (+link-static): Define in terms of
33474 $(+link-static-before-libc) and $(+link-static-after-libc).
33475 [build-shared] (link-libc-before-gnulib): New variable.
33476 [build-shared] (link-libc-tests): Likewise.
33477 [build-shared] (link-libc): Define in terms of
33478 $(link-libc-before-gnulib).
33479 [!build-shared] (link-libc-tests): New variable.
33480 (link-libc-static-tests): New variable.
33481 [!gnulib] (gnulib-arch): New variable.
33482 [!gnulib] (gnulib-tests): Likewise.
33483 [!gnulib] (static-gnulib-arch): Likewise.
33484 [!gnulib] (static-gnulib-tests): Likewise.
33485 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33486 Define with "=" instead of ":=".
33487 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33488 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33489 * Rules (binaries-all-notests): New variable.
33490 (binaries-all-tests): Likewise.
33491 (binaries-static-notests): Likewise.
33492 (binaries-static-tests): Likewise.
33493 (binaries-all): Define using $(binaries-all-notests) and
33494 $(binaries-all-tests).
33495 (binaries-static): Define using $(binaries-static-notests) and
33496 $(binaries-static-tests).
33497 (binaries-shared-tests): New variable.
33498 (binaries-shared-notests): Likewise.
33499 (binaries-shared): Remove variable.
33500 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33501 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33502 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33503 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33504 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33505 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33506 * elf/Makefile (sln-modules): New variable.
33507 (extra-objs): Add $(sln-modules:=.o).
33508 (ldconfig-modules): Add static-stubs.
33509 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33510 * elf/static-stubs.c: New file.
33513 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33514 by 7 not 8 to examine high bit of fractional part. Use volatile
33515 variables when splitting into final array of floats if
33516 __FLT_EVAL_METHOD__ != 0.
33517 * math/libm-test.inc (cos_test): Add another test.
33518 (sin_test): Likewise.
33519 * sysdeps/i386/fpu/libm-test-ulps: Update.
33522 * math/libm-test.inc (cosh_test): Add more tests.
33524 * version.h (RELEASE): Set to "development".
33525 (VERSION): Set to "2.16.90".
33527 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33529 * NEWS: Update copyright. Remove last-updated date.
33530 Mention math library bug fixes and timezone data changes.
33531 * README: Mention GNU/Hurd, x32, and HPPA support status.
33533 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33535 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33537 2012-06-27 Andreas Jaeger <aj@suse.de>
33539 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33541 2012-06-25 Andreas Jaeger <aj@suse.de>
33543 * sysdeps/s390/fpu/libm-test-ulps: Update.
33545 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33546 Thomas Schwinge <thomas@codesourcery.com>
33548 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33549 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33553 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33555 * sysdeps/mach/start.c: Remove file.
33556 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33557 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33558 * sysdeps/sh/init-first.c: Likewise.
33560 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33561 registers for frame unwinding purposes, add CFI directives.
33562 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33563 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33564 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33567 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33568 __fortify_fail returning.
33569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33571 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33572 sysdeps/sh/____longjmp_chk.S.
33573 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33574 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33575 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33576 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33578 * sysdeps/sh/abort-instr.h: New file.
33579 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33580 process in case exit returns.
33582 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33583 initialize the GOT register before use.
33585 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33586 calculation of ARGC > 4.
33588 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33589 meaningful names to some local labels.
33591 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33592 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33594 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33595 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33596 (__arch_compare_and_exchange_val_16_acq): Likewise.
33597 (__arch_compare_and_exchange_val_32_acq): Likewise.
33598 (atomic_exchange_and_add): Fix gUSA sequence.
33599 (atomic_add): Likewise.
33600 (atomic_add_negative): Likewise.
33601 (atomic_add_zero): Likewise.
33602 (atomic_bit_test_set): Likewise.
33604 2012-06-22 Andreas Schwab <schwab@redhat.com>
33607 * include/link.h (struct link_map): Add l_free_initfini.
33608 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33610 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33611 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33612 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33615 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33617 * configure.in: Use AC_LANG_SOURCE.
33618 * configure: Regenerate.
33620 2012-06-22 Roland McGrath <roland@hack.frob.com>
33622 * configure.in (libc_cv_localstatedir): New substituted variable.
33623 * configure: Regenerated.
33624 * config.make.in (localstatedir): New variable, substituted from
33625 libc_cv_localstatedir.
33626 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33627 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33628 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33629 * sysdeps/gnu/configure: Regenerated.
33631 2012-06-21 Jeff Law <law@redhat.com>
33634 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33635 free. Simplify list management for _LIBC case.
33637 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33640 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33641 Clear sign bit of 64-bit integer value before comparing against
33644 * sysdeps/mach/configure: Regenerated.
33646 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33649 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33651 2012-06-21 Jeff Law <law@redhat.com>
33654 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33655 uint16_t for elements in the "seen" array to avoid char overflows.
33656 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33657 * elf/dl-open.c (dl_open_worker): Likewise.
33659 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33661 * scripts/list-sources.sh: Scan PORTS for translations.
33662 * po/libc.pot: Regenerated.
33664 2012-06-21 Andreas Jaeger <aj@suse.de>
33667 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33669 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33670 * bits/byteswap-16.h (__bswap_16): Likewise.
33671 * bits/byteswap.h (__bswap_constant_16): Likewise.
33673 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33676 * sysdeps/i386/fpu_control.h: Removed.
33677 * sysdeps/x86_64/fpu_control.h: Moved to ...
33678 * sysdeps/x86/fpu_control.h: Here.
33680 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33681 (_FPU_SETCW): Likewise.
33683 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33686 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33687 * sysdeps/x86/fpu/bits/mathinline.h: This.
33688 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33692 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33693 functions if __x86_64__ is defined.
33695 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33697 * string/endian.h: Add !__ASSEMBLER__ condition for including
33698 conversion interfaces.
33700 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33704 of ABS(x) in calculating zero to negative powers other than odd
33706 * math/libm-test.inc (pow_test): Add more tests.
33708 2012-06-15 Andreas Jaeger <aj@suse.de>
33710 * manual/contrib.texi (Contributors): Update entry of Liubov
33711 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33714 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33716 * string/string.h: Add __wur to GNU version of strerror_r.
33718 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33721 * string/Makefile (tests): Add tst-strtok_r.
33722 * string/tst-strtok_r.c: New file.
33723 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33724 RAX_LP/RDX_LP on SAVE_PTR.
33726 2012-06-14 Roland McGrath <roland@hack.frob.com>
33728 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33730 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33732 * libm_test.inc (csqrt_test): Allow more spurious underflow
33734 (j0_test): Likewise.
33735 (j1_test): Likewise.
33736 (y0_test): Likewise.
33737 (y1_test): Likewise.
33739 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33741 * po/Makefile (libc.pot): Use UTF-8 charset.
33743 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33746 Suppress sign-conversion warning from FD_SET.
33747 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33748 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33749 not unsigned long int.
33750 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33752 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33756 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33757 __extern_always_inline instead of __extern_inline.
33758 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33759 (__signbit): Likewise.
33760 (__signbitl): Support C++ namespace.
33761 (lrintf): New inline function.
33763 (llrintf): Likewise.
33764 (llrint): Likewise.
33774 (floorf): Likewise.
33775 (nearbyint): Likewise.
33776 (nearbyintf): Likewise.
33778 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33781 non-default versions.
33783 2012-06-11 Roland McGrath <roland@hack.frob.com>
33786 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33788 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33790 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33791 (FE_UPWARD, FE_DOWNWARD): Don't define.
33792 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33793 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33795 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33797 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33798 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33800 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33802 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33804 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33805 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33807 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33810 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33811 * sysdeps/i386/fpu/Implies: New file.
33812 * sysdeps/x86_64/fpu/Implies: Likewise.
33813 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33814 * sysdeps/x86/fpu/bits/fenv.h: This.
33816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33819 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33822 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33823 character 0xffff that matches the last element of the
33826 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33828 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33831 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33834 values higher than 25.6283.
33836 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33839 subnormal exponent extraction and add some __builtin_expect.
33840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33841 Fix for subnormal mantissa calculation.
33843 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33845 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33846 cpu2 is -1 and errno is not ENOSYS.
33848 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33851 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33852 * sysdeps/x86/bits/string.h: This.
33853 * sysdeps/x86_64/bits/string.h: Removed.
33855 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33856 if not compiling for x86-64, but compiling for >= i486.
33858 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33859 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33861 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33862 New macro from Linux kernel 3.4.0.
33863 (FP_XSTATE_MAGIC2): Likewise.
33864 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33865 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33866 (struct _fpx_sw_bytes): New struct.
33867 (struct _xsave_hdr): Likewise.
33868 (struct _ymmh_state): Likewise.
33869 (struct _xstate): Likewise.
33871 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33872 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33873 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33874 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33875 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33876 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33878 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33879 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33880 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33881 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33882 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33883 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33885 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33888 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33889 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33890 (sysdep_headers): Include sys/platform/ppc.h.
33891 * sysdeps/powerpc/test-gettimebase.c: Test for
33892 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33893 * manual/Makefile (appendices): Include platform.texi.
33894 * manual/contrib.texi (Contributors): Update @node pointers.
33895 * manual/maint.texi (Maintenance): Likewise.
33896 (Platform): New node.
33897 * manual/platform.texi: New file. Document the new features.
33899 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33900 Jakub Jelinek <jakub@redhat.com>
33903 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33904 where __builtin_expect is unavailable.
33906 2012-06-03 David S. Miller <davem@davemloft.net>
33908 * stdlib/longlong.h: Updated from GCC.
33910 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33913 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33914 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33917 (GLIBC_2.16): Likewise.
33919 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33921 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33923 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33926 (default-abi): New variable.
33927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33928 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33930 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33932 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33934 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33937 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33938 definition. Document in comment.
33940 2012-06-01 David S. Miller <davem@davemloft.net>
33942 * stdlib/longlong.h: Updated from GCC.
33944 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33947 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33948 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33949 sys/debugreg.h sys/io.h here.
33950 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33951 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33953 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33954 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33955 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33956 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33957 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33958 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33960 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33961 Define only if __x86_64__ is defined.
33963 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33966 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33967 Use int64_t for variable i.
33968 * math/libm-test.inc (fmod_test): Add more tests.
33970 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33971 z computation is not scheduled after fetestexcept.
33972 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33973 Use math_force_eval instead of asm to ensure calculation scheduled
33974 before exception test.
33975 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33976 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33978 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33981 computation is not scheduled after fetestexcept.
33983 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33986 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33987 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33989 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33991 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33992 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33994 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33997 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33999 (__WCHAR_MIN): Support __WORDSIZE == 64.
34000 (__WCHAR_MAX): Likewise.
34002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34003 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34006 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34007 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34010 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34011 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34013 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34014 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34016 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34017 Defined to 1 if __x86_64__ isn't defined.
34018 (_STAT_VER_LINUX_OLD): New.
34019 (st_atime): Remove duplicate.
34020 (st_mtime): Likewise.
34021 (st_ctime): Likewise.
34023 2012-05-31 David S. Miller <davem@davemloft.net>
34025 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34028 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34030 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34034 * elf/dl-reloc.c: Include <_itoa.h>.
34035 (_dl_reloc_bad_type): Remove use of INTUSE.
34036 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34037 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34038 * stdio-common/psiginfo.c (psiginfo): Likewise.
34039 * stdio-common/psignal.c (psignal): Likewise.
34040 * string/strsignal.c (strsignal): Likewise.
34041 * include/signal.h (_sys_siglist): Declare hidden proto.
34042 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34043 INTVARDEF with libc_hidden_data_def.
34044 * stdio-common/itoa-udigits.c: Likewise.
34045 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34046 (_itoa_lower_digits_internal): Remove declaration.
34047 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34048 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34049 (_sys_sigabbrev_internal): Remove aliases.
34050 (_sys_siglist): Define hidden alias.
34052 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34057 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34060 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34061 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34063 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34064 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34065 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34066 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34067 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34068 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34070 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34072 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34074 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34082 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34084 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34086 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34087 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34088 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34089 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34090 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34091 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34093 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34094 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34096 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34097 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34101 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34103 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34104 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34106 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34108 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34109 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34110 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34112 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34114 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34116 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34118 * math/math.h (M_El): Use two more decimal places.
34119 (M_LOG2El): Likewise.
34120 (M_LOG10El): Likewise.
34121 (M_LN2l): Likewise.
34122 (M_LN10l): Likewise.
34124 (M_PI_2l): Likewise.
34125 (M_PI_4l): Likewise.
34126 (M_1_PIl): Likewise.
34127 (M_2_PIl): Likewise.
34128 (M_2_SQRTPIl): Likewise.
34129 (M_SQRT2l): Likewise.
34130 (M_SQRT1_2l): Likewise.
34132 2012-05-31 David S. Miller <davem@davemloft.net>
34134 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34135 values between float registers.
34136 * sysdeps/sparc/sparc64/memset.S: Likewise.
34137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34139 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34141 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34142 -D_FORTIFY_SOURCE=1.
34143 (CPPFLAGS-tst-longjmp_chk.c): Define.
34144 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34145 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34146 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34147 CFLAGS-tst-wchar-h.c.
34149 2012-05-31 Marek Polacek <polacek@redhat.com>
34152 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34153 __endmntent_internal): Remove declaration.
34154 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34155 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34156 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34158 2012-05-30 David S. Miller <davem@davemloft.net>
34160 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34161 (___Q_simulate_exceptions): Use real FP ops rather than writing
34163 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34166 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34169 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34170 * sysdeps/x86/bits/xtitypes.h: This.
34172 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34173 * sysdeps/x86/bits/wordsize.h: This.
34175 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34176 * sysdeps/x86/bits/huge_vall.h: This.
34178 * sysdeps/i386/bits/select.h: Removed.
34179 * sysdeps/x86_64/bits/select.h: Renamed to ...
34180 * sysdeps/x86/bits/select.h: This.
34182 * sysdeps/i386/bits/setjmp.h: Removed.
34183 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34184 * sysdeps/x86/bits/setjmp.h: This.
34186 * sysdeps/i386/bits/mathdef.h: Removed.
34187 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34188 * sysdeps/x86/bits/mathdef.h: This.
34190 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34193 * include/sys/socket.h (__connect_internal)
34194 (__libc_sa_len_internal): Remove declaration.
34195 (__connect, __libc_sa_len): Declare hidden_proto.
34196 (SA_LEN): Remove use of INTUSE.
34197 * socket/connect.c: Add libc_hidden_def.
34198 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34199 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34200 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34202 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34203 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34204 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34205 of adding _internal alias.
34207 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34210 * sysdeps/i386/bits/link.h: Removed.
34211 * sysdeps/i386/bits/linkmap.h: Likewise.
34212 * sysdeps/x86_64/bits/link.h: Renamed to ...
34213 * sysdeps/x86/bits/link.h: This.
34214 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34215 * sysdeps/x86/bits/linkmap.h: This.
34217 * sysdeps/i386/bits/endian.h: Removed.
34218 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34219 * sysdeps/x86/bits/endian.h: This.
34221 * sysdeps/i386/bits/byteswap.h: Removed.
34222 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34223 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34224 * sysdeps/x86/bits/byteswap.h: This.
34225 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34226 * sysdeps/x86/bits/byteswap-16.h: This.
34227 * sysdeps/i386/Implies: Add x86.
34228 * sysdeps/x86_64/Implies: Likewise.
34230 2012-05-30 David S. Miller <davem@davemloft.net>
34232 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34233 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34234 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34235 (FP_TRAPPING_EXCEPTIONS): Define.
34236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34237 (FP_TRAPPING_EXCEPTIONS): Define.
34238 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34239 subnormals only when inexact has been signalled or underflow
34240 exceptions are enabled.
34241 (_FP_PACK_CANONICAL): Likewise.
34243 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34247 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34249 2012-05-30 Richard Henderson <rth@twiddle.net>
34251 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34252 with #ifndef NOT_IN_libc.
34254 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34255 marked to avoid plt entry.
34257 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34260 * Makeconfig (default-abi): New macro.
34261 (abi-includes): Likewise.
34262 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34263 $(abi-$(default-abi)-lib-soname) for soname if defined.
34264 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34266 * Makefile (installed-stubs): Likewise.
34267 * include/stubs-biarch.h: Removed.
34268 * scripts/lib-names.awk: Only handle one library at a time.
34269 * scripts/soversions.awk: Remove WORDSIZE support.
34270 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34272 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34274 (syscall-list-default-condition): Likewise.
34275 (syscall-list-default-condition): Likewise.
34276 (syscall-list-includes): Likewise.
34277 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34278 syscall-list-* with abi-*. Handle undefined abi-variants.
34279 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34280 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34281 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34282 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34283 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34284 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34286 (syscall-list-32-options): Likewise.
34287 (syscall-list-32-condition): Likewise.
34288 (syscall-list-64-options): Likewise.
34289 (syscall-list-64-condition): Likewise.
34290 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34292 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34295 (abi-64-ld-soname): New macro.
34296 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34297 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34300 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34301 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34303 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34305 * sysdeps/unix/sysv/linux/kernel-features.h
34306 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34307 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34308 include <kernel-features.h>.
34309 [!__NR_ftruncate64]: Remove conditional code.
34310 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34311 [__NR_ftruncate64]: Make code unconditional.
34312 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34313 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34314 include <kernel-features.h>.
34315 [!__NR_ftruncate64]: Remove conditional code.
34316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34317 [__NR_ftruncate64]: Make code unconditional.
34318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34320 include <kernel-features.h>.
34321 [!__NR_ftruncate64]: Remove conditional code.
34322 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34323 [__NR_ftruncate64]: Make code unconditional.
34324 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34326 include <kernel-features.h>.
34327 [!__NR_ftruncate64]: Remove conditional code.
34328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34329 [__NR_ftruncate64]: Make code unconditional.
34330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34332 * configure.in (libc_cv_fpie): Weaken to a compile test using
34333 LIBC_TRY_CC_OPTION.
34334 * configure: Regenerated.
34336 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34351 2012-05-27 David S. Miller <davem@davemloft.net>
34353 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34355 (__Q_simulate_exceptions): Return void. Change to simulate
34356 exceptions by writing into the %fsr.
34357 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34358 (__Qp_handle_exceptions): Likewise.
34360 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34361 __Qp_handle_exceptions.
34362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34363 __Qp_handle_exceptions.
34364 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34365 as unused and give dummy FP_RND_NEAREST initializer.
34366 (FP_INHIBIT_RESULTS): Define.
34367 (___Q_simulate_exceptions): Update declaration.
34368 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34371 as unused and give dummy FP_RND_NEAREST initializer.
34372 (__Qp_handle_exceptions): Update declaration.
34373 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34376 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34378 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34379 the temporary FPU control word.
34380 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34381 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34382 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34383 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34384 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34385 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34386 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34387 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34388 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34389 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34390 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34392 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34394 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34397 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34399 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34400 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34401 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34402 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34404 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34405 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34408 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34410 * po/h.po: Update from translation team.
34412 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34414 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34416 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34417 handling of denormals.
34418 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34419 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34420 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34421 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34427 2012-05-26 Marek Polacek <polacek@redhat.com>
34430 * math/libm-test.inc (fma_test): Don't always expect underflow
34433 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34436 * elf/tst-execstack.c: Include stackinfo.h.
34437 (do_test): Adjust test case to ensure that pthread_getattr_np
34438 behaviour remains the same after marking stack executable.
34440 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34442 * sysdeps/unix/sysv/linux/kernel-features.h
34443 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34444 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34446 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34447 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34448 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34450 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34451 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34453 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34455 * configure.in: Define the default includes to being none.
34456 * configure: Regenerated.
34458 2012-05-25 Roland McGrath <roland@hack.frob.com>
34460 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34461 * sysdeps/x86_64/setjmp.S: Likewise.
34462 * sysdeps/i386/bsd-setjmp.S: Likewise.
34463 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34464 * sysdeps/i386/setjmp.S: Likewise.
34465 * sysdeps/i386/__longjmp.S: Likewise.
34466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34467 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34469 * include/stap-probe.h: New file.
34470 * configure.in: Handle --enable-systemtap.
34471 * configure: Regenerated.
34472 * config.h.in (USE_STAP_PROBE): New #undef.
34473 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34474 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34475 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34477 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34481 to 2.4.0 where earlier.
34482 * sysdeps/unix/sysv/linux/configure: Regenerated.
34483 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34484 <kernel-features.h>.
34485 [__ASSUME_32BITUIDS]: Make code unconditional.
34486 [!__ASSUME_32BITUIDS]: Remove conditional code.
34487 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34488 <kernel-features.h>.
34489 [__ASSUME_32BITUIDS]: Make code unconditional.
34490 [!__ASSUME_32BITUIDS]: Remove conditional code.
34491 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34492 [__ASSUME_32BITUIDS]: Make code unconditional.
34493 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34494 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34495 <kernel-features.h>.
34496 [__ASSUME_32BITUIDS]: Make code unconditional.
34497 [!__ASSUME_32BITUIDS]: Remove conditional code.
34498 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34499 <kernel-features.h>.
34500 [__ASSUME_32BITUIDS]: Make code unconditional.
34501 [!__ASSUME_32BITUIDS]: Remove conditional code.
34502 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34503 <kernel-features.h>.
34504 [__ASSUME_32BITUIDS]: Make code unconditional.
34505 [!__ASSUME_32BITUIDS]: Remove conditional code.
34506 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34507 <kernel-features.h>.
34508 [__ASSUME_32BITUIDS]: Make code unconditional.
34509 [!__ASSUME_32BITUIDS]: Remove conditional code.
34510 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34511 <kernel-features.h>.
34512 [__ASSUME_32BITUIDS]: Make code unconditional.
34513 [!__ASSUME_32BITUIDS]: Remove conditional code.
34514 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34515 <kernel-features.h>.
34516 [__ASSUME_32BITUIDS]: Make code unconditional.
34517 [!__ASSUME_32BITUIDS]: Remove conditional code.
34518 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34519 <kernel-features.h>.
34520 [__ASSUME_32BITUIDS]: Make code unconditional.
34521 [!__ASSUME_32BITUIDS]: Remove conditional code.
34522 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34523 <kernel-features.h>.
34524 [__ASSUME_32BITUIDS]: Make code unconditional.
34525 [!__ASSUME_32BITUIDS]: Remove conditional code.
34526 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34527 <kernel-features.h>.
34528 [__ASSUME_32BITUIDS]: Make code unconditional.
34529 [!__ASSUME_32BITUIDS]: Remove conditional code.
34530 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34531 <kernel-features.h>.
34532 [__ASSUME_32BITUIDS]: Make code unconditional.
34533 [!__ASSUME_32BITUIDS]: Remove conditional code.
34534 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34535 <kernel-features.h>.
34536 [__NR_setresgid] (__setresgid): Do not declare.
34537 [__ASSUME_32BITUIDS]: Make code unconditional.
34538 [!__ASSUME_32BITUIDS]: Remove conditional code.
34539 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34540 <kernel-features.h>.
34541 [__NR_setresuid] (__setresuid): Do not declare.
34542 [__ASSUME_32BITUIDS]: Make code unconditional.
34543 [!__ASSUME_32BITUIDS]: Remove conditional code.
34544 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34545 <kernel-features.h>.
34546 [__ASSUME_32BITUIDS]: Make code unconditional.
34547 [!__ASSUME_32BITUIDS]: Remove conditional code.
34548 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34549 <kernel-features.h>.
34550 [__ASSUME_32BITUIDS]: Make code unconditional.
34551 [!__ASSUME_32BITUIDS]: Remove conditional code.
34552 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34553 <kernel-features.h>.
34554 [__ASSUME_32BITUIDS]: Make code unconditional.
34555 [!__ASSUME_32BITUIDS]: Remove conditional code.
34556 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34557 <kernel-features.h>.
34558 [__ASSUME_32BITUIDS]: Make code unconditional.
34559 [!__ASSUME_32BITUIDS]: Remove conditional code.
34560 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34561 <kernel-features.h>.
34562 [__ASSUME_32BITUIDS]: Make code unconditional.
34563 [!__ASSUME_32BITUIDS]: Remove conditional code.
34564 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34565 <kernel-features.h>.
34566 [__ASSUME_32BITUIDS]: Make code unconditional.
34567 [!__ASSUME_32BITUIDS]: Remove conditional code.
34568 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34569 <kernel-features.h>.
34570 [__ASSUME_32BITUIDS]: Make code unconditional.
34571 [!__ASSUME_32BITUIDS]: Remove conditional code.
34572 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34573 <kernel-features.h>.
34574 [__ASSUME_32BITUIDS]: Make code unconditional.
34575 [!__ASSUME_32BITUIDS]: Remove conditional code.
34576 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34577 <kernel-features.h>.
34578 [__ASSUME_32BITUIDS]: Make code unconditional.
34579 [!__ASSUME_32BITUIDS]: Remove conditional code.
34580 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34581 <kernel-features.h>.
34582 [__ASSUME_32BITUIDS]: Make code unconditional.
34583 [!__ASSUME_32BITUIDS]: Remove conditional code.
34584 * sysdeps/unix/sysv/linux/kernel-features.h
34585 (__ASSUME_SETRESUID_SYSCALL): Remove.
34586 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34587 (__ASSUME_32BITUIDS): Likewise.
34588 (__ASSUME_LDT_WORKS): Likewise.
34589 (__ASSUME_O_DIRECTORY): Likewise.
34590 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34591 architecture but not kernel version.
34592 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34593 (__ASSUME_MMAP2_SYSCALL): Likewise.
34594 (__ASSUME_STAT64_SYSCALL): Likewise.
34595 (__ASSUME_IPC64): Likewise.
34596 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34597 <kernel-features.h>.
34598 [__ASSUME_32BITUIDS]: Make code unconditional.
34599 [!__ASSUME_32BITUIDS]: Remove conditional code.
34600 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34601 <kernel-features.h>.
34602 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34603 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34604 132096]: Remove conditional code.
34605 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34606 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34607 <kernel-features.h>.
34608 [__ASSUME_32BITUIDS]: Make code unconditional.
34609 [!__ASSUME_32BITUIDS]: Remove conditional code.
34610 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34611 <kernel-features.h>.
34612 [__ASSUME_32BITUIDS]: Make code unconditional.
34613 [!__ASSUME_32BITUIDS]: Remove conditional code.
34614 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34615 <kernel-features.h>.
34616 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34618 (__setresgid): Do not declare.
34619 [__ASSUME_32BITUIDS]: Make code unconditional.
34620 [!__ASSUME_32BITUIDS]: Remove conditional code.
34621 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34622 <kernel-features.h>.
34623 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34625 (__setresuid): Do not declare.
34626 [__ASSUME_32BITUIDS]: Make code unconditional.
34627 [!__ASSUME_32BITUIDS]: Remove conditional code.
34628 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34629 <kernel-features.h>.
34630 [__ASSUME_32BITUIDS]: Make code unconditional.
34631 [!__ASSUME_32BITUIDS]: Remove conditional code.
34632 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34633 <kernel-features.h>.
34634 [__ASSUME_32BITUIDS]: Make code unconditional.
34635 [!__ASSUME_32BITUIDS]: Remove conditional code.
34637 2012-05-25 Richard Henderson <rth@twiddle.net>
34639 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34640 dl_hwcap to ifunc resolver.
34641 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34643 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34644 dl_hwcap to ifunc resolver.
34645 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34647 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34650 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34651 for |x| <= 2**-26, not 2**-57.
34652 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34655 2012-05-24 Jeff Law <law@redhat.com>
34657 * stdio-common/Makefile (tests): Add bug25.
34658 * stdio-common/bug25.c: New test.
34660 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34663 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34664 multiple of MALLOC_ALIGNMENT in size.
34665 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34667 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34669 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34671 (FILENAME_MAX): Use macro-int-constant.
34672 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34673 (_IOFBF): Use macro-int-constant.
34674 (_IOLBF): Likewise.
34675 (_IONBF): Likewise.
34676 (SEEK_CUR): Likewise.
34677 (SEEK_END): Likewise.
34678 (SEEK_SET): Likewise.
34679 (TMP_MAX): Likewise.
34680 (EOF): Use macro-int-constant. Require < 0.
34681 (NULL): Use macro-constant. Require == 0.
34682 (stdin): Require type to be FILE *.
34683 (stdout): Likewise.
34684 (stderr): Likewise.
34685 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34686 macro-int-constant.
34687 (EXIT_SUCCESS): Likewise.
34688 (NULL): Use macro-constant. Require == 0.
34689 (RAND_MAX): Use macro-int-constant.
34690 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34691 [C99-based standards] (strtof): Require function.
34692 [C99-based standards] (strtold): Likewise.
34693 [C99-based standards] (strtoll): Likewise.
34694 [C99-based standards] (strtoull): Likewise.
34695 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34696 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34697 [ISO || ISO99 || ISO11] (math.h): Likewise.
34698 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34699 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34702 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34705 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34706 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34707 * intl/dgettext.c (DCGETTEXT): Likewise.
34708 * intl/gettext.c (DCGETTEXT): Likewise.
34709 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34710 * posix/regex_internal.h (gettext): Likewise.
34711 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34712 Remove declaration.
34713 * include/argz.h (__argz_count_internal)
34714 (__argz_stringify_internal): Remove declaration.
34715 (__argz_count, __argz_stringify): Declare hidden proto.
34716 * intl/dcgettext.c: Remove use of INTDEF.
34717 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34718 * string/argz-stringify.c: Likewise.
34719 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34720 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34721 Declare hidden proto.
34722 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34723 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34724 Declare hidden proto.
34725 * include/stdio.h (__asprintf_internal): Don't declare.
34726 (__asprintf): Don't define as macro. Declare hidden proto.
34727 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34728 (__fsetlocking): Declare hidden proto.
34729 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34730 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34732 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34733 (_IO_setlinebuf): Remove use of INTUSE.
34734 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34735 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34736 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34737 Remove declaration.
34738 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34739 (_IO_do_flush): Remove use of INTUSE.
34740 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34741 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34742 (_IO_adjust_column, _IO_least_wmarker)
34743 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34744 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34745 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34746 (_IO_default_doallocate, _IO_wdefault_doallocate)
34747 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34748 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34749 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34750 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34751 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34752 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34753 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34754 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34755 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34756 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34757 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34758 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34759 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34761 (_IO_flush_all_internal, _IO_adjust_column_internal)
34762 (_IO_default_uflow_internal, _IO_default_finish_internal)
34763 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34764 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34765 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34766 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34767 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34768 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34769 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34770 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34771 (_IO_file_close_internal, _IO_file_close_it_internal)
34772 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34773 (_IO_file_init_internal, _IO_file_attach_internal)
34774 (_IO_file_fopen_internal, _IO_file_read_internal)
34775 (_IO_file_sync_internal, _IO_file_seek_internal)
34776 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34777 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34778 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34779 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34780 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34781 (_IO_list_all_internal, _IO_link_in_internal)
34782 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34783 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34784 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34785 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34786 (_IO_do_write_internal, _IO_padn_internal)
34787 (_IO_getline_info_internal, _IO_getline_internal)
34788 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34789 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34790 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34791 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34792 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34793 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34794 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34795 with libc_hidden_ver, remove use of INTUSE.
34796 * libio/genops.c: Likewise.
34797 * libio/freopen.c: Likewise.
34798 * libio/freopen64.c: Likewise.
34799 * libio/iofclose.c: Likewise.
34800 * libio/iofdopen.c: Likewise.
34801 * libio/iofflush.c: Likewise.
34802 * libio/iofflush_u.c: Likewise.
34803 * libio/iofgets.c: Likewise.
34804 * libio/iofgets_u.c: Likewise.
34805 * libio/iofopen.c: Likewise.
34806 * libio/iofopncook.c: Likewise.
34807 * libio/iofread.c: Likewise.
34808 * libio/iofread_u.c: Likewise.
34809 * libio/ioftell.c: Likewise.
34810 * libio/iofwrite.c: Likewise.
34811 * libio/iogetline.c: Likewise.
34812 * libio/iogets.c: Likewise.
34813 * libio/iogetwline.c: Likewise.
34814 * libio/iopadn.c: Likewise.
34815 * libio/iopopen.c: Likewise.
34816 * libio/ioseekoff.c: Likewise.
34817 * libio/ioseekpos.c: Likewise.
34818 * libio/iosetbuffer.c: Likewise.
34819 * libio/iosetvbuf.c: Likewise.
34820 * libio/ioungetc.c: Likewise.
34821 * libio/ioungetwc.c: Likewise.
34822 * libio/iovdprintf.c: Likewise.
34823 * libio/iovsprintf.c: Likewise.
34824 * libio/iovsscanf.c: Likewise.
34825 * libio/memstream.c: Likewise.
34826 * libio/obprintf.c: Likewise.
34827 * libio/oldfileops.c: Likewise.
34828 * libio/oldiofclose.c: Likewise.
34829 * libio/oldiofdopen.c: Likewise.
34830 * libio/oldiofopen.c: Likewise.
34831 * libio/oldiopopen.c: Likewise.
34832 * libio/oldstdfiles.c: Likewise.
34833 * libio/putc.c: Likewise.
34834 * libio/setbuf.c: Likewise.
34835 * libio/setlinebuf.c: Likewise.
34836 * libio/stdfiles.c: Likewise.
34837 * libio/strops.c: Likewise.
34838 * libio/vasprintf.c: Likewise.
34839 * libio/vscanf.c: Likewise.
34840 * libio/vsnprintf.c: Likewise.
34841 * libio/vswprintf.c: Likewise.
34842 * libio/wfiledoalloc.c: Likewise.
34843 * libio/wfileops.c: Likewise.
34844 * libio/wgenops.c: Likewise.
34845 * libio/wmemstream.c: Likewise.
34846 * libio/wstrops.c: Likewise.
34847 * libio/__fpurge.c: Likewise.
34848 * libio/__fsetlocking.c: Likewise.
34849 * assert/assert.c: Likewise.
34850 * debug/fgets_chk.c: Likewise.
34851 * debug/fgets_u_chk.c: Likewise.
34852 * debug/fread_chk.c: Likewise.
34853 * debug/fread_u_chk.c: Likewise.
34854 * debug/gets_chk.c: Likewise.
34855 * debug/obprintf_chk.c: Likewise.
34856 * debug/vasprintf_chk.c: Likewise.
34857 * debug/vdprintf_chk.c: Likewise.
34858 * debug/vsnprintf_chk.c: Likewise.
34859 * debug/vsprintf_chk.c: Likewise.
34860 * malloc/mtrace.c: Likewise.
34861 * misc/error.c: Likewise.
34862 * misc/syslog.c: Likewise.
34863 * stdio-common/asprintf.c: Likewise.
34864 * stdio-common/fxprintf.c: Likewise.
34865 * stdio-common/getw.c: Likewise.
34866 * stdio-common/isoc99_fscanf.c: Likewise.
34867 * stdio-common/isoc99_scanf.c: Likewise.
34868 * stdio-common/isoc99_vfscanf.c: Likewise.
34869 * stdio-common/isoc99_vscanf.c: Likewise.
34870 * stdio-common/isoc99_vsscanf.c: Likewise.
34871 * stdio-common/printf-prs.c: Likewise.
34872 * stdio-common/printf_fp.c: Likewise.
34873 * stdio-common/printf_fphex.c: Likewise.
34874 * stdio-common/printf_size.c: Likewise.
34875 * stdio-common/putw.c: Likewise.
34876 * stdio-common/scanf.c: Likewise.
34877 * stdio-common/sprintf.c: Likewise.
34878 * stdio-common/tmpfile.c: Likewise.
34879 * stdio-common/vfprintf.c: Likewise.
34880 * stdio-common/vfscanf.c: Likewise.
34881 * stdlib/strfmon_l.c: Likewise.
34882 * sunrpc/openchild.c: Likewise.
34883 * sunrpc/xdr_stdio.c: Likewise.
34884 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34885 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34887 2012-05-24 Roland McGrath <roland@hack.frob.com>
34889 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34891 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34892 in the third column, to generate for the shared library an IFUNC
34893 that uses _dl_vdso_vsym.
34894 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34895 * Makeconfig (object-suffixes-noshared): New variable.
34897 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34898 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34899 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34900 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34903 * include/sys/time.h (__gettimeofday): Remove macro.
34904 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34905 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34907 (__gettimeofday): Add libc_hidden_def.
34908 (gettimeofday): Add libc_hidden_weak.
34909 * sysdeps/mach/gettimeofday.c: Likewise.
34910 * sysdeps/posix/gettimeofday.c: Likewise.
34911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34912 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34914 (__gettimeofday_internal): Remove strong_alias.
34915 (__gettimeofday): Add libc_hidden_def.
34916 (gettimeofday): Add libc_hidden_weak.
34917 * sysdeps/unix/syscalls.list (gettimeofday):
34918 Remove __gettimeofday_internal alias.
34920 2012-05-24 Daniel Jacobowitz <drow@false.org>
34921 H.J. Lu <hongjiu.lu@intel.com>
34924 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34925 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34926 (largebin_index_32_big): New.
34927 (largebin_index): Use it for 16-byte alignment.
34928 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34929 correction with front_misalign.
34931 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34959 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34960 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34962 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34966 * math/libm-test.inc (exp_test): Add test from bug 14036.
34967 (pow_test): Add test from bug 10846.
34969 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34971 (special_function): Do not include flags in test name.
34972 (parse_args): Likewise.
34973 * sysdeps/i386/fpu/libm-test-ulps: Update.
34974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34975 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34976 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34979 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34981 * math/libm-test.inc ("Philosophy"): Update comment about
34983 (UNDERFLOW_EXCEPTION): New macro.
34984 (UNDERFLOW_EXCEPTION_OK): Likewise.
34985 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34986 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34987 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34988 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34989 (INVALID_EXCEPTION_OK): Update value.
34990 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34991 (OVERFLOW_EXCEPTION_OK): Likewise.
34992 (IGNORE_ZERO_INF_SIGN): Likewise.
34993 (test_exceptions): Handle underflow exceptions.
34994 (acos_test): Update for underflow exception expectations.
34995 (cexp_test): Likewise.
34996 (clog_test): Likewise.
34997 (clog10_test): Likewise.
34998 (csqrt_test): Likewise.
34999 (ctan_test): Likewise.
35000 (ctanh_test): Likewise.
35001 (exp_test): Likewise.
35002 (exp10_test): Likewise.
35003 (exp2_test): Likewise.
35004 (expm1_test): Likewise.
35005 (fma_test): Likewise.
35006 (j0_test): Likewise.
35007 (jn_test): Likewise.
35008 (nexttoward_test): Likewise.
35009 (pow_test): Likewise.
35010 (scalbn_test): Likewise.
35011 (scalbln_test): Likewise.
35012 (tan_test): Likewise.
35013 (y1_test): Likewise.
35014 * sysdeps/i386/fpu/libm-test-ulps: Update.
35015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35017 2012-05-23 David S. Miller <davem@davemloft.net>
35019 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35020 (__libc_sigaction): Remove unused local variables.
35022 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35024 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35026 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35028 mktime: avoid signed integer overflow
35029 * time/mktime.c (__mktime_internal): Do not mishandle the case
35030 where diff == INT_MIN.
35032 mktime: simplify computation of average
35033 * time/mktime.c (ranged_convert): Use new time_t_avg function
35034 instead of rolling our own (probably-slower) code.
35036 mktime: do not assume signed right shift propagates sign bit
35037 * time/mktime.c (isdst_differ): New static function.
35038 (__mktime_internal): No need to normalize tm_isdst now.
35039 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35042 mktime: merge another wrapv change from gnulib
35043 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35044 from some compilers.
35046 mktime: remove incorrect attempt at unusual arithmetics
35047 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35048 The code didn't really work on such machines anyway.
35049 (TYPE_MINIMUM): Assume two's complement.
35050 (twos_complement_arithmetic): Verify that long_int and time_t
35051 are two's complement (or unsigned, in the latter case).
35053 mktime: check signed shifts on long_int and time_t, too
35054 * time/mktime.c (SHR): Check that shifts work as desired
35055 on the types long_int and time_t too, as SHR is used on
35058 mktime: do not assume 'long' is wide enough
35059 * time/mktime.c (verify): Move decl up.
35060 (long_int): New type.
35061 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35062 to remove assumption in the code that 'long' is wide enough to
35063 store year values. This assumption is not true on x32 and on
35064 some non-glibc platforms.
35066 mktime: merge wrapv change from gnulib
35067 * time/mktime.c (WRAPV): New macro.
35068 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35069 (guess_time_tm, __mktime_internal): Do not assume that signed
35070 integer overflow wraps around; modern compilers generate code
35071 where this assumption is no longer valid.
35073 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35075 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35076 Replace "jmp L(pseudo_end)" with "ret".
35077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35080 2012-05-23 Andreas Jaeger <aj@suse.de>
35082 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35083 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35085 2012-05-23 Andreas Jaeger <aj@suse.de>
35086 Maximilian Attems <max@stro.at>
35088 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35091 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35093 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35094 code so that pseudo_end is just ret and the stack pointer is
35095 correct also for static library in error case.
35097 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35099 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35100 move to syscalls.list.
35101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35106 * manual/install.texi (Running make install): Do not mention Linux
35107 kernel version for which pt_chown is not needed.
35108 (Linux): Do not mention problems with nscd with 2.0 kernels.
35109 * INSTALL: Regenerated.
35111 2012-05-23 Andreas Jaeger <aj@suse.de>
35113 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35114 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35116 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35118 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35120 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35121 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35123 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35124 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35125 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35126 * sysdeps/unix/sysv/linux/bits/in.h
35127 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35129 2012-05-22 Roland McGrath <roland@hack.frob.com>
35131 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35132 (PREPARE_VERSION): Just use assert instead, it will be elided
35133 under [NDEBUG] anyway.
35135 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35137 * sysdeps/unix/sysv/linux/Makefile: Include
35138 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35139 (sysdep_routines): Remove sysctl.
35140 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35141 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35142 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35143 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35144 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35146 2012-05-22 Andreas Jaeger <aj@suse.de>
35148 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35149 that pseudo_end is just ret and the stack pointer is correct also
35150 for static library in error case.
35152 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35155 * nss/nsswitch.c (defconfig_entries): New variable.
35156 (__nss_database_lookup): Don't leak defconfig entries.
35157 (nss_parse_service_list): Don't leak on error paths.
35158 (free_database_entries): New function.
35159 (free_defconfig): New function.
35160 (free_mem): Move common code to free_database_entries.
35162 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35164 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35166 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35168 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35169 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35172 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35173 (INTERNAL_SYSCALL_TYPES): Likewise.
35174 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35175 (LOAD_REGS_TYPES_[1-6]): Likewise.
35176 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35177 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35179 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35181 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35182 copysignl for GLIBC_2_0.
35183 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35184 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35186 logbl for GLIBC_2_0.
35187 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35188 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35190 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35193 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35195 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35198 * time/mktime.c: Update copyright years.
35200 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35202 mktime: merge comment-quoting-style change from gnulib
35203 * time/mktime.c: Quote 'like this' in comments.
35204 The GNU coding standards suggest that we no longer quote `like this',
35205 as "`" and "'" are typically rendered asymmetrically nowadays.
35206 The typical gnulib style is to quote 'like this' when quoting
35207 code, and "like this" when quoting English.
35209 * time/mktime.c (compile-command): Add "-I.".
35211 mktime: merge mktime-internal.h change from gnulib
35212 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35214 mktime: merge time_r change from gnulib
35215 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35217 mktime: merge DEBUG change from gnulib
35218 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35219 case system <time.h> has a #define.
35221 mktime: merge <sys/types.h> change from gnulib
35222 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35223 since <time.t> is now guaranteed to define time_t.
35225 mktime: merge HAVE_CONFIG_H change from gnulib
35226 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35228 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35233 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35235 (struct rusage): Use anonymous union to pad each field to
35238 2012-05-21 David S. Miller <davem@davemloft.net>
35240 * Makefules (o-iterator): Remove .s cases.
35241 (compile-command.s): Delete.
35242 (COMPILE.s): Delete.
35243 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35245 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35247 * configure.in (libc_cv_predef_stack_protector): Only consider
35248 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35249 * configure: Regenerated.
35251 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35254 New macro. Use R*LP on int and pointer.
35255 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35256 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35257 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35258 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35260 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35261 [__WORDSIZE_TIME64_COMPAT32] instead of
35262 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35263 (struct utmp): Likewise.
35264 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35265 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35267 (__WORDSIZE_TIME64_COMPAT32): This.
35268 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35269 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35270 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35271 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35272 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35273 (__WORDSIZE_TIME64_COMPAT32): New macro.
35275 2012-05-21 Andreas Jaeger <aj@suse.de>
35277 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35278 only if [SHARED]. Add prototype for __wcschr_ia32.
35280 2012-05-21 Roland McGrath <roland@hack.frob.com>
35282 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35283 of %rbp unmolested in the jmp_buf while mangling the low bits.
35284 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35285 unmolested high bits of %rbp while demangling the low bits.
35286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35288 2012-05-21 Andreas Jaeger <aj@suse.de>
35290 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35291 * sunrpc/svc_simple.c: Use it for registerrpc.
35292 * sunrpc/xcrypt.c: Use it for passwd2des.
35294 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35296 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35298 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35299 Don't define if [__SYSCALL_WORDSIZE != 32].
35300 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35303 2012-05-21 Bruno Haible <bruno@clisp.org>
35304 Andreas Jaeger <aj@suse.de>
35306 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35307 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35308 inptr and inend for must_buffer_ch.
35309 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35310 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35311 * stdio-common/Makefile (tests): Remove bug15.
35312 (bug15-ENV): Remove macro.
35313 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35316 2012-05-19 Andreas Jaeger <aj@suse.de>
35317 Roland McGrath <roland@hack.frob.com>
35319 * manual/contrib.texi: Completely rewritten. It contains now an
35320 alphabetical list of contributors and their contributions.
35322 2012-05-21 Richard Henderson <rth@twiddle.net>
35324 * misc/getauxval.c (__getauxval): Use unsigned long int.
35325 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35326 (getauxval): Use unsigned long int.
35328 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35330 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35332 2012-05-21 Roland McGrath <roland@hack.frob.com>
35334 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35335 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35336 __alignof__ (long double).
35338 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35342 2012-05-20 Richard Henderson <rth@twiddle.net>
35344 * misc/getauxval.c: New file.
35345 * misc/sys/auxv.h: New file.
35346 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35347 (routines): Add getauxval.
35348 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35349 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35350 * elf/dl-sysdep.c (_dl_auxv): Remove.
35351 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35352 * elf/dl-support.c (_dl_auxv): New variable.
35353 (_dl_aux_init): Initialize it.
35354 * manual/startup.texi (Auxiliary Vector): New node.
35355 * sysdeps/generic/bits/hwcap.h: New file.
35356 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35357 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35358 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35359 * sysdeps/sparc/sysdep.h: ... here. Include it.
35360 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35367 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35373 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35377 2012-05-19 David S. Miller <davem@davemloft.net>
35379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35381 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35384 * math/s_ccosh.c: Include <float.h>
35385 (__ccosh): Avoid internal overflow calculating sinh and cosh
35386 values before multiplying by sin and cos values.
35387 * math/s_ccoshf.c: Likewise.
35388 * math/s_ccoshl.c: Likewise.
35389 * math/s_csin.c: Likewise.
35390 * math/s_csinf.c: Likewise.
35391 * math/s_csinl.c: Likewise.
35392 * math/s_csinh.c: Likewise.
35393 * math/s_csinhf.c: Likewise.
35394 * math/s_csinhl.c: Likewise.
35395 * math/libm-test.inc (ccos_test): Add more tests.
35396 (ccosh_test): Likewise.
35397 (csin_test): Likewise.
35398 (csinh_test): Likewise.
35399 * sysdeps/i386/fpu/libm-test-ulps: Update.
35400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35402 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35404 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35405 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35407 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35409 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35411 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35412 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35413 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35414 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35415 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35416 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35417 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35418 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35419 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35420 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35421 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35422 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35423 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35424 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35425 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35426 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35427 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35428 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35429 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35430 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35431 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35432 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35433 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35434 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35435 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35436 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35437 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35438 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35439 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35440 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35441 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35443 2012-05-18 Andreas Jaeger <aj@suse.de>
35445 * csu/.gitignore: Delete.
35447 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35449 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35450 (timex): Use __syscall_slong_t.
35452 2012-05-18 Andreas Jaeger <aj@suse.de>
35453 Carlos O'Donell <carlos_odonell@mentor.com>
35455 * manual/install.texi (Configuring and compiling): Update
35456 description about files modified in the source directory.
35457 * INSTALL: Regenerated.
35459 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35461 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35462 value. Use "or" to set return value to -1.
35463 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35464 negate return value.
35466 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35468 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35469 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35470 failure if the compiler has Graphite support disabled.
35471 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35473 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35474 (CFLAGS-memmove.c): Likewise.
35475 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35478 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35480 * sysdeps/x86_64/x32/_itoa.h: New file.
35482 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35483 getdents system call only if kernel and user dirents have the
35484 same d_ino and d_off.
35486 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35487 LLONG_MAX != LONG_MAX.
35488 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35489 (_fitoa_word): Likewise.
35491 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35493 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35494 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35495 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35497 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35498 include <bits/wordsize.h>. Check __x86_64__ instead of
35500 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35501 if __x86_64__ is defined. Use anonymous union on fpstate.
35503 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35506 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35508 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35509 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35510 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35511 Refer to _rtld_local_ro instead of _rtld_global_ro.
35512 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35514 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35516 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35518 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35519 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35520 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35522 * sysdeps/powerpc/powerpc32/dl-machine.c
35523 (__elf_machine_runtime_setup) [PROF]: Don't reference
35526 2012-05-18 Andreas Jaeger <aj@suse.de>
35528 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35529 function only available for GCCs before 3.4 since GCC 3.4
35530 introduced a builtin.
35532 (llrintf): Likewise.
35533 (llrint): Likewise.
35540 (nearbyint): Likewise.
35541 (nearbyintf): Likewise.
35545 (floorf): Likewise.
35547 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35549 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35550 on both fields and cast pointer to __syscall_ulong_t.
35552 * bits/types.h (__fsword_t): New type.
35553 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35554 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35556 (__FSWORD_T_TYPE): Likewise.
35557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35558 (__FSWORD_T_TYPE): Likewise.
35559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35560 (__FSWORD_T_TYPE): Likewise.
35561 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35562 (__FSWORD_T_TYPE): Likewise.
35563 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35564 __SWORD_TYPE with __fsword_t.
35565 (statfs64): Likewise.
35567 2012-05-17 David S. Miller <davem@davemloft.net>
35569 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35571 2012-05-17 Andreas Jaeger <aj@suse.de>
35573 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35576 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35578 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35580 2012-05-17 Andreas Jaeger <aj@suse.de>
35582 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35585 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35587 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35589 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35591 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35592 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35594 2012-05-17 Andreas Jaeger <aj@suse.de>
35595 Carlos O'Donell <carlos_odonell@mentor.com>
35598 * sysdeps/x86_64/multiarch/init-arch.h
35599 (bit_YMM_Usable): Rename to...
35600 (bit_AVX_Usable): ... this.
35601 (bit_FMA4_Usable): New macro.
35602 (bit_XMM_state): New macro.
35603 (bit_YMM_state): New macro.
35604 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35605 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35606 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35607 (CPUID_OSXSAVE): New macro.
35608 (CPUID_AVX): New macro.
35609 (CPUID_FMA4): New macro.
35610 (index_YMM_Usable): Rename to...
35611 (index_AVX_Usable): ... this.
35612 (HAS_AVX): Use HAS_ARCH_FEATURE.
35613 (HAS_FMA4): Likewise.
35614 (HAS_YMM_USABLE): Remove.
35615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35616 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35618 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35619 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35620 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35621 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35622 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35624 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35626 * math/libm-test.c: Support platforms without multiple rounding modes.
35627 * math/bug-nextafter.c: Support platforms without FP exceptions.
35628 * math/bug-nexttoward.c: Likewise.
35629 * math/test-fenv.c: Likewise.
35630 * math/test-misc.c: Likewise.
35631 * stdlib/bug-getcontext.c: Likewise.
35633 2012-05-17 Andreas Jaeger <aj@suse.de>
35635 * manual/examples/search.c (critter_cmp): Change signature to
35637 * manual/string.texi (Collation Functions): Likewise.
35639 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35641 * bits/types.h: Fold copyright years.
35642 * bits/typesizes.h: Likewise.
35643 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35647 * time/time.h: Likewise.
35649 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35652 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35653 in instead of returning them. Return void.
35654 (__libc_mallinfo): Accumulate over all arenas.
35655 (__malloc_stats): Adjust for change in int_mallinfo interface.
35657 2012-05-16 Roland McGrath <roland@hack.frob.com>
35660 * configure.in (NM): Add AC_CHECK_TOOL for it.
35661 (libc_extra_cflags): New substituted variable.
35662 Check for -fstack-protector being used implicitly.
35663 * configure: Regenerated.
35664 * config.make.in (config-extra-cflags): New variable,
35665 gets @libc_extra_cflags@.
35666 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35669 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35670 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35671 * configure: Regenerated.
35672 * config.make.in (CPPUNDEFS): New substituted variable.
35673 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35674 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35675 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35679 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35680 (mq_attr): Use __syscall_slong_t.
35682 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35684 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35685 Check __x86_64__ instead of __WORDSIZE.
35686 (_STAT_VER_LINUX): Likewise.
35687 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35688 __syscall_ulong_t and __syscall_slong_t.
35689 (stat64): Likewise.
35691 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35693 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35695 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35697 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35699 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35701 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35704 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35705 include <bits/wordsize.h>. Check __x86_64__ instead of
35707 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35709 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35712 include <bits/wordsize.h>. Check __x86_64__ instead of
35714 (user_regs_struct): Use "__extension__ unsigned long long"
35715 instead of "unsigned long" if __x86_64__ is defined.
35716 (user): Likewise. Pad after pointer field if __ILP32__ is
35719 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35721 * configure.in (makeinfo): Require version 4.5 or later. Allow
35723 * configure: Regenerated.
35724 * manual/install.texi (texinfo): Increase version requirement to
35726 * INSTALL: Regenerated.
35728 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35732 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35734 * sysdeps/x86_64/x32/ffs.c: New file.
35736 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35738 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35739 defined. Use __syscall_ulong_t.
35740 (shminfo): Use __syscall_ulong_t.
35741 (shm_info): Likewise.
35743 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35746 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35748 (msgqnum_t): Use __syscall_ulong_t.
35749 (msglen_t): Likewise.
35750 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35753 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35754 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35756 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35758 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35759 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35761 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35764 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35765 include <bits/wordsize.h>. Check __x86_64__ instead of
35768 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35769 "unsigned long long int" if __x86_64__ is defined.
35770 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35773 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35774 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35776 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35778 (GET_PC): Cast to uintptr_t first.
35779 (GET_FRAME): Likewise.
35780 (GET_STACK): Likewise.
35782 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35783 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35784 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35785 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35786 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35787 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35788 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35789 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35790 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35791 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35792 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35793 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35794 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35795 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35796 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35797 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35798 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35799 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35800 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35801 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35802 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35803 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35804 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35805 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35806 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35807 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35808 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35809 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35810 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35812 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35814 * Makerules (+depfiles): Also collect depfiles from .oS in
35816 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35817 .oS, $(libnldbl-routines)).
35819 * Makerules (native-compile-mkdep-flags): Define.
35820 * sunrpc/Makefile (extra-objs): Add $(addprefix
35821 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35822 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35823 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35824 calling $(make-target-directory).
35826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35828 * bits/types.h (__snseconds_t): Removed.
35829 * time/time.h (struct timespec): Replace __snseconds_t with
35831 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35832 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35835 (__SNSECONDS_T_TYPE): Likewise.
35836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35837 (__SNSECONDS_T_TYPE): Likewise.
35838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35839 (__SNSECONDS_T_TYPE): Likewise.
35841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35843 * sysdeps/mach/hurd/bits/typesizes.h
35844 (__SYSCALL_SLONG_TYPE): New macro.
35845 (__SYSCALL_ULONG_TYPE): Likewise.
35847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35849 * bits/types.h (__syscall_slong_t): New type.
35850 (__syscall_ulong_t): Likewise.
35852 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35853 (__SYSCALL_ULONG_TYPE): Likewise.
35854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35855 (__SYSCALL_SLONG_TYPE): Likewise.
35856 (__SYSCALL_ULONG_TYPE): Likewise.
35857 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35858 (__SYSCALL_SLONG_TYPE): Likewise.
35859 (__SYSCALL_ULONG_TYPE): Likewise.
35860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35861 (__SYSCALL_SLONG_TYPE): Likewise.
35862 (__SYSCALL_ULONG_TYPE): Likewise.
35864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35866 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35867 Add sigaltstack-offsets.sym.
35868 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35869 <sigaltstack-offsets.h>.
35870 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35871 longjmp_msg pointer.
35872 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35873 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35875 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35877 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35879 * elf/stackguard-macros.h: Remove file.
35880 * sysdeps/generic/stackguard-macros.h: New file.
35881 * sysdeps/i386/stackguard-macros.h: Likewise.
35882 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35883 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35884 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35885 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35886 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35887 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35888 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35889 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35890 <elf/stackguard-macros.h>.
35893 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35894 __aligned__ in attribute.
35895 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35896 (gregset_t): Likewise.
35898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35900 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35901 * sysdeps/x86_64/64/Implies-after: Here. New file.
35902 * sysdeps/x86_64/x32/Implies-after: New file.
35904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35906 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35907 and access return value for _dl_profile_fixup. Use R10_LP to
35910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35912 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35916 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35917 * sysdeps/x86_64/x32/sysdep.h: New file.
35919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35921 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35922 * sysdeps/x86_64/setjmp.S: Likewise.
35924 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35926 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35927 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35928 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35929 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35930 remove unused global constant.
35932 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35934 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35935 include of <not-cancel.h>.
35937 2012-05-15 Roland McGrath <roland@hack.frob.com>
35939 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35941 2012-05-15 Jeff Law <law@redhat.com>
35942 Andreas Jaeger <aj@suse.de>
35945 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35947 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35948 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35949 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35950 code changing __hst_map_handle.map.
35952 2012-05-15 Roland McGrath <roland@hack.frob.com>
35954 * configure.in (sysnames): Look for Implies-before and Implies-after
35956 * configure: Regenerated.
35958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35960 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35961 8-byte data alignment with LP_SIZE alignment.
35963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35965 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35970 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35974 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35975 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35976 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35978 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35982 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35983 (stackinfo_sub_sp): Likewise.
35985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35992 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36002 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36006 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36007 into R11_LP and load __x86_64_shared_cache_size_half into
36010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36012 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36015 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36024 powerpc32/power7/fpu/s_logb.c via #include.
36025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36026 powerpc32/power7/fpu/s_logbf.c via #include.
36027 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36028 powerpc32/power7/fpu/s_logbl.c via #include.
36030 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36032 * README.libm: Remove file.
36034 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36036 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36037 count for x32. Use R*_LP and omit operand-size suffix.
36039 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36041 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36042 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36043 * sysdeps/x86_64/x32/shlib-versions: New file.
36045 2012-05-14 Roland McGrath <roland@hack.frob.com>
36047 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36048 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36049 Use _dl_fatal_printf instead.
36051 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36053 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36054 set if not set by the user. Do not allow for being unset.
36055 * sysdeps/unix/sysv/linux/configure: Regenerated.
36057 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36059 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36060 the `q' suffix from lea and replace .quad with ASM_ADDR.
36062 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36065 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36067 (PTR_DEMANGLE): Likewise.
36069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36071 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36073 (ASM_ADDR): Likewise.
36074 (RAX_LP): Likewise.
36075 (RBP_LP): Likewise.
36076 (RBX_LP): Likewise.
36077 (RCX_LP): Likewise.
36078 (RDI_LP): Likewise.
36079 (RSI_LP): Likewise.
36080 (RSP_LP): Likewise.
36083 (R10_LP): Likewise.
36084 (R10_LP): Likewise.
36085 (R11_LP): Likewise.
36086 (R12_LP): Likewise.
36087 (R13_LP): Likewise.
36088 (R14_LP): Likewise.
36089 (R15_LP): Likewise.
36091 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36093 * sysdeps/x86_64/x32/dl-machine.h: New file.
36095 2012-05-14 Andreas Jaeger <aj@suse.de>
36097 * manual/Makefile (subdir): Remove export of subdir.
36098 (all): Remove target.
36099 (.PHONY): Remove all from list.
36100 (mkinstalldirs): Remove.
36101 (.PHONY): Remove installdirs from list.
36102 ($(inst_infodir)/libc.info): Use make-target-directory.
36103 (installdirs): Remove.
36104 (subdir_%): Remove.
36105 (glibc-targets): Remove.
36108 ($(objpfx)stubs ../po/manual.pot): Remove.
36109 ($(objpfx)stamp%): Remove.
36110 (make-target-directory): Remove.
36111 (subdir_install): Remove.
36112 (routines): Remove.
36119 * manual/.gitignore: Remove, it's not needed anymore.
36120 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36122 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36124 (texis): Renamed to $(objpfx)texis.
36125 (texis-path): New, contains path to generated files.
36126 (chapters.%): Use texis-path for complete path, add extra argument
36128 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36129 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36130 (summary,texi, stamp-summary): Use complete path of
36131 files. Generate files in build dir.
36132 (dir-add.texi): Build in build dir.
36133 (libm-err.texi,stamp-libm-err): Likewise.
36134 (version.texi, stamp-version): Likewise.
36135 (.%c.texi): Likewise.
36136 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36137 (mostlyclean): Remove target.
36138 (realclean): Remove target.
36139 (generated): Add new variable with contents from mostlyclean and
36140 realclean, remove entries duplicated in common-mostlyclean, add
36141 stamp-libm-err and stamp-version.
36142 (generated-dirs): Add libc directory.
36143 ($(inst_infodir)/libc.info): Install files from build dir.
36145 * manual/install.texi (Configuring and compiling): Adjust since
36146 the info files are not part of the tar ball anymore.
36148 2012-05-14 Andreas Jaeger <aj@suse.de>
36150 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36153 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36156 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36157 to 2.2.0 where earlier.
36158 * sysdeps/unix/sysv/linux/configure: Regenerated.
36159 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36160 Remove conditional code.
36161 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36162 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36163 Remove conditional code.
36164 [!__NR_lchown]: Likewise.
36165 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36166 [__NR_lchown]: Likewise.
36167 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36168 comment referencing __ASSUME_LCHOWN_SYSCALL.
36169 * sysdeps/unix/sysv/linux/i386/sigaction.c
36170 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36171 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36172 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36173 Remove conditional code.
36174 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36175 (__protocol_available): Remove #if 0 code.
36176 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36178 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36179 * sysdeps/unix/sysv/linux/kernel-features.h
36180 (__ASSUME_GETCWD_SYSCALL): Don't define.
36181 (__ASSUME_REALTIME_SIGNALS): Likewise.
36182 (__ASSUME_PREAD_SYSCALL): Likewise.
36183 (__ASSUME_PWRITE_SYSCALL): Likewise.
36184 (__ASSUME_POLL_SYSCALL): Likewise.
36185 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36186 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36188 (__ASSUME_SIOCGIFNAME): Don't define.
36189 (__ASSUME_MSG_NOSIGNAL): Likewise.
36190 (__ASSUME_SENDFILE): Define unconditionally.
36191 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36192 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36194 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36195 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36196 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36197 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36198 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36199 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36200 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36202 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36205 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36208 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36214 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36225 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36226 Remove conditional code.
36227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36228 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36229 Remove conditional code.
36230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36231 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36232 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36233 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36234 Remove conditional code.
36235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36236 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36237 Remove conditional code.
36238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36239 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36240 Remove conditional code.
36241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36242 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36243 Remove conditional code.
36244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36245 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36246 Remove conditional code.
36247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36248 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36251 * sysdeps/unix/sysv/linux/sigaction.c
36252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36254 * sysdeps/unix/sysv/linux/sigpending.c
36255 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36256 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36257 * sysdeps/unix/sysv/linux/sigprocmask.c
36258 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36259 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36260 * sysdeps/unix/sysv/linux/sigsuspend.c
36261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36263 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36264 (__libc_missing_rt_sigs): Remove.
36265 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36266 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36267 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36268 Remove conditional code.
36269 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36270 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36272 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36273 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36274 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36275 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36277 2012-05-14 Andreas Jaeger <aj@suse.de>
36279 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36280 it's not used in glibc.
36281 (__coshm1): Likewise.
36282 (__acosh1p): Likewise.
36285 * manual/string.texi (Copying and Concatenation): Add missing
36286 variable in concat example.
36287 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36289 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36292 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36293 __builtin_clzl with __builtin_clzll.
36295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36298 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36301 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36303 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36304 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36305 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36306 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36308 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36310 * NEWS: Update ia64 info.
36312 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36314 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36317 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36319 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36320 * sysdeps/unix/syscalls.list (dup3): Likewise.
36321 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36322 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36324 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36326 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36327 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36329 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36331 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36333 (TLS_IE): Use mov/add instead of movq/addq to load thread
36335 (TLS_GD_PREFIX): New.
36338 2012-05-11 David S. Miller <davem@davemloft.net>
36340 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36341 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36342 (_FPU_SETCW): Likewise.
36344 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36346 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36347 is 32-byte aligned.
36349 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36352 * iconvdata/gb18030.c: Update tables.
36353 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36354 characters specially.
36355 (BODY for TO_LOOP): Add encoding of missing ranges.
36357 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36360 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36361 * sysdeps/mach/hurd/dup3.c: Likewise.
36362 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36363 * sysdeps/powerpc/memmove.c:: Likewise.
36365 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36368 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36370 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36372 * elf/elf.h (R_X86_64_RELATIVE64): New.
36373 (R_X86_64_NUM): Updated.
36374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36375 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36376 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36377 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36378 tst-quad1pie tst-quad2pie
36379 (modules-names): Add tst-quadmod1 tst-quadmod2.
36380 ($(objpfx)tst-quad1): New dependency.
36381 ($(objpfx)tst-quad2): Likewise.
36382 ($(objpfx)tst-quad1pie): Likewise.
36383 ($(objpfx)tst-quad2pie): Likewise.
36384 * sysdeps/x86_64/tst-quad1.c: New file.
36385 * sysdeps/x86_64/tst-quad1pie.c: New file.
36386 * sysdeps/x86_64/tst-quad2.c: Likewise.
36387 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36388 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36389 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36390 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36391 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36393 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36395 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36396 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36397 * streams/stropts.h (t_scalar_t): Define type.
36399 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36400 (_PATH_PRESERVE): Set to "/var/lib".
36401 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36403 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36406 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36407 if __dir_mkfile succeeded.
36409 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36410 checking for _hurd_dtablesize. Unlock it right after having
36411 finished _hurd_dtable allocation.
36413 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36415 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36416 * sysdeps/mach/hurd/configure: Regenerated.
36417 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36418 special-casing to...
36419 * sysdeps/gnu/configure.in: ... this new file.
36420 * sysdeps/unix/sysv/linux/configure: Regenerated.
36421 * sysdeps/gnu/configure: New generated file.
36423 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36424 for Linux: use nsec instead of usec, as well as:
36425 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36426 members of type struct timespec.
36427 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36429 (struct stat64): Likewise.
36430 (_STATBUF_ST_NSEC): New macro.
36431 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36433 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36434 __strtoul_internal rather than strtoul.
36436 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36438 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36441 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36443 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36444 which preserves existing values.
36445 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36447 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36449 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36450 TIMEOUT values. Return EINVAL for NFDS values either negative or
36451 greater than FD_SETSIZE.
36453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36455 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36456 allocated, call __vm_protect to finish enabling the existing space, and
36457 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36458 allocate the remainder.
36460 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36462 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36463 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36467 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36468 sysdeps/mach/hurd/readlink.c.
36470 * posix/tst-sysconf.c (posix_options): Only use
36471 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36472 _POSIX_SYNCHRONIZED_IO when they are defined
36473 * sysdeps/mach/hurd/bits/posix_opt.h:
36474 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36475 (_XOPEN_REALTIME): Undefine macro.
36476 (_XOPEN_REALTIME_THREADS): Undefine macro.
36477 (_XOPEN_SHM): Undefine macro.
36478 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36480 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36482 (_POSIX_ASYNC_IO): Undefine macro.
36483 (_POSIX_PRIORITIZED_IO): Undefine macro.
36484 (_POSIX_SPIN_LOCKS): Define macro to -1.
36486 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36487 SA_NODEFER, SA_RESETHAND.
36488 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36489 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36494 * elf/Makefile (pldd-modules): Define unconditionally.
36496 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36498 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36500 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36502 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36503 Return ENOENT when name is empty.
36504 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36506 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36508 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36510 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36514 Fix mlock in all cases except non-readable pages.
36515 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36516 instead of VM_PROT_ALL as parameter to __vm_wire function.
36518 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36519 (__mkdir): When path is `/', just fail with EEXIST.
36520 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36524 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36525 <sys/uio.h> (for writev).
36526 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36527 and <sys/param.h> (for MIN).
36529 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36531 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36532 REQUESTED_TIME. Properly set the remaining time and return EINTR
36535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36537 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36538 Depend on against $(link-rpcuserlibs).
36540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36542 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36543 (__libc_stack_end): Do not use attribute_relro.
36544 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36545 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36546 to libthread-provided value.
36547 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36550 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36553 * bits/libc-lock.h (__libc_once_get): New macro.
36554 * sysdeps/mach/bits/libc-lock.h: Likewise.
36555 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36557 instead of using implementation details.
36559 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36560 * libio/freopen.c: Likewise.
36561 * libio/freopen64.c: Likewise.
36562 * misc/syslog.c: Likewise.
36563 * nscd/connections.c: Likewise.
36564 * nscd/netgroupcache.c: Likewise.
36565 * sysdeps/posix/getcwd.c: Likewise.
36567 2012-05-10 Roland McGrath <roland@hack.frob.com>
36569 * math/w_ilogbf.c: Add #include <limits.h>.
36571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36573 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36574 path instead of returning without unlocking.
36576 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36577 immediate-write ioctls.
36578 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36582 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36583 __builtin_frame_address instead of making assumptions about the
36584 location of the return address relative to DATA. Force early load of
36585 the return address.
36586 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36587 __builtin_frame_address.
36590 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36591 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36592 implement dup3 and do some further code clean-ups.
36593 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36594 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36598 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36600 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36601 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36602 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36603 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36604 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36607 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36608 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36609 when handler == SIG_ERR, not when handler != SIG_ERR.
36611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36613 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36614 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36617 accept4 for GNU Hurd.
36618 * include/sys/socket.h (__libc_accept4): New prototype.
36619 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36620 to implement __libc_accept4.
36621 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36623 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36625 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36626 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36627 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36628 signal-defines.sym.
36630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36632 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36634 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36636 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36637 assertion on O_CLOEXEC flag.
36638 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36639 * hurd/intern-fd.c: Likewise.
36640 * hurd/port2fd.c: Likewise.
36642 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36645 * bits/in.h (IPV6_PKTINFO): Define new macro.
36646 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36648 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36653 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36655 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36656 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36658 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36659 * math/libm-test.inc (logb_test) : Additional logb tests.
36661 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36662 Andreas Jaeger <aj@suse.de>
36664 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36665 * configure: Regenerated.
36666 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36667 * config.make.in (link-obsolete-rpc): New substituted variable.
36668 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36669 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36670 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36671 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36672 so that libc.a contains the symbols.
36673 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36674 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36675 * sunrpc/auth_none.c: Likewise.
36676 * sunrpc/auth_unix.c: Likewise.
36677 * sunrpc/authdes_prot.c: Likewise.
36678 * sunrpc/authuxprot.c: Likewise.
36679 * sunrpc/clnt_gen.c: Likewise.
36680 * sunrpc/clnt_perr.c: Likewise.
36681 * sunrpc/clnt_raw.c: Likewise.
36682 * sunrpc/clnt_simp.c: Likewise.
36683 * sunrpc/clnt_tcp.c: Likewise.
36684 * sunrpc/clnt_udp.c: Likewise.
36685 * sunrpc/clnt_unix.c: Likewise.
36686 * sunrpc/des_crypt.c: Likewise.
36687 * sunrpc/des_soft.c: Likewise.
36688 * sunrpc/get_myaddr.c: Likewise.
36689 * sunrpc/key_call.c: Likewise.
36690 * sunrpc/key_prot.c: Likewise.
36691 * sunrpc/netname.c: Likewise.
36692 * sunrpc/pm_getmaps.c: Likewise.
36693 * sunrpc/pm_getport.c: Likewise.
36694 * sunrpc/pmap_clnt.c: Likewise.
36695 * sunrpc/pmap_prot.c: Likewise.
36696 * sunrpc/pmap_prot2.c: Likewise.
36697 * sunrpc/pmap_rmt.c: Likewise.
36698 * sunrpc/publickey.c: Likewise.
36699 * sunrpc/rpc_cmsg.c: Likewise.
36700 * sunrpc/rpc_common.c: Likewise.
36701 * sunrpc/rpc_dtable.c: Likewise.
36702 * sunrpc/rpc_prot.c: Likewise.
36703 * sunrpc/rpc_thread.c: Likewise.
36704 * sunrpc/rtime.c: Likewise.
36705 * sunrpc/svc.c: Likewise.
36706 * sunrpc/svc_auth.c: Likewise.
36707 * sunrpc/svc_raw.c: Likewise.
36708 * sunrpc/svc_run.c: Likewise.
36709 * sunrpc/svc_tcp.c: Likewise.
36710 * sunrpc/svc_udp.c: Likewise.
36711 * sunrpc/svc_unix.c: Likewise.
36712 * sunrpc/svcauth_des.c: Likewise.
36713 * sunrpc/xcrypt.c: Likewise.
36714 * sunrpc/xdr.c: Likewise.
36715 * sunrpc/xdr_array.c: Likewise.
36716 * sunrpc/xdr_float.c: Likewise.
36717 * sunrpc/xdr_intXX_t.c: Likewise.
36718 * sunrpc/xdr_mem.c: Likewise.
36719 * sunrpc/xdr_rec.c: Likewise.
36720 * sunrpc/xdr_ref.c: Likewise.
36721 * sunrpc/xdr_sizeof.c: Likewise.
36722 * sunrpc/xdr_stdio.c: Likewise.
36724 2012-05-10 Roland McGrath <roland@hack.frob.com>
36726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36727 change. Update copyright years.
36729 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36731 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36733 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36734 Joseph Myers <joseph@codesourcery.com>
36735 Paul Pluzhnikov <ppluzhnikov@google.com>
36738 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36740 [cross-compiling] (extra-libs): Likewise.
36741 [cross-compiling] (extra-libs-others): Likewise.
36742 [cross-compiling] (librpcsvc-routines): Likewise.
36743 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36744 [cross-compiling] (omit-deps): Likewise.
36745 (sunrpc-CPPFLAGS): New variable.
36746 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36747 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36748 (cross-rpcgen-objs): New variable.
36749 (extra-objs): Append $(cross-rpcgen-objs).
36750 ($(cross-rpcgen-objs)): New rule.
36751 ($(objpfx)cross-rpcgen): Likewise.
36752 (rpcgen-cmd): Define to use $(built-program-file). Expand
36754 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36755 ($(objpfx)x%.stmp): Likewise.
36756 * sunrpc/proto.h [IS_IN_build] (_): Define.
36757 [IS_IN_build] (_libc_intl_domainname): Likewise.
36759 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36762 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36763 and R_X86_64_TPOFF64.
36765 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36767 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36768 sysdeps/unix/sysv/syscalls.list.
36771 * sysdeps/unix/sysv/syscalls.list: Remove file.
36773 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36776 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36777 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36778 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36779 (__LC_IDENTIFICATION): Make these macros useful in #if
36780 expressions, as required by C99.
36782 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36784 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36785 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36788 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36790 * stdlib/longlong.h: Updated from GCC.
36792 2012-05-09 Andreas Jaeger <aj@suse.de>
36794 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36795 default is first entry.
36796 (run_mode): Set type.
36797 (main): Remove informal message about syslog.
36798 (options): Fix typo.
36801 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36804 (llrintf): Likewise.
36805 (llrint): Likewise.
36808 (nearbyint): Likewise.
36809 (nearbyintf): Likewise.
36811 2012-05-09 Andreas Jaeger <aj@suse.de>
36812 Pedro Alves <palves@redhat.com>
36814 * nscd/nscd.c (run_mode): Use enum.
36815 (main): Cleanup coding style issue.
36817 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36818 Andreas Jaeger <aj@suse.de>
36820 * nscd/nscd.c (go_background): Replaced with...
36821 (run_mode): ... this.
36822 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36823 (options): Add -F --foreground.
36824 (main): Implement it.
36825 (parse_opt): Parse it.
36827 2012-05-09 Andreas Jaeger <aj@suse.de>
36830 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36831 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36832 -Wconversion warning.
36833 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36836 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36838 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36840 (LC_ALL): Use macro-int-constant.
36841 (LC_COLLATE): Likewise.
36842 (LC_CTYPE): Likewise.
36843 (LC_MESSAGES): Likewise.
36844 (LC_MONETARY): Likewise.
36845 (LC_NUMERIC): Likewise.
36846 (LC_TIME): Likewise.
36847 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36848 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36850 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36852 [C99-based standards] (float_t): Expect type.
36853 [C99-based standards] (double_t): Expect type.
36854 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36856 [C99-based standards] (HUGE_VALL): Likewise.
36857 [C99-based standards] (INFINITY): Likewise.
36858 [C99-based standards] (NAN): Likewise.
36859 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36860 [C99-based standards] (FP_NAN): Likewise.
36861 [C99-based standards] (FP_NORMAL): Likewise.
36862 [C99-based standards] (FP_SUBNORMAL): Likewise.
36863 [C99-based standards] (FP_ZERO): Likewise.
36864 [C99-based standards] (FP_FAST_FMA): Use
36865 optional-macro-int-constant. Specify type. Require == 1.
36866 [C99-based standards] (FP_FAST_FMAF): Likewise.
36867 [C99-based standards] (FP_FAST_FMAL): Likewise.
36868 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36869 [C99-based standards] (FP_ILOGBNAN): Likewise.
36870 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36872 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36873 [C99-based standards] (math_errhandling): Specify type.
36874 [ISO99 || ISO11] (signgam): Do not allow.
36875 [non-C99-based standards] (copysignf): Do not allow.
36876 [non-C99-based standards] (exp2f): Likewise.
36877 [non-C99-based standards] (log2f): Likewise.
36878 [non-C99-based standards] (modff): Allow.
36879 [non-C99-based standards] (erff): Do not allow.
36880 [non-C99-based standards] (erfcf): Likewise.
36881 [non-C99-based standards] (gammaf): Likewise.
36882 [non-C99-based standards] (hypotf): Likewise.
36883 [non-C99-based standards] (j0f): Likewise.
36884 [non-C99-based standards] (j1f): Likewise.
36885 [non-C99-based standards] (jnf): Likewise.
36886 [non-C99-based standards] (lgammaf): Likewise.
36887 [non-C99-based standards] (tgammaf): Likewise.
36888 [non-C99-based standards] (y0f): Likewise.
36889 [non-C99-based standards] (y1f): Likewise.
36890 [non-C99-based standards] (ynf): Likewise.
36891 [non-C99-based standards] (isnanf): Likewise.
36892 [non-C99-based standards] (acoshf): Likewise.
36893 [non-C99-based standards] (asinhf): Likewise.
36894 [non-C99-based standards] (atanhf): Likewise.
36895 [non-C99-based standards] (cbrtf): Likewise.
36896 [non-C99-based standards] (expm1f): Likewise.
36897 [non-C99-based standards] (ilogbf): Likewise.
36898 [non-C99-based standards] (log1pf): Likewise.
36899 [non-C99-based standards] (logbf): Likewise.
36900 [non-C99-based standards] (nextafterf): Likewise.
36901 [non-C99-based standards] (remainderf): Likewise.
36902 [non-C99-based standards] (rintf): Likewise.
36903 [non-C99-based standards] (scalbf): Likewise.
36904 [non-C99-based standards] (copysignl): Likewise.
36905 [non-C99-based standards] (exp2l): Likewise.
36906 [non-C99-based standards] (log2l): Likewise.
36907 [non-C99-based standards] (modfl): Allow.
36908 [non-C99-based standards] (erfl): Do not allow.
36909 [non-C99-based standards] (erfcl): Likewise.
36910 [non-C99-based standards] (gammal): Likewise.
36911 [non-C99-based standards] (hypotl): Likewise.
36912 [non-C99-based standards] (j0l): Likewise.
36913 [non-C99-based standards] (j1l): Likewise.
36914 [non-C99-based standards] (jnl): Likewise.
36915 [non-C99-based standards] (lgammal): Likewise.
36916 [non-C99-based standards] (tgammal): Likewise.
36917 [non-C99-based standards] (y0l): Likewise.
36918 [non-C99-based standards] (y1l): Likewise.
36919 [non-C99-based standards] (ynl): Likewise.
36920 [non-C99-based standards] (isnanl): Likewise.
36921 [non-C99-based standards] (acoshl): Likewise.
36922 [non-C99-based standards] (asinhl): Likewise.
36923 [non-C99-based standards] (atanhl): Likewise.
36924 [non-C99-based standards] (cbrtl): Likewise.
36925 [non-C99-based standards] (expm1l): Likewise.
36926 [non-C99-based standards] (ilogbl): Likewise.
36927 [non-C99-based standards] (log1pl): Likewise.
36928 [non-C99-based standards] (logbl): Likewise.
36929 [non-C99-based standards] (nextafterl): Likewise.
36930 [non-C99-based standards] (remainderl): Likewise.
36931 [non-C99-based standards] (rintl): Likewise.
36932 [non-C99-based standards] (scalbl): Likewise.
36933 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36934 [non-C99-based standards] (FP_*): Do not allow.
36935 [C99-based standards] (FP_*): Change to
36936 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36937 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36939 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36940 (SIG_ERR): Likewise.
36941 [X/Open-based standards] (SIG_HOLD): Likewise.
36942 (SIG_IGN): Likewise.
36943 (SIGABRT): Use macro-int-constant. Specify type. Require
36945 (SIGFPE): Likewise.
36946 (SIGILL): Likewise.
36947 (SIGINT): Likewise.
36948 (SIGSEGV): Likewise.
36949 (SIGTER): Likewise.
36950 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36951 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36952 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36953 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36954 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36955 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36956 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36957 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36958 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36959 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36960 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36961 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36962 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36963 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36964 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36965 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36966 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36967 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36968 [X/Open-based standards] (SIGTRAP): Likewise.
36969 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36970 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36971 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36972 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36973 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36976 2012-05-08 Ian Wienand <ianw@vmware.com>
36979 * time/tzset.c (__tzset_parse_tz): Update default rules for
36980 daylight time changes in the Energy Policy Act of 2005.
36982 2012-05-09 Andreas Jaeger <aj@suse.de>
36985 * elf/ldconfig.c (parse_conf): Change string to make clear that
36986 ldconfig only issued a warning if ld.so.conf does not exist.
36988 2012-05-08 David S. Miller <davem@davemloft.net>
36990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36991 movxtod instead of popping the value on the stack.
36993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36995 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36997 * config.h.in: Add HAVE_ARM_PCS_VFP.
36999 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37002 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37003 checking but the checks are disabled for any reason.
37005 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37007 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37008 and ELF64_R_TYPE with ELFW(R_TYPE).
37010 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37012 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37013 (ulimit): Likewise.
37015 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37016 (settimeofday): Likewise.
37018 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37020 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37021 a struct th_u2 inside the union, and move tu_block/tu_code into
37022 a new th_u3 union of tu_block/tu_code inside of that. Move
37023 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37024 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37025 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37026 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37027 (th_stuff): Change to th_u1.tu_stuff.
37029 (th_msg): Change to th_u1.th_u2.tu_data.
37031 2012-05-07 David S. Miller <davem@davemloft.net>
37033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37036 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37037 (SETUP_PIC_REG): Use it.
37038 (SETUP_PIC_REG_LEAF): Use it.
37040 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37044 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37046 (EXPL_FINITE): Likewise.
37047 (FLDLOG): Likewise.
37048 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37049 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37051 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37053 (EXPL_FINITE): Likewise.
37054 (FLDLOG): Likewise.
37055 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37056 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37058 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37059 test of -max_value argument for long double.
37060 * sysdeps/i386/fpu/libm-test-ulps: Update.
37061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37063 2012-05-06 David S. Miller <davem@davemloft.net>
37065 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37066 quad soft-float symbols whose references which are compiler
37068 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37070 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37074 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37076 (EXPL_FINITE): Likewise.
37077 (FLDLOG): Likewise.
37080 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37081 Adjust comments for base varying.
37082 (__expl_finite): Change alias to EXPL_FINITE.
37083 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37085 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37086 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37088 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37089 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37091 (EXPL_FINITE): Likewise.
37092 (FLDLOG): Likewise.
37095 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37096 Adjust comments for base varying.
37097 (__expl_finite): Change alias to EXPL_FINITE.
37098 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37103 * math/libm-test.inc (check_float_internal): Correct ulp
37104 calculation for subnormal expected results.
37106 2012-05-06 Andreas Jaeger <aj@suse.de>
37108 * Makeconfig (+math-flags): New, set to -frounding-math.
37109 (+cflags): Add +math-flags so that all of glibc gets compiled with
37112 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37114 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37116 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37122 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37123 (__ieee754_expl): Allow for and saturate large arguments.
37124 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37125 (u_threshold): Likewise.
37126 (__exp): Call __ieee754_exp before checking for overflow and
37128 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37129 (u_threshold): Likewise.
37130 (__expf): Call __ieee754_expf before checking for overflow and
37132 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37133 (u_threshold): Likewise.
37134 (__expl): Call __ieee754_expl before checking for overflow and
37136 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37137 (__ieee754_expl): Allow for and saturate large arguments.
37138 * math/libm-test.inc (exp_test): Add another test. Do not allow
37139 missing overflow exception on overflow.
37140 (expm1_test): Do not allow missing overflow exception on overflow.
37142 * sysdeps/i386/fpu/e_expl.c: Move to ...
37143 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37144 rather than using inline asm.
37145 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37146 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37147 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37149 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37152 (signal): Likewise.
37156 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37158 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37159 sysdeps/unix/common/syscalls.list.
37160 (fchmod): Likewise.
37161 (fchown): Likewise.
37162 (ftruncate): Likewise.
37163 (getrusage): Likewise.
37164 (gettimeofday): Likewise.
37165 (setpgid): Likewise.
37166 (setregid): Likewise.
37167 (setreuid): Likewise.
37168 (sigaction): Likewise.
37169 (truncate): Likewise.
37170 (vhangup): Likewise.
37171 * sysdeps/unix/common/syscalls.list: Remove file.
37172 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37173 * sysdeps/unix/sysv/linux/Implies: Likewise.
37175 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37177 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37179 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37183 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37186 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37189 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37192 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37195 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37198 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37201 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37205 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37209 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37212 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37216 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37220 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37222 * sysdeps/unix/common/bits/dirent.h: Remove file.
37223 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37225 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37226 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37227 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37228 * sysdeps/unix/bsd/isatty.c: Likewise.
37229 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37230 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37231 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37233 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37237 long double comparison inaccuracies.
37238 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37241 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37243 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37246 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37250 nonzero digits before rounding a hex value.
37251 * stdlib/tst-strtod.c (tests): Add another test.
37253 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37255 * sysdeps/s390/fpu/libm-test-ulps: Update.
37257 2012-05-03 Andreas Jaeger <aj@suse.de>
37259 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37260 does not get optimized out.
37261 (malloc_opt_barrier): New.
37263 2012-05-03 Andreas Jaeger <aj@suse.de>
37264 Roland McGrath <roland@hack.frob.com>
37266 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37267 intermediate file deletion.
37268 (generated): Add .symlist files.
37270 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37273 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37274 Redirect under this condition.
37275 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37276 [__USE_GNU] (__dprintf_chk): Not under this condition.
37277 [__USE_GNU] (__vdprintf_chk): Likewise.
37278 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37279 under this condition.
37280 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37281 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37282 [__USE_XOPEN2K8] (vdprintf): Likewise.
37283 [__USE_GNU] (__dprintf_chk): Not under this condition.
37284 [__USE_GNU] (__vdprintf_chk): Likewise.
37285 [__USE_GNU] (dprintf): Likewise.
37286 [__USE_GNU] (vdprintf): Likewise.
37288 2012-05-03 Roland McGrath <roland@hack.frob.com>
37290 * elf/Makefile (common-generated): Set this instead of generated for
37291 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37292 $(all-built-dso)-derived lists.
37294 2012-05-03 Andreas Jaeger <aj@suse.de>
37296 * sysdeps/i386/fpu/libm-test-ulps: Update.
37299 * FAQ.in: Likewise.
37300 * scripts/gen-FAQ.pl: Likewise.
37301 * manual/install.texi (Installation): Point to online location of
37303 * Makefile (files-for-dist): Remove FAQ.
37306 2012-05-02 Allan McRae <allan@archlinux.org>
37308 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37309 (LDFLAGS-reldepmod5.so): Likewise.
37310 (LDFLAGS-reldep6mod1.so): Likewise.
37311 (LDFLAGS-reldep6mod4.so): Likewise.
37312 (LDFLAGS-reldep8mod3.so): Likewise.
37313 (LDFLAGS-unload4mod1.so): Likewise.
37314 (LDFLAGS-unload4mod2.so): Likewise.
37315 (LDFLAGS-tst-initorder): Likewise.
37316 (LDFLAGS-tst-initordera2.so): Likewise.
37317 (LDFLAGS-tst-initordera3.so): Likewise.
37318 (LDFLAGS-tst-initordera4.so): Likewise.
37319 (LDFLAGS-tst-initorderb2.so): Likewise.
37320 (LDFLAGS-noload): Likewise.
37321 (LDFLAGS-next): Likewise.
37322 (LDFLAGS-order2mod1.so): Likewise.
37323 (LDFLAGS-order2mod2.so): Likewise.
37324 (LDFLAGS-tst-initorder2): Likewise.
37325 (LDFLAGS-tst-initorder2a.so): Likewise.
37326 (LDFLAGS-tst-initorder2b.so): Likewise.
37327 (LDFLAGS-tst-initorder2c.so): Likewise.
37328 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37330 2012-05-02 David S. Miller <davem@davemloft.net>
37332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37334 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37337 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37339 2012-05-02 Andreas Jaeger <aj@suse.de>
37341 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37342 since we manipulate rounding mode.
37343 (CPPFLAGS-test-idouble.c): Likewise.
37344 (CPPFLAGS-test-ifloat.c): Likewise.
37345 (CFLAGS-test-ldouble.c): Likewise.
37346 (CFLAGS-test-double.c): Likewise.
37347 (CFLAGS-test-float.c): Likewise.
37348 (CFLAGS-test-misc.c): Likewise.
37349 (CFLAGS-test-test-fenv.c): Likewise.
37351 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37356 comparisons to determine direction to adjust input.
37358 2012-05-01 Roland McGrath <roland@hack.frob.com>
37360 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37361 output to the target.
37363 * scripts/localplt.awk: New file.
37364 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37365 (check-localplt-CFLAGS): Variable removed.
37366 ($(all-built-dso:=.jmprel)): New static pattern rule.
37367 (generated): Add those targets.
37368 (localplt-built-dso): New variable.
37369 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37371 * elf/check-localplt.c: File removed.
37373 * scripts/check-execstack.awk: New file.
37374 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37375 (check-execstack-CFLAGS): Variable removed.
37376 ($(objpfx)check-execstack.h): Target removed.
37377 ($(objpfx)execstack-default): New target.
37378 (generated): Add that instead of check-execstack.h.
37379 ($(all-built-dso:=.phdr)): New static pattern rule.
37380 (generated): Add those targets.
37381 * elf/check-execstack.c: File removed.
37383 * scripts/check-textrel.awk: New file.
37384 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37385 (check-textrel-CFLAGS): Variable removed.
37386 (all-built-dso): Use := to define.o
37387 ($(all-built-dso:=.dyn)): New static pattern rule.
37388 (generated): Add those targets.
37389 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37390 * config.make.in (READELF): New substituted variable.
37391 * elf/check-textrel.c: File removed.
37393 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37395 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37397 * conform/data/ctype.h-data [C99-based standards] (isblank):
37399 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37400 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37402 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37403 Specify type. Require positive value.
37404 (EILSEQ): Likewise.
37405 (ERANGE): Likewise.
37406 [ISO || POSIX] (EILSEQ): Do not expect.
37407 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37408 Specify type. Require positive value.
37409 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37410 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37411 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37412 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37413 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37414 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37415 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37416 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37417 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37418 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37419 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37420 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37421 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37422 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37423 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37424 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37425 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37426 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37427 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37428 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37429 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37430 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37431 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37432 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37433 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37434 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37435 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37436 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37437 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37438 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37439 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37440 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37441 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37442 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37443 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37444 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37445 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37446 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37447 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37448 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37449 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37450 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37451 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37452 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37453 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37454 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37455 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37456 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37457 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37458 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37459 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37460 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37461 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37462 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37463 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37464 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37465 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37466 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37467 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37468 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37469 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37470 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37471 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37472 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37473 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37474 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37475 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37476 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37477 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37478 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37479 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37480 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37481 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37482 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37483 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37484 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37485 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37487 (FLT_ROUNDS): Expect as macro, not constant.
37488 (FLT_MANT_DIG): Use macro-int-constant.
37489 (DBL_MANT_DIG): Likewise.
37490 (LDBL_MANT_DIG): Likewise.
37491 (FLT_DIG): Likewise.
37492 (DBL_DIG): Likewise.
37493 (LDBL_DIG): Likewise.
37494 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37495 (DBL_MIN_EXP): Likewise.
37496 (LDBL_MIN_EXP): Likewise.
37497 (FLT_MAX_EXP): Use macro-int-constant.
37498 (DBL_MAX_EXP): Likewise.
37499 (LDBL_MAX_EXP): Likewise.
37500 (FLT_MAX_10_EXP): Likewise.
37501 (DBL_MAX_10_EXP): Likewise.
37502 (LDBL_MAX_10_EXP): Likewise.
37503 (FLT_MAX): Use macro-constant.
37504 (DBL_MAX): Likewise.
37505 (LDBL_MAX): Likewise.
37506 (FLT_EPSILON): Use macro-constant. Give upper bound.
37507 (DBL_EPSILON): Likewise.
37508 (LDBL_EPSILON): Likewise.
37509 (FLT_MIN): Likewise.
37510 (DBL_MIN): Likewise.
37511 (LDBL_MIN): Likewise.
37512 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37513 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37514 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37515 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37516 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37517 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37518 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37519 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37520 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37521 [ISO11] (FLT_TRUE_MIN): Likewise.
37522 [ISO11] (LDBL_TRUE_MIN): Likewise.
37523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37524 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37525 (SCHAR_MIN): Use macro-int-constant. Specify type.
37526 (SCHAR_MAX): Likewise.
37527 (UCHAR_MAX): Likewise.
37528 (CHAR_MIN): Likewise.
37529 (CHAR_MAX): Likewise.
37530 (MB_LEN_MAX): Use macro-int-constant.
37531 (SHRT_MIN): Use macro-int-constant. Specify type.
37532 (SHRT_MAX): Likewise.
37533 (USHRT_MAX): Likewise.
37534 (INT_MAX): Likewise.
37535 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37537 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37539 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37541 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37542 bound negative. Suffix upper bound with "L".
37543 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37545 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37547 [C99-based standards] (LLONG_MAX): Likewise.
37548 [C99-based standards] (ULLONG_MAX): Likewise.
37549 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37551 [ISO11] (max_align_t): Require type.
37552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37554 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37555 from $CFLAGS, without defining away __attribute__ calls.
37556 (checknamespace): Use $CFLAGS_namespace.
37558 * conform/conformtest.pl (@keywords): Only include C99 keywords
37559 for standards based on C99 or C11.
37561 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37563 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37566 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37567 usability of symbols in #if.
37569 * conform/conformtest.pl: If macro or constant types start
37570 "promoted:", expect the symbol to be of the following type
37571 promoted by the integer promotions.
37573 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37574 in one place. Also handle "macro-constant".
37576 * conform/conformtest.pl: Only accept expected macro values with
37577 "==". Parse all "macro" lines in one place.
37578 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37580 * conform/conformtest.pl: Handle braced types on "constant" lines
37581 instead of handling "typed-constant".
37582 * conform/data/signal.h-data: Use "constant" instead of
37585 * conform/conformtest.pl: Handle "optional-" at start of lines in
37586 one place rather than duplicating several cases. Handle each
37587 format of "macro" line with initial "optional-".
37589 * conform/conformtest.pl: Only accept expected constant or
37590 optional-constant values with "==". Parse all "constant" lines in
37591 one place. Parse all "optional-constant" lines in one place.
37592 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37593 * conform/data/fmtmsg.h-data: Likewise.
37594 * conform/data/netinet/in.h-data: Likewise.
37595 * conform/data/tar.h-data: Likewise.
37596 * conform/data/limits.h-data: Use "==" form on "constant" and
37597 "optional-constant" lines.
37599 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37600 Use -std=c99 for XOPEN2K.
37601 (@knownproblems): Remove.
37602 (newtoken): Don't check %isknown.
37604 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37605 Do not expect macro.
37606 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37607 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37608 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37609 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37610 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37611 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37612 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37613 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37614 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37615 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37616 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37617 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37618 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37619 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37620 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37621 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37622 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37623 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37624 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37625 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37626 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37627 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37628 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37629 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37630 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37631 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37632 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37633 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37634 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37635 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37636 [XPG3] (acosh): Likewise.
37637 [XPG3] (asinh): Likewise.
37638 [XPG3] (atanh): Likewise.
37639 [XPG3] (cbrt): Likewise.
37640 [XPG3] (expm1): Likewise.
37641 [XPG3] (ilogb): Likewise.
37642 [XPG3] (log1p): Likewise.
37643 [XPG3] (logb): Likewise.
37644 [XPG3] (nextafter): Likewise.
37645 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37646 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37647 [XPG3] (remainder): Likewise.
37648 [XPG3] (rint): Likewise.
37649 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37650 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37651 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37652 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37653 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37654 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37655 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37656 [UNIX98 || XOPEN2K] (scalb): Expect.
37657 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37658 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37659 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37660 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37661 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37662 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37663 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37664 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37665 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37666 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37667 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37668 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37669 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37670 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37671 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37672 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37673 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37674 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37675 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37676 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37677 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37678 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37679 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37680 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37681 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37682 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37683 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37684 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37685 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37686 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37687 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37688 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37689 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37690 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37691 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37692 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37693 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37694 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37695 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37696 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37697 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37698 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37699 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37700 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37701 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37702 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37703 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37704 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37705 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37706 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37707 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37708 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37709 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37710 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37711 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37712 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37713 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37714 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37715 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37716 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37717 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37718 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37719 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37720 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37721 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37722 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37723 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37724 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37725 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37726 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37727 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37728 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37729 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37730 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37731 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37732 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37733 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37734 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37735 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37736 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37737 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37738 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37739 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37740 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37741 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37742 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37743 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37744 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37745 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37746 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37747 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37748 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37749 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37750 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37751 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37752 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37753 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37754 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37755 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37756 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37757 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37758 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37759 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37760 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37761 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37762 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37763 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37764 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37765 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37766 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37767 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37768 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37769 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37770 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37771 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37772 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37773 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37774 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37775 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37776 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37777 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37778 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37779 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37780 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37781 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37782 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37783 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37784 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37785 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37786 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37787 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37788 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37789 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37790 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37791 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37792 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37793 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37795 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37796 _XOPEN_SOURCE_EXTENDED for XPG4.
37798 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37800 * Makeconfig (localtime): Remove variable.
37801 (inst_localtime-file): Likewise.
37803 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37824 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37828 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37829 comparisons to determine direction to adjust input.
37830 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37831 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37832 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37834 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37836 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37838 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37839 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37841 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37843 * math/libm-test.inc (nexttoward_test): Add more tests.
37845 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37849 in version GLIBC_2.1, not GLIBC_2.0.
37850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37853 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37856 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37858 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37859 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37860 * math/libm-test.inc (acos_test): Add more tests.
37861 (asin_test): Likewise.
37862 * sysdeps/i386/fpu/libm-test-ulps: Update.
37863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37866 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37868 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37869 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37870 * math/libm-test.inc (acos_test_tonearest): New function.
37871 (acos_test_towardzero): Likewise.
37872 (acos_test_downward): Likewise.
37873 (acos_test_upward): Likewise.
37874 (asin_test_tonearest): Likewise.
37875 (asin_test_towardzero): Likewise.
37876 (asin_test_downward): Likewise.
37877 (asin_test_upward): Likewise.
37878 (main): Call the new functions.
37879 * sysdeps/i386/fpu/libm-test-ulps: Update.
37880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37884 * math/e_exp10.c: Include <float.h>.
37885 (__ieee754_exp10): Handle underflow here rather than multiplying
37886 large negative argument by M_LN10.
37887 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37889 * math/e_exp10l.c: Include <float.h>.
37890 (__ieee754_exp10l): Handle underflow here rather than multiplying
37891 large negative argument by M_LN10l.
37892 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37893 spurious overflow exception on underflow.
37895 2012-04-29 Marek Polacek <polacek@redhat.com>
37897 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37898 (__fortify_function): New macro.
37899 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37900 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37901 __extern_always_inline.
37902 * libio/bits/stdio2.h: Likewise.
37903 * libio/bits/stdio.h: Likewise.
37904 * string/string.h: Likewise.
37905 * string/bits/string3.h: Likewise.
37906 * include/stdio.h: Likewise.
37907 * stdlib/bits/stdlib.h: Likewise.
37908 * stdlib/stdlib.h: Likewise.
37909 * rt/bits/mqueue2.h: Likewise.
37910 * rt/mqueue.h: Likewise.
37911 * posix/bits/unistd.h: Likewise.
37912 * posix/unistd.h: Likewise.
37913 * io/bits/poll2.h: Likewise.
37914 * io/bits/fcntl2.h: Likewise.
37915 * io/fcntl.h: Likewise.
37916 * io/sys/poll.h: Likewise.
37917 * misc/bits/syslog.h: Likewise.
37918 * misc/bits/syslog-ldbl.h: Likewise.
37919 * misc/sys/syslog.h: Likewise.
37920 * socket/bits/socket2.h: Likewise.
37921 * socket/sys/socket.h: Likewise.
37922 * debug/tst-chk1.c: Likewise.
37923 * wcsmbs/bits/wchar2.h: Likewise.
37924 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37925 * wcsmbs/wchar.h: Likewise.
37927 2012-04-29 Andreas Jaeger <aj@suse.de>
37929 * Makerules (tests): Remove enable-check-abi protection.
37930 (check-abi-warn): Remove.
37931 (check-abi-%): Remove check-abi-warn usage.
37933 * configure.in: Remove check-abi configure option.
37934 * configure: Regenerated.
37935 * config.make.in (enable-check-abi): Remove.
37937 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37940 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37941 double functions to double *_finite functions.
37944 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37945 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37947 * stdio-common/Makefile (tests): Add tst-sprintf3.
37948 * stdio-common/tst-sprintf3.c: New file.
37950 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37951 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37953 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37955 * conform/conformtest.pl: Remove duplicate typed-constant
37958 2012-04-28 David S. Miller <davem@davemloft.net>
37960 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37961 (check-abi-%): Remove AWK script prerequisite and explicit
37963 (check-abi): Rewrite to just diff the symlist with the abilist.
37964 (config-tls, config-abi-config): Delete, no longer used.
37965 (update-abi-%): Remove AWK script and explicit abilist directory.
37966 (update-abi): Rewrite to simply compare and conditionally copy the
37967 symlist and the sysdep abilist file. Remove update-abi-config
37969 * abilist/ld.abilist: Remove.
37970 * abilist/libBrokenLocale.abilist: Remove.
37971 * abilist/libanl.abilist: Remove.
37972 * abilist/libcrypt.abilist: Remove.
37973 * abilist/libdl.abilist: Remove.
37974 * abilist/librt.abilist: Remove.
37975 * abilist/libthread_db.abilist: Remove.
37976 * abilist/libutil.abilist: Remove.
37977 * scripts/extract-abilist.awk: Remove.
37978 * scripts/merge-abilist.awk: Remove.
37979 * sysdeps/generic/libcidn.abilist: New file.
37980 * sysdeps/generic/libnss_compat.abilist: New file.
37981 * sysdeps/generic/libnss_db.abilist: New file.
37982 * sysdeps/generic/libnss_dns.abilist: New file.
37983 * sysdeps/generic/libnss_files.abilist: New file.
37984 * sysdeps/generic/libnss_hesiod.abilist: New file.
37985 * sysdeps/generic/libnss_nis.abilist: New file.
37986 * sysdeps/generic/libnss_nisplus.abilist: New file.
37987 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37988 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37989 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37992 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37993 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37994 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37995 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37996 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37997 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37998 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37999 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38001 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38002 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38003 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38004 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38006 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38007 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38008 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38009 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38010 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38011 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38013 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38014 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38015 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38017 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38120 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38121 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38122 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38124 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38125 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38126 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38127 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38128 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38129 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38130 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38131 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38132 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38133 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38185 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38187 * conform/conformtest.pl: Fix typo in handling typed-constant from
38190 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38192 * README: Cut down references to pre-2.6 Linux kernels and
38193 Linuxthreads. Update lists of configurations in libc and ports
38194 and sort alphabetically. Say "or newer" with Linux kernel version
38197 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38199 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38202 * math/libm-test.inc (logb_test_downward): New test to expose
38203 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38206 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38209 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38211 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38212 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38214 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38216 * sysdeps/unix/i386/brk.S: Remove file.
38217 * sysdeps/unix/i386/dl-brk.S: Likewise.
38218 * sysdeps/unix/i386/pipe.S: Likewise.
38219 * sysdeps/unix/i386/sigreturn.S: Likewise.
38220 * sysdeps/unix/i386/syscall.S: Likewise.
38221 * sysdeps/unix/i386/vfork.S: Likewise.
38222 * sysdeps/unix/i386/wait.S: Likewise.
38224 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38225 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38227 * configure.in (arm*-none*): Do not allow without
38228 --enable-hacker-mode.
38229 (netbsd*): Remove case setting base_os.
38230 (386bsd*): Likewise.
38231 (freebsd*): Likewise.
38234 (sunos*): Likewise.
38235 (ultrix*): Likewise.
38236 (newsos*): Likewise.
38237 (dynix*): Likewise.
38243 (minix*): Likewise.
38244 (irix4*): Likewise.
38245 (irix6*): Likewise.
38246 (solaris[2-9]*): Likewise.
38248 * configure: Regenerated.
38250 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38253 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38254 overflow or cancellation in calculating denominator.
38255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38257 down expression to avoid unexpected rounding in newer GCCs.
38258 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38260 2012-04-26 David S. Miller <davem@davemloft.net>
38262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38263 long-double compat symbols.
38264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38278 2012-04-25 David S. Miller <davem@davemloft.net>
38280 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38281 HWCAP_* values only after the memory barriers have been defined.
38282 (atomic_full_barrier): Define.
38283 (atomic_read_barrier): Define.
38284 (atomic_write_barrier): Define.
38286 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38288 * shlib-versions: Add libgcc_s version information.
38289 * sysdeps/generic/libgcc_s.h: Remove.
38290 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38292 * sysdeps/gnu/unwind-resume.c: Likewise.
38293 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38295 2012-04-25 David S. Miller <davem@davemloft.net>
38297 * sysdeps/unix/sparc/brk.S: Delete.
38298 * sysdeps/unix/sparc/dl-brk.S: Delete.
38299 * sysdeps/unix/sparc/pipe.S: Delete.
38300 * sysdeps/unix/sparc/sysdep.S: Delete.
38301 * sysdeps/unix/sparc/sysdep.h: Delete.
38302 * sysdeps/unix/sparc/vfork.S: Delete.
38303 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38304 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38305 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38306 (ret_ERRVAL, r0, r1, MOVE): Define.
38307 (JUMPTARGET): Remove.
38308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38309 sysdeps/unix/sparc/sysdep.h
38310 (ENTRY, END): Remove.
38311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38313 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38315 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38316 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38319 * timezone/README: Update upstream location and email address for
38321 * timezone/zdump.c: Update from tzcode 2012b.
38322 * timezone/zic.c: Likewise.
38324 * configure.in (libc_cv_as_needed): Remove test.
38325 * configure: Regenerated.
38326 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38327 conditional definition.
38328 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38329 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38330 * config.make.in (have-as-needed): Remove variable.
38332 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38333 Paul Pluzhnikov <ppluzhnikov@google.com>
38335 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38338 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38340 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38341 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38342 * sysdeps/sh/strlen.S: Likewise.
38344 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38346 * sysdeps/unix/fork.S: Remove file.
38347 * sysdeps/unix/i386/fork.S: Likewise.
38348 * sysdeps/unix/sparc/fork.S: Likewise.
38350 * sysdeps/unix/system.c: Remove file.
38351 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38353 * sysdeps/unix/getegid.S: Remove file.
38354 * sysdeps/unix/geteuid.S: Likewise.
38356 2012-04-24 Roland McGrath <roland@hack.frob.com>
38358 * scripts/check-localplt.awk: New file.
38359 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38361 * scripts/data/localplt-generic.data: Add a comment.
38363 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38364 NODE when __dir_mkfile failed.
38365 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38366 Reported by Ludovic Courtès <ludo@gnu.org>.
38368 2012-04-24 Andreas Jaeger <aj@suse.de>
38370 * Makerules (common-clean): Also remove gen-as-const-headers
38373 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38375 * Makerules (native-compile): Do not change working directory for
38376 build. Use $(OUTPUT_OPTION) in command.
38377 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38379 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38382 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38383 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38384 * math/libm-test.inc (floor_test): Add more tests.
38385 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38387 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38389 * sysdeps/unix/getdents.c: Remove file.
38390 * sysdeps/unix/sysv/getdents.c: Likewise.
38391 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38393 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38394 sysdeps/unix/mman/syscalls.list.
38396 (mprotect): Likewise.
38398 (munmap): Likewise.
38399 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38400 * sysdeps/unix/mman/syscalls.list: Remove.
38401 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38403 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38404 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38405 * configure: Regenerated.
38406 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38407 $(libgcc_s_suffix).
38408 * config.make.in (libgcc_s_suffix): Remove variable.
38410 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38412 * sysdeps/unix/sysv/gethostname.c: Move to ...
38413 * sysdeps/posix/gethostname.c: ... here.
38415 * sysdeps/unix/execve.S: Remove file.
38417 * sysdeps/unix/_exit.S: Remove file.
38419 2012-04-23 Andreas Jaeger <aj@suse.de>
38422 * manual/Makefile: Remove make dist support, there's no
38423 need for a stand-alone documentation tar ball.
38424 (TEXI2DVI): Define always, it's not in Makeconfig.
38427 (edition): Removed.
38428 (glibc-doc-$(edition).tar): Removed
38432 (ETAGS): Remove, it's in Makeconfig.
38433 (move-if-change): Remove, it's in Makeconfig.
38435 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38438 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38439 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38440 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38441 (strtod_l, strtof_l, strtold_l): Remove __wur.
38442 It is not necessarily an error to ignore strtol's return value.
38443 One can reliably look at the stored endptr to decide whether
38444 the number had valid syntax.
38446 2012-04-21 Andreas Jaeger <aj@suse.de>
38449 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38451 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38453 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38454 * sysdeps/unix/sysv/Versions: Remove file.
38456 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38461 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38464 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38465 version from __vm86.
38467 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38469 * sysdeps/unix/common/lxstat.c: Remove file.
38470 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38472 * sysdeps/unix/sysv/Makefile: Remove file.
38474 * sysdeps/unix/sysv/direct.h: Remove file.
38476 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38477 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38478 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38479 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38480 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38481 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38482 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38484 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38486 * sysdeps/unix/xmknod.c: Remove file.
38487 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38489 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38491 * sysdeps/unix/sysv/i386/time.S: Remove file.
38493 * sysdeps/unix/fxstat.c: Remove file.
38494 * sysdeps/unix/xstat.c: Likewise.
38495 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38497 * sysdeps/unix/sysv/sigaction.c: Remove file.
38499 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38500 (sysdep_headers): Remove variable.
38501 [termio.h not in sysdep_headers] (generated): Likewise.
38502 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38503 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38504 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38505 * sysdeps/unix/sysv/tcflow.c: Likewise.
38506 * sysdeps/unix/sysv/tcflush.c: Likewise.
38507 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38508 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38509 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38510 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38511 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38513 * sysdeps/unix/siglist.c: Remove file.
38515 * sysdeps/unix/getppid.S: Remove file.
38517 * sysdeps/unix/mkdir.c: Remove file.
38518 * sysdeps/unix/rmdir.c: Likewise.
38520 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38522 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38524 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38525 errlist-compat value.
38527 2012-04-18 David S. Miller <davem@davemloft.net>
38529 * sysdeps/generic/memcopy.h (reg_char): Delete.
38530 * debug/strcat_chk.c: Use char, not reg_char.
38531 * debug/strcpy_chk.c: Likewise.
38532 * debug/strncat_chk.c: Likewise.
38533 * debug/strncpy_chk.c: Likewise.
38534 * string/memchr.c: Likewise.
38535 * string/memrchr.c: Likewise.
38536 * string/rawmemchr.c: Likewise.
38537 * string/strcat.c: Likewise.
38538 * string/strchr.c: Likewise.
38539 * string/strchrnul.c: Likewise.
38540 * string/strcmp.c: Likewise.
38541 * string/strcpy.c: Likewise.
38542 * string/strncat.c: Likewise.
38543 * string/strncmp.c: Likewise.
38544 * string/strncpy.c: Likewise.
38546 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38548 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38549 __builtin_memcopy is called when src and dest ranges are known to not
38552 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38555 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38556 fwd_align_merge macro call.
38557 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38558 bwd_align_merge macro call.
38559 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38561 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38563 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38564 bwd_align_merge macros.
38565 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38566 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38567 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38569 2012-04-18 David S. Miller <davem@davemloft.net>
38571 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38573 2012-04-18 Andreas Jaeger <aj@suse.de>
38576 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38577 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38578 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38580 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38581 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38582 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38584 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38585 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38586 Adjust for changed ldbl-128 files.
38588 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38589 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38590 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38592 2012-04-17 David S. Miller <davem@davemloft.net>
38594 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38596 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38598 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38599 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38600 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38601 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38602 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38603 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38605 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38608 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38609 * math/libm-test.inc: Add ilogb errno and exception tests.
38610 * math/w_ilogb.c: New file: ilogb wrapper.
38611 * math/w_ilogbf.c: New file: ilogbf wrapper.
38612 * math/w_ilogbl.c: New file: ilogbl wrapper.
38613 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38614 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38615 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38616 exception being thrown with 0.0 as argument.
38617 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38618 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38619 exception being thrown with 0.0 as argument.
38620 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38621 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38622 exception being thrown with 0.0 as argument.
38623 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38624 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38625 exception being thrown with 0.0 as argument.
38626 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38627 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38628 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38629 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38631 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38632 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38633 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38634 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38636 2012-04-17 Petr Baudis <pasky@ucw.cz>
38638 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38641 2012-04-16 Marek Polacek <polacek@redhat.com>
38643 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38645 2012-04-16 Marek Polacek <polacek@redhat.com>
38647 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38648 operands of fdivp instruction.
38650 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38652 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38653 * elf/tst-auditmod3b.c: Likewise.
38654 * elf/tst-auditmod4b.c: Likewise.
38655 * elf/tst-auditmod5b.c: Likewise.
38656 * elf/tst-auditmod6b.c: Likewise.
38657 * elf/tst-auditmod6c.c: Likewise.
38658 * elf/tst-auditmod7b.c: Likewise.
38659 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38660 * sysdeps/x86_64/preconfigure.in: Likewise.
38661 * sysdeps/x86_64/preconfigure: Regenerated.
38663 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38665 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38668 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38671 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38673 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38676 * locale/iso-639.def: Fix gl language name. Spotted by
38679 2012-04-12 Roland McGrath <roland@hack.frob.com>
38682 * libio/libio.h (__io_write_fn): Update comment.
38684 2012-04-12 Petr Baudis <pasky@ucw.cz>
38687 * stdio.texi (Hook Functions): The user provided writer function
38688 is not allowed to return -1.
38690 2012-04-11 David S. Miller <davem@davemloft.net>
38692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38694 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38696 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38697 Add a leading slash to rtkaio.
38699 2012-04-11 Jim Meyering <meyering@redhat.com>
38702 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38703 It is not necessarily an error to ignore fwrite's return
38704 value. One can reliably use ferror to test for errors after
38707 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38709 * bits/types.h (__snseconds_t): New type.
38710 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38712 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38714 (__SNSECONDS_T_TYPE): Likewise.
38715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38716 (__SNSECONDS_T_TYPE): Likewise.
38717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38718 (__SNSECONDS_T_TYPE): Likewise.
38720 2012-04-10 Andreas Jaeger <aj@suse.de>
38723 * manual/time.texi (Processor Time): Return type of times is
38724 elapsed real time since an arbitrary point in the past.
38725 (CPU Time): Move CLK_TCK from here...
38726 (Processor Time): ...to here. Correct description.
38727 * manual/conf.texi (Constants for Sysconf): Correct description of
38730 2012-04-10 David S. Miller <davem@davemloft.net>
38733 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38734 where the is a gap between DT_REL(A) and DT_JMPREL.
38736 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38738 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38739 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38740 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38742 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38744 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38745 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38746 (dl_main): Handle --inhibit-cache.
38747 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38749 * elf/dl-load.c (_dl_map_object): Use it.
38750 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38752 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38755 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38756 (__ieee754_powl): Saturate large exponents rather than testing for
38757 overflow of y*log2(x).
38758 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38759 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38763 * math/s_ctan.c: Include <float.h>.
38764 (__ctan): Avoid internal overflow or cancellation in calculating
38766 * math/s_ctanf.c: Likewise.
38767 * math/s_ctanl.c: Likewise.
38768 * math/s_ctanh.c: Likewise.
38769 * math/s_ctanhf.c: Likewise.
38770 * math/s_ctanhl.c: Likewise.
38771 * math/libm-test.inc (ctan_test): Add more tests.
38772 (ctanh_test): Likewise.
38773 * sysdeps/i386/fpu/libm-test-ulps: Update.
38774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38776 2012-04-09 Andreas Jaeger <aj@suse.de>
38779 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38780 is an optional BSD extension.
38783 * manual/stdio.texi (Opening Streams): Document additional fopen
38786 2012-04-09 Roland McGrath <roland@hack.frob.com>
38788 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38789 %eax without telling the compiler.
38791 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38794 * manual/install.texi: Use sourceware.org.
38796 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38799 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38800 (__ieee754_pow): Generate overflow and underflow using huge*huge
38801 and tiny*tiny rather than just returning constant infinity or zero
38802 for large exponents.
38803 * math/libm-test.inc (pow_test): Require overflow exceptions for
38804 applicable cases of large exponents.
38807 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38808 (__ieee754_pow): Use iterative multiplication algorithm only for
38809 integer exponents with absolute value below 1024. Check for odd
38810 integer exponents when using algorithm for real exponents.
38811 * math/libm-test.inc (pow_test): Add more tests.
38812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38814 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38817 * math/libm-test.inc (exp_test): Do not allow overflow exception
38820 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38823 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38824 instead of __kernel_standard_f.
38826 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38828 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38829 * sysdeps/x86_64/memset_chk.S: Likewise.
38831 2012-04-08 Andreas Jaeger <aj@suse.de>
38834 * manual/startup.texi (Environment Access): Describe return value
38835 for putenv and setenv.
38838 * manual/filesys.texi (Directory Entries): Add description for
38842 * manual/filesys.texi (Directory Entries): Clarify that it's file
38843 system not operating system in the description of DT_UNKNOWN.
38846 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38848 2012-04-08 Stephen Compall <s11@member.fsf.org>
38851 * manual/llio.texi (Opening and Closing Files): Add cross
38852 reference to explain mode argument.
38854 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38856 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38857 * sysdeps/x86_64/memset_chk.S: Likewise.
38859 2012-04-07 David S. Miller <davem@davemloft.net>
38861 * elf/elf.h (R_SPARC_WDISP10): Define.
38862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38864 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38865 R_SPARC_SIZE64 and R_SPARC_H34.
38867 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38869 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38870 conditions and remove no longer applicable assertion.
38872 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38874 * bits/byteswap.h: Include <features.h>.
38875 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38876 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38878 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38880 * bits/byteswap.h (__bswap_16): Removed.
38881 Include <bits/byteswap-16.h> to get __bswap_16.
38882 * sysdeps/i386/bits/byteswap.h: Likewise.
38883 * sysdeps/s390/bits/byteswap.h: Likewise.
38884 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38885 * bits/byteswap-16.h: New file.
38886 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38887 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38888 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38889 * string/Makefile (headers): Add bits/byteswap-16.h.
38891 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38894 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38896 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38897 * nss/tst-nss-static.c: New.
38899 2012-04-06 Robert Millan <rmh@gnu.org>
38902 * manual/llio.texi (File Position Primitive): lseek
38903 refers to WHENCE when it really means OFFSET.
38905 2012-04-06 Andreas Jaeger <aj@suse.de>
38907 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38908 strncmp declarations.
38910 * abilist/libc.abilist: Add __poll and __ppoll.
38912 2012-04-05 David S. Miller <davem@davemloft.net>
38914 * scripts/check-local-headers.sh: Accept a host triplet in the
38915 path matched by the exclude regexp.
38917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38919 * sysdeps/powerpc/powerpc32/dl-machine.h
38920 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38921 * sysdeps/s390/s390-32/dl-machine.h
38922 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38923 * sysdeps/sparc/sparc32/dl-machine.h
38924 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38925 * sysdeps/sparc/sparc64/dl-machine.h
38926 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38928 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38930 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38931 undefined symbol errors.
38933 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38936 2012-04-05 Michael Matz <matz@suse.de>
38939 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38941 2012-04-05 Andreas Jaeger <aj@suse.de>
38944 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38947 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38949 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38950 which ROUND is no valid rounding mode.
38952 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38954 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38956 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38958 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38960 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38961 an exception using FPU order intentionally.
38963 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38965 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38966 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38967 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38968 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38970 2012-04-05 Simon Josefsson <simon@josefsson.org>
38973 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38974 EINVAL when BUFLEN is too smal.
38976 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38979 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38980 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38982 2012-04-03 Andreas Jaeger <aj@suse.de>
38985 * manual/setjmp.texi (System V contexts): Fix sentence.
38988 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38989 New macro for this case.
38990 [!__GNUC__] (__bswap_64): New inline function for this case.
38991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38992 * bits/byteswap.h: Likewise.
38993 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38994 ull, guard with __GLIBC_HAVE_LONG_LONG.
38996 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38997 __GLIBC_HAVE_LONG_LONG.
38999 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39000 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39002 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39005 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39006 inptr and inend, rather than using last_ch.
39008 2012-04-02 David S. Miller <davem@davemloft.net>
39010 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39011 * stdio-common/printf-parse.h (read_int): Change return type to
39012 'int', return -1 on INT_MAX overflow.
39013 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39014 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39015 overflows INT_MAX. Check for overflow of in-format-string precision
39016 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39017 SIZE_MAX not INT_MAX for integer overflow test.
39018 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39019 skip the construct in the format string but do not record anything.
39020 * stdio-common/bug22.c: Adjust to test both width/prevision
39021 INT_MAX overflow as well as total length INT_MAX overflow. Check
39022 explicitly for proper errno values.
39024 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39026 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39028 * string/test-strcmp.c [! WIDE]: Likewise.
39029 * time/tst-mktime2.c: Likewise for INT_MAX.
39030 * string/test-string.h: #include <sys/param.h> for MIN.
39032 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39033 * sysdeps/i386/init-first.c (init): Likewise.
39034 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39035 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39036 * sysdeps/sh/init-first.c (init): Likewise.
39038 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39040 * po/ru.po: Update from translation team.
39041 * po/vi.po: Likewise.
39043 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39045 * resolv/nss_dns/dns-host.c: Merge copyright years.
39047 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39049 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39050 Optimize memcpy with prefetch if
39051 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39052 src, dst pointers have unequal 16 byte alignments.
39054 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39057 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39058 from a CNAME entry and return the minimum ttl for the query.
39059 (gaih_getanswer_slice): Likewise.
39061 2012-03-30 Jeff Law <law@redhat.com>
39063 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39065 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39066 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39068 * resolv/nss_dns/dns-host.c: Update copyright year.
39070 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39072 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39073 requests to save a system call. Fix check that all bytes are sent.
39075 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39076 comments for sendmmsg.
39078 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39081 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39082 with only 1 character between 0x0041 and 0x01b0.
39083 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39084 * wcsmbs/tst-mbsnrtowcs.c: New file.
39086 2012-03-29 David S. Miller <davem@davemloft.net>
39088 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39089 small copies by hand.
39091 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39094 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39095 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39098 2012-03-28 David S. Miller <davem@davemloft.net>
39100 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39101 that branches into memcpy.
39102 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39103 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39105 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39108 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39109 implementation too.
39110 * sysdeps/sparc/mempcpy.S: New file.
39112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39113 the IFUNC routine in the libc case.
39114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39116 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39117 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39118 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39119 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39120 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39121 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39122 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39123 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39125 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39126 loop to 256 bytes instead of 64 bytes and fix test signedness.
39128 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39129 * sysdeps/sparc/sparc32/Makefile: rather than here...
39130 * sysdeps/sparc/sparc64/Makefile: and here.
39132 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39134 * malloc/mallocbug.c: Avoid warnings about unused variables.
39136 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39139 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39140 in the right place. Discard and retry query if response is
39141 larger than input buffer size.
39143 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39148 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39149 x for large integer exponent.
39150 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39151 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39152 sign of result as needed afterwards.
39153 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39154 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39155 result for underflowing pow the same as for overflow.
39156 (__kernel_standard_l): Handle powl overflow and underflow here
39157 rather than calling __kernel_standard.
39158 * math/libm-test.inc (pow_test): Add more tests.
39173 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39174 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39175 (__kernel_standard_l): New function.
39176 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39178 * math/w_acosl.c (__acosl): Likewise.
39179 * math/w_asinl.c (__asinl): Likewise.
39180 * math/w_atan2l.c (__atan2l): Likewise.
39181 * math/w_atanhl.c (__atanhl): Likewise.
39182 * math/w_coshl.c (__coshl): Likewise.
39183 * math/w_exp10l.c (__exp10l): Likewise.
39184 * math/w_exp2l.c (__exp2l): Likewise.
39185 * math/w_fmodl.c (__fmodl): Likewise.
39186 * math/w_hypotl.c (__hypotl): Likewise.
39187 * math/w_j0l.c (__j0l, __y0l): Likewise.
39188 * math/w_j1l.c (__j1l, __y1l): Likewise.
39189 * math/w_jnl.c (__jnl, __ynl): Likewise.
39190 * math/w_lgammal.c (__lgammal): Likewise.
39191 * math/w_log10l.c (__log10l): Likewise.
39192 * math/w_log2l.c (__log2l): Likewise.
39193 * math/w_logl.c (__logl): Likewise.
39194 * math/w_powl.c (__powl): Likewise.
39195 * math/w_remainderl.c (__remainderl): Likewise.
39196 * math/w_scalbl.c (sysv_scalbl): Likewise.
39197 * math/w_sinhl.c (__sinhl): Likewise.
39198 * math/w_sqrtl.c (__sqrtl): Likewise.
39199 * math/w_tgammal.c (__tgammal): Likewise.
39200 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39201 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39202 * math/libm-test.inc (acos_test): Add more tests.
39203 (acosh_test): Likewise.
39204 (asin_test): Likewise.
39205 (atanh_test): Likewise.
39206 (exp_test): Likewise.
39207 (exp10_test): Likewise.
39208 (exp2_test): Likewise.
39209 (expm1_test): Likewise.
39210 (lgamma_test): Likewise.
39211 (log_test): Likewise.
39212 (log10_test): Likewise.
39213 (log1p_test): Likewise.
39214 (log2_test): Likewise.
39215 (pow_test): Do not allow some spurious overflow exceptions.
39216 (sqrt_test): Add more tests.
39217 (tgamma_test): Likewise.
39218 (y0_test): Likewise.
39219 (y1_test): Likewise.
39220 (yn_test): Likewise.
39222 2012-03-27 Anton Blanchard <anton@samba.org>
39224 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39226 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39227 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39228 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39230 2012-03-27 David S. Miller <davem@davemloft.net>
39232 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39234 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39235 have-as-vis3 check.
39237 2012-03-27 Andreas Jaeger <aj@suse.de>
39239 * sysdeps/x86_64/elf/configure.in: Moved to ...
39240 * sysdeps/x86_64/configure.in: ... here.
39241 * sysdeps/x86_64/elf/start.S: Moved to ...
39242 * sysdeps/x86_64/start.S: ... here.
39243 * sysdeps/x86_64/elf/configure: Delete.
39245 * sysdeps/x86_64/configure.in: Merge contents from
39246 sysdeps/i386/configure.in (without i686 check).
39248 * sysdeps/i386/elf/Versions: Merge into ...
39249 * sysdeps/i386/Versions: ... this.
39250 * sysdeps/i386/elf/Versions: Delete file.
39251 * sysdeps/i386/elf/start.S: Moved to ...
39252 * sysdeps/i386/start.S: ...here.
39253 * sysdeps/i386/elf/configure.in: Merge into...
39254 * sysdeps/i386/configure.in: ...here.
39255 * sysdeps/i386/elf/configure.in: Delete file.
39256 * sysdeps/i386/elf/configure: Delete file.
39258 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39259 * debug/backtracesyms.c: ... here.
39260 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39261 * debug/backtracesymsfd.c: ... here.
39262 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39263 * sysdeps/generic/ifunc-sel.h: ... here.
39265 * sysdeps/unix/i386/start.c: Delete file.
39266 * sysdeps/unix/sparc/start.c: Delete file.
39267 * sysdeps/unix/start.c: Delete file.
39269 * sysdeps/sh/elf/configure.in: Moved to ...
39270 * sysdeps/sh/configure.in: ... here.
39271 * sysdeps/sh/elf/start.S: Moved to ...
39272 * sysdeps/sh/start.S: ... here.
39273 * sysdeps/sh/elf/configure: Delete file.
39275 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39276 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39277 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39278 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39279 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39280 * sysdeps/powerpc/powerpc64/start.S: here.
39281 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39282 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39283 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39284 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39285 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39287 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39288 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39289 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39290 * sysdeps/powerpc/powerpc32/start.S: ... here.
39291 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39292 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39293 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39295 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39296 * sysdeps/powerpc/ifunc-sel.h: ... here.
39297 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39298 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39300 * sysdeps/sparc/elf/configure.in: Moved to ...
39301 * sysdeps/sparc/configure.in: ... here.
39302 * sysdeps/sparc/elf/configure: Delete file.
39303 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39304 * sysdeps/sparc/sparc32/start.S: ... here.
39305 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39306 * sysdeps/sparc/sparc64/start.S: ... here.
39307 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39308 * sysdeps/sparc/sparc32/Makefile: ... this.
39309 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39310 * sysdeps/sparc/sparc64/Makefile: ... this.
39312 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39313 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39314 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39315 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39316 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39317 * sysdeps/s390/s390-32/setjmp.S: ... here.
39318 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39319 * sysdeps/s390/s390-32/configure.in: ... here.
39320 * sysdeps/s390/s390-32/elf/configure: Delete file.
39321 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39322 * sysdeps/s390/s390-32/start.S: ... here.
39324 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39325 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39326 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39327 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39328 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39329 * sysdeps/s390/s390-64/setjmp.S: ... here.
39330 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39331 * sysdeps/s390/s390-64/configure.in: ... here
39332 * sysdeps/s390/s390-64/elf/configure: Delete file.
39333 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39334 * sysdeps/s390/s390-64/start.S: ... here.
39335 * sysdeps/s390/s390-64/elf/configure: Delete.
39337 * configure.in: Remove support for elf directories in sysdeps.
39339 * configure: Regenerated.
39340 * sysdeps/i386/configure: Regenerated.
39341 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39342 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39343 * sysdeps/s390/s390-32/configure: Regenerated.
39344 * sysdeps/s390/s390-64/configure: Regenerated.
39345 * sysdeps/sh/configure: Regenerated.
39346 * sysdeps/sparc/configure: Regenerated.
39347 * sysdeps/x86_64/configure: Regenerated.
39349 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39353 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39354 denormal result into account.
39356 2012-03-25 Roland McGrath <roland@hack.frob.com>
39358 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39359 Reported by Allan McRae <allan@archlinux.org>.
39361 2012-03-23 Jeff Law <law@redhat.com>
39363 * nss/getnssent.c (__nss_getent): Fix typo.
39365 2012-03-23 David S. Miller <davem@davemloft.net>
39367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39369 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39371 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39372 to pad to uint64_t for each field.
39373 (dl_tls_index): Replace unsigned long with uint64_t.
39375 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39376 Paul Pluzhnikov <ppluzhnikov@google.com>
39379 * grp/Makefile (otherlibs): Don't set it.
39380 * inet/Makefile (otherlibs): Likewise.
39381 * login/Makefile (otherlibs): Likewise.
39382 * nscd/Makefile (otherlibs): Likewise.
39383 * posix/Makefile (otherlibs): Likewise.
39384 * pwd/Makefile (otherlibs): Likewise.
39385 * rt/Makefile (otherlibs): Likewise.
39386 * sunrpc/Makefile (otherlibs): Likewise.
39387 * nss/Makefile (otherlibs): Likewise.
39388 Add libnss_files to routines and static-only-routines.
39389 ($(objpfx)getent): Remove rule.
39390 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39391 static-only-routines.
39393 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39396 * math/s_cexp.c: Include <float.h>.
39397 (__cexp): Handle exp result overflowing not necessarily
39398 overflowing both real and imaginary parts of result.
39399 * math/s_cexpf.c: Likewise.
39400 * math/s_cexpl.c: Likewise.
39401 * math/libm-test.inc (cexp_test): Add more tests.
39402 * sysdeps/i386/fpu/libm-test-ulps: Update.
39403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39405 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39407 * include/link.h (ELFW): New macro.
39408 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39409 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39411 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39413 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39416 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39418 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39420 (struct La_x32_retval): Likewise.
39422 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39424 * sysdeps/x86_64/preconfigure.in: New file.
39425 * sysdeps/x86_64/preconfigure: New generated file.
39427 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39430 * math/e_exp2l.c: Include <float.h>.
39431 (__ieee754_exp2l): Handle overflow and underflow cases
39432 separately. Only pass fractional part of argument to
39434 * math/libm-test.inc (exp2_test): Add more tests.
39436 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39437 negating x to take absolute value.
39438 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39440 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39441 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39443 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39444 computing low part if x was negated.
39445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39447 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39449 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39450 la_x32_gnu_pltexit.
39451 (pltexit): Cast int_retval to ptrdiff_t.
39452 * elf/tst-auditmod3b.c: Likewise.
39453 * elf/tst-auditmod4b.c: Likewise.
39454 * elf/tst-auditmod5b.c: Likewise.
39455 * elf/tst-auditmod6b.c: Likewise.
39456 * elf/tst-auditmod6c.c: Likewise.
39457 * elf/tst-auditmod7b.c: Likewise.
39459 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39460 and x32_gnu_pltexit.
39462 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39463 __ELF_NATIVE_CLASS.
39464 (La_x32_regs): New macro.
39465 (La_x32_retval): Likewise.
39466 (la_x32_gnu_pltenter): New function prototype.
39467 (la_x32_gnu_pltexit): Likewise.
39469 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39471 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39476 * configure.in (libc_cv_cc_nofma): Check for option to disable
39477 generation of FMA instructions.
39478 * configure: Regenerate.
39479 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39480 * sysdeps/ieee754/dbl-64/Makefile: New file.
39481 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39482 Remove brandred-fma4.
39483 (CFLAGS-brandred-fma4.c): Remove.
39484 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39485 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39487 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39490 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39492 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39493 LLONG_MAX != LONG_MAX.
39494 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39495 (_fitoa_word): Likewise.
39496 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39497 LLONG_MAX != LONG_MAX.
39498 * stdio-common/_itowa.h: Include <_itoa.h>.
39499 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39500 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39501 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39502 only if not defined.
39503 (_ITOA_WORD_TYPE): Likewise.
39504 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39505 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39507 2012-03-21 David S. Miller <davem@davemloft.net>
39509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39511 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39513 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39514 of x86_64 when setting libc_cv_slibdir, libdir and
39516 * sysdeps/unix/sysv/linux/configure: Regenerated.
39518 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39520 * manual/lang.texi (Old Varargs): Remove section.
39521 (How Variadic): Update menu.
39522 (va_start): Do not mention varargs.h.
39524 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39525 Joseph Myers <joseph@codesourcery.com>
39527 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39529 * configure: Regenerated.
39531 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39533 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39534 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39537 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39540 * Makefile (files-for-dist): Remove NOTES.
39541 (NOTES): Remove rule.
39542 * README: Don't refer to NOTES.
39543 * manual/creature.texi: Don't include macros.texi.
39544 * manual/intro.texi (creature.texi): Remove comment referring to
39547 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39548 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39549 * configure: Regenerated.
39550 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39551 LIBC_TRY_CC_OPTION.
39552 (libc_cv_as_i686): Likewise.
39553 (libc_cv_cc_avx): Likewise.
39554 (libc_cv_cc_sse2avx): Likewise.
39555 (libc_cv_cc_fma4): Likewise.
39556 (libc_cv_cc_novzeroupper): Likewise.
39557 * sysdeps/i386/configure: Regenerated.
39560 * sysdeps/i386/fpu/s_cexp.S: Remove.
39561 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39562 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39563 * math/libm-test.inc (cexp_test): Add more tests.
39564 * sysdeps/i386/fpu/libm-test-ulps: Update.
39565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39567 2012-03-21 Allan McRae <allan@archlinux.org>
39569 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39571 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39574 * math/w_exp2.c: Do not include <float.h>.
39575 (o_threshold, u_threshold): Remove.
39576 (__exp2): Calculate result before checking finiteness and calling
39578 * math/w_exp2f.c: Likewise.
39579 * math/w_exp2l.c: Likewise.
39580 * math/libm-test.inc (exp2_test): Require overflow exception for
39584 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39585 range of signed 64-bit integers before using fistpll. Remove
39586 checks for whether integers fit in mantissa bits.
39587 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39588 the range of signed 32-bit integers before using fistpl. Remove
39589 checks for whether integers fit in mantissa bits.
39590 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39591 (__ieee754_powl): Test for y outside the range of signed 64-bit
39592 integers before using fistpll. Reduce 64-bit values to 63-bit
39594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39595 divide-by-zero is raised for zero to large negative powers.
39596 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39597 (__ieee754_powl): Test for y outside the range of signed 64-bit
39598 integers before using fistpll. Reduce 64-bit values to 63-bit
39600 * math/libm-test.inc (pow_test): Add more tests.
39602 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39604 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39605 <stdio-common/_itoa.h>.
39606 * debug/segfault.c: Likewise.
39607 * elf/dl-cache.c: Likewise.
39608 * elf/dl-minimal.c: Likewise.
39609 * elf/dl-misc.c: Likewise.
39610 * elf/dl-sysdep.c: Likewise.
39611 * elf/dl-version.c: Likewise.
39612 * elf/rtld.c: Likewise.
39613 * hurd/hurdsock.c: Likewise.
39614 * hurd/lookup-retry.c: Likewise.
39615 * malloc/malloc.c: Likewise.
39616 * malloc/mtrace.c: Likewise.
39617 * nscd/nscd_getgr_r.c: Likewise.
39618 * nscd/nscd_getpw_r.c: Likewise.
39619 * nscd/nscd_getserv_r.c: Likewise.
39620 * posix/getopt_init.c: Likewise.
39621 * posix/wordexp.c: Likewise.
39622 * stdio-common/_itoa.c: Likewise.
39623 * stdio-common/printf_fphex.c: Likewise.
39624 * stdio-common/vfprintf.c: Likewise.
39625 * string/_strerror.c: Likewise.
39626 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39627 * sysdeps/i386/i686/hp-timing.h: Likewise.
39628 * sysdeps/mach/_strerror.c: Likewise.
39629 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39630 * sysdeps/mach/hurd/sethostid.c: Likewise.
39631 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39632 * sysdeps/mach/xpg-strerror.c: Likewise.
39633 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39634 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39635 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39636 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39637 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39638 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39639 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39640 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39641 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39642 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39643 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39644 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39645 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39646 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39647 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39648 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39649 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39650 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39651 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39652 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39653 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39655 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39657 * stdio-common/_itoa.h: Moved to ...
39658 * sysdeps/generic/_itoa.h: Here.
39660 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39662 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39663 instead of "_itoa.h" and "_itowa.h".
39664 * stdio-common/vfprintf.: Likewise.
39666 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39668 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39670 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39671 (__signbit): Likwise.
39672 (llrintf): Likwise.
39675 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39677 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39680 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39682 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39683 OVERFLOW_EXCEPTION_OK.
39684 * math/libm-test.inc ("Philosophy"): Update comment about
39686 (OVERFLOW_EXCEPTION): Define.
39687 (OVERFLOW_EXCEPTION_OK): Likewise.
39688 (INVALID_EXCEPTION_OK): Renumber.
39689 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39690 (IGNORE_ZERO_INF_SIGN): Likewise.
39691 (test_exceptions): Handle FE_OVERFLOW.
39692 (exp10_test): Expect overflow exceptions.
39693 (exp2_test): Likewise.
39694 (expm1_test): Likewise.
39695 (nextafter_test): Likewise.
39696 (pow_test): Likewise.
39697 (scalbn_test): Likewise.
39698 (scalbln_test): Likewise.
39700 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39702 * sysdeps/x86_64/bits/atomic.h
39703 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39705 (atomic_exchange_acq): Likewise.
39706 (__arch_exchange_and_add_body): Likewise.
39707 (__arch_add_body): Likewise.
39708 (atomic_add_negative): Likewise.
39709 (atomic_add_zero): Likewise.
39711 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39713 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39714 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39716 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39718 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39719 Check __x86_64__ instead of __WORDSIZE.
39721 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39723 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39725 2012-03-19 David S. Miller <davem@davemloft.net>
39727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39729 * sysdeps/sparc/fpu/fenv_private.h: New file.
39730 * sysdeps/sparc/fpu/math_private.h: Use it.
39731 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39733 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39734 (libc_feholdexcept_setroundl): Remove.
39735 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39737 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39738 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39740 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39742 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39743 int64_t instead of long int.
39744 (INSERT_WORDS64): Likwise.
39746 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39748 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39749 _Unwind_GetCFA return to _Unwind_Ptr first.
39751 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39754 * math/s_clog.c: Include <float.h>.
39755 (__clog): Scale large or subnormal inputs.
39756 * math/s_clogf.c: Likewise.
39757 * math/s_clogl.c: Likewise.
39758 * math/s_clog10.c: Include <float.h>.
39759 (M_LOG10_2): Define.
39760 (__clog10): Scale large or subnormal inputs.
39761 * math/s_clog10f.c: Likewise.
39762 * math/s_clog10l.c: Likewise.
39763 * math/libm-test.inc (clog_test): Add more tests.
39764 (clog10_test): Likewise.
39765 * sysdeps/i386/fpu/libm-test-ulps: Update.
39766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39769 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39771 * math/libm-test.inc (atan2_test): Add another test.
39773 * Makerules (common-objdir-compile): Remove.
39774 * sysdeps/unix/Makefile (config-generated): Do not add
39775 $(unix-generated) to variable.
39776 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39777 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39779 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39781 [generic bits/local_lim.h] (before-compile): Do not append to
39783 [generic bits/local_lim.h] (common-generated): Likewise.
39784 [generic sys/param.h] (before-compile): Do not append to variable.
39785 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39786 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39787 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39788 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39790 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39791 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39792 [generic sys/param.h] ($(addprefix
39793 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39794 [generic sys/param.h] (common-generated): Do not append to
39796 [generic sys/param.h] (sysdep_headers): Likewise.
39797 [generic bits/errno.h] (before-compile): Do not append to
39799 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39801 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39802 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39803 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39804 [generic bits/errno.h] (common-generated): Do not append to
39806 [generic bits/ioctls.h] (before-compile): Do not append to
39808 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39810 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39811 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39812 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39814 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39815 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39816 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39817 [generic bits/ioctls.h] (common-generated): Do not append to
39819 [generic sys/syscall.h] (syscall.h): Remove variable.
39820 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39822 [generic sys/syscall.h] (before-compile): Do not append to
39824 [generic sys/syscall.h] (common-generated): Likewise.
39825 * sysdeps/unix/errnos-tmpl.c: Remove file.
39826 * sysdeps/unix/errnos.awk: Likewise.
39827 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39828 * sysdeps/unix/ioctls.awk: Likewise.
39829 * sysdeps/unix/mk-local_lim.c: Likewise.
39830 * sysdeps/unix/snarf-ioctls: Likewise.
39832 2012-03-19 Richard Henderson <rth@twiddle.net>
39834 * sysdeps/i386/fpu/fenv_private.h: New file.
39835 * sysdeps/i386/fpu/math_private.h: Use it.
39836 (math_opt_barrier, math_force_eval): Remove.
39837 (libc_feholdexcept_setround_53bit): Remove.
39838 (libc_feupdateenv_53bit): Remove.
39839 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39840 (math_opt_barrier, math_force_eval): Remove.
39841 (libc_feholdexcept): Remove.
39842 (libc_feholdexcept_setround): Remove.
39843 (libc_fetestexcept, libc_fesetenv): Remove.
39844 (libc_feupdateenv_test): Remove.
39845 (libc_feupdateenv, libc_feholdsetround): Remove.
39846 (libc_feresetround): Remove.
39848 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39849 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39851 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39852 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39853 (libc_feupdateenv_testl): New.
39854 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39855 (libc_feupdateenv_testf): New.
39856 (libc_feupdateenv): Use libc_feupdateenv_test.
39857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39858 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39860 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39861 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39862 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39863 (libc_feresetround_noex): New.
39864 (libc_feresetround_noexf): New.
39865 (libc_feresetround_noexl): New.
39866 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39867 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39868 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39869 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39872 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39874 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39875 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39876 SET_RESTORE_ROUND_NOEX.
39877 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39878 SET_RESTORE_ROUND_NOEXF.
39879 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39880 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39881 (libc_feholdsetroundf): New.
39882 (libc_feresetround, libc_feresetroundf): New.
39884 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39885 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39886 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39888 * sysdeps/generic/math_private.h: Include <fenv.h>.
39889 (default_libc_feholdexcept): New.
39890 (default_libc_feholdexcept_setround): New.
39891 (default_libc_fesetenv, default_libc_feupdateenv): New.
39892 (libc_feholdexcept): Only define if undefined.
39893 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39894 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39895 (libc_feholdexcept_setroundl): Likewise.
39896 (libc_feholdexcept_setround_53bit): Likewise.
39897 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39898 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39899 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39900 (libc_feupdateenv_53bit): Likewise.
39901 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39902 (libc_feholdexcept): Convert from macro to inline function.
39903 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39904 (libc_fesetenv, libc_feupdateenv): Likewise.
39906 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39907 not previously defined.
39908 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39909 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39910 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39911 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39912 * sysdeps/ieee754/flt-32/math_private.h: New file.
39913 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39914 math_private.h below SET_FLOAT_WORD.
39915 (__isnan, __isinf_ns, __finite): Remove.
39916 (__isnanf, __isinf_nsf, __finitef): Remove.
39918 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39922 2012-03-17 David S. Miller <davem@davemloft.net>
39925 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39928 2012-03-16 David S. Miller <davem@davemloft.net>
39930 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39934 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39936 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39937 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39938 sysdep_routines when subdir is sysvipc.
39939 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39940 __getshmlba helper.
39942 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39944 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39946 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39949 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39951 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39952 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39953 (__lround): Renamed to ...
39954 (__llround): This. Replace long int with long long int.
39955 Define lround functions as aliases of llround functions.
39956 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39958 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39960 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39961 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39962 adresses to uintptr_t. Replace "long int" and "unsigned long
39963 int" with "greg_t" on va_arg.
39965 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39967 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39968 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39970 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39971 Move e_machine check before EI_CLASS check. Handle x32
39972 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39973 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39974 SKIP_EM_IA_64 and include
39975 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39977 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39978 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39979 (add_system_dir): New macro.
39981 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39982 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39984 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39995 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39997 * math/w_j0f.c (j0f): Likewise.
39999 * math/w_j0l.c (__j0l): Likewise.
40001 * math/w_j1.c (j1): Likewise.
40003 * math/w_j1f.c (j1f): Likewise.
40005 * math/w_j1l.c (__j1l): Likewise.
40007 * math/w_jn.c (jn): Likewise.
40009 * math/w_jnf.c (jnf): Likewise.
40011 * math/w_jnl.c (__jnl): Likewise.
40013 * math/libm-test.inc (j0_test): Add more tests.
40014 (j1_test): Likewise.
40015 (jn_test): Likewise. Add trailing semicolon to existing test.
40016 (y0_test): Likewise.
40017 (y1_test): Likewise.
40018 * sysdeps/i386/fpu/libm-test-ulps: Update.
40019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40024 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40025 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40026 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40027 (__tanl): Set errno for infinite argument.
40028 * sysdeps/i386/fpu/mptan.c: Remove.
40029 * sysdeps/i386/fpu/s_tan.S: Likewise.
40030 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40031 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40032 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40033 * math/libm-test.inc (tan_test): Add more tests and enable more
40034 tests for double and long double.
40035 * sysdeps/i386/fpu/libm-test-ulps: Update.
40036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40038 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40040 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40041 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40043 2012-03-16 Roland McGrath <roland@hack.frob.com>
40045 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40046 * configure.in: Use it for both main tree and add-ons.
40047 * configure: Regenerated.
40049 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40051 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40053 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40055 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40059 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40060 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40062 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40063 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40065 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40067 != 0 for prec == 2.
40068 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40069 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40070 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40071 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40072 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40073 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40074 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40075 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40076 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40077 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40078 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40079 * math/libm-test.inc (cos_test): Add more tests and enable more
40080 tests for long double.
40081 (sin_test): Likewise.
40082 (sincos_test): Likewise.
40083 * sysdeps/i386/fpu/libm-test-ulps: Update.
40084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40086 2012-03-16 David S. Miller <davem@davemloft.net>
40088 * sysdeps/sparc/fpu/math_private.h: New file.
40090 2012-03-15 David S. Miller <davem@davemloft.net>
40092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40106 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40107 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40109 * sysdeps/sparc/sparc-ifunc.h: New file.
40110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40148 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40149 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40150 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40155 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40157 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40161 2012-03-15 Andreas Jaeger <aj@suse.de>
40164 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40165 ieee754/flt-32 implementation for sin, cos and sincos.
40166 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40167 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40168 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40169 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40170 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40171 ieee754/flt-32 implementation for tan.
40173 * math/libm-test.inc (cos_test): Enable some large input tests for
40175 (sin_test): Likewise.
40176 (sincos_test): Likewise.
40177 (tan_test): Add tests for large input.
40179 * sysdeps/i386/fpu/libm-test-ulps: Update.
40181 2012-03-15 Andreas Jaeger <aj@suse.de>
40184 * math/libm-test.inc (cos_test): Add more test cases.
40185 (sin_test): Likewise.
40186 (sincos_test): Likewise.
40188 2012-03-15 Andreas Jaeger <aj@suse.de>
40191 * math/libm-test.inc (cos_test): Add a test case for large input
40193 (sin_test): Likewise.
40194 (sincos_test): Likewise.
40196 2012-03-15 Andreas Jaeger <aj@suse.de>
40197 Joseph Myers <joseph@codesourcery.com>
40200 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40201 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40202 * sysdeps/i386/fpu/branred.c: Likewise.
40203 * sysdeps/i386/fpu/dosincos.c: Likewise.
40204 * sysdeps/i386/fpu/mpa.c: Likewise.
40205 * sysdeps/i386/fpu/s_cos.S: Likewise.
40206 * sysdeps/i386/fpu/s_sin.S: Likewise.
40207 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40208 * sysdeps/i386/fpu/sincos32.c: Likewise.
40210 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40212 (libc_feupdateenv_53bit): Define.
40213 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40215 (libc_feupdateenv_53bit): Define.
40217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40218 53 bit (without extend i386 double precision).
40220 * math/libm-test.inc (sincos_test): Add tests for large input.
40224 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40226 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40230 2012-03-15 David S. Miller <davem@davemloft.net>
40232 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40233 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40234 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40235 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40260 fmin/fmax sysdep routines.
40261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40263 2012-03-14 David S. Miller <davem@davemloft.net>
40265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40269 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40271 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40272 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40287 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40288 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40289 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40291 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40292 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40293 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40337 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40342 * sysdeps/sparc/configure.in: New file.
40343 * sysdeps/sparc/configure: Generate.
40344 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40345 * configure: Regenerate.
40346 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40347 * config.make.in (have-as-vis3): New.
40348 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40349 available use -Av9d instead of -Av9a.
40350 * sysdeps/sparc/sparc64/Makefile: Likewise.
40351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40363 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40364 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40366 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40367 fzeros/fnegs to load 0x80000000 into a float register instead of
40369 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40371 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40375 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40376 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40377 ($(inst_includedir)/bits/syscall.h): Remove rule.
40378 ($(objpfx)bits/syscall.d): Include instead of
40379 $(objpfx)syscall-list.d.
40380 (generated): Change syscall-list.h and syscall-list.d to
40381 bits/syscall.h and bits/syscall.d.
40383 2012-03-14 Roland McGrath <roland@hack.frob.com>
40386 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40388 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40391 * math/s_csqrt.c: Include <float.h>.
40392 (__csqrt): Scale large or subnormal inputs.
40393 * math/s_csqrtf.c: Likewise.
40394 * math/s_csqrtl.c: Likewise.
40395 * math/libm-test.inc (csqrt_test): Add more tests.
40396 * sysdeps/i386/fpu/libm-test-ulps: Update.
40397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40400 * math/libm-test.inc (hypot_test): Add more tests.
40402 2012-03-13 David S. Miller <davem@davemloft.net>
40405 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40406 double-precision for the calculation instead of scaling.
40408 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40410 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40411 manipulate bits before adding and subtracting TWO52[sx].
40412 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40413 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40415 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40417 2012-03-13 David S. Miller <davem@davemloft.net>
40419 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40420 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40421 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40422 rtld-global-offsets.h
40423 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40425 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40428 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40430 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40431 'err' in the ifdef scope in which it is actually used.
40433 * nss/nss_db/db-init.c: Include string.h
40435 2012-03-12 David S. Miller <davem@davemloft.net>
40437 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40438 masking out of the most significant byte of random value used.
40439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40440 Fix coding style in previous change.
40442 * sysdeps/unix/sysv/linux/kernel-features.h
40443 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40444 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40446 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40449 2012-03-11 David S. Miller <davem@davemloft.net>
40451 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40452 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40453 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40454 for 'resultvar' otherwise things get truncated on 64-bit.
40456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40457 Fix masking out of the most significant byte of random value used.
40459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40461 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40465 2012-03-09 David S. Miller <davem@davemloft.net>
40467 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40468 variables with appropriate CPP guards.
40469 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40470 from the frame pointer, not the stack pointer. Correct layout
40471 comments. Fix test on resulting framesize and the management of
40472 the outregs buffer for pltexit. Preserve floating point return
40473 values across _dl_call_pltexit call.
40474 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40475 framesize and the management of the outregs buffer for pltexit.
40476 Preserve floating point return values across _dl_call_pltexit
40478 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40479 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40480 (la_sparc64_gnu_pltexit): New functions.
40481 (print_exit): Fix format string for return register value.
40483 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40485 * sunrpc/Makefile (others): Add rpcgen.
40486 ($(objpfx)rpcgen): Remove special build rule and dependency on
40488 * sunrpc/rpcgen.c: New file.
40490 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40493 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40494 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40495 * sysdeps/i386/crti.S: Likewise.
40496 * sysdeps/i386/crtn.S: Likewise.
40497 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40498 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40499 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40500 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40501 * sysdeps/sh/crti.S: Likewise.
40502 * sysdeps/sh/crtn.S: Likewise.
40503 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40506 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40508 * locale/programs/locfile-kw.gperf: Likewise.
40509 * locale/programs/charmap-kw.h: Regenerated.
40510 * locale/programs/locfile-kw.h: Likewise.
40513 * intl/plural.y: Replace FSF snail mail address with URL.
40514 * intl/plural.c: Regenerated.
40516 2012-03-09 Richard Henderson <rth@twiddle.net>
40518 * include/math_private.h: Remove file.
40519 * math/math_private.h: Move file ...
40520 * sysdeps/generic/math_private.h: ... here.
40522 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40523 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40524 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40526 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40527 and <math_private.h>.
40528 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40529 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40530 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40531 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40532 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40533 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40534 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40539 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40540 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40542 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40543 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40552 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40553 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40554 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40558 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40560 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40561 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40562 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40563 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40564 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40565 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40566 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40567 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40568 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40569 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40570 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40571 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40572 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40573 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40574 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40575 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40576 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40577 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40578 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40579 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40580 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40581 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40582 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40583 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40584 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40585 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40586 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40587 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40588 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40589 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40590 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40591 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40592 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40593 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40594 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40595 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40596 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40597 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40598 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40599 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40600 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40601 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40602 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40605 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40607 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40608 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40609 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40610 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40611 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40612 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40615 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40616 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40617 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40618 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40619 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40621 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40622 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40623 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40624 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40625 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40626 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40627 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40628 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40629 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40630 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40631 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40632 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40633 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40634 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40635 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40636 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40637 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40638 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40639 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40640 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40641 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40642 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40643 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40644 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40645 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40646 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40647 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40648 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40649 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40650 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40651 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40652 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40653 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40654 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40655 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40656 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40657 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40658 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40659 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40660 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40661 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40662 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40663 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40664 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40665 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40666 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40667 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40668 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40669 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40670 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40671 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40672 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40673 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40674 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40675 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40676 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40677 * sysdeps/ieee754/k_standard.c: Likewise.
40678 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40679 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40680 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40681 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40682 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40683 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40684 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40685 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40686 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40687 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40688 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40689 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40690 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40691 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40692 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40693 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40694 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40695 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40696 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40697 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40698 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40699 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40700 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40701 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40702 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40703 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40704 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40706 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40708 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40709 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40710 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40711 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40713 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40714 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40715 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40716 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40717 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40718 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40720 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40721 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40722 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40729 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40730 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40731 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40733 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40734 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40735 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40736 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40737 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40738 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40739 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40740 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40741 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40742 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40745 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40746 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40747 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40748 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40750 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40751 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40754 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40755 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40757 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40758 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40759 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40760 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40761 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40764 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40767 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40769 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40770 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40771 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40773 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40775 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40785 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40787 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40788 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40789 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40790 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40791 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40792 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40794 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40795 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40796 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40797 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40798 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40799 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40800 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40802 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40803 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40804 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40805 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40806 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40808 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40809 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40810 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40811 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40812 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40813 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40814 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40815 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40816 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40817 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40818 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40819 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40820 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40821 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40822 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40823 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40824 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40825 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40826 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40827 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40828 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40829 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40833 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40834 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40835 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40836 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40837 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40838 * sysdeps/ieee754/s_lib_version.c: Likewise.
40839 * sysdeps/ieee754/s_matherr.c: Likewise.
40840 * sysdeps/ieee754/s_signgam.c: Likewise.
40841 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40842 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40843 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40844 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40845 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40846 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40847 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40848 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40849 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40850 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40851 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40852 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40853 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40854 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40855 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40856 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40857 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40858 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40859 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40863 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40865 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40866 * sunrpc/rpc_main.c: Likewise.
40867 * sunrpc/rpc_svcout.c: Likewise.
40869 2012-03-09 David S. Miller <davem@davemloft.net>
40871 * include/math_private.h: New file.
40873 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40875 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40876 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40877 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40878 from <bits/socket_type.h>.
40879 (enum __socket_type): Don't define here.
40880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40882 bits/socket_type.h.
40885 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40886 checking __USE_GNU.
40888 * Makerules ($(inst_includedir)/%.h): New rule.
40889 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40890 (install-others): Remove variable setting.
40891 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40893 2012-03-08 Richard Henderson <rth@twiddle.net>
40895 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40896 from macro to inline function; merge with the
40897 !__LIBC_INTERNAL_MATH_INLINES version.
40898 (__ieee754_sqrtf): Likewise.
40900 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40901 to inline function.
40902 (__rintf, __floor, __floorf): Likewise.
40904 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40905 macro to inline function.
40906 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40909 not <math/math_private.h>.
40911 2012-03-08 David S. Miller <davem@davemloft.net>
40913 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40915 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40917 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40919 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40921 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40922 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40924 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40926 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40927 be defined individually, they must be defined as a block. Define
40928 S for printing a string instead of hidint the different by using a
40929 macro for adding the 'l'.
40930 * stdio-common/tst-fphex-wide.c: Adjust.
40932 2012-03-07 Marek Polacek <polacek@redhat.com>
40934 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40936 2012-03-08 Marek Polacek <polacek@redhat.com>
40939 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40940 * stdio-common/tst-fphex.c: Define a few macros to make the
40941 test reusable. Use them.
40942 * stdio-common/tst-fphex-wide.c: New file.
40944 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40947 * manual/macros.texi (gnusystems): New macro.
40948 (nongnusystems): Likewise.
40949 (gnulinuxhurdsystems): Likewise.
40950 (gnuhurdsystems): Likewise..
40951 (gnulinuxsystems): Likewise.
40952 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40953 variants of the GNU system, not "GNU system".
40954 * manual/conf.texi: Likewise.
40955 * manual/errno.texi: Likewise. Update example of errno macro
40957 * manual/filesys.texi: Likewise.
40958 (getumask): Document as specific to GNU/Hurd.
40959 * manual/install.texi: Likewise. Reword some references to
40961 * manual/intro.texi: Likewise.
40962 * manual/io.texi: Likewise.
40963 (File Name Portability): Detail which constraints are inapplicable
40964 to all GNU systems and which are only inapplicable to GNU/Hurd.
40965 * manual/job.texi: Likewise.
40966 * manual/llio.texi: Likewise.
40967 (O_NOCTTY): Document as present on GNU/Linux.
40968 * manual/maint.texi: Likewise.
40969 * manual/memory.texi: Likewise.
40970 * manual/pattern.texi: Likewise.
40971 * manual/pipe.texi: Likewise.
40972 * manual/process.texi: Likewise.
40973 * manual/resource.texi: Likewise.
40974 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40976 * manual/setjmp.texi: Likewise.
40977 * manual/signal.texi: Likewise.
40978 * manual/startup.texi: Likewise.
40979 * manual/stdio.texi: Likewise.
40980 * manual/terminal.texi: Likewise.
40981 (ONLCR): Document as POSIX.
40982 (OXTABS): Document availability on GNU/Linux as XTABS.
40983 (ONOEOT): Document availability separately from other bits.
40984 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40985 * manual/time.texi: Likewise.
40986 * manual/users.texi: Likewise.
40987 * INSTALL: Regenerated.
40988 * sysdeps/gnu/errlist.c: Regenerated.
40990 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40991 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40992 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40994 * configure: Regenerated.
40996 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40998 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40999 default includes instead of AC_HEADER_CHECK.
41000 * sysdeps/i386/configure: Regenerated.
41003 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41004 * math/s_cacoshf.c (__cacoshf): Likewise.
41005 * math/s_cacoshl.c (__cacoshl): Likewise.
41006 * math/s_casinh.c (__casinh): Set signs of result from argument.
41007 * math/s_casinhf.c (__casinhf): Likewise.
41008 * math/s_casinhl.c (__casinhl): Likewise.
41009 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41010 (casinh_test): Add more tests.
41011 * sysdeps/i386/fpu/libm-test-ulps: Update.
41012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41014 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41016 * po/zh_TW.po: Update from translation team.
41018 * login/Makefile (distribute): Remove variable.
41019 * catgets/Makefile: Likewise.
41020 * mach/Makefile: Likewise.
41021 * malloc/Makefile: Likewise.
41022 * misc/Makefile: Likewise.
41023 * iconv/Makefile: Likewise.
41024 * nscd/Makefile: Likewise.
41025 * hurd/Makefile: Likewise.
41026 * manual/Makefile: Likewise.
41027 * locale/Makefile: Likewise.
41028 * intl/Makefile: Likewise.
41029 * conform/Makefile: Likewise.
41030 * nss/Makefile: Likewise.
41031 * time/Makefile: Likewise.
41032 * soft-fp/Makefile: Likewise.
41033 * dirent/Makefile: Likewise.
41034 * gmon/Makefile: Likewise.
41035 * po/Makefile: Likewise.
41036 * rt/Makefile: Likewise.
41037 * socket/Makefile: Likewise.
41038 * math/Makefile: Likewise.
41039 * signal/Makefile: Likewise.
41040 * debug/Makefile: Likewise.
41041 * elf/Makefile: Likewise.
41042 * timezone/Makefile: Likewise.
41043 * stdlib/Makefile: Likewise.
41044 * iconvdata/Makefile: Likewise.
41045 * sunrpc/Makefile: Likewise.
41046 * io/Makefile: Likewise.
41047 * argp/Makefile: Likewise.
41048 * inet/Makefile: Likewise.
41049 * hesiod/Makefile: Likewise.
41050 * grp/Makefile: Likewise.
41051 * csu/Makefile: Likewise.
41052 * wctype/Makefile: Likewise.
41053 * crypt/Makefile: Likewise.
41054 * libio/Makefile: Likewise.
41055 * string/Makefile: Likewise.
41056 * nis/Makefile: Likewise.
41057 * resolv/Makefile: Likewise.
41058 * stdio-common/Makefile: Likewise.
41059 * wcsmbs/Makefile: Likewise.
41060 * dlfcn/Makefile: Likewise.
41061 * posix/Makefile: Likewise.
41064 * timezone/Makefile: Don't install timezone files, just the programs
41067 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41069 * nss/databases.def: Add missing gshadow entry.
41071 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41073 2012-03-06 Marek Polacek <polacek@redhat.com>
41076 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41077 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41078 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41079 * stdio-common/tst-long-dbl-fphex.c: New file.
41081 2012-03-06 David S. Miller <davem@davemloft.net>
41083 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41084 (set_obp_int): New function.
41085 (get_obp_int): New function.
41086 (__get_clockfreq_via_dev_openprom): Likewise.
41087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41088 Avoid unused variable warnings on 'val' and use builtin_expect.
41089 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41091 (INLINE_CLONE_SYSCALL): Likewise.
41093 2012-03-05 David S. Miller <davem@davemloft.net>
41095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41097 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41101 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41102 only for |x| >= 40.
41103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41105 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41107 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41108 Replace gettimeofday with __vdso_gettimeofday.
41110 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41111 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41112 __vdso_clock_gettime and __vdso_getcpu.
41114 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41115 time with __vdso_time.
41117 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41119 * manual/lang.texi (size_t): Note types to which size_t may be
41120 equivalent with the GNU C Library, but do not describe when
41121 differences between them are significant.
41123 2012-03-05 Andreas Jaeger <aj@suse.de>
41125 * sysdeps/i386/fpu/libm-test-ulps: Update.
41127 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41130 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41131 (__ieee754_pow): Save and restore rounding mode and use
41132 round-to-nearest for main computations.
41133 * math/libm-test.inc (pow_test_tonearest): New function.
41134 (pow_test_towardzero): Likewise.
41135 (pow_test_downward): Likewise.
41136 (pow_test_upward): Likewise.
41137 (main): Call the new functions.
41138 * sysdeps/i386/fpu/libm-test-ulps: Update.
41139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41142 * math/libm-test.inc (cosh_test_tonearest): New function.
41143 (cosh_test_towardzero): Likewise.
41144 (cosh_test_downward): Likewise.
41145 (cosh_test_upward): Likewise.
41146 (sinh_test_tonearest): Likewise.
41147 (sinh_test_towardzero): Likewise.
41148 (sinh_test_downward): Likewise.
41149 (sinh_test_upward): Likewise.
41150 (main): Call the new functions.
41151 * sysdeps/i386/fpu/libm-test-ulps: Update.
41152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41154 2012-03-05 Tom de Vries <tom@codesourcery.com>
41156 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41157 default stack guard is set in last bytes.
41158 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41160 2012-03-05 Kees Cook <keescook@chromium.org>
41162 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41165 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41166 possibly allocate from heap instead of stack.
41167 * stdio-common/bug-vfprintf-nargs.c: New file.
41168 * stdio-common/Makefile (tests): Add nargs overflow test.
41170 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41174 2012-03-03 Marek Polacek <polacek@redhat.com>
41176 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41177 * math/math_private.h: Likewise.
41178 * stdlib/tst-strtod.c: Likewise.
41179 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41180 * sysdeps/x86_64/bits/atomic.h: Likewise.
41182 2012-03-02 David S. Miller <davem@davemloft.net>
41184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41188 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41189 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41190 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41191 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41193 2012-03-02 Roland McGrath <roland@hack.frob.com>
41196 * manual/examples/README: New file, says the example source files
41197 can be used under GPL>=2.
41198 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41199 line containing just "*/".
41200 * manual/examples/add.c: Add copyright header (GPL>=2).
41201 * manual/examples/argp-ex1.c: Likewise.
41202 * manual/examples/argp-ex2.c: Likewise.
41203 * manual/examples/argp-ex3.c: Likewise.
41204 * manual/examples/argp-ex4.c: Likewise.
41205 * manual/examples/atexit.c: Likewise.
41206 * manual/examples/db.c: Likewise.
41207 * manual/examples/dir.c: Likewise.
41208 * manual/examples/dir2.c: Likewise.
41209 * manual/examples/execinfo.c: Likewise.
41210 * manual/examples/filecli.c: Likewise.
41211 * manual/examples/filesrv.c: Likewise.
41212 * manual/examples/fmtmsgexpl.c: Likewise.
41213 * manual/examples/genpass.c: Likewise.
41214 * manual/examples/inetcli.c: Likewise.
41215 * manual/examples/inetsrv.c: Likewise.
41216 * manual/examples/isockad.c: Likewise.
41217 * manual/examples/longopt.c: Likewise.
41218 * manual/examples/memopen.c: Likewise.
41219 * manual/examples/memstrm.c: Likewise.
41220 * manual/examples/mkfsock.c: Likewise.
41221 * manual/examples/mkisock.c: Likewise.
41222 * manual/examples/mygetpass.c: Likewise.
41223 * manual/examples/pipe.c: Likewise.
41224 * manual/examples/popen.c: Likewise.
41225 * manual/examples/rprintf.c: Likewise.
41226 * manual/examples/search.c: Likewise.
41227 * manual/examples/select.c: Likewise.
41228 * manual/examples/setjmp.c: Likewise.
41229 * manual/examples/sigh1.c: Likewise.
41230 * manual/examples/sigusr.c: Likewise.
41231 * manual/examples/stpcpy.c: Likewise.
41232 * manual/examples/strdupa.c: Likewise.
41233 * manual/examples/strftim.c: Likewise.
41234 * manual/examples/strncat.c: Likewise.
41235 * manual/examples/subopt.c: Likewise.
41236 * manual/examples/swapcontext.c: Likewise.
41237 * manual/examples/termios.c: Likewise.
41238 * manual/examples/testopt.c: Likewise.
41239 * manual/examples/testpass.c: Likewise.
41240 * manual/examples/timeval_subtract.c: Likewise.
41243 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41245 * manual/timeval_subtract.c.texi: ... here, new file.
41247 2012-03-02 David S. Miller <davem@davemloft.net>
41249 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41251 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41254 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41255 (__sin): Save and restore rounding mode and use round-to-nearest
41256 for all computations.
41257 (__cos): Save and restore rounding mode and use round-to-nearest
41258 for all computations.
41259 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41261 (tan): Save and restore rounding mode and use round-to-nearest for
41263 * math/libm-test.inc (cos_test_tonearest): New function.
41264 (cos_test_towardzero): Likewise.
41265 (cos_test_downward): Likewise.
41266 (cos_test_upward): Likewise.
41267 (sin_test_tonearest): Likewise.
41268 (sin_test_towardzero): Likewise.
41269 (sin_test_downward): Likewise.
41270 (sin_test_upward): Likewise.
41271 (tan_test_tonearest): Likewise.
41272 (tan_test_towardzero): Likewise.
41273 (tan_test_downward): Likewise.
41274 (tan_test_upward): Likewise.
41275 (main): Call the new functions.
41276 * sysdeps/i386/fpu/libm-test-ulps: Update.
41277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41280 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41281 small n, then large n, before computing and testing k+n.
41282 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41287 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41288 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41289 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41290 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41291 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41292 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41293 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41294 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41295 * math/libm-test.inc (scalbn_test): Add more tests.
41296 (scalbln_test): Likewise.
41298 * manual/filesys.texi (mode_t): Describe constraints on size and
41299 signedness, not exact equivalence to a particular type.
41301 (ino64_t): Likewise.
41303 (nlink_t): Likewise.
41304 (blkcnt_t): Likewise.
41305 (blkcnt64_t): Likewise.
41306 * manual/llio.texi (off_t): Likewise.
41309 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41310 (__ieee754_exp): Save and restore rounding mode and use
41311 round-to-nearest for all computations.
41312 * math/libm-test.inc (exp_test_tonearest): New function.
41313 (exp_test_towardzero): Likewise.
41314 (exp_test_downward): Likewise.
41315 (exp_test_upward): Likewise.
41316 (main): Call the new functions.
41317 * sysdeps/i386/fpu/libm-test-ulps: Update.
41318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41320 2012-03-01 Chris Demetriou <cgd@google.com>
41322 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41323 have predictable order.
41325 2012-03-01 David S. Miller <davem@davemloft.net>
41327 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41329 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41330 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41331 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41332 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41334 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41335 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41336 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41338 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41339 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41340 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41341 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41342 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41347 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41350 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41351 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41352 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41353 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41354 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41355 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41356 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41357 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41358 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41359 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41360 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41361 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41363 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41364 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41366 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41367 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41368 * sysdeps/sparc/elf/configure: Regenerated.
41370 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41372 * configure.in (AS, LD): Require binutils 2.20 or later.
41373 * configure: Regenerated.
41374 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41375 as required minimum version.
41376 * INSTALL: Regenerated.
41380 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41381 before squaring exponent.
41382 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41383 bottom long double and 27 bits of top long double before squaring
41385 * math/libm-test.inc (erfc_test): Add more tests.
41386 * sysdeps/i386/fpu/libm-test-ulps: Update.
41387 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41390 2012-03-01 Kai Tietz <ktietz@redhat.com>
41392 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41393 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41394 containing bit-fields.
41395 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41396 * soft-fp/single.h (_FP_UNION_S): Likewise.
41397 * soft-fp/double.h (_FP_UNION_D): Likewise.
41399 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41402 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41403 not include ../strcmp.S.
41404 [USE_AS_STRNCASECMP_L]: Likewise.
41405 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41406 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41407 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41408 (__strncasecmp_l_ia32): Define as alias to
41409 __strncasecmp_l_nonascii.
41412 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41413 * sysdeps/i386/fpu/libm-test-ulps: Update.
41414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41416 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41419 2012-02-29 Jeff Law <law@redhat.com>
41421 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41422 out of bounds read.
41424 2012-02-29 Marek Polacek <polacek@redhat.com>
41427 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41428 * elf/Makefile: Add rules to run tst-unused-dep.out.
41430 2012-02-28 David S. Miller <davem@davemloft.net>
41432 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41433 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41435 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41436 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41437 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41439 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41441 * math/libm-test.inc (llround_test): Move one test from
41442 lround_test. Use TEST_f_L in moved test.
41443 (lround_test): Move misplaced test to llround_test. Add testcase
41446 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41448 * sysdeps/x86_64/fpu/e_expf.S: New file.
41449 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41451 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41454 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41455 of remain_len that may cause incomplete multi-byte character and
41457 * posix/bug-regex33.c: New file.
41458 * posix/Makefile (tests): Add bug-regex33.
41460 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41462 * manual/macros.texi: New file.
41463 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41464 * manual/libc.texinfo: Include macros.texi.
41465 * manual/creatute.texi: Likewise.
41466 * manual/install.texi: Likewise.
41467 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41468 @glibcadj{} in references to the GNU C Library.
41469 * manual/charset.texi: Likewise.
41470 * manual/conf.texi: Likewise.
41471 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41472 when not using those macros.
41473 * manual/creature.texi: Likewise.
41474 * manual/crypt.texi: Likewise.
41475 * manual/errno.texi: Likewise.
41476 * manual/filesys.texi: Likewise.
41477 * manual/header.texi: Likewise.
41478 * manual/install.texi: Likewise.
41479 * manual/intro.texi: Likewise.
41480 * manual/io.texi: Likewise.
41481 * manual/job.texi: Likewise.
41482 * manual/lang.texi: Likewise.
41483 * manual/libc.texiinfo: Likewise.
41484 * manual/llio.texi: Likewise.
41485 * manual/locale.texi: Likewise.
41486 * manual/maint.texi: Likewise.
41487 * manual/math.texi: Likewise.
41488 * manual/memory.texi: Likewise.
41489 * manual/message.texi: Likewise.
41490 * manual/nss.texi: Likewise.
41491 * manual/pattern.texi: Likewise.
41492 * manual/process.texi: Likewise.
41493 * manual/resource.texi: Likewise.
41494 * manual/search.texi: Likewise.
41495 * manual/setjmp.texi: Likewise.
41496 * manual/signal.texi: Likewise.
41497 * manual/socket.texi: Likewise.
41498 * manual/startup.texi: Likewise.
41499 * manual/stdio.texi: Likewise.
41500 * manual/string.texi: Likewise.
41501 * manual/sysinfo.texi: Likewise.
41502 * manual/syslog.texi: Likewise.
41503 * manual/terminal.texi: Likewise.
41504 * manual/time.texi: Likewise.
41505 * manual/users.texi: Likewise.
41506 * INSTALL: Regenerated.
41507 * NOTES: Regenerated.
41508 * sysdeps/gnu/errlist.c: Regenerated.
41510 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41512 * include/dirent.h: Include <dirstream.h> before
41515 2012-02-28 David S. Miller <davem@davemloft.net>
41517 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41518 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41519 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41520 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41522 2012-02-27 David S. Miller <davem@davemloft.net>
41524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41526 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41527 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41530 frame pointer instead of stack pointer relative arg slot.
41531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41532 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41533 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41535 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41538 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41540 2012-02-27 David S. Miller <davem@davemloft.net>
41542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41546 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41547 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41548 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41549 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41551 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41553 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41554 later. Allow versions 5-9.
41555 * configure: Regenerated.
41556 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41557 required minimum version and 4.6 as recommended version. Do not
41558 mention bugs in GCC 2.7 and 2.8.
41559 * INSTALL: Regenerated.
41561 2012-02-27 David S. Miller <davem@davemloft.net>
41563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41567 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41568 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41569 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41570 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41572 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41573 manipulate bits before adding and subtracting TWO112[sx].
41574 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41576 2012-02-27 Roland McGrath <roland@hack.frob.com>
41579 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41580 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41581 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41582 being in POSIX, because they are in 1003.1-2008.
41584 * rt/tst-aio.c: Include <fcntl.h>.
41585 * rt/tst-aio7.c: Likewise.
41586 * rt/tst-aio64.c: Likewise.
41588 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41590 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41592 * manual/install.texi (--with-headers): Describe headers as
41593 interface headers, not private headers.
41594 (Specific advice for GNU/Linux systems): Describe use of headers
41595 from "make headers_install", not private headers from older
41597 * INSTALL: Regenerated.
41598 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41600 * sysdeps/unix/sysv/linux/configure: Regenerated.
41602 * manual/llio.texi (fclean): Remove documentation.
41604 * manual/Makefile (libc-texi-generated): New variable. Include
41606 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41607 $(libc-texi-generated), not duplicated list of files.
41608 (version.texi, stamp-version): New rules.
41609 (realclean): Remove $(libc-texi-generated), not individual files
41610 from that list. Do not remove dir-add.texinfo.
41611 * manual/libc.texinfo: Comment out uses of edition numbers and
41612 references to printed manual. Remove last-updated dates.
41613 (EDITION): Comment out.
41615 (VERSION, UPDATED): Remove.
41616 (version.texi): Include.
41618 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41620 * sysdeps/posix/spawni.c: Include <signal.h>.
41621 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41622 * sysdeps/pthread/aio_fsync.c: Likewise.
41624 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41626 * conform/Makefile (tests): Run only when not cross-compiling and
41627 when fast-check is not defined.
41629 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41630 * conform/data/limits.h-data: Fixes for POSIX2008.
41631 * conform/run-conformtest.sh: Run all tests.
41632 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41634 * include/bits/dlfcn.h: Likewise.
41635 * include/langinfo.h: Likewise.
41636 * include/monetary.h: Likewise.
41637 * include/sys/poll.h: Likewise.
41639 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41641 * posix/spawn.h: Define __need_sigset_t.
41642 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41643 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41644 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41645 to get sigevent_t only.
41646 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41647 only for __USE_GNU.
41648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41649 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41650 process_vm_writev only for __USE_GNU.
41651 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41653 * conform/Makefile: For now ignore errors from run-conformtest.
41654 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41655 POSIX to avoid namespace pollution. Don't prepend headers.
41656 * conform/data/aio.h-data: Fixes for POSIX testing.
41657 * conform/data/fcntl.h-data: Likewise.
41658 * conform/data/glob.h-data: Likewise.
41659 * conform/data/grp.h-data: Likewise.
41660 * conform/data/pthread.h-data: Likewise.
41661 * conform/data/pwd.h-data: Likewise.
41662 * conform/data/signal.h-data: Likewise.
41663 * conform/data/spawn.h-data: Likewise.
41664 * conform/data/stdio.h-data: Likewise.
41665 * conform/data/stdlib.h-data: Likewise.
41666 * conform/data/stropts.h-data: Likewise.
41667 * conform/data/sys/mman.h-data: Likewise.
41668 * conform/data/sys/stat.h-data: Likewise.
41669 * conform/data/sys/types.h-data: Likewise.
41670 * conform/data/sys/wait.h-data: Likewise.
41671 * conform/data/time.h-data: Likewise.
41672 * conform/data/unistd.h-data: Likewise.
41673 * conform/data/utime.h-data: Likewise.
41675 * io/sys/stat.h: fchmod was always in POSIX.
41676 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41677 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41678 * rt/aio.h: Define __need_timespec before including <time.h>.
41679 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41680 struct. Add forward declaration of pthread_attr_t and use it in
41682 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41684 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41685 always remove CLK_TCK definition.
41687 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41689 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41691 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41693 * conform/run-conformtest.sh: New file.
41694 * conform/Makefile: Run run-conformtest for tests.
41695 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41698 * conform/data/uchar.h-data: New file.
41699 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41700 * conform/data/arpa/inet.h-data: Likewise.
41701 * conform/data/assert.h-data: Likewise.
41702 * conform/data/complex.h-data: Likewise.
41703 * conform/data/cpio.h-data: Likewise.
41704 * conform/data/ctype.h-data: Likewise.
41705 * conform/data/dirent.h-data: Likewise.
41706 * conform/data/dlfcn.h-data: Likewise.
41707 * conform/data/errno.h-data: Likewise.
41708 * conform/data/fcntl.h-data: Likewise.
41709 * conform/data/float.h-data: Likewise.
41710 * conform/data/fmtmsg.h-data: Likewise.
41711 * conform/data/fnmatch.h-data: Likewise.
41712 * conform/data/ftw.h-data: Likewise.
41713 * conform/data/glob.h-data: Likewise.
41714 * conform/data/grp.h-data: Likewise.
41715 * conform/data/iconv.h-data: Likewise.
41716 * conform/data/inttypes.h-data: Likewise.
41717 * conform/data/langinfo.h-data: Likewise.
41718 * conform/data/libgen.h-data: Likewise.
41719 * conform/data/limits.h-data: Likewise.
41720 * conform/data/locale.h-data: Likewise.
41721 * conform/data/math.h-data: Likewise.
41722 * conform/data/monetary.h-data: Likewise.
41723 * conform/data/mqueue.h-data: Likewise.
41724 * conform/data/ndbm.h-data: Likewise.
41725 * conform/data/net/if.h-data: Likewise.
41726 * conform/data/netdb.h-data: Likewise.
41727 * conform/data/netinet/in.h-data: Likewise.
41728 * conform/data/nl_types.h-data: Likewise.
41729 * conform/data/poll.h-data: Likewise.
41730 * conform/data/pthread.h-data: Likewise.
41731 * conform/data/pwd.h-data: Likewise.
41732 * conform/data/regex.h-data: Likewise.
41733 * conform/data/sched.h-data: Likewise.
41734 * conform/data/search.h-data: Likewise.
41735 * conform/data/semaphore.h-data: Likewise.
41736 * conform/data/setjmp.h-data: Likewise.
41737 * conform/data/signal.h-data: Likewise.
41738 * conform/data/spawn.h-data: Likewise.
41739 * conform/data/stdarg.h-data: Likewise.
41740 * conform/data/stdio.h-data: Likewise.
41741 * conform/data/stdlib.h-data: Likewise.
41742 * conform/data/string.h-data: Likewise.
41743 * conform/data/strings.h-data: Likewise.
41744 * conform/data/stropts.h-data: Likewise.
41745 * conform/data/sys/ipc.h-data: Likewise.
41746 * conform/data/sys/mman.h-data: Likewise.
41747 * conform/data/sys/msg.h-data: Likewise.
41748 * conform/data/sys/resource.h-data: Likewise.
41749 * conform/data/sys/select.h-data: Likewise.
41750 * conform/data/sys/sem.h-data: Likewise.
41751 * conform/data/sys/shm.h-data: Likewise.
41752 * conform/data/sys/socket.h-data: Likewise.
41753 * conform/data/sys/stat.h-data: Likewise.
41754 * conform/data/sys/statvfs.h-data: Likewise.
41755 * conform/data/sys/time.h-data: Likewise.
41756 * conform/data/sys/timeb.h-data: Likewise.
41757 * conform/data/sys/times.h-data: Likewise.
41758 * conform/data/sys/types.h-data: Likewise.
41759 * conform/data/sys/uio.h-data: Likewise.
41760 * conform/data/sys/un.h-data: Likewise.
41761 * conform/data/sys/utsname.h-data: Likewise.
41762 * conform/data/sys/wait.h-data: Likewise.
41763 * conform/data/syslog.h-data: Likewise.
41764 * conform/data/tar.h-data: Likewise.
41765 * conform/data/termios.h-data: Likewise.
41766 * conform/data/utime.h-data: Likewise.
41767 * conform/data/utmpx.h-data: Likewise.
41768 * conform/data/varargs.h-data: Likewise.
41769 * conform/data/wchar.h-data: Likewise.
41770 * conform/data/wctype.h-data: Likewise.
41771 * conform/data/wordexp.h-data: Likewise.
41773 * include/stropts.h: New file.
41774 * include/uchar.h: New file.
41775 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41776 * include/assert.h: Likewise.
41777 * include/ctype.h: Likewise.
41778 * include/dirent.h: Likewise.
41779 * include/dlfcn.h: Likewise.
41780 * include/fcntl.h: Likewise.
41781 * include/fnmatch.h: Likewise.
41782 * include/glob.h: Likewise.
41783 * include/grp.h: Likewise.
41784 * include/libio.h: Likewise.
41785 * include/locale.h: Likewise.
41786 * include/math.h: Likewise.
41787 * include/net/if.h: Likewise.
41788 * include/netdb.h: Likewise.
41789 * include/netinet/in.h: Likewise.
41790 * include/pthread.h: Likewise.
41791 * include/pwd.h: Likewise.
41792 * include/regex.h: Likewise.
41793 * include/sched.h: Likewise.
41794 * include/search.h: Likewise.
41795 * include/setjmp.h: Likewise.
41796 * include/signal.h: Likewise.
41797 * include/stdio.h: Likewise.
41798 * include/stdlib.h: Likewise.
41799 * include/string.h: Likewise.
41800 * include/sys/cdefs.h: Likewise.
41801 * include/sys/mman.h: Likewise.
41802 * include/sys/msg.h: Likewise.
41803 * include/sys/resource.h: Likewise.
41804 * include/sys/select.h: Likewise.
41805 * include/sys/socket.h: Likewise.
41806 * include/sys/stat.h: Likewise.
41807 * include/sys/statvfs.h: Likewise.
41808 * include/sys/time.h: Likewise.
41809 * include/sys/times.h: Likewise.
41810 * include/sys/uio.h: Likewise.
41811 * include/sys/utsname.h: Likewise.
41812 * include/sys/wait.h: Likewise.
41813 * include/termios.h: Likewise.
41814 * include/time.h: Likewise.
41815 * include/ulimit.h: Likewise.
41816 * include/unistd.h: Likewise.
41817 * include/utime.h: Likewise.
41818 * include/wchar.h: Likewise.
41819 * include/wctype.h: Likewise.
41820 * include/wordexp.h: Likewise.
41822 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41824 * time/time.h: TIME_UTC must be a macro.
41825 Make timespec_get available for ISO C11 only as well.
41827 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41829 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41830 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41832 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41834 * configure.in: Use -o not -a in test for unsupported multi-arch.
41836 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41838 * manual/texinfo.tex: Update to version 2012-01-19.16.
41840 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41842 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41844 2012-02-24 Roland McGrath <roland@hack.frob.com>
41847 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41848 * manual/fdl-1.3.texi: New file.
41849 * manual/fdl-1.1.texi: File removed.
41852 * manual/libc.texinfo (FDL_VERSION): New @set.
41853 Use it for mention of FDL in cover text.
41854 (Documentation License): Use it in @include file name.
41856 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41857 Roland McGrath <roland@hack.frob.com>
41860 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41861 (not LONG_LONG_MAX and LONG_LONG_MIN.
41862 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41863 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41865 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41867 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41871 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41872 manipulate bits before adding and subtracting TWO23[sx].
41873 * math/libm-test.inc (nearbyint_test): Add more tests.
41875 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41878 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41879 bits before adding and subtracting TWO23[sx].
41880 * math/libm-test.inc (rint_test): Add more tests.
41881 (rint_test_tonearest): Likewise.
41882 (rint_test_towardzero): Likewise.
41883 (rint_test_downward): Likewise.
41884 (rint_test_upward: Likewise.
41886 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41889 * include/stdc-predef.h: New file. Extracted from features.h.
41890 * include/features.h: Include stdc-predef.h.
41891 * Makefile (headers): Add stdc-predef.h.
41892 * CONFORMANCE (Compiler limitations): Update.
41894 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41896 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41898 2012-02-21 David S. Miller <davem@davemloft.net>
41900 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41901 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41903 2012-02-20 David S. Miller <davem@davemloft.net>
41905 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41906 using a normal save/restore sequence, rather than allocating a
41907 dummy stack frame just to store a frame pointer and restore.
41908 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41910 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41912 * manual/install.texi: Fix stray word in line-wrapped comment.
41914 2012-02-20 David S. Miller <davem@davemloft.net>
41916 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41917 both binutils and gcc support GOTDATA.
41919 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41920 "rd %pc" in the PIC register setup sequences.
41922 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41923 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41924 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41925 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41926 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41927 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41931 (SYSCALL_ERROR_HANDLER): Likewise.
41932 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41933 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41935 (SYSCALL_ERROR_HANDLER): Likewise.
41937 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41938 (HAVE_GCC_GOTDATA): New.
41939 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41940 relocation support in both binutils and gcc.
41941 * sysdeps/sparc/elf/configure: Regenerate.
41943 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41944 * sysdeps/sparc/sparc32/elf/configure: Delete.
41945 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41946 * sysdeps/sparc/sparc64/elf/configure: Delete.
41947 * sysdeps/sparc/elf/configure.in: New file.
41948 * sysdeps/sparc/elf/configure: Generate.
41950 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41951 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41952 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41953 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41954 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41956 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41958 * manual/install.texi: Do not mention specific glibc version
41960 * manual/libc.texinfo (VERSION, UPDATED): Update.
41961 (@copying): Use @copyright{} and range of years.
41963 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41966 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41967 [crti.S not in sysdirs] (generated): Do not append.
41968 [crti.S not in sysdirs] (omit-deps): Likewise.
41969 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41970 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41971 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41972 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41973 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41975 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41976 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41977 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41978 * csu/defs.awk: Remove file.
41979 * sysdeps/generic/initfini.c: Likewise.
41980 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41982 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41985 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41987 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41988 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41989 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41990 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41991 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41992 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41994 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41995 (__EPOLL_PACKED): Define to empty if not defined by
41997 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42001 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42003 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42004 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42005 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42006 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42008 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42012 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42014 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42017 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42018 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42021 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42026 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42028 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42029 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42031 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42033 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42036 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42038 * math/w_acos.c: Use non-signaling floating-point comparisons.
42039 * math/w_acosf.c: Likewise.
42040 * math/w_acosh.c: Likewise.
42041 * math/w_acoshf.c: Likewise.
42042 * math/w_acoshl.c: Likewise.
42043 * math/w_acosl.c: Likewise.
42044 * math/w_asin.c: Likewise.
42045 * math/w_asinf.c: Likewise.
42046 * math/w_asinl.c: Likewise.
42047 * math/w_atanh.c: Likewise.
42048 * math/w_atanhf.c: Likewise.
42049 * math/w_atanhl.c: Likewise.
42050 * math/w_exp2.c: Likewise.
42051 * math/w_exp2f.c: Likewise.
42052 * math/w_exp2l.c: Likewise.
42053 * math/w_j0.c: Likewise.
42054 * math/w_j0f.c: Likewise.
42055 * math/w_j0l.c: Likewise.
42056 * math/w_j1.c: Likewise.
42057 * math/w_j1f.c: Likewise.
42058 * math/w_j1l.c: Likewise.
42059 * math/w_jn.c: Likewise.
42060 * math/w_jnf.c: Likewise.
42061 * math/w_log.c: Likewise.
42062 * math/w_log10.c: Likewise.
42063 * math/w_log10f.c: Likewise.
42064 * math/w_log10l.c: Likewise.
42065 * math/w_log2.c: Likewise.
42066 * math/w_log2f.c: Likewise.
42067 * math/w_log2l.c: Likewise.
42068 * math/w_logf.c: Likewise.
42069 * math/w_logl.c: Likewise.
42070 * math/w_sqrt.c: Likewise.
42071 * math/w_sqrtf.c: Likewise.
42072 * math/w_sqrtl.c: Likewise.
42073 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42074 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42075 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42076 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42077 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42079 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42082 * manual/string.texi (strnlen): Use correct parameter name in
42083 equivalent expression.
42085 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42088 * manual/users.texi (seteuid): Consistently use neweuid for
42091 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42094 * manual/nss.texi (Services in the NSS configuration): Correct
42095 list of services in example configuration file.
42097 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42100 * manual/arith.texi: Remove statements about negative zero
42101 behaving identically to zero.
42103 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42106 * manual/install.texi: Do not document upgrading from libc5.
42108 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42111 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42113 2012-02-18 David S. Miller <davem@davemloft.net>
42115 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42116 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42117 %o7 across the call.
42118 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42121 SETUP_PIC_REG_LEAF.
42122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42123 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42124 * sysdeps/sparc/crtn.S: Likewise.
42126 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42128 * aout/Makefile: Remove.
42130 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42133 * manual/examples/argp-ex1.c (main): Format definition in GNU
42135 * manual/examples/argp-ex2.c (main): Likewise.
42136 * manual/examples/argp-ex3.c (main): Likewise.
42137 * manual/examples/argp-ex4.c (main): Likewise.
42138 * manual/examples/longopt.c (main): Use new-style prototype
42140 * manual/examples/strncat.c (main): Specify return type and use
42141 (void) for arguments.
42142 * manual/examples/subopt.c (main): Use char **argv argument.
42144 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42147 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42150 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42153 * manual/string.texi (strchr): Change when strchrnul is
42156 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42159 * manual/locale.texi (setlocale): Document LOCPATH.
42161 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42164 * manual/process.texi (execle): Move @dots{} before last argument.
42166 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42169 * manual/charset.texi (Generic Charset Conversion): Fix typo
42170 (LC_TYPE -> LC_CTYPE).
42172 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42175 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42176 (scalbnf): Likewise.
42177 (scalbnl): Likewise.
42178 (scalbln): Likewise.
42179 (scalblnf): Likewise.
42180 (scalblnl): Likewise.
42181 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42182 (vwarnx): Likewise.
42185 * manual/filesys.texi (telldir): Use braces around return type.
42186 * manual/llio.texi (mmap): Add space after comma.
42187 (mmap64): Likewise.
42188 * manual/math.texi (jn): Use @var{} on parameter names.
42194 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42196 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42198 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42199 (sched_get_priority_max): Likewise.
42200 * manual/signal.texi (sigvec): Add space after comma.
42201 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42203 (if_indextoname): Likewise.
42204 (if_freenameindex): Likewise.
42205 (sendto): Use ',' instead of '.' in prototype.
42206 * manual/startup.texi (syscall): Use @dots{} instead of literal
42208 * manual/stdio.texi (__fpending): Separate initial words of
42209 paragraph from @deftypefun line.
42210 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42212 (vsyslog): Use @var{} on parameter names.
42213 * manual/terminal.texi (stty): Use @var{} on parameter names.
42214 * manual/users.texi (getutmp): Use @var{} on parameter names.
42215 (getutmpx): Likewise.
42217 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42220 * manual/stdio.texi (fopen): Fix typos in description of
42223 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42226 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42227 get clock_id definition.
42229 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42232 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42233 (madvise): Cast every argument to void on its own.
42235 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42238 * manual/startup.texi (Exit Status): Fix typo.
42240 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42243 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42244 * manual/examples/argp-ex2.c: Likewise.
42245 * manual/examples/argp-ex3.c: Likewise.
42247 2012-02-16 Richard Henderson <rth@redhat.com>
42249 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42250 * sysdeps/s390/s390-32/initfini.c: Remove.
42251 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42252 * sysdeps/s390/s390-64/initfini.c: Remove.
42254 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42256 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42257 compiler output for sysdeps/generic/initfini.c.
42258 * sysdeps/sh/elf/initfini.c: Remove file.
42260 2012-02-16 David S. Miller <davem@davemloft.net>
42263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42265 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42266 * sysdeps/sparc/crti.S: New file.
42267 * sysdeps/sparc/crtn.S: New file.
42268 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42269 * sysdeps/sparc/sparc64/Makefile: Likewise.
42271 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42274 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42276 2012-02-15 Roland McGrath <roland@hack.frob.com>
42279 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42281 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42282 (write, read, close): Likewise.
42283 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42285 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42287 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42288 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42289 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42290 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42292 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42296 2012-02-14 Marek Polacek <polacek@redhat.com>
42298 * sysdeps/x86_64/crti.S: New file.
42299 * sysdeps/x86_64/crtn.S: New file.
42300 * sysdeps/x86_64/elf/initfini.c: Remove file.
42302 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42304 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42305 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42306 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42307 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42309 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42313 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42315 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42316 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42317 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42318 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42320 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42324 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42326 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42327 __feraiseexcept instead of feraiseexcept.
42329 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42330 nanosleep invocations.
42331 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42332 strings, and add error checking for a nanosleep invocations.
42334 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42336 Replace FSF snail mail address with URLs, as per GNU coding standards.
42337 Most of the snail mail addresses were wrong anyway, and omitting
42338 them makes the source code easier to maintain. Almost all of the
42339 changes are to license notices and to locale LC_IDENTIFICATION
42340 addresses, except for this one:
42341 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42342 not its snail mail address.
42344 2012-02-09 Richard Henderson <rth@twiddle.net>
42346 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42347 of kernel-features.h.
42349 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42351 2012-02-08 Marek Polacek <polacek@redhat.com>
42353 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42354 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42355 * sysdeps/gnu/_G_config.h: Likewise.
42356 * sysdeps/generic/_G_config.h: Likewise.
42358 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42360 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42364 * sysdeps/powerpc/powerpc32/crti.S: New file.
42365 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42366 * sysdeps/powerpc/powerpc64/crti.S: New file.
42367 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42369 * Makeconfig (have-initfini): Don't set.
42370 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42371 * configure.in (nopic_initfini): Don't substitute.
42372 * config.h.in (HAVE_INITFINI): Don't #undef.
42373 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42374 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42376 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42378 Support crti.S and crtn.S provided directly by architectures.
42379 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42380 [crti.S in sysdirs] (omit-deps): Likewise.
42381 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42382 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42383 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42384 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42385 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42386 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42387 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42388 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42389 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42390 compiler output for sysdeps/generic/initfini.c.
42391 * sysdeps/i386/elf/Makefile: Remove file.
42392 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42394 2012-02-07 Marek Polacek <polacek@redhat.com>
42396 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42397 * sysdeps/gnu/_G_config.h: Likewise.
42398 * sysdeps/mach/hurd/_G_config.h: Likewise.
42400 2012-02-07 Marek Polacek <polacek@redhat.com>
42402 * math/Makefile (tests): Add tst-CMPLX2.
42403 * math/tst-CMPLX2.c: New file.
42405 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42407 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42409 * math/libm-test.inc (jn_test): Add missing L suffix.
42411 2012-02-06 Marek Polacek <polacek@redhat.com>
42413 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42414 * sysdeps/i386/fpu/e_powf.S: Likewise.
42415 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42416 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42417 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42418 * sysdeps/i386/fpu/e_pow.S: Likewise.
42419 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42420 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42421 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42422 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42423 * sysdeps/i386/fpu/e_log2.S: Likewise.
42424 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42425 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42426 * sysdeps/i386/fpu/e_powl.S: Likewise.
42427 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42428 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42429 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42430 * sysdeps/i386/fpu/e_logl.S: Likewise.
42431 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42432 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42433 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42434 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42435 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42436 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42437 * sysdeps/i386/fpu/e_log.S: Likewise.
42438 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42440 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42441 * sysdeps/i386/fpu/e_logf.S: Likewise.
42442 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42443 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42444 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42445 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42446 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42447 * sysdeps/i386/fpu/e_log10.S: Likewise.
42448 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42449 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42450 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42451 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42452 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42453 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42454 * sysdeps/i386/asm-syntax.h: Likewise.
42455 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42456 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42457 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42458 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42459 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42460 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42461 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42462 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42463 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42464 * sysdeps/powerpc/sysdep.h: Likewise.
42465 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42466 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42468 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42471 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42473 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42475 * sysdeps/i386/sysdep.h: Include <features.h>.
42476 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42479 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42481 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42483 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42486 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42488 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42489 (SETUP_PIC_REG): Use GET_PC_THUNK.
42490 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42493 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42495 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42496 for non-PIC compilation.
42497 (SETUP_PIC_REG): Add .p2align directive.
42498 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42499 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42500 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42501 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42502 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42503 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42506 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42507 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42508 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42509 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42510 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42511 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42512 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42513 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42514 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42515 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42516 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42517 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42518 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42520 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42521 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42522 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42524 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42525 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42526 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42527 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42528 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42530 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42531 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42532 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42533 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42534 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42535 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42536 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42537 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42538 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42540 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42542 * math/tst-CMPLX.c: Include <stdio.h>.
42544 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42546 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42548 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42549 * sysdeps/sparc/bits/mathdef.h: Likewise.
42551 2012-01-31 Marek Polacek <polacek@redhat.com>
42553 * libio/libio.h: Don't define _PARAMS.
42554 * locale/programs/config.h: Don't define PARAMS.
42555 * stdlib/strtol_l.c: Likewise.
42556 (__strtol_l): Remove PARAMS from the prototype.
42558 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42560 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42561 names. Just use the correct names. Remove unnecessary wrapper
42563 * malloc/arena.c: Likewise.
42564 * malloc/hooks.c: Likewise.
42566 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42567 ARENA_TEST says not to. Simplify test for creation of a new arena.
42568 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42570 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42572 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42574 (update_get_addr): New function.
42575 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42576 GET_ADDR_MODULE parameter.
42578 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42580 * crypt/cert.c: Remove __STDC__ conditionals.
42581 * crypt/crypt-entry.c: Likewise.
42582 * crypt/crypt_util.c: Likewise.
42583 * libio/filedoalloc.c: Likewise.
42584 * libio/fileops.c: Likewise.
42585 * libio/genops.c: Likewise.
42586 * libio/iofclose.c: Likewise.
42587 * libio/iofdopen.c: Likewise.
42588 * libio/iofopen.c: Likewise.
42589 * libio/iofopen64.c: Likewise.
42590 * libio/iogetdelim.c: Likewise.
42591 * libio/iopopen.c: Likewise.
42592 * libio/obprintf.c: Likewise.
42593 * libio/oldfileops.c: Likewise.
42594 * libio/oldiofclose.c: Likewise.
42595 * libio/oldiofdopen.c: Likewise.
42596 * libio/oldiofopen.c: Likewise.
42597 * libio/oldiopopen.c: Likewise.
42598 * libio/wfiledoalloc.c: Likewise.
42599 * libio/wgenops.c: Likewise.
42600 * locale/programs/xmalloc.c: Likewise.
42601 * misc/syslog.c: Likewise.
42602 * stdio-common/xbug.c: Likewise.
42603 * string/memchr.c: Likewise.
42604 * string/memcmp.c: Likewise.
42605 * string/memrchr.c: Likewise.
42606 * string/rawmemchr.c: Likewise.
42607 * sysdeps/posix/getcwd.c: Likewise.
42608 * time/strftime_l.c: Likewise.
42610 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42612 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42613 * config.make.in (config-cflags-sse2avx): Define.
42614 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42617 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42619 * scripts/config.guess: Update from upstream config git repository.
42620 * scripts/config.sub: Likewise.
42622 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42624 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42626 (R_TILEPRO_*, R_TILEGX_*): New macros.
42628 * scripts/firstversions.awk: Fix bug in version range handling.
42630 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42632 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42634 * include/sys/epoll.h: New file.
42635 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42638 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42640 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42641 Avoid unnecessary __WORDSIZE == 64 test.
42642 (fmaxf): Use VEX format if possible.
42647 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42648 * math/math_private.h: Remove libc_fegetround* and
42650 * sysdeps/i386/configure.in: Check for -msse2avx.
42651 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42652 also if SSE2AVX is defined.
42653 Remove libc_fegetround* and libc_fesetround*.
42654 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42655 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42659 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42662 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42664 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42666 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42668 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42670 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42672 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42675 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42677 * Makeconfig (libm): Define.
42678 * elf/Makefile: Add rules to build and run tst-relsort1.
42679 * elf/tst-relsort1.c: New file.
42680 * elf/tst-relsort1mod1.c: New file.
42681 * elf/tst-relsort1mod2.c: New file.
42683 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42685 * math/s_ldexp.c: Remove __STDC__ conditionals.
42686 * math/s_ldexpf.c: Likewise.
42687 * math/s_ldexpl.c: Likewise.
42688 * math/s_nextafter.c: Likewise.
42689 * math/s_nexttowardf.c: Likewise.
42690 * math/s_significand.c: Likewise.
42691 * math/s_significandf.c: Likewise.
42692 * math/s_significandl.c: Likewise.
42693 * math/w_jnl.c: Likewise.
42694 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42695 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42696 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42697 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42698 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42700 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42702 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42703 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42704 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42705 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42706 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42707 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42709 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42710 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42711 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42712 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42715 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42716 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42718 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42719 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42720 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42721 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42722 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42723 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42724 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42725 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42726 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42727 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42728 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42729 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42730 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42731 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42732 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42733 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42734 * sysdeps/ieee754/k_standard.c: Likewise.
42735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42736 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42742 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42743 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42757 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42759 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42760 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42767 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42771 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42773 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42774 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42779 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42780 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42782 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42783 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42784 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42788 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42789 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42791 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42792 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42793 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42794 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42796 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42797 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42798 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42801 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42803 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42804 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42805 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42807 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42808 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42809 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42810 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42812 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42814 * sysdeps/ieee754/s_matherr.c: Likewise.
42815 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42816 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42820 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42822 * crypt/md5.h: Remove __STDC__ conditionals.
42823 * libio/libioP.h: Likewise.
42824 * locale/programs/config.h: Likewise.
42825 * sysdeps/generic/sysdep.h: Likewise.
42826 * sysdeps/i386/asm-syntax.h: Likewise.
42827 * sysdeps/s390/asm-syntax.h: Likewise.
42828 * sysdeps/unix/sysdep.h: Likewise.
42829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42832 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42834 * libio/libio.h: Remove __STDC__ conditionals.
42835 * malloc/obstack.h: Likewise.
42836 * math/complex.h: Likewise.
42837 * math/math.h: Likewise.
42838 * sysdeps/generic/_G_config.h: Likewise.
42839 * sysdeps/gnu/_G_config.h: Likewise.
42840 * sysdeps/mach/hurd/_G_config.h: Likewise.
42841 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42842 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42843 * sysdeps/sparc/bits/mathdef.h: Likewise.
42845 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42848 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42849 Clean up HAS_* macros.
42850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42851 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42856 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42859 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42861 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42863 * elf/tst-unique3.cc (gets): Remove declaration.
42864 * elf/tst-unique3lib.cc (gets): Likewise.
42865 * elf/tst-unique3lib2.cc (gets): Likewise.
42866 * elf/tst-unique4.cc (gets): Likewise.
42868 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42870 * include/stdio.h: Add C++ protection. Add gets declarations and
42872 * debug/tst-chk1.c: Don't declare gets here.
42873 * stdio-common/tst-gets.c: Likewise.
42875 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42877 * posix/glob: Remove directory.
42879 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42881 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42883 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42885 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42886 of the non-standard EPFNOSUPPORT.
42888 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42890 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42891 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42892 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42894 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42896 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42898 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42900 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42902 * nscd/grpcache.c (cache_addgr): Likewise.
42903 * nscd/hstcache.c (cache_addhst): Likewise.
42904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42905 * nscd/pwdcache.c (cache_addpw): Likewise.
42906 * nscd/servicescache.c (cache_addserv): Likewise.
42908 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42910 * malloc/malloc.c: Various cleanups.
42911 * malloc/hooks.c: Likewise.
42913 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42914 * stdlib/bug-fmtmsg1.c: New file.
42916 * stdlib/fmtmsg.c (init): Add missing unlock.
42917 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42919 2012-01-12 Marek Polacek <polacek@redhat.com>
42921 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42924 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42926 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42927 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42928 macro to ensure uniqueness of label name.
42929 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42930 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42932 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42934 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42936 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42937 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42938 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42941 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42943 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42945 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42946 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42947 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42949 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42951 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42952 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42953 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42956 * math/bits/math-finite.h: Add ldexp support.
42958 2012-01-10 Marek Polacek <polacek@redhat.com>
42960 * locale/programs/localedef.h (show_archive_content): Add noreturn
42963 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42965 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42967 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42969 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42971 * io/Makefile (headers): Add bits/poll2.h.
42973 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42976 typo #include statement.
42978 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42980 * include/sys/cdefs.h: Define __attribute_alloc_size.
42981 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42982 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42983 * elf/pldd.c: Likewise.
42984 * iconv/iconv_charmap.c: Likewise.
42985 * iconv/iconvconfig.c: Likewise.
42986 * iconv/strtab.c: Likewise.
42987 * locale/programs/locale.c: Likewise.
42988 * locale/programs/localedef.h: Likewise.
42989 * locale/programs/simple-hash.c: Likewise.
42990 * nscd/nscd.h: Likewise.
42991 * nss/makedb.c: Likewise.
42992 * sysdeps/generic/ldconfig.h: Likewise.
42993 * locale/programs/localedef.c: Remove xmalloc prototype.
42994 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42996 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42998 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43001 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43003 * math/Makefile (tests): Add tst-CMPLX.
43004 * math/tst-CMPLX.c: New file.
43006 * math/complex.h (CMPLXL): Fix typo.
43008 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43009 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43011 * debug/tst-chk1.c: Add poll and ppoll tests.
43012 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43013 * include/sys/poll.h: Add hidden proto for ppoll.
43014 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43015 * sysdeps/mach/hurd/ppoll.c: Likewise.
43016 * io/ppoll.c: Likewise.
43017 * debug/poll_chk.c: New file.
43018 * debug/ppoll_chk.c: New file.
43019 * include/bits/poll2.h: New file.
43020 * io/bits/poll2.h: New file.
43023 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43025 * configure.in: static is always set to yes. Remove.
43026 * config.make.in: Don't set build-static.
43027 * Makeconfig: Remove use of build-static.
43028 * dlfcn/Makefile: Likewise.
43029 * elf/Makefile: Likewise.
43030 * math/Makefile: Likewise.
43031 * misc/Makefile: Likewise.
43032 * nptl/Makefile: Likewise.
43033 * sysdeps/mach/hurd/Makefile: Likewise.
43035 * configure.in: PWD_P is not used anymore.
43036 * config.make.in: Remove PWD_P entry.
43038 * configure.in: Remove last remnants of RANLIB.
43039 No need to check for signed size_t anymore.
43040 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43042 Remove __builtin_expect test because we require at least gcc 3.4.
43043 * aclocal.m4: Likewise.
43045 * wcsmbs/mbrtoc16.c: Implement using towc function.
43046 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43047 * wcsmbs/wcsmbsload.c: Likewise.
43048 * iconv/gconv_simple.c: Likewise.
43049 * iconv/gconv_int.h: Likewise.
43050 * iconv/gconv_builtin.h: Likewise.
43051 * iconv/iconv_prog.c: Remove CHAR16 handling.
43053 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43055 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43057 * configure.in: Remove --with-elf and --enable-bounded options.
43058 Dont set base_machine for ia64. More non-ELF conditions removed.
43059 Remove testing and setting of leading underscore information.
43060 * config.make.in (build-bounded): Set to no.
43061 * config.h.in: Remove NO_UNDERSCORES entry.
43062 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43064 * csu/start.c: Remove !NO_UNDERSCORE code.
43065 * locale/localeinfo.h: Likewise.
43066 * sysdeps/generic/machine-gmon.h: Likewise.
43067 * sysdeps/generic/sysdep.h: Likewise.
43068 * sysdeps/i386/sysdep.h: Likewise.
43069 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43070 * sysdeps/mach/sysdep.h: Likewise.
43071 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43072 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43073 * sysdeps/sh/sysdep.h: Likewise.
43074 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43075 * sysdeps/unix/i386/sysdep.S: Likewise.
43076 * sysdeps/unix/sparc/start.c: Likewise.
43077 * sysdeps/unix/sparc/sysdep.S: Likewise.
43078 * sysdeps/unix/sparc/sysdep.h: Likewise.
43079 * sysdeps/unix/start.c: Likewise.
43080 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43081 * sysdeps/x86_64/sysdep.h: Likewise.
43083 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43086 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43088 * argp/argp-fmtstream.h: Use const instead __const.
43089 * argp/argp.h: Likewise.
43090 * assert/assert.h: Likewise.
43091 * bits/fenv.h: Likewise.
43092 * bits/sched.h: Likewise.
43093 * bits/sigset.h: Likewise.
43094 * bits/sigthread.h: Likewise.
43095 * catgets/nl_types.h: Likewise.
43096 * conform/data/pthread.h-data: Likewise.
43097 * crypt/crypt-private.h: Likewise.
43098 * crypt/crypt.h: Likewise.
43099 * crypt/crypt_util.c: Likewise.
43100 * ctype/ctype.h: Likewise.
43101 * debug/execinfo.h: Likewise.
43102 * debug/mbsnrtowcs_chk.c: Likewise.
43103 * debug/mbsrtowcs_chk.c: Likewise.
43104 * debug/wcsnrtombs_chk.c: Likewise.
43105 * debug/wcsrtombs_chk.c: Likewise.
43106 * debug/wcstombs_chk.c: Likewise.
43107 * dirent/dirent.h: Likewise.
43108 * dlfcn/dlfcn.h: Likewise.
43109 * elf/neededtest4.c: Likewise.
43110 * grp/grp.h: Likewise.
43111 * gshadow/gshadow.h: Likewise.
43112 * iconv/gconv.h: Likewise.
43113 * iconv/gconv_int.h: Likewise.
43114 * iconv/gconv_simple.c: Likewise.
43115 * iconv/iconv.h: Likewise.
43116 * iconv/loop.c: Likewise.
43117 * iconv/skeleton.c: Likewise.
43118 * include/aio.h: Likewise.
43119 * include/aliases.h: Likewise.
43120 * include/argz.h: Likewise.
43121 * include/arpa/inet.h: Likewise.
43122 * include/assert.h: Likewise.
43123 * include/dirent.h: Likewise.
43124 * include/dlfcn.h: Likewise.
43125 * include/execinfo.h: Likewise.
43126 * include/fcntl.h: Likewise.
43127 * include/fenv.h: Likewise.
43128 * include/glob.h: Likewise.
43129 * include/grp.h: Likewise.
43130 * include/libintl.h: Likewise.
43131 * include/mntent.h: Likewise.
43132 * include/netdb.h: Likewise.
43133 * include/pwd.h: Likewise.
43134 * include/rpc/netdb.h: Likewise.
43135 * include/sched.h: Likewise.
43136 * include/search.h: Likewise.
43137 * include/shadow.h: Likewise.
43138 * include/signal.h: Likewise.
43139 * include/stdio.h: Likewise.
43140 * include/stdlib.h: Likewise.
43141 * include/string.h: Likewise.
43142 * include/sys/socket.h: Likewise.
43143 * include/sys/stat.h: Likewise.
43144 * include/sys/statfs.h: Likewise.
43145 * include/sys/statvfs.h: Likewise.
43146 * include/sys/syslog.h: Likewise.
43147 * include/sys/time.h: Likewise.
43148 * include/sys/uio.h: Likewise.
43149 * include/time.h: Likewise.
43150 * include/unistd.h: Likewise.
43151 * include/utmp.h: Likewise.
43152 * include/wchar.h: Likewise.
43153 * include/wctype.h: Likewise.
43154 * inet/aliases.h: Likewise.
43155 * inet/arpa/inet.h: Likewise.
43156 * inet/netinet/ether.h: Likewise.
43157 * inet/netinet/in.h: Likewise.
43158 * intl/libintl.h: Likewise.
43159 * io/bits/fcntl2.h: Likewise.
43160 * io/fcntl.h: Likewise.
43161 * io/ftw.h: Likewise.
43162 * io/sys/poll.h: Likewise.
43163 * io/sys/stat.h: Likewise.
43164 * io/sys/statfs.h: Likewise.
43165 * io/sys/statvfs.h: Likewise.
43166 * io/utime.h: Likewise.
43167 * libio/bits/stdio.h: Likewise.
43168 * libio/bits/stdio2.h: Likewise.
43169 * libio/libio.h: Likewise.
43170 * libio/libioP.h: Likewise.
43171 * libio/stdio.h: Likewise.
43172 * locale/lc-ctype.c: Likewise.
43173 * locale/locale.h: Likewise.
43174 * login/utmp.h: Likewise.
43175 * malloc/arena.c: Likewise.
43176 * malloc/malloc.c: Likewise.
43177 * malloc/malloc.h: Likewise.
43178 * malloc/mcheck.c: Likewise.
43179 * malloc/mtrace.c: Likewise.
43180 * math/bits/mathcalls.h: Likewise.
43181 * math/fenv.h: Likewise.
43182 * math/math_private.h: Likewise.
43183 * misc/bits/error.h: Likewise.
43184 * misc/bits/syslog.h: Likewise.
43185 * misc/err.h: Likewise.
43186 * misc/error.h: Likewise.
43187 * misc/fstab.h: Likewise.
43188 * misc/mntent.h: Likewise.
43189 * misc/regexp.h: Likewise.
43190 * misc/search.h: Likewise.
43191 * misc/sgtty.h: Likewise.
43192 * misc/sys/mman.h: Likewise.
43193 * misc/sys/syslog.h: Likewise.
43194 * misc/sys/uio.h: Likewise.
43195 * misc/sys/xattr.h: Likewise.
43196 * misc/ttyent.h: Likewise.
43197 * nis/rpcsvc/ypclnt.h: Likewise.
43198 * nss/nss.h: Likewise.
43199 * posix/bits/unistd.h: Likewise.
43200 * posix/fnmatch.h: Likewise.
43201 * posix/glob.h: Likewise.
43202 * posix/sched.h: Likewise.
43203 * posix/spawn.h: Likewise.
43204 * posix/sys/wait.h: Likewise.
43205 * posix/unistd.h: Likewise.
43206 * posix/wordexp.h: Likewise.
43207 * pwd/pwd.h: Likewise.
43208 * resolv/netdb.h: Likewise.
43209 * resource/sys/resource.h: Likewise.
43210 * rt/aio.h: Likewise.
43211 * rt/bits/mqueue2.h: Likewise.
43212 * rt/mqueue.h: Likewise.
43213 * shadow/shadow.h: Likewise.
43214 * signal/signal.h: Likewise.
43215 * socket/send.c: Likewise.
43216 * socket/sendto.c: Likewise.
43217 * socket/sys/socket.h: Likewise.
43218 * stdio-common/printf.h: Likewise.
43219 * stdlib/bits/stdlib.h: Likewise.
43220 * stdlib/fmtmsg.h: Likewise.
43221 * stdlib/monetary.h: Likewise.
43222 * stdlib/stdlib.h: Likewise.
43223 * stdlib/ucontext.h: Likewise.
43224 * streams/stropts.h: Likewise.
43225 * string/argz.h: Likewise.
43226 * string/bits/string2.h: Likewise.
43227 * string/string.h: Likewise.
43228 * string/strings.h: Likewise.
43229 * sunrpc/rpc/auth.h: Likewise.
43230 * sunrpc/rpc/auth_des.h: Likewise.
43231 * sunrpc/rpc/clnt.h: Likewise.
43232 * sunrpc/rpc/netdb.h: Likewise.
43233 * sunrpc/rpc/pmap_clnt.h: Likewise.
43234 * sunrpc/rpc/xdr.h: Likewise.
43235 * sysdeps/generic/inttypes.h: Likewise.
43236 * sysdeps/generic/net/if.h: Likewise.
43237 * sysdeps/generic/sys/swap.h: Likewise.
43238 * sysdeps/gnu/net/if.h: Likewise.
43239 * sysdeps/gnu/utmpx.h: Likewise.
43240 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43241 * sysdeps/i386/i486/bits/string.h: Likewise.
43242 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43243 * sysdeps/s390/bits/string.h: Likewise.
43244 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43245 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43246 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43247 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43248 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43249 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43250 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43251 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43252 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43253 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43254 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43255 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43256 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43257 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43258 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43259 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43260 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43262 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43263 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43264 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43265 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43266 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43267 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43268 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43269 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43270 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43271 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43272 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43273 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43274 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43275 * sysvipc/sys/ipc.h: Likewise.
43276 * sysvipc/sys/msg.h: Likewise.
43277 * sysvipc/sys/sem.h: Likewise.
43278 * sysvipc/sys/shm.h: Likewise.
43279 * termios/termios.h: Likewise.
43280 * time/sys/time.h: Likewise.
43281 * time/time.h: Likewise.
43282 * wcsmbs/bits/wchar2.h: Likewise.
43283 * wcsmbs/uchar.h: Likewise.
43284 * wcsmbs/wchar.h: Likewise.
43285 * wctype/wctype.h: Likewise.
43288 * Makeconfig: Remove all but ELF support including AIX support.
43289 * Makerules: Likewise.
43290 * config.h.in: Likewise.
43291 * config.make.in: Likewise.
43292 * configure: Likewise.
43293 * configure.in: Likewise.
43294 * csu/Makefile: Likewise.
43295 * csu/version.c: Likewise.
43296 * debug/Makefile: Likewise.
43297 * dlfcn/Makefile: Likewise.
43298 * elf/Makefile: Likewise.
43299 * extra-lib.mk: Likewise.
43300 * iconv/Makefile: Likewise.
43301 * include/libc-symbols.h: Likewise.
43302 * include/shlib-compat.h: Likewise.
43303 * resolv/Makefile: Likewise.
43304 * resolv/res_libc.c: Likewise.
43305 * rt/Makefile: Likewise.
43306 * sysdeps/i386/asm-syntax.h: Likewise.
43307 * sysdeps/i386/sysdep.h: Likewise.
43308 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43309 * sysdeps/mach/sysdep.h: Likewise.
43310 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43311 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43312 * sysdeps/s390/asm-syntax.h: Likewise.
43313 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43315 * sysdeps/sh/sysdep.h: Likewise.
43316 * sysdeps/unix/sparc/sysdep.h: Likewise.
43317 * sysdeps/wordsize-32/divdi3.c: Likewise.
43318 * sysdeps/x86_64/sysdep.h: Likewise.
43320 * argp/Versions: Remove _argp_unlock_xxx.
43323 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43324 * abilist/libBrokenLocale.abilist: Likewise.
43325 * abilist/libanl.abilist: Likewise.
43326 * abilist/libc.abilist: Likewise.
43327 * abilist/libcrypt.abilist: Likewise.
43328 * abilist/libdl.abilist: Likewise.
43329 * abilist/libm.abilist: Likewise.
43330 * abilist/libnsl.abilist: Likewise.
43331 * abilist/libpthread.abilist: Likewise.
43332 * abilist/libresolv.abilist: Likewise.
43333 * abilist/librt.abilist: Likewise.
43334 * abilist/libthread_db.abilist: Likewise.
43335 * abilist/libutil.abilist: Likewise.
43336 * abilist/libnss_db.abilist: New file.
43338 * scripts/abilist.awk: Add support for indirect functions.
43340 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43342 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43344 * shlib-versions: Remove entries for ports architectures.
43346 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43348 * elf/stackguard-macros.h: Remove support for IA-64.
43349 * elf/tst-auditmod1.c: Likewise.
43350 * sysdeps/generic/ldsodefs.h: Likewise.
43352 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43353 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43357 * configure.in: Remove --enable-omitfp support.
43359 * config.make.in: Likewise.
43360 * Makeconfig: Likewise.
43361 * manual/install.texi: Likewise.
43363 In case anyone cares, the IA-64 architecture could move to ports.
43364 * sysdeps/ia64/*: Removed.
43365 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43366 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43369 * configure.in: Remove entries for unsupported architectures.
43372 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43373 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43375 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43376 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43377 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43378 fall back to using wcrtomb.
43379 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43380 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43382 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43383 * wcsmbs/tst-c16c32-1.c: New file.
43385 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43388 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43390 * elf/tst-unique3.cc: Add explicit declaration of gets.
43391 * elf/tst-unique3lib.cc: Likewise.
43392 * elf/tst-unique3lib2.cc: Likewise.
43393 * elf/tst-unique4.cc: Likewise.
43395 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43397 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43400 * assert/assert.h (static_assert): Don't define for C++.
43401 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43402 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43404 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43406 * iconv/loop.c (single loop): Fix assertion in storing of
43409 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43411 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43413 * posix/getconf.c: Update copyright year.
43414 * nss/getent.c: Likewise.
43415 * nss/makedb.c: Likewise.
43416 * iconv/iconvconfig.c: Likewise.
43417 * iconv/iconv_prog.c: Likewise.
43418 * elf/ldconfig.c: Likewise.
43419 * elf/pldd.c: Likewise.
43420 * elf/sotruss.ksh: Likewise.
43421 * catgets/gencat.c: Likewise.
43422 * csu/version.c: Likewise.
43423 * elf/ldd.bash.in: Likewise.
43424 * elf/sprof.c (print_version): Likewise.
43425 * locale/programs/locale.c: Likewise.
43426 * locale/programs/localedef.c: Likewise.
43427 * login/programs/pt_chown.c: Likewise.
43428 * nscd/nscd.c (print_version): Likewise.
43429 * debug/xtrace.sh: Likewise.
43430 * malloc/memusage.sh: Likewise.
43431 * malloc/mtrace.pl: Likewise.
43432 * debug/catchsegv.sh: Likewise.
43434 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43436 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43439 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43442 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43443 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43445 * iconv/gconv_int.h: Likewise.
43446 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43447 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43448 from libc for GLIBC_2.16.
43449 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43450 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43451 * wcsmbs/uchar.h: Really define mbstate_t.
43452 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43453 * wcsmbs/c16rtomb.c: New file.
43454 * wcsmbs/mbrtoc16.c: New file.
43455 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43456 for C/POSIX locale.
43457 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43458 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43460 * wcsmbs/wchar.h: Add missing __restrict.
43462 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43465 * time/Makefile (routines): Add timespec_get.
43466 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43467 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43468 timespec for ISO C11.
43469 * time/timespec_get.c: New file.
43470 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43471 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43474 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43475 * stdlib/stdlib.h: Declare aligned_alloc.
43476 * Versions.def: Add GLIBC_2.16 for libc.
43477 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43480 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43483 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43487 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43490 * assert/assert.h (static_assert): Define.
43492 * version.h: Update for 2.16 development version.
43495 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43498 * version.h (RELEASE): Bump for 2.15 release.
43499 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43501 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43502 Patch by Marek Polacek <mpolacek@redhat.com>.
43504 * bits/byteswap.h: Protect long long constants with __extension__.
43505 * sysdeps/i386/bits/byteswap.h: Likewise.
43506 * sysdeps/ia64/bits/byteswap.h: Likewise.
43507 * sysdeps/s390/bits/byteswap.h: Likewise.
43508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43510 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43513 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43514 destination buffer.
43515 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43517 2011-12-23 Marek Polacek <polacek@redhat.com>
43519 * elf/dl-addr.c (determine_info): Add inline keyword.
43520 * elf/tst-auditmod4b.c (check_avx): Likewise.
43521 * elf/tst-auditmod6b.c (check_avx): Likewise.
43522 * elf/tst-auditmod6c.c (check_avx): Likewise.
43523 * elf/tst-auditmod7b.c (check_avx): Likewise.
43525 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43527 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43530 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43533 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43534 processing for last bytes.
43536 2011-08-06 Bruno Haible <bruno@clisp.org>
43539 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43540 U+0385, not to U+1FEE.
43543 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43544 entry for U+00A5 U+0301.
43546 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43549 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43550 buffer for the output is too small.
43552 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43556 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43557 SSE flags if possible.
43559 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43562 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43563 processing for last bytes.
43565 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43567 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43568 (syscall-list-default-options, syscall-list-default-condition)
43569 (syscall-list-includes): Define.
43570 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43571 list of ABIs and options and #if conditions for each ABI. Do not
43572 handle common syscalls between ABIs specially.
43573 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43575 (syscall-list-variants, syscall-list-32bit-options)
43576 (syscall-list-32bit-condition, syscall-list-64bit-options)
43577 (syscall-list-64bit-condition): Define.
43578 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43579 (syscall-list-variants, syscall-list-32bit-options)
43580 (syscall-list-32bit-condition, syscall-list-64bit-options)
43581 (syscall-list-64bit-condition): Define.
43582 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
43589 (syscall-list-variants, syscall-list-32bit-options)
43590 (syscall-list-32bit-condition, syscall-list-64bit-options)
43591 (syscall-list-64bit-condition): Define.
43593 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43595 * locale/iso-639.def: Add brx entry.
43598 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43599 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43601 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43602 __feraiseexcept_renamed.
43604 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43607 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43608 EPOLLET with unsigned values.
43609 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43610 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43612 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43613 to large cancellation.
43614 * math/s_cacoshf.c: Likewise.
43615 * math/s_cacoshl.c: Likewise.
43617 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43621 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43622 * math/s_cacoshf.c: Likewise.
43623 * math/s_cacoshl.c: Likewise.
43625 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43628 * iconv/gconv.h: Define __GCONV_SWAP.
43629 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43630 * iconvdata/utf-16.c: Likewise.
43631 * iconvdata/utf-32.c: Likewise.
43633 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43636 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43637 numerator after shifting it by one limb.
43639 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43641 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43642 under [__USE_EXTERN_INLINES].
43644 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43647 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43649 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43651 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43652 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43654 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43655 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43656 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43657 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43658 for strncasecmp/strncasecmp_l compilation.
43659 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43660 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43662 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43665 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43668 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43671 * time/tzfile.c (__tzfile_read): Check values from file header.
43673 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43675 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43676 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43677 * powerpc/powerpc32/dl-start.S: Likewise.
43678 * powerpc/powerpc32/elf/start.S: Likewise.
43679 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43680 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43681 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43682 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43683 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43684 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43685 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43686 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43687 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43688 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43689 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43690 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43691 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43692 * powerpc/powerpc32/memset.S: Likewise.
43693 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43694 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43695 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43696 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43697 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43698 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43699 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43700 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43701 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43702 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43703 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43704 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43705 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43707 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43709 * math/libm-test.inc: Added more nearbyint tests.
43710 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43711 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43713 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43715 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43717 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43720 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43722 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43723 Add wcscpy-ssse3 wcscpy-c.
43724 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43725 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43726 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43727 * sysdeps/x86_64/wcschr.S: New file.
43728 * sysdeps/x86_64/wcsrchr.S: New file.
43729 * string/test-strcmp.c: Remove checking of wcscmp function for
43731 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43732 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43733 wcsrchr-sse2 wcsrchr-c.
43734 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43735 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43736 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43737 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43738 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43739 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43740 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43741 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43742 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43743 * wcsmbc/wcschr.c (WCSCHR): New macro.
43745 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43747 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43748 * wcsmbs/test-wcsrchr.c: New file.
43749 * string/test-strrchr.c: Add wcsrchr support.
43751 * wcsmbs/test-wcscpy.c: New file.
43752 * string/test-strcpy.c: Add wcscpy support.
43755 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43757 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43760 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43763 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43765 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43768 Minor optimizations.
43770 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43771 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43772 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43774 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43776 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43777 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43778 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43779 for gcc to avoid warnings.
43780 * inet/Makefile (tests): Add tst-checks.
43781 * inet/tst-checks.c: New file.
43783 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43786 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43789 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43790 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43792 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43794 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43796 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43799 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43801 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43803 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43804 conditional on GCC version.
43805 (__arch_compare_and_exchange_val_8_acq)
43806 (__arch_compare_and_exchange_val_16_acq)
43807 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43808 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43809 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43811 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43813 * sysdeps/sh/backtrace.c: New file.
43815 2011-12-02 Andreas Schwab <schwab@redhat.com>
43817 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43820 2011-12-01 Andreas Schwab <schwab@redhat.com>
43822 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43823 falling back to utime.
43825 2011-11-30 Andreas Schwab <schwab@redhat.com>
43827 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43828 expectations for float.
43830 2011-11-29 Andreas Schwab <schwab@redhat.com>
43832 * locale/weight.h (findidx): Add parameter len.
43833 * locale/weightwc.h (findidx): Likewise.
43834 * posix/fnmatch_loop.c (FCT): Adjust caller.
43835 * posix/regcomp.c (build_equiv_class): Likewise.
43836 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43837 * posix/regexec.c (check_node_accept_bytes): Likewise.
43838 * string/strcoll_l.c (STRCOLL): Likewise.
43839 * string/strxfrm_l.c (STRXFRM): Likewise.
43841 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43843 * Makefile.in: Remove CVSOPT handling.
43844 * configure.in: Remove use of AC_REVISION.
43845 * iconvdata/Makefile (distribute): No need to filter out CVS.
43846 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43849 2011-11-16 Andreas Schwab <schwab@redhat.com>
43851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43852 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43853 [USE_AS_STRNCASECMP_L]: Likewise.
43854 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43855 NO_TLS_DIRECT_SEG_REFS.
43856 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43857 Fix argument offsets for non-PIC.
43858 [USE_AS_STRNCASECMP_L]: Likewise.
43859 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43860 NO_TLS_DIRECT_SEG_REFS.
43862 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43864 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43866 * locale/loadlocale.c (_nl_load_locale): Likewise.
43868 2011-11-15 Andreas Schwab <schwab@redhat.com>
43870 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43871 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43872 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43873 (SYSCALL_GETTIME): Set errno on error.
43875 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43876 count references to noai6ai_cached.
43878 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43880 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43882 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43883 FD_CLOEXEC for /proc/self/maps.
43885 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43886 FD_CLOEXEC for /proc/meminfo.
43888 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43891 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43892 FD_CLOEXEC for given file.
43894 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43896 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43897 FD_CLOEXEC for /etc/hosts.
43898 (_gethtent): Likewise.
43900 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43902 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43903 cancellation and set FD_CLOEXEC for /etc/netgroup.
43905 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43906 reading /etc/publickey.
43908 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43909 allow cancellation when reading /etc/group.
43911 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43913 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43915 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43916 when using data file.
43918 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43920 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43921 (write_nis_obj): Use "c" and "e" in fopen.
43923 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43925 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43927 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43929 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43931 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43934 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43936 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43938 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43940 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43941 file parsing and set FD_CLOEXEC.
43943 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43945 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43947 2011-11-14 Andreas Schwab <schwab@redhat.com>
43949 * malloc/arena.c (arena_get2): Don't call reused_arena when
43950 _int_new_arena failed.
43952 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43954 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43955 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43957 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43958 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43960 to compile strcasecmp and strncasecmp.
43961 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43962 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43966 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43968 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43969 locale-defines.sym to gen-as-const-headers.
43970 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43971 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43972 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43973 to compile strcasecmp and strncasecmp.
43974 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43975 strcasecmp_l and strncasecmp_l.
43976 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43977 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43978 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43979 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43980 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43981 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43982 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43983 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43984 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43985 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43986 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43988 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43990 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43991 result of SYSDEP_GETTIME_CPU to retval.
43992 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43993 parameter list to macro. Remove trailing semicolon. Adjust users.
43995 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43998 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44000 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44002 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44003 from unused variable.
44005 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44007 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44010 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44013 * sunrpc/rpc_prot.c (rejected): Fix case value.
44015 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44016 unsigned long long int to avoid warnings in shift.
44018 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44020 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44023 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44024 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44025 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44027 * nis/nis_table.c (nis_list): Use variable of correct type for
44028 result of __follow_path call.
44030 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44032 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44033 of math functions ceil, trunc, floor, round, and sqrt, when
44034 avaliable on the platform.
44035 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44037 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44038 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44039 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44041 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44043 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44044 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44046 2011-11-11 Roland McGrath <roland@hack.frob.com>
44048 * include/unistd.h: Fix __readlink return type.
44049 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44051 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44053 * stdlib/ucontext.h: Undo last change for makecontext.
44055 2011-11-11 Andreas Schwab <schwab@redhat.com>
44057 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44059 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44060 * setjmp/setjmp.h: Mark functions as non-leaf.
44061 * setjmp/bits/setjmp2.h: Likewise.
44062 * stdlib/ucontext.h: Likewise.
44064 2011-11-10 Andreas Schwab <schwab@redhat.com>
44066 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44067 (reused_arena): Don't check arena limit.
44068 (arena_get2): Atomically check arena limit.
44070 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44072 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44073 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44078 2011-11-07 Andreas Schwab <schwab@redhat.com>
44080 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44081 handler when locking.
44083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44084 Fix size of allocated buffer.
44086 2011-11-04 Andreas Schwab <schwab@redhat.com>
44089 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44090 declarations for long double functions.
44091 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44093 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44095 2011-11-03 Andreas Schwab <schwab@redhat.com>
44097 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44100 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44103 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44105 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44107 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44109 * include/alloca.h (stackinfo_alloca_round): Define.
44110 (extend_alloca): Use it.
44111 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44112 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44115 * scripts/check-local-headers.sh: Ignore libaudit.h.
44117 * nscd/Makefile (extra-objs): Make recursively expanded.
44119 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44121 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44122 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44124 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44125 * posix/tst-rfc3484-2.c: Likewise.
44126 * posix/tst-rfc3484-3.c: Likewise.
44128 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44130 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44132 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44133 process_vm_writev from libc using GLIBC_2.15 version.
44135 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44137 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44139 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44142 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44145 * nss/getent.c (initgroups_keys): Show error message in case no group
44148 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44149 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44150 __bump_nl_timestamp.
44151 * nscd/connections (nscd_init): When host database is served open
44152 netlink socket and request notification about configuration changes.
44153 (main_loop_poll): Track netlink file descriptor and bump timestamp
44154 in case data becomes available.
44155 (main_loop_epoll): Likewise.
44156 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44157 (database_pers_head): Add extra_data fileds.
44158 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44159 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44160 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44163 in6ai data, call __free_in6ai.
44164 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44165 Add -DHAVE_NETLINK.
44166 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44167 interface information. Reuse previous data if netlink timestamp
44169 (__bump_nl_timestamp): New function.
44170 (__free_in6ai): New function.
44172 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44175 close_not_cancel_no_status here.
44176 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44178 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44181 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44184 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44185 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44186 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44188 2011-07-03 Andreas Jaeger <aj@suse.de>
44191 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44192 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44193 * math/libm-test.inc (sin_test): Add test case.
44195 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44198 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44199 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44201 * elf/chroot_canon.c (chroot_canon): Cleanups.
44203 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44206 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44207 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44209 * string/test-strchr.c: Make usable for strchrnul testing.
44210 * string/test-strchrnul.c: New file.
44211 * string/Makefile (strop-tests): Add strchrnul.
44213 * po/it.po: Update from translation team.
44214 * po/es.po: Likewise.
44216 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44218 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44219 the three constants needed as parameters. Drop the others.
44220 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44221 __m128i_strloadu_tolower.
44222 Create and initialize variable zero and use it in all the places
44223 where _mm_setzero_si128 was used.
44225 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44226 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44227 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44228 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44230 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44231 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44232 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44233 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44234 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44235 __mpranred, __mptan.
44236 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44237 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44238 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44239 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44240 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44241 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44243 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44244 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44246 2011-10-28 Andreas Schwab <schwab@redhat.com>
44248 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44249 redefine if SHARED.
44250 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44253 wide char related routines to wcsmbs subdir.
44255 2011-10-27 Andreas Schwab <schwab@redhat.com>
44258 * misc/sys/cdefs.h (__THROWNL): Define.
44259 * posix/unistd.h: Use __THREADNL instead of __THREAD
44260 for memory synchronization functions.
44262 2011-10-26 Roland McGrath <roland@hack.frob.com>
44265 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44267 * manual/stdio.texi (Obstack Streams): Node removed.
44269 2011-10-26 Andreas Schwab <schwab@redhat.com>
44271 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44273 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44275 * math/math_private.h (math_force_eval): Allow non-addressable
44277 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44279 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44281 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44282 file is not needed.
44284 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44287 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44291 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44293 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44294 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44295 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44296 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44297 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44298 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44299 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44300 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44301 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44302 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44303 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44304 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44305 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44306 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44307 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44308 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44309 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44310 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44311 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44313 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44314 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44317 place. Use VEX encoding when compiling for AVX.
44319 2011-10-25 Andreas Schwab <schwab@redhat.com>
44321 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44322 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44324 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44326 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44328 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44329 useless if() expression.
44330 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44331 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44332 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44334 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44335 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44336 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44337 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44338 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44339 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44340 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44341 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44342 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44343 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44344 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44345 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44346 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44347 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44348 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44350 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44352 2011-10-25 Andreas Schwab <schwab@redhat.com>
44354 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44356 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44358 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44360 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44361 .text section. Avoid duplicate constants.
44362 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44364 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44366 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44368 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44370 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44371 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44372 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44374 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44375 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44377 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44379 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44380 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44383 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44385 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44386 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44387 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44388 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44389 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44390 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44391 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44392 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44393 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44395 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44396 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44397 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44398 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44400 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44401 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44402 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44403 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44404 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44405 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44406 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44408 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44410 * sysdeps/x86_64/dla.h: Move to ...
44411 * sysdeps/x86_64/fpu/dla.h: ...here.
44412 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44413 situations. Use __builtin_fma only for gcc 4.6 and up.
44415 * config.make.in: Add have-mfma4 entry.
44416 * configure.in: Substitute libc_cv_cc_fma4.
44417 * math/Makefile (dbl-only-routines): Add sincostab.
44418 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44419 Use __sincostab not sincos.
44420 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44424 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44427 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44428 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44429 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44430 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44433 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44435 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44436 define aliases when function name is a macro.
44437 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44438 sysdeps/ieee754/dbl-64/sincos.tbl.
44439 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44440 fma4-enabled routines.
44441 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44442 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44443 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44444 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44445 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44446 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44447 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44448 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44449 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44450 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44451 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44452 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44453 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44454 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44455 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44456 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44457 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44458 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44459 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44460 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44461 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44462 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44464 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44465 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44466 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44467 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44468 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44470 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44472 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44480 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44483 2011-10-24 Andreas Schwab <schwab@redhat.com>
44485 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44487 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44491 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44493 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44495 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44496 Remove unused variable magic_bits.
44497 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44499 * string/strnlen.c: Define and use STRNLEN macro.
44500 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44501 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44503 * wcsmbs/wcslen.c: Define and use WCSLEN.
44504 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44505 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44506 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44507 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44508 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44509 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44510 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44512 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44515 strnlen-sse2-no-bsf.
44516 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44518 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44519 Add strnlen support.
44520 (USE_AS_STRNLEN): New macro.
44521 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44522 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44523 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44524 * sysdeps/x86_64/wcslen.S: New file.
44526 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44529 XMM-moves are used for copying on small sizes.
44531 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44533 * wcsmbs/Makefile (strop-tests): Add wcschr.
44534 * wcsmbs/test-wcschr.c: New file.
44535 * string/test-strchr.c: Update.
44536 Add wcschr support.
44539 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44541 * wcsmbs/Makefile (strop-tests): Add wcslen.
44542 * wcsmbs/test-wcslen.c: New file.
44543 * string/test-strlen.c: Update.
44544 Add wcslen support.
44547 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44549 * po/it.po: Update from translation team.
44551 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44553 * sysdeps/x86_64/wcscmp.S: Update.
44554 Fix wrong comparison semantics.
44555 wcscmp shall use signed comparison not unsigned.
44556 Don't use substraction to avoid overflow bug.
44557 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44558 * wcsmbc/wcscmp.c: Likewise.
44559 * string/test-strcmp.c: Likewise.
44560 Add new tests to check cases with negative values.
44562 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44564 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44565 * sysdeps/x86_64/dla.h: ...here. New file.
44566 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44571 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44576 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44578 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44579 __ynl_finite aliases.
44581 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44585 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44587 [DLA_FMA] (EMULV): Use DLA_FMA.
44588 [DLA_FMA] (MUL12): Use EMULV.
44589 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44590 that are not needed.
44591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44599 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44601 * math/s_nan.c: Undef __nan.
44602 * math/s_nanf.c: Undef __nanf.
44603 * math/s_nanl.c: Undef __nanl.
44604 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44607 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44609 * math/s_catan.c: Add branch predictions.
44610 * math/s_catanf.c: Likewise.
44611 * math/s_catanh.c: Likewise.
44612 * math/s_catanhf.c: Likewise.
44613 * math/s_catanhl.c: Likewise.
44614 * math/s_catanl.c: Likewise.
44615 * math/s_cexp.c: Likewise.
44616 * math/s_cexpf.c: Likewise.
44617 * math/s_cexpl.c: Likewise.
44618 * math/s_clog.c: Likewise.
44619 * math/s_clog10.c: Likewise.
44620 * math/s_clog10f.c: Likewise.
44621 * math/s_clog10l.c: Likewise.
44622 * math/s_clogf.c: Likewise.
44623 * math/s_clogl.c: Likewise.
44624 * math/s_csqrt.c: Likewise.
44625 * math/s_csqrtf.c: Likewise.
44626 * math/s_csqrtl.c: Likewise.
44627 * math/s_ctanf.c: Likewise.
44628 * math/s_ctanh.c: Likewise.
44629 * math/s_ctanhf.c: Likewise.
44630 * math/s_ctanhl.c: Likewise.
44631 * math/s_ctanl.c: Likewise.
44633 * math/math_private.h: Define __nan, __nanf, __nanl.
44634 * math/s_cacosh.c: Include <math_private.h>.
44635 * math/s_cacoshl.c: Likewise.
44636 * math/s_casinh.c: Likewise.
44637 * math/s_casinhf.c: Likewise.
44638 * math/s_casinhl.c: Likewise.
44639 * math/s_ccos.c: Rely entire on ccosh.
44640 * math/s_ccosf.c: Rely entire on ccoshf.
44641 * math/s_ccosl.c: Rely entirely on ccoshl.
44642 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44643 Remove tests for FE_INVALID.
44644 * math/s_ccoshf.c: Likewise.
44645 * math/s_ccoshl.c: Likewise.
44646 * math/s_csin.c: Likewise.
44647 * math/s_csinf.c: Likewise.
44648 * math/s_csinh.c Likewise.
44649 * math/s_csinhf.c: Likewise.
44650 * math/s_csinhl.c: Likewise.
44651 * math/s_csinl.c: Likewise.
44652 * math/s_ctan.c: Likewise.
44653 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44654 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44655 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44657 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44660 compilation problems.
44662 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44665 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44667 * sysdeps/i386/configure.in: Test for -mfma4 option.
44668 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44669 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44670 COMMON_CPUID_INDEX_80000001.
44671 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44672 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44673 use it if FMA3 is not supported.
44674 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44676 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44677 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44679 2011-10-20 Andreas Schwab <schwab@redhat.com>
44682 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44683 it would create a cycle with a link time dependency.
44685 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44687 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44689 * string/Makefile (strop-tests): Add rawmemchr.
44690 * string/test-rawmemchr.c: New file.
44692 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44694 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44695 when compiling str{,n}casecmp and when AVX is available. Hook up
44696 new optimized code in initializers.
44698 2011-10-19 Andreas Schwab <schwab@redhat.com>
44700 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44701 __feraiseexcept instead of feraiseexcept.
44703 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44705 * math/math_private.h: Define defaults for libc_fetestexcept and
44707 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44708 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44709 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44710 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44711 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44712 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44713 libc_fetestexcept and libc_feupdateenv.
44715 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44716 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44717 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44718 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44719 libc_feholdexcept_setround.
44721 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44722 Add s_nearbyint-c and s_nearbyintf-c.
44723 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44724 nearbyintf inlines.
44725 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44727 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44728 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44730 * math/math_private.h: Define defaults for libc_fegetround,
44731 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44732 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44733 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44734 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44735 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44736 standard functions.
44737 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44738 Remove comments and hacks for old compiler versions.
44739 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44740 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44741 libc_feholdexceptl.
44743 2011-10-18 Andreas Schwab <schwab@redhat.com>
44745 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44746 (__feraiseexcept_renamed): Add __NTH.
44747 (feraiseexcept): Add __NTH. Rename local variables to fix
44748 namespace violations.
44750 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44752 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44754 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44756 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44757 recently added interfaces.
44758 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44760 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44761 about macro parameter expansion.
44763 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44764 __NO_MATH_INLINES is defined. Cleanups.
44766 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44767 and __floorf is target has SSE4.1.
44768 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44769 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44770 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44771 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44773 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44775 (floorf): Likewise.
44777 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44779 2011-10-17 Andreas Schwab <schwab@redhat.com>
44781 * misc/sys/cdefs.h: Fix last change.
44783 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44786 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44788 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44790 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44792 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44793 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44794 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44795 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44796 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44797 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44798 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44799 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44800 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44801 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44802 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44803 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44804 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44805 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44806 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44807 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44808 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44809 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44810 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44811 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44813 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44814 ceil, ceilf, floor, floorf.
44816 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44817 Perform IRELATIVE relocations last.
44819 * elf/do-rel.h: Add another parameter nrelative, replacing the
44820 local variable with the same name. Change name of the function
44821 to end in Rel or Rela (uppercase).
44822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44823 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44824 elf_dynamic_do_##reloc function.
44826 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44828 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44829 is sufficient, at least on modern CPUs.
44831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44833 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44834 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44836 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44838 * math/bits/math-finite.h: Add entries for exp.
44839 * math/e_expl.c: Add __*_finite alias.
44840 * sysdeps/i386/fpu/e_exp.S: Likewise.
44841 * sysdeps/i386/fpu/e_expf.S: Likewise.
44842 * sysdeps/i386/fpu/e_expl.c: Likewise.
44843 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44844 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44845 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44847 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44848 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44849 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44851 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44852 is sufficient, at least on modern CPUs.
44854 * ctype/ctype-info.c (__ctype_init): Define.
44855 * include/ctype.h (__ctype_init): Declare.
44856 (__ctype_b_loc): The variable is always initialized.
44857 (__ctype_toupper_loc): Likewise.
44858 (__ctype_tolower_loc): Likewise.
44859 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44860 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44862 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44864 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44866 * configure.in: Also look in $cxxmachine/include for C++ system
44869 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44871 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44872 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44873 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44874 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44875 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44876 (USE_AS_WMEMCMP): New macro.
44878 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44879 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44880 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44881 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44883 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44884 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44885 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44886 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44887 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44888 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44889 (USE_AS_WMEMCMP): New macro.
44890 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44891 * sysdeps/string/test-memcmp.c: Update.
44892 Fix simple_wmemcmp.
44894 * wcsmbs/wmemcmp.c: Update.
44895 (WMEMCMP): New macro.
44898 2011-10-12 Andreas Jaeger <aj@suse.de>
44901 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44903 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44905 * libio/iofwide.c (do_length): Avoid warning.
44907 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44909 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44911 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44913 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44914 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44915 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44916 * sysdeps/i386/i686/fpu/e_log.S: New file.
44917 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44918 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44920 * ctype/ctype.h: Add support for inlined isXXX functions when
44921 compiling C++ code.
44923 2011-10-14 Andreas Schwab <schwab@redhat.com>
44925 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44927 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44929 2011-10-13 Roland McGrath <roland@hack.frob.com>
44932 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44934 2011-10-13 Andreas Schwab <schwab@redhat.com>
44936 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44937 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44940 * sysdeps/x86_64/memrchr.S: Check for zero size.
44942 * string/stratcliff.c: Add memrchr tests.
44944 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44947 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44948 rawmemchr-sse2 rawmemchr-sse2-bsf.
44949 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44950 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44951 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44952 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44953 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44954 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44955 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44956 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44957 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44958 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44959 * string/memrchr.c (MEMRCHR): New macro.
44961 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44963 Add integration with gcc's -ffinite-math-only and optimize wrapper
44965 * Versions.def: Define GLIBC_2.15 version for libm.
44966 * math/Makefile (headers): Add bits/math-finite.h.
44967 * math/bits/math-finite.h: New file.
44968 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44969 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44970 * math/e_acoshl.c: Add __*_finite alias.
44971 * math/e_acosl.c: Likewise.
44972 * math/e_asinl.c: Likewise.
44973 * math/e_atan2l.c: Likewise.
44974 * math/e_atanhl.c: Likewise.
44975 * math/e_coshl.c: Likewise.
44976 * math/e_exp10.c: Likewise.
44977 * math/e_exp10f.c: Likewise.
44978 * math/e_exp10l.c: Likewise.
44979 * math/e_exp2l.c: Likewise.
44980 * math/e_fmodl.c: Likewise.
44981 * math/e_gammal_r.c: Likewise.
44982 * math/e_hypotl.c: Likewise.
44983 * math/e_j0l.c: Likewise.
44984 * math/e_j1l.c: Likewise.
44985 * math/e_jnl.c: Likewise.
44986 * math/e_lgammal_r.c: Likewise.
44987 * math/e_log10l.c: Likewise.
44988 * math/e_log2l.c: Likewise.
44989 * math/e_logl.c: Likewise.
44990 * math/e_powl.c: Likewise.
44991 * math/e_sinhl.c: Likewise.
44992 * math/e_sqrtl.c: Likewise.
44993 * math/e_scalb.c: Completely rewritten and optimized.
44994 * math/e_scalbf.c: Likewise.
44995 * math/e_scalbl.c: Likewise.
44996 * math/w_acos.c: Likewise.
44997 * math/w_acosf.c: Likewise.
44998 * math/w_acosl.c: Likewise.
44999 * math/w_acosh.c: Likewise.
45000 * math/w_acoshf.c: Likewise.
45001 * math/w_acoshl.c: Likewise.
45002 * math/w_asin.c: Likewise.
45003 * math/w_asinf.c: Likewise.
45004 * math/w_asinl.c: Likewise.
45005 * math/w_atan2.c: Likewise.
45006 * math/w_atan2f.c: Likewise.
45007 * math/w_atan2l.c: Likewise.
45008 * math/w_atanh.c: Likewise.
45009 * math/w_atanhf.c: Likewise.
45010 * math/w_atanhl.c: Likewise.
45011 * math/w_exp10.c: Likewise.
45012 * math/w_exp10f.c: Likewise.
45013 * math/w_exp10l.c: Likewise.
45014 * math/w_fmod.c: Likewise.
45015 * math/w_fmodf.c: Likewise.
45016 * math/w_fmodl.c: Likewise.
45017 * math/w_j0.c: Likewise.
45018 * math/w_j0f.c: Likewise.
45019 * math/w_j0l.c: Likewise.
45020 * math/w_j1.c: Likewise.
45021 * math/w_j1f.c: Likewise.
45022 * math/w_j1l.c: Likewise.
45023 * math/w_jn.c: Likewise.
45024 * math/w_jnf.c: Likewise.
45025 * math/w_log.c: Likewise.
45026 * math/w_logf.c: Likewise.
45027 * math/w_logl.c: Likewise.
45028 * math/w_log10.c: Likewise.
45029 * math/w_log10f.c: Likewise.
45030 * math/w_log10l.c: Likewise.
45031 * math/w_log2.c: Likewise.
45032 * math/w_log2f.c: Likewise.
45033 * math/w_log2l.c: Likewise.
45034 * math/w_pow.c: Likewise.
45035 * math/w_powf.c: Likewise.
45036 * math/w_powl.c: Likewise.
45037 * math/w_remainder.c: Likewise.
45038 * math/w_remainderf.c: Likewise.
45039 * math/w_remainderl.c: Likewise.
45040 * math/w_scalb.c: Likewise.
45041 * math/w_scalbf.c: Likewise.
45042 * math/w_scalbl.c: Likewise.
45043 * math/w_sqrt.c: Likewise.
45044 * math/w_sqrtf.c: Likewise.
45045 * math/w_sqrtl.c: Likewise.
45046 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45047 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45049 * math/math_private.h: Declare __kernel_standard_f.
45050 * math/w_cosh.c: Remove cruft and optimize a bit.
45051 * math/w_coshf.c: Likewise.
45052 * math/w_coshl.c: Likewise.
45053 * math/w_exp2.c: Likewise.
45054 * math/w_exp2f.c: Likewise.
45055 * math/w_exp2l.c: Likewise.
45056 * math/w_hypot.c: Likewise.
45057 * math/w_hypotf.c: Likewise.
45058 * math/w_hypotl.c: Likewise.
45059 * math/w_lgamma.c: Likewise.
45060 * math/w_lgamma_r.c: Likewise.
45061 * math/w_lgammaf.c: Likewise.
45062 * math/w_lgammaf_r.c: Likewise.
45063 * math/w_lgammal.c: Likewise.
45064 * math/w_lgammal_r.c: Likewise.
45065 * math/w_sinh.c: Likewise.
45066 * math/w_sinhf.c: Likewise.
45067 * math/w_sinhl.c: Likewise.
45068 * math/w_tgamma.c: Likewise.
45069 * math/w_tgammaf.c: Likewise.
45070 * math/w_tgammal.c: Likewise.
45071 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45072 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45073 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45074 Minor optimizations. Pretty printing. Remove cruft.
45075 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45076 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45077 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45078 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45079 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45080 * sysdeps/i386/fpu/e_asin.S: Likewise.
45081 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45082 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45083 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45084 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45085 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45086 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45087 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45088 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45089 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45090 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45091 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45092 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45093 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45094 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45095 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45096 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45097 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45098 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45099 * sysdeps/i386/fpu/e_log.S: Likewise.
45100 * sysdeps/i386/fpu/e_log10.S: Likewise.
45101 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45102 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45103 * sysdeps/i386/fpu/e_log2.S: Likewise.
45104 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45105 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45106 * sysdeps/i386/fpu/e_logf.S: Likewise.
45107 * sysdeps/i386/fpu/e_logl.S: Likewise.
45108 * sysdeps/i386/fpu/e_pow.S: Likewise.
45109 * sysdeps/i386/fpu/e_powf.S: Likewise.
45110 * sysdeps/i386/fpu/e_powl.S: Likewise.
45111 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45112 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45113 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45114 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45115 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45116 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45117 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45118 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45119 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45120 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45121 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45123 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45124 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45125 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45126 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45127 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45128 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45130 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45131 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45133 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45134 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45136 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45141 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45142 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45143 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45144 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45145 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45146 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45147 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45148 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45149 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45150 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45151 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45152 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45154 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45155 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45156 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45157 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45158 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45159 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45160 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45161 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45162 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45163 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45164 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45165 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45166 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45167 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45168 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45169 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45170 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45171 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45172 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45173 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45175 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45176 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45177 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45178 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45179 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45180 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45181 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45184 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45185 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45188 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45190 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45191 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45192 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45194 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45196 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45197 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45198 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45199 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45200 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45201 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45203 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45204 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45205 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45207 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45208 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45209 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45211 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45212 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45213 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45214 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45215 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45216 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45217 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45218 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45219 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45220 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45221 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45222 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45223 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45224 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45225 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45226 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45227 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45228 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45229 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45230 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45231 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45232 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45233 (__isnanf): Likewise.
45234 (__isinf_ns): Likewise.
45235 (__isinf_nsf): Likewise.
45236 (__finite): Likewise.
45237 (__finitef): Likewise.
45238 (__ieee754_sqrt): Define as macro.
45239 (__ieee754_sqrtf): Define as macro.
45240 (__ieee754_sqrtl): Define as macro.
45241 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45243 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45244 __FINITE_MATH_ONLY__ consistent.
45245 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45247 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45249 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45252 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45254 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45256 * po/ja.po: Update from translation team.
45258 2011-10-08 Roland McGrath <roland@hack.frob.com>
45260 * locale/programs/locarchive.c (prepare_address_space): New function.
45261 (create_archive, enlarge_archive, open_archive): Use it.
45263 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45264 inside [SHARED], where it is used.
45266 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45268 * nss/getent.c (netgroup_keys): Remove unused variable.
45269 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45271 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45273 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45274 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45276 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45277 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45278 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45279 * math/Makefile (libm-calls): Add s_isinf_ns.
45280 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45281 * math/multc3.c: Likewise.
45282 * math/s_casin.c: Likewise.
45283 * math/s_casinf.c: Likewise.
45284 * math/s_casinl.c: Likewise.
45285 * math/s_ccos.c: Likewise.
45286 * math/s_ccosf.c: Likewise.
45287 * math/s_ccosl.c: Likewise.
45288 * math/s_ctan.c: Likewise.
45289 * math/s_ctanf.c: Likewise.
45290 * math/s_ctanh.c: Likewise.
45291 * math/s_ctanhf.c: Likewise.
45292 * math/s_ctanhl.c: Likewise.
45293 * math/s_ctanl.c: Likewise.
45294 * math/w_fmod.c: Likewise.
45295 * math/w_fmodf.c: Likewise.
45296 * math/w_fmodl.c: Likewise.
45297 * math/w_remainder.c: Likewise.
45298 * math/w_remainderf.c: Likewise.
45299 * math/w_remainderl.c: Likewise.
45300 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45301 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45302 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45304 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45305 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45306 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45307 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45309 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45311 * stdio-common/printf_fphex.c: Likewise.
45312 * stdio-common/printf_size.c: Likewise.
45314 * math/e_exp10.c: Include math_private.h using <...> not "...".
45315 * math/e_exp10f.c: Likewise.
45316 * math/e_exp10l.c: Likewise.
45317 * math/e_exp2l.c: Likewise.
45318 * math/e_j0l.c: Likewise.
45319 * math/e_j1l.c: Likewise.
45320 * math/e_jnl.c: Likewise.
45321 * math/e_lgammal_r.c: Likewise.
45322 * math/e_rem_pio2l.c: Likewise.
45323 * math/e_scalb.c: Likewise.
45324 * math/e_scalbf.c: Likewise.
45325 * math/e_scalbl.c: Likewise.
45326 * math/k_cosl.c: Likewise.
45327 * math/k_sinl.c: Likewise.
45328 * math/k_tanl.c: Likewise.
45329 * math/s_cacoshf.c: Likewise.
45330 * math/s_catan.c: Likewise.
45331 * math/s_catanf.c: Likewise.
45332 * math/s_catanh.c: Likewise.
45333 * math/s_catanhf.c: Likewise.
45334 * math/s_catanhl.c: Likewise.
45335 * math/s_catanl.c: Likewise.
45336 * math/s_ccosh.c: Likewise.
45337 * math/s_ccoshf.c: Likewise.
45338 * math/s_ccoshl.c: Likewise.
45339 * math/s_cexp.c: Likewise.
45340 * math/s_cexpf.c: Likewise.
45341 * math/s_cexpl.c: Likewise.
45342 * math/s_clog.c: Likewise.
45343 * math/s_clog10.c: Likewise.
45344 * math/s_clog10f.c: Likewise.
45345 * math/s_clog10l.c: Likewise.
45346 * math/s_clogf.c: Likewise.
45347 * math/s_clogl.c: Likewise.
45348 * math/s_csin.c: Likewise.
45349 * math/s_csinf.c: Likewise.
45350 * math/s_csinh.c: Likewise.
45351 * math/s_csinhf.c: Likewise.
45352 * math/s_csinhl.c: Likewise.
45353 * math/s_csinl.c: Likewise.
45354 * math/s_csqrt.c: Likewise.
45355 * math/s_csqrtf.c: Likewise.
45356 * math/s_csqrtl.c: Likewise.
45357 * math/s_ctan.c: Likewise.
45358 * math/s_ctanf.c: Likewise.
45359 * math/s_ctanh.c: Likewise.
45360 * math/s_ctanhf.c: Likewise.
45361 * math/s_ctanhl.c: Likewise.
45362 * math/s_ctanl.c: Likewise.
45363 * math/s_ldexp.c: Likewise.
45364 * math/s_ldexpf.c: Likewise.
45365 * math/s_ldexpl.c: Likewise.
45366 * math/s_significand.c: Likewise.
45367 * math/s_significandf.c: Likewise.
45368 * math/s_significandl.c: Likewise.
45369 * math/w_acos.c: Likewise.
45370 * math/w_acosf.c: Likewise.
45371 * math/w_acosh.c: Likewise.
45372 * math/w_acoshf.c: Likewise.
45373 * math/w_acoshl.c: Likewise.
45374 * math/w_acosl.c: Likewise.
45375 * math/w_asin.c: Likewise.
45376 * math/w_asinf.c: Likewise.
45377 * math/w_asinl.c: Likewise.
45378 * math/w_atan2.c: Likewise.
45379 * math/w_atan2f.c: Likewise.
45380 * math/w_atan2l.c: Likewise.
45381 * math/w_atanh.c: Likewise.
45382 * math/w_atanhf.c: Likewise.
45383 * math/w_atanhl.c: Likewise.
45384 * math/w_cosh.c: Likewise.
45385 * math/w_coshf.c: Likewise.
45386 * math/w_coshl.c: Likewise.
45387 * math/w_dremf.c: Likewise.
45388 * math/w_exp10.c: Likewise.
45389 * math/w_exp10f.c: Likewise.
45390 * math/w_exp10l.c: Likewise.
45391 * math/w_exp2.c: Likewise.
45392 * math/w_exp2f.c: Likewise.
45393 * math/w_fmod.c: Likewise.
45394 * math/w_fmodf.c: Likewise.
45395 * math/w_fmodl.c: Likewise.
45396 * math/w_hypot.c: Likewise.
45397 * math/w_hypotf.c: Likewise.
45398 * math/w_hypotl.c: Likewise.
45399 * math/w_j0.c: Likewise.
45400 * math/w_j0f.c: Likewise.
45401 * math/w_j0l.c: Likewise.
45402 * math/w_j1.c: Likewise.
45403 * math/w_j1f.c: Likewise.
45404 * math/w_j1l.c: Likewise.
45405 * math/w_jn.c: Likewise.
45406 * math/w_jnf.c: Likewise.
45407 * math/w_jnl.c: Likewise.
45408 * math/w_lgamma.c: Likewise.
45409 * math/w_lgamma_r.c: Likewise.
45410 * math/w_lgammaf.c: Likewise.
45411 * math/w_lgammaf_r.c: Likewise.
45412 * math/w_lgammal.c: Likewise.
45413 * math/w_lgammal_r.c: Likewise.
45414 * math/w_log.c: Likewise.
45415 * math/w_log10.c: Likewise.
45416 * math/w_log10f.c: Likewise.
45417 * math/w_log10l.c: Likewise.
45418 * math/w_log2.c: Likewise.
45419 * math/w_log2f.c: Likewise.
45420 * math/w_log2l.c: Likewise.
45421 * math/w_logf.c: Likewise.
45422 * math/w_logl.c: Likewise.
45423 * math/w_pow.c: Likewise.
45424 * math/w_powf.c: Likewise.
45425 * math/w_powl.c: Likewise.
45426 * math/w_remainder.c: Likewise.
45427 * math/w_remainderf.c: Likewise.
45428 * math/w_remainderl.c: Likewise.
45429 * math/w_scalb.c: Likewise.
45430 * math/w_scalbf.c: Likewise.
45431 * math/w_scalbl.c: Likewise.
45432 * math/w_sinh.c: Likewise.
45433 * math/w_sinhf.c: Likewise.
45434 * math/w_sinhl.c: Likewise.
45435 * math/w_sqrt.c: Likewise.
45436 * math/w_sqrtf.c: Likewise.
45437 * math/w_sqrtl.c: Likewise.
45438 * math/w_tgamma.c: Likewise.
45439 * math/w_tgammaf.c: Likewise.
45440 * math/w_tgammal.c: Likewise.
45442 * po/ja.po: Update from translation team.
45444 2011-09-29 Andreas Jaeger <aj@suse.de>
45447 * sunrpc/netname.c (netname2host): Fix logic.
45451 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45453 * math/w_remainder.c (__remainder): Likewise.
45454 * math/w_remainderf.c (__remainderf): Likewise.
45455 * math/libm-test.inc (remainder_test): Add test cases.
45457 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45459 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45462 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45464 * string/test-memcmp.c: Avoid unncessary #defines.
45465 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45467 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45469 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45470 Use new sse2 version for core i3 - i7 as it's faster
45471 than sse42 version.
45472 (bit_Prefer_PMINUB_for_stringop): New.
45473 * sysdeps/x86_64/rawmemchr.S: Update.
45474 Replace with faster SSE2 version.
45475 * sysdeps/x86_64/memrchr.S: New file.
45476 * sysdeps/x86_64/memchr.S: Update.
45477 Replace with faster SSE2 version.
45479 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45481 * elf/dl-load.c (lose): Add cast to avoid warning.
45483 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45485 * po/ca.po: Update from translation team.
45487 * inet/getnetgrent_r.c: Hook up nscd.
45488 * nscd/Makefile (routines): Add nscd_netgroup.
45489 (nscd-modules): Add netgroupcache.
45490 (CFLAGS-netgroupcache.c): Define.
45491 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45492 (cache_search): Add const to second parameter.
45493 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45495 (dbs): Add netgrdb entry.
45496 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45497 (verify_persistent_db): Handle netgrdb.
45498 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45499 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45501 (netgroup_response_header): Define.
45502 (innetgroup_response_header): Define.
45503 (datahead): Add netgroup_response_header and innetgroup_response_header
45505 * nscd/nscd.conf: Add entries for netgroup cache.
45506 * nscd/nscd.h (dbtype): Add netgrdb.
45507 (_PATH_NSCD_NETGROUP_DB): Define.
45508 (netgroup_iov_disabled): Declare.
45509 (xmalloc, xcalloc, xrealloc): Move declarations here.
45510 (cache_search): Adjust prototype.
45511 Add netgroup-related prototypes.
45512 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45513 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45514 (__nscd_innetgr): Declare.
45515 * nscd/selinux.c (perms): Use access_vector_t as element type and
45516 add netgroup-related initializers.
45517 * nscd/netgroupcache.c: New file.
45518 * nscd/nscd_netgroup.c: New file.
45519 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45520 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45521 For four parameters use innetgr.
45522 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45523 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45524 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45525 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45527 * nscd/connections.c (register_traced_file): Don't register file
45528 for disabled databases.
45530 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45532 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45534 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45535 from tree and freeing node.
45537 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45539 * nss/nsswitch.c (__nss_database_lookup): Handle
45540 nss_parse_service_list out of memory case.
45542 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45544 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45545 out of memory case.
45547 2011-10-04 Andreas Schwab <schwab@redhat.com>
45549 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45550 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45552 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45553 elf_machine_rela, elf_machine_lazy_rel.
45554 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45555 (ELF_DYNAMIC_DO_REL): Likewise.
45556 (ELF_DYNAMIC_DO_RELA): Likewise.
45557 (ELF_DYNAMIC_RELOCATE): Likewise.
45558 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45559 to ELF_DYNAMIC_DO_REL.
45560 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45561 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45562 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45564 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45565 skip_ifunc, don't call ifunc function if non-zero.
45566 (elf_machine_rela): Likewise.
45567 (elf_machine_lazy_rel): Likewise.
45568 (elf_machine_lazy_rela): Likewise.
45569 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45570 (elf_machine_lazy_rel): Likewise.
45571 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45573 (elf_machine_lazy_rel): Likewise.
45574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45576 (elf_machine_lazy_rel): Likewise.
45577 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45578 (elf_machine_lazy_rel): Likewise.
45579 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45580 (elf_machine_lazy_rel): Likewise.
45581 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45582 (elf_machine_lazy_rel): Likewise.
45583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45584 (elf_machine_lazy_rel): Likewise.
45585 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45586 (elf_machine_lazy_rel): Likewise.
45587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45588 (elf_machine_lazy_rel): Likewise.
45590 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45592 * nss/nss_files/files-init.c (_nss_files_init): Use static
45593 initialization for all the *_traced_file variables.
45595 2011-09-28 Andreas Schwab <schwab@redhat.com>
45597 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45599 2011-09-27 Roland McGrath <roland@hack.frob.com>
45602 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45604 2011-09-27 Andreas Schwab <schwab@redhat.com>
45606 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45607 Reread the line before reparsing it.
45609 2011-09-26 Andreas Schwab <schwab@redhat.com>
45611 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45613 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45614 Maxim Kuvyrkov <maxim@codesourcery.com>
45615 Joseph Myers <joseph@codesourcery.com>
45617 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45618 if needed for __stack_chk_guard.
45620 2011-09-19 Roland McGrath <roland@hack.frob.com>
45622 * sysdeps/posix/spawni.c (script_execute): Always define it.
45623 It will be optimized away if unused.
45624 (maybe_script_execute): New function.
45625 (__spawni): Call it.
45627 * Makerules: Don't include tls.make.
45628 (config-tls): Always set to thread.
45629 * tls.make.c: File removed.
45631 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45633 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45634 * config.make.in (CPPFLAGS-config): New substituted variable.
45636 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45638 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45641 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45642 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45644 2011-09-15 Roland McGrath <roland@hack.frob.com>
45646 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45647 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45649 (CALL_FAIL): Likewise.
45650 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45651 (CALL_FAIL): Macro removed.
45652 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45654 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45656 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45657 for __FINITE_MATH_ONLY__ == 1.
45659 2011-09-15 Andreas Schwab <schwab@redhat.com>
45661 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45662 __ieee754_sqrt instead of sqrt.
45663 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45664 __ieee754_sqrtf instead of sqrtf.
45665 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45666 __floorf instead of floorf.
45667 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45668 __floorf, __truncf instead of floorf, truncf.
45670 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45672 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45674 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45675 __extern_always_inline.
45676 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45679 2011-09-14 Andreas Schwab <schwab@redhat.com>
45681 * elf/rtld.c (dl_main): Also relocate in dependency order when
45682 doing symbol dependency testing.
45684 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45687 Always define `refsym'.
45689 2011-09-13 Andreas Schwab <schwab@redhat.com>
45691 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45692 (__FD_ELT): Renamed from __FDELT.
45693 * misc/bits/select2.h (__FD_ELT): Likewise.
45694 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45695 __FD_MASK instead of __FDELT, __FDMASK.
45696 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45698 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45701 * elf/Makefile (gen-ldd): Fix pattern.
45703 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45704 (init_tls): Likewise.
45706 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45710 2011-09-12 Andreas Schwab <schwab@redhat.com>
45712 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45713 `struct cmsghdr *' instead of `void *'.
45714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45717 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45719 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45721 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45722 ldd_rewrite_script.
45724 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45726 * configure.in: Remove --with-tls option.
45727 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45728 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45729 out in case it is missing.
45730 * sysdeps/ia64/elf/configure.in: Likewise.
45731 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45732 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45733 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45734 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45735 * sysdeps/sh/elf/configure.in: Likewise.
45736 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45737 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45738 * sysdeps/x86_64/elf/configure.in: Likewise.
45739 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45740 * sysdeps/mach/hurd/tls.h: Likewise.
45743 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45746 * configure.in: Fix use of AC_INIT.
45748 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45750 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45752 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45754 * malloc/hooks.c: Likewise.
45757 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45758 variables statically.
45759 (narenas): Initialize.
45760 (list_lock): Initialize.
45761 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45762 initializtion of main_arena and list_lock. Small cleanups.
45763 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45764 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45765 Add initializers to main_arena and mp_.
45766 (malloc_state): Remove pagesize member. Change all users to use
45769 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45770 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45771 is always initialized.
45773 * malloc/malloc.c: Removed unused configurations and dead code.
45774 * malloc/arena.c: Likewise.
45775 * malloc/hooks.c: Likewise.
45776 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45778 * include/tls.h: Removed. USE___THREAD must always be defined.
45779 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45780 * elf/dl-libc.c: Likewise.
45781 * elf/dl-tsd.c: Likewise.
45782 * include/errno.h: Likewise.
45783 * include/netdb.h: Likewise.
45784 * include/resolv.h: Likewise.
45785 * inet/herrno-loc.c: Likewise.
45786 * inet/herrno.c: Likewise.
45787 * malloc/arena.c: Likewise.
45788 * malloc/hooks.c: Likewise.
45789 * malloc/malloc.c: Likewise.
45790 * resolv/res-state.c: Likewise.
45791 * resolv/res_libc.c: Likewise.
45792 * sysdeps/i386/dl-machine.h: Likewise.
45793 * sysdeps/ia64/dl-machine.h: Likewise.
45794 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45795 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45796 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45797 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45798 * sysdeps/sh/dl-machine.h: Likewise.
45799 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45800 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45801 * sysdeps/unix/i386/sysdep.S: Likewise.
45802 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45803 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45808 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45812 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45813 * sysdeps/x86_64/dl-machine.h: Likewise.
45814 * tls.make.c: Likewise.
45816 * configure.in: Remove --with-__thread option. Make tests for
45817 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45818 tls_model attribute fail if no support is available. Remove
45820 * Makeconfig: Adjust for dropped configure option. All features are
45822 * Makerules: Likewise.
45823 * Versions.def: Likewise.
45824 * argp/argp-fmtstream.c: Likewise.
45825 * argp/argp-fmtstream.h: Likewise.
45826 * argp/argp-help.c: Likewise.
45827 * assert/assert.c: Likewise.
45828 * config.h.in: Likewise.
45829 * config.make.in: Likewise.
45830 * configure: Likewise.
45831 * configure.in: Likewise.
45832 * csu/Versions: Likewise.
45833 * csu/init.c: Likewise.
45834 * elf/tst-audit2.c: Likewise.
45835 * elf/tst-tls10.c: Likewise.
45836 * elf/tst-tls10.h: Likewise.
45837 * elf/tst-tls11.c: Likewise.
45838 * elf/tst-tls12.c: Likewise.
45839 * elf/tst-tls14.c: Likewise.
45840 * elf/tst-tlsmod11.c: Likewise.
45841 * elf/tst-tlsmod12.c: Likewise.
45842 * elf/tst-tlsmod13.c: Likewise.
45843 * elf/tst-tlsmod13a.c: Likewise.
45844 * elf/tst-tlsmod14a.c: Likewise.
45845 * elf/tst-tlsmod15b.c: Likewise.
45846 * elf/tst-tlsmod16a.c: Likewise.
45847 * elf/tst-tlsmod16b.c: Likewise.
45848 * elf/tst-tlsmod7.c: Likewise.
45849 * elf/tst-tlsmod8.c: Likewise.
45850 * elf/tst-tlsmod9.c: Likewise.
45851 * gmon/gmon.c: Likewise.
45852 * grp/fgetgrent_r.c: Likewise.
45853 * grp/putgrent.c: Likewise.
45854 * hurd/fopenport.c: Likewise.
45855 * include/libc-symbols.h: Likewise.
45856 * include/tls.h: Likewise.
45857 * intl/gettextP.h: Likewise.
45858 * intl/loadinfo.h: Likewise.
45859 * locale/global-locale.c: Likewise.
45860 * locale/localeinfo.h: Likewise.
45861 * mach/devstream.c: Likewise.
45862 * malloc/arena.c: Likewise.
45863 * malloc/set-freeres.c: Likewise.
45864 * misc/err.c: Likewise.
45865 * misc/getttyent.c: Likewise.
45866 * misc/mntent_r.c: Likewise.
45867 * posix/getopt.c: Likewise.
45868 * posix/wordexp.c: Likewise.
45869 * pwd/fgetpwent_r.c: Likewise.
45870 * resolv/Versions: Likewise.
45871 * resolv/res_hconf.c: Likewise.
45872 * shadow/fgetspent_r.c: Likewise.
45873 * shadow/putspent.c: Likewise.
45874 * stdio-common/printf_fphex.c: Likewise.
45875 * stdio-common/tmpfile.c: Likewise.
45876 * stdlib/abort.c: Likewise.
45877 * stdlib/fmtmsg.c: Likewise.
45878 * sunrpc/auth_unix.c: Likewise.
45879 * sunrpc/clnt_perr.c: Likewise.
45880 * sunrpc/clnt_tcp.c: Likewise.
45881 * sunrpc/clnt_udp.c: Likewise.
45882 * sunrpc/clnt_unix.c: Likewise.
45883 * sunrpc/openchild.c: Likewise.
45884 * sunrpc/svc_simple.c: Likewise.
45885 * sunrpc/svc_tcp.c: Likewise.
45886 * sunrpc/svc_udp.c: Likewise.
45887 * sunrpc/svc_unix.c: Likewise.
45888 * sunrpc/xdr.c: Likewise.
45889 * sunrpc/xdr_array.c: Likewise.
45890 * sunrpc/xdr_rec.c: Likewise.
45891 * sunrpc/xdr_ref.c: Likewise.
45892 * sunrpc/xdr_stdio.c: Likewise.
45894 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45896 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45898 2011-07-03 Andreas Jaeger <aj@suse.de>
45900 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45901 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45902 regenerate with gen-libm-tests.pl.
45904 2010-05-12 Petr Baudis <pasky@suse.cz>
45907 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45908 around j0() zero points by switching to j1().
45909 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45914 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45916 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45918 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45921 Patch in part by Pavel Roskin <proski@gnu.org>.
45924 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45926 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45927 Free memory block if necessary.
45930 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45931 be NULL. Don't lock in this case.
45933 2011-09-09 Roland McGrath <roland@hack.frob.com>
45935 * elf/elf.h (ELFOSABI_GNU): New macro.
45936 (ELFOSABI_LINUX): Define to that.
45938 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45940 * string/strncat.c (strncat): Undef the symbol in case it has been
45941 defined in bits/string.h.
45943 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45945 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45947 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45950 2011-08-17 Andreas Jaeger <aj@suse.de>
45952 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45954 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45955 Ian Lance Taylor <iant@google.com>
45957 * math/libm-test.inc (lround_test): New testcase.
45958 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45960 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45962 * Makefile: Remove support for automatic cvs check-ins.
45963 * Makerules: Likewise.
45964 * config.make.in: Likewise.
45965 * configure.in: Likewise.
45966 * intl/Makefile: Likewise.
45967 * locale/Makefile: Likewise.
45968 * po/Makefile: Likewise.
45969 * posix/Makefile: Likewise.
45970 * sysdeps/gnu/Makefile: Likewise.
45971 * sysdeps/mach/hurd/Makefile: Likewise.
45972 * sysdeps/sparc/sparc32/Makefile: Likewise.
45975 * posix/Makefile (bug-regex32-ENV): Define.
45976 Patch by John Stanley <jpsinthemix@verizon.net>.
45978 * misc/Makefile (headers): Add bits/select2.h.
45979 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45980 * misc/bits/select2.h: New file.
45981 * include/bits/select2.h: New file.
45982 * debug/Makefile (routines): Add fdelt_chk.
45983 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45984 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45986 * debug/fdelt_chk.c: New file.
45988 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45989 * wcsmbs/test-wmemcmp.c: Likewise.
45990 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45991 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45993 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45995 * string/Makefile (strop-tests): Add memcmp.
45996 * string/test-wmemcmp.c: New file.
45997 * string/test-memcmp.c: Add wmemcmp support.
45999 2011-09-08 Roland McGrath <roland@hack.frob.com>
46002 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46005 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46006 garbage value in a __mach_port_mod_refs call in the cases of the
46007 task-self and thread-self ports.
46009 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46011 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46013 2011-09-08 Andreas Schwab <schwab@redhat.com>
46015 * elf/dl-load.c (lose): Check for non-null L.
46017 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46019 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46021 * elf/dl-libc.c (dlerror_run): Pass back error code from
46025 * elf/dl-load.c (lose): Free l_origin if it is valid.
46027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46029 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46030 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46031 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46032 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46033 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46034 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46036 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46038 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46039 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46040 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46041 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46042 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46043 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46044 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46045 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46046 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46047 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46049 2011-08-15 Alan Modra <amodra@gmail.com>
46052 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46053 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46054 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46055 ppc_mcount to static-only-routines.
46056 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46058 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46059 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46061 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46063 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46064 for finite and infinity parameters.
46066 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46069 and add nop instructions for throughput optimization.
46070 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46072 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46074 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46075 aligned copy for power7 with vector-scalar instructions.
46076 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46078 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46083 2011-09-07 Andreas Schwab <schwab@redhat.com>
46086 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46089 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46091 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46092 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46093 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46094 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46097 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46099 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46100 Forgot to demangle the pointer.
46102 * sysdeps/i386/sysdep.h: Define atom_text_section.
46103 * sysdeps/x86_64/sysdep.h: Likewise.
46104 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46105 section with atom_text_section.
46106 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46107 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46108 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46109 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46110 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46113 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46114 already be defined. Change to take two parameters and don't assign
46115 result to variable. Adjust all users.
46116 Define INTERNAL_GETTIME if not already defined.
46117 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46120 HAVE_CLOCK_GETTIME_VSYSCALL.
46121 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46124 gettimeofday vsyscall, just use time.
46126 2011-09-06 Andreas Schwab <schwab@redhat.com>
46128 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46131 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46133 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46137 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46138 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46139 syscall if possible.
46141 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46143 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46144 e_ident. Don't pass to find_mapsXX.
46145 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46147 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46150 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46151 * sysdeps/x86_64/multiarch/strchr.S: Update.
46152 Check bit_slow_BSF bit.
46153 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46154 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46155 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46157 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46160 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46162 (tryshell): Define.
46163 (__spawni): Change last parameter to be flag. Test
46164 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46165 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46166 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46167 * posix/spawni.c: Likewise.
46168 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46169 * posix/spawnp.c: Likewise. Change normal version to use
46170 SPAWN_XFLAGS_USE_PATH.
46171 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46172 SPAWN_XFLAGS_TRY_SHELL.
46175 * posix/glob.h: Remove gcc 1.x support.
46178 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46180 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46183 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46185 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46186 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46187 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46188 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46189 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46190 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46192 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46194 * sysdeps/x86_64/wcscmp.S: New file.
46196 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46197 wcscmp-c wcscmp-sse2
46198 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46199 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46200 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46201 * wcsmbs/wcscmp.c: Allow renaming.
46203 2011-09-05 David S. Miller <davem@davemloft.net>
46205 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46206 stack slot, rather than the struct return pointer slot.
46207 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46208 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46210 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46212 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46214 * po/ja.po: Update from translation team.
46217 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46218 kernel in 64-bit binaries.
46220 2011-09-01 David S. Miller <davem@davemloft.net>
46222 * elf/elf.h (HWCAP_SPARC_*): Move to..
46223 * sysdeps/sparc/sysdep.h: this new file and add new values.
46224 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46225 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46226 _DL_HWCAP_COUNT to 24.
46227 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46229 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46230 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46231 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46233 instead of magic constants.
46234 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46236 2011-08-31 David S. Miller <davem@davemloft.net>
46238 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46240 Reimplement to do errno handling inline.
46241 (SYSCALL_ERROR_HANDLER): New macro.
46242 (__SYSCALL_STRING): Do not do errno handling in asm.
46243 (__CLONE_SYSCALL_STRING): Delete.
46244 (__INTERNAL_SYSCALL_STRING): Delete.
46245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46246 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46247 (PSEUDO): Reimplement to do errno handling inline.
46248 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46249 (SYSCALL_ERROR_HANDLER): New macro.
46250 (__SYSCALL_STRING): Do not do errno handling in asm.
46251 (__CLONE_SYSCALL_STRING): Delete.
46252 (__INTERNAL_SYSCALL_STRING): Delete.
46253 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46254 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46256 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46257 (inline_syscall*): Add 'err' argument.
46258 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46259 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46260 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46261 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46263 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46264 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46266 2011-08-30 Andreas Schwab <schwab@redhat.com>
46268 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46270 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46272 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46275 2011-08-24 David S. Miller <davem@davemloft.net>
46277 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46279 2011-08-24 Andreas Schwab <schwab@redhat.com>
46281 * elf/Makefile: Add rules to build and run unload8 test.
46282 * elf/unload8.c: New file.
46283 * elf/unload8mod1.c: New file.
46284 * elf/unload8mod1x.c: New file.
46285 * elf/unload8mod2.c: New file.
46286 * elf/unload8mod3.c: New file.
46288 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46291 2011-08-23 David S. Miller <davem@davemloft.net>
46293 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46294 subtract stack bias.
46295 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46296 %sp not %fp in calculations.
46297 (_JMPBUF_UNWINDS_ADJ): Likewise.
46299 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46300 (aio_suspend): Call it to force an exception region around the
46301 AIO_MISC_WAIT() invocation.
46303 2011-08-23 Andreas Schwab <schwab@redhat.com>
46305 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46308 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46310 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46312 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46313 and <dl-machine.h>.
46314 (Elf64_FuncDesc): Remove.
46316 2011-08-22 David S. Miller <davem@davemloft.net>
46318 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46319 sigaltstack check, add missing cfi directives.
46320 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46321 missing cfi directives, and sigaltstack handling.
46323 2011-08-16 Andreas Schwab <schwab@redhat.com>
46326 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46327 object is seen twice.
46328 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46330 * elf/Makefile (distribute): Add tst-initorder2.c.
46331 (tests): Add tst-initorder2.
46332 (modules-names): Add tst-initorder2a tst-initorder2b
46333 tst-initorder2c tst-initorder2d. Add rules to build them.
46334 ($(objpfx)tst-initorder2.out): New rule.
46335 * elf/tst-initorder2.c: New file.
46336 * elf/tst-initorder2.exp: New file.
46338 2011-08-22 Andreas Schwab <schwab@redhat.com>
46340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46342 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46343 dependencies back to end of function.
46345 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46346 $(elfobjdir)/ld.so.
46348 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46351 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46352 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46353 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46354 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46355 of __vdso_gettimeofday.
46356 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46357 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46359 (_libc_vdso_platform_setup): Remove initialization of
46360 __vdso_gettimeofday and __vdso_time.
46362 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46364 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46365 and fgetc_unlocked.
46366 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46369 * elf/dl-open.c (add_to_global): Report additions to the global scope
46370 for LD_DEBUG=scopes.
46371 (dl_open_worker): Also print scope of newly loaded dependencies.
46372 (_dl_show_scope): Indicate if there is no scope.
46375 * stdio-common/Makefile (tests): Add bug24.
46376 * stdio-common/bug24.c: New file.
46378 2011-08-19 Andreas Jaeger <aj@suse.de>
46381 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46382 non-existant file when using close-on-exec mode.
46384 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46387 the very first instruction.
46389 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46390 the CFI state in the end.
46391 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46392 inclusion of dl-trampoline.h.
46393 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46395 2011-08-19 Andreas Schwab <schwab@redhat.com>
46397 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46398 expectations for long double.
46400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46401 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46403 2011-08-14 David S. Miller <davem@davemloft.net>
46405 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46406 artificual limit depends upon the system page size.
46408 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46410 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46411 * resolv/Makefile: Define CFLAGS-libresolv.
46413 2011-08-17 Andreas Schwab <schwab@redhat.com>
46415 * nss/makedb.c (compute_tables): Make variables used in nested
46418 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46420 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46421 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46422 if buffer was too small.
46424 * elf/pldd.c (main): Attach to all threads in the process.
46425 Rewrite /proc handling to use *at functions.
46427 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46429 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46430 specifies first scope to show.
46431 (dl_open_worker): Update callers. Move printing scope of new
46432 object to before the relocation.
46433 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46434 * sysdeps/generic/ldsodefs.h: Update declaration.
46436 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46437 string for the scope number.
46439 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46441 * nscd/servicescache.c (cache_addserv): Make sure written is always
46444 2011-08-14 Roland McGrath <roland@hack.frob.com>
46446 * sysdeps/i386/i486/bits/atomic.h
46447 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46448 statement expression, so as to suppress "set but not used" warning.
46449 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46451 * string/strncat.c (STRNCAT): Use prototype definition.
46453 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46454 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46456 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46457 (localedef-modules): Add localedef.
46458 (locale-modules): Add locale.
46460 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46461 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46462 to avoid a warning.
46464 2011-08-14 David S. Miller <davem@davemloft.net>
46466 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46467 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46469 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46471 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46472 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46473 * elf/rtld.c (dl_main): Set l_name of vDSO.
46474 Call _dl_show_scope when DL_DEBUG_SCOPES.
46475 (process_dl_debug): Recognize scopes flag and also set it for all.
46476 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46477 Declare _dl_show_scope.
46479 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46480 (do_dlopen): Pass caller_dlopen to dl_open.
46481 (__libc_dlopen_mode): Initialize caller_dlopen.
46483 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46484 of libc. Make tolower call locale-independent. Optimize a bit by
46485 using isdigit instead of isalnum.
46486 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46488 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46490 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46491 was a dependency or dynamically loaded.
46493 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46495 * intl/l10nflist.c: Allow architecture-specific pop function.
46496 * sysdeps/x86_64/l10nflist.c: New file.
46498 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46501 2011-08-10 Andreas Schwab <schwab@redhat.com>
46503 * include/dirent.h: Add libc_hidden_proto for scandirat and
46504 scandirat64. Don't declare __scandirat64.
46505 * dirent/scandirat.c: Add libc_hidden_def.
46506 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46507 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46509 2011-08-10 David S. Miller <davem@davemloft.net>
46511 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46515 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46517 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46519 * Versions.def [libc]: Add GLIBC_2.15.
46520 * dirent/Makefile (routines): Add scandirat and scandirat64.
46521 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46523 * dirent/dirent.h: Declare scandirat and scandirat64.
46524 * dirent/scandirat.c: New file.
46525 * dirent/scandirat64.c: New file.
46526 * sysdeps/wordsize-64/scandirat.c: New file.
46527 * sysdeps/wordsize-64/scandirat64.c: New file.
46528 * dirent/opendir.c: Define opendirat.
46529 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46531 * dirent/scandir64.c: Adjust for scandir.c change.
46532 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46533 __scandirat64, and __scandir_cancel_handler.
46534 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46535 additional parameter and use openat instead of open (outside of ld.so).
46536 Add new __opendir as wrapper around __opendirat.
46537 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46538 here without requiring old scandirat implementation.
46540 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46542 * dirent/scandir.c (cancel_handler): Renamed to
46543 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46544 defined. Adjust users.
46545 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46548 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46550 * string/test-string.h (IMPL): Use __STRING to expand name and then
46553 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46556 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46558 * string/Makefile: Update.
46559 (strop-tests): Append strncat.
46560 * string/test-wcscmp.c: New file.
46561 New comprehensive test for wcscmp.
46562 * string/test-strcmp.c: Update.
46563 (WIDE): New define.
46565 2011-07-22 Andreas Schwab <schwab@redhat.com>
46567 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46570 2011-07-26 Andreas Schwab <schwab@redhat.com>
46572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46573 encoding to ACE if AI_IDN.
46575 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46578 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46580 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46582 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46583 Fix overflow bug in strncat.
46584 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46586 * string/test-strncat.c: Update.
46587 Add new tests for checking overflow bugs.
46589 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46592 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46593 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46594 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46596 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46597 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46598 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46599 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46602 (USE_AS_STRCAT): Define.
46603 Add strcat and strncat support.
46604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46606 2011-07-25 Andreas Schwab <schwab@redhat.com>
46608 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46609 __n bigger than INT_MAX+1.
46610 (__strncmp_g): Likewise.
46612 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46614 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46615 * libio/stido.h: Likewise.
46617 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46622 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46623 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46624 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46625 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46629 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46634 (_dl_x86_64_save_sse): Likewise.
46636 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46640 (_dl_x86_64_save_sse): Likewise.
46642 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46644 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46646 2011-07-21 Andreas Schwab <schwab@redhat.com>
46648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46650 (_dl_x86_64_save_sse): Use correct AVX check.
46652 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46655 bug in strncpy/strncat.
46656 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46658 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46660 * string/tester.c (test_strcat): Add tests for different alignments
46661 of source and destination.
46662 (test_strncat): Likewise.
46664 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46667 * posix/glob.c (glob): Check passed in values before using them in
46668 expressions to avoid some overflows.
46669 (glob_in_dir): Likewise.
46672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46673 check for AVX enablement so that we don't crash with old kernels and
46675 * elf/tst-audit4.c: Add same checks here.
46676 * elf/tst-audit6.c: Likewise.
46678 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46680 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46682 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46684 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46686 * po/cs.po: Update from translation team.
46687 * po/bg.po: Likewise.
46689 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46691 * misc/sys/cdefs.h: Add support for const attribute.
46692 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46693 to gnu_dev_{major,minor,makedev} functions.
46695 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46697 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46699 2011-07-20 Andreas Schwab <schwab@redhat.com>
46701 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46704 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46707 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46708 register in order to avoid conflicts with the soft frame pointer
46709 being held in r11 when necessary.
46710 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46711 (INTERNAL_VSYSCALL_NCS): Likewise.
46713 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46715 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46716 * elf/dl-fini.c (_dl_fini): Adjust caller.
46717 * elf/dl-close.c (_dl_close_worker): Likewise.
46718 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46720 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46722 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46723 "aux_cache->nlibs < 0".
46725 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46726 in the reload-count case.
46728 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46731 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46732 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46733 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46734 * sysdeps/x86_64/multiarch/strcat.S: New file.
46735 * sysdeps/x86_64/multiarch/strncat.S: New file.
46736 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46737 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46738 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46739 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46740 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46741 (USE_AS_STRCAT): Define.
46742 Add strcat and strncat support.
46743 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46744 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46745 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46746 * string/strncat.c: Update.
46747 (USE_AS_STRNCAT): Define.
46748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46749 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46751 * sysdeps/x86_64/multiarch/init-arch.h
46752 (bit_Prefer_PMINUB_for_stringop): New.
46753 (index_Prefer_PMINUB_for_stringop): Likewise.
46754 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46755 bit_Prefer_PMINUB_for_stringop.
46757 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46759 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46761 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46762 of casting of buffer.
46763 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46764 buffer32 and buffer64.
46765 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46766 writes instead of casting of buffer.
46767 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46769 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46772 2011-07-19 Andreas Schwab <schwab@redhat.com>
46774 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46776 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46778 * nscd/nscd.c (termination_handler): Don't do anything for a database
46779 if it has not yet been initialized.
46781 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46783 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46785 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46787 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46789 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46791 * po/nl.po: Update from translation team.
46792 * po/sv.po: Likewise.
46794 2011-07-16 Roland McGrath <roland@hack.frob.com>
46796 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46797 now disallowed by GCC.
46799 * configure.in (use-default-link): Default to yes if a test -shared
46800 link meets our qualifications.
46801 * configure: Regenerated.
46803 * config.make.in (output-format): New variable.
46804 * configure.in: Check for ld --print-output-format support.
46805 * configure: Regenerated.
46806 * Makerules ($(common-objpfx)format.lds)
46807 [$(output-format) != unknown]: Just use $(output-format),
46808 instead of the linker-script munging.
46810 2011-07-14 Roland McGrath <roland@hack.frob.com>
46812 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46813 of $(common-objpfx)shlib.lds.
46814 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46816 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46817 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46819 * configure.in (-z relro check): Adjust test code to add a large
46820 writable data section after it.
46821 * configure: Regenerated.
46823 2011-07-11 Roland McGrath <roland@hack.frob.com>
46825 * configure.in (-z relro check): Fix test code to make the variable
46827 * configure: Regenerated.
46829 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46831 * nscd/nscd.h (struct traced_file): Define.
46832 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46833 elements. Add traced_files.
46834 (inotify_fd): Declare.
46835 (register_traced_file): Declare.
46836 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46837 (inotify_fd): Export.
46838 (resolv_conf_descr): Remove.
46839 (nscd_init): Move inotify descriptor creation to main.
46840 Don't register files for notification here.
46841 (register_traced_file): New function.
46842 (invalidate_cache): Don't use reset_res to determine whether to call
46843 res_init, go through the list of registered files.
46844 (main_loop_poll): The inotify descriptors are now stored in the
46845 structures for the traced files.
46846 (main_loop_epoll): Likewise
46847 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46848 to __nss_disable_nscd.
46849 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46850 for a database anymore. Check the records for all the registered
46852 * nss/Makefile (libnss_files-routines): Add files-init.
46853 (libnss_db-routines): Add db-init.
46854 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46855 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46856 * nss/nss_db/db-init.c: New file.
46857 * nss/nss_files/files-init.c: New file.
46858 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46859 __nss_lookup_function.
46860 (__nss_lookup_function): Call nss_load_library.
46861 (nss_load_all_libraries): New function.
46862 (__nss_disable_nscd): Take parameter with callback function for files
46863 to register. Set is_nscd. Load all the DSOs for the NSS modules
46864 used for the cached services.
46865 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46866 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46867 options for features to all the files in nscd.
46869 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46871 2011-07-10 Roland McGrath <roland@hack.frob.com>
46873 * csu/elf-init.c (__libc_csu_init): Comment typo.
46875 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46877 * po/pl.po: Update from translation team.
46878 * po/ja.po: Likewise.
46879 * po/ru.po: Likewise.
46880 * po/ko.po: Likewise.
46881 * po/fr.po: Likewise.
46883 2011-07-09 Roland McGrath <roland@hack.frob.com>
46885 * configure.in (.ctors/.dtors header and trailer check):
46886 Use an empirical test on a built program.
46887 * configure: Regenerated.
46889 * configure.in (-z relro check): Use an empirical test on a built DSO.
46890 Detect, but do not require, on ia64.
46891 * configure: Regenerated.
46893 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46894 Update tests that use readelf to use $READELF instead.
46895 * configure: Regenerated.
46897 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46899 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46900 if the result is not used.
46902 2011-07-05 Andreas Jaeger <aj@suse.de>
46905 * stdlib/tst-strtod.c: Add testcase.
46907 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46909 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46910 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46911 The latter has a higher limit. Take additional parameter to pass to
46913 (__pathconf): Pass file to __statfs_link_max.
46914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46916 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46920 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46921 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46923 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46924 (__statfs_filesize_max): Likewise.
46925 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46927 2011-07-05 Andreas Jaeger <aj@suse.de>
46929 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46931 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46933 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46935 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46938 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46940 * Makefile (strop-tests): Add strncat.
46941 * string/test-strncat.c: New file.
46943 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46945 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46947 2011-06-21 Andreas Jaeger <aj@suse.de>
46949 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46950 Copy rule from iconvdata/Makefile.
46952 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46955 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46956 but no long options are defined, just return 'W'.
46958 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46961 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46963 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46965 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46967 (innetgr): Likewise.
46969 2011-07-05 Roland McGrath <roland@hack.frob.com>
46971 * config.make.in (install_root): Default to $(DESTDIR).
46973 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46975 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46977 2011-07-02 Roland McGrath <roland@hack.frob.com>
46979 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46981 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46982 containing directory rather than embedding absolute directory names.
46984 * scripts/check-local-headers.sh: Rewritten using awk.
46985 Match by word, not by line. Print error messages for matches.
46986 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46988 * Makerules [shlib-lds-flags empty]:
46989 ($(common-objpfx)libc_pic.opts): New target.
46990 ($(common-objpfx)libc_pic.os.clean): New target.
46991 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46993 * config.make.in (OBJCOPY): New variable.
46994 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46995 * configure: Regenerated.
46997 * config.make.in (use-default-link): New variable.
46998 * configure.in (use_default_link): Grok --with-default-link to set it.
46999 * configure: Regenerated.
47000 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47001 (shlib-lds, shlib-lds-flags): Define to empty.
47003 * Makerules (shlib-lds): New variable.
47004 (shlib-lds-flags): New variable.
47005 (build-shlib, build-moduile, build-module-asneeded): Use it.
47006 ($(common-objpfx)libc.so): Use $(shlib-lds).
47007 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47008 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47010 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47011 DT_FLAGS/DT_FLAGS_1 with zero flags.
47013 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47014 linker script munging.
47016 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47018 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47020 * crypt/sha512.c (sha512_process_block): Perform total addition using
47021 128-bit if possible.
47022 (__sha512_finish_ctx): Likewise.
47023 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47025 * crypt/sha256.c (SWAP64): Define.
47026 (sha256_process_block): Perform total addition using 64-bit if
47028 (__sha256_finish_ctx): Likewise.
47030 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47032 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47033 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47034 * nscd/hstcache.c (cache_addhst): Likewise.
47035 * nscd/grpcache.c (cache_addgr): Likewise.
47036 * nscd/aicache.c (addhstaiX): Likewise
47037 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47039 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47041 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
47047 2011-07-01 Andreas Schwab <schwab@redhat.com>
47049 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47050 domain only when needed.
47052 2011-06-30 Andreas Schwab <schwab@redhat.com>
47054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47055 is always restored.
47057 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47059 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47060 are re-adding the entry.
47061 * nscd/servicescache.c (cache_addserv): Likewise.
47063 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47065 * sysdeps/generic/dl-irel.h: fix protection against multiple
47067 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47069 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47072 * malloc/memusage.sh: Fix quoting in message.
47073 * debug/xtrace.sh: Likewise.
47075 * configure.in: Remove support for --experimental-malloc option, make
47077 * config.make.in: Likewise.
47078 * malloc/Makefile: Likewise.
47080 2011-06-27 Andreas Schwab <schwab@redhat.com>
47082 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47083 two-byte characters.
47085 2011-06-27 Roland McGrath <roland@hack.frob.com>
47087 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47088 AC_CACHE_CHECK invocation.
47089 * configure: Regenerated.
47091 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47093 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47096 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47097 bit from old_res_options.
47099 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47101 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47102 value type for setfct.
47104 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47107 __gettimeofday instead of gettimeofday.
47109 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47111 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47113 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47115 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47117 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47120 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47123 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47124 strcpy-sse2-unaligned strncpy-sse2-unaligned
47125 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47126 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47127 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47128 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47129 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47130 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47131 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47132 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47133 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47134 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47135 (STRCPY): Support SSE2 and SSSE3 versions.
47137 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47140 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47141 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47142 kernels which artificially limit size of requests.
47144 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47147 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47148 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47149 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47150 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47151 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47152 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47153 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47156 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47157 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47158 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47159 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47160 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47162 Enable unaligned load optimization for Intel Core i3, i5 and i7
47164 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47166 (index_Fast_Unaligned_Load): Define.
47167 (HAS_FAST_UNALIGNED_LOAD): Define.
47169 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47171 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47173 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47176 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47177 until it is clear that the information is realy needed.
47178 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47180 2011-06-22 Andreas Schwab <schwab@redhat.com>
47182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47184 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47187 /sys/devices/system/cpu/online if it is usable.
47189 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47190 reading the information from the /proc filesystem to once a second.
47192 2011-06-21 Andreas Jaeger <aj@suse.de>
47194 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47195 NULL after inclusion of kernel headers.
47197 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47199 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47200 calls to internal_setent.
47203 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47204 addresses using gethostbyname4_r ignore IPv4 addresses.
47206 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47207 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47209 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47211 2011-06-20 David S. Miller <davem@davemloft.net>
47213 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47215 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47217 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47218 (elf_irel): Use it.
47219 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47220 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47221 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47222 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47223 * sysdeps/x86_64/dl-irel.h: Likewise.
47225 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47226 * elf/dl-sym.c: Likewise.
47228 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47230 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47231 need to dereference resplen2.
47233 2011-06-14 Andreas Schwab <schwab@redhat.com>
47235 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47237 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47239 * Makeconfig: Define vardbdir and inst_vardbdir.
47240 * nss/Makefile: Add rules to install db-Makefile.
47242 * nss/nss_db/db-XXX.c: Cleanup.
47244 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47245 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47247 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47248 * nss/makedb.c: Implement -g option to specify that value strings
47249 are generated and should not be added to table iterated over for
47251 * nss/nss_db/db-initgroups.c: New file.
47253 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47256 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47257 (internal_getgrouplist): Adjust to name change.
47258 Update use_initgroups_entry if this is not the first call.
47259 * nss/databases.def: Add initgroups entry.
47261 * nss/makedb.c (compute_tables): Check result of multiple hash table
47262 sizes to minimize maximum chain length.
47264 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47266 * Versions.def: Add entry for libnss_db.
47267 * shlib-versions: Likewise.
47268 * nss/Makefile: Add rules to build libnss_db.
47269 * nss/Versions: Add libnss_db information. Organize libnss_files
47271 * nss/db-Makefile: Add gshadow support. Change rules for the new
47272 makedb progra. Some minor improvements to generate smaller files.
47273 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47275 * nss/makedb.c: ...here.
47276 Improve database format to be smaller and require less memory at
47278 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47280 * nss/nss_db/db-netgrp.c: Likewise.
47281 * nss/nss_db/db-open.c: Likewise.
47282 * nss/nss_files/flies-XXX.x: Adjust comments.
47283 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47284 * nss/nss_files/files-grp.c: Likewise.
47285 * nss/nss_files/files-hosts.c: Likewise.
47286 * nss/nss_files/files-network.c: Likewise.
47287 * nss/nss_files/files-proto.c: Likewise.
47288 * nss/nss_files/files-pwd.c: Likewise.
47289 * nss/nss_files/files-rpc.c: Likewise.
47290 * nss/nss_files/files-service.c: Likewise.
47291 * nss/nss_files/files-sgrp.c: Likewise.
47292 * nss/nss_files/files-spwd.c: Likewise.
47293 * nss/nss_db/db-alias.c: Removed.
47294 * nss/nss_db/dummy-db.h: Removed.
47296 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47298 * nss/makedb.c: Rewritten to not use database library.
47299 * nss/Makefile: Update to build new makedb program.
47301 2011-06-14 Andreas Jaeger <aj@suse.de>
47303 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47304 memset declaration.
47306 2011-06-10 Andreas Schwab <schwab@redhat.com>
47308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47311 2011-06-10 Roland McGrath <roland@hack.frob.com>
47313 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47314 * elf/Makefile ($(objpfx)ld.so): Likewise.
47316 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47317 Don't list ld.so twice in dependencies.
47319 * posix/bug-regex31.c: Include <stdlib.h>.
47321 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47323 * nis/nss_compat/compat-spwd.c
47324 (getspent_next_nss_netgr): Remove unused variable.
47325 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47327 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47328 nonmembers" output to use the right array.
47330 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47332 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47334 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47335 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47336 * catgets/gencat.c (read_input_file): Likewise.
47337 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47339 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47340 variable definition inside #if's controlling its use.
47342 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47344 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47346 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47348 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47351 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47353 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47354 * configure: Regenerated.
47356 * Makerules: Revert last change.
47357 * elf/Makefile: Likewise.
47359 2011-06-09 Roland McGrath <roland@hack.frob.com>
47361 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47362 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47363 (reloc-link): Likewise.
47365 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47367 * elf/Makefile: Add rules to build pldd.
47368 * elf/pldd.c: New file.
47369 * elf/pldd-xx.c: New file.
47371 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47373 * version.h: Update for 2.15 development version.
47375 2011-06-07 David S. Miller <davem@davemloft.net>
47377 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47379 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47380 elf_machine_lazy_rel): Likewise.
47381 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47382 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47383 elf_machine_lazy_rel): Likewise.
47384 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47385 dl_hwcap via passed in argument.
47386 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47389 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47391 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47393 2011-06-06 Roland McGrath <roland@hack.frob.com>
47396 * manual/fdl-1.1.texi: New file, verbatim from:
47397 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47398 * manual/lgpl-2.1.texi: New file, verbatim from:
47399 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47400 * manual/Makefile (licenses): New variable, list those new file names.
47402 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47404 * manual/fdl.texi: File removed.
47405 * manual/lesser.texi: File removed.
47406 * manual/libc.texinfo (Copying, Documentation License):
47407 Use new @include file names, put @appendix directive before @include.
47409 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47412 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47413 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47414 (mq_open): Add __NTH.
47416 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47419 Assume Intel Core i3/i5/i7 processor if AVX is available.
47421 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47426 2011-05-31 Andreas Schwab <schwab@redhat.com>
47428 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47429 memory. Use alloca_account. Fix memory leak when retrying.
47431 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47433 * version.h (RELEASE): Bump for 2.14 release.
47434 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47436 * config.make.in (RANLIB): Remove entry.
47438 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47440 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47441 (libc.pot): Work around missing support for .ksh extension in xgettext.
47444 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47445 if both request failed.
47446 (send_dg): In case of server errors clear resplen or *resplen2.
47449 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47450 when there are multiple maps.
47451 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47452 (_dl_fini): Remove test here.
47454 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47456 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47459 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47460 bit from old_res_options.
47461 (gaih_inet): Likewise.
47464 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47467 * resolv/res_init.c (res_setoptions): Make the code more compact.
47470 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47474 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47476 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47479 * malloc/malloc.h: Declare malloc hook variables as volatile.
47481 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47485 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47486 raise in the comment.
47487 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47489 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47491 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47494 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47495 grow the buffers more if it already has to be sufficient.
47496 (build_wcs_upper_buffer): Likewise.
47497 * posix/regexec.c (check_matching): Likewise.
47498 (clean_state_log_if_needed): Likewise.
47499 (extend_buffers): Don't enlarge buffers beyond size of the input
47501 Patches mostly by Emil Wojak <emil@wojak.eu>.
47502 * posix/bug-regex32.c: New file.
47503 * posix/Makefile (tests): Add bug-regex32.
47505 * locale/findlocale.c (_nl_find_locale): Return right away if
47506 _nl_explode_name failed.
47507 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47509 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47511 * debug/xtrace.sh: Unify messages.
47512 * malloc/memusage.sh: Likewise.
47515 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47516 time symbol from vDSO. Substitute with vsyscall if not available.
47517 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47520 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47521 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47522 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47523 Add sendmmsg and internal_sendmmsg.
47524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47525 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47526 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47528 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47529 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47530 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47532 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47535 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47536 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47538 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47542 * iconvdata/Makefile (tests): Add bug-iconv9.
47543 * iconvdata/bug-iconv9.c: New file.
47545 2011-05-27 Andreas Schwab <schwab@redhat.com>
47548 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47550 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47552 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47553 (struct user_regs_struct): Change intcs field back to cs.
47555 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47557 * po/ja.po: Update from translation team.
47559 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47562 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47563 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47565 2011-05-20 Andreas Schwab <schwab@redhat.com>
47567 * stdlib/longlong.h: Update from GCC.
47569 2011-05-23 Andreas Schwab <schwab@redhat.com>
47571 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47573 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47574 Add parameter name.
47575 (__sysconf): Pass it down.
47577 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47580 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47582 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47583 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47584 add in in __libc_use_alloca calls. Adjust callers.
47585 (glob): Use malloc in some situations.
47587 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47588 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47591 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47593 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47594 and CLOCK_BOOTTIME_ALARM.
47597 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47600 * string/_strerror.c (__strerror_r): Print negative errors as signed
47604 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47605 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47606 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47608 * configure.in: Fix typo in redirection and correct removal of test
47609 files in two cases.
47612 * locale/setlocale.c (new_composite_name): Fix test to check for
47613 identical name of all categories.
47616 * libio/filedoalloc.c (local_isatty): New function.
47617 (_IO_file_doallocate): Use local_isatty.
47618 * stdio-common/perror.c (perror): In case a new stream is used
47619 forward the stream error.
47620 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47623 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47628 * include/alloca.h (extend_alloca_account): Define.
47631 * posix/regex.h: Fix comments with documentation of user-accessible
47632 fields after compilation and describe correct free'ing of pattern
47633 after re_compile_pattern.
47634 Patch by Reuben Thomas <rrt@sc3d.org>.
47636 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47638 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47639 and -mno-altivec to prevent the compiler from using Altivec and/or
47640 VSX instructions when the corresponding registers are not available.
47642 2011-05-19 Andreas Schwab <schwab@redhat.com>
47644 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47646 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47648 * libio/freopen.c (freopen): Use __dup2, not dup2.
47649 * libio/freopen64.c (freopen64): Likewise.
47651 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47654 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47655 * math/Makefile (tests): Add test-powl.
47656 (CFLAGS-test-powl.c): Define.
47657 * math/test-powl.c: New file.
47659 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47661 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47663 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47666 * iconvdata/gb18030.c: Update to GB18020-2005.
47668 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47670 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47671 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47672 Patch by Aharon Robbins <arnold@skeeve.com>.
47675 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47679 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47680 through underflows.
47683 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47684 point to strings before performing equality test for error_one_per_line
47688 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47692 (struct user_fpregs_struct): Avoid __uint*_t types.
47695 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47696 symbol info. Use it instead of calling _dl_addr locally.
47697 (lock_and_info): New function.
47698 (tr_freehook): Call lock_and_info and pass symbol info as additional
47699 parameter to tr_where.
47700 (tr_mallochook): Likewise.
47701 (tr_reallochook): Likewise.
47702 (tr_memalignhook): Likewise.
47704 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47705 used and couldn't be at all thread-safe.
47707 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47709 * libio/freopen.c (freopen): Don't close old file descriptor
47710 before the new one is opened. Instead dup the new file descriptor
47711 to the old one after the new stream is created.
47712 * libio/freopen64.c (freopen64): Likewise.
47713 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47714 * libio/fileops.c (_IO_new_file_close_it): Handle new
47715 _IO_FLAGS2_NOCLOSE flag.
47716 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47717 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47718 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47719 _IO_FLAGS2_NOCLOSE flag.
47720 * include/unistd.h: Add hidden_proto for dup3.
47721 Define __have_dup3.
47722 * io/dup3.c: Define hidden symbol.
47723 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47726 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47727 when an incomplete long option is used.
47728 * posix/tst-getopt_long1.c: New file.
47729 * posix/Makefile (tests): Add tst-getopt_long1.
47732 * scripts/config.guess: Update from autoconf-2.68.
47733 * scripts/config.sub: Likewise.
47736 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47738 (has_cpuclock): ...this. New function.
47739 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47740 macro here based on has_cpuclock code.
47743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47744 First byte (not low byte) is now always NUL.
47745 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47748 Use non-cancelable interfaces.
47751 * locale/iso-639.def: Add entry for Sorani.
47754 * include/stdlib.h: Move include protection to the right place.
47755 Define abort_msg_s. Declare __abort_msg with it.
47756 * stdlib/abort.c (__abort_msg): Adjust type.
47757 * assert/assert.c (__assert_fail_base): New function. Majority
47758 of code from __assert_fail. Allocate memory for __abort_msg with
47760 (__assert_fail): Now call __assert_fail_base.
47761 * assert/assert-perr.c: Remove bulk of implementation. Use
47762 __assert_fail_base.
47763 * include/assert.hL Declare __assert_fail_base.
47764 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47766 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47768 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47772 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47773 until all modules are registered in the DTV.
47774 * elf/Makefile: Add rules to build and run tst-tls19.
47775 * elf/tst-tls19.c: New file.
47776 * elf/tst-tls19mod1.c: New file.
47777 * elf/tst-tls19mod2.c: New file.
47778 * elf/tst-tls19mod3.c: New file.
47779 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47782 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47786 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47787 two-byte sequence errors.
47788 * iconvdata/Makefile (tests): Add bug-iconv8.
47789 * iconvdata/bug-iconv8.c: New file.
47792 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47795 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47798 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47799 (dummy_getcfa): New function.
47800 (init): Get _Unwind_GetCFA address, use dummy if not found.
47801 (backtrace_helper): In recursion check, also check whether CFA changes.
47802 (__backtrace): Completely initialize arg.
47804 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47805 storing incomplete byte sequence in state object. Avoid testing for
47806 guaranteed too small input if we know there is enough data available.
47808 2011-05-11 Andreas Schwab <schwab@redhat.com>
47810 * Makeconfig (+link-pie): Indent.
47811 * Rules (binaries-pie): Define if $(have-fpie) and
47813 (binaries-shared): Also filter out $(binaries-pie).
47814 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47815 * nscd/Makefile (others-pie): Add nscd.
47816 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47817 ($(objpfx)nscd): Remove command override.
47818 * login/Makefile (others-pie): Add pt_chown.
47819 ($(objpfx)pt_chown): Remove command override.
47820 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47821 remove command overrides.
47823 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47825 * libio/tst_putwc.c: Fix error messages.
47828 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47829 currently writing and seek to current position when not.
47830 * libio/Makefile (tests): Add bug-fclose1.
47831 * libio/bug-fclose1.c: New file.
47833 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47836 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47837 don't set DF_1_NODELETE here.
47838 (do_lookup_x): When entering new entry test for copy relocation
47839 and if necessary set DF_1_NODELETE flag.
47840 * elf/tst-unique4.cc: New file.
47841 * elf/tst-unique4.h: New file.
47842 * elf/tst-unique4lib.cc: New file.
47843 * elf/Makefile: Add rules to build and run tst-unique4.
47844 Patch by Piotr Bury <pbury@goahead.com>.
47846 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47849 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47852 * misc/mntent_r.c (addmntent): Flush the stream after the output
47855 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47856 (is_trusted_path_normalize): Skip initial colon. Append slash
47857 to empty buffer. Duplicate is_trusted_path code but allow
47858 constructed patch to be prefix.
47859 (is_dst): Allow $ORIGIN followed by /.
47860 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47861 Correct testing of result of is_trusted_path_normalize
47862 (decompose_rpath): Fix warning.
47864 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47867 * grp/initgroups.c (internal_getgrouplist): When we found the service
47868 list through the initgroups entry in nsswitch.conf do not always
47869 continue on a successful lookup. Don't always use the
47870 __nss_group_database value if it is set.
47871 * nss/nsswitch.conf (initgroups): Change action for successful db
47872 lookup to continue for compatibility.
47874 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47877 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47879 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47881 * iconvdata/tst-tables.sh: Likewise.
47882 * iconvdata/cp770.c: New file.
47883 * iconvdata/cp771.c: New file.
47884 * iconvdata/cp772.c: New file.
47885 * iconvdata/cp773.c: New file.
47886 * iconvdata/cp774.c: New file.
47887 * iconvdata/testdata/CP770: New file.
47888 * iconvdata/testdata/CP770..UTF8: New file.
47889 * iconvdata/testdata/CP771: New file.
47890 * iconvdata/testdata/CP771..UTF8: New file.
47891 * iconvdata/testdata/CP772: New file.
47892 * iconvdata/testdata/CP772..UTF8: New file.
47893 * iconvdata/testdata/CP773: New file.
47894 * iconvdata/testdata/CP773..UTF8: New file.
47895 * iconvdata/testdata/CP774: New file.
47896 * iconvdata/testdata/CP774..UTF8: New file.
47898 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47900 * iconvdata/gen-8bit-gap.sh: Likewise.
47901 * iconvdata/gen-8bit.sh: Likewise.
47903 * locale/iso-639.def: Add ary entry.
47906 * locale/C-translit.h.in: Add U20A1 transliteration.
47909 * locale/iso-639.def: Add wae entry.
47910 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47913 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47917 * locale/C-translit.h.in: Add entry for U20B9.
47918 Patch by pravin.d.s@gmail.com.
47920 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47923 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47924 ENAMETOOLONG use generic getcwd.
47925 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47926 in rtld. Use *stat64.
47927 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47928 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47929 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47930 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47931 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47932 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47933 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47934 __fstatat64 macros.
47935 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47936 * dirent/rewinddir.c: Add libc_hidden_def.
47937 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47938 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47940 * include/dirent.h (__alloc_dir): Add flags parameter.
47941 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47942 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47944 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47945 from fdopendir if O_CLOEXEC is already set.
47947 2011-03-15 Alan Modra <amodra@gmail.com>
47949 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47950 l_tls_firstbyte_offset non-zero. Save padding offset in
47951 l_tls_firstbyte_offset for later use.
47952 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47953 freeing static tls block.
47955 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47957 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47958 where #ifdef was intended. The intent is to prevent ARG_MAX from
47959 being defined by the kernel headers.
47961 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47964 * resolv/resolv.h: Define RES_NOTLDQUERY.
47965 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47966 no-tld-query and set RES_NOTLDQUERY.
47967 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47968 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47969 modern BIND to search name as TLD unless forbidden.
47971 2011-05-07 Petr Baudis <pasky@suse.cz>
47972 Ulrich Drepper <drepper@gmail.com>
47975 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47976 (is_trusted_path): ...to here.
47977 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47978 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47979 using is_trusted_path_normalize() in setuid scripts.
47981 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47983 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47984 __BEGIN/__END_DECLS.
47986 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47988 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47989 NSS_STATUS_NOTFOUND if no record was found.
47991 2011-05-05 Andreas Schwab <schwab@redhat.com>
47993 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47994 (headers-not-in-tirpc): Remove rpc/netdb.h
47995 * resolv/netdb.h: Revert last change.
47997 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47999 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48000 circular dependency between libgcc.a and libc.a.
48002 2011-05-05 Andreas Schwab <schwab@redhat.com>
48004 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48005 * nis/Makefile: Don't install rpcsvc/*.
48006 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48007 instead of <rpc/types.h>.
48008 (MAXHOSTNAMELEN): Define.
48010 2011-05-03 Andreas Schwab <schwab@redhat.com>
48012 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48014 2011-04-28 Maciej Babinski <mbabinski@google.com>
48017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48018 gethostbyname4_r when IPv6 results are possible.
48020 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48023 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48024 _PC_PIPE_BUF handling.
48026 2011-04-30 Bruno Haible <bruno@clisp.org>
48029 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48030 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48032 * inet/getnameinfo.c (getnameinfo): Likewise.
48034 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48036 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48037 to groups setting in database lookup.
48038 * nss/nsswitch.conf: Add initgroups entry.
48040 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48043 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48045 Patch by Eric Blake <eblake@redhat.com>.
48047 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48049 * sunrpc/Makefile (need-export-routines): Add svc_run.
48050 (routines): Remove svc_run.
48051 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48052 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48053 * sunrpc/svc_run.c (svc_run): Likewise.
48054 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48056 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48059 problem in reallocation in last patch.
48061 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48063 * sunrpc/Makefile: Move inclusion of Rules.
48065 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48067 * nss/nss_files/files-initgroups.c: New file.
48068 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48069 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48070 _nss_files_initgroups_dyn.
48072 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48074 * elf/elf.h (R_ARM_IRELATIVE): Define.
48076 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48078 * po/ru.po: Update from translation team.
48080 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48082 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48085 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48088 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48089 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48091 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48094 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48096 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48098 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48102 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48105 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48107 * stdlib/bug-getcontext.c: New file.
48108 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48110 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48112 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48113 instructions into .machine "z9-109".
48114 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48115 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48117 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48119 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48120 between environment variables and auxiliary vector.
48122 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48124 * Makefile: Add rules to build linkobj/libc.so.
48125 * include/libc-symbols.h: Define libc_hidden_nolink.
48126 * include/rpc/auth.h: Mark functions which are to be hidden.
48127 * include/rpc/auth_des.h: Likewise.
48128 * include/rpc/auth_unix.h: Likewise.
48129 * include/rpc/clnt.h: Likewise.
48130 * include/rpc/des_crypt.h: Likewise.
48131 * include/rpc/key_prot.h: Likewise.
48132 * include/rpc/pmap_clnt.h: Likewise.
48133 * include/rpc/pmap_prot.h: Likewise.
48134 * include/rpc/pmap_rmt.h: Likewise.
48135 * include/rpc/rpc_msg.h: Likewise.
48136 * include/rpc/svc.h: Likewise.
48137 * include/rpc/svc_auth.h: Likewise.
48138 * include/rpc/xdr.h: Likewise.
48139 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48140 * nss/Makefile: Likewise.
48141 * sunrpc/Makefile: Don't install headers. Build library with normal
48142 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48143 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48144 for the compat linking library. Remove use of INTDEF/INTUSE.
48145 * sunrpc/auth_none.c: Likewise.
48146 * sunrpc/auth_unix.c: Likewise.
48147 * sunrpc/authdes_prot.c: Likewise.
48148 * sunrpc/authuxprot.c: Likewise.
48149 * sunrpc/clnt_gen.c: Likewise.
48150 * sunrpc/clnt_perr.c: Likewise.
48151 * sunrpc/clnt_raw.c: Likewise.
48152 * sunrpc/clnt_simp.c: Likewise.
48153 * sunrpc/clnt_tcp.c: Likewise.
48154 * sunrpc/clnt_udp.c: Likewise.
48155 * sunrpc/clnt_unix.c: Likewise.
48156 * sunrpc/des_crypt.c: Likewise.
48157 * sunrpc/des_soft.c: Likewise.
48158 * sunrpc/get_myaddr.c: Likewise.
48159 * sunrpc/key_call.c: Likewise.
48160 * sunrpc/key_prot.c: Likewise.
48161 * sunrpc/netname.c: Likewise.
48162 * sunrpc/pm_getmaps.c: Likewise.
48163 * sunrpc/pm_getport.c: Likewise.
48164 * sunrpc/pmap_clnt.c: Likewise.
48165 * sunrpc/pmap_prot.c: Likewise.
48166 * sunrpc/pmap_prot2.c: Likewise.
48167 * sunrpc/pmap_rmt.c: Likewise.
48168 * sunrpc/publickey.c: Likewise.
48169 * sunrpc/rpc_cmsg.c: Likewise.
48170 * sunrpc/rpc_common.c: Likewise.
48171 * sunrpc/rpc_dtable.c: Likewise.
48172 * sunrpc/rpc_prot.c: Likewise.
48173 * sunrpc/rpc_thread.c: Likewise.
48174 * sunrpc/rtime.c: Likewise.
48175 * sunrpc/svc.c: Likewise.
48176 * sunrpc/svc_auth.c: Likewise.
48177 * sunrpc/svc_authux.c: Likewise.
48178 * sunrpc/svc_raw.c: Likewise.
48179 * sunrpc/svc_run.c: Likewise.
48180 * sunrpc/svc_simple.c: Likewise.
48181 * sunrpc/svc_tcp.c: Likewise.
48182 * sunrpc/svc_udp.c: Likewise.
48183 * sunrpc/svc_unix.c: Likewise.
48184 * sunrpc/svcauth_des.c: Likewise.
48185 * sunrpc/xcrypt.c: Likewise.
48186 * sunrpc/xdr.c: Likewise.
48187 * sunrpc/xdr_array.c: Likewise.
48188 * sunrpc/xdr_float.c: Likewise.
48189 * sunrpc/xdr_intXX_t.c: Likewise.
48190 * sunrpc/xdr_mem.c: Likewise.
48191 * sunrpc/xdr_rec.c: Likewise.
48192 * sunrpc/xdr_ref.c: Likewise.
48193 * sunrpc/xdr_sizeof.c: Likewise.
48194 * sunrpc/xdr_stdio.c: Likewise.
48196 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48199 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48200 * sysdeps/ia64/dl-tls.h: Likewise.
48201 * sysdeps/powerpc/dl-tls.h: Likewise.
48202 * sysdeps/s390/dl-tls.h: Likewise.
48203 * sysdeps/sh/dl-tls.h: Likewise.
48204 * sysdeps/sparc/dl-tls.h: Likewise.
48205 * sysdeps/x86_64/dl-tls.h: Likewise.
48206 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48208 2011-03-14 Andreas Schwab <schwab@redhat.com>
48210 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48211 rpath element also skip the following colon.
48212 (expand_dynamic_string_token): Add is_path parameter and pass
48213 down to DL_DST_REQUIRED and _dl_dst_substitute.
48214 (decompose_rpath): Call expand_dynamic_string_token with
48215 non-zero is_path. Ignore empty rpaths.
48216 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48219 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48224 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48227 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48228 Patch by Filipe David Manana <fdmanana@apache.org>.
48230 2011-04-07 Andreas Schwab <schwab@redhat.com>
48232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48233 Maintain aligned stack.
48234 (CHECK_RSP): Remove unused macro.
48236 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48238 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48239 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48241 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48243 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48245 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48247 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48250 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48251 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48252 * sysdeps/x86_64/memmove.c: New file.
48253 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48254 (memcpy): Renamed to ...
48255 (__new_memcpy): This.
48256 (memcpy): Provide GLIBC_2_14 memcpy.
48257 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48258 (memcpy): Provide GLIBC_2_2_5 memcpy.
48260 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48263 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48265 2011-03-30 Andreas Schwab <schwab@redhat.com>
48267 * misc/syncfs.c: New file.
48268 * misc/Makefile (routines): Add syncfs.
48269 * posix/unistd.h: Declare syncfs.
48270 * sysdeps/unix/syscalls.list: Add syncfs.
48272 2011-04-01 Andreas Schwab <schwab@redhat.com>
48274 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48277 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48279 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48281 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48282 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48284 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48287 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48288 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48294 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48295 sync_file_range.c with -fexceptions.
48296 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48297 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48298 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48299 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48300 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48301 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48303 sync_file_range as cancellation point
48304 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48305 now a wrapper around __call_sync_file_range with cancellation handling.
48306 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48307 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48308 function name to __call_sync_file_range.
48309 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48310 Add call_sync_file_range.
48312 2011-04-01 Andreas Schwab <schwab@redhat.com>
48314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48317 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48319 * iconv/iconv.h: Fix typo in comment.
48320 * io/fcntl.h: Likewise.
48321 * libio/stdio.h: Likewise.
48322 * posix/spawn.h: Likewise.
48323 * posix/unistd.h: Likewise.
48324 * stdlib/stdlib.h: Likewise.
48325 * time/time.h: Likewise.
48326 * wcsmbs/wchar.h: Likewise.
48328 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48329 open_by_handle): Add.
48330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48331 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48332 Augment a few comments.
48333 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48334 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48335 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48337 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48338 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48341 * io/fcntl.h (AT_EMPTY_PATH): Define.
48343 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48345 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48346 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48347 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48349 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48350 * Versions.def: Add GLIBC_2.14.
48351 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48354 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48356 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48358 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48360 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48363 * string/test-strncmp.c (do_page_test): New function.
48364 (check2): Likewise.
48365 (test_main): Call check2.
48366 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48368 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48371 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48372 Handle cache information in CPU leaf 4.
48373 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48375 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48378 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48379 character representation.
48380 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48382 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48384 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48385 END(__isnan) to END(__isnanf) to match function entry point/label
48386 EALIGN(__isnanf,...).
48388 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48390 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48392 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48395 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48396 copy from the symbol referenced in the relocation to initialize the
48398 Patch by Piotr Bury <pbury@goahead.com>.
48399 * elf/Makefile: Add rules to build and tst-unique3.
48400 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48401 * elf/tst-unique3.cc: New file.
48402 * elf/tst-unique3.h: New file.
48403 * elf/tst-unique3lib.cc: New file.
48404 * elf/tst-unique3lib2.cc: New file.
48406 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48408 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48410 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48411 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48414 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48416 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48417 to-be-loaded object along a path to loader is ld.so.
48419 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48420 Ulrich Drepper <drepper@gmail.com>
48422 * sysdeps/x86_64/memset.S: After aligning destination, code
48423 branches to different locations depending on the value of
48424 misalignment, when multiarch is enabled. Fix this.
48426 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48428 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48429 Set _x86_64_preferred_memory_instruction for AMD processsors.
48430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48431 Set bit_Prefer_SSE_for_memop for AMD processors.
48433 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48435 * libio/fmemopen.c (fmemopen): Optimize a bit.
48437 2011-03-03 Andreas Schwab <schwab@redhat.com>
48439 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48441 2011-03-03 Roland McGrath <roland@redhat.com>
48443 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48445 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48447 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48448 __bzero_ultra1 instead of __memset_ultra1.
48450 2011-02-23 Andreas Schwab <schwab@redhat.com>
48451 Ulrich Drepper <drepper@gmail.com>
48454 * include/link.h (struct link_map): Add l_orig_initfini.
48455 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48456 returning unsuccessfully.
48457 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48458 close of a file loaded at startup, restore the original l_initfini
48460 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48461 list, store the pointer.
48462 * elf/Makefile ($(objpfx)noload-mem): New rule.
48463 (noload-ENV): Define.
48464 (tests): Add $(objpfx)noload-mem.
48465 * elf/noload.c: Include <memcheck.h>.
48466 (main): Call mtrace. Close all opened handles.
48468 2011-02-17 Andreas Schwab <schwab@redhat.com>
48471 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48472 dependencies are missing.
48474 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48476 Fix __if_freereq crash: Unlike the generic version which uses free,
48478 * sysdeps/mach/hurd/ifreq.h: New file.
48480 2011-01-27 Petr Baudis <pasky@suse.cz>
48481 Ulrich Drepper <drepper@gmail.com>
48484 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48485 to extend_alloca().
48486 * stdio-common/bug23.c: New file.
48487 * stdio-common/Makefile (tests): Add bug23.
48489 2010-09-28 Andreas Schwab <schwab@redhat.com>
48490 Ulrich Drepper <drepper@gmail.com>
48493 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48494 before performing relro protection. At old place add assertion
48495 to make sure nothing changed.
48497 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48498 Glauber de Oliveira Costa <glommer@gmail.com>
48500 * elf/elf.h: Add new ARM TLS relocs.
48502 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48505 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48507 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48509 * sysdeps/wordsize-64/tst-writev.c: New file.
48511 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48513 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48514 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48515 insns in _dl_start to prevent a TOC reference before relocs are
48518 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48521 * Makeconfig: Remove RANLIB definition.
48522 * Makerules: Don't use RANLIB.
48523 * aclocal.m4: Remove ranlib test.
48524 * configure.in: No need to check for ranlib.
48525 * elf/rtld-Rules: Don't use RANLIB.
48527 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48529 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48531 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48532 inclusion protection macro.
48534 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48535 SIGRTMIN and SIGRTMAX and print information in that case only when
48536 SIGRTMIN is defined.
48538 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48540 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48541 arginfo fn returning -1.
48543 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48544 and thousands string is zero terminated.
48546 2011-02-03 Andreas Schwab <schwab@redhat.com>
48548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48549 sysdeps/unix/sysv/linux/bits/socket.h.
48551 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48553 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48554 (__CPU_COUNT): Remove old macros.
48555 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48556 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48557 (__CPU_ALLOC, __CPU_FREE): Add macros.
48558 (__sched_cpualloc, __sched_cpufree): Add declarations.
48560 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48562 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48563 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48564 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48565 (readdhstai): Return value of addhstaiX call.
48566 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48567 (addgrbyX): Return value returned by cache_addgr.
48568 (readdgrbyname): Return value returned by addgrbyX.
48569 (readdgrbygid): Likewise.
48570 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48571 (addpwbyX): Return value returned by cache_addpw.
48572 (readdpwbyname): Return value returned by addhstbyX.
48573 (readdpwbyuid): Likewise.
48574 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48575 (addservbyX): Return value returned by cache_addserv.
48576 (readdservbyname): Return value returned by addservbyX:
48577 (readdservbyport): Likewise.
48578 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48579 (addhstbyX): Return value returned by cache_addhst.
48580 (readdhstbyname): Return value returned by addhstbyX.
48581 (readdhstbyaddr): Likewise.
48582 (readdhstbynamev6): Likewise.
48583 (readdhstbyaddrv6): Likewise.
48584 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48585 (readdinitgroups): Return value returned by addinitgroupsX.
48586 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48587 (prune_cache): Keep track of timeout value of re-added entries.
48588 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48589 * nscd/nscd.h: Adjust prototypes of readd* functions.
48591 2011-02-04 Roland McGrath <roland@redhat.com>
48593 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48594 (nis_stats): Likewise.
48595 * nis/nis_modify.c (nis_modify): Likewise.
48596 * nis/nis_remove.c (nis_remove): Likewise.
48597 * nis/nis_add.c (nis_add): Likewise.
48599 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48601 * posix/fnmatch_loop.c: Add some consts.
48603 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48605 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48608 * config.make.in (config-cflags-novzeroupper): Define.
48609 * configure.in: Substitute libc_cv_cc_novzeroupper.
48610 * elf/Makefile (AVX-CFLAGS): Define.
48611 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48612 (CFLAGS-tst-auditmod4a.c): Likewise.
48613 (CFLAGS-tst-auditmod4b.c): Likewise.
48614 (CFLAGS-tst-auditmod6b.c): Likewise.
48615 (CFLAGS-tst-auditmod6c.c): Likewise.
48616 (CFLAGS-tst-auditmod7b.c): Likewise.
48617 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48619 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48621 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48622 function to the callback.
48623 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48625 2011-02-02 Andreas Schwab <schwab@redhat.com>
48627 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48630 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48633 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48635 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48637 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48640 * elf/Makefile: Add rules to build and run new test.
48641 * elf/tst-initorder.c: New file.
48642 * elf/tst-initorder.exp: New file.
48643 * elf/tst-initordera1.c: New file.
48644 * elf/tst-initordera2.c: New file.
48645 * elf/tst-initordera3.c: New file.
48646 * elf/tst-initordera4.c: New file.
48647 * elf/tst-initorderb1.c: New file.
48648 * elf/tst-initorderb2.c: New file.
48649 * elf/tst-order-a1.c: New file.
48650 * elf/tst-order-a2.c: New file.
48651 * elf/tst-order-a3.c: New file.
48652 * elf/tst-order-a4.c: New file.
48653 * elf/tst-order-b1.c: New file.
48654 * elf/tst-order-b2.c: New file.
48655 * elf/tst-order-main.c: New file.
48656 New test case by George Gensure <werkt0@gmail.com>.
48658 2010-10-01 Andreas Schwab <schwab@redhat.com>
48660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48661 decoding ACE if AI_CANONIDN.
48663 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48665 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48667 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48669 * version.h (RELEASE): Bump for 2.13 release.
48670 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48672 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48674 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48676 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48677 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48678 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48679 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48680 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48681 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48683 * posix/getconf.c: Update copyright year.
48684 * catgets/gencat.c: Likewise.
48685 * csu/version.c: Likewise.
48686 * debug/catchsegv.sh: Likewise.
48687 * debug/xtrace.sh: Likewise.
48688 * elf/ldconfig.c: Likewise.
48689 * elf/ldd.bash.in: Likewise.
48690 * elf/sprof.c (print_version): Likewise.
48691 * iconv/iconv_prog.c: Likewise.
48692 * iconv/iconvconfig.c: Likewise.
48693 * locale/programs/locale.c: Likewise.
48694 * locale/programs/localedef.c: Likewise.
48695 * malloc/memusage.sh: Likewise.
48696 * malloc/mtrace.pl: Likewise.
48697 * nscd/nscd.c (print_version): Likewise.
48698 * nss/getent.c: Likewise.
48700 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48701 PF_CAIF, and PF_ALG.
48702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48704 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48706 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48707 (modules-names): Use them.
48708 (ifunc-test-modules, ifunc-pie-tests): Define.
48709 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48710 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48711 (test-extras): Likewise.
48712 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48713 $(compile-command.c).
48714 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48715 (all-built-dso): Define.
48716 (check-textrel.out, check-execstack.out): Depend on it.
48718 * configure.in: Don't override --enable-multi-arch.
48720 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48723 * nscd/hstcache.c (tryagain): Define.
48724 (cache_addhst): Return tryagain not notfound for temporary errors.
48725 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48728 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48731 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48732 to make the syscall.
48733 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48736 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48737 and fall back to matching as normal character if the string ends before
48738 the matching ']' is found. This is what POSIX requires.
48739 * posix/testfnm.c: Adjust test result.
48740 * posix/globtest.sh: Adjust test result. Add new test.
48741 * posix/tst-fnmatch.input: Likewise.
48742 * posix/tst-fnmatch2.c: Add new test.
48744 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48746 * elf/Makefile (check-execstack): Revert last change. Depend on
48748 (check-execstack.h): New target.
48749 (generated): Add check-execstack.h.
48750 * elf/check-execstack.c: Include "check-execstack.h".
48751 (main): Revert last change.
48752 (handle_file): Return zero if GNU_STACK is absent and
48753 DEFAULT_STACK_PERMS doesn't include PF_X.
48755 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48757 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48758 in child fails because the descriptor is already closed.
48759 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48760 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48761 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48764 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48768 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48769 temporary buffer used to handle multi lookups locally.
48770 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48772 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48774 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48777 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48779 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48780 alignment for SSE2.
48782 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48785 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48786 characters. When rounding increased number of integer digits recompute
48788 * stdio-common/tst-grouping.c: New file.
48789 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48791 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48793 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48794 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48796 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48798 * bits/select.h: Likewise.
48800 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48802 * po/ja.po: Update from translation team.
48804 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48807 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48808 implementation just like for lxstat, fxstatat, et al.
48810 2010-12-27 Jim Meyering <meyering@redhat.com>
48813 * posix/regexec.c (build_trtable): Return failure indication upon
48814 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48816 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48819 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48820 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48821 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48822 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48825 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48828 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48829 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48831 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48833 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48834 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48835 script has SORT_BY_INIT_PRIORITY.
48836 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48837 NO_CTORS_DTORS_SECTIONS is defined.
48838 * elf/soinit.c: Likewise.
48839 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48840 NO_CTORS_DTORS_SECTIONS is defined.
48841 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48842 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48843 * sysdeps/sh/init-first.c: Likewise.
48844 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48846 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48848 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48849 always use the slow path.
48851 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48853 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48854 similar rule which adds the sysdep directories to the header search in
48855 order to pick up the correct platform stackinfo.h.
48856 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48857 perform test if it is, otherwise return successfully without testing.
48858 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48859 DEFAULT_STACK_PERMS define in stackinfo.h.
48860 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48861 defined in stackinfo.h.
48862 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48863 DEFAULT_STACK_PERMS defined in stackinfo.h.
48864 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48865 * sysdeps/ia64/stackinfo.h: Likewise.
48866 * sysdeps/s390/stackinfo.h: Likewise.
48867 * sysdeps/sh/stackinfo.h: Likewise.
48868 * sysdeps/sparc/stackinfo.h: Likewise.
48869 * sysdeps/x86_64/stackinfo.h: Likewise.
48870 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48871 PF_X for powerpc64. Retain PF_X for powerpc32.
48873 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48875 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48877 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48878 GETDENTS_64BIT_ALIGNED.
48880 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48882 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48884 2010-12-10 Andreas Schwab <schwab@redhat.com>
48886 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48889 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48890 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48892 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48893 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48895 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48898 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48901 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48903 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48905 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48907 * po/it.po: Update from translation team.
48909 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48914 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48916 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48918 2010-11-24 Andreas Schwab <schwab@redhat.com>
48920 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48922 (gaih_getanswer_slice): Likewise.
48924 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48928 2010-05-31 Petr Baudis <pasky@suse.cz>
48931 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48932 silently even in the chroot mode.
48934 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48936 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48937 last patch a bit. Pretty printing
48939 2010-05-31 Petr Baudis <pasky@suse.cz>
48942 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48943 initialization of skip_initgroups_dyn.
48945 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48947 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48948 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48950 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48952 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48954 2010-11-11 Andreas Schwab <schwab@redhat.com>
48956 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48957 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48958 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48959 ($(objpfx)tst-fnmatch-mem): New rule.
48960 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48961 * posix/tst-fnmatch.c (main): Call mtrace.
48963 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48966 Support Intel processor model 6 and model 0x2c.
48968 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48970 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48973 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48976 * string/test-strncasecmp.c (check_result): New function.
48977 (do_one_test): Use it.
48978 (check1): New function.
48979 (test_main): Use it.
48980 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48981 Support strcasecmp and strncasecmp.
48983 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48986 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48987 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48989 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48991 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48995 * sysdeps/x86_64/multiarch/bzero.S: New file.
48996 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48997 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48998 * sysdeps/x86_64/multiarch/memset.S: New file.
48999 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49001 Set bit_Prefer_SSE_for_memop for Intel processors.
49002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49004 (index_Prefer_SSE_for_memop): Define.
49005 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49007 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49009 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49010 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49012 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49015 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49016 (__x86_64_raw_data_cache_size_half): Likewise.
49017 (__x86_64_raw_shared_cache_size): Likewise.
49018 (__x86_64_raw_shared_cache_size_half): Likewise.
49020 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49021 (__x86_64_raw_data_cache_size_half): Likewise.
49022 (__x86_64_raw_shared_cache_size): Likewise.
49023 (__x86_64_raw_shared_cache_size_half): Likewise.
49024 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49025 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49026 and __x86_64_raw_shared_cache_size_half. Round
49027 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49028 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49029 to multiple of 256 bytes.
49031 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49034 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49035 of inacessible symlinks. Verify result of symlink before returning it.
49036 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49037 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49039 2010-10-28 Erich Ritz <erichritz@gmail.com>
49041 * math/math.h (isinf): Fix typo in comment.
49043 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49045 * po/da.po: Update from translation team.
49047 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49049 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49050 is added to the list.
49052 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49053 Ulrich Drepper <drepper@gmail.com>
49055 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49056 the global list here. Move code to...
49057 (_dl_add_to_namespace_list): ...here. New function.
49058 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49059 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49060 * elf/dl-load.c (lose): Don't remove the element from the list.
49061 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49062 (_dl_map_object): Likewise.
49064 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49067 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49068 into all bytes of SSE register.
49069 Patch by Richard Li <richardpku@gmail.com>.
49071 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49074 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49077 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49079 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49080 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49081 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49087 2010-10-22 Andreas Schwab <schwab@redhat.com>
49089 * include/dlfcn.h (__RTLD_SECURE): Define.
49090 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49091 mode & __RTLD_SECURE instead.
49092 (open_path): Rename preloaded parameter to secure.
49093 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49094 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49095 * elf/dl-deps.c (openaux): Likewise.
49096 * elf/rtld.c (struct map_args): Remove is_preloaded.
49097 (map_doit): Don't use it.
49098 (dl_main): Likewise.
49099 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49100 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49102 2010-09-09 Andreas Schwab <schwab@redhat.com>
49104 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49105 (sysd-rules-targets): Remove duplicates.
49106 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49107 rtld-%.$o dependency.
49109 2010-10-18 Andreas Schwab <schwab@redhat.com>
49111 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49112 _dl_map_object do it.
49114 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49116 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49117 fast fma builtins, define the macros in the C99 standard.
49118 (FP_FAST_FMAF): Likewise.
49119 (FP_FAST_FMAL): Likewise.
49120 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49122 * bits/mathdef.h: Update copyright year.
49123 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49125 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49127 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49128 builtins, define the macros in the C99 standard.
49129 (FP_FAST_FMAF): Likewise.
49130 (FP_FAST_FMAL): Likewise.
49131 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49133 (FP_FAST_FMAF): Likewise.
49135 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49138 * math/libm-test.inc (fma_test): Some new testcases.
49139 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49140 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49141 y and infinite z. Do multiplication by C already in long double.
49142 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49144 y and infinite z. Do bitwise or of inexact bit into u.d.
49145 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49146 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49147 * sysdeps/i386/fpu/s_fma.S: Removed.
49148 * sysdeps/i386/fpu/s_fmal.S: Removed.
49150 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49153 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49155 computation is not scheduled after fetestexcept. Fix value
49156 of minimum denormal long double.
49158 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49161 * math/libm-test.inc (fma_test): Add some more tests.
49162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49165 2010-10-15 Andreas Schwab <schwab@redhat.com>
49167 * scripts/data/localplt-s390-linux-gnu.data: New file.
49168 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49170 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49173 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49174 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49176 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49178 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49180 if one of x and y is very large and the other is subnormal.
49181 * sysdeps/s390/fpu/s_fmaf.c: New file.
49182 * sysdeps/s390/fpu/s_fma.c: New file.
49183 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49184 * sysdeps/powerpc/fpu/s_fma.S: New file.
49185 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49186 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49187 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49189 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49192 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49194 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49195 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49196 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49197 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49198 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49199 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49200 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49202 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49205 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49206 * posix/bug-regex31.input: Add test case.
49208 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49210 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49211 * posix/bug-regex31.input: New file.
49214 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49215 (parse_sub_exp): Fix last change, use postorder.
49217 * posix/bug-regex31.c: New file.
49218 * posix/Makefile: Add rules to build and run bug-regex31.
49220 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49223 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49226 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49227 to have entries in sys_siglist.
49230 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49233 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49236 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49237 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49238 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49239 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49240 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49241 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49242 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49243 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49244 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49245 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49246 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49247 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49248 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49249 * math/ftestexcept.c (fetestexcept): Likewise.
49250 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49251 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49252 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49253 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49254 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49255 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49256 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49258 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49261 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49264 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49266 * string/bug-strstr1.c: New file.
49267 * string/Makefile: Add rules to build and run bug-strstr1.
49269 2010-10-05 Eric Blake <eblake@redhat.com>
49272 * string/str-two-way.h (two_way_long_needle): Always clear memory
49273 when skipping input due to the shift table.
49275 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49278 * malloc/mcheck.c: Handle large requests.
49281 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49282 for strncmp and strncasecmp.
49283 * string/stratcliff.c: Add tests for strcmp and strncmp.
49284 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49286 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49288 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49291 2010-09-30 Andreas Jaeger <aj@suse.de>
49293 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49294 (CGROUP_SUPER_MAGIC): Define.
49295 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49296 Handle btrfs and cgroup file systems.
49297 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49300 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49302 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49303 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49305 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49308 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49309 trying to locate the ELF header.
49311 2010-09-27 Andreas Schwab <schwab@redhat.com>
49314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49315 Mask out sign-bit copies when constructing f_fsid.
49317 2010-09-24 Petr Baudis <pasky@suse.cz>
49319 * debug/stack_chk_fail_local.c: Add missing licence exception.
49320 * debug/warning-nop.c: Likewise.
49322 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49324 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49325 implementing getdents64 using getdents syscall, set d_type if
49326 __ASSUME_GETDENTS32_D_TYPE.
49328 2010-09-16 Andreas Schwab <schwab@redhat.com>
49330 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49331 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49333 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49336 * posix/unistd.h: Undo change of feature selection for ftruncate from
49339 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49341 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49344 2010-09-20 Andreas Schwab <schwab@redhat.com>
49346 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49348 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49350 2010-09-14 Andreas Schwab <schwab@redhat.com>
49352 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49353 variables after CHECK_SP call.
49354 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49356 2010-09-13 Andreas Schwab <schwab@redhat.com>
49357 Ulrich Drepper <drepper@redhat.com>
49359 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49360 re-relocationg ld.so.
49361 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49362 _dl_init_paths call.
49363 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49366 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49368 * resolv/res_init.c (__res_vinit): Count the default server we added.
49370 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49371 Ulrich Drepper <drepper@redhat.com>
49374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49375 (____longjmp_chk): Use %ebx for saving value across system call.
49378 2010-09-06 Andreas Schwab <schwab@redhat.com>
49380 * manual/Makefile: Don't mix pattern rules with normal rules.
49382 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49384 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49386 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49387 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49388 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49389 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49390 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49393 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49396 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49397 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49399 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49401 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49402 * sysdeps/x86_64/addmul_1.S: Likewise.
49403 * sysdeps/x86_64/lshift.S: Likewise.
49404 * sysdeps/x86_64/mul_1.S: Likewise.
49405 * sysdeps/x86_64/rshift.S: Likewise.
49406 * sysdeps/x86_64/sub_n.S: Likewise.
49407 * sysdeps/x86_64/submul_1.S: Likewise.
49409 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49411 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49412 Define __sched_param instead of SCHED_* and sched_param when
49413 <bits/sched.h> is included with __need_schedparam defined.
49414 * bits/sched.h [__need_schedparam]
49415 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49416 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49417 (__defined_schedparam): Define to 1.
49418 (__sched_param): New structure, identical to sched_param.
49419 (__need_schedparam): Undefine.
49421 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49423 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49424 (epoll_create1): Declare.
49426 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49428 2010-08-31 Andreas Schwab <schwab@redhat.com>
49431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49432 shifting retval into place.
49434 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49436 * nis/rpcsvc/nis.h: Update copyright notice.
49437 * nis/rpcsvc/nis.x: Likewise.
49438 * nis/rpcsvc/nis_callback.h: Likewise.
49439 * nis/rpcsvc/nis_callback.x: Likewise.
49440 * nis/rpcsvc/nis_object.x: Likewise.
49441 * nis/rpcsvc/nis_tags.h: Likewise.
49442 * nis/rpcsvc/yp.h: Likewise.
49443 * nis/rpcsvc/yp.x: Likewise.
49444 * nis/rpcsvc/ypupd.h: Likewise.
49445 * nis/yp_xdr.c: Likewise.
49446 * nis/ypupdate_xdr.c: Likewise.
49448 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49449 mainly the body of pmap_getport. Add parameters to specify timeouts.
49450 (pmap_getport): Use __libc_rpc_getport.
49451 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49452 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49453 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49455 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49460 2010-08-27 Roland McGrath <roland@redhat.com>
49462 * sysdeps/i386/i686/multiarch/Makefile
49463 (CFLAGS-varshift.c): New variable.
49465 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49467 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49468 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49470 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49472 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49474 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49476 * sysdeps/x86_64/strlen.S: Unroll the loop.
49477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49478 strlen-sse2 strlen-sse2-bsf.
49479 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49480 __strlen_no_bsf if bit_Slow_BSF is set.
49481 (__strlen_sse42): Removed.
49482 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49483 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49485 2010-08-25 Roland McGrath <roland@redhat.com>
49487 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49488 * sysdeps/x86_64/multiarch/varshift.c: New file.
49489 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49490 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49491 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49492 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49494 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49497 strlen-sse2 strlen-sse2-bsf.
49498 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49499 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49500 (__strlen_sse2): Removed.
49501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49504 bit_Slow_BSF for Atom.
49505 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49506 (index_Slow_BSF): Define.
49507 (HAS_SLOW_BSF): Define.
49509 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49512 * resolv/res_init.c (__res_vinit): When no server address at all
49513 is given default to loopback.
49515 2010-08-24 Roland McGrath <roland@redhat.com>
49517 * configure.in: Remove config-name.h generation.
49518 * configure: Regenerated.
49519 * config-name.in: File removed.
49520 * scripts/config-uname.sh: New file.
49521 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49522 ($(objdir)config-name.h): New target.
49524 * sunrpc/rpc_parse.h: Avoid nested comment.
49526 2010-08-24 Richard Henderson <rth@redhat.com>
49527 Ulrich Drepper <drepper@redhat.com>
49528 H.J. Lu <hongjiu.lu@intel.com>
49530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49532 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49533 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49534 _mm_alignr_epi8 with _mm_loadu_si128.
49535 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49536 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49537 (__m128i_shift_right): Removed.
49538 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49539 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49540 * sysdeps/x86_64/multiarch/varshift.h: New file.
49541 * sysdeps/x86_64/multiarch/varshift.S: New file.
49543 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49545 * configure.in: Move assembler checks to before sysdep dir checking.
49547 2010-08-20 Petr Baudis <pasky@suse.cz>
49549 * LICENSES: Sync the sunrpc license.
49551 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49553 * sunrpc/auth_des.c: Update copyright notice once again.
49554 * sunrpc/auth_none.c: Likewise.
49555 * sunrpc/auth_unix.c: Likewise.
49556 * sunrpc/authdes_prot.c: Likewise.
49557 * sunrpc/authuxprot.c: Likewise.
49558 * sunrpc/bindrsvprt.c: Likewise.
49559 * sunrpc/clnt_gen.c: Likewise.
49560 * sunrpc/clnt_perr.c: Likewise.
49561 * sunrpc/clnt_raw.c: Likewise.
49562 * sunrpc/clnt_simp.c: Likewise.
49563 * sunrpc/clnt_tcp.c: Likewise.
49564 * sunrpc/clnt_udp.c: Likewise.
49565 * sunrpc/clnt_unix.c: Likewise.
49566 * sunrpc/des_crypt.c: Likewise.
49567 * sunrpc/des_soft.c: Likewise.
49568 * sunrpc/get_myaddr.c: Likewise.
49569 * sunrpc/getrpcport.c: Likewise.
49570 * sunrpc/key_call.c: Likewise.
49571 * sunrpc/key_prot.c: Likewise.
49572 * sunrpc/openchild.c: Likewise.
49573 * sunrpc/pm_getmaps.c: Likewise.
49574 * sunrpc/pm_getport.c: Likewise.
49575 * sunrpc/pmap_clnt.c: Likewise.
49576 * sunrpc/pmap_prot.c: Likewise.
49577 * sunrpc/pmap_prot2.c: Likewise.
49578 * sunrpc/pmap_rmt.c: Likewise.
49579 * sunrpc/rpc/auth.h: Likewise.
49580 * sunrpc/rpc/auth_unix.h: Likewise.
49581 * sunrpc/rpc/clnt.h: Likewise.
49582 * sunrpc/rpc/des_crypt.h: Likewise.
49583 * sunrpc/rpc/key_prot.h: Likewise.
49584 * sunrpc/rpc/netdb.h: Likewise.
49585 * sunrpc/rpc/pmap_clnt.h: Likewise.
49586 * sunrpc/rpc/pmap_prot.h: Likewise.
49587 * sunrpc/rpc/pmap_rmt.h: Likewise.
49588 * sunrpc/rpc/rpc.h: Likewise.
49589 * sunrpc/rpc/rpc_des.h: Likewise.
49590 * sunrpc/rpc/rpc_msg.h: Likewise.
49591 * sunrpc/rpc/svc.h: Likewise.
49592 * sunrpc/rpc/svc_auth.h: Likewise.
49593 * sunrpc/rpc/types.h: Likewise.
49594 * sunrpc/rpc/xdr.h: Likewise.
49595 * sunrpc/rpc_clntout.c: Likewise.
49596 * sunrpc/rpc_cmsg.c: Likewise.
49597 * sunrpc/rpc_common.c: Likewise.
49598 * sunrpc/rpc_cout.c: Likewise.
49599 * sunrpc/rpc_dtable.c: Likewise.
49600 * sunrpc/rpc_hout.c: Likewise.
49601 * sunrpc/rpc_main.c: Likewise.
49602 * sunrpc/rpc_parse.c: Likewise.
49603 * sunrpc/rpc_parse.h: Likewise.
49604 * sunrpc/rpc_prot.c: Likewise.
49605 * sunrpc/rpc_sample.c: Likewise.
49606 * sunrpc/rpc_scan.c: Likewise.
49607 * sunrpc/rpc_scan.h: Likewise.
49608 * sunrpc/rpc_svcout.c: Likewise.
49609 * sunrpc/rpc_tblout.c: Likewise.
49610 * sunrpc/rpc_util.c: Likewise.
49611 * sunrpc/rpc_util.h: Likewise.
49612 * sunrpc/rpcinfo.c: Likewise.
49613 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49614 * sunrpc/rpcsvc/key_prot.x: Likewise.
49615 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49616 * sunrpc/rpcsvc/mount.x: Likewise.
49617 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49618 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49619 * sunrpc/rpcsvc/rex.x: Likewise.
49620 * sunrpc/rpcsvc/rstat.x: Likewise.
49621 * sunrpc/rpcsvc/rusers.x: Likewise.
49622 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49623 * sunrpc/rpcsvc/spray.x: Likewise.
49624 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49625 * sunrpc/rtime.c: Likewise.
49626 * sunrpc/svc.c: Likewise.
49627 * sunrpc/svc_auth.c: Likewise.
49628 * sunrpc/svc_authux.c: Likewise.
49629 * sunrpc/svc_raw.c: Likewise.
49630 * sunrpc/svc_run.c: Likewise.
49631 * sunrpc/svc_simple.c: Likewise.
49632 * sunrpc/svc_tcp.c: Likewise.
49633 * sunrpc/svc_udp.c: Likewise.
49634 * sunrpc/svc_unix.c: Likewise.
49635 * sunrpc/svcauth_des.c: Likewise.
49636 * sunrpc/xcrypt.c: Likewise.
49637 * sunrpc/xdr.c: Likewise.
49638 * sunrpc/xdr_array.c: Likewise.
49639 * sunrpc/xdr_float.c: Likewise.
49640 * sunrpc/xdr_mem.c: Likewise.
49641 * sunrpc/xdr_rec.c: Likewise.
49642 * sunrpc/xdr_ref.c: Likewise.
49643 * sunrpc/xdr_sizeof.c: Likewise.
49644 * sunrpc/xdr_stdio.c: Likewise.
49646 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49649 2010-08-19 Andreas Schwab <schwab@redhat.com>
49651 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49653 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49655 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49656 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49657 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49658 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49659 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49660 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49661 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49662 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49663 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49664 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49665 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49666 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49667 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49668 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49670 2010-07-26 Anton Blanchard <anton@samba.org>
49672 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49673 * malloc/arena.c (heap_trim): Likewise.
49675 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49677 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49680 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49682 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49684 * sysdeps/i386/elf/Makefile: New file.
49686 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49688 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49689 from fanotify_init.
49690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49693 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49695 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49697 * sysdeps/multiarch/strcmp.S: Likewise.
49699 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49701 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49702 strncase_l-nonascii.
49703 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49704 Add strncase_l-ssse3.
49705 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49706 * sysdeps/x86_64/strcmp.S: Likewise.
49707 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49708 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49709 * sysdeps/x86_64/strncase.S: New file.
49710 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49711 * sysdeps/x86_64/strncase_l.S: New file.
49712 * string/Makefile (strop-tests): Add strncasecmp.
49713 * string/test-strncasecmp.c: New file.
49715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49718 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49719 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49721 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49723 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49725 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49727 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49728 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49729 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49731 2010-05-01 Alan Modra <amodra@gmail.com>
49733 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49734 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49735 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49736 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49737 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49738 tidying. Don't tail-call __sigjmp_save for static lib.
49739 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49741 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49742 (CALL_MCOUNT): Add eh info, and nop after bl.
49743 (TAIL_CALL_SYSCALL_ERROR): New macro.
49744 (PSEUDO_RET): Use it.
49745 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49746 Correct save location of integer regs and cr.
49747 (_dl_profile_resolve): Correct cr save location. Delete nops
49748 after bl when SHARED. Reduce cfi size a little by better
49749 placement of cfi directives.
49750 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49751 make a stack frame. Instead use parm save area as a temp.
49752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49753 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49755 Don't make a stack frame for parent, use parm save area.
49756 Increase child stack frame to 112 bytes. Don't save unused reg,
49757 and adjust reg usage. Set up cfi on error recovery and
49758 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49760 (__makecontext): Add dummy nop after jump to exit.
49761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49762 Use correct parm save area and cr save, reduce stack frame.
49763 Correct cfi for possible PSEUDO_RET frame setup.
49764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49765 Branch to local label emitted by PSEUDO_RET rather than
49768 2010-08-12 Andreas Schwab <schwab@redhat.com>
49771 * locale/programs/locale.c (print_assignment): New function.
49772 (show_locale_vars): Use it.
49774 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49776 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49778 (struct statfs64): Likewise.
49779 (_STATFS_F_FLAGS): Define.
49780 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49781 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49782 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49783 (ST_VALID): Define locally.
49784 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49785 __statvfs_getflags, use the provided value.
49786 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49787 __ASSUME_STATFS_F_FLAGS.
49789 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49791 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49792 Add sys/fanotify.h.
49793 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49794 fanotify_mask for GLIBC_2.13.
49795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49796 fanotify_init and fanotify_mark.
49797 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49798 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49800 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49802 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49803 prlimit64 for GLIBC_2.13.
49804 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49809 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49810 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49811 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49814 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49817 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49818 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49820 * nss/Makefile: Add rules to build and run tst-nss-test1.
49821 * shlib-versions: Add entry for libnss_test1.
49822 * nss/nss_test1.c: New file.
49823 * nss/tst-nss-test1.c: New file.
49825 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49826 (__nss_configure_lookup): Set appropriate entry in
49827 __nss_configure_lookup to true.
49828 * nss/nsswitch.h: Define enum with indeces of databases in
49829 databases and __nss_database_custom arrays. Declare
49830 __nss_database_custom.
49831 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49832 to avoid using nscd when custom rules are installed.
49833 * nss/getXXbyYY_r.c: Likewise.
49834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49836 * nss/nss_files/files-parse.c: Whitespace fixes.
49838 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49841 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49842 * posix/fnmatch_loop.c: Likewise.
49844 2010-07-17 Andi Kleen <ak@linux.intel.com>
49846 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49847 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49848 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49849 * Versions.def [GLIBC_2.13]: Add.
49851 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49853 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49854 Also fail if tpwd after pwuid call is NULL.
49856 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49858 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49859 when converting to ms.
49861 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49863 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49864 EOPNOTSUPP errors with ENOTTY.
49865 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49866 EOPNOTSUPP errors with ENOTTY.
49868 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49870 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49871 Add strcasecmp_l-ssse3.
49872 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49874 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49875 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49876 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49878 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49880 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49882 * string/Makefile (strop-tests): Add strcasecmp.
49883 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49884 strcasecmp_l-nonascii.
49885 (gen-as-const-headers): Add locale-defines.sym.
49886 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49887 * sysdeps/x86_64/strcasecmp.S: New file.
49888 * sysdeps/x86_64/strcasecmp_l.S: New file.
49889 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49890 * sysdeps/x86_64/locale-defines.sym: New file.
49891 * string/test-strcasecmp.c: New file.
49893 * string/test-strcasestr.c: Test both ends of the range of characters.
49894 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49896 2010-07-29 Roland McGrath <roland@redhat.com>
49899 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49901 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49903 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49906 2010-07-27 Andreas Schwab <schwab@redhat.com>
49908 * manual/memory.texi (Malloc Tunable Parameters): Document
49911 2010-07-26 Roland McGrath <roland@redhat.com>
49914 * configure.in (-fgnu89-inline check): Set and substitute
49915 gnu89_inline, not libc_cv_gnu89_inline.
49916 * configure: Regenerated.
49917 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49919 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49921 * string/test-strnlen.c: New file.
49922 * string/Makefile (strop-tests): Add strnlen.
49923 * string/tester.c (test_strnlen): Add a few more test cases.
49924 * string/tst-strlen.c: Better error reporting.
49926 * sysdeps/x86_64/strnlen.S: New file.
49928 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49930 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49931 lower-latency instructions.
49933 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49935 * string/test-strcasestr.c: New file.
49936 * string/test-strstr.c: New file.
49937 * string/Makefile (strop-tests): Add strstr and strcasestr.
49938 * string/str-two-way.h: Don't undefine MAX.
49939 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49941 2010-07-21 Andreas Schwab <schwab@redhat.com>
49943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49944 strcasestr-nonascii.
49945 (CFLAGS-strcasestr-nonascii.c): Define.
49946 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49947 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49948 Remove unused attribute.
49950 2010-07-20 Roland McGrath <roland@redhat.com>
49952 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49953 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49954 ld.so.cache was broken. With it, there is no way to disable dsocaps
49955 like LD_HWCAP_MASK can disable hwcaps.
49957 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49959 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49961 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49963 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49964 call in strcasestr.
49965 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49966 __strcasestr_sse42_nonascii.
49967 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49968 strcasestr-nonascii.c.
49969 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49971 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49973 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49974 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49975 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49976 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49978 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49980 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49983 2010-07-06 Andreas Schwab <schwab@redhat.com>
49986 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49989 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49992 _PC_PIPE_BUF using F_GETPIPE_SZ.
49994 2010-07-05 Roland McGrath <roland@redhat.com>
49996 * manual/arith.texi (Rounding Functions): Fix rint description
49997 implicit in round description.
49999 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50001 * elf/Makefile: Fix linking for a few tests to make recent linker
50004 2010-06-30 Andreas Schwab <schwab@redhat.com>
50006 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50007 $(common-objpfx)libc_nonshared.a.
50009 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50011 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50012 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50013 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50014 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50015 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50016 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50017 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50018 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50033 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50034 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50035 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50036 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50037 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50038 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50039 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50040 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50041 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50042 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50043 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50044 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50060 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50062 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50063 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50064 * string/memmove.c (memmove): Renamed to ...
50065 (MEMMOVE): ...this. Default to memmove.
50066 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50067 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50070 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50071 mempcpy-ssse3-back memmove-ssse3-back.
50072 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50073 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50074 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50075 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50076 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50077 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50078 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50079 * sysdeps/x86_64/multiarch/memmove.c: New file.
50080 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50081 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50082 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50083 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50084 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50085 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50087 (index_Fast_Copy_Backward): Define.
50088 (HAS_ARCH_FEATURE): Define.
50089 (HAS_FAST_REP_STRING): Define.
50090 (HAS_FAST_COPY_BACKWARD): Define.
50092 2010-06-21 Andreas Schwab <schwab@redhat.com>
50094 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50095 Restore proper fallback handling.
50097 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50100 * posix/group_member.c (__group_member): Correct checking loop.
50102 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50103 OOM in getpwuid_r correctly. Return error number when the caller
50104 should return, otherwise -1.
50105 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50106 call returning > 0 value.
50107 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50109 2010-06-07 Andreas Schwab <schwab@redhat.com>
50111 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50112 libc_nonshared.a from targets in modules-names.
50114 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50116 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50119 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50121 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50122 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50123 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50126 2010-06-02 Andreas Schwab <schwab@redhat.com>
50128 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50130 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50132 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50134 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50135 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50139 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50141 2010-06-14 Roland McGrath <roland@redhat.com>
50143 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50145 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50147 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50148 __REDIRECT followed by __THROW.
50149 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50150 * posix/getopt.h (getopt): Likewise.
50152 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50154 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50155 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50156 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50158 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50159 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50161 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50165 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50169 Properly check family and model.
50171 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50173 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50175 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50177 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50179 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50181 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50184 2010-05-19 Andreas Schwab <schwab@redhat.com>
50186 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50189 2010-05-21 Andreas Schwab <schwab@redhat.com>
50191 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50192 and internal_recvmmsg.
50193 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50194 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50195 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50196 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50198 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50199 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50200 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50202 2010-05-20 Andreas Schwab <schwab@redhat.com>
50204 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50206 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50208 POWER7 optimizations.
50209 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50210 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50212 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50214 * version.h: Update for 2.13 development version.
50216 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50218 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50219 exceptions. Return 0.
50221 2010-05-07 Roland McGrath <roland@redhat.com>
50223 * elf/ldconfig.c (main): Add a const.
50225 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50227 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50228 (args_options): Add no-idn option.
50229 (ahosts_keys_int): Add idn_flags to ai_flags.
50230 (parse_option): Handle 'i' option to clear idn_flags.
50232 * malloc/malloc.c (_int_free): Possible race in the most recently
50233 added check. Only act on the data if no current modification
50236 See ChangeLog.17 for earlier changes.